asiaint-lowcode 3.1.104 → 3.1.105
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 +29 -29
- package/dist/index.d.ts +2 -2
- package/dist/lazy/{Card-BYi5RX-U.js → Card-hCrEqojS.js} +23 -23
- package/dist/lazy/{Cascader-DSc-tBXD.js → Cascader-BSJ6XLSx.js} +1 -1
- package/dist/lazy/{Checkbox-BwVl_kLE.js → Checkbox-BQRbMPEc.js} +2 -2
- package/dist/lazy/{Collapse-BzBLO7eG.js → Collapse-BfEHVHG-.js} +1 -1
- package/dist/lazy/{Component-DKewZdkK.js → Component-Bym2Zh0e.js} +1 -1
- package/dist/lazy/{Component-B6yFkqDM.js → Component-CMhOYnYE.js} +2 -2
- package/dist/lazy/{Component-BbpttgSN.js → Component-Covo-neG.js} +2 -2
- package/dist/lazy/{Component-CmG7-A0E.js → Component-Cvuu7_yU.js} +1 -1
- package/dist/lazy/{Component-E8xzou7u.js → Component-DDA_U5-4.js} +2 -2
- package/dist/lazy/{CurdCard-DUSKyIdd.js → CurdCard-DQRWF2Hm.js} +2 -2
- package/dist/lazy/Custom-wQtdgabt.js +26 -0
- package/dist/lazy/{DatePicker-B1avvVbv.js → DatePicker-CykIEvfO.js} +1 -1
- package/dist/lazy/{DragList-DHzvqu30.js → DragList-B8Fr5NYB.js} +13 -13
- package/dist/lazy/{FilterSearch-eAr0kyOc.js → FilterSearch-6TuMZS2A.js} +2 -2
- package/dist/lazy/{FloatCurd-BG9jysxr.js → FloatCurd-CVcTrWVi.js} +9 -9
- package/dist/lazy/{FormList-BQ2YeLlT.js → FormList-AS6edduN.js} +1 -1
- package/dist/lazy/{Grid-H1k8eWXm.js → Grid-9fUmnF0T.js} +1 -1
- package/dist/lazy/{InfiniteScroll-Btx3gGPM.js → InfiniteScroll-pj-P9xrS.js} +4 -4
- package/dist/lazy/{Inline-Brfx20E1.js → Inline-DHRvy0qZ.js} +3 -3
- package/dist/lazy/{JsonEdit-BsmnASE5.js → JsonEdit-bxDDbC7d.js} +3 -3
- package/dist/lazy/{LogList-RBP8AlYN.js → LogList-Dc-bsruh.js} +7 -7
- package/dist/lazy/{ObjGroup-B3568-Jm.js → ObjGroup-eWqWdXBL.js} +1 -1
- package/dist/lazy/{OfferDetails-BvZ4ztZi.js → OfferDetails-BWJIIEKI.js} +11 -11
- package/dist/lazy/{Pagination-W8rSWg2_.js → Pagination-DOHK_Nna.js} +4 -4
- package/dist/lazy/{Progress-xe_ZWV8a.js → Progress-tHmKCsSj.js} +15 -15
- package/dist/lazy/{Radio-DvvfD8rF.js → Radio-BG2XEeWA.js} +3 -3
- package/dist/lazy/{SearchSelect-0BeIO2Kd.js → SearchSelect-Cg_OIbUm.js} +6 -6
- package/dist/lazy/{Select-tTMv8Jr2.js → Select-Bz75JaZr.js} +2 -2
- package/dist/lazy/{Table-DUJ6Aj9o.js → Table-B_zCXJdl.js} +39 -39
- package/dist/lazy/Tabs-XlvP3qOd.js +130 -0
- package/dist/lazy/{TextArea-neOL4Tfb.js → TextArea-D9hNO-4s.js} +3 -3
- package/dist/lazy/{Wrapper-B8feAer3.js → Wrapper-Dz5sqPmy.js} +2 -2
- package/dist/lazy/{index-B-_zXaVx.js → index-CTlekA8r.js} +63 -60
- package/dist/lazy/{useSelect-CxSvB0SH.js → useSelect-MSYHrDeP.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Custom-BtPzeAeT.js +0 -26
- package/dist/lazy/Tabs-cha1ej62.js +0 -147
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(function(mt,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],A):(mt=typeof globalThis<"u"?globalThis:mt||self,A(mt.AsiaintLowcode={},mt.Vue,mt.ElementPlus))})(this,function(mt,A,xt){"use strict";var
|
|
1
|
+
(function(mt,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],A):(mt=typeof globalThis<"u"?globalThis:mt||self,A(mt.AsiaintLowcode={},mt.Vue,mt.ElementPlus))})(this,function(mt,A,xt){"use strict";var HG=Object.defineProperty;var KG=(mt,A,xt)=>A in mt?HG(mt,A,{enumerable:!0,configurable:!0,writable:!0,value:xt}):mt[A]=xt;var Bt=(mt,A,xt)=>KG(mt,typeof A!="symbol"?A+"":A,xt);function Qm(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const fm=Qm(A);var vo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Id(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ma={exports:{}};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Lodash <https://lodash.com/>
|
|
4
4
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
5
|
* Released under MIT license <https://lodash.com/license>
|
|
6
6
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
7
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
-
*/ma.exports,function(n,e){(function(){var t,i="4.17.21",d=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",b="Invalid `variable` option passed into `_.template`",D="__lodash_hash_undefined__",I=500,S="__lodash_placeholder__",N=1,T=2,O=4,H=1,P=2,v=1,m=2,F=4,k=8,_=16,B=32,p=64,u=128,l=256,g=512,s=30,h="...",C=800,a=16,r=1,E=2,Q=3,M=1/0,x=9007199254740991,K=17976931348623157e292,z=NaN,AA=4294967295,eA=AA-1,V=AA>>>1,$=[["ary",u],["bind",v],["bindKey",m],["curry",k],["curryRight",_],["flip",g],["partial",B],["partialRight",p],["rearg",l]],J="[object Arguments]",y="[object Array]",j="[object AsyncFunction]",G="[object Boolean]",q="[object Date]",rA="[object DOMException]",iA="[object Error]",uA="[object Function]",mA="[object GeneratorFunction]",gA="[object Map]",wA="[object Number]",X="[object Null]",lA="[object Object]",cA="[object Promise]",hA="[object Proxy]",U="[object RegExp]",W="[object Set]",tA="[object String]",aA="[object Symbol]",CA="[object Undefined]",xA="[object WeakMap]",zA="[object WeakSet]",jA="[object ArrayBuffer]",Ae="[object DataView]",vA="[object Float32Array]",$A="[object Float64Array]",XA="[object Int8Array]",SA="[object Int16Array]",MA="[object Int32Array]",qA="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ye="[object Uint16Array]",xe="[object Uint32Array]",NA=/\b__p \+= '';/g,UA=/\b(__p \+=) '' \+/g,JA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,de=/&(?:amp|lt|gt|quot|#39);/g,ae=/[&<>"']/g,Ee=RegExp(de.source),ke=RegExp(ae.source),IA=/<%-([\s\S]+?)%>/g,LA=/<%([\s\S]+?)%>/g,TA=/<%=([\s\S]+?)%>/g,re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,Se=RegExp(ue.source),tt=/^\s+/,ct=/\s/,FA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bA=/\{\n\/\* \[wrapped with (.+)\] \*/,PA=/,? & /,WA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ZA=/[()=,{}\[\]\/\s]/,Ie=/\\(\\)?/g,ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Me=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,ze=/^\[object .+?Constructor\]$/,At=/^0o[0-7]+$/i,dt=/^(?:0|[1-9]\d*)$/,Pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ot=/($^)/,ft=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",Rn="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",dn=Rn+Xt+Vt,bn="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",zn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ei="A-Z\\xc0-\\xd6\\xd8-\\xde",co="\\ufe0e\\ufe0f",Qi=An+zn+en+mi,oi="['’]",Hi="["+nt+"]",go="["+Qi+"]",ri="["+dn+"]",yn="\\d+",Ki="["+bn+"]",Zo="["+Ft+"]",uo="[^"+nt+Qi+yn+bn+Ft+Ei+"]",Ln="\\ud83c[\\udffb-\\udfff]",ho="(?:"+ri+"|"+Ln+")",bs="[^"+nt+"]",Wo="(?:\\ud83c[\\udde6-\\uddff]){2}",jo="[\\ud800-\\udbff][\\udc00-\\udfff]",ai="["+Ei+"]",ys="\\u200d",Ds="(?:"+Zo+"|"+uo+")",vs="(?:"+ai+"|"+uo+")",ks="(?:"+oi+"(?:d|ll|m|re|s|t|ve))?",_s="(?:"+oi+"(?:D|LL|M|RE|S|T|VE))?",$r=ho+"?",zr="["+co+"]?",sg="(?:"+ys+"(?:"+[bs,Wo,jo].join("|")+")"+zr+$r+")*",Jr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zr=zr+$r+sg,cg="(?:"+[Ki,Wo,jo].join("|")+")"+Zr,qo="(?:"+[bs+ri+"?",ri,Wo,jo,Hi].join("|")+")",gg=RegExp(oi,"g"),Ms=RegExp(ri,"g"),Xo=RegExp(Ln+"(?="+Ln+")|"+qo+Zr,"g"),dg=RegExp([ai+"?"+Zo+"+"+ks+"(?="+[go,ai,"$"].join("|")+")",vs+"+"+_s+"(?="+[go,ai+Ds,"$"].join("|")+")",ai+"?"+Ds+"+"+ks,ai+"+"+_s,lg,Jr,yn,cg].join("|"),"g"),xs=RegExp("["+ys+nt+dn+co+"]"),Ss=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ug=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],po=-1,at={};at[vA]=at[$A]=at[XA]=at[SA]=at[MA]=at[qA]=at[Ce]=at[ye]=at[xe]=!0,at[J]=at[y]=at[jA]=at[G]=at[Ae]=at[q]=at[iA]=at[uA]=at[gA]=at[wA]=at[lA]=at[U]=at[W]=at[tA]=at[xA]=!1;var gt={};gt[J]=gt[y]=gt[jA]=gt[Ae]=gt[G]=gt[q]=gt[vA]=gt[$A]=gt[XA]=gt[SA]=gt[MA]=gt[gA]=gt[wA]=gt[lA]=gt[U]=gt[W]=gt[tA]=gt[aA]=gt[qA]=gt[Ce]=gt[ye]=gt[xe]=!0,gt[iA]=gt[uA]=gt[xA]=!1;var Wr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ns={"&":"&","<":"<",">":">",'"':""","'":"'"},hg={"&":"&","<":"<",">":">",""":'"',"'":"'"},jr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fs=parseFloat,Rs=parseInt,Vo=typeof vo=="object"&&vo&&vo.Object===Object&&vo,pg=typeof self=="object"&&self&&self.Object===Object&&self,Rt=Vo||pg||Function("return this")(),Gn=e&&!e.nodeType&&e,fi=Gn&&!0&&n&&!n.nodeType&&n,Ls=fi&&fi.exports===Gn,qr=Ls&&Vo.process,tn=function(){try{var kA=fi&&fi.require&&fi.require("util").types;return kA||qr&&qr.binding&&qr.binding("util")}catch{}}(),Xr=tn&&tn.isArrayBuffer,Pt=tn&&tn.isDate,Gs=tn&&tn.isMap,Ps=tn&&tn.isRegExp,Hs=tn&&tn.isSet,Ks=tn&&tn.isTypedArray;function nn(kA,OA,KA){switch(KA.length){case 0:return kA.call(OA);case 1:return kA.call(OA,KA[0]);case 2:return kA.call(OA,KA[0],KA[1]);case 3:return kA.call(OA,KA[0],KA[1],KA[2])}return kA.apply(OA,KA)}function Cg(kA,OA,KA,ee){for(var Be=-1,He=kA==null?0:kA.length;++Be<He;){var Ke=kA[Be];OA(ee,Ke,KA(Ke),kA)}return ee}function un(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee&&OA(kA[KA],KA,kA)!==!1;);return kA}function Bg(kA,OA){for(var KA=kA==null?0:kA.length;KA--&&OA(kA[KA],KA,kA)!==!1;);return kA}function Vr(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(!OA(kA[KA],KA,kA))return!1;return!0}function Dn(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];OA(Ke,KA,kA)&&(He[Be++]=Ke)}return He}function Pn(kA,OA){var KA=kA==null?0:kA.length;return!!KA&&Ui(kA,OA,0)>-1}function Ti(kA,OA,KA){for(var ee=-1,Be=kA==null?0:kA.length;++ee<Be;)if(KA(OA,kA[ee]))return!0;return!1}function pt(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=Array(ee);++KA<ee;)Be[KA]=OA(kA[KA],KA,kA);return Be}function Jn(kA,OA){for(var KA=-1,ee=OA.length,Be=kA.length;++KA<ee;)kA[Be+KA]=OA[KA];return kA}function Ar(kA,OA,KA,ee){var Be=-1,He=kA==null?0:kA.length;for(ee&&He&&(KA=kA[++Be]);++Be<He;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ts(kA,OA,KA,ee){var Be=kA==null?0:kA.length;for(ee&&Be&&(KA=kA[--Be]);Be--;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ii(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(OA(kA[KA],KA,kA))return!0;return!1}var mg=ea("length");function Eg(kA){return kA.split("")}function Qg(kA){return kA.match(WA)||[]}function Us(kA,OA,KA){var ee;return KA(kA,function(Be,He,Ke){if(OA(Be,He,Ke))return ee=He,!1}),ee}function er(kA,OA,KA,ee){for(var Be=kA.length,He=KA+(ee?1:-1);ee?He--:++He<Be;)if(OA(kA[He],He,kA))return He;return-1}function Ui(kA,OA,KA){return OA===OA?QA(kA,OA,KA):er(kA,Ys,KA)}function Aa(kA,OA,KA,ee){for(var Be=KA-1,He=kA.length;++Be<He;)if(ee(kA[Be],OA))return Be;return-1}function Ys(kA){return kA!==kA}function Co(kA,OA){var KA=kA==null?0:kA.length;return KA?tr(kA,OA)/KA:z}function ea(kA){return function(OA){return OA==null?t:OA[kA]}}function Bo(kA){return function(OA){return kA==null?t:kA[OA]}}function Os(kA,OA,KA,ee,Be){return Be(kA,function(He,Ke,Oe){KA=ee?(ee=!1,He):OA(KA,He,Ke,Oe)}),KA}function fg(kA,OA){var KA=kA.length;for(kA.sort(OA);KA--;)kA[KA]=kA[KA].value;return kA}function tr(kA,OA){for(var KA,ee=-1,Be=kA.length;++ee<Be;){var He=OA(kA[ee]);He!==t&&(KA=KA===t?He:KA+He)}return KA}function wi(kA,OA){for(var KA=-1,ee=Array(kA);++KA<kA;)ee[KA]=OA(KA);return ee}function si(kA,OA){return pt(OA,function(KA){return[KA,kA[KA]]})}function ta(kA){return kA&&kA.slice(0,HA(kA)+1).replace(tt,"")}function Tt(kA){return function(OA){return kA(OA)}}function na(kA,OA){return pt(OA,function(KA){return kA[KA]})}function mo(kA,OA){return kA.has(OA)}function $s(kA,OA){for(var KA=-1,ee=kA.length;++KA<ee&&Ui(OA,kA[KA],0)>-1;);return KA}function zs(kA,OA){for(var KA=kA.length;KA--&&Ui(OA,kA[KA],0)>-1;);return KA}function Ig(kA,OA){for(var KA=kA.length,ee=0;KA--;)kA[KA]===OA&&++ee;return ee}var wg=Bo(Wr),bg=Bo(Ns);function yg(kA){return"\\"+jr[kA]}function Dg(kA,OA){return kA==null?t:kA[OA]}function Yi(kA){return xs.test(kA)}function L(kA){return Ss.test(kA)}function R(kA){for(var OA,KA=[];!(OA=kA.next()).done;)KA.push(OA.value);return KA}function Z(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee,Be){KA[++OA]=[Be,ee]}),KA}function nA(kA,OA){return function(KA){return kA(OA(KA))}}function sA(kA,OA){for(var KA=-1,ee=kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];(Ke===OA||Ke===S)&&(kA[KA]=S,He[Be++]=KA)}return He}function dA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=ee}),KA}function BA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=[ee,ee]}),KA}function QA(kA,OA,KA){for(var ee=KA-1,Be=kA.length;++ee<Be;)if(kA[ee]===OA)return ee;return-1}function yA(kA,OA,KA){for(var ee=KA+1;ee--;)if(kA[ee]===OA)return ee;return ee}function RA(kA){return Yi(kA)?ge(kA):mg(kA)}function DA(kA){return Yi(kA)?le(kA):Eg(kA)}function HA(kA){for(var OA=kA.length;OA--&&ct.test(kA.charAt(OA)););return OA}var VA=Bo(hg);function ge(kA){for(var OA=Xo.lastIndex=0;Xo.test(kA);)++OA;return OA}function le(kA){return kA.match(Xo)||[]}function he(kA){return kA.match(dg)||[]}var ve=function kA(OA){OA=OA==null?Rt:Qe.defaults(Rt.Object(),OA,Qe.pick(Rt,ug));var KA=OA.Array,ee=OA.Date,Be=OA.Error,He=OA.Function,Ke=OA.Math,Oe=OA.Object,on=OA.RegExp,Zn=OA.String,Ut=OA.TypeError,li=KA.prototype,LS=He.prototype,nr=Oe.prototype,Js=OA["__core-js_shared__"],Zs=LS.toString,lt=nr.hasOwnProperty,GS=0,_C=function(){var c=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ws=nr.toString,PS=Zs.call(Oe),HS=Rt._,KS=on("^"+Zs.call(lt).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),js=Ls?OA.Buffer:t,Oi=OA.Symbol,qs=OA.Uint8Array,MC=js?js.allocUnsafe:t,Xs=nA(Oe.getPrototypeOf,Oe),xC=Oe.create,SC=nr.propertyIsEnumerable,Vs=li.splice,NC=Oi?Oi.isConcatSpreadable:t,ia=Oi?Oi.iterator:t,Eo=Oi?Oi.toStringTag:t,Al=function(){try{var c=bo(Oe,"defineProperty");return c({},"",{}),c}catch{}}(),TS=OA.clearTimeout!==Rt.clearTimeout&&OA.clearTimeout,US=ee&&ee.now!==Rt.Date.now&&ee.now,YS=OA.setTimeout!==Rt.setTimeout&&OA.setTimeout,el=Ke.ceil,tl=Ke.floor,vg=Oe.getOwnPropertySymbols,OS=js?js.isBuffer:t,FC=OA.isFinite,$S=li.join,zS=nA(Oe.keys,Oe),Lt=Ke.max,$t=Ke.min,JS=ee.now,ZS=OA.parseInt,RC=Ke.random,WS=li.reverse,kg=bo(OA,"DataView"),oa=bo(OA,"Map"),_g=bo(OA,"Promise"),ir=bo(OA,"Set"),ra=bo(OA,"WeakMap"),aa=bo(Oe,"create"),nl=ra&&new ra,or={},jS=yo(kg),qS=yo(oa),XS=yo(_g),VS=yo(ir),A4=yo(ra),il=Oi?Oi.prototype:t,sa=il?il.valueOf:t,LC=il?il.toString:t;function EA(c){if(yt(c)&&!Te(c)&&!(c instanceof Xe)){if(c instanceof Hn)return c;if(lt.call(c,"__wrapped__"))return GB(c)}return new Hn(c)}var rr=function(){function c(){}return function(w){if(!It(w))return{};if(xC)return xC(w);c.prototype=w;var Y=new c;return c.prototype=t,Y}}();function ol(){}function Hn(c,w){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!w,this.__index__=0,this.__values__=t}EA.templateSettings={escape:IA,evaluate:LA,interpolate:TA,variable:"",imports:{_:EA}},EA.prototype=ol.prototype,EA.prototype.constructor=EA,Hn.prototype=rr(ol.prototype),Hn.prototype.constructor=Hn;function Xe(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=AA,this.__views__=[]}function e4(){var c=new Xe(this.__wrapped__);return c.__actions__=hn(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=hn(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=hn(this.__views__),c}function t4(){if(this.__filtered__){var c=new Xe(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function n4(){var c=this.__wrapped__.value(),w=this.__dir__,Y=Te(c),oA=w<0,pA=Y?c.length:0,fA=pN(0,pA,this.__views__),_A=fA.start,GA=fA.end,YA=GA-_A,te=oA?GA:_A-1,ne=this.__iteratees__,ce=ne.length,we=0,_e=$t(YA,this.__takeCount__);if(!Y||!oA&&pA==YA&&_e==YA)return rB(c,this.__actions__);var Fe=[];A:for(;YA--&&we<_e;){te+=w;for(var Je=-1,Re=c[te];++Je<ce;){var We=ne[Je],Ve=We.iteratee,_n=We.type,sn=Ve(Re);if(_n==E)Re=sn;else if(!sn){if(_n==r)continue A;break A}}Fe[we++]=Re}return Fe}Xe.prototype=rr(ol.prototype),Xe.prototype.constructor=Xe;function Qo(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function i4(){this.__data__=aa?aa(null):{},this.size=0}function o4(c){var w=this.has(c)&&delete this.__data__[c];return this.size-=w?1:0,w}function r4(c){var w=this.__data__;if(aa){var Y=w[c];return Y===D?t:Y}return lt.call(w,c)?w[c]:t}function a4(c){var w=this.__data__;return aa?w[c]!==t:lt.call(w,c)}function s4(c,w){var Y=this.__data__;return this.size+=this.has(c)?0:1,Y[c]=aa&&w===t?D:w,this}Qo.prototype.clear=i4,Qo.prototype.delete=o4,Qo.prototype.get=r4,Qo.prototype.has=a4,Qo.prototype.set=s4;function bi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function l4(){this.__data__=[],this.size=0}function c4(c){var w=this.__data__,Y=rl(w,c);if(Y<0)return!1;var oA=w.length-1;return Y==oA?w.pop():Vs.call(w,Y,1),--this.size,!0}function g4(c){var w=this.__data__,Y=rl(w,c);return Y<0?t:w[Y][1]}function d4(c){return rl(this.__data__,c)>-1}function u4(c,w){var Y=this.__data__,oA=rl(Y,c);return oA<0?(++this.size,Y.push([c,w])):Y[oA][1]=w,this}bi.prototype.clear=l4,bi.prototype.delete=c4,bi.prototype.get=g4,bi.prototype.has=d4,bi.prototype.set=u4;function yi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function h4(){this.size=0,this.__data__={hash:new Qo,map:new(oa||bi),string:new Qo}}function p4(c){var w=ml(this,c).delete(c);return this.size-=w?1:0,w}function C4(c){return ml(this,c).get(c)}function B4(c){return ml(this,c).has(c)}function m4(c,w){var Y=ml(this,c),oA=Y.size;return Y.set(c,w),this.size+=Y.size==oA?0:1,this}yi.prototype.clear=h4,yi.prototype.delete=p4,yi.prototype.get=C4,yi.prototype.has=B4,yi.prototype.set=m4;function fo(c){var w=-1,Y=c==null?0:c.length;for(this.__data__=new yi;++w<Y;)this.add(c[w])}function E4(c){return this.__data__.set(c,D),this}function Q4(c){return this.__data__.has(c)}fo.prototype.add=fo.prototype.push=E4,fo.prototype.has=Q4;function Wn(c){var w=this.__data__=new bi(c);this.size=w.size}function f4(){this.__data__=new bi,this.size=0}function I4(c){var w=this.__data__,Y=w.delete(c);return this.size=w.size,Y}function w4(c){return this.__data__.get(c)}function b4(c){return this.__data__.has(c)}function y4(c,w){var Y=this.__data__;if(Y instanceof bi){var oA=Y.__data__;if(!oa||oA.length<d-1)return oA.push([c,w]),this.size=++Y.size,this;Y=this.__data__=new yi(oA)}return Y.set(c,w),this.size=Y.size,this}Wn.prototype.clear=f4,Wn.prototype.delete=I4,Wn.prototype.get=w4,Wn.prototype.has=b4,Wn.prototype.set=y4;function GC(c,w){var Y=Te(c),oA=!Y&&Do(c),pA=!Y&&!oA&&Wi(c),fA=!Y&&!oA&&!pA&&cr(c),_A=Y||oA||pA||fA,GA=_A?wi(c.length,Zn):[],YA=GA.length;for(var te in c)(w||lt.call(c,te))&&!(_A&&(te=="length"||pA&&(te=="offset"||te=="parent")||fA&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||_i(te,YA)))&&GA.push(te);return GA}function PC(c){var w=c.length;return w?c[Kg(0,w-1)]:t}function D4(c,w){return El(hn(c),Io(w,0,c.length))}function v4(c){return El(hn(c))}function Mg(c,w,Y){(Y!==t&&!jn(c[w],Y)||Y===t&&!(w in c))&&Di(c,w,Y)}function la(c,w,Y){var oA=c[w];(!(lt.call(c,w)&&jn(oA,Y))||Y===t&&!(w in c))&&Di(c,w,Y)}function rl(c,w){for(var Y=c.length;Y--;)if(jn(c[Y][0],w))return Y;return-1}function k4(c,w,Y,oA){return $i(c,function(pA,fA,_A){w(oA,pA,Y(pA),_A)}),oA}function HC(c,w){return c&&gi(w,Ht(w),c)}function _4(c,w){return c&&gi(w,Cn(w),c)}function Di(c,w,Y){w=="__proto__"&&Al?Al(c,w,{configurable:!0,enumerable:!0,value:Y,writable:!0}):c[w]=Y}function xg(c,w){for(var Y=-1,oA=w.length,pA=KA(oA),fA=c==null;++Y<oA;)pA[Y]=fA?t:gd(c,w[Y]);return pA}function Io(c,w,Y){return c===c&&(Y!==t&&(c=c<=Y?c:Y),w!==t&&(c=c>=w?c:w)),c}function Kn(c,w,Y,oA,pA,fA){var _A,GA=w&N,YA=w&T,te=w&O;if(Y&&(_A=pA?Y(c,oA,pA,fA):Y(c)),_A!==t)return _A;if(!It(c))return c;var ne=Te(c);if(ne){if(_A=BN(c),!GA)return hn(c,_A)}else{var ce=zt(c),we=ce==uA||ce==mA;if(Wi(c))return lB(c,GA);if(ce==lA||ce==J||we&&!pA){if(_A=YA||we?{}:kB(c),!GA)return YA?rN(c,_4(_A,c)):oN(c,HC(_A,c))}else{if(!gt[ce])return pA?c:{};_A=mN(c,ce,GA)}}fA||(fA=new Wn);var _e=fA.get(c);if(_e)return _e;fA.set(c,_A),nm(c)?c.forEach(function(Re){_A.add(Kn(Re,w,Y,Re,c,fA))}):em(c)&&c.forEach(function(Re,We){_A.set(We,Kn(Re,w,Y,We,c,fA))});var Fe=te?YA?qg:jg:YA?Cn:Ht,Je=ne?t:Fe(c);return un(Je||c,function(Re,We){Je&&(We=Re,Re=c[We]),la(_A,We,Kn(Re,w,Y,We,c,fA))}),_A}function M4(c){var w=Ht(c);return function(Y){return KC(Y,c,w)}}function KC(c,w,Y){var oA=Y.length;if(c==null)return!oA;for(c=Oe(c);oA--;){var pA=Y[oA],fA=w[pA],_A=c[pA];if(_A===t&&!(pA in c)||!fA(_A))return!1}return!0}function TC(c,w,Y){if(typeof c!="function")throw new Ut(o);return Ca(function(){c.apply(t,Y)},w)}function ca(c,w,Y,oA){var pA=-1,fA=Pn,_A=!0,GA=c.length,YA=[],te=w.length;if(!GA)return YA;Y&&(w=pt(w,Tt(Y))),oA?(fA=Ti,_A=!1):w.length>=d&&(fA=mo,_A=!1,w=new fo(w));A:for(;++pA<GA;){var ne=c[pA],ce=Y==null?ne:Y(ne);if(ne=oA||ne!==0?ne:0,_A&&ce===ce){for(var we=te;we--;)if(w[we]===ce)continue A;YA.push(ne)}else fA(w,ce,oA)||YA.push(ne)}return YA}var $i=hB(ci),UC=hB(Ng,!0);function x4(c,w){var Y=!0;return $i(c,function(oA,pA,fA){return Y=!!w(oA,pA,fA),Y}),Y}function al(c,w,Y){for(var oA=-1,pA=c.length;++oA<pA;){var fA=c[oA],_A=w(fA);if(_A!=null&&(GA===t?_A===_A&&!kn(_A):Y(_A,GA)))var GA=_A,YA=fA}return YA}function S4(c,w,Y,oA){var pA=c.length;for(Y=$e(Y),Y<0&&(Y=-Y>pA?0:pA+Y),oA=oA===t||oA>pA?pA:$e(oA),oA<0&&(oA+=pA),oA=Y>oA?0:om(oA);Y<oA;)c[Y++]=w;return c}function YC(c,w){var Y=[];return $i(c,function(oA,pA,fA){w(oA,pA,fA)&&Y.push(oA)}),Y}function Yt(c,w,Y,oA,pA){var fA=-1,_A=c.length;for(Y||(Y=QN),pA||(pA=[]);++fA<_A;){var GA=c[fA];w>0&&Y(GA)?w>1?Yt(GA,w-1,Y,oA,pA):Jn(pA,GA):oA||(pA[pA.length]=GA)}return pA}var Sg=pB(),OC=pB(!0);function ci(c,w){return c&&Sg(c,w,Ht)}function Ng(c,w){return c&&OC(c,w,Ht)}function sl(c,w){return Dn(w,function(Y){return Mi(c[Y])})}function wo(c,w){w=Ji(w,c);for(var Y=0,oA=w.length;c!=null&&Y<oA;)c=c[di(w[Y++])];return Y&&Y==oA?c:t}function $C(c,w,Y){var oA=w(c);return Te(c)?oA:Jn(oA,Y(c))}function rn(c){return c==null?c===t?CA:X:Eo&&Eo in Oe(c)?hN(c):vN(c)}function Fg(c,w){return c>w}function N4(c,w){return c!=null&<.call(c,w)}function F4(c,w){return c!=null&&w in Oe(c)}function R4(c,w,Y){return c>=$t(w,Y)&&c<Lt(w,Y)}function Rg(c,w,Y){for(var oA=Y?Ti:Pn,pA=c[0].length,fA=c.length,_A=fA,GA=KA(fA),YA=1/0,te=[];_A--;){var ne=c[_A];_A&&w&&(ne=pt(ne,Tt(w))),YA=$t(ne.length,YA),GA[_A]=!Y&&(w||pA>=120&&ne.length>=120)?new fo(_A&&ne):t}ne=c[0];var ce=-1,we=GA[0];A:for(;++ce<pA&&te.length<YA;){var _e=ne[ce],Fe=w?w(_e):_e;if(_e=Y||_e!==0?_e:0,!(we?mo(we,Fe):oA(te,Fe,Y))){for(_A=fA;--_A;){var Je=GA[_A];if(!(Je?mo(Je,Fe):oA(c[_A],Fe,Y)))continue A}we&&we.push(Fe),te.push(_e)}}return te}function L4(c,w,Y,oA){return ci(c,function(pA,fA,_A){w(oA,Y(pA),fA,_A)}),oA}function ga(c,w,Y){w=Ji(w,c),c=SB(c,w);var oA=c==null?c:c[di(Un(w))];return oA==null?t:nn(oA,c,Y)}function zC(c){return yt(c)&&rn(c)==J}function G4(c){return yt(c)&&rn(c)==jA}function P4(c){return yt(c)&&rn(c)==q}function da(c,w,Y,oA,pA){return c===w?!0:c==null||w==null||!yt(c)&&!yt(w)?c!==c&&w!==w:H4(c,w,Y,oA,da,pA)}function H4(c,w,Y,oA,pA,fA){var _A=Te(c),GA=Te(w),YA=_A?y:zt(c),te=GA?y:zt(w);YA=YA==J?lA:YA,te=te==J?lA:te;var ne=YA==lA,ce=te==lA,we=YA==te;if(we&&Wi(c)){if(!Wi(w))return!1;_A=!0,ne=!1}if(we&&!ne)return fA||(fA=new Wn),_A||cr(c)?yB(c,w,Y,oA,pA,fA):dN(c,w,YA,Y,oA,pA,fA);if(!(Y&H)){var _e=ne&<.call(c,"__wrapped__"),Fe=ce&<.call(w,"__wrapped__");if(_e||Fe){var Je=_e?c.value():c,Re=Fe?w.value():w;return fA||(fA=new Wn),pA(Je,Re,Y,oA,fA)}}return we?(fA||(fA=new Wn),uN(c,w,Y,oA,pA,fA)):!1}function K4(c){return yt(c)&&zt(c)==gA}function Lg(c,w,Y,oA){var pA=Y.length,fA=pA,_A=!oA;if(c==null)return!fA;for(c=Oe(c);pA--;){var GA=Y[pA];if(_A&&GA[2]?GA[1]!==c[GA[0]]:!(GA[0]in c))return!1}for(;++pA<fA;){GA=Y[pA];var YA=GA[0],te=c[YA],ne=GA[1];if(_A&&GA[2]){if(te===t&&!(YA in c))return!1}else{var ce=new Wn;if(oA)var we=oA(te,ne,YA,c,w,ce);if(!(we===t?da(ne,te,H|P,oA,ce):we))return!1}}return!0}function JC(c){if(!It(c)||IN(c))return!1;var w=Mi(c)?KS:ze;return w.test(yo(c))}function T4(c){return yt(c)&&rn(c)==U}function U4(c){return yt(c)&&zt(c)==W}function Y4(c){return yt(c)&&yl(c.length)&&!!at[rn(c)]}function ZC(c){return typeof c=="function"?c:c==null?Bn:typeof c=="object"?Te(c)?qC(c[0],c[1]):jC(c):Cm(c)}function Gg(c){if(!pa(c))return zS(c);var w=[];for(var Y in Oe(c))lt.call(c,Y)&&Y!="constructor"&&w.push(Y);return w}function O4(c){if(!It(c))return DN(c);var w=pa(c),Y=[];for(var oA in c)oA=="constructor"&&(w||!lt.call(c,oA))||Y.push(oA);return Y}function Pg(c,w){return c<w}function WC(c,w){var Y=-1,oA=pn(c)?KA(c.length):[];return $i(c,function(pA,fA,_A){oA[++Y]=w(pA,fA,_A)}),oA}function jC(c){var w=Vg(c);return w.length==1&&w[0][2]?MB(w[0][0],w[0][1]):function(Y){return Y===c||Lg(Y,c,w)}}function qC(c,w){return ed(c)&&_B(w)?MB(di(c),w):function(Y){var oA=gd(Y,c);return oA===t&&oA===w?dd(Y,c):da(w,oA,H|P)}}function ll(c,w,Y,oA,pA){c!==w&&Sg(w,function(fA,_A){if(pA||(pA=new Wn),It(fA))$4(c,w,_A,Y,ll,oA,pA);else{var GA=oA?oA(nd(c,_A),fA,_A+"",c,w,pA):t;GA===t&&(GA=fA),Mg(c,_A,GA)}},Cn)}function $4(c,w,Y,oA,pA,fA,_A){var GA=nd(c,Y),YA=nd(w,Y),te=_A.get(YA);if(te){Mg(c,Y,te);return}var ne=fA?fA(GA,YA,Y+"",c,w,_A):t,ce=ne===t;if(ce){var we=Te(YA),_e=!we&&Wi(YA),Fe=!we&&!_e&&cr(YA);ne=YA,we||_e||Fe?Te(GA)?ne=GA:Dt(GA)?ne=hn(GA):_e?(ce=!1,ne=lB(YA,!0)):Fe?(ce=!1,ne=cB(YA,!0)):ne=[]:Ba(YA)||Do(YA)?(ne=GA,Do(GA)?ne=rm(GA):(!It(GA)||Mi(GA))&&(ne=kB(YA))):ce=!1}ce&&(_A.set(YA,ne),pA(ne,YA,oA,fA,_A),_A.delete(YA)),Mg(c,Y,ne)}function XC(c,w){var Y=c.length;if(Y)return w+=w<0?Y:0,_i(w,Y)?c[w]:t}function VC(c,w,Y){w.length?w=pt(w,function(fA){return Te(fA)?function(_A){return wo(_A,fA.length===1?fA[0]:fA)}:fA}):w=[Bn];var oA=-1;w=pt(w,Tt(Ne()));var pA=WC(c,function(fA,_A,GA){var YA=pt(w,function(te){return te(fA)});return{criteria:YA,index:++oA,value:fA}});return fg(pA,function(fA,_A){return iN(fA,_A,Y)})}function z4(c,w){return AB(c,w,function(Y,oA){return dd(c,oA)})}function AB(c,w,Y){for(var oA=-1,pA=w.length,fA={};++oA<pA;){var _A=w[oA],GA=wo(c,_A);Y(GA,_A)&&ua(fA,Ji(_A,c),GA)}return fA}function J4(c){return function(w){return wo(w,c)}}function Hg(c,w,Y,oA){var pA=oA?Aa:Ui,fA=-1,_A=w.length,GA=c;for(c===w&&(w=hn(w)),Y&&(GA=pt(c,Tt(Y)));++fA<_A;)for(var YA=0,te=w[fA],ne=Y?Y(te):te;(YA=pA(GA,ne,YA,oA))>-1;)GA!==c&&Vs.call(GA,YA,1),Vs.call(c,YA,1);return c}function eB(c,w){for(var Y=c?w.length:0,oA=Y-1;Y--;){var pA=w[Y];if(Y==oA||pA!==fA){var fA=pA;_i(pA)?Vs.call(c,pA,1):Yg(c,pA)}}return c}function Kg(c,w){return c+tl(RC()*(w-c+1))}function Z4(c,w,Y,oA){for(var pA=-1,fA=Lt(el((w-c)/(Y||1)),0),_A=KA(fA);fA--;)_A[oA?fA:++pA]=c,c+=Y;return _A}function Tg(c,w){var Y="";if(!c||w<1||w>x)return Y;do w%2&&(Y+=c),w=tl(w/2),w&&(c+=c);while(w);return Y}function Ze(c,w){return id(xB(c,w,Bn),c+"")}function W4(c){return PC(gr(c))}function j4(c,w){var Y=gr(c);return El(Y,Io(w,0,Y.length))}function ua(c,w,Y,oA){if(!It(c))return c;w=Ji(w,c);for(var pA=-1,fA=w.length,_A=fA-1,GA=c;GA!=null&&++pA<fA;){var YA=di(w[pA]),te=Y;if(YA==="__proto__"||YA==="constructor"||YA==="prototype")return c;if(pA!=_A){var ne=GA[YA];te=oA?oA(ne,YA,GA):t,te===t&&(te=It(ne)?ne:_i(w[pA+1])?[]:{})}la(GA,YA,te),GA=GA[YA]}return c}var tB=nl?function(c,w){return nl.set(c,w),c}:Bn,q4=Al?function(c,w){return Al(c,"toString",{configurable:!0,enumerable:!1,value:hd(w),writable:!0})}:Bn;function X4(c){return El(gr(c))}function Tn(c,w,Y){var oA=-1,pA=c.length;w<0&&(w=-w>pA?0:pA+w),Y=Y>pA?pA:Y,Y<0&&(Y+=pA),pA=w>Y?0:Y-w>>>0,w>>>=0;for(var fA=KA(pA);++oA<pA;)fA[oA]=c[oA+w];return fA}function V4(c,w){var Y;return $i(c,function(oA,pA,fA){return Y=w(oA,pA,fA),!Y}),!!Y}function cl(c,w,Y){var oA=0,pA=c==null?oA:c.length;if(typeof w=="number"&&w===w&&pA<=V){for(;oA<pA;){var fA=oA+pA>>>1,_A=c[fA];_A!==null&&!kn(_A)&&(Y?_A<=w:_A<w)?oA=fA+1:pA=fA}return pA}return Ug(c,w,Bn,Y)}function Ug(c,w,Y,oA){var pA=0,fA=c==null?0:c.length;if(fA===0)return 0;w=Y(w);for(var _A=w!==w,GA=w===null,YA=kn(w),te=w===t;pA<fA;){var ne=tl((pA+fA)/2),ce=Y(c[ne]),we=ce!==t,_e=ce===null,Fe=ce===ce,Je=kn(ce);if(_A)var Re=oA||Fe;else te?Re=Fe&&(oA||we):GA?Re=Fe&&we&&(oA||!_e):YA?Re=Fe&&we&&!_e&&(oA||!Je):_e||Je?Re=!1:Re=oA?ce<=w:ce<w;Re?pA=ne+1:fA=ne}return $t(fA,eA)}function nB(c,w){for(var Y=-1,oA=c.length,pA=0,fA=[];++Y<oA;){var _A=c[Y],GA=w?w(_A):_A;if(!Y||!jn(GA,YA)){var YA=GA;fA[pA++]=_A===0?0:_A}}return fA}function iB(c){return typeof c=="number"?c:kn(c)?z:+c}function vn(c){if(typeof c=="string")return c;if(Te(c))return pt(c,vn)+"";if(kn(c))return LC?LC.call(c):"";var w=c+"";return w=="0"&&1/c==-M?"-0":w}function zi(c,w,Y){var oA=-1,pA=Pn,fA=c.length,_A=!0,GA=[],YA=GA;if(Y)_A=!1,pA=Ti;else if(fA>=d){var te=w?null:cN(c);if(te)return dA(te);_A=!1,pA=mo,YA=new fo}else YA=w?[]:GA;A:for(;++oA<fA;){var ne=c[oA],ce=w?w(ne):ne;if(ne=Y||ne!==0?ne:0,_A&&ce===ce){for(var we=YA.length;we--;)if(YA[we]===ce)continue A;w&&YA.push(ce),GA.push(ne)}else pA(YA,ce,Y)||(YA!==GA&&YA.push(ce),GA.push(ne))}return GA}function Yg(c,w){return w=Ji(w,c),c=SB(c,w),c==null||delete c[di(Un(w))]}function oB(c,w,Y,oA){return ua(c,w,Y(wo(c,w)),oA)}function gl(c,w,Y,oA){for(var pA=c.length,fA=oA?pA:-1;(oA?fA--:++fA<pA)&&w(c[fA],fA,c););return Y?Tn(c,oA?0:fA,oA?fA+1:pA):Tn(c,oA?fA+1:0,oA?pA:fA)}function rB(c,w){var Y=c;return Y instanceof Xe&&(Y=Y.value()),Ar(w,function(oA,pA){return pA.func.apply(pA.thisArg,Jn([oA],pA.args))},Y)}function Og(c,w,Y){var oA=c.length;if(oA<2)return oA?zi(c[0]):[];for(var pA=-1,fA=KA(oA);++pA<oA;)for(var _A=c[pA],GA=-1;++GA<oA;)GA!=pA&&(fA[pA]=ca(fA[pA]||_A,c[GA],w,Y));return zi(Yt(fA,1),w,Y)}function aB(c,w,Y){for(var oA=-1,pA=c.length,fA=w.length,_A={};++oA<pA;){var GA=oA<fA?w[oA]:t;Y(_A,c[oA],GA)}return _A}function $g(c){return Dt(c)?c:[]}function zg(c){return typeof c=="function"?c:Bn}function Ji(c,w){return Te(c)?c:ed(c,w)?[c]:LB(st(c))}var AN=Ze;function Zi(c,w,Y){var oA=c.length;return Y=Y===t?oA:Y,!w&&Y>=oA?c:Tn(c,w,Y)}var sB=TS||function(c){return Rt.clearTimeout(c)};function lB(c,w){if(w)return c.slice();var Y=c.length,oA=MC?MC(Y):new c.constructor(Y);return c.copy(oA),oA}function Jg(c){var w=new c.constructor(c.byteLength);return new qs(w).set(new qs(c)),w}function eN(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.byteLength)}function tN(c){var w=new c.constructor(c.source,Me.exec(c));return w.lastIndex=c.lastIndex,w}function nN(c){return sa?Oe(sa.call(c)):{}}function cB(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.length)}function gB(c,w){if(c!==w){var Y=c!==t,oA=c===null,pA=c===c,fA=kn(c),_A=w!==t,GA=w===null,YA=w===w,te=kn(w);if(!GA&&!te&&!fA&&c>w||fA&&_A&&YA&&!GA&&!te||oA&&_A&&YA||!Y&&YA||!pA)return 1;if(!oA&&!fA&&!te&&c<w||te&&Y&&pA&&!oA&&!fA||GA&&Y&&pA||!_A&&pA||!YA)return-1}return 0}function iN(c,w,Y){for(var oA=-1,pA=c.criteria,fA=w.criteria,_A=pA.length,GA=Y.length;++oA<_A;){var YA=gB(pA[oA],fA[oA]);if(YA){if(oA>=GA)return YA;var te=Y[oA];return YA*(te=="desc"?-1:1)}}return c.index-w.index}function dB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=Y.length,GA=-1,YA=w.length,te=Lt(fA-_A,0),ne=KA(YA+te),ce=!oA;++GA<YA;)ne[GA]=w[GA];for(;++pA<_A;)(ce||pA<fA)&&(ne[Y[pA]]=c[pA]);for(;te--;)ne[GA++]=c[pA++];return ne}function uB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=-1,GA=Y.length,YA=-1,te=w.length,ne=Lt(fA-GA,0),ce=KA(ne+te),we=!oA;++pA<ne;)ce[pA]=c[pA];for(var _e=pA;++YA<te;)ce[_e+YA]=w[YA];for(;++_A<GA;)(we||pA<fA)&&(ce[_e+Y[_A]]=c[pA++]);return ce}function hn(c,w){var Y=-1,oA=c.length;for(w||(w=KA(oA));++Y<oA;)w[Y]=c[Y];return w}function gi(c,w,Y,oA){var pA=!Y;Y||(Y={});for(var fA=-1,_A=w.length;++fA<_A;){var GA=w[fA],YA=oA?oA(Y[GA],c[GA],GA,Y,c):t;YA===t&&(YA=c[GA]),pA?Di(Y,GA,YA):la(Y,GA,YA)}return Y}function oN(c,w){return gi(c,Ad(c),w)}function rN(c,w){return gi(c,DB(c),w)}function dl(c,w){return function(Y,oA){var pA=Te(Y)?Cg:k4,fA=w?w():{};return pA(Y,c,Ne(oA,2),fA)}}function ar(c){return Ze(function(w,Y){var oA=-1,pA=Y.length,fA=pA>1?Y[pA-1]:t,_A=pA>2?Y[2]:t;for(fA=c.length>3&&typeof fA=="function"?(pA--,fA):t,_A&&an(Y[0],Y[1],_A)&&(fA=pA<3?t:fA,pA=1),w=Oe(w);++oA<pA;){var GA=Y[oA];GA&&c(w,GA,oA,fA)}return w})}function hB(c,w){return function(Y,oA){if(Y==null)return Y;if(!pn(Y))return c(Y,oA);for(var pA=Y.length,fA=w?pA:-1,_A=Oe(Y);(w?fA--:++fA<pA)&&oA(_A[fA],fA,_A)!==!1;);return Y}}function pB(c){return function(w,Y,oA){for(var pA=-1,fA=Oe(w),_A=oA(w),GA=_A.length;GA--;){var YA=_A[c?GA:++pA];if(Y(fA[YA],YA,fA)===!1)break}return w}}function aN(c,w,Y){var oA=w&v,pA=ha(c);function fA(){var _A=this&&this!==Rt&&this instanceof fA?pA:c;return _A.apply(oA?Y:this,arguments)}return fA}function CB(c){return function(w){w=st(w);var Y=Yi(w)?DA(w):t,oA=Y?Y[0]:w.charAt(0),pA=Y?Zi(Y,1).join(""):w.slice(1);return oA[c]()+pA}}function sr(c){return function(w){return Ar(hm(um(w).replace(gg,"")),c,"")}}function ha(c){return function(){var w=arguments;switch(w.length){case 0:return new c;case 1:return new c(w[0]);case 2:return new c(w[0],w[1]);case 3:return new c(w[0],w[1],w[2]);case 4:return new c(w[0],w[1],w[2],w[3]);case 5:return new c(w[0],w[1],w[2],w[3],w[4]);case 6:return new c(w[0],w[1],w[2],w[3],w[4],w[5]);case 7:return new c(w[0],w[1],w[2],w[3],w[4],w[5],w[6])}var Y=rr(c.prototype),oA=c.apply(Y,w);return It(oA)?oA:Y}}function sN(c,w,Y){var oA=ha(c);function pA(){for(var fA=arguments.length,_A=KA(fA),GA=fA,YA=lr(pA);GA--;)_A[GA]=arguments[GA];var te=fA<3&&_A[0]!==YA&&_A[fA-1]!==YA?[]:sA(_A,YA);if(fA-=te.length,fA<Y)return fB(c,w,ul,pA.placeholder,t,_A,te,t,t,Y-fA);var ne=this&&this!==Rt&&this instanceof pA?oA:c;return nn(ne,this,_A)}return pA}function BB(c){return function(w,Y,oA){var pA=Oe(w);if(!pn(w)){var fA=Ne(Y,3);w=Ht(w),Y=function(GA){return fA(pA[GA],GA,pA)}}var _A=c(w,Y,oA);return _A>-1?pA[fA?w[_A]:_A]:t}}function mB(c){return ki(function(w){var Y=w.length,oA=Y,pA=Hn.prototype.thru;for(c&&w.reverse();oA--;){var fA=w[oA];if(typeof fA!="function")throw new Ut(o);if(pA&&!_A&&Bl(fA)=="wrapper")var _A=new Hn([],!0)}for(oA=_A?oA:Y;++oA<Y;){fA=w[oA];var GA=Bl(fA),YA=GA=="wrapper"?Xg(fA):t;YA&&td(YA[0])&&YA[1]==(u|k|B|l)&&!YA[4].length&&YA[9]==1?_A=_A[Bl(YA[0])].apply(_A,YA[3]):_A=fA.length==1&&td(fA)?_A[GA]():_A.thru(fA)}return function(){var te=arguments,ne=te[0];if(_A&&te.length==1&&Te(ne))return _A.plant(ne).value();for(var ce=0,we=Y?w[ce].apply(this,te):ne;++ce<Y;)we=w[ce].call(this,we);return we}})}function ul(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&u,ce=w&v,we=w&m,_e=w&(k|_),Fe=w&g,Je=we?t:ha(c);function Re(){for(var We=arguments.length,Ve=KA(We),_n=We;_n--;)Ve[_n]=arguments[_n];if(_e)var sn=lr(Re),Mn=Ig(Ve,sn);if(oA&&(Ve=dB(Ve,oA,pA,_e)),fA&&(Ve=uB(Ve,fA,_A,_e)),We-=Mn,_e&&We<te){var vt=sA(Ve,sn);return fB(c,w,ul,Re.placeholder,Y,Ve,vt,GA,YA,te-We)}var qn=ce?Y:this,Si=we?qn[c]:c;return We=Ve.length,GA?Ve=kN(Ve,GA):Fe&&We>1&&Ve.reverse(),ne&&YA<We&&(Ve.length=YA),this&&this!==Rt&&this instanceof Re&&(Si=Je||ha(Si)),Si.apply(qn,Ve)}return Re}function EB(c,w){return function(Y,oA){return L4(Y,c,w(oA),{})}}function hl(c,w){return function(Y,oA){var pA;if(Y===t&&oA===t)return w;if(Y!==t&&(pA=Y),oA!==t){if(pA===t)return oA;typeof Y=="string"||typeof oA=="string"?(Y=vn(Y),oA=vn(oA)):(Y=iB(Y),oA=iB(oA)),pA=c(Y,oA)}return pA}}function Zg(c){return ki(function(w){return w=pt(w,Tt(Ne())),Ze(function(Y){var oA=this;return c(w,function(pA){return nn(pA,oA,Y)})})})}function pl(c,w){w=w===t?" ":vn(w);var Y=w.length;if(Y<2)return Y?Tg(w,c):w;var oA=Tg(w,el(c/RA(w)));return Yi(w)?Zi(DA(oA),0,c).join(""):oA.slice(0,c)}function lN(c,w,Y,oA){var pA=w&v,fA=ha(c);function _A(){for(var GA=-1,YA=arguments.length,te=-1,ne=oA.length,ce=KA(ne+YA),we=this&&this!==Rt&&this instanceof _A?fA:c;++te<ne;)ce[te]=oA[te];for(;YA--;)ce[te++]=arguments[++GA];return nn(we,pA?Y:this,ce)}return _A}function QB(c){return function(w,Y,oA){return oA&&typeof oA!="number"&&an(w,Y,oA)&&(Y=oA=t),w=xi(w),Y===t?(Y=w,w=0):Y=xi(Y),oA=oA===t?w<Y?1:-1:xi(oA),Z4(w,Y,oA,c)}}function Cl(c){return function(w,Y){return typeof w=="string"&&typeof Y=="string"||(w=Yn(w),Y=Yn(Y)),c(w,Y)}}function fB(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&k,ce=ne?_A:t,we=ne?t:_A,_e=ne?fA:t,Fe=ne?t:fA;w|=ne?B:p,w&=~(ne?p:B),w&F||(w&=~(v|m));var Je=[c,w,pA,_e,ce,Fe,we,GA,YA,te],Re=Y.apply(t,Je);return td(c)&&NB(Re,Je),Re.placeholder=oA,FB(Re,c,w)}function Wg(c){var w=Ke[c];return function(Y,oA){if(Y=Yn(Y),oA=oA==null?0:$t($e(oA),292),oA&&FC(Y)){var pA=(st(Y)+"e").split("e"),fA=w(pA[0]+"e"+(+pA[1]+oA));return pA=(st(fA)+"e").split("e"),+(pA[0]+"e"+(+pA[1]-oA))}return w(Y)}}var cN=ir&&1/dA(new ir([,-0]))[1]==M?function(c){return new ir(c)}:Bd;function IB(c){return function(w){var Y=zt(w);return Y==gA?Z(w):Y==W?BA(w):si(w,c(w))}}function vi(c,w,Y,oA,pA,fA,_A,GA){var YA=w&m;if(!YA&&typeof c!="function")throw new Ut(o);var te=oA?oA.length:0;if(te||(w&=~(B|p),oA=pA=t),_A=_A===t?_A:Lt($e(_A),0),GA=GA===t?GA:$e(GA),te-=pA?pA.length:0,w&p){var ne=oA,ce=pA;oA=pA=t}var we=YA?t:Xg(c),_e=[c,w,Y,oA,pA,ne,ce,fA,_A,GA];if(we&&yN(_e,we),c=_e[0],w=_e[1],Y=_e[2],oA=_e[3],pA=_e[4],GA=_e[9]=_e[9]===t?YA?0:c.length:Lt(_e[9]-te,0),!GA&&w&(k|_)&&(w&=~(k|_)),!w||w==v)var Fe=aN(c,w,Y);else w==k||w==_?Fe=sN(c,w,GA):(w==B||w==(v|B))&&!pA.length?Fe=lN(c,w,Y,oA):Fe=ul.apply(t,_e);var Je=we?tB:NB;return FB(Je(Fe,_e),c,w)}function wB(c,w,Y,oA){return c===t||jn(c,nr[Y])&&!lt.call(oA,Y)?w:c}function bB(c,w,Y,oA,pA,fA){return It(c)&&It(w)&&(fA.set(w,c),ll(c,w,t,bB,fA),fA.delete(w)),c}function gN(c){return Ba(c)?t:c}function yB(c,w,Y,oA,pA,fA){var _A=Y&H,GA=c.length,YA=w.length;if(GA!=YA&&!(_A&&YA>GA))return!1;var te=fA.get(c),ne=fA.get(w);if(te&&ne)return te==w&&ne==c;var ce=-1,we=!0,_e=Y&P?new fo:t;for(fA.set(c,w),fA.set(w,c);++ce<GA;){var Fe=c[ce],Je=w[ce];if(oA)var Re=_A?oA(Je,Fe,ce,w,c,fA):oA(Fe,Je,ce,c,w,fA);if(Re!==t){if(Re)continue;we=!1;break}if(_e){if(!Ii(w,function(We,Ve){if(!mo(_e,Ve)&&(Fe===We||pA(Fe,We,Y,oA,fA)))return _e.push(Ve)})){we=!1;break}}else if(!(Fe===Je||pA(Fe,Je,Y,oA,fA))){we=!1;break}}return fA.delete(c),fA.delete(w),we}function dN(c,w,Y,oA,pA,fA,_A){switch(Y){case Ae:if(c.byteLength!=w.byteLength||c.byteOffset!=w.byteOffset)return!1;c=c.buffer,w=w.buffer;case jA:return!(c.byteLength!=w.byteLength||!fA(new qs(c),new qs(w)));case G:case q:case wA:return jn(+c,+w);case iA:return c.name==w.name&&c.message==w.message;case U:case tA:return c==w+"";case gA:var GA=Z;case W:var YA=oA&H;if(GA||(GA=dA),c.size!=w.size&&!YA)return!1;var te=_A.get(c);if(te)return te==w;oA|=P,_A.set(c,w);var ne=yB(GA(c),GA(w),oA,pA,fA,_A);return _A.delete(c),ne;case aA:if(sa)return sa.call(c)==sa.call(w)}return!1}function uN(c,w,Y,oA,pA,fA){var _A=Y&H,GA=jg(c),YA=GA.length,te=jg(w),ne=te.length;if(YA!=ne&&!_A)return!1;for(var ce=YA;ce--;){var we=GA[ce];if(!(_A?we in w:lt.call(w,we)))return!1}var _e=fA.get(c),Fe=fA.get(w);if(_e&&Fe)return _e==w&&Fe==c;var Je=!0;fA.set(c,w),fA.set(w,c);for(var Re=_A;++ce<YA;){we=GA[ce];var We=c[we],Ve=w[we];if(oA)var _n=_A?oA(Ve,We,we,w,c,fA):oA(We,Ve,we,c,w,fA);if(!(_n===t?We===Ve||pA(We,Ve,Y,oA,fA):_n)){Je=!1;break}Re||(Re=we=="constructor")}if(Je&&!Re){var sn=c.constructor,Mn=w.constructor;sn!=Mn&&"constructor"in c&&"constructor"in w&&!(typeof sn=="function"&&sn instanceof sn&&typeof Mn=="function"&&Mn instanceof Mn)&&(Je=!1)}return fA.delete(c),fA.delete(w),Je}function ki(c){return id(xB(c,t,KB),c+"")}function jg(c){return $C(c,Ht,Ad)}function qg(c){return $C(c,Cn,DB)}var Xg=nl?function(c){return nl.get(c)}:Bd;function Bl(c){for(var w=c.name+"",Y=or[w],oA=lt.call(or,w)?Y.length:0;oA--;){var pA=Y[oA],fA=pA.func;if(fA==null||fA==c)return pA.name}return w}function lr(c){var w=lt.call(EA,"placeholder")?EA:c;return w.placeholder}function Ne(){var c=EA.iteratee||pd;return c=c===pd?ZC:c,arguments.length?c(arguments[0],arguments[1]):c}function ml(c,w){var Y=c.__data__;return fN(w)?Y[typeof w=="string"?"string":"hash"]:Y.map}function Vg(c){for(var w=Ht(c),Y=w.length;Y--;){var oA=w[Y],pA=c[oA];w[Y]=[oA,pA,_B(pA)]}return w}function bo(c,w){var Y=Dg(c,w);return JC(Y)?Y:t}function hN(c){var w=lt.call(c,Eo),Y=c[Eo];try{c[Eo]=t;var oA=!0}catch{}var pA=Ws.call(c);return oA&&(w?c[Eo]=Y:delete c[Eo]),pA}var Ad=vg?function(c){return c==null?[]:(c=Oe(c),Dn(vg(c),function(w){return SC.call(c,w)}))}:md,DB=vg?function(c){for(var w=[];c;)Jn(w,Ad(c)),c=Xs(c);return w}:md,zt=rn;(kg&&zt(new kg(new ArrayBuffer(1)))!=Ae||oa&&zt(new oa)!=gA||_g&&zt(_g.resolve())!=cA||ir&&zt(new ir)!=W||ra&&zt(new ra)!=xA)&&(zt=function(c){var w=rn(c),Y=w==lA?c.constructor:t,oA=Y?yo(Y):"";if(oA)switch(oA){case jS:return Ae;case qS:return gA;case XS:return cA;case VS:return W;case A4:return xA}return w});function pN(c,w,Y){for(var oA=-1,pA=Y.length;++oA<pA;){var fA=Y[oA],_A=fA.size;switch(fA.type){case"drop":c+=_A;break;case"dropRight":w-=_A;break;case"take":w=$t(w,c+_A);break;case"takeRight":c=Lt(c,w-_A);break}}return{start:c,end:w}}function CN(c){var w=c.match(bA);return w?w[1].split(PA):[]}function vB(c,w,Y){w=Ji(w,c);for(var oA=-1,pA=w.length,fA=!1;++oA<pA;){var _A=di(w[oA]);if(!(fA=c!=null&&Y(c,_A)))break;c=c[_A]}return fA||++oA!=pA?fA:(pA=c==null?0:c.length,!!pA&&yl(pA)&&_i(_A,pA)&&(Te(c)||Do(c)))}function BN(c){var w=c.length,Y=new c.constructor(w);return w&&typeof c[0]=="string"&<.call(c,"index")&&(Y.index=c.index,Y.input=c.input),Y}function kB(c){return typeof c.constructor=="function"&&!pa(c)?rr(Xs(c)):{}}function mN(c,w,Y){var oA=c.constructor;switch(w){case jA:return Jg(c);case G:case q:return new oA(+c);case Ae:return eN(c,Y);case vA:case $A:case XA:case SA:case MA:case qA:case Ce:case ye:case xe:return cB(c,Y);case gA:return new oA;case wA:case tA:return new oA(c);case U:return tN(c);case W:return new oA;case aA:return nN(c)}}function EN(c,w){var Y=w.length;if(!Y)return c;var oA=Y-1;return w[oA]=(Y>1?"& ":"")+w[oA],w=w.join(Y>2?", ":" "),c.replace(FA,`{
|
|
8
|
+
*/ma.exports,function(n,e){(function(){var t,i="4.17.21",d=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",b="Invalid `variable` option passed into `_.template`",D="__lodash_hash_undefined__",I=500,S="__lodash_placeholder__",N=1,T=2,O=4,H=1,P=2,v=1,m=2,F=4,k=8,_=16,B=32,p=64,u=128,l=256,g=512,s=30,h="...",C=800,a=16,r=1,E=2,Q=3,M=1/0,x=9007199254740991,K=17976931348623157e292,z=NaN,AA=4294967295,eA=AA-1,V=AA>>>1,$=[["ary",u],["bind",v],["bindKey",m],["curry",k],["curryRight",_],["flip",g],["partial",B],["partialRight",p],["rearg",l]],J="[object Arguments]",y="[object Array]",j="[object AsyncFunction]",G="[object Boolean]",q="[object Date]",rA="[object DOMException]",iA="[object Error]",uA="[object Function]",mA="[object GeneratorFunction]",gA="[object Map]",wA="[object Number]",X="[object Null]",lA="[object Object]",cA="[object Promise]",hA="[object Proxy]",U="[object RegExp]",W="[object Set]",tA="[object String]",aA="[object Symbol]",CA="[object Undefined]",xA="[object WeakMap]",zA="[object WeakSet]",jA="[object ArrayBuffer]",Ae="[object DataView]",vA="[object Float32Array]",$A="[object Float64Array]",XA="[object Int8Array]",SA="[object Int16Array]",MA="[object Int32Array]",qA="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ye="[object Uint16Array]",xe="[object Uint32Array]",NA=/\b__p \+= '';/g,UA=/\b(__p \+=) '' \+/g,JA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,de=/&(?:amp|lt|gt|quot|#39);/g,ae=/[&<>"']/g,Ee=RegExp(de.source),ke=RegExp(ae.source),IA=/<%-([\s\S]+?)%>/g,LA=/<%([\s\S]+?)%>/g,TA=/<%=([\s\S]+?)%>/g,re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,Se=RegExp(ue.source),tt=/^\s+/,ct=/\s/,FA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bA=/\{\n\/\* \[wrapped with (.+)\] \*/,PA=/,? & /,WA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ZA=/[()=,{}\[\]\/\s]/,Ie=/\\(\\)?/g,ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Me=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,ze=/^\[object .+?Constructor\]$/,At=/^0o[0-7]+$/i,dt=/^(?:0|[1-9]\d*)$/,Pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ot=/($^)/,ft=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",Ln="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",dn=Ln+Xt+Vt,bn="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",Jn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ei="A-Z\\xc0-\\xd6\\xd8-\\xde",co="\\ufe0e\\ufe0f",Qi=An+Jn+en+mi,oi="['’]",Hi="["+nt+"]",go="["+Qi+"]",ri="["+dn+"]",yn="\\d+",Ki="["+bn+"]",Zo="["+Ft+"]",uo="[^"+nt+Qi+yn+bn+Ft+Ei+"]",Gn="\\ud83c[\\udffb-\\udfff]",ho="(?:"+ri+"|"+Gn+")",bs="[^"+nt+"]",Wo="(?:\\ud83c[\\udde6-\\uddff]){2}",jo="[\\ud800-\\udbff][\\udc00-\\udfff]",ai="["+Ei+"]",ys="\\u200d",Ds="(?:"+Zo+"|"+uo+")",vs="(?:"+ai+"|"+uo+")",ks="(?:"+oi+"(?:d|ll|m|re|s|t|ve))?",_s="(?:"+oi+"(?:D|LL|M|RE|S|T|VE))?",$r=ho+"?",zr="["+co+"]?",sg="(?:"+ys+"(?:"+[bs,Wo,jo].join("|")+")"+zr+$r+")*",Jr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zr=zr+$r+sg,cg="(?:"+[Ki,Wo,jo].join("|")+")"+Zr,qo="(?:"+[bs+ri+"?",ri,Wo,jo,Hi].join("|")+")",gg=RegExp(oi,"g"),Ms=RegExp(ri,"g"),Xo=RegExp(Gn+"(?="+Gn+")|"+qo+Zr,"g"),dg=RegExp([ai+"?"+Zo+"+"+ks+"(?="+[go,ai,"$"].join("|")+")",vs+"+"+_s+"(?="+[go,ai+Ds,"$"].join("|")+")",ai+"?"+Ds+"+"+ks,ai+"+"+_s,lg,Jr,yn,cg].join("|"),"g"),xs=RegExp("["+ys+nt+dn+co+"]"),Ss=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ug=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],po=-1,at={};at[vA]=at[$A]=at[XA]=at[SA]=at[MA]=at[qA]=at[Ce]=at[ye]=at[xe]=!0,at[J]=at[y]=at[jA]=at[G]=at[Ae]=at[q]=at[iA]=at[uA]=at[gA]=at[wA]=at[lA]=at[U]=at[W]=at[tA]=at[xA]=!1;var gt={};gt[J]=gt[y]=gt[jA]=gt[Ae]=gt[G]=gt[q]=gt[vA]=gt[$A]=gt[XA]=gt[SA]=gt[MA]=gt[gA]=gt[wA]=gt[lA]=gt[U]=gt[W]=gt[tA]=gt[aA]=gt[qA]=gt[Ce]=gt[ye]=gt[xe]=!0,gt[iA]=gt[uA]=gt[xA]=!1;var Wr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ns={"&":"&","<":"<",">":">",'"':""","'":"'"},hg={"&":"&","<":"<",">":">",""":'"',"'":"'"},jr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fs=parseFloat,Rs=parseInt,Vo=typeof vo=="object"&&vo&&vo.Object===Object&&vo,pg=typeof self=="object"&&self&&self.Object===Object&&self,Rt=Vo||pg||Function("return this")(),Pn=e&&!e.nodeType&&e,fi=Pn&&!0&&n&&!n.nodeType&&n,Ls=fi&&fi.exports===Pn,qr=Ls&&Vo.process,tn=function(){try{var kA=fi&&fi.require&&fi.require("util").types;return kA||qr&&qr.binding&&qr.binding("util")}catch{}}(),Xr=tn&&tn.isArrayBuffer,Pt=tn&&tn.isDate,Gs=tn&&tn.isMap,Ps=tn&&tn.isRegExp,Hs=tn&&tn.isSet,Ks=tn&&tn.isTypedArray;function nn(kA,OA,KA){switch(KA.length){case 0:return kA.call(OA);case 1:return kA.call(OA,KA[0]);case 2:return kA.call(OA,KA[0],KA[1]);case 3:return kA.call(OA,KA[0],KA[1],KA[2])}return kA.apply(OA,KA)}function Cg(kA,OA,KA,ee){for(var Be=-1,He=kA==null?0:kA.length;++Be<He;){var Ke=kA[Be];OA(ee,Ke,KA(Ke),kA)}return ee}function un(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee&&OA(kA[KA],KA,kA)!==!1;);return kA}function Bg(kA,OA){for(var KA=kA==null?0:kA.length;KA--&&OA(kA[KA],KA,kA)!==!1;);return kA}function Vr(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(!OA(kA[KA],KA,kA))return!1;return!0}function Dn(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];OA(Ke,KA,kA)&&(He[Be++]=Ke)}return He}function Hn(kA,OA){var KA=kA==null?0:kA.length;return!!KA&&Ui(kA,OA,0)>-1}function Ti(kA,OA,KA){for(var ee=-1,Be=kA==null?0:kA.length;++ee<Be;)if(KA(OA,kA[ee]))return!0;return!1}function pt(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=Array(ee);++KA<ee;)Be[KA]=OA(kA[KA],KA,kA);return Be}function Zn(kA,OA){for(var KA=-1,ee=OA.length,Be=kA.length;++KA<ee;)kA[Be+KA]=OA[KA];return kA}function Ar(kA,OA,KA,ee){var Be=-1,He=kA==null?0:kA.length;for(ee&&He&&(KA=kA[++Be]);++Be<He;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ts(kA,OA,KA,ee){var Be=kA==null?0:kA.length;for(ee&&Be&&(KA=kA[--Be]);Be--;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ii(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(OA(kA[KA],KA,kA))return!0;return!1}var mg=ea("length");function Eg(kA){return kA.split("")}function Qg(kA){return kA.match(WA)||[]}function Us(kA,OA,KA){var ee;return KA(kA,function(Be,He,Ke){if(OA(Be,He,Ke))return ee=He,!1}),ee}function er(kA,OA,KA,ee){for(var Be=kA.length,He=KA+(ee?1:-1);ee?He--:++He<Be;)if(OA(kA[He],He,kA))return He;return-1}function Ui(kA,OA,KA){return OA===OA?QA(kA,OA,KA):er(kA,Ys,KA)}function Aa(kA,OA,KA,ee){for(var Be=KA-1,He=kA.length;++Be<He;)if(ee(kA[Be],OA))return Be;return-1}function Ys(kA){return kA!==kA}function Co(kA,OA){var KA=kA==null?0:kA.length;return KA?tr(kA,OA)/KA:z}function ea(kA){return function(OA){return OA==null?t:OA[kA]}}function Bo(kA){return function(OA){return kA==null?t:kA[OA]}}function Os(kA,OA,KA,ee,Be){return Be(kA,function(He,Ke,Oe){KA=ee?(ee=!1,He):OA(KA,He,Ke,Oe)}),KA}function fg(kA,OA){var KA=kA.length;for(kA.sort(OA);KA--;)kA[KA]=kA[KA].value;return kA}function tr(kA,OA){for(var KA,ee=-1,Be=kA.length;++ee<Be;){var He=OA(kA[ee]);He!==t&&(KA=KA===t?He:KA+He)}return KA}function wi(kA,OA){for(var KA=-1,ee=Array(kA);++KA<kA;)ee[KA]=OA(KA);return ee}function si(kA,OA){return pt(OA,function(KA){return[KA,kA[KA]]})}function ta(kA){return kA&&kA.slice(0,HA(kA)+1).replace(tt,"")}function Tt(kA){return function(OA){return kA(OA)}}function na(kA,OA){return pt(OA,function(KA){return kA[KA]})}function mo(kA,OA){return kA.has(OA)}function $s(kA,OA){for(var KA=-1,ee=kA.length;++KA<ee&&Ui(OA,kA[KA],0)>-1;);return KA}function zs(kA,OA){for(var KA=kA.length;KA--&&Ui(OA,kA[KA],0)>-1;);return KA}function Ig(kA,OA){for(var KA=kA.length,ee=0;KA--;)kA[KA]===OA&&++ee;return ee}var wg=Bo(Wr),bg=Bo(Ns);function yg(kA){return"\\"+jr[kA]}function Dg(kA,OA){return kA==null?t:kA[OA]}function Yi(kA){return xs.test(kA)}function L(kA){return Ss.test(kA)}function R(kA){for(var OA,KA=[];!(OA=kA.next()).done;)KA.push(OA.value);return KA}function Z(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee,Be){KA[++OA]=[Be,ee]}),KA}function nA(kA,OA){return function(KA){return kA(OA(KA))}}function sA(kA,OA){for(var KA=-1,ee=kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];(Ke===OA||Ke===S)&&(kA[KA]=S,He[Be++]=KA)}return He}function dA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=ee}),KA}function BA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=[ee,ee]}),KA}function QA(kA,OA,KA){for(var ee=KA-1,Be=kA.length;++ee<Be;)if(kA[ee]===OA)return ee;return-1}function yA(kA,OA,KA){for(var ee=KA+1;ee--;)if(kA[ee]===OA)return ee;return ee}function RA(kA){return Yi(kA)?ge(kA):mg(kA)}function DA(kA){return Yi(kA)?le(kA):Eg(kA)}function HA(kA){for(var OA=kA.length;OA--&&ct.test(kA.charAt(OA)););return OA}var VA=Bo(hg);function ge(kA){for(var OA=Xo.lastIndex=0;Xo.test(kA);)++OA;return OA}function le(kA){return kA.match(Xo)||[]}function he(kA){return kA.match(dg)||[]}var De=function kA(OA){OA=OA==null?Rt:Qe.defaults(Rt.Object(),OA,Qe.pick(Rt,ug));var KA=OA.Array,ee=OA.Date,Be=OA.Error,He=OA.Function,Ke=OA.Math,Oe=OA.Object,on=OA.RegExp,Wn=OA.String,Ut=OA.TypeError,li=KA.prototype,NS=He.prototype,nr=Oe.prototype,Js=OA["__core-js_shared__"],Zs=NS.toString,lt=nr.hasOwnProperty,FS=0,_C=function(){var c=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ws=nr.toString,RS=Zs.call(Oe),LS=Rt._,GS=on("^"+Zs.call(lt).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),js=Ls?OA.Buffer:t,Oi=OA.Symbol,qs=OA.Uint8Array,MC=js?js.allocUnsafe:t,Xs=nA(Oe.getPrototypeOf,Oe),xC=Oe.create,SC=nr.propertyIsEnumerable,Vs=li.splice,NC=Oi?Oi.isConcatSpreadable:t,ia=Oi?Oi.iterator:t,Eo=Oi?Oi.toStringTag:t,Al=function(){try{var c=bo(Oe,"defineProperty");return c({},"",{}),c}catch{}}(),PS=OA.clearTimeout!==Rt.clearTimeout&&OA.clearTimeout,HS=ee&&ee.now!==Rt.Date.now&&ee.now,KS=OA.setTimeout!==Rt.setTimeout&&OA.setTimeout,el=Ke.ceil,tl=Ke.floor,vg=Oe.getOwnPropertySymbols,TS=js?js.isBuffer:t,FC=OA.isFinite,US=li.join,YS=nA(Oe.keys,Oe),Lt=Ke.max,$t=Ke.min,OS=ee.now,$S=OA.parseInt,RC=Ke.random,zS=li.reverse,kg=bo(OA,"DataView"),oa=bo(OA,"Map"),_g=bo(OA,"Promise"),ir=bo(OA,"Set"),ra=bo(OA,"WeakMap"),aa=bo(Oe,"create"),nl=ra&&new ra,or={},JS=yo(kg),ZS=yo(oa),WS=yo(_g),jS=yo(ir),qS=yo(ra),il=Oi?Oi.prototype:t,sa=il?il.valueOf:t,LC=il?il.toString:t;function EA(c){if(yt(c)&&!Te(c)&&!(c instanceof Xe)){if(c instanceof Kn)return c;if(lt.call(c,"__wrapped__"))return GB(c)}return new Kn(c)}var rr=function(){function c(){}return function(w){if(!It(w))return{};if(xC)return xC(w);c.prototype=w;var Y=new c;return c.prototype=t,Y}}();function ol(){}function Kn(c,w){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!w,this.__index__=0,this.__values__=t}EA.templateSettings={escape:IA,evaluate:LA,interpolate:TA,variable:"",imports:{_:EA}},EA.prototype=ol.prototype,EA.prototype.constructor=EA,Kn.prototype=rr(ol.prototype),Kn.prototype.constructor=Kn;function Xe(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=AA,this.__views__=[]}function XS(){var c=new Xe(this.__wrapped__);return c.__actions__=hn(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=hn(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=hn(this.__views__),c}function VS(){if(this.__filtered__){var c=new Xe(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function A4(){var c=this.__wrapped__.value(),w=this.__dir__,Y=Te(c),oA=w<0,pA=Y?c.length:0,fA=dN(0,pA,this.__views__),_A=fA.start,GA=fA.end,YA=GA-_A,te=oA?GA:_A-1,ne=this.__iteratees__,ce=ne.length,we=0,_e=$t(YA,this.__takeCount__);if(!Y||!oA&&pA==YA&&_e==YA)return rB(c,this.__actions__);var Fe=[];A:for(;YA--&&we<_e;){te+=w;for(var Je=-1,Re=c[te];++Je<ce;){var We=ne[Je],Ve=We.iteratee,_n=We.type,sn=Ve(Re);if(_n==E)Re=sn;else if(!sn){if(_n==r)continue A;break A}}Fe[we++]=Re}return Fe}Xe.prototype=rr(ol.prototype),Xe.prototype.constructor=Xe;function Qo(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function e4(){this.__data__=aa?aa(null):{},this.size=0}function t4(c){var w=this.has(c)&&delete this.__data__[c];return this.size-=w?1:0,w}function n4(c){var w=this.__data__;if(aa){var Y=w[c];return Y===D?t:Y}return lt.call(w,c)?w[c]:t}function i4(c){var w=this.__data__;return aa?w[c]!==t:lt.call(w,c)}function o4(c,w){var Y=this.__data__;return this.size+=this.has(c)?0:1,Y[c]=aa&&w===t?D:w,this}Qo.prototype.clear=e4,Qo.prototype.delete=t4,Qo.prototype.get=n4,Qo.prototype.has=i4,Qo.prototype.set=o4;function bi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function r4(){this.__data__=[],this.size=0}function a4(c){var w=this.__data__,Y=rl(w,c);if(Y<0)return!1;var oA=w.length-1;return Y==oA?w.pop():Vs.call(w,Y,1),--this.size,!0}function s4(c){var w=this.__data__,Y=rl(w,c);return Y<0?t:w[Y][1]}function l4(c){return rl(this.__data__,c)>-1}function c4(c,w){var Y=this.__data__,oA=rl(Y,c);return oA<0?(++this.size,Y.push([c,w])):Y[oA][1]=w,this}bi.prototype.clear=r4,bi.prototype.delete=a4,bi.prototype.get=s4,bi.prototype.has=l4,bi.prototype.set=c4;function yi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function g4(){this.size=0,this.__data__={hash:new Qo,map:new(oa||bi),string:new Qo}}function d4(c){var w=ml(this,c).delete(c);return this.size-=w?1:0,w}function u4(c){return ml(this,c).get(c)}function h4(c){return ml(this,c).has(c)}function p4(c,w){var Y=ml(this,c),oA=Y.size;return Y.set(c,w),this.size+=Y.size==oA?0:1,this}yi.prototype.clear=g4,yi.prototype.delete=d4,yi.prototype.get=u4,yi.prototype.has=h4,yi.prototype.set=p4;function fo(c){var w=-1,Y=c==null?0:c.length;for(this.__data__=new yi;++w<Y;)this.add(c[w])}function C4(c){return this.__data__.set(c,D),this}function B4(c){return this.__data__.has(c)}fo.prototype.add=fo.prototype.push=C4,fo.prototype.has=B4;function jn(c){var w=this.__data__=new bi(c);this.size=w.size}function m4(){this.__data__=new bi,this.size=0}function E4(c){var w=this.__data__,Y=w.delete(c);return this.size=w.size,Y}function Q4(c){return this.__data__.get(c)}function f4(c){return this.__data__.has(c)}function I4(c,w){var Y=this.__data__;if(Y instanceof bi){var oA=Y.__data__;if(!oa||oA.length<d-1)return oA.push([c,w]),this.size=++Y.size,this;Y=this.__data__=new yi(oA)}return Y.set(c,w),this.size=Y.size,this}jn.prototype.clear=m4,jn.prototype.delete=E4,jn.prototype.get=Q4,jn.prototype.has=f4,jn.prototype.set=I4;function GC(c,w){var Y=Te(c),oA=!Y&&Do(c),pA=!Y&&!oA&&Wi(c),fA=!Y&&!oA&&!pA&&cr(c),_A=Y||oA||pA||fA,GA=_A?wi(c.length,Wn):[],YA=GA.length;for(var te in c)(w||lt.call(c,te))&&!(_A&&(te=="length"||pA&&(te=="offset"||te=="parent")||fA&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||_i(te,YA)))&&GA.push(te);return GA}function PC(c){var w=c.length;return w?c[Kg(0,w-1)]:t}function w4(c,w){return El(hn(c),Io(w,0,c.length))}function b4(c){return El(hn(c))}function Mg(c,w,Y){(Y!==t&&!qn(c[w],Y)||Y===t&&!(w in c))&&Di(c,w,Y)}function la(c,w,Y){var oA=c[w];(!(lt.call(c,w)&&qn(oA,Y))||Y===t&&!(w in c))&&Di(c,w,Y)}function rl(c,w){for(var Y=c.length;Y--;)if(qn(c[Y][0],w))return Y;return-1}function y4(c,w,Y,oA){return $i(c,function(pA,fA,_A){w(oA,pA,Y(pA),_A)}),oA}function HC(c,w){return c&&gi(w,Ht(w),c)}function D4(c,w){return c&&gi(w,Cn(w),c)}function Di(c,w,Y){w=="__proto__"&&Al?Al(c,w,{configurable:!0,enumerable:!0,value:Y,writable:!0}):c[w]=Y}function xg(c,w){for(var Y=-1,oA=w.length,pA=KA(oA),fA=c==null;++Y<oA;)pA[Y]=fA?t:gd(c,w[Y]);return pA}function Io(c,w,Y){return c===c&&(Y!==t&&(c=c<=Y?c:Y),w!==t&&(c=c>=w?c:w)),c}function Tn(c,w,Y,oA,pA,fA){var _A,GA=w&N,YA=w&T,te=w&O;if(Y&&(_A=pA?Y(c,oA,pA,fA):Y(c)),_A!==t)return _A;if(!It(c))return c;var ne=Te(c);if(ne){if(_A=hN(c),!GA)return hn(c,_A)}else{var ce=zt(c),we=ce==uA||ce==mA;if(Wi(c))return lB(c,GA);if(ce==lA||ce==J||we&&!pA){if(_A=YA||we?{}:kB(c),!GA)return YA?nN(c,D4(_A,c)):tN(c,HC(_A,c))}else{if(!gt[ce])return pA?c:{};_A=pN(c,ce,GA)}}fA||(fA=new jn);var _e=fA.get(c);if(_e)return _e;fA.set(c,_A),nm(c)?c.forEach(function(Re){_A.add(Tn(Re,w,Y,Re,c,fA))}):em(c)&&c.forEach(function(Re,We){_A.set(We,Tn(Re,w,Y,We,c,fA))});var Fe=te?YA?qg:jg:YA?Cn:Ht,Je=ne?t:Fe(c);return un(Je||c,function(Re,We){Je&&(We=Re,Re=c[We]),la(_A,We,Tn(Re,w,Y,We,c,fA))}),_A}function v4(c){var w=Ht(c);return function(Y){return KC(Y,c,w)}}function KC(c,w,Y){var oA=Y.length;if(c==null)return!oA;for(c=Oe(c);oA--;){var pA=Y[oA],fA=w[pA],_A=c[pA];if(_A===t&&!(pA in c)||!fA(_A))return!1}return!0}function TC(c,w,Y){if(typeof c!="function")throw new Ut(o);return Ca(function(){c.apply(t,Y)},w)}function ca(c,w,Y,oA){var pA=-1,fA=Hn,_A=!0,GA=c.length,YA=[],te=w.length;if(!GA)return YA;Y&&(w=pt(w,Tt(Y))),oA?(fA=Ti,_A=!1):w.length>=d&&(fA=mo,_A=!1,w=new fo(w));A:for(;++pA<GA;){var ne=c[pA],ce=Y==null?ne:Y(ne);if(ne=oA||ne!==0?ne:0,_A&&ce===ce){for(var we=te;we--;)if(w[we]===ce)continue A;YA.push(ne)}else fA(w,ce,oA)||YA.push(ne)}return YA}var $i=hB(ci),UC=hB(Ng,!0);function k4(c,w){var Y=!0;return $i(c,function(oA,pA,fA){return Y=!!w(oA,pA,fA),Y}),Y}function al(c,w,Y){for(var oA=-1,pA=c.length;++oA<pA;){var fA=c[oA],_A=w(fA);if(_A!=null&&(GA===t?_A===_A&&!kn(_A):Y(_A,GA)))var GA=_A,YA=fA}return YA}function _4(c,w,Y,oA){var pA=c.length;for(Y=$e(Y),Y<0&&(Y=-Y>pA?0:pA+Y),oA=oA===t||oA>pA?pA:$e(oA),oA<0&&(oA+=pA),oA=Y>oA?0:om(oA);Y<oA;)c[Y++]=w;return c}function YC(c,w){var Y=[];return $i(c,function(oA,pA,fA){w(oA,pA,fA)&&Y.push(oA)}),Y}function Yt(c,w,Y,oA,pA){var fA=-1,_A=c.length;for(Y||(Y=BN),pA||(pA=[]);++fA<_A;){var GA=c[fA];w>0&&Y(GA)?w>1?Yt(GA,w-1,Y,oA,pA):Zn(pA,GA):oA||(pA[pA.length]=GA)}return pA}var Sg=pB(),OC=pB(!0);function ci(c,w){return c&&Sg(c,w,Ht)}function Ng(c,w){return c&&OC(c,w,Ht)}function sl(c,w){return Dn(w,function(Y){return Mi(c[Y])})}function wo(c,w){w=Ji(w,c);for(var Y=0,oA=w.length;c!=null&&Y<oA;)c=c[di(w[Y++])];return Y&&Y==oA?c:t}function $C(c,w,Y){var oA=w(c);return Te(c)?oA:Zn(oA,Y(c))}function rn(c){return c==null?c===t?CA:X:Eo&&Eo in Oe(c)?gN(c):bN(c)}function Fg(c,w){return c>w}function M4(c,w){return c!=null&<.call(c,w)}function x4(c,w){return c!=null&&w in Oe(c)}function S4(c,w,Y){return c>=$t(w,Y)&&c<Lt(w,Y)}function Rg(c,w,Y){for(var oA=Y?Ti:Hn,pA=c[0].length,fA=c.length,_A=fA,GA=KA(fA),YA=1/0,te=[];_A--;){var ne=c[_A];_A&&w&&(ne=pt(ne,Tt(w))),YA=$t(ne.length,YA),GA[_A]=!Y&&(w||pA>=120&&ne.length>=120)?new fo(_A&&ne):t}ne=c[0];var ce=-1,we=GA[0];A:for(;++ce<pA&&te.length<YA;){var _e=ne[ce],Fe=w?w(_e):_e;if(_e=Y||_e!==0?_e:0,!(we?mo(we,Fe):oA(te,Fe,Y))){for(_A=fA;--_A;){var Je=GA[_A];if(!(Je?mo(Je,Fe):oA(c[_A],Fe,Y)))continue A}we&&we.push(Fe),te.push(_e)}}return te}function N4(c,w,Y,oA){return ci(c,function(pA,fA,_A){w(oA,Y(pA),fA,_A)}),oA}function ga(c,w,Y){w=Ji(w,c),c=SB(c,w);var oA=c==null?c:c[di(Yn(w))];return oA==null?t:nn(oA,c,Y)}function zC(c){return yt(c)&&rn(c)==J}function F4(c){return yt(c)&&rn(c)==jA}function R4(c){return yt(c)&&rn(c)==q}function da(c,w,Y,oA,pA){return c===w?!0:c==null||w==null||!yt(c)&&!yt(w)?c!==c&&w!==w:L4(c,w,Y,oA,da,pA)}function L4(c,w,Y,oA,pA,fA){var _A=Te(c),GA=Te(w),YA=_A?y:zt(c),te=GA?y:zt(w);YA=YA==J?lA:YA,te=te==J?lA:te;var ne=YA==lA,ce=te==lA,we=YA==te;if(we&&Wi(c)){if(!Wi(w))return!1;_A=!0,ne=!1}if(we&&!ne)return fA||(fA=new jn),_A||cr(c)?yB(c,w,Y,oA,pA,fA):lN(c,w,YA,Y,oA,pA,fA);if(!(Y&H)){var _e=ne&<.call(c,"__wrapped__"),Fe=ce&<.call(w,"__wrapped__");if(_e||Fe){var Je=_e?c.value():c,Re=Fe?w.value():w;return fA||(fA=new jn),pA(Je,Re,Y,oA,fA)}}return we?(fA||(fA=new jn),cN(c,w,Y,oA,pA,fA)):!1}function G4(c){return yt(c)&&zt(c)==gA}function Lg(c,w,Y,oA){var pA=Y.length,fA=pA,_A=!oA;if(c==null)return!fA;for(c=Oe(c);pA--;){var GA=Y[pA];if(_A&&GA[2]?GA[1]!==c[GA[0]]:!(GA[0]in c))return!1}for(;++pA<fA;){GA=Y[pA];var YA=GA[0],te=c[YA],ne=GA[1];if(_A&&GA[2]){if(te===t&&!(YA in c))return!1}else{var ce=new jn;if(oA)var we=oA(te,ne,YA,c,w,ce);if(!(we===t?da(ne,te,H|P,oA,ce):we))return!1}}return!0}function JC(c){if(!It(c)||EN(c))return!1;var w=Mi(c)?GS:ze;return w.test(yo(c))}function P4(c){return yt(c)&&rn(c)==U}function H4(c){return yt(c)&&zt(c)==W}function K4(c){return yt(c)&&yl(c.length)&&!!at[rn(c)]}function ZC(c){return typeof c=="function"?c:c==null?Bn:typeof c=="object"?Te(c)?qC(c[0],c[1]):jC(c):Cm(c)}function Gg(c){if(!pa(c))return YS(c);var w=[];for(var Y in Oe(c))lt.call(c,Y)&&Y!="constructor"&&w.push(Y);return w}function T4(c){if(!It(c))return wN(c);var w=pa(c),Y=[];for(var oA in c)oA=="constructor"&&(w||!lt.call(c,oA))||Y.push(oA);return Y}function Pg(c,w){return c<w}function WC(c,w){var Y=-1,oA=pn(c)?KA(c.length):[];return $i(c,function(pA,fA,_A){oA[++Y]=w(pA,fA,_A)}),oA}function jC(c){var w=Vg(c);return w.length==1&&w[0][2]?MB(w[0][0],w[0][1]):function(Y){return Y===c||Lg(Y,c,w)}}function qC(c,w){return ed(c)&&_B(w)?MB(di(c),w):function(Y){var oA=gd(Y,c);return oA===t&&oA===w?dd(Y,c):da(w,oA,H|P)}}function ll(c,w,Y,oA,pA){c!==w&&Sg(w,function(fA,_A){if(pA||(pA=new jn),It(fA))U4(c,w,_A,Y,ll,oA,pA);else{var GA=oA?oA(nd(c,_A),fA,_A+"",c,w,pA):t;GA===t&&(GA=fA),Mg(c,_A,GA)}},Cn)}function U4(c,w,Y,oA,pA,fA,_A){var GA=nd(c,Y),YA=nd(w,Y),te=_A.get(YA);if(te){Mg(c,Y,te);return}var ne=fA?fA(GA,YA,Y+"",c,w,_A):t,ce=ne===t;if(ce){var we=Te(YA),_e=!we&&Wi(YA),Fe=!we&&!_e&&cr(YA);ne=YA,we||_e||Fe?Te(GA)?ne=GA:Dt(GA)?ne=hn(GA):_e?(ce=!1,ne=lB(YA,!0)):Fe?(ce=!1,ne=cB(YA,!0)):ne=[]:Ba(YA)||Do(YA)?(ne=GA,Do(GA)?ne=rm(GA):(!It(GA)||Mi(GA))&&(ne=kB(YA))):ce=!1}ce&&(_A.set(YA,ne),pA(ne,YA,oA,fA,_A),_A.delete(YA)),Mg(c,Y,ne)}function XC(c,w){var Y=c.length;if(Y)return w+=w<0?Y:0,_i(w,Y)?c[w]:t}function VC(c,w,Y){w.length?w=pt(w,function(fA){return Te(fA)?function(_A){return wo(_A,fA.length===1?fA[0]:fA)}:fA}):w=[Bn];var oA=-1;w=pt(w,Tt(Ne()));var pA=WC(c,function(fA,_A,GA){var YA=pt(w,function(te){return te(fA)});return{criteria:YA,index:++oA,value:fA}});return fg(pA,function(fA,_A){return eN(fA,_A,Y)})}function Y4(c,w){return AB(c,w,function(Y,oA){return dd(c,oA)})}function AB(c,w,Y){for(var oA=-1,pA=w.length,fA={};++oA<pA;){var _A=w[oA],GA=wo(c,_A);Y(GA,_A)&&ua(fA,Ji(_A,c),GA)}return fA}function O4(c){return function(w){return wo(w,c)}}function Hg(c,w,Y,oA){var pA=oA?Aa:Ui,fA=-1,_A=w.length,GA=c;for(c===w&&(w=hn(w)),Y&&(GA=pt(c,Tt(Y)));++fA<_A;)for(var YA=0,te=w[fA],ne=Y?Y(te):te;(YA=pA(GA,ne,YA,oA))>-1;)GA!==c&&Vs.call(GA,YA,1),Vs.call(c,YA,1);return c}function eB(c,w){for(var Y=c?w.length:0,oA=Y-1;Y--;){var pA=w[Y];if(Y==oA||pA!==fA){var fA=pA;_i(pA)?Vs.call(c,pA,1):Yg(c,pA)}}return c}function Kg(c,w){return c+tl(RC()*(w-c+1))}function $4(c,w,Y,oA){for(var pA=-1,fA=Lt(el((w-c)/(Y||1)),0),_A=KA(fA);fA--;)_A[oA?fA:++pA]=c,c+=Y;return _A}function Tg(c,w){var Y="";if(!c||w<1||w>x)return Y;do w%2&&(Y+=c),w=tl(w/2),w&&(c+=c);while(w);return Y}function Ze(c,w){return id(xB(c,w,Bn),c+"")}function z4(c){return PC(gr(c))}function J4(c,w){var Y=gr(c);return El(Y,Io(w,0,Y.length))}function ua(c,w,Y,oA){if(!It(c))return c;w=Ji(w,c);for(var pA=-1,fA=w.length,_A=fA-1,GA=c;GA!=null&&++pA<fA;){var YA=di(w[pA]),te=Y;if(YA==="__proto__"||YA==="constructor"||YA==="prototype")return c;if(pA!=_A){var ne=GA[YA];te=oA?oA(ne,YA,GA):t,te===t&&(te=It(ne)?ne:_i(w[pA+1])?[]:{})}la(GA,YA,te),GA=GA[YA]}return c}var tB=nl?function(c,w){return nl.set(c,w),c}:Bn,Z4=Al?function(c,w){return Al(c,"toString",{configurable:!0,enumerable:!1,value:hd(w),writable:!0})}:Bn;function W4(c){return El(gr(c))}function Un(c,w,Y){var oA=-1,pA=c.length;w<0&&(w=-w>pA?0:pA+w),Y=Y>pA?pA:Y,Y<0&&(Y+=pA),pA=w>Y?0:Y-w>>>0,w>>>=0;for(var fA=KA(pA);++oA<pA;)fA[oA]=c[oA+w];return fA}function j4(c,w){var Y;return $i(c,function(oA,pA,fA){return Y=w(oA,pA,fA),!Y}),!!Y}function cl(c,w,Y){var oA=0,pA=c==null?oA:c.length;if(typeof w=="number"&&w===w&&pA<=V){for(;oA<pA;){var fA=oA+pA>>>1,_A=c[fA];_A!==null&&!kn(_A)&&(Y?_A<=w:_A<w)?oA=fA+1:pA=fA}return pA}return Ug(c,w,Bn,Y)}function Ug(c,w,Y,oA){var pA=0,fA=c==null?0:c.length;if(fA===0)return 0;w=Y(w);for(var _A=w!==w,GA=w===null,YA=kn(w),te=w===t;pA<fA;){var ne=tl((pA+fA)/2),ce=Y(c[ne]),we=ce!==t,_e=ce===null,Fe=ce===ce,Je=kn(ce);if(_A)var Re=oA||Fe;else te?Re=Fe&&(oA||we):GA?Re=Fe&&we&&(oA||!_e):YA?Re=Fe&&we&&!_e&&(oA||!Je):_e||Je?Re=!1:Re=oA?ce<=w:ce<w;Re?pA=ne+1:fA=ne}return $t(fA,eA)}function nB(c,w){for(var Y=-1,oA=c.length,pA=0,fA=[];++Y<oA;){var _A=c[Y],GA=w?w(_A):_A;if(!Y||!qn(GA,YA)){var YA=GA;fA[pA++]=_A===0?0:_A}}return fA}function iB(c){return typeof c=="number"?c:kn(c)?z:+c}function vn(c){if(typeof c=="string")return c;if(Te(c))return pt(c,vn)+"";if(kn(c))return LC?LC.call(c):"";var w=c+"";return w=="0"&&1/c==-M?"-0":w}function zi(c,w,Y){var oA=-1,pA=Hn,fA=c.length,_A=!0,GA=[],YA=GA;if(Y)_A=!1,pA=Ti;else if(fA>=d){var te=w?null:aN(c);if(te)return dA(te);_A=!1,pA=mo,YA=new fo}else YA=w?[]:GA;A:for(;++oA<fA;){var ne=c[oA],ce=w?w(ne):ne;if(ne=Y||ne!==0?ne:0,_A&&ce===ce){for(var we=YA.length;we--;)if(YA[we]===ce)continue A;w&&YA.push(ce),GA.push(ne)}else pA(YA,ce,Y)||(YA!==GA&&YA.push(ce),GA.push(ne))}return GA}function Yg(c,w){return w=Ji(w,c),c=SB(c,w),c==null||delete c[di(Yn(w))]}function oB(c,w,Y,oA){return ua(c,w,Y(wo(c,w)),oA)}function gl(c,w,Y,oA){for(var pA=c.length,fA=oA?pA:-1;(oA?fA--:++fA<pA)&&w(c[fA],fA,c););return Y?Un(c,oA?0:fA,oA?fA+1:pA):Un(c,oA?fA+1:0,oA?pA:fA)}function rB(c,w){var Y=c;return Y instanceof Xe&&(Y=Y.value()),Ar(w,function(oA,pA){return pA.func.apply(pA.thisArg,Zn([oA],pA.args))},Y)}function Og(c,w,Y){var oA=c.length;if(oA<2)return oA?zi(c[0]):[];for(var pA=-1,fA=KA(oA);++pA<oA;)for(var _A=c[pA],GA=-1;++GA<oA;)GA!=pA&&(fA[pA]=ca(fA[pA]||_A,c[GA],w,Y));return zi(Yt(fA,1),w,Y)}function aB(c,w,Y){for(var oA=-1,pA=c.length,fA=w.length,_A={};++oA<pA;){var GA=oA<fA?w[oA]:t;Y(_A,c[oA],GA)}return _A}function $g(c){return Dt(c)?c:[]}function zg(c){return typeof c=="function"?c:Bn}function Ji(c,w){return Te(c)?c:ed(c,w)?[c]:LB(st(c))}var q4=Ze;function Zi(c,w,Y){var oA=c.length;return Y=Y===t?oA:Y,!w&&Y>=oA?c:Un(c,w,Y)}var sB=PS||function(c){return Rt.clearTimeout(c)};function lB(c,w){if(w)return c.slice();var Y=c.length,oA=MC?MC(Y):new c.constructor(Y);return c.copy(oA),oA}function Jg(c){var w=new c.constructor(c.byteLength);return new qs(w).set(new qs(c)),w}function X4(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.byteLength)}function V4(c){var w=new c.constructor(c.source,Me.exec(c));return w.lastIndex=c.lastIndex,w}function AN(c){return sa?Oe(sa.call(c)):{}}function cB(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.length)}function gB(c,w){if(c!==w){var Y=c!==t,oA=c===null,pA=c===c,fA=kn(c),_A=w!==t,GA=w===null,YA=w===w,te=kn(w);if(!GA&&!te&&!fA&&c>w||fA&&_A&&YA&&!GA&&!te||oA&&_A&&YA||!Y&&YA||!pA)return 1;if(!oA&&!fA&&!te&&c<w||te&&Y&&pA&&!oA&&!fA||GA&&Y&&pA||!_A&&pA||!YA)return-1}return 0}function eN(c,w,Y){for(var oA=-1,pA=c.criteria,fA=w.criteria,_A=pA.length,GA=Y.length;++oA<_A;){var YA=gB(pA[oA],fA[oA]);if(YA){if(oA>=GA)return YA;var te=Y[oA];return YA*(te=="desc"?-1:1)}}return c.index-w.index}function dB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=Y.length,GA=-1,YA=w.length,te=Lt(fA-_A,0),ne=KA(YA+te),ce=!oA;++GA<YA;)ne[GA]=w[GA];for(;++pA<_A;)(ce||pA<fA)&&(ne[Y[pA]]=c[pA]);for(;te--;)ne[GA++]=c[pA++];return ne}function uB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=-1,GA=Y.length,YA=-1,te=w.length,ne=Lt(fA-GA,0),ce=KA(ne+te),we=!oA;++pA<ne;)ce[pA]=c[pA];for(var _e=pA;++YA<te;)ce[_e+YA]=w[YA];for(;++_A<GA;)(we||pA<fA)&&(ce[_e+Y[_A]]=c[pA++]);return ce}function hn(c,w){var Y=-1,oA=c.length;for(w||(w=KA(oA));++Y<oA;)w[Y]=c[Y];return w}function gi(c,w,Y,oA){var pA=!Y;Y||(Y={});for(var fA=-1,_A=w.length;++fA<_A;){var GA=w[fA],YA=oA?oA(Y[GA],c[GA],GA,Y,c):t;YA===t&&(YA=c[GA]),pA?Di(Y,GA,YA):la(Y,GA,YA)}return Y}function tN(c,w){return gi(c,Ad(c),w)}function nN(c,w){return gi(c,DB(c),w)}function dl(c,w){return function(Y,oA){var pA=Te(Y)?Cg:y4,fA=w?w():{};return pA(Y,c,Ne(oA,2),fA)}}function ar(c){return Ze(function(w,Y){var oA=-1,pA=Y.length,fA=pA>1?Y[pA-1]:t,_A=pA>2?Y[2]:t;for(fA=c.length>3&&typeof fA=="function"?(pA--,fA):t,_A&&an(Y[0],Y[1],_A)&&(fA=pA<3?t:fA,pA=1),w=Oe(w);++oA<pA;){var GA=Y[oA];GA&&c(w,GA,oA,fA)}return w})}function hB(c,w){return function(Y,oA){if(Y==null)return Y;if(!pn(Y))return c(Y,oA);for(var pA=Y.length,fA=w?pA:-1,_A=Oe(Y);(w?fA--:++fA<pA)&&oA(_A[fA],fA,_A)!==!1;);return Y}}function pB(c){return function(w,Y,oA){for(var pA=-1,fA=Oe(w),_A=oA(w),GA=_A.length;GA--;){var YA=_A[c?GA:++pA];if(Y(fA[YA],YA,fA)===!1)break}return w}}function iN(c,w,Y){var oA=w&v,pA=ha(c);function fA(){var _A=this&&this!==Rt&&this instanceof fA?pA:c;return _A.apply(oA?Y:this,arguments)}return fA}function CB(c){return function(w){w=st(w);var Y=Yi(w)?DA(w):t,oA=Y?Y[0]:w.charAt(0),pA=Y?Zi(Y,1).join(""):w.slice(1);return oA[c]()+pA}}function sr(c){return function(w){return Ar(hm(um(w).replace(gg,"")),c,"")}}function ha(c){return function(){var w=arguments;switch(w.length){case 0:return new c;case 1:return new c(w[0]);case 2:return new c(w[0],w[1]);case 3:return new c(w[0],w[1],w[2]);case 4:return new c(w[0],w[1],w[2],w[3]);case 5:return new c(w[0],w[1],w[2],w[3],w[4]);case 6:return new c(w[0],w[1],w[2],w[3],w[4],w[5]);case 7:return new c(w[0],w[1],w[2],w[3],w[4],w[5],w[6])}var Y=rr(c.prototype),oA=c.apply(Y,w);return It(oA)?oA:Y}}function oN(c,w,Y){var oA=ha(c);function pA(){for(var fA=arguments.length,_A=KA(fA),GA=fA,YA=lr(pA);GA--;)_A[GA]=arguments[GA];var te=fA<3&&_A[0]!==YA&&_A[fA-1]!==YA?[]:sA(_A,YA);if(fA-=te.length,fA<Y)return fB(c,w,ul,pA.placeholder,t,_A,te,t,t,Y-fA);var ne=this&&this!==Rt&&this instanceof pA?oA:c;return nn(ne,this,_A)}return pA}function BB(c){return function(w,Y,oA){var pA=Oe(w);if(!pn(w)){var fA=Ne(Y,3);w=Ht(w),Y=function(GA){return fA(pA[GA],GA,pA)}}var _A=c(w,Y,oA);return _A>-1?pA[fA?w[_A]:_A]:t}}function mB(c){return ki(function(w){var Y=w.length,oA=Y,pA=Kn.prototype.thru;for(c&&w.reverse();oA--;){var fA=w[oA];if(typeof fA!="function")throw new Ut(o);if(pA&&!_A&&Bl(fA)=="wrapper")var _A=new Kn([],!0)}for(oA=_A?oA:Y;++oA<Y;){fA=w[oA];var GA=Bl(fA),YA=GA=="wrapper"?Xg(fA):t;YA&&td(YA[0])&&YA[1]==(u|k|B|l)&&!YA[4].length&&YA[9]==1?_A=_A[Bl(YA[0])].apply(_A,YA[3]):_A=fA.length==1&&td(fA)?_A[GA]():_A.thru(fA)}return function(){var te=arguments,ne=te[0];if(_A&&te.length==1&&Te(ne))return _A.plant(ne).value();for(var ce=0,we=Y?w[ce].apply(this,te):ne;++ce<Y;)we=w[ce].call(this,we);return we}})}function ul(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&u,ce=w&v,we=w&m,_e=w&(k|_),Fe=w&g,Je=we?t:ha(c);function Re(){for(var We=arguments.length,Ve=KA(We),_n=We;_n--;)Ve[_n]=arguments[_n];if(_e)var sn=lr(Re),Mn=Ig(Ve,sn);if(oA&&(Ve=dB(Ve,oA,pA,_e)),fA&&(Ve=uB(Ve,fA,_A,_e)),We-=Mn,_e&&We<te){var vt=sA(Ve,sn);return fB(c,w,ul,Re.placeholder,Y,Ve,vt,GA,YA,te-We)}var Xn=ce?Y:this,Si=we?Xn[c]:c;return We=Ve.length,GA?Ve=yN(Ve,GA):Fe&&We>1&&Ve.reverse(),ne&&YA<We&&(Ve.length=YA),this&&this!==Rt&&this instanceof Re&&(Si=Je||ha(Si)),Si.apply(Xn,Ve)}return Re}function EB(c,w){return function(Y,oA){return N4(Y,c,w(oA),{})}}function hl(c,w){return function(Y,oA){var pA;if(Y===t&&oA===t)return w;if(Y!==t&&(pA=Y),oA!==t){if(pA===t)return oA;typeof Y=="string"||typeof oA=="string"?(Y=vn(Y),oA=vn(oA)):(Y=iB(Y),oA=iB(oA)),pA=c(Y,oA)}return pA}}function Zg(c){return ki(function(w){return w=pt(w,Tt(Ne())),Ze(function(Y){var oA=this;return c(w,function(pA){return nn(pA,oA,Y)})})})}function pl(c,w){w=w===t?" ":vn(w);var Y=w.length;if(Y<2)return Y?Tg(w,c):w;var oA=Tg(w,el(c/RA(w)));return Yi(w)?Zi(DA(oA),0,c).join(""):oA.slice(0,c)}function rN(c,w,Y,oA){var pA=w&v,fA=ha(c);function _A(){for(var GA=-1,YA=arguments.length,te=-1,ne=oA.length,ce=KA(ne+YA),we=this&&this!==Rt&&this instanceof _A?fA:c;++te<ne;)ce[te]=oA[te];for(;YA--;)ce[te++]=arguments[++GA];return nn(we,pA?Y:this,ce)}return _A}function QB(c){return function(w,Y,oA){return oA&&typeof oA!="number"&&an(w,Y,oA)&&(Y=oA=t),w=xi(w),Y===t?(Y=w,w=0):Y=xi(Y),oA=oA===t?w<Y?1:-1:xi(oA),$4(w,Y,oA,c)}}function Cl(c){return function(w,Y){return typeof w=="string"&&typeof Y=="string"||(w=On(w),Y=On(Y)),c(w,Y)}}function fB(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&k,ce=ne?_A:t,we=ne?t:_A,_e=ne?fA:t,Fe=ne?t:fA;w|=ne?B:p,w&=~(ne?p:B),w&F||(w&=~(v|m));var Je=[c,w,pA,_e,ce,Fe,we,GA,YA,te],Re=Y.apply(t,Je);return td(c)&&NB(Re,Je),Re.placeholder=oA,FB(Re,c,w)}function Wg(c){var w=Ke[c];return function(Y,oA){if(Y=On(Y),oA=oA==null?0:$t($e(oA),292),oA&&FC(Y)){var pA=(st(Y)+"e").split("e"),fA=w(pA[0]+"e"+(+pA[1]+oA));return pA=(st(fA)+"e").split("e"),+(pA[0]+"e"+(+pA[1]-oA))}return w(Y)}}var aN=ir&&1/dA(new ir([,-0]))[1]==M?function(c){return new ir(c)}:Bd;function IB(c){return function(w){var Y=zt(w);return Y==gA?Z(w):Y==W?BA(w):si(w,c(w))}}function vi(c,w,Y,oA,pA,fA,_A,GA){var YA=w&m;if(!YA&&typeof c!="function")throw new Ut(o);var te=oA?oA.length:0;if(te||(w&=~(B|p),oA=pA=t),_A=_A===t?_A:Lt($e(_A),0),GA=GA===t?GA:$e(GA),te-=pA?pA.length:0,w&p){var ne=oA,ce=pA;oA=pA=t}var we=YA?t:Xg(c),_e=[c,w,Y,oA,pA,ne,ce,fA,_A,GA];if(we&&IN(_e,we),c=_e[0],w=_e[1],Y=_e[2],oA=_e[3],pA=_e[4],GA=_e[9]=_e[9]===t?YA?0:c.length:Lt(_e[9]-te,0),!GA&&w&(k|_)&&(w&=~(k|_)),!w||w==v)var Fe=iN(c,w,Y);else w==k||w==_?Fe=oN(c,w,GA):(w==B||w==(v|B))&&!pA.length?Fe=rN(c,w,Y,oA):Fe=ul.apply(t,_e);var Je=we?tB:NB;return FB(Je(Fe,_e),c,w)}function wB(c,w,Y,oA){return c===t||qn(c,nr[Y])&&!lt.call(oA,Y)?w:c}function bB(c,w,Y,oA,pA,fA){return It(c)&&It(w)&&(fA.set(w,c),ll(c,w,t,bB,fA),fA.delete(w)),c}function sN(c){return Ba(c)?t:c}function yB(c,w,Y,oA,pA,fA){var _A=Y&H,GA=c.length,YA=w.length;if(GA!=YA&&!(_A&&YA>GA))return!1;var te=fA.get(c),ne=fA.get(w);if(te&&ne)return te==w&&ne==c;var ce=-1,we=!0,_e=Y&P?new fo:t;for(fA.set(c,w),fA.set(w,c);++ce<GA;){var Fe=c[ce],Je=w[ce];if(oA)var Re=_A?oA(Je,Fe,ce,w,c,fA):oA(Fe,Je,ce,c,w,fA);if(Re!==t){if(Re)continue;we=!1;break}if(_e){if(!Ii(w,function(We,Ve){if(!mo(_e,Ve)&&(Fe===We||pA(Fe,We,Y,oA,fA)))return _e.push(Ve)})){we=!1;break}}else if(!(Fe===Je||pA(Fe,Je,Y,oA,fA))){we=!1;break}}return fA.delete(c),fA.delete(w),we}function lN(c,w,Y,oA,pA,fA,_A){switch(Y){case Ae:if(c.byteLength!=w.byteLength||c.byteOffset!=w.byteOffset)return!1;c=c.buffer,w=w.buffer;case jA:return!(c.byteLength!=w.byteLength||!fA(new qs(c),new qs(w)));case G:case q:case wA:return qn(+c,+w);case iA:return c.name==w.name&&c.message==w.message;case U:case tA:return c==w+"";case gA:var GA=Z;case W:var YA=oA&H;if(GA||(GA=dA),c.size!=w.size&&!YA)return!1;var te=_A.get(c);if(te)return te==w;oA|=P,_A.set(c,w);var ne=yB(GA(c),GA(w),oA,pA,fA,_A);return _A.delete(c),ne;case aA:if(sa)return sa.call(c)==sa.call(w)}return!1}function cN(c,w,Y,oA,pA,fA){var _A=Y&H,GA=jg(c),YA=GA.length,te=jg(w),ne=te.length;if(YA!=ne&&!_A)return!1;for(var ce=YA;ce--;){var we=GA[ce];if(!(_A?we in w:lt.call(w,we)))return!1}var _e=fA.get(c),Fe=fA.get(w);if(_e&&Fe)return _e==w&&Fe==c;var Je=!0;fA.set(c,w),fA.set(w,c);for(var Re=_A;++ce<YA;){we=GA[ce];var We=c[we],Ve=w[we];if(oA)var _n=_A?oA(Ve,We,we,w,c,fA):oA(We,Ve,we,c,w,fA);if(!(_n===t?We===Ve||pA(We,Ve,Y,oA,fA):_n)){Je=!1;break}Re||(Re=we=="constructor")}if(Je&&!Re){var sn=c.constructor,Mn=w.constructor;sn!=Mn&&"constructor"in c&&"constructor"in w&&!(typeof sn=="function"&&sn instanceof sn&&typeof Mn=="function"&&Mn instanceof Mn)&&(Je=!1)}return fA.delete(c),fA.delete(w),Je}function ki(c){return id(xB(c,t,KB),c+"")}function jg(c){return $C(c,Ht,Ad)}function qg(c){return $C(c,Cn,DB)}var Xg=nl?function(c){return nl.get(c)}:Bd;function Bl(c){for(var w=c.name+"",Y=or[w],oA=lt.call(or,w)?Y.length:0;oA--;){var pA=Y[oA],fA=pA.func;if(fA==null||fA==c)return pA.name}return w}function lr(c){var w=lt.call(EA,"placeholder")?EA:c;return w.placeholder}function Ne(){var c=EA.iteratee||pd;return c=c===pd?ZC:c,arguments.length?c(arguments[0],arguments[1]):c}function ml(c,w){var Y=c.__data__;return mN(w)?Y[typeof w=="string"?"string":"hash"]:Y.map}function Vg(c){for(var w=Ht(c),Y=w.length;Y--;){var oA=w[Y],pA=c[oA];w[Y]=[oA,pA,_B(pA)]}return w}function bo(c,w){var Y=Dg(c,w);return JC(Y)?Y:t}function gN(c){var w=lt.call(c,Eo),Y=c[Eo];try{c[Eo]=t;var oA=!0}catch{}var pA=Ws.call(c);return oA&&(w?c[Eo]=Y:delete c[Eo]),pA}var Ad=vg?function(c){return c==null?[]:(c=Oe(c),Dn(vg(c),function(w){return SC.call(c,w)}))}:md,DB=vg?function(c){for(var w=[];c;)Zn(w,Ad(c)),c=Xs(c);return w}:md,zt=rn;(kg&&zt(new kg(new ArrayBuffer(1)))!=Ae||oa&&zt(new oa)!=gA||_g&&zt(_g.resolve())!=cA||ir&&zt(new ir)!=W||ra&&zt(new ra)!=xA)&&(zt=function(c){var w=rn(c),Y=w==lA?c.constructor:t,oA=Y?yo(Y):"";if(oA)switch(oA){case JS:return Ae;case ZS:return gA;case WS:return cA;case jS:return W;case qS:return xA}return w});function dN(c,w,Y){for(var oA=-1,pA=Y.length;++oA<pA;){var fA=Y[oA],_A=fA.size;switch(fA.type){case"drop":c+=_A;break;case"dropRight":w-=_A;break;case"take":w=$t(w,c+_A);break;case"takeRight":c=Lt(c,w-_A);break}}return{start:c,end:w}}function uN(c){var w=c.match(bA);return w?w[1].split(PA):[]}function vB(c,w,Y){w=Ji(w,c);for(var oA=-1,pA=w.length,fA=!1;++oA<pA;){var _A=di(w[oA]);if(!(fA=c!=null&&Y(c,_A)))break;c=c[_A]}return fA||++oA!=pA?fA:(pA=c==null?0:c.length,!!pA&&yl(pA)&&_i(_A,pA)&&(Te(c)||Do(c)))}function hN(c){var w=c.length,Y=new c.constructor(w);return w&&typeof c[0]=="string"&<.call(c,"index")&&(Y.index=c.index,Y.input=c.input),Y}function kB(c){return typeof c.constructor=="function"&&!pa(c)?rr(Xs(c)):{}}function pN(c,w,Y){var oA=c.constructor;switch(w){case jA:return Jg(c);case G:case q:return new oA(+c);case Ae:return X4(c,Y);case vA:case $A:case XA:case SA:case MA:case qA:case Ce:case ye:case xe:return cB(c,Y);case gA:return new oA;case wA:case tA:return new oA(c);case U:return V4(c);case W:return new oA;case aA:return AN(c)}}function CN(c,w){var Y=w.length;if(!Y)return c;var oA=Y-1;return w[oA]=(Y>1?"& ":"")+w[oA],w=w.join(Y>2?", ":" "),c.replace(FA,`{
|
|
9
9
|
/* [wrapped with `+w+`] */
|
|
10
|
-
`)}function QN(c){return Te(c)||Do(c)||!!(NC&&c&&c[NC])}function _i(c,w){var Y=typeof c;return w=w??x,!!w&&(Y=="number"||Y!="symbol"&&dt.test(c))&&c>-1&&c%1==0&&c<w}function an(c,w,Y){if(!It(Y))return!1;var oA=typeof w;return(oA=="number"?pn(Y)&&_i(w,Y.length):oA=="string"&&w in Y)?jn(Y[w],c):!1}function ed(c,w){if(Te(c))return!1;var Y=typeof c;return Y=="number"||Y=="symbol"||Y=="boolean"||c==null||kn(c)?!0:be.test(c)||!re.test(c)||w!=null&&c in Oe(w)}function fN(c){var w=typeof c;return w=="string"||w=="number"||w=="symbol"||w=="boolean"?c!=="__proto__":c===null}function td(c){var w=Bl(c),Y=EA[w];if(typeof Y!="function"||!(w in Xe.prototype))return!1;if(c===Y)return!0;var oA=Xg(Y);return!!oA&&c===oA[0]}function IN(c){return!!_C&&_C in c}var wN=Js?Mi:Ed;function pa(c){var w=c&&c.constructor,Y=typeof w=="function"&&w.prototype||nr;return c===Y}function _B(c){return c===c&&!It(c)}function MB(c,w){return function(Y){return Y==null?!1:Y[c]===w&&(w!==t||c in Oe(Y))}}function bN(c){var w=wl(c,function(oA){return Y.size===I&&Y.clear(),oA}),Y=w.cache;return w}function yN(c,w){var Y=c[1],oA=w[1],pA=Y|oA,fA=pA<(v|m|u),_A=oA==u&&Y==k||oA==u&&Y==l&&c[7].length<=w[8]||oA==(u|l)&&w[7].length<=w[8]&&Y==k;if(!(fA||_A))return c;oA&v&&(c[2]=w[2],pA|=Y&v?0:F);var GA=w[3];if(GA){var YA=c[3];c[3]=YA?dB(YA,GA,w[4]):GA,c[4]=YA?sA(c[3],S):w[4]}return GA=w[5],GA&&(YA=c[5],c[5]=YA?uB(YA,GA,w[6]):GA,c[6]=YA?sA(c[5],S):w[6]),GA=w[7],GA&&(c[7]=GA),oA&u&&(c[8]=c[8]==null?w[8]:$t(c[8],w[8])),c[9]==null&&(c[9]=w[9]),c[0]=w[0],c[1]=pA,c}function DN(c){var w=[];if(c!=null)for(var Y in Oe(c))w.push(Y);return w}function vN(c){return Ws.call(c)}function xB(c,w,Y){return w=Lt(w===t?c.length-1:w,0),function(){for(var oA=arguments,pA=-1,fA=Lt(oA.length-w,0),_A=KA(fA);++pA<fA;)_A[pA]=oA[w+pA];pA=-1;for(var GA=KA(w+1);++pA<w;)GA[pA]=oA[pA];return GA[w]=Y(_A),nn(c,this,GA)}}function SB(c,w){return w.length<2?c:wo(c,Tn(w,0,-1))}function kN(c,w){for(var Y=c.length,oA=$t(w.length,Y),pA=hn(c);oA--;){var fA=w[oA];c[oA]=_i(fA,Y)?pA[fA]:t}return c}function nd(c,w){if(!(w==="constructor"&&typeof c[w]=="function")&&w!="__proto__")return c[w]}var NB=RB(tB),Ca=YS||function(c,w){return Rt.setTimeout(c,w)},id=RB(q4);function FB(c,w,Y){var oA=w+"";return id(c,EN(oA,_N(CN(oA),Y)))}function RB(c){var w=0,Y=0;return function(){var oA=JS(),pA=a-(oA-Y);if(Y=oA,pA>0){if(++w>=C)return arguments[0]}else w=0;return c.apply(t,arguments)}}function El(c,w){var Y=-1,oA=c.length,pA=oA-1;for(w=w===t?oA:w;++Y<w;){var fA=Kg(Y,pA),_A=c[fA];c[fA]=c[Y],c[Y]=_A}return c.length=w,c}var LB=bN(function(c){var w=[];return c.charCodeAt(0)===46&&w.push(""),c.replace(se,function(Y,oA,pA,fA){w.push(pA?fA.replace(Ie,"$1"):oA||Y)}),w});function di(c){if(typeof c=="string"||kn(c))return c;var w=c+"";return w=="0"&&1/c==-M?"-0":w}function yo(c){if(c!=null){try{return Zs.call(c)}catch{}try{return c+""}catch{}}return""}function _N(c,w){return un($,function(Y){var oA="_."+Y[0];w&Y[1]&&!Pn(c,oA)&&c.push(oA)}),c.sort()}function GB(c){if(c instanceof Xe)return c.clone();var w=new Hn(c.__wrapped__,c.__chain__);return w.__actions__=hn(c.__actions__),w.__index__=c.__index__,w.__values__=c.__values__,w}function MN(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=Lt($e(w),0);var oA=c==null?0:c.length;if(!oA||w<1)return[];for(var pA=0,fA=0,_A=KA(el(oA/w));pA<oA;)_A[fA++]=Tn(c,pA,pA+=w);return _A}function xN(c){for(var w=-1,Y=c==null?0:c.length,oA=0,pA=[];++w<Y;){var fA=c[w];fA&&(pA[oA++]=fA)}return pA}function SN(){var c=arguments.length;if(!c)return[];for(var w=KA(c-1),Y=arguments[0],oA=c;oA--;)w[oA-1]=arguments[oA];return Jn(Te(Y)?hn(Y):[Y],Yt(w,1))}var NN=Ze(function(c,w){return Dt(c)?ca(c,Yt(w,1,Dt,!0)):[]}),FN=Ze(function(c,w){var Y=Un(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),Ne(Y,2)):[]}),RN=Ze(function(c,w){var Y=Un(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),t,Y):[]});function LN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),Tn(c,w<0?0:w,oA)):[]}function GN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Tn(c,0,w<0?0:w)):[]}function PN(c,w){return c&&c.length?gl(c,Ne(w,3),!0,!0):[]}function HN(c,w){return c&&c.length?gl(c,Ne(w,3),!0):[]}function KN(c,w,Y,oA){var pA=c==null?0:c.length;return pA?(Y&&typeof Y!="number"&&an(c,w,Y)&&(Y=0,oA=pA),S4(c,w,Y,oA)):[]}function PB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),er(c,Ne(w,3),pA)}function HB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA-1;return Y!==t&&(pA=$e(Y),pA=Y<0?Lt(oA+pA,0):$t(pA,oA-1)),er(c,Ne(w,3),pA,!0)}function KB(c){var w=c==null?0:c.length;return w?Yt(c,1):[]}function TN(c){var w=c==null?0:c.length;return w?Yt(c,M):[]}function UN(c,w){var Y=c==null?0:c.length;return Y?(w=w===t?1:$e(w),Yt(c,w)):[]}function YN(c){for(var w=-1,Y=c==null?0:c.length,oA={};++w<Y;){var pA=c[w];oA[pA[0]]=pA[1]}return oA}function TB(c){return c&&c.length?c[0]:t}function ON(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),Ui(c,w,pA)}function $N(c){var w=c==null?0:c.length;return w?Tn(c,0,-1):[]}var zN=Ze(function(c){var w=pt(c,$g);return w.length&&w[0]===c[0]?Rg(w):[]}),JN=Ze(function(c){var w=Un(c),Y=pt(c,$g);return w===Un(Y)?w=t:Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,Ne(w,2)):[]}),ZN=Ze(function(c){var w=Un(c),Y=pt(c,$g);return w=typeof w=="function"?w:t,w&&Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,t,w):[]});function WN(c,w){return c==null?"":$S.call(c,w)}function Un(c){var w=c==null?0:c.length;return w?c[w-1]:t}function jN(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA;return Y!==t&&(pA=$e(Y),pA=pA<0?Lt(oA+pA,0):$t(pA,oA-1)),w===w?yA(c,w,pA):er(c,Ys,pA,!0)}function qN(c,w){return c&&c.length?XC(c,$e(w)):t}var XN=Ze(UB);function UB(c,w){return c&&c.length&&w&&w.length?Hg(c,w):c}function VN(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,Ne(Y,2)):c}function AF(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,t,Y):c}var eF=ki(function(c,w){var Y=c==null?0:c.length,oA=xg(c,w);return eB(c,pt(w,function(pA){return _i(pA,Y)?+pA:pA}).sort(gB)),oA});function tF(c,w){var Y=[];if(!(c&&c.length))return Y;var oA=-1,pA=[],fA=c.length;for(w=Ne(w,3);++oA<fA;){var _A=c[oA];w(_A,oA,c)&&(Y.push(_A),pA.push(oA))}return eB(c,pA),Y}function od(c){return c==null?c:WS.call(c)}function nF(c,w,Y){var oA=c==null?0:c.length;return oA?(Y&&typeof Y!="number"&&an(c,w,Y)?(w=0,Y=oA):(w=w==null?0:$e(w),Y=Y===t?oA:$e(Y)),Tn(c,w,Y)):[]}function iF(c,w){return cl(c,w)}function oF(c,w,Y){return Ug(c,w,Ne(Y,2))}function rF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w);if(oA<Y&&jn(c[oA],w))return oA}return-1}function aF(c,w){return cl(c,w,!0)}function sF(c,w,Y){return Ug(c,w,Ne(Y,2),!0)}function lF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w,!0)-1;if(jn(c[oA],w))return oA}return-1}function cF(c){return c&&c.length?nB(c):[]}function gF(c,w){return c&&c.length?nB(c,Ne(w,2)):[]}function dF(c){var w=c==null?0:c.length;return w?Tn(c,1,w):[]}function uF(c,w,Y){return c&&c.length?(w=Y||w===t?1:$e(w),Tn(c,0,w<0?0:w)):[]}function hF(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Tn(c,w<0?0:w,oA)):[]}function pF(c,w){return c&&c.length?gl(c,Ne(w,3),!1,!0):[]}function CF(c,w){return c&&c.length?gl(c,Ne(w,3)):[]}var BF=Ze(function(c){return zi(Yt(c,1,Dt,!0))}),mF=Ze(function(c){var w=Un(c);return Dt(w)&&(w=t),zi(Yt(c,1,Dt,!0),Ne(w,2))}),EF=Ze(function(c){var w=Un(c);return w=typeof w=="function"?w:t,zi(Yt(c,1,Dt,!0),t,w)});function QF(c){return c&&c.length?zi(c):[]}function fF(c,w){return c&&c.length?zi(c,Ne(w,2)):[]}function IF(c,w){return w=typeof w=="function"?w:t,c&&c.length?zi(c,t,w):[]}function rd(c){if(!(c&&c.length))return[];var w=0;return c=Dn(c,function(Y){if(Dt(Y))return w=Lt(Y.length,w),!0}),wi(w,function(Y){return pt(c,ea(Y))})}function YB(c,w){if(!(c&&c.length))return[];var Y=rd(c);return w==null?Y:pt(Y,function(oA){return nn(w,t,oA)})}var wF=Ze(function(c,w){return Dt(c)?ca(c,w):[]}),bF=Ze(function(c){return Og(Dn(c,Dt))}),yF=Ze(function(c){var w=Un(c);return Dt(w)&&(w=t),Og(Dn(c,Dt),Ne(w,2))}),DF=Ze(function(c){var w=Un(c);return w=typeof w=="function"?w:t,Og(Dn(c,Dt),t,w)}),vF=Ze(rd);function kF(c,w){return aB(c||[],w||[],la)}function _F(c,w){return aB(c||[],w||[],ua)}var MF=Ze(function(c){var w=c.length,Y=w>1?c[w-1]:t;return Y=typeof Y=="function"?(c.pop(),Y):t,YB(c,Y)});function OB(c){var w=EA(c);return w.__chain__=!0,w}function xF(c,w){return w(c),c}function Ql(c,w){return w(c)}var SF=ki(function(c){var w=c.length,Y=w?c[0]:0,oA=this.__wrapped__,pA=function(fA){return xg(fA,c)};return w>1||this.__actions__.length||!(oA instanceof Xe)||!_i(Y)?this.thru(pA):(oA=oA.slice(Y,+Y+(w?1:0)),oA.__actions__.push({func:Ql,args:[pA],thisArg:t}),new Hn(oA,this.__chain__).thru(function(fA){return w&&!fA.length&&fA.push(t),fA}))});function NF(){return OB(this)}function FF(){return new Hn(this.value(),this.__chain__)}function RF(){this.__values__===t&&(this.__values__=im(this.value()));var c=this.__index__>=this.__values__.length,w=c?t:this.__values__[this.__index__++];return{done:c,value:w}}function LF(){return this}function GF(c){for(var w,Y=this;Y instanceof ol;){var oA=GB(Y);oA.__index__=0,oA.__values__=t,w?pA.__wrapped__=oA:w=oA;var pA=oA;Y=Y.__wrapped__}return pA.__wrapped__=c,w}function PF(){var c=this.__wrapped__;if(c instanceof Xe){var w=c;return this.__actions__.length&&(w=new Xe(this)),w=w.reverse(),w.__actions__.push({func:Ql,args:[od],thisArg:t}),new Hn(w,this.__chain__)}return this.thru(od)}function HF(){return rB(this.__wrapped__,this.__actions__)}var KF=dl(function(c,w,Y){lt.call(c,Y)?++c[Y]:Di(c,Y,1)});function TF(c,w,Y){var oA=Te(c)?Vr:x4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}function UF(c,w){var Y=Te(c)?Dn:YC;return Y(c,Ne(w,3))}var YF=BB(PB),OF=BB(HB);function $F(c,w){return Yt(fl(c,w),1)}function zF(c,w){return Yt(fl(c,w),M)}function JF(c,w,Y){return Y=Y===t?1:$e(Y),Yt(fl(c,w),Y)}function $B(c,w){var Y=Te(c)?un:$i;return Y(c,Ne(w,3))}function zB(c,w){var Y=Te(c)?Bg:UC;return Y(c,Ne(w,3))}var ZF=dl(function(c,w,Y){lt.call(c,Y)?c[Y].push(w):Di(c,Y,[w])});function WF(c,w,Y,oA){c=pn(c)?c:gr(c),Y=Y&&!oA?$e(Y):0;var pA=c.length;return Y<0&&(Y=Lt(pA+Y,0)),Dl(c)?Y<=pA&&c.indexOf(w,Y)>-1:!!pA&&Ui(c,w,Y)>-1}var jF=Ze(function(c,w,Y){var oA=-1,pA=typeof w=="function",fA=pn(c)?KA(c.length):[];return $i(c,function(_A){fA[++oA]=pA?nn(w,_A,Y):ga(_A,w,Y)}),fA}),qF=dl(function(c,w,Y){Di(c,Y,w)});function fl(c,w){var Y=Te(c)?pt:WC;return Y(c,Ne(w,3))}function XF(c,w,Y,oA){return c==null?[]:(Te(w)||(w=w==null?[]:[w]),Y=oA?t:Y,Te(Y)||(Y=Y==null?[]:[Y]),VC(c,w,Y))}var VF=dl(function(c,w,Y){c[Y?0:1].push(w)},function(){return[[],[]]});function AR(c,w,Y){var oA=Te(c)?Ar:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,$i)}function eR(c,w,Y){var oA=Te(c)?Ts:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,UC)}function tR(c,w){var Y=Te(c)?Dn:YC;return Y(c,bl(Ne(w,3)))}function nR(c){var w=Te(c)?PC:W4;return w(c)}function iR(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=$e(w);var oA=Te(c)?D4:j4;return oA(c,w)}function oR(c){var w=Te(c)?v4:X4;return w(c)}function rR(c){if(c==null)return 0;if(pn(c))return Dl(c)?RA(c):c.length;var w=zt(c);return w==gA||w==W?c.size:Gg(c).length}function aR(c,w,Y){var oA=Te(c)?Ii:V4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}var sR=Ze(function(c,w){if(c==null)return[];var Y=w.length;return Y>1&&an(c,w[0],w[1])?w=[]:Y>2&&an(w[0],w[1],w[2])&&(w=[w[0]]),VC(c,Yt(w,1),[])}),Il=US||function(){return Rt.Date.now()};function lR(c,w){if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){if(--c<1)return w.apply(this,arguments)}}function JB(c,w,Y){return w=Y?t:w,w=c&&w==null?c.length:w,vi(c,u,t,t,t,t,w)}function ZB(c,w){var Y;if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){return--c>0&&(Y=w.apply(this,arguments)),c<=1&&(w=t),Y}}var ad=Ze(function(c,w,Y){var oA=v;if(Y.length){var pA=sA(Y,lr(ad));oA|=B}return vi(c,oA,w,Y,pA)}),WB=Ze(function(c,w,Y){var oA=v|m;if(Y.length){var pA=sA(Y,lr(WB));oA|=B}return vi(w,oA,c,Y,pA)});function jB(c,w,Y){w=Y?t:w;var oA=vi(c,k,t,t,t,t,t,w);return oA.placeholder=jB.placeholder,oA}function qB(c,w,Y){w=Y?t:w;var oA=vi(c,_,t,t,t,t,t,w);return oA.placeholder=qB.placeholder,oA}function XB(c,w,Y){var oA,pA,fA,_A,GA,YA,te=0,ne=!1,ce=!1,we=!0;if(typeof c!="function")throw new Ut(o);w=Yn(w)||0,It(Y)&&(ne=!!Y.leading,ce="maxWait"in Y,fA=ce?Lt(Yn(Y.maxWait)||0,w):fA,we="trailing"in Y?!!Y.trailing:we);function _e(vt){var qn=oA,Si=pA;return oA=pA=t,te=vt,_A=c.apply(Si,qn),_A}function Fe(vt){return te=vt,GA=Ca(We,w),ne?_e(vt):_A}function Je(vt){var qn=vt-YA,Si=vt-te,Bm=w-qn;return ce?$t(Bm,fA-Si):Bm}function Re(vt){var qn=vt-YA,Si=vt-te;return YA===t||qn>=w||qn<0||ce&&Si>=fA}function We(){var vt=Il();if(Re(vt))return Ve(vt);GA=Ca(We,Je(vt))}function Ve(vt){return GA=t,we&&oA?_e(vt):(oA=pA=t,_A)}function _n(){GA!==t&&sB(GA),te=0,oA=YA=pA=GA=t}function sn(){return GA===t?_A:Ve(Il())}function Mn(){var vt=Il(),qn=Re(vt);if(oA=arguments,pA=this,YA=vt,qn){if(GA===t)return Fe(YA);if(ce)return sB(GA),GA=Ca(We,w),_e(YA)}return GA===t&&(GA=Ca(We,w)),_A}return Mn.cancel=_n,Mn.flush=sn,Mn}var cR=Ze(function(c,w){return TC(c,1,w)}),gR=Ze(function(c,w,Y){return TC(c,Yn(w)||0,Y)});function dR(c){return vi(c,g)}function wl(c,w){if(typeof c!="function"||w!=null&&typeof w!="function")throw new Ut(o);var Y=function(){var oA=arguments,pA=w?w.apply(this,oA):oA[0],fA=Y.cache;if(fA.has(pA))return fA.get(pA);var _A=c.apply(this,oA);return Y.cache=fA.set(pA,_A)||fA,_A};return Y.cache=new(wl.Cache||yi),Y}wl.Cache=yi;function bl(c){if(typeof c!="function")throw new Ut(o);return function(){var w=arguments;switch(w.length){case 0:return!c.call(this);case 1:return!c.call(this,w[0]);case 2:return!c.call(this,w[0],w[1]);case 3:return!c.call(this,w[0],w[1],w[2])}return!c.apply(this,w)}}function uR(c){return ZB(2,c)}var hR=AN(function(c,w){w=w.length==1&&Te(w[0])?pt(w[0],Tt(Ne())):pt(Yt(w,1),Tt(Ne()));var Y=w.length;return Ze(function(oA){for(var pA=-1,fA=$t(oA.length,Y);++pA<fA;)oA[pA]=w[pA].call(this,oA[pA]);return nn(c,this,oA)})}),sd=Ze(function(c,w){var Y=sA(w,lr(sd));return vi(c,B,t,w,Y)}),VB=Ze(function(c,w){var Y=sA(w,lr(VB));return vi(c,p,t,w,Y)}),pR=ki(function(c,w){return vi(c,l,t,t,t,w)});function CR(c,w){if(typeof c!="function")throw new Ut(o);return w=w===t?w:$e(w),Ze(c,w)}function BR(c,w){if(typeof c!="function")throw new Ut(o);return w=w==null?0:Lt($e(w),0),Ze(function(Y){var oA=Y[w],pA=Zi(Y,0,w);return oA&&Jn(pA,oA),nn(c,this,pA)})}function mR(c,w,Y){var oA=!0,pA=!0;if(typeof c!="function")throw new Ut(o);return It(Y)&&(oA="leading"in Y?!!Y.leading:oA,pA="trailing"in Y?!!Y.trailing:pA),XB(c,w,{leading:oA,maxWait:w,trailing:pA})}function ER(c){return JB(c,1)}function QR(c,w){return sd(zg(w),c)}function fR(){if(!arguments.length)return[];var c=arguments[0];return Te(c)?c:[c]}function IR(c){return Kn(c,O)}function wR(c,w){return w=typeof w=="function"?w:t,Kn(c,O,w)}function bR(c){return Kn(c,N|O)}function yR(c,w){return w=typeof w=="function"?w:t,Kn(c,N|O,w)}function DR(c,w){return w==null||KC(c,w,Ht(w))}function jn(c,w){return c===w||c!==c&&w!==w}var vR=Cl(Fg),kR=Cl(function(c,w){return c>=w}),Do=zC(function(){return arguments}())?zC:function(c){return yt(c)&<.call(c,"callee")&&!SC.call(c,"callee")},Te=KA.isArray,_R=Xr?Tt(Xr):G4;function pn(c){return c!=null&&yl(c.length)&&!Mi(c)}function Dt(c){return yt(c)&&pn(c)}function MR(c){return c===!0||c===!1||yt(c)&&rn(c)==G}var Wi=OS||Ed,xR=Pt?Tt(Pt):P4;function SR(c){return yt(c)&&c.nodeType===1&&!Ba(c)}function NR(c){if(c==null)return!0;if(pn(c)&&(Te(c)||typeof c=="string"||typeof c.splice=="function"||Wi(c)||cr(c)||Do(c)))return!c.length;var w=zt(c);if(w==gA||w==W)return!c.size;if(pa(c))return!Gg(c).length;for(var Y in c)if(lt.call(c,Y))return!1;return!0}function FR(c,w){return da(c,w)}function RR(c,w,Y){Y=typeof Y=="function"?Y:t;var oA=Y?Y(c,w):t;return oA===t?da(c,w,t,Y):!!oA}function ld(c){if(!yt(c))return!1;var w=rn(c);return w==iA||w==rA||typeof c.message=="string"&&typeof c.name=="string"&&!Ba(c)}function LR(c){return typeof c=="number"&&FC(c)}function Mi(c){if(!It(c))return!1;var w=rn(c);return w==uA||w==mA||w==j||w==hA}function Am(c){return typeof c=="number"&&c==$e(c)}function yl(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=x}function It(c){var w=typeof c;return c!=null&&(w=="object"||w=="function")}function yt(c){return c!=null&&typeof c=="object"}var em=Gs?Tt(Gs):K4;function GR(c,w){return c===w||Lg(c,w,Vg(w))}function PR(c,w,Y){return Y=typeof Y=="function"?Y:t,Lg(c,w,Vg(w),Y)}function HR(c){return tm(c)&&c!=+c}function KR(c){if(wN(c))throw new Be(f);return JC(c)}function TR(c){return c===null}function UR(c){return c==null}function tm(c){return typeof c=="number"||yt(c)&&rn(c)==wA}function Ba(c){if(!yt(c)||rn(c)!=lA)return!1;var w=Xs(c);if(w===null)return!0;var Y=lt.call(w,"constructor")&&w.constructor;return typeof Y=="function"&&Y instanceof Y&&Zs.call(Y)==PS}var cd=Ps?Tt(Ps):T4;function YR(c){return Am(c)&&c>=-x&&c<=x}var nm=Hs?Tt(Hs):U4;function Dl(c){return typeof c=="string"||!Te(c)&&yt(c)&&rn(c)==tA}function kn(c){return typeof c=="symbol"||yt(c)&&rn(c)==aA}var cr=Ks?Tt(Ks):Y4;function OR(c){return c===t}function $R(c){return yt(c)&&zt(c)==xA}function zR(c){return yt(c)&&rn(c)==zA}var JR=Cl(Pg),ZR=Cl(function(c,w){return c<=w});function im(c){if(!c)return[];if(pn(c))return Dl(c)?DA(c):hn(c);if(ia&&c[ia])return R(c[ia]());var w=zt(c),Y=w==gA?Z:w==W?dA:gr;return Y(c)}function xi(c){if(!c)return c===0?c:0;if(c=Yn(c),c===M||c===-M){var w=c<0?-1:1;return w*K}return c===c?c:0}function $e(c){var w=xi(c),Y=w%1;return w===w?Y?w-Y:w:0}function om(c){return c?Io($e(c),0,AA):0}function Yn(c){if(typeof c=="number")return c;if(kn(c))return z;if(It(c)){var w=typeof c.valueOf=="function"?c.valueOf():c;c=It(w)?w+"":w}if(typeof c!="string")return c===0?c:+c;c=ta(c);var Y=Ct.test(c);return Y||At.test(c)?Rs(c.slice(2),Y?2:8):qe.test(c)?z:+c}function rm(c){return gi(c,Cn(c))}function WR(c){return c?Io($e(c),-x,x):c===0?c:0}function st(c){return c==null?"":vn(c)}var jR=ar(function(c,w){if(pa(w)||pn(w)){gi(w,Ht(w),c);return}for(var Y in w)lt.call(w,Y)&&la(c,Y,w[Y])}),am=ar(function(c,w){gi(w,Cn(w),c)}),vl=ar(function(c,w,Y,oA){gi(w,Cn(w),c,oA)}),qR=ar(function(c,w,Y,oA){gi(w,Ht(w),c,oA)}),XR=ki(xg);function VR(c,w){var Y=rr(c);return w==null?Y:HC(Y,w)}var AL=Ze(function(c,w){c=Oe(c);var Y=-1,oA=w.length,pA=oA>2?w[2]:t;for(pA&&an(w[0],w[1],pA)&&(oA=1);++Y<oA;)for(var fA=w[Y],_A=Cn(fA),GA=-1,YA=_A.length;++GA<YA;){var te=_A[GA],ne=c[te];(ne===t||jn(ne,nr[te])&&!lt.call(c,te))&&(c[te]=fA[te])}return c}),eL=Ze(function(c){return c.push(t,bB),nn(sm,t,c)});function tL(c,w){return Us(c,Ne(w,3),ci)}function nL(c,w){return Us(c,Ne(w,3),Ng)}function iL(c,w){return c==null?c:Sg(c,Ne(w,3),Cn)}function oL(c,w){return c==null?c:OC(c,Ne(w,3),Cn)}function rL(c,w){return c&&ci(c,Ne(w,3))}function aL(c,w){return c&&Ng(c,Ne(w,3))}function sL(c){return c==null?[]:sl(c,Ht(c))}function lL(c){return c==null?[]:sl(c,Cn(c))}function gd(c,w,Y){var oA=c==null?t:wo(c,w);return oA===t?Y:oA}function cL(c,w){return c!=null&&vB(c,w,N4)}function dd(c,w){return c!=null&&vB(c,w,F4)}var gL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),c[w]=Y},hd(Bn)),dL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),lt.call(c,w)?c[w].push(Y):c[w]=[Y]},Ne),uL=Ze(ga);function Ht(c){return pn(c)?GC(c):Gg(c)}function Cn(c){return pn(c)?GC(c,!0):O4(c)}function hL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,w(oA,pA,fA),oA)}),Y}function pL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,pA,w(oA,pA,fA))}),Y}var CL=ar(function(c,w,Y){ll(c,w,Y)}),sm=ar(function(c,w,Y,oA){ll(c,w,Y,oA)}),BL=ki(function(c,w){var Y={};if(c==null)return Y;var oA=!1;w=pt(w,function(fA){return fA=Ji(fA,c),oA||(oA=fA.length>1),fA}),gi(c,qg(c),Y),oA&&(Y=Kn(Y,N|T|O,gN));for(var pA=w.length;pA--;)Yg(Y,w[pA]);return Y});function mL(c,w){return lm(c,bl(Ne(w)))}var EL=ki(function(c,w){return c==null?{}:z4(c,w)});function lm(c,w){if(c==null)return{};var Y=pt(qg(c),function(oA){return[oA]});return w=Ne(w),AB(c,Y,function(oA,pA){return w(oA,pA[0])})}function QL(c,w,Y){w=Ji(w,c);var oA=-1,pA=w.length;for(pA||(pA=1,c=t);++oA<pA;){var fA=c==null?t:c[di(w[oA])];fA===t&&(oA=pA,fA=Y),c=Mi(fA)?fA.call(c):fA}return c}function fL(c,w,Y){return c==null?c:ua(c,w,Y)}function IL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:ua(c,w,Y,oA)}var cm=IB(Ht),gm=IB(Cn);function wL(c,w,Y){var oA=Te(c),pA=oA||Wi(c)||cr(c);if(w=Ne(w,4),Y==null){var fA=c&&c.constructor;pA?Y=oA?new fA:[]:It(c)?Y=Mi(fA)?rr(Xs(c)):{}:Y={}}return(pA?un:ci)(c,function(_A,GA,YA){return w(Y,_A,GA,YA)}),Y}function bL(c,w){return c==null?!0:Yg(c,w)}function yL(c,w,Y){return c==null?c:oB(c,w,zg(Y))}function DL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:oB(c,w,zg(Y),oA)}function gr(c){return c==null?[]:na(c,Ht(c))}function vL(c){return c==null?[]:na(c,Cn(c))}function kL(c,w,Y){return Y===t&&(Y=w,w=t),Y!==t&&(Y=Yn(Y),Y=Y===Y?Y:0),w!==t&&(w=Yn(w),w=w===w?w:0),Io(Yn(c),w,Y)}function _L(c,w,Y){return w=xi(w),Y===t?(Y=w,w=0):Y=xi(Y),c=Yn(c),R4(c,w,Y)}function ML(c,w,Y){if(Y&&typeof Y!="boolean"&&an(c,w,Y)&&(w=Y=t),Y===t&&(typeof w=="boolean"?(Y=w,w=t):typeof c=="boolean"&&(Y=c,c=t)),c===t&&w===t?(c=0,w=1):(c=xi(c),w===t?(w=c,c=0):w=xi(w)),c>w){var oA=c;c=w,w=oA}if(Y||c%1||w%1){var pA=RC();return $t(c+pA*(w-c+Fs("1e-"+((pA+"").length-1))),w)}return Kg(c,w)}var xL=sr(function(c,w,Y){return w=w.toLowerCase(),c+(Y?dm(w):w)});function dm(c){return ud(st(c).toLowerCase())}function um(c){return c=st(c),c&&c.replace(Pe,wg).replace(Ms,"")}function SL(c,w,Y){c=st(c),w=vn(w);var oA=c.length;Y=Y===t?oA:Io($e(Y),0,oA);var pA=Y;return Y-=w.length,Y>=0&&c.slice(Y,pA)==w}function NL(c){return c=st(c),c&&ke.test(c)?c.replace(ae,bg):c}function FL(c){return c=st(c),c&&Se.test(c)?c.replace(ue,"\\$&"):c}var RL=sr(function(c,w,Y){return c+(Y?"-":"")+w.toLowerCase()}),LL=sr(function(c,w,Y){return c+(Y?" ":"")+w.toLowerCase()}),GL=CB("toLowerCase");function PL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;if(!w||oA>=w)return c;var pA=(w-oA)/2;return pl(tl(pA),Y)+c+pl(el(pA),Y)}function HL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?c+pl(w-oA,Y):c}function KL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?pl(w-oA,Y)+c:c}function TL(c,w,Y){return Y||w==null?w=0:w&&(w=+w),ZS(st(c).replace(tt,""),w||0)}function UL(c,w,Y){return(Y?an(c,w,Y):w===t)?w=1:w=$e(w),Tg(st(c),w)}function YL(){var c=arguments,w=st(c[0]);return c.length<3?w:w.replace(c[1],c[2])}var OL=sr(function(c,w,Y){return c+(Y?"_":"")+w.toLowerCase()});function $L(c,w,Y){return Y&&typeof Y!="number"&&an(c,w,Y)&&(w=Y=t),Y=Y===t?AA:Y>>>0,Y?(c=st(c),c&&(typeof w=="string"||w!=null&&!cd(w))&&(w=vn(w),!w&&Yi(c))?Zi(DA(c),0,Y):c.split(w,Y)):[]}var zL=sr(function(c,w,Y){return c+(Y?" ":"")+ud(w)});function JL(c,w,Y){return c=st(c),Y=Y==null?0:Io($e(Y),0,c.length),w=vn(w),c.slice(Y,Y+w.length)==w}function ZL(c,w,Y){var oA=EA.templateSettings;Y&&an(c,w,Y)&&(w=t),c=st(c),w=vl({},w,oA,wB);var pA=vl({},w.imports,oA.imports,wB),fA=Ht(pA),_A=na(pA,fA),GA,YA,te=0,ne=w.interpolate||ot,ce="__p += '",we=on((w.escape||ot).source+"|"+ne.source+"|"+(ne===TA?ie:ot).source+"|"+(w.evaluate||ot).source+"|$","g"),_e="//# sourceURL="+(lt.call(w,"sourceURL")?(w.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++po+"]")+`
|
|
10
|
+
`)}function BN(c){return Te(c)||Do(c)||!!(NC&&c&&c[NC])}function _i(c,w){var Y=typeof c;return w=w??x,!!w&&(Y=="number"||Y!="symbol"&&dt.test(c))&&c>-1&&c%1==0&&c<w}function an(c,w,Y){if(!It(Y))return!1;var oA=typeof w;return(oA=="number"?pn(Y)&&_i(w,Y.length):oA=="string"&&w in Y)?qn(Y[w],c):!1}function ed(c,w){if(Te(c))return!1;var Y=typeof c;return Y=="number"||Y=="symbol"||Y=="boolean"||c==null||kn(c)?!0:be.test(c)||!re.test(c)||w!=null&&c in Oe(w)}function mN(c){var w=typeof c;return w=="string"||w=="number"||w=="symbol"||w=="boolean"?c!=="__proto__":c===null}function td(c){var w=Bl(c),Y=EA[w];if(typeof Y!="function"||!(w in Xe.prototype))return!1;if(c===Y)return!0;var oA=Xg(Y);return!!oA&&c===oA[0]}function EN(c){return!!_C&&_C in c}var QN=Js?Mi:Ed;function pa(c){var w=c&&c.constructor,Y=typeof w=="function"&&w.prototype||nr;return c===Y}function _B(c){return c===c&&!It(c)}function MB(c,w){return function(Y){return Y==null?!1:Y[c]===w&&(w!==t||c in Oe(Y))}}function fN(c){var w=wl(c,function(oA){return Y.size===I&&Y.clear(),oA}),Y=w.cache;return w}function IN(c,w){var Y=c[1],oA=w[1],pA=Y|oA,fA=pA<(v|m|u),_A=oA==u&&Y==k||oA==u&&Y==l&&c[7].length<=w[8]||oA==(u|l)&&w[7].length<=w[8]&&Y==k;if(!(fA||_A))return c;oA&v&&(c[2]=w[2],pA|=Y&v?0:F);var GA=w[3];if(GA){var YA=c[3];c[3]=YA?dB(YA,GA,w[4]):GA,c[4]=YA?sA(c[3],S):w[4]}return GA=w[5],GA&&(YA=c[5],c[5]=YA?uB(YA,GA,w[6]):GA,c[6]=YA?sA(c[5],S):w[6]),GA=w[7],GA&&(c[7]=GA),oA&u&&(c[8]=c[8]==null?w[8]:$t(c[8],w[8])),c[9]==null&&(c[9]=w[9]),c[0]=w[0],c[1]=pA,c}function wN(c){var w=[];if(c!=null)for(var Y in Oe(c))w.push(Y);return w}function bN(c){return Ws.call(c)}function xB(c,w,Y){return w=Lt(w===t?c.length-1:w,0),function(){for(var oA=arguments,pA=-1,fA=Lt(oA.length-w,0),_A=KA(fA);++pA<fA;)_A[pA]=oA[w+pA];pA=-1;for(var GA=KA(w+1);++pA<w;)GA[pA]=oA[pA];return GA[w]=Y(_A),nn(c,this,GA)}}function SB(c,w){return w.length<2?c:wo(c,Un(w,0,-1))}function yN(c,w){for(var Y=c.length,oA=$t(w.length,Y),pA=hn(c);oA--;){var fA=w[oA];c[oA]=_i(fA,Y)?pA[fA]:t}return c}function nd(c,w){if(!(w==="constructor"&&typeof c[w]=="function")&&w!="__proto__")return c[w]}var NB=RB(tB),Ca=KS||function(c,w){return Rt.setTimeout(c,w)},id=RB(Z4);function FB(c,w,Y){var oA=w+"";return id(c,CN(oA,DN(uN(oA),Y)))}function RB(c){var w=0,Y=0;return function(){var oA=OS(),pA=a-(oA-Y);if(Y=oA,pA>0){if(++w>=C)return arguments[0]}else w=0;return c.apply(t,arguments)}}function El(c,w){var Y=-1,oA=c.length,pA=oA-1;for(w=w===t?oA:w;++Y<w;){var fA=Kg(Y,pA),_A=c[fA];c[fA]=c[Y],c[Y]=_A}return c.length=w,c}var LB=fN(function(c){var w=[];return c.charCodeAt(0)===46&&w.push(""),c.replace(se,function(Y,oA,pA,fA){w.push(pA?fA.replace(Ie,"$1"):oA||Y)}),w});function di(c){if(typeof c=="string"||kn(c))return c;var w=c+"";return w=="0"&&1/c==-M?"-0":w}function yo(c){if(c!=null){try{return Zs.call(c)}catch{}try{return c+""}catch{}}return""}function DN(c,w){return un($,function(Y){var oA="_."+Y[0];w&Y[1]&&!Hn(c,oA)&&c.push(oA)}),c.sort()}function GB(c){if(c instanceof Xe)return c.clone();var w=new Kn(c.__wrapped__,c.__chain__);return w.__actions__=hn(c.__actions__),w.__index__=c.__index__,w.__values__=c.__values__,w}function vN(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=Lt($e(w),0);var oA=c==null?0:c.length;if(!oA||w<1)return[];for(var pA=0,fA=0,_A=KA(el(oA/w));pA<oA;)_A[fA++]=Un(c,pA,pA+=w);return _A}function kN(c){for(var w=-1,Y=c==null?0:c.length,oA=0,pA=[];++w<Y;){var fA=c[w];fA&&(pA[oA++]=fA)}return pA}function _N(){var c=arguments.length;if(!c)return[];for(var w=KA(c-1),Y=arguments[0],oA=c;oA--;)w[oA-1]=arguments[oA];return Zn(Te(Y)?hn(Y):[Y],Yt(w,1))}var MN=Ze(function(c,w){return Dt(c)?ca(c,Yt(w,1,Dt,!0)):[]}),xN=Ze(function(c,w){var Y=Yn(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),Ne(Y,2)):[]}),SN=Ze(function(c,w){var Y=Yn(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),t,Y):[]});function NN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),Un(c,w<0?0:w,oA)):[]}function FN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Un(c,0,w<0?0:w)):[]}function RN(c,w){return c&&c.length?gl(c,Ne(w,3),!0,!0):[]}function LN(c,w){return c&&c.length?gl(c,Ne(w,3),!0):[]}function GN(c,w,Y,oA){var pA=c==null?0:c.length;return pA?(Y&&typeof Y!="number"&&an(c,w,Y)&&(Y=0,oA=pA),_4(c,w,Y,oA)):[]}function PB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),er(c,Ne(w,3),pA)}function HB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA-1;return Y!==t&&(pA=$e(Y),pA=Y<0?Lt(oA+pA,0):$t(pA,oA-1)),er(c,Ne(w,3),pA,!0)}function KB(c){var w=c==null?0:c.length;return w?Yt(c,1):[]}function PN(c){var w=c==null?0:c.length;return w?Yt(c,M):[]}function HN(c,w){var Y=c==null?0:c.length;return Y?(w=w===t?1:$e(w),Yt(c,w)):[]}function KN(c){for(var w=-1,Y=c==null?0:c.length,oA={};++w<Y;){var pA=c[w];oA[pA[0]]=pA[1]}return oA}function TB(c){return c&&c.length?c[0]:t}function TN(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),Ui(c,w,pA)}function UN(c){var w=c==null?0:c.length;return w?Un(c,0,-1):[]}var YN=Ze(function(c){var w=pt(c,$g);return w.length&&w[0]===c[0]?Rg(w):[]}),ON=Ze(function(c){var w=Yn(c),Y=pt(c,$g);return w===Yn(Y)?w=t:Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,Ne(w,2)):[]}),$N=Ze(function(c){var w=Yn(c),Y=pt(c,$g);return w=typeof w=="function"?w:t,w&&Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,t,w):[]});function zN(c,w){return c==null?"":US.call(c,w)}function Yn(c){var w=c==null?0:c.length;return w?c[w-1]:t}function JN(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA;return Y!==t&&(pA=$e(Y),pA=pA<0?Lt(oA+pA,0):$t(pA,oA-1)),w===w?yA(c,w,pA):er(c,Ys,pA,!0)}function ZN(c,w){return c&&c.length?XC(c,$e(w)):t}var WN=Ze(UB);function UB(c,w){return c&&c.length&&w&&w.length?Hg(c,w):c}function jN(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,Ne(Y,2)):c}function qN(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,t,Y):c}var XN=ki(function(c,w){var Y=c==null?0:c.length,oA=xg(c,w);return eB(c,pt(w,function(pA){return _i(pA,Y)?+pA:pA}).sort(gB)),oA});function VN(c,w){var Y=[];if(!(c&&c.length))return Y;var oA=-1,pA=[],fA=c.length;for(w=Ne(w,3);++oA<fA;){var _A=c[oA];w(_A,oA,c)&&(Y.push(_A),pA.push(oA))}return eB(c,pA),Y}function od(c){return c==null?c:zS.call(c)}function AF(c,w,Y){var oA=c==null?0:c.length;return oA?(Y&&typeof Y!="number"&&an(c,w,Y)?(w=0,Y=oA):(w=w==null?0:$e(w),Y=Y===t?oA:$e(Y)),Un(c,w,Y)):[]}function eF(c,w){return cl(c,w)}function tF(c,w,Y){return Ug(c,w,Ne(Y,2))}function nF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w);if(oA<Y&&qn(c[oA],w))return oA}return-1}function iF(c,w){return cl(c,w,!0)}function oF(c,w,Y){return Ug(c,w,Ne(Y,2),!0)}function rF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w,!0)-1;if(qn(c[oA],w))return oA}return-1}function aF(c){return c&&c.length?nB(c):[]}function sF(c,w){return c&&c.length?nB(c,Ne(w,2)):[]}function lF(c){var w=c==null?0:c.length;return w?Un(c,1,w):[]}function cF(c,w,Y){return c&&c.length?(w=Y||w===t?1:$e(w),Un(c,0,w<0?0:w)):[]}function gF(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Un(c,w<0?0:w,oA)):[]}function dF(c,w){return c&&c.length?gl(c,Ne(w,3),!1,!0):[]}function uF(c,w){return c&&c.length?gl(c,Ne(w,3)):[]}var hF=Ze(function(c){return zi(Yt(c,1,Dt,!0))}),pF=Ze(function(c){var w=Yn(c);return Dt(w)&&(w=t),zi(Yt(c,1,Dt,!0),Ne(w,2))}),CF=Ze(function(c){var w=Yn(c);return w=typeof w=="function"?w:t,zi(Yt(c,1,Dt,!0),t,w)});function BF(c){return c&&c.length?zi(c):[]}function mF(c,w){return c&&c.length?zi(c,Ne(w,2)):[]}function EF(c,w){return w=typeof w=="function"?w:t,c&&c.length?zi(c,t,w):[]}function rd(c){if(!(c&&c.length))return[];var w=0;return c=Dn(c,function(Y){if(Dt(Y))return w=Lt(Y.length,w),!0}),wi(w,function(Y){return pt(c,ea(Y))})}function YB(c,w){if(!(c&&c.length))return[];var Y=rd(c);return w==null?Y:pt(Y,function(oA){return nn(w,t,oA)})}var QF=Ze(function(c,w){return Dt(c)?ca(c,w):[]}),fF=Ze(function(c){return Og(Dn(c,Dt))}),IF=Ze(function(c){var w=Yn(c);return Dt(w)&&(w=t),Og(Dn(c,Dt),Ne(w,2))}),wF=Ze(function(c){var w=Yn(c);return w=typeof w=="function"?w:t,Og(Dn(c,Dt),t,w)}),bF=Ze(rd);function yF(c,w){return aB(c||[],w||[],la)}function DF(c,w){return aB(c||[],w||[],ua)}var vF=Ze(function(c){var w=c.length,Y=w>1?c[w-1]:t;return Y=typeof Y=="function"?(c.pop(),Y):t,YB(c,Y)});function OB(c){var w=EA(c);return w.__chain__=!0,w}function kF(c,w){return w(c),c}function Ql(c,w){return w(c)}var _F=ki(function(c){var w=c.length,Y=w?c[0]:0,oA=this.__wrapped__,pA=function(fA){return xg(fA,c)};return w>1||this.__actions__.length||!(oA instanceof Xe)||!_i(Y)?this.thru(pA):(oA=oA.slice(Y,+Y+(w?1:0)),oA.__actions__.push({func:Ql,args:[pA],thisArg:t}),new Kn(oA,this.__chain__).thru(function(fA){return w&&!fA.length&&fA.push(t),fA}))});function MF(){return OB(this)}function xF(){return new Kn(this.value(),this.__chain__)}function SF(){this.__values__===t&&(this.__values__=im(this.value()));var c=this.__index__>=this.__values__.length,w=c?t:this.__values__[this.__index__++];return{done:c,value:w}}function NF(){return this}function FF(c){for(var w,Y=this;Y instanceof ol;){var oA=GB(Y);oA.__index__=0,oA.__values__=t,w?pA.__wrapped__=oA:w=oA;var pA=oA;Y=Y.__wrapped__}return pA.__wrapped__=c,w}function RF(){var c=this.__wrapped__;if(c instanceof Xe){var w=c;return this.__actions__.length&&(w=new Xe(this)),w=w.reverse(),w.__actions__.push({func:Ql,args:[od],thisArg:t}),new Kn(w,this.__chain__)}return this.thru(od)}function LF(){return rB(this.__wrapped__,this.__actions__)}var GF=dl(function(c,w,Y){lt.call(c,Y)?++c[Y]:Di(c,Y,1)});function PF(c,w,Y){var oA=Te(c)?Vr:k4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}function HF(c,w){var Y=Te(c)?Dn:YC;return Y(c,Ne(w,3))}var KF=BB(PB),TF=BB(HB);function UF(c,w){return Yt(fl(c,w),1)}function YF(c,w){return Yt(fl(c,w),M)}function OF(c,w,Y){return Y=Y===t?1:$e(Y),Yt(fl(c,w),Y)}function $B(c,w){var Y=Te(c)?un:$i;return Y(c,Ne(w,3))}function zB(c,w){var Y=Te(c)?Bg:UC;return Y(c,Ne(w,3))}var $F=dl(function(c,w,Y){lt.call(c,Y)?c[Y].push(w):Di(c,Y,[w])});function zF(c,w,Y,oA){c=pn(c)?c:gr(c),Y=Y&&!oA?$e(Y):0;var pA=c.length;return Y<0&&(Y=Lt(pA+Y,0)),Dl(c)?Y<=pA&&c.indexOf(w,Y)>-1:!!pA&&Ui(c,w,Y)>-1}var JF=Ze(function(c,w,Y){var oA=-1,pA=typeof w=="function",fA=pn(c)?KA(c.length):[];return $i(c,function(_A){fA[++oA]=pA?nn(w,_A,Y):ga(_A,w,Y)}),fA}),ZF=dl(function(c,w,Y){Di(c,Y,w)});function fl(c,w){var Y=Te(c)?pt:WC;return Y(c,Ne(w,3))}function WF(c,w,Y,oA){return c==null?[]:(Te(w)||(w=w==null?[]:[w]),Y=oA?t:Y,Te(Y)||(Y=Y==null?[]:[Y]),VC(c,w,Y))}var jF=dl(function(c,w,Y){c[Y?0:1].push(w)},function(){return[[],[]]});function qF(c,w,Y){var oA=Te(c)?Ar:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,$i)}function XF(c,w,Y){var oA=Te(c)?Ts:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,UC)}function VF(c,w){var Y=Te(c)?Dn:YC;return Y(c,bl(Ne(w,3)))}function AR(c){var w=Te(c)?PC:z4;return w(c)}function eR(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=$e(w);var oA=Te(c)?w4:J4;return oA(c,w)}function tR(c){var w=Te(c)?b4:W4;return w(c)}function nR(c){if(c==null)return 0;if(pn(c))return Dl(c)?RA(c):c.length;var w=zt(c);return w==gA||w==W?c.size:Gg(c).length}function iR(c,w,Y){var oA=Te(c)?Ii:j4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}var oR=Ze(function(c,w){if(c==null)return[];var Y=w.length;return Y>1&&an(c,w[0],w[1])?w=[]:Y>2&&an(w[0],w[1],w[2])&&(w=[w[0]]),VC(c,Yt(w,1),[])}),Il=HS||function(){return Rt.Date.now()};function rR(c,w){if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){if(--c<1)return w.apply(this,arguments)}}function JB(c,w,Y){return w=Y?t:w,w=c&&w==null?c.length:w,vi(c,u,t,t,t,t,w)}function ZB(c,w){var Y;if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){return--c>0&&(Y=w.apply(this,arguments)),c<=1&&(w=t),Y}}var ad=Ze(function(c,w,Y){var oA=v;if(Y.length){var pA=sA(Y,lr(ad));oA|=B}return vi(c,oA,w,Y,pA)}),WB=Ze(function(c,w,Y){var oA=v|m;if(Y.length){var pA=sA(Y,lr(WB));oA|=B}return vi(w,oA,c,Y,pA)});function jB(c,w,Y){w=Y?t:w;var oA=vi(c,k,t,t,t,t,t,w);return oA.placeholder=jB.placeholder,oA}function qB(c,w,Y){w=Y?t:w;var oA=vi(c,_,t,t,t,t,t,w);return oA.placeholder=qB.placeholder,oA}function XB(c,w,Y){var oA,pA,fA,_A,GA,YA,te=0,ne=!1,ce=!1,we=!0;if(typeof c!="function")throw new Ut(o);w=On(w)||0,It(Y)&&(ne=!!Y.leading,ce="maxWait"in Y,fA=ce?Lt(On(Y.maxWait)||0,w):fA,we="trailing"in Y?!!Y.trailing:we);function _e(vt){var Xn=oA,Si=pA;return oA=pA=t,te=vt,_A=c.apply(Si,Xn),_A}function Fe(vt){return te=vt,GA=Ca(We,w),ne?_e(vt):_A}function Je(vt){var Xn=vt-YA,Si=vt-te,Bm=w-Xn;return ce?$t(Bm,fA-Si):Bm}function Re(vt){var Xn=vt-YA,Si=vt-te;return YA===t||Xn>=w||Xn<0||ce&&Si>=fA}function We(){var vt=Il();if(Re(vt))return Ve(vt);GA=Ca(We,Je(vt))}function Ve(vt){return GA=t,we&&oA?_e(vt):(oA=pA=t,_A)}function _n(){GA!==t&&sB(GA),te=0,oA=YA=pA=GA=t}function sn(){return GA===t?_A:Ve(Il())}function Mn(){var vt=Il(),Xn=Re(vt);if(oA=arguments,pA=this,YA=vt,Xn){if(GA===t)return Fe(YA);if(ce)return sB(GA),GA=Ca(We,w),_e(YA)}return GA===t&&(GA=Ca(We,w)),_A}return Mn.cancel=_n,Mn.flush=sn,Mn}var aR=Ze(function(c,w){return TC(c,1,w)}),sR=Ze(function(c,w,Y){return TC(c,On(w)||0,Y)});function lR(c){return vi(c,g)}function wl(c,w){if(typeof c!="function"||w!=null&&typeof w!="function")throw new Ut(o);var Y=function(){var oA=arguments,pA=w?w.apply(this,oA):oA[0],fA=Y.cache;if(fA.has(pA))return fA.get(pA);var _A=c.apply(this,oA);return Y.cache=fA.set(pA,_A)||fA,_A};return Y.cache=new(wl.Cache||yi),Y}wl.Cache=yi;function bl(c){if(typeof c!="function")throw new Ut(o);return function(){var w=arguments;switch(w.length){case 0:return!c.call(this);case 1:return!c.call(this,w[0]);case 2:return!c.call(this,w[0],w[1]);case 3:return!c.call(this,w[0],w[1],w[2])}return!c.apply(this,w)}}function cR(c){return ZB(2,c)}var gR=q4(function(c,w){w=w.length==1&&Te(w[0])?pt(w[0],Tt(Ne())):pt(Yt(w,1),Tt(Ne()));var Y=w.length;return Ze(function(oA){for(var pA=-1,fA=$t(oA.length,Y);++pA<fA;)oA[pA]=w[pA].call(this,oA[pA]);return nn(c,this,oA)})}),sd=Ze(function(c,w){var Y=sA(w,lr(sd));return vi(c,B,t,w,Y)}),VB=Ze(function(c,w){var Y=sA(w,lr(VB));return vi(c,p,t,w,Y)}),dR=ki(function(c,w){return vi(c,l,t,t,t,w)});function uR(c,w){if(typeof c!="function")throw new Ut(o);return w=w===t?w:$e(w),Ze(c,w)}function hR(c,w){if(typeof c!="function")throw new Ut(o);return w=w==null?0:Lt($e(w),0),Ze(function(Y){var oA=Y[w],pA=Zi(Y,0,w);return oA&&Zn(pA,oA),nn(c,this,pA)})}function pR(c,w,Y){var oA=!0,pA=!0;if(typeof c!="function")throw new Ut(o);return It(Y)&&(oA="leading"in Y?!!Y.leading:oA,pA="trailing"in Y?!!Y.trailing:pA),XB(c,w,{leading:oA,maxWait:w,trailing:pA})}function CR(c){return JB(c,1)}function BR(c,w){return sd(zg(w),c)}function mR(){if(!arguments.length)return[];var c=arguments[0];return Te(c)?c:[c]}function ER(c){return Tn(c,O)}function QR(c,w){return w=typeof w=="function"?w:t,Tn(c,O,w)}function fR(c){return Tn(c,N|O)}function IR(c,w){return w=typeof w=="function"?w:t,Tn(c,N|O,w)}function wR(c,w){return w==null||KC(c,w,Ht(w))}function qn(c,w){return c===w||c!==c&&w!==w}var bR=Cl(Fg),yR=Cl(function(c,w){return c>=w}),Do=zC(function(){return arguments}())?zC:function(c){return yt(c)&<.call(c,"callee")&&!SC.call(c,"callee")},Te=KA.isArray,DR=Xr?Tt(Xr):F4;function pn(c){return c!=null&&yl(c.length)&&!Mi(c)}function Dt(c){return yt(c)&&pn(c)}function vR(c){return c===!0||c===!1||yt(c)&&rn(c)==G}var Wi=TS||Ed,kR=Pt?Tt(Pt):R4;function _R(c){return yt(c)&&c.nodeType===1&&!Ba(c)}function MR(c){if(c==null)return!0;if(pn(c)&&(Te(c)||typeof c=="string"||typeof c.splice=="function"||Wi(c)||cr(c)||Do(c)))return!c.length;var w=zt(c);if(w==gA||w==W)return!c.size;if(pa(c))return!Gg(c).length;for(var Y in c)if(lt.call(c,Y))return!1;return!0}function xR(c,w){return da(c,w)}function SR(c,w,Y){Y=typeof Y=="function"?Y:t;var oA=Y?Y(c,w):t;return oA===t?da(c,w,t,Y):!!oA}function ld(c){if(!yt(c))return!1;var w=rn(c);return w==iA||w==rA||typeof c.message=="string"&&typeof c.name=="string"&&!Ba(c)}function NR(c){return typeof c=="number"&&FC(c)}function Mi(c){if(!It(c))return!1;var w=rn(c);return w==uA||w==mA||w==j||w==hA}function Am(c){return typeof c=="number"&&c==$e(c)}function yl(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=x}function It(c){var w=typeof c;return c!=null&&(w=="object"||w=="function")}function yt(c){return c!=null&&typeof c=="object"}var em=Gs?Tt(Gs):G4;function FR(c,w){return c===w||Lg(c,w,Vg(w))}function RR(c,w,Y){return Y=typeof Y=="function"?Y:t,Lg(c,w,Vg(w),Y)}function LR(c){return tm(c)&&c!=+c}function GR(c){if(QN(c))throw new Be(f);return JC(c)}function PR(c){return c===null}function HR(c){return c==null}function tm(c){return typeof c=="number"||yt(c)&&rn(c)==wA}function Ba(c){if(!yt(c)||rn(c)!=lA)return!1;var w=Xs(c);if(w===null)return!0;var Y=lt.call(w,"constructor")&&w.constructor;return typeof Y=="function"&&Y instanceof Y&&Zs.call(Y)==RS}var cd=Ps?Tt(Ps):P4;function KR(c){return Am(c)&&c>=-x&&c<=x}var nm=Hs?Tt(Hs):H4;function Dl(c){return typeof c=="string"||!Te(c)&&yt(c)&&rn(c)==tA}function kn(c){return typeof c=="symbol"||yt(c)&&rn(c)==aA}var cr=Ks?Tt(Ks):K4;function TR(c){return c===t}function UR(c){return yt(c)&&zt(c)==xA}function YR(c){return yt(c)&&rn(c)==zA}var OR=Cl(Pg),$R=Cl(function(c,w){return c<=w});function im(c){if(!c)return[];if(pn(c))return Dl(c)?DA(c):hn(c);if(ia&&c[ia])return R(c[ia]());var w=zt(c),Y=w==gA?Z:w==W?dA:gr;return Y(c)}function xi(c){if(!c)return c===0?c:0;if(c=On(c),c===M||c===-M){var w=c<0?-1:1;return w*K}return c===c?c:0}function $e(c){var w=xi(c),Y=w%1;return w===w?Y?w-Y:w:0}function om(c){return c?Io($e(c),0,AA):0}function On(c){if(typeof c=="number")return c;if(kn(c))return z;if(It(c)){var w=typeof c.valueOf=="function"?c.valueOf():c;c=It(w)?w+"":w}if(typeof c!="string")return c===0?c:+c;c=ta(c);var Y=Ct.test(c);return Y||At.test(c)?Rs(c.slice(2),Y?2:8):qe.test(c)?z:+c}function rm(c){return gi(c,Cn(c))}function zR(c){return c?Io($e(c),-x,x):c===0?c:0}function st(c){return c==null?"":vn(c)}var JR=ar(function(c,w){if(pa(w)||pn(w)){gi(w,Ht(w),c);return}for(var Y in w)lt.call(w,Y)&&la(c,Y,w[Y])}),am=ar(function(c,w){gi(w,Cn(w),c)}),vl=ar(function(c,w,Y,oA){gi(w,Cn(w),c,oA)}),ZR=ar(function(c,w,Y,oA){gi(w,Ht(w),c,oA)}),WR=ki(xg);function jR(c,w){var Y=rr(c);return w==null?Y:HC(Y,w)}var qR=Ze(function(c,w){c=Oe(c);var Y=-1,oA=w.length,pA=oA>2?w[2]:t;for(pA&&an(w[0],w[1],pA)&&(oA=1);++Y<oA;)for(var fA=w[Y],_A=Cn(fA),GA=-1,YA=_A.length;++GA<YA;){var te=_A[GA],ne=c[te];(ne===t||qn(ne,nr[te])&&!lt.call(c,te))&&(c[te]=fA[te])}return c}),XR=Ze(function(c){return c.push(t,bB),nn(sm,t,c)});function VR(c,w){return Us(c,Ne(w,3),ci)}function AL(c,w){return Us(c,Ne(w,3),Ng)}function eL(c,w){return c==null?c:Sg(c,Ne(w,3),Cn)}function tL(c,w){return c==null?c:OC(c,Ne(w,3),Cn)}function nL(c,w){return c&&ci(c,Ne(w,3))}function iL(c,w){return c&&Ng(c,Ne(w,3))}function oL(c){return c==null?[]:sl(c,Ht(c))}function rL(c){return c==null?[]:sl(c,Cn(c))}function gd(c,w,Y){var oA=c==null?t:wo(c,w);return oA===t?Y:oA}function aL(c,w){return c!=null&&vB(c,w,M4)}function dd(c,w){return c!=null&&vB(c,w,x4)}var sL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),c[w]=Y},hd(Bn)),lL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),lt.call(c,w)?c[w].push(Y):c[w]=[Y]},Ne),cL=Ze(ga);function Ht(c){return pn(c)?GC(c):Gg(c)}function Cn(c){return pn(c)?GC(c,!0):T4(c)}function gL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,w(oA,pA,fA),oA)}),Y}function dL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,pA,w(oA,pA,fA))}),Y}var uL=ar(function(c,w,Y){ll(c,w,Y)}),sm=ar(function(c,w,Y,oA){ll(c,w,Y,oA)}),hL=ki(function(c,w){var Y={};if(c==null)return Y;var oA=!1;w=pt(w,function(fA){return fA=Ji(fA,c),oA||(oA=fA.length>1),fA}),gi(c,qg(c),Y),oA&&(Y=Tn(Y,N|T|O,sN));for(var pA=w.length;pA--;)Yg(Y,w[pA]);return Y});function pL(c,w){return lm(c,bl(Ne(w)))}var CL=ki(function(c,w){return c==null?{}:Y4(c,w)});function lm(c,w){if(c==null)return{};var Y=pt(qg(c),function(oA){return[oA]});return w=Ne(w),AB(c,Y,function(oA,pA){return w(oA,pA[0])})}function BL(c,w,Y){w=Ji(w,c);var oA=-1,pA=w.length;for(pA||(pA=1,c=t);++oA<pA;){var fA=c==null?t:c[di(w[oA])];fA===t&&(oA=pA,fA=Y),c=Mi(fA)?fA.call(c):fA}return c}function mL(c,w,Y){return c==null?c:ua(c,w,Y)}function EL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:ua(c,w,Y,oA)}var cm=IB(Ht),gm=IB(Cn);function QL(c,w,Y){var oA=Te(c),pA=oA||Wi(c)||cr(c);if(w=Ne(w,4),Y==null){var fA=c&&c.constructor;pA?Y=oA?new fA:[]:It(c)?Y=Mi(fA)?rr(Xs(c)):{}:Y={}}return(pA?un:ci)(c,function(_A,GA,YA){return w(Y,_A,GA,YA)}),Y}function fL(c,w){return c==null?!0:Yg(c,w)}function IL(c,w,Y){return c==null?c:oB(c,w,zg(Y))}function wL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:oB(c,w,zg(Y),oA)}function gr(c){return c==null?[]:na(c,Ht(c))}function bL(c){return c==null?[]:na(c,Cn(c))}function yL(c,w,Y){return Y===t&&(Y=w,w=t),Y!==t&&(Y=On(Y),Y=Y===Y?Y:0),w!==t&&(w=On(w),w=w===w?w:0),Io(On(c),w,Y)}function DL(c,w,Y){return w=xi(w),Y===t?(Y=w,w=0):Y=xi(Y),c=On(c),S4(c,w,Y)}function vL(c,w,Y){if(Y&&typeof Y!="boolean"&&an(c,w,Y)&&(w=Y=t),Y===t&&(typeof w=="boolean"?(Y=w,w=t):typeof c=="boolean"&&(Y=c,c=t)),c===t&&w===t?(c=0,w=1):(c=xi(c),w===t?(w=c,c=0):w=xi(w)),c>w){var oA=c;c=w,w=oA}if(Y||c%1||w%1){var pA=RC();return $t(c+pA*(w-c+Fs("1e-"+((pA+"").length-1))),w)}return Kg(c,w)}var kL=sr(function(c,w,Y){return w=w.toLowerCase(),c+(Y?dm(w):w)});function dm(c){return ud(st(c).toLowerCase())}function um(c){return c=st(c),c&&c.replace(Pe,wg).replace(Ms,"")}function _L(c,w,Y){c=st(c),w=vn(w);var oA=c.length;Y=Y===t?oA:Io($e(Y),0,oA);var pA=Y;return Y-=w.length,Y>=0&&c.slice(Y,pA)==w}function ML(c){return c=st(c),c&&ke.test(c)?c.replace(ae,bg):c}function xL(c){return c=st(c),c&&Se.test(c)?c.replace(ue,"\\$&"):c}var SL=sr(function(c,w,Y){return c+(Y?"-":"")+w.toLowerCase()}),NL=sr(function(c,w,Y){return c+(Y?" ":"")+w.toLowerCase()}),FL=CB("toLowerCase");function RL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;if(!w||oA>=w)return c;var pA=(w-oA)/2;return pl(tl(pA),Y)+c+pl(el(pA),Y)}function LL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?c+pl(w-oA,Y):c}function GL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?pl(w-oA,Y)+c:c}function PL(c,w,Y){return Y||w==null?w=0:w&&(w=+w),$S(st(c).replace(tt,""),w||0)}function HL(c,w,Y){return(Y?an(c,w,Y):w===t)?w=1:w=$e(w),Tg(st(c),w)}function KL(){var c=arguments,w=st(c[0]);return c.length<3?w:w.replace(c[1],c[2])}var TL=sr(function(c,w,Y){return c+(Y?"_":"")+w.toLowerCase()});function UL(c,w,Y){return Y&&typeof Y!="number"&&an(c,w,Y)&&(w=Y=t),Y=Y===t?AA:Y>>>0,Y?(c=st(c),c&&(typeof w=="string"||w!=null&&!cd(w))&&(w=vn(w),!w&&Yi(c))?Zi(DA(c),0,Y):c.split(w,Y)):[]}var YL=sr(function(c,w,Y){return c+(Y?" ":"")+ud(w)});function OL(c,w,Y){return c=st(c),Y=Y==null?0:Io($e(Y),0,c.length),w=vn(w),c.slice(Y,Y+w.length)==w}function $L(c,w,Y){var oA=EA.templateSettings;Y&&an(c,w,Y)&&(w=t),c=st(c),w=vl({},w,oA,wB);var pA=vl({},w.imports,oA.imports,wB),fA=Ht(pA),_A=na(pA,fA),GA,YA,te=0,ne=w.interpolate||ot,ce="__p += '",we=on((w.escape||ot).source+"|"+ne.source+"|"+(ne===TA?ie:ot).source+"|"+(w.evaluate||ot).source+"|$","g"),_e="//# sourceURL="+(lt.call(w,"sourceURL")?(w.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++po+"]")+`
|
|
11
11
|
`;c.replace(we,function(Re,We,Ve,_n,sn,Mn){return Ve||(Ve=_n),ce+=c.slice(te,Mn).replace(ft,yg),We&&(GA=!0,ce+=`' +
|
|
12
12
|
__e(`+We+`) +
|
|
13
13
|
'`),sn&&(YA=!0,ce+=`';
|
|
@@ -24,7 +24,7 @@ __p += '`),Ve&&(ce+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+ce+`return __p
|
|
27
|
-
}`;var Je=pm(function(){return He(fA,_e+"return "+ce).apply(t,_A)});if(Je.source=ce,ld(Je))throw Je;return Je}function WL(c){return st(c).toLowerCase()}function jL(c){return st(c).toUpperCase()}function qL(c,w,Y){if(c=st(c),c&&(Y||w===t))return ta(c);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=DA(w),fA=$s(oA,pA),_A=zs(oA,pA)+1;return Zi(oA,fA,_A).join("")}function XL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.slice(0,HA(c)+1);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=zs(oA,DA(w))+1;return Zi(oA,0,pA).join("")}function VL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.replace(tt,"");if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=$s(oA,DA(w));return Zi(oA,pA).join("")}function AG(c,w){var Y=s,oA=h;if(It(w)){var pA="separator"in w?w.separator:pA;Y="length"in w?$e(w.length):Y,oA="omission"in w?vn(w.omission):oA}c=st(c);var fA=c.length;if(Yi(c)){var _A=DA(c);fA=_A.length}if(Y>=fA)return c;var GA=Y-RA(oA);if(GA<1)return oA;var YA=_A?Zi(_A,0,GA).join(""):c.slice(0,GA);if(pA===t)return YA+oA;if(_A&&(GA+=YA.length-GA),cd(pA)){if(c.slice(GA).search(pA)){var te,ne=YA;for(pA.global||(pA=on(pA.source,st(Me.exec(pA))+"g")),pA.lastIndex=0;te=pA.exec(ne);)var ce=te.index;YA=YA.slice(0,ce===t?GA:ce)}}else if(c.indexOf(vn(pA),GA)!=GA){var we=YA.lastIndexOf(pA);we>-1&&(YA=YA.slice(0,we))}return YA+oA}function eG(c){return c=st(c),c&&Ee.test(c)?c.replace(de,VA):c}var tG=sr(function(c,w,Y){return c+(Y?" ":"")+w.toUpperCase()}),ud=CB("toUpperCase");function hm(c,w,Y){return c=st(c),w=Y?t:w,w===t?L(c)?he(c):Qg(c):c.match(w)||[]}var pm=Ze(function(c,w){try{return nn(c,t,w)}catch(Y){return ld(Y)?Y:new Be(Y)}}),nG=ki(function(c,w){return un(w,function(Y){Y=di(Y),Di(c,Y,ad(c[Y],c))}),c});function iG(c){var w=c==null?0:c.length,Y=Ne();return c=w?pt(c,function(oA){if(typeof oA[1]!="function")throw new Ut(o);return[Y(oA[0]),oA[1]]}):[],Ze(function(oA){for(var pA=-1;++pA<w;){var fA=c[pA];if(nn(fA[0],this,oA))return nn(fA[1],this,oA)}})}function oG(c){return M4(Kn(c,N))}function hd(c){return function(){return c}}function rG(c,w){return c==null||c!==c?w:c}var aG=mB(),sG=mB(!0);function Bn(c){return c}function pd(c){return ZC(typeof c=="function"?c:Kn(c,N))}function lG(c){return jC(Kn(c,N))}function cG(c,w){return qC(c,Kn(w,N))}var gG=Ze(function(c,w){return function(Y){return ga(Y,c,w)}}),dG=Ze(function(c,w){return function(Y){return ga(c,Y,w)}});function Cd(c,w,Y){var oA=Ht(w),pA=sl(w,oA);Y==null&&!(It(w)&&(pA.length||!oA.length))&&(Y=w,w=c,c=this,pA=sl(w,Ht(w)));var fA=!(It(Y)&&"chain"in Y)||!!Y.chain,_A=Mi(c);return un(pA,function(GA){var YA=w[GA];c[GA]=YA,_A&&(c.prototype[GA]=function(){var te=this.__chain__;if(fA||te){var ne=c(this.__wrapped__),ce=ne.__actions__=hn(this.__actions__);return ce.push({func:YA,args:arguments,thisArg:c}),ne.__chain__=te,ne}return YA.apply(c,Jn([this.value()],arguments))})}),c}function uG(){return Rt._===this&&(Rt._=HS),this}function Bd(){}function hG(c){return c=$e(c),Ze(function(w){return XC(w,c)})}var pG=Zg(pt),CG=Zg(Vr),BG=Zg(Ii);function Cm(c){return ed(c)?ea(di(c)):J4(c)}function mG(c){return function(w){return c==null?t:wo(c,w)}}var EG=QB(),QG=QB(!0);function md(){return[]}function Ed(){return!1}function fG(){return{}}function IG(){return""}function wG(){return!0}function bG(c,w){if(c=$e(c),c<1||c>x)return[];var Y=AA,oA=$t(c,AA);w=Ne(w),c-=AA;for(var pA=wi(oA,w);++Y<c;)w(Y);return pA}function yG(c){return Te(c)?pt(c,di):kn(c)?[c]:hn(LB(st(c)))}function DG(c){var w=++GS;return st(c)+w}var vG=hl(function(c,w){return c+w},0),kG=Wg("ceil"),_G=hl(function(c,w){return c/w},1),MG=Wg("floor");function xG(c){return c&&c.length?al(c,Bn,Fg):t}function SG(c,w){return c&&c.length?al(c,Ne(w,2),Fg):t}function NG(c){return Co(c,Bn)}function FG(c,w){return Co(c,Ne(w,2))}function RG(c){return c&&c.length?al(c,Bn,Pg):t}function LG(c,w){return c&&c.length?al(c,Ne(w,2),Pg):t}var GG=hl(function(c,w){return c*w},1),PG=Wg("round"),HG=hl(function(c,w){return c-w},0);function KG(c){return c&&c.length?tr(c,Bn):0}function TG(c,w){return c&&c.length?tr(c,Ne(w,2)):0}return EA.after=lR,EA.ary=JB,EA.assign=jR,EA.assignIn=am,EA.assignInWith=vl,EA.assignWith=qR,EA.at=XR,EA.before=ZB,EA.bind=ad,EA.bindAll=nG,EA.bindKey=WB,EA.castArray=fR,EA.chain=OB,EA.chunk=MN,EA.compact=xN,EA.concat=SN,EA.cond=iG,EA.conforms=oG,EA.constant=hd,EA.countBy=KF,EA.create=VR,EA.curry=jB,EA.curryRight=qB,EA.debounce=XB,EA.defaults=AL,EA.defaultsDeep=eL,EA.defer=cR,EA.delay=gR,EA.difference=NN,EA.differenceBy=FN,EA.differenceWith=RN,EA.drop=LN,EA.dropRight=GN,EA.dropRightWhile=PN,EA.dropWhile=HN,EA.fill=KN,EA.filter=UF,EA.flatMap=$F,EA.flatMapDeep=zF,EA.flatMapDepth=JF,EA.flatten=KB,EA.flattenDeep=TN,EA.flattenDepth=UN,EA.flip=dR,EA.flow=aG,EA.flowRight=sG,EA.fromPairs=YN,EA.functions=sL,EA.functionsIn=lL,EA.groupBy=ZF,EA.initial=$N,EA.intersection=zN,EA.intersectionBy=JN,EA.intersectionWith=ZN,EA.invert=gL,EA.invertBy=dL,EA.invokeMap=jF,EA.iteratee=pd,EA.keyBy=qF,EA.keys=Ht,EA.keysIn=Cn,EA.map=fl,EA.mapKeys=hL,EA.mapValues=pL,EA.matches=lG,EA.matchesProperty=cG,EA.memoize=wl,EA.merge=CL,EA.mergeWith=sm,EA.method=gG,EA.methodOf=dG,EA.mixin=Cd,EA.negate=bl,EA.nthArg=hG,EA.omit=BL,EA.omitBy=mL,EA.once=uR,EA.orderBy=XF,EA.over=pG,EA.overArgs=hR,EA.overEvery=CG,EA.overSome=BG,EA.partial=sd,EA.partialRight=VB,EA.partition=VF,EA.pick=EL,EA.pickBy=lm,EA.property=Cm,EA.propertyOf=mG,EA.pull=XN,EA.pullAll=UB,EA.pullAllBy=VN,EA.pullAllWith=AF,EA.pullAt=eF,EA.range=EG,EA.rangeRight=QG,EA.rearg=pR,EA.reject=tR,EA.remove=tF,EA.rest=CR,EA.reverse=od,EA.sampleSize=iR,EA.set=fL,EA.setWith=IL,EA.shuffle=oR,EA.slice=nF,EA.sortBy=sR,EA.sortedUniq=cF,EA.sortedUniqBy=gF,EA.split=$L,EA.spread=BR,EA.tail=dF,EA.take=uF,EA.takeRight=hF,EA.takeRightWhile=pF,EA.takeWhile=CF,EA.tap=xF,EA.throttle=mR,EA.thru=Ql,EA.toArray=im,EA.toPairs=cm,EA.toPairsIn=gm,EA.toPath=yG,EA.toPlainObject=rm,EA.transform=wL,EA.unary=ER,EA.union=BF,EA.unionBy=mF,EA.unionWith=EF,EA.uniq=QF,EA.uniqBy=fF,EA.uniqWith=IF,EA.unset=bL,EA.unzip=rd,EA.unzipWith=YB,EA.update=yL,EA.updateWith=DL,EA.values=gr,EA.valuesIn=vL,EA.without=wF,EA.words=hm,EA.wrap=QR,EA.xor=bF,EA.xorBy=yF,EA.xorWith=DF,EA.zip=vF,EA.zipObject=kF,EA.zipObjectDeep=_F,EA.zipWith=MF,EA.entries=cm,EA.entriesIn=gm,EA.extend=am,EA.extendWith=vl,Cd(EA,EA),EA.add=vG,EA.attempt=pm,EA.camelCase=xL,EA.capitalize=dm,EA.ceil=kG,EA.clamp=kL,EA.clone=IR,EA.cloneDeep=bR,EA.cloneDeepWith=yR,EA.cloneWith=wR,EA.conformsTo=DR,EA.deburr=um,EA.defaultTo=rG,EA.divide=_G,EA.endsWith=SL,EA.eq=jn,EA.escape=NL,EA.escapeRegExp=FL,EA.every=TF,EA.find=YF,EA.findIndex=PB,EA.findKey=tL,EA.findLast=OF,EA.findLastIndex=HB,EA.findLastKey=nL,EA.floor=MG,EA.forEach=$B,EA.forEachRight=zB,EA.forIn=iL,EA.forInRight=oL,EA.forOwn=rL,EA.forOwnRight=aL,EA.get=gd,EA.gt=vR,EA.gte=kR,EA.has=cL,EA.hasIn=dd,EA.head=TB,EA.identity=Bn,EA.includes=WF,EA.indexOf=ON,EA.inRange=_L,EA.invoke=uL,EA.isArguments=Do,EA.isArray=Te,EA.isArrayBuffer=_R,EA.isArrayLike=pn,EA.isArrayLikeObject=Dt,EA.isBoolean=MR,EA.isBuffer=Wi,EA.isDate=xR,EA.isElement=SR,EA.isEmpty=NR,EA.isEqual=FR,EA.isEqualWith=RR,EA.isError=ld,EA.isFinite=LR,EA.isFunction=Mi,EA.isInteger=Am,EA.isLength=yl,EA.isMap=em,EA.isMatch=GR,EA.isMatchWith=PR,EA.isNaN=HR,EA.isNative=KR,EA.isNil=UR,EA.isNull=TR,EA.isNumber=tm,EA.isObject=It,EA.isObjectLike=yt,EA.isPlainObject=Ba,EA.isRegExp=cd,EA.isSafeInteger=YR,EA.isSet=nm,EA.isString=Dl,EA.isSymbol=kn,EA.isTypedArray=cr,EA.isUndefined=OR,EA.isWeakMap=$R,EA.isWeakSet=zR,EA.join=WN,EA.kebabCase=RL,EA.last=Un,EA.lastIndexOf=jN,EA.lowerCase=LL,EA.lowerFirst=GL,EA.lt=JR,EA.lte=ZR,EA.max=xG,EA.maxBy=SG,EA.mean=NG,EA.meanBy=FG,EA.min=RG,EA.minBy=LG,EA.stubArray=md,EA.stubFalse=Ed,EA.stubObject=fG,EA.stubString=IG,EA.stubTrue=wG,EA.multiply=GG,EA.nth=qN,EA.noConflict=uG,EA.noop=Bd,EA.now=Il,EA.pad=PL,EA.padEnd=HL,EA.padStart=KL,EA.parseInt=TL,EA.random=ML,EA.reduce=AR,EA.reduceRight=eR,EA.repeat=UL,EA.replace=YL,EA.result=QL,EA.round=PG,EA.runInContext=kA,EA.sample=nR,EA.size=rR,EA.snakeCase=OL,EA.some=aR,EA.sortedIndex=iF,EA.sortedIndexBy=oF,EA.sortedIndexOf=rF,EA.sortedLastIndex=aF,EA.sortedLastIndexBy=sF,EA.sortedLastIndexOf=lF,EA.startCase=zL,EA.startsWith=JL,EA.subtract=HG,EA.sum=KG,EA.sumBy=TG,EA.template=ZL,EA.times=bG,EA.toFinite=xi,EA.toInteger=$e,EA.toLength=om,EA.toLower=WL,EA.toNumber=Yn,EA.toSafeInteger=WR,EA.toString=st,EA.toUpper=jL,EA.trim=qL,EA.trimEnd=XL,EA.trimStart=VL,EA.truncate=AG,EA.unescape=eG,EA.uniqueId=DG,EA.upperCase=tG,EA.upperFirst=ud,EA.each=$B,EA.eachRight=zB,EA.first=TB,Cd(EA,function(){var c={};return ci(EA,function(w,Y){lt.call(EA.prototype,Y)||(c[Y]=w)}),c}(),{chain:!1}),EA.VERSION=i,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){EA[c].placeholder=EA}),un(["drop","take"],function(c,w){Xe.prototype[c]=function(Y){Y=Y===t?1:Lt($e(Y),0);var oA=this.__filtered__&&!w?new Xe(this):this.clone();return oA.__filtered__?oA.__takeCount__=$t(Y,oA.__takeCount__):oA.__views__.push({size:$t(Y,AA),type:c+(oA.__dir__<0?"Right":"")}),oA},Xe.prototype[c+"Right"]=function(Y){return this.reverse()[c](Y).reverse()}}),un(["filter","map","takeWhile"],function(c,w){var Y=w+1,oA=Y==r||Y==Q;Xe.prototype[c]=function(pA){var fA=this.clone();return fA.__iteratees__.push({iteratee:Ne(pA,3),type:Y}),fA.__filtered__=fA.__filtered__||oA,fA}}),un(["head","last"],function(c,w){var Y="take"+(w?"Right":"");Xe.prototype[c]=function(){return this[Y](1).value()[0]}}),un(["initial","tail"],function(c,w){var Y="drop"+(w?"":"Right");Xe.prototype[c]=function(){return this.__filtered__?new Xe(this):this[Y](1)}}),Xe.prototype.compact=function(){return this.filter(Bn)},Xe.prototype.find=function(c){return this.filter(c).head()},Xe.prototype.findLast=function(c){return this.reverse().find(c)},Xe.prototype.invokeMap=Ze(function(c,w){return typeof c=="function"?new Xe(this):this.map(function(Y){return ga(Y,c,w)})}),Xe.prototype.reject=function(c){return this.filter(bl(Ne(c)))},Xe.prototype.slice=function(c,w){c=$e(c);var Y=this;return Y.__filtered__&&(c>0||w<0)?new Xe(Y):(c<0?Y=Y.takeRight(-c):c&&(Y=Y.drop(c)),w!==t&&(w=$e(w),Y=w<0?Y.dropRight(-w):Y.take(w-c)),Y)},Xe.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Xe.prototype.toArray=function(){return this.take(AA)},ci(Xe.prototype,function(c,w){var Y=/^(?:filter|find|map|reject)|While$/.test(w),oA=/^(?:head|last)$/.test(w),pA=EA[oA?"take"+(w=="last"?"Right":""):w],fA=oA||/^find/.test(w);pA&&(EA.prototype[w]=function(){var _A=this.__wrapped__,GA=oA?[1]:arguments,YA=_A instanceof Xe,te=GA[0],ne=YA||Te(_A),ce=function(We){var Ve=pA.apply(EA,Jn([We],GA));return oA&&we?Ve[0]:Ve};ne&&Y&&typeof te=="function"&&te.length!=1&&(YA=ne=!1);var we=this.__chain__,_e=!!this.__actions__.length,Fe=fA&&!we,Je=YA&&!_e;if(!fA&&ne){_A=Je?_A:new Xe(this);var Re=c.apply(_A,GA);return Re.__actions__.push({func:Ql,args:[ce],thisArg:t}),new Hn(Re,we)}return Fe&&Je?c.apply(this,GA):(Re=this.thru(ce),Fe?oA?Re.value()[0]:Re.value():Re)})}),un(["pop","push","shift","sort","splice","unshift"],function(c){var w=li[c],Y=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",oA=/^(?:pop|shift)$/.test(c);EA.prototype[c]=function(){var pA=arguments;if(oA&&!this.__chain__){var fA=this.value();return w.apply(Te(fA)?fA:[],pA)}return this[Y](function(_A){return w.apply(Te(_A)?_A:[],pA)})}}),ci(Xe.prototype,function(c,w){var Y=EA[w];if(Y){var oA=Y.name+"";lt.call(or,oA)||(or[oA]=[]),or[oA].push({name:w,func:Y})}}),or[ul(t,m).name]=[{name:"wrapper",func:t}],Xe.prototype.clone=e4,Xe.prototype.reverse=t4,Xe.prototype.value=n4,EA.prototype.at=SF,EA.prototype.chain=NF,EA.prototype.commit=FF,EA.prototype.next=RF,EA.prototype.plant=GF,EA.prototype.reverse=PF,EA.prototype.toJSON=EA.prototype.valueOf=EA.prototype.value=HF,EA.prototype.first=EA.prototype.head,ia&&(EA.prototype[ia]=LF),EA},Qe=ve();fi?((fi.exports=Qe)._=Qe,Gn._=Qe):Rt._=Qe}).call(vo)}(ma,ma.exports);var ut=ma.exports;const Im=(n,e)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(e).join(","),"return "+t[1])(...Object.values(e))}catch{return n}else return n},kt=(n,e)=>ut.isString(n)?Im(n,e):ut.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:kt(n[i],e)}),{}):ut.isArray(n)?n.map(t=>kt(t,e)):n,ko=(n,e,t)=>{if(e===".")return t;const i=ut.cloneDeep(n),d=e.split(".");function f(o,b,D){if(b.length===1){o[b[0]]=D;return}const I=b[0],S=b[1];o[I]||(isNaN(Number(S))?o[I]={}:o[I]=[]),f(o[I],b.slice(1),D)}return f(i,d,t),i},Ea=(n,e="data")=>{if(e==="."||typeof e!="string")return n;const t=e.split(".");let i=n;for(const d of t)if(i&&typeof i=="object"&&d in i)i=i[d];else return;return i},Ni=n=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const d=Math.floor(Math.random()*e.length);t+=e.charAt(d)}return t};function wm(n){return/[.*+?^${}()|[\]\\]/.test(n)}function bm(n){const e=n.match(/^\/(.*)\/([gimsuy]*)$/);if(e){const t=e[1],i=e[2];return new RegExp(t,i)}return null}const wd=(n,e)=>n.filter(e).map(i=>i.children?{...i,children:wd(i.children,e)}:i),ln=(n,e)=>{var t,i,d,f,o,b,D,I,S,N,T;for(const O of n){if(O.name===e)return O;if((t=O.props)!=null&&t.btns&&Array.isArray((i=O.props)==null?void 0:i.btns)||(d=O.props)!=null&&d.rowBtns&&Array.isArray((f=O.props)==null?void 0:f.rowBtns)){const H=O.props.btns||O.props.rowBtns;for(const P of H){if(P.name===e||P.key===e)return P;if(P.component==="Popover"){if(Array.isArray(P.children)&&P.children.length>0){const v=ln(P.children,e);if(v)return v}if(Array.isArray((o=P==null?void 0:P.props)==null?void 0:o.children)&&((b=P==null?void 0:P.props)==null?void 0:b.children.length)>0){const v=ln(P.props.children,e);if(v)return v}}}}if(O.component==="Popover"){if(Array.isArray(O.children)&&O.children.length>0){const H=ln(O.children,e);if(H)return H}if(Array.isArray((D=O==null?void 0:O.props)==null?void 0:D.children)&&((I=O==null?void 0:O.props)==null?void 0:I.children.length)>0){const H=ln(O.props.children,e);if(H)return H}}if((S=O.props)!=null&&S.formSlots&&Array.isArray((N=O.props)==null?void 0:N.formSlots)){const H=ln((T=O.props)==null?void 0:T.formSlots,e);if(H)return H}if(O.children&&O.children.length>0){const H=ln(O.children,e);if(H)return H}}return null};/**
|
|
27
|
+
}`;var Je=pm(function(){return He(fA,_e+"return "+ce).apply(t,_A)});if(Je.source=ce,ld(Je))throw Je;return Je}function zL(c){return st(c).toLowerCase()}function JL(c){return st(c).toUpperCase()}function ZL(c,w,Y){if(c=st(c),c&&(Y||w===t))return ta(c);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=DA(w),fA=$s(oA,pA),_A=zs(oA,pA)+1;return Zi(oA,fA,_A).join("")}function WL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.slice(0,HA(c)+1);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=zs(oA,DA(w))+1;return Zi(oA,0,pA).join("")}function jL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.replace(tt,"");if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=$s(oA,DA(w));return Zi(oA,pA).join("")}function qL(c,w){var Y=s,oA=h;if(It(w)){var pA="separator"in w?w.separator:pA;Y="length"in w?$e(w.length):Y,oA="omission"in w?vn(w.omission):oA}c=st(c);var fA=c.length;if(Yi(c)){var _A=DA(c);fA=_A.length}if(Y>=fA)return c;var GA=Y-RA(oA);if(GA<1)return oA;var YA=_A?Zi(_A,0,GA).join(""):c.slice(0,GA);if(pA===t)return YA+oA;if(_A&&(GA+=YA.length-GA),cd(pA)){if(c.slice(GA).search(pA)){var te,ne=YA;for(pA.global||(pA=on(pA.source,st(Me.exec(pA))+"g")),pA.lastIndex=0;te=pA.exec(ne);)var ce=te.index;YA=YA.slice(0,ce===t?GA:ce)}}else if(c.indexOf(vn(pA),GA)!=GA){var we=YA.lastIndexOf(pA);we>-1&&(YA=YA.slice(0,we))}return YA+oA}function XL(c){return c=st(c),c&&Ee.test(c)?c.replace(de,VA):c}var VL=sr(function(c,w,Y){return c+(Y?" ":"")+w.toUpperCase()}),ud=CB("toUpperCase");function hm(c,w,Y){return c=st(c),w=Y?t:w,w===t?L(c)?he(c):Qg(c):c.match(w)||[]}var pm=Ze(function(c,w){try{return nn(c,t,w)}catch(Y){return ld(Y)?Y:new Be(Y)}}),AG=ki(function(c,w){return un(w,function(Y){Y=di(Y),Di(c,Y,ad(c[Y],c))}),c});function eG(c){var w=c==null?0:c.length,Y=Ne();return c=w?pt(c,function(oA){if(typeof oA[1]!="function")throw new Ut(o);return[Y(oA[0]),oA[1]]}):[],Ze(function(oA){for(var pA=-1;++pA<w;){var fA=c[pA];if(nn(fA[0],this,oA))return nn(fA[1],this,oA)}})}function tG(c){return v4(Tn(c,N))}function hd(c){return function(){return c}}function nG(c,w){return c==null||c!==c?w:c}var iG=mB(),oG=mB(!0);function Bn(c){return c}function pd(c){return ZC(typeof c=="function"?c:Tn(c,N))}function rG(c){return jC(Tn(c,N))}function aG(c,w){return qC(c,Tn(w,N))}var sG=Ze(function(c,w){return function(Y){return ga(Y,c,w)}}),lG=Ze(function(c,w){return function(Y){return ga(c,Y,w)}});function Cd(c,w,Y){var oA=Ht(w),pA=sl(w,oA);Y==null&&!(It(w)&&(pA.length||!oA.length))&&(Y=w,w=c,c=this,pA=sl(w,Ht(w)));var fA=!(It(Y)&&"chain"in Y)||!!Y.chain,_A=Mi(c);return un(pA,function(GA){var YA=w[GA];c[GA]=YA,_A&&(c.prototype[GA]=function(){var te=this.__chain__;if(fA||te){var ne=c(this.__wrapped__),ce=ne.__actions__=hn(this.__actions__);return ce.push({func:YA,args:arguments,thisArg:c}),ne.__chain__=te,ne}return YA.apply(c,Zn([this.value()],arguments))})}),c}function cG(){return Rt._===this&&(Rt._=LS),this}function Bd(){}function gG(c){return c=$e(c),Ze(function(w){return XC(w,c)})}var dG=Zg(pt),uG=Zg(Vr),hG=Zg(Ii);function Cm(c){return ed(c)?ea(di(c)):O4(c)}function pG(c){return function(w){return c==null?t:wo(c,w)}}var CG=QB(),BG=QB(!0);function md(){return[]}function Ed(){return!1}function mG(){return{}}function EG(){return""}function QG(){return!0}function fG(c,w){if(c=$e(c),c<1||c>x)return[];var Y=AA,oA=$t(c,AA);w=Ne(w),c-=AA;for(var pA=wi(oA,w);++Y<c;)w(Y);return pA}function IG(c){return Te(c)?pt(c,di):kn(c)?[c]:hn(LB(st(c)))}function wG(c){var w=++FS;return st(c)+w}var bG=hl(function(c,w){return c+w},0),yG=Wg("ceil"),DG=hl(function(c,w){return c/w},1),vG=Wg("floor");function kG(c){return c&&c.length?al(c,Bn,Fg):t}function _G(c,w){return c&&c.length?al(c,Ne(w,2),Fg):t}function MG(c){return Co(c,Bn)}function xG(c,w){return Co(c,Ne(w,2))}function SG(c){return c&&c.length?al(c,Bn,Pg):t}function NG(c,w){return c&&c.length?al(c,Ne(w,2),Pg):t}var FG=hl(function(c,w){return c*w},1),RG=Wg("round"),LG=hl(function(c,w){return c-w},0);function GG(c){return c&&c.length?tr(c,Bn):0}function PG(c,w){return c&&c.length?tr(c,Ne(w,2)):0}return EA.after=rR,EA.ary=JB,EA.assign=JR,EA.assignIn=am,EA.assignInWith=vl,EA.assignWith=ZR,EA.at=WR,EA.before=ZB,EA.bind=ad,EA.bindAll=AG,EA.bindKey=WB,EA.castArray=mR,EA.chain=OB,EA.chunk=vN,EA.compact=kN,EA.concat=_N,EA.cond=eG,EA.conforms=tG,EA.constant=hd,EA.countBy=GF,EA.create=jR,EA.curry=jB,EA.curryRight=qB,EA.debounce=XB,EA.defaults=qR,EA.defaultsDeep=XR,EA.defer=aR,EA.delay=sR,EA.difference=MN,EA.differenceBy=xN,EA.differenceWith=SN,EA.drop=NN,EA.dropRight=FN,EA.dropRightWhile=RN,EA.dropWhile=LN,EA.fill=GN,EA.filter=HF,EA.flatMap=UF,EA.flatMapDeep=YF,EA.flatMapDepth=OF,EA.flatten=KB,EA.flattenDeep=PN,EA.flattenDepth=HN,EA.flip=lR,EA.flow=iG,EA.flowRight=oG,EA.fromPairs=KN,EA.functions=oL,EA.functionsIn=rL,EA.groupBy=$F,EA.initial=UN,EA.intersection=YN,EA.intersectionBy=ON,EA.intersectionWith=$N,EA.invert=sL,EA.invertBy=lL,EA.invokeMap=JF,EA.iteratee=pd,EA.keyBy=ZF,EA.keys=Ht,EA.keysIn=Cn,EA.map=fl,EA.mapKeys=gL,EA.mapValues=dL,EA.matches=rG,EA.matchesProperty=aG,EA.memoize=wl,EA.merge=uL,EA.mergeWith=sm,EA.method=sG,EA.methodOf=lG,EA.mixin=Cd,EA.negate=bl,EA.nthArg=gG,EA.omit=hL,EA.omitBy=pL,EA.once=cR,EA.orderBy=WF,EA.over=dG,EA.overArgs=gR,EA.overEvery=uG,EA.overSome=hG,EA.partial=sd,EA.partialRight=VB,EA.partition=jF,EA.pick=CL,EA.pickBy=lm,EA.property=Cm,EA.propertyOf=pG,EA.pull=WN,EA.pullAll=UB,EA.pullAllBy=jN,EA.pullAllWith=qN,EA.pullAt=XN,EA.range=CG,EA.rangeRight=BG,EA.rearg=dR,EA.reject=VF,EA.remove=VN,EA.rest=uR,EA.reverse=od,EA.sampleSize=eR,EA.set=mL,EA.setWith=EL,EA.shuffle=tR,EA.slice=AF,EA.sortBy=oR,EA.sortedUniq=aF,EA.sortedUniqBy=sF,EA.split=UL,EA.spread=hR,EA.tail=lF,EA.take=cF,EA.takeRight=gF,EA.takeRightWhile=dF,EA.takeWhile=uF,EA.tap=kF,EA.throttle=pR,EA.thru=Ql,EA.toArray=im,EA.toPairs=cm,EA.toPairsIn=gm,EA.toPath=IG,EA.toPlainObject=rm,EA.transform=QL,EA.unary=CR,EA.union=hF,EA.unionBy=pF,EA.unionWith=CF,EA.uniq=BF,EA.uniqBy=mF,EA.uniqWith=EF,EA.unset=fL,EA.unzip=rd,EA.unzipWith=YB,EA.update=IL,EA.updateWith=wL,EA.values=gr,EA.valuesIn=bL,EA.without=QF,EA.words=hm,EA.wrap=BR,EA.xor=fF,EA.xorBy=IF,EA.xorWith=wF,EA.zip=bF,EA.zipObject=yF,EA.zipObjectDeep=DF,EA.zipWith=vF,EA.entries=cm,EA.entriesIn=gm,EA.extend=am,EA.extendWith=vl,Cd(EA,EA),EA.add=bG,EA.attempt=pm,EA.camelCase=kL,EA.capitalize=dm,EA.ceil=yG,EA.clamp=yL,EA.clone=ER,EA.cloneDeep=fR,EA.cloneDeepWith=IR,EA.cloneWith=QR,EA.conformsTo=wR,EA.deburr=um,EA.defaultTo=nG,EA.divide=DG,EA.endsWith=_L,EA.eq=qn,EA.escape=ML,EA.escapeRegExp=xL,EA.every=PF,EA.find=KF,EA.findIndex=PB,EA.findKey=VR,EA.findLast=TF,EA.findLastIndex=HB,EA.findLastKey=AL,EA.floor=vG,EA.forEach=$B,EA.forEachRight=zB,EA.forIn=eL,EA.forInRight=tL,EA.forOwn=nL,EA.forOwnRight=iL,EA.get=gd,EA.gt=bR,EA.gte=yR,EA.has=aL,EA.hasIn=dd,EA.head=TB,EA.identity=Bn,EA.includes=zF,EA.indexOf=TN,EA.inRange=DL,EA.invoke=cL,EA.isArguments=Do,EA.isArray=Te,EA.isArrayBuffer=DR,EA.isArrayLike=pn,EA.isArrayLikeObject=Dt,EA.isBoolean=vR,EA.isBuffer=Wi,EA.isDate=kR,EA.isElement=_R,EA.isEmpty=MR,EA.isEqual=xR,EA.isEqualWith=SR,EA.isError=ld,EA.isFinite=NR,EA.isFunction=Mi,EA.isInteger=Am,EA.isLength=yl,EA.isMap=em,EA.isMatch=FR,EA.isMatchWith=RR,EA.isNaN=LR,EA.isNative=GR,EA.isNil=HR,EA.isNull=PR,EA.isNumber=tm,EA.isObject=It,EA.isObjectLike=yt,EA.isPlainObject=Ba,EA.isRegExp=cd,EA.isSafeInteger=KR,EA.isSet=nm,EA.isString=Dl,EA.isSymbol=kn,EA.isTypedArray=cr,EA.isUndefined=TR,EA.isWeakMap=UR,EA.isWeakSet=YR,EA.join=zN,EA.kebabCase=SL,EA.last=Yn,EA.lastIndexOf=JN,EA.lowerCase=NL,EA.lowerFirst=FL,EA.lt=OR,EA.lte=$R,EA.max=kG,EA.maxBy=_G,EA.mean=MG,EA.meanBy=xG,EA.min=SG,EA.minBy=NG,EA.stubArray=md,EA.stubFalse=Ed,EA.stubObject=mG,EA.stubString=EG,EA.stubTrue=QG,EA.multiply=FG,EA.nth=ZN,EA.noConflict=cG,EA.noop=Bd,EA.now=Il,EA.pad=RL,EA.padEnd=LL,EA.padStart=GL,EA.parseInt=PL,EA.random=vL,EA.reduce=qF,EA.reduceRight=XF,EA.repeat=HL,EA.replace=KL,EA.result=BL,EA.round=RG,EA.runInContext=kA,EA.sample=AR,EA.size=nR,EA.snakeCase=TL,EA.some=iR,EA.sortedIndex=eF,EA.sortedIndexBy=tF,EA.sortedIndexOf=nF,EA.sortedLastIndex=iF,EA.sortedLastIndexBy=oF,EA.sortedLastIndexOf=rF,EA.startCase=YL,EA.startsWith=OL,EA.subtract=LG,EA.sum=GG,EA.sumBy=PG,EA.template=$L,EA.times=fG,EA.toFinite=xi,EA.toInteger=$e,EA.toLength=om,EA.toLower=zL,EA.toNumber=On,EA.toSafeInteger=zR,EA.toString=st,EA.toUpper=JL,EA.trim=ZL,EA.trimEnd=WL,EA.trimStart=jL,EA.truncate=qL,EA.unescape=XL,EA.uniqueId=wG,EA.upperCase=VL,EA.upperFirst=ud,EA.each=$B,EA.eachRight=zB,EA.first=TB,Cd(EA,function(){var c={};return ci(EA,function(w,Y){lt.call(EA.prototype,Y)||(c[Y]=w)}),c}(),{chain:!1}),EA.VERSION=i,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){EA[c].placeholder=EA}),un(["drop","take"],function(c,w){Xe.prototype[c]=function(Y){Y=Y===t?1:Lt($e(Y),0);var oA=this.__filtered__&&!w?new Xe(this):this.clone();return oA.__filtered__?oA.__takeCount__=$t(Y,oA.__takeCount__):oA.__views__.push({size:$t(Y,AA),type:c+(oA.__dir__<0?"Right":"")}),oA},Xe.prototype[c+"Right"]=function(Y){return this.reverse()[c](Y).reverse()}}),un(["filter","map","takeWhile"],function(c,w){var Y=w+1,oA=Y==r||Y==Q;Xe.prototype[c]=function(pA){var fA=this.clone();return fA.__iteratees__.push({iteratee:Ne(pA,3),type:Y}),fA.__filtered__=fA.__filtered__||oA,fA}}),un(["head","last"],function(c,w){var Y="take"+(w?"Right":"");Xe.prototype[c]=function(){return this[Y](1).value()[0]}}),un(["initial","tail"],function(c,w){var Y="drop"+(w?"":"Right");Xe.prototype[c]=function(){return this.__filtered__?new Xe(this):this[Y](1)}}),Xe.prototype.compact=function(){return this.filter(Bn)},Xe.prototype.find=function(c){return this.filter(c).head()},Xe.prototype.findLast=function(c){return this.reverse().find(c)},Xe.prototype.invokeMap=Ze(function(c,w){return typeof c=="function"?new Xe(this):this.map(function(Y){return ga(Y,c,w)})}),Xe.prototype.reject=function(c){return this.filter(bl(Ne(c)))},Xe.prototype.slice=function(c,w){c=$e(c);var Y=this;return Y.__filtered__&&(c>0||w<0)?new Xe(Y):(c<0?Y=Y.takeRight(-c):c&&(Y=Y.drop(c)),w!==t&&(w=$e(w),Y=w<0?Y.dropRight(-w):Y.take(w-c)),Y)},Xe.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Xe.prototype.toArray=function(){return this.take(AA)},ci(Xe.prototype,function(c,w){var Y=/^(?:filter|find|map|reject)|While$/.test(w),oA=/^(?:head|last)$/.test(w),pA=EA[oA?"take"+(w=="last"?"Right":""):w],fA=oA||/^find/.test(w);pA&&(EA.prototype[w]=function(){var _A=this.__wrapped__,GA=oA?[1]:arguments,YA=_A instanceof Xe,te=GA[0],ne=YA||Te(_A),ce=function(We){var Ve=pA.apply(EA,Zn([We],GA));return oA&&we?Ve[0]:Ve};ne&&Y&&typeof te=="function"&&te.length!=1&&(YA=ne=!1);var we=this.__chain__,_e=!!this.__actions__.length,Fe=fA&&!we,Je=YA&&!_e;if(!fA&&ne){_A=Je?_A:new Xe(this);var Re=c.apply(_A,GA);return Re.__actions__.push({func:Ql,args:[ce],thisArg:t}),new Kn(Re,we)}return Fe&&Je?c.apply(this,GA):(Re=this.thru(ce),Fe?oA?Re.value()[0]:Re.value():Re)})}),un(["pop","push","shift","sort","splice","unshift"],function(c){var w=li[c],Y=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",oA=/^(?:pop|shift)$/.test(c);EA.prototype[c]=function(){var pA=arguments;if(oA&&!this.__chain__){var fA=this.value();return w.apply(Te(fA)?fA:[],pA)}return this[Y](function(_A){return w.apply(Te(_A)?_A:[],pA)})}}),ci(Xe.prototype,function(c,w){var Y=EA[w];if(Y){var oA=Y.name+"";lt.call(or,oA)||(or[oA]=[]),or[oA].push({name:w,func:Y})}}),or[ul(t,m).name]=[{name:"wrapper",func:t}],Xe.prototype.clone=XS,Xe.prototype.reverse=VS,Xe.prototype.value=A4,EA.prototype.at=_F,EA.prototype.chain=MF,EA.prototype.commit=xF,EA.prototype.next=SF,EA.prototype.plant=FF,EA.prototype.reverse=RF,EA.prototype.toJSON=EA.prototype.valueOf=EA.prototype.value=LF,EA.prototype.first=EA.prototype.head,ia&&(EA.prototype[ia]=NF),EA},Qe=De();fi?((fi.exports=Qe)._=Qe,Pn._=Qe):Rt._=Qe}).call(vo)}(ma,ma.exports);var ut=ma.exports;const Im=(n,e)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(e).join(","),"return "+t[1])(...Object.values(e))}catch{return n}else return n},kt=(n,e)=>ut.isString(n)?Im(n,e):ut.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:kt(n[i],e)}),{}):ut.isArray(n)?n.map(t=>kt(t,e)):n,ko=(n,e,t)=>{if(e===".")return t;const i=ut.cloneDeep(n),d=e.split(".");function f(o,b,D){if(b.length===1){o[b[0]]=D;return}const I=b[0],S=b[1];o[I]||(isNaN(Number(S))?o[I]={}:o[I]=[]),f(o[I],b.slice(1),D)}return f(i,d,t),i},Ea=(n,e="data")=>{if(e==="."||typeof e!="string")return n;const t=e.split(".");let i=n;for(const d of t)if(i&&typeof i=="object"&&d in i)i=i[d];else return;return i},Ni=n=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const d=Math.floor(Math.random()*e.length);t+=e.charAt(d)}return t};function wm(n){return/[.*+?^${}()|[\]\\]/.test(n)}function bm(n){const e=n.match(/^\/(.*)\/([gimsuy]*)$/);if(e){const t=e[1],i=e[2];return new RegExp(t,i)}return null}const wd=(n,e)=>n.filter(e).map(i=>i.children?{...i,children:wd(i.children,e)}:i),ln=(n,e)=>{var t,i,d,f,o,b,D,I,S,N,T;for(const O of n){if(O.name===e)return O;if((t=O.props)!=null&&t.btns&&Array.isArray((i=O.props)==null?void 0:i.btns)||(d=O.props)!=null&&d.rowBtns&&Array.isArray((f=O.props)==null?void 0:f.rowBtns)){const H=O.props.btns||O.props.rowBtns;for(const P of H){if(P.name===e||P.key===e)return P;if(P.component==="Popover"){if(Array.isArray(P.children)&&P.children.length>0){const v=ln(P.children,e);if(v)return v}if(Array.isArray((o=P==null?void 0:P.props)==null?void 0:o.children)&&((b=P==null?void 0:P.props)==null?void 0:b.children.length)>0){const v=ln(P.props.children,e);if(v)return v}}}}if(O.component==="Popover"){if(Array.isArray(O.children)&&O.children.length>0){const H=ln(O.children,e);if(H)return H}if(Array.isArray((D=O==null?void 0:O.props)==null?void 0:D.children)&&((I=O==null?void 0:O.props)==null?void 0:I.children.length)>0){const H=ln(O.props.children,e);if(H)return H}}if((S=O.props)!=null&&S.formSlots&&Array.isArray((N=O.props)==null?void 0:N.formSlots)){const H=ln((T=O.props)==null?void 0:T.formSlots,e);if(H)return H}if(O.children&&O.children.length>0){const H=ln(O.children,e);if(H)return H}}return null};/**
|
|
28
28
|
* @vue/shared v3.5.13
|
|
29
29
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
30
|
* @license MIT
|
|
@@ -77,7 +77,7 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
|
|
|
77
77
|
`+g)}u&&(_?_=u+_+`
|
|
78
78
|
`+l:_=u+l),v.print_newline(!1),_&&(m.text=_,m.whitespace_before="",m.newlines=0,v.add_raw_token(m),v.print_newline(!0))}},T.prototype._handle_tag_open=function(v,m,F,k,_){var B=this._get_tag_open_token(m);if((F.is_unformatted||F.is_content_unformatted)&&!F.is_empty_element&&m.type===i.TAG_OPEN&&!B.is_start_tag?(v.add_raw_token(m),B.start_tag_token=this._tag_stack.try_pop(B.tag_name)):(v.traverse_whitespace(m),this._set_tag_position(v,m,B,F,k),B.is_inline_element||v.set_wrap_point(),v.print_token(m)),B.is_start_tag&&this._is_wrap_attributes_force){var p=0,u;do u=_.peek(p),u.type===i.ATTRIBUTE&&(B.attr_count+=1),p+=1;while(u.type!==i.EOF&&u.type!==i.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(B.alignment_size=m.text.length+1),!B.tag_complete&&!B.is_unformatted&&(v.alignment_size=B.alignment_size),B};var O=function(v,m){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="",!m)this.tag_complete=!0;else{var F;this.tag_start_char=m.text[0],this.text=m.text,this.tag_start_char==="<"?(F=m.text.match(/^<([^\s>]*)/),this.tag_check=F?F[1]:""):(F=m.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=F?F[1]:"",(m.text.startsWith("{{#>")||m.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&m.next!==null?this.tag_check=m.next.text.split(" ")[0]:this.tag_check=m.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),m.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||m.closed&&m.closed.text==="/>";var k=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(k=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(k)))}};T.prototype._get_tag_open_token=function(v){var m=new O(this._tag_stack.get_parser_token(),v);return m.alignment_size=this._options.wrap_attributes_indent_size,m.is_end_tag=m.is_end_tag||I(m.tag_check,this._options.void_elements),m.is_empty_element=m.tag_complete||m.is_start_tag&&m.is_end_tag,m.is_unformatted=!m.tag_complete&&I(m.tag_check,this._options.unformatted),m.is_content_unformatted=!m.is_empty_element&&I(m.tag_check,this._options.content_unformatted),m.is_inline_element=I(m.tag_name,this._options.inline)||this._options.inline_custom_elements&&m.tag_name.includes("-")||m.tag_start_char==="{",m},T.prototype._set_tag_position=function(v,m,F,k,_){if(F.is_empty_element||(F.is_end_tag?F.start_tag_token=this._tag_stack.try_pop(F.tag_name):(this._do_optional_end_element(F)&&(F.is_inline_element||v.print_newline(!1)),this._tag_stack.record_tag(F),(F.tag_name==="script"||F.tag_name==="style")&&!(F.is_unformatted||F.is_content_unformatted)&&(F.custom_beautifier_name=D(F.tag_check,m)))),I(F.tag_check,this._options.extra_liners)&&(v.print_newline(!1),v._output.just_added_blankline()||v.print_newline(!0)),F.is_empty_element){if(F.tag_start_char==="{"&&F.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),F.indent_content=!0;var B=v.current_line_has_match(/{{#if/);B||v.print_newline(!1)}F.tag_name==="!--"&&_.type===i.TAG_CLOSE&&k.is_end_tag&&F.text.indexOf(`
|
|
79
79
|
`)===-1||(F.is_inline_element||F.is_unformatted||v.print_newline(!1),this._calcluate_parent_multiline(v,F))}else if(F.is_end_tag){var p=!1;p=F.start_tag_token&&F.start_tag_token.multiline_content,p=p||!F.is_inline_element&&!(k.is_inline_element||k.is_unformatted)&&!(_.type===i.TAG_CLOSE&&F.start_tag_token===k)&&_.type!=="TK_CONTENT",(F.is_content_unformatted||F.is_unformatted)&&(p=!1),p&&v.print_newline(!1)}else F.indent_content=!F.custom_beautifier_name,F.tag_start_char==="<"&&(F.tag_name==="html"?F.indent_content=this._options.indent_inner_html:F.tag_name==="head"?F.indent_content=this._options.indent_head_inner_html:F.tag_name==="body"&&(F.indent_content=this._options.indent_body_inner_html)),!(F.is_inline_element||F.is_unformatted)&&(_.type!=="TK_CONTENT"||F.is_content_unformatted)&&v.print_newline(!1),this._calcluate_parent_multiline(v,F)},T.prototype._calcluate_parent_multiline=function(v,m){m.parent&&v._output.just_added_newline()&&!((m.is_inline_element||m.is_unformatted)&&m.parent.is_inline_element)&&(m.parent.multiline_content=!0)};var H=["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"],P=["a","audio","del","ins","map","noscript","video"];return T.prototype._do_optional_end_element=function(v){var m=null;if(!(v.is_empty_element||!v.is_start_tag||!v.parent)){if(v.tag_name==="body")m=m||this._tag_stack.try_pop("head");else if(v.tag_name==="li")m=m||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(v.tag_name==="dd"||v.tag_name==="dt")m=m||this._tag_stack.try_pop("dt",["dl"]),m=m||this._tag_stack.try_pop("dd",["dl"]);else if(v.parent.tag_name==="p"&&H.indexOf(v.tag_name)!==-1){var F=v.parent.parent;(!F||P.indexOf(F.tag_name)===-1)&&(m=m||this._tag_stack.try_pop("p"))}else v.tag_name==="rp"||v.tag_name==="rt"?(m=m||this._tag_stack.try_pop("rt",["ruby","rtc"]),m=m||this._tag_stack.try_pop("rp",["ruby","rtc"])):v.tag_name==="optgroup"?m=m||this._tag_stack.try_pop("optgroup",["select"]):v.tag_name==="option"?m=m||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):v.tag_name==="colgroup"?m=m||this._tag_stack.try_pop("caption",["table"]):v.tag_name==="thead"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"])):v.tag_name==="tbody"||v.tag_name==="tfoot"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("thead",["table"]),m=m||this._tag_stack.try_pop("tbody",["table"])):v.tag_name==="tr"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(v.tag_name==="th"||v.tag_name==="td")&&(m=m||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),m=m||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return v.parent=this._tag_stack.get_parser_token(),m}},Ac.Beautifier=T,Ac}var _u;function _E(){if(_u)return xa.exports;_u=1;var n=kE().Beautifier,e=yu().Options;function t(i,d,f,o){var b=new n(i,d,f,o);return b.beautify()}return xa.exports=t,xa.exports.defaultOptions=function(){return new e},xa.exports}var Mu;function ME(){if(Mu)return pr;Mu=1;var n=yE(),e=vE(),t=_E();function i(d,f,o,b){return o=o||n,b=b||e,t(d,f,o,b)}return i.defaultOptions=t.defaultOptions,pr.js=n,pr.css=e,pr.html=i,pr}(function(n){function e(t,i,d){var f=function(o,b){return t.js_beautify(o,b)};return f.js=t.js_beautify,f.css=i.css_beautify,f.html=d.html_beautify,f.js_beautify=t.js_beautify,f.css_beautify=i.css_beautify,f.html_beautify=d.html_beautify,f}(function(t){var i=ME();i.js_beautify=i.js,i.css_beautify=i.css,i.html_beautify=i.html,t.exports=e(i,i,i)})(n)})(Au);var xE=Au.exports,SE=fE(xE),xu=function(){function n(e){var t=this;this.isDisabled=function(){var i=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],d=t.attributes().disabled!==void 0,f=ur(t.element)&&i.includes(t.element.tagName);return d&&f},this.wrapperElement=e}return Object.defineProperty(n.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),n.prototype.findAllDOMElements=function(e){var t=this.getRootNodes().filter(ur);if(t.length===0)return[];var i=Pd([],t.filter(function(d){return d.matches(e)}));return t.forEach(function(d){i.push.apply(i,Array.from(d.querySelectorAll(e)))}),i},n.prototype.find=function(e){if(typeof e=="object"&&"ref"in e){var t=this.getCurrentComponent();if(!t)return Fi("DOMWrapper");var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i instanceof Node?hr(i):Fi("DOMWrapper")}var d=this.findAll(e);return d.length>0?d[0]:Fi("DOMWrapper")},n.prototype.findComponent=function(e){var t=this.getCurrentComponent();if(!t)return Fi("VueWrapper");if(typeof e=="object"&&"ref"in e){var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i&&!(i instanceof HTMLElement)?Ll(null,i):Fi("VueWrapper")}if(qd(t.vnode,e)&&this.element.contains(t.vnode.el))return Ll(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var d=this.findAllComponents(e)[0];return d??Fi("VueWrapper")},n.prototype.findAllComponents=function(e){var t=this.getCurrentComponent();if(!t)return[];var i=BE(t.subTree,e);return i.map(function(d){return d.proxy?Ll(null,d.proxy):hr(d.vnode.el)})},n.prototype.html=function(e){var t=this.getRootNodes().map(function(i){return QE(i)});return e!=null&&e.raw?t.join(""):t.map(function(i){return SE.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(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),d=0,f=i;d<f.length;d++){var o=f[d];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(qm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xd(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(d){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=lE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),NE=function(n){Gd(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Kd.plugins.DOMWrapper.extend(i),i):Fi("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.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},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&AE(t)?this.element.contains(i.element)?i:Fi("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),hr):[]},e.prototype.findAllComponents=function(t){var i=this,d=n.prototype.findAllComponents.call(this,t);return d.filter(function(f){return i.element.contains(f.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,d;return t===void 0&&(t=!0),Fl(this,function(f){if(i=this.element,d=this.attributes().type,d==="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")])})})},e.prototype.setValue=function(t){var i=this.element,d=i.tagName,f=this.attributes().type;if(d==="OPTION")return this.setSelected(),Promise.resolve();if(d==="INPUT"&&f==="checkbox")return this.setChecked(t);if(d==="INPUT"&&f==="radio")return this.setChecked(t);if(d==="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(d==="INPUT"||d==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(d))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var d=new e(i);return d.trigger("input"),d.trigger("change")}},e}(xu);Vd(xo.DOMWrapper,function(n){return new NE(n)});function Na(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Na(e)}else{if(n.shapeFlag&128)return Na(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 d=n.children.flat();return d.flatMap(function(f){return Na(f)}).filter(Vm)}}return[]}var qi={};function FE(n,e){var t=n.$.uid,i=qi[t]||{};return e?i?i[e]:void 0:i}var RE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var d=i.uid;d in qi||(qi[d]={}),e in qi[d]||(qi[d][e]=[]),qi[d][e].push(t)},LE=function(n){var e=n.$.uid;delete qi[e]};function GE(n,e){return new Proxy(n,{get:function(t,i,d){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,d):i in e?Reflect.get(e,i,d):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,d):t.$.ctx[i]},set:function(t,i,d,f){return i in e?Reflect.set(e,i,d,f):Reflect.set(t,i,d,f)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,d){return i in e?Reflect.defineProperty(e,i,d):Reflect.defineProperty(t,i,d)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var PE=function(n){Gd(e,n);function e(t,i,d){var f=n.call(this,i==null?void 0:i.$el)||this;return f.cleanUpCallbacks=[],f.__app=t,f.rootVM=i==null?void 0:i.$root,eE(i)?f.componentVM=GE(i,i.$.setupState):f.componentVM=i,f.__setProps=d,f.attachNativeEventListener(),Kd.plugins.VueWrapper.extend(f),f}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var d;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((d=i.component)===null||d===void 0)&&d.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Na(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(hr)},e.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):[],d=this.getRootNodes().filter(function(N){return N instanceof Element});if(d.length===1)for(var f=d[0],o=function(N){if(i.includes(N))return"continue";var T=function(){for(var O=[],H=0;H<arguments.length;H++)O[H]=arguments[H];RE(t.$,N,O)};f.addEventListener(N,T),b.cleanUpCallbacks.push(function(){f.removeEventListener(N,T)})},b=this,D=0,I=Object.keys(Ud);D<I.length;D++){var S=I[D];o(S)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return FE(this.vm,t)},e.prototype.isVisible=function(){var t=hr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Td(this.componentVM.$data,t),A.nextTick()},e.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),A.nextTick()},e.prototype.setValue=function(t,i){var d=i||"modelValue";return this.vm.$emit("update:".concat(d),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");LE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(xu);Vd(xo.VueWrapper,function(n,e,t){return new PE(n,e,t)});var HE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return HE}),d=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(f){return[2]})})}});return this.custom?d:A.h("a",void 0,d)}}),typeof setImmediate=="function"&&setImmediate;const Xn=Symbol(),Su=Symbol(),Nu=Symbol(),Fu={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:"表单设置"}},table:{pollText:"定时刷新",pollUnit:"分钟"}},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"}},table:{pollText:"Refresh List per",pollUnit:"minutes"}}},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"}]}],KE=[{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"}],TE="vfc",je=(n="")=>`${TE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const d=tc(i.children,e);if(d)return d}return t},null),Ru=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Ru(t.children,e)}:t),Lu=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Ni(4)}`,name:Ni(8)};return e.children&&(t.children=Lu(e.children)),t}),Gu=(n,e)=>n.reduce((t,i)=>{var d;if(i.children?t.push({...i,children:Gu(i.children,e)}):t.push(i),i.designKey===e){const f={...ut.cloneDeep(i),designKey:`form-${Ni(4)}`,name:`${i.name}-${Ni(2)}`};i.children&&(f.children=Lu(i.children)),i.label&&!((d=f.label)!=null&&d.includes("copy"))&&(f.label=f.label+" copy"),t.push(f)}return t},[]),Pu=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Ni(4)}`,name:e.name||`form-${Ni(4)}`};return e.children&&(t.children=Pu(e.children)),t}),Et=()=>{const n=A.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 A.inject(Su,n)},UE=()=>{const{fetchOptionsFn:n}=A.inject(Xn);return n},Br=n=>{const e=Et(),t=UE(),i=A.ref([]),d=A.ref(!1);let f=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;d.value=!0;const S=++f;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(S!==f)return;const T=n.defaultOptions||[];if(i.value=[...T,...N],n.filters&&(i.value=i.value.filter(P=>Array.isArray(n.filters)?!n.filters.includes(P[n.valueKey||"value"]):!0)),n.name){const P=ln(e.schema.items,n.name);P&&P.props&&(P.props.options=i.value)}const O=e.formValues[n.name],H=i.value.findIndex(P=>P[n.valueKey||"value"]===O)!==-1;if(n.refreshFlag&&i.value.length>0&&!H){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const P=ln(e.schema.items,n.name);P&&P.props&&(P.props.refreshFlag=!1)}}finally{d.value=!1}},300);A.onMounted(()=>{const{mode:S,options:N=[]}=n;S==="static"&&(i.value=N),S==="remote"&&o()}),A.watch(()=>n.apiParams,(S,N)=>{ut.isEqual(S,N)||(i.value=[],o())}),A.watch(()=>n.options,(S=[])=>{n.mode==="static"&&(i.value=S)}),A.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)A.watch(()=>e.formValues[S],(N,T)=>{o()});return{selectChange:S=>{const{valueKey:N="value",multiple:T,name:O}=n;let H={};T&&Array.isArray(S)?H=i.value.filter(P=>S.includes(P[N])):H=i.value.find(P=>P[N]===S)||{},e.selectData&&O&&e.updateSelectData(O,H)},currentOptions:i,loading:d,fetchData:o}};function nc(){const n=A.inject(Xn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function Vn(){const n=nc();return A.computed(()=>Fu[(n==null?void 0:n.value)||"en"])}const oe=(n,e)=>{const t=n.__vccOpts||n;for(const[i,d]of e)t[i]=d;return t},YE={},OE={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 $E(n,e){return A.openBlock(),A.createElementBlock("svg",OE,e[0]||(e[0]=[A.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),A.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),A.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 zE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(YE,[["render",$E]])},Symbol.toStringTag,{value:"Module"})),JE={},ZE={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 WE(n,e){return A.openBlock(),A.createElementBlock("svg",ZE,e[0]||(e[0]=[A.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),A.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),A.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 jE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(JE,[["render",WE]])},Symbol.toStringTag,{value:"Module"})),qE={},XE={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 VE(n,e){return A.openBlock(),A.createElementBlock("svg",XE,e[0]||(e[0]=[A.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 AQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(qE,[["render",VE]])},Symbol.toStringTag,{value:"Module"})),eQ={},tQ={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 nQ(n,e){return A.openBlock(),A.createElementBlock("svg",tQ,e[0]||(e[0]=[A.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),A.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 iQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(eQ,[["render",nQ]])},Symbol.toStringTag,{value:"Module"})),oQ={},rQ={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 aQ(n,e){return A.openBlock(),A.createElementBlock("svg",rQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.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),A.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 sQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(oQ,[["render",aQ]])},Symbol.toStringTag,{value:"Module"})),lQ={},cQ={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 gQ(n,e){return A.openBlock(),A.createElementBlock("svg",cQ,e[0]||(e[0]=[A.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),A.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 dQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(lQ,[["render",gQ]])},Symbol.toStringTag,{value:"Module"})),uQ={},hQ={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 pQ(n,e){return A.openBlock(),A.createElementBlock("svg",hQ,e[0]||(e[0]=[A.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 CQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(uQ,[["render",pQ]])},Symbol.toStringTag,{value:"Module"})),BQ={},mQ={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 EQ(n,e){return A.openBlock(),A.createElementBlock("svg",mQ,e[0]||(e[0]=[A.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),A.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),A.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 QQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(BQ,[["render",EQ]])},Symbol.toStringTag,{value:"Module"})),fQ={},IQ={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 wQ(n,e){return A.openBlock(),A.createElementBlock("svg",IQ,e[0]||(e[0]=[A.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),A.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 bQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(fQ,[["render",wQ]])},Symbol.toStringTag,{value:"Module"})),yQ={},DQ={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 vQ(n,e){return A.openBlock(),A.createElementBlock("svg",DQ,e[0]||(e[0]=[A.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 kQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(yQ,[["render",vQ]])},Symbol.toStringTag,{value:"Module"})),_Q={},MQ={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 xQ(n,e){return A.openBlock(),A.createElementBlock("svg",MQ,e[0]||(e[0]=[A.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 SQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(_Q,[["render",xQ]])},Symbol.toStringTag,{value:"Module"})),NQ={},FQ={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 RQ(n,e){return A.openBlock(),A.createElementBlock("svg",FQ,e[0]||(e[0]=[A.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 LQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(NQ,[["render",RQ]])},Symbol.toStringTag,{value:"Module"})),GQ={},PQ={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 HQ(n,e){return A.openBlock(),A.createElementBlock("svg",PQ,e[0]||(e[0]=[A.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),A.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),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const KQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(GQ,[["render",HQ]])},Symbol.toStringTag,{value:"Module"})),TQ={},UQ={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 YQ(n,e){return A.openBlock(),A.createElementBlock("svg",UQ,e[0]||(e[0]=[A.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),A.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),A.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),A.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 OQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TQ,[["render",YQ]])},Symbol.toStringTag,{value:"Module"})),$Q={},zQ={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 JQ(n,e){return A.openBlock(),A.createElementBlock("svg",zQ,e[0]||(e[0]=[A.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),A.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),A.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),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const ZQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe($Q,[["render",JQ]])},Symbol.toStringTag,{value:"Module"})),WQ={},jQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function qQ(n,e){return A.openBlock(),A.createElementBlock("svg",jQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const XQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WQ,[["render",qQ]])},Symbol.toStringTag,{value:"Module"})),VQ={},Af={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 ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.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),A.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 tf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VQ,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={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 rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.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 af=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={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 cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.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 gf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),df={},uf={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 hf(n,e){return A.openBlock(),A.createElementBlock("svg",uf,e[0]||(e[0]=[A.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 pf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(df,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={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 mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.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 Ef=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},ff={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 If(n,e){return A.openBlock(),A.createElementBlock("svg",ff,e[0]||(e[0]=[A.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 wf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qf,[["render",If]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={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 Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.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 vf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={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 Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.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 xf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Nf={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 Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.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 Rf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Sf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={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 Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.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 Hf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={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 Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.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 Yf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={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 zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.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 Jf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={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 jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.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),A.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 qf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={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 AI(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.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 eI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xf,[["render",AI]])},Symbol.toStringTag,{value:"Module"})),tI={},nI={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 iI(n,e){return A.openBlock(),A.createElementBlock("svg",nI,e[0]||(e[0]=[A.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 oI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(tI,[["render",iI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={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 sI(n,e){return A.openBlock(),A.createElementBlock("svg",aI,e[0]||(e[0]=[A.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 lI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(rI,[["render",sI]])},Symbol.toStringTag,{value:"Module"})),cI={},gI={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 dI(n,e){return A.openBlock(),A.createElementBlock("svg",gI,e[0]||(e[0]=[A.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 uI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(cI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),hI={},pI={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 CI(n,e){return A.openBlock(),A.createElementBlock("svg",pI,e[0]||(e[0]=[A.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 BI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(hI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),mI={},EI={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 QI(n,e){return A.openBlock(),A.createElementBlock("svg",EI,e[0]||(e[0]=[A.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),A.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 fI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(mI,[["render",QI]])},Symbol.toStringTag,{value:"Module"})),II={},wI={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 bI(n,e){return A.openBlock(),A.createElementBlock("svg",wI,e[0]||(e[0]=[A.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 yI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(II,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),DI={},vI={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 kI(n,e){return A.openBlock(),A.createElementBlock("svg",vI,e[0]||(e[0]=[A.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),A.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 _I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(DI,[["render",kI]])},Symbol.toStringTag,{value:"Module"})),MI={},xI={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 SI(n,e){return A.openBlock(),A.createElementBlock("svg",xI,e[0]||(e[0]=[A.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 NI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(MI,[["render",SI]])},Symbol.toStringTag,{value:"Module"})),FI={},RI={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 LI(n,e){return A.openBlock(),A.createElementBlock("svg",RI,e[0]||(e[0]=[A.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 GI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(FI,[["render",LI]])},Symbol.toStringTag,{value:"Module"})),PI={},HI={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 KI(n,e){return A.openBlock(),A.createElementBlock("svg",HI,e[0]||(e[0]=[A.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),A.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 TI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(PI,[["render",KI]])},Symbol.toStringTag,{value:"Module"})),UI={},YI={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 OI(n,e){return A.openBlock(),A.createElementBlock("svg",YI,e[0]||(e[0]=[A.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 $I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(UI,[["render",OI]])},Symbol.toStringTag,{value:"Module"})),zI={},JI={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 ZI(n,e){return A.openBlock(),A.createElementBlock("svg",JI,e[0]||(e[0]=[A.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 WI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(zI,[["render",ZI]])},Symbol.toStringTag,{value:"Module"})),jI={},qI={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 XI(n,e){return A.openBlock(),A.createElementBlock("svg",qI,e[0]||(e[0]=[A.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 VI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(jI,[["render",XI]])},Symbol.toStringTag,{value:"Module"})),Aw={},ew={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 tw(n,e){return A.openBlock(),A.createElementBlock("svg",ew,e[0]||(e[0]=[A.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 nw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Aw,[["render",tw]])},Symbol.toStringTag,{value:"Module"})),iw={},ow={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 rw(n,e){return A.openBlock(),A.createElementBlock("svg",ow,e[0]||(e[0]=[A.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),A.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 aw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(iw,[["render",rw]])},Symbol.toStringTag,{value:"Module"})),sw={},lw={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 cw(n,e){return A.openBlock(),A.createElementBlock("svg",lw,e[0]||(e[0]=[A.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 gw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sw,[["render",cw]])},Symbol.toStringTag,{value:"Module"})),dw={},uw={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 hw(n,e){return A.openBlock(),A.createElementBlock("svg",uw,e[0]||(e[0]=[A.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),A.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 pw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(dw,[["render",hw]])},Symbol.toStringTag,{value:"Module"})),Cw={},Bw={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 mw(n,e){return A.openBlock(),A.createElementBlock("svg",Bw,e[0]||(e[0]=[A.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),A.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),A.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 Ew=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cw,[["render",mw]])},Symbol.toStringTag,{value:"Module"})),Qw={},fw={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 Iw(n,e){return A.openBlock(),A.createElementBlock("svg",fw,e[0]||(e[0]=[A.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),A.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),A.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),A.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 ww=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qw,[["render",Iw]])},Symbol.toStringTag,{value:"Module"})),bw={},yw={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 Dw(n,e){return A.openBlock(),A.createElementBlock("svg",yw,e[0]||(e[0]=[A.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),A.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 vw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bw,[["render",Dw]])},Symbol.toStringTag,{value:"Module"})),kw={},_w={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 Mw(n,e){return A.openBlock(),A.createElementBlock("svg",_w,e[0]||(e[0]=[A.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),A.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),A.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 xw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kw,[["render",Mw]])},Symbol.toStringTag,{value:"Module"})),Sw={},Nw={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 Fw(n,e){return A.openBlock(),A.createElementBlock("svg",Nw,e[0]||(e[0]=[A.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),A.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),A.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 Rw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Sw,[["render",Fw]])},Symbol.toStringTag,{value:"Module"})),Lw={},Gw={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 Pw(n,e){return A.openBlock(),A.createElementBlock("svg",Gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Hw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lw,[["render",Pw]])},Symbol.toStringTag,{value:"Module"})),Kw={},Tw={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 Uw(n,e){return A.openBlock(),A.createElementBlock("svg",Tw,e[0]||(e[0]=[A.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 Yw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kw,[["render",Uw]])},Symbol.toStringTag,{value:"Module"})),Ow={},$w={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 zw(n,e){return A.openBlock(),A.createElementBlock("svg",$w,e[0]||(e[0]=[A.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 Jw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Ow,[["render",zw]])},Symbol.toStringTag,{value:"Module"})),Zw={},Ww={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 jw(n,e){return A.openBlock(),A.createElementBlock("svg",Ww,e[0]||(e[0]=[A.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 qw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zw,[["render",jw]])},Symbol.toStringTag,{value:"Module"})),Xw={},Vw={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 A0(n,e){return A.openBlock(),A.createElementBlock("svg",Vw,e[0]||(e[0]=[A.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),A.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 e0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xw,[["render",A0]])},Symbol.toStringTag,{value:"Module"})),t0={},n0={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 i0(n,e){return A.openBlock(),A.createElementBlock("svg",n0,e[0]||(e[0]=[A.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),A.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),A.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 o0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(t0,[["render",i0]])},Symbol.toStringTag,{value:"Module"})),r0={},a0={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 s0(n,e){return A.openBlock(),A.createElementBlock("svg",a0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.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),A.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),A.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 l0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(r0,[["render",s0]])},Symbol.toStringTag,{value:"Module"})),c0={},g0={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 d0(n,e){return A.openBlock(),A.createElementBlock("svg",g0,e[0]||(e[0]=[A.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 u0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(c0,[["render",d0]])},Symbol.toStringTag,{value:"Module"})),fe=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":zE,"./icons/alert.vue":jE,"./icons/barChart.vue":AQ,"./icons/button.vue":iQ,"./icons/card.vue":sQ,"./icons/cascader.vue":dQ,"./icons/checkbox.vue":CQ,"./icons/clear.vue":QQ,"./icons/collapse.vue":bQ,"./icons/colorPicker.vue":kQ,"./icons/copy.vue":SQ,"./icons/custom.vue":LQ,"./icons/datePicker.vue":KQ,"./icons/delete.vue":OQ,"./icons/design.vue":ZQ,"./icons/divider.vue":XQ,"./icons/document.vue":tf,"./icons/dropdown.vue":af,"./icons/esign.vue":gf,"./icons/eye.vue":pf,"./icons/formList.vue":Ef,"./icons/github.vue":wf,"./icons/grid.vue":vf,"./icons/help.vue":xf,"./icons/hidden.vue":Rf,"./icons/icon.vue":Hf,"./icons/inline.vue":Yf,"./icons/input.vue":Jf,"./icons/inputNumber.vue":qf,"./icons/itemGroup.vue":eI,"./icons/jsonEdit.vue":oI,"./icons/library.vue":lI,"./icons/markdown.vue":uI,"./icons/move.vue":BI,"./icons/password.vue":fI,"./icons/pieChart.vue":yI,"./icons/radio.vue":_I,"./icons/rate.vue":NI,"./icons/reduce.vue":GI,"./icons/rich.vue":TI,"./icons/save.vue":$I,"./icons/script.vue":WI,"./icons/search.vue":VI,"./icons/searchSelect.vue":nw,"./icons/select.vue":aw,"./icons/slider.vue":gw,"./icons/switch.vue":pw,"./icons/tableEmpty.vue":Ew,"./icons/tabs.vue":ww,"./icons/tag.vue":vw,"./icons/text.vue":xw,"./icons/textarea.vue":Rw,"./icons/title.vue":Hw,"./icons/transfer.vue":Yw,"./icons/trash.vue":Jw,"./icons/tree.vue":qw,"./icons/upload.vue":e0,"./icons/uploadImage.vue":o0,"./icons/verifyCode.vue":l0,"./icons/vue.vue":u0})).reduce((i,[d,f])=>{const o=d.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=f.default,i},{});return(i,d)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),h0={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"}]},p0=oe(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let Xi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},ic=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function C0(){return 2147483648}function B0(){return typeof performance<"u"?performance.now():Date.now()}const m0=(n,e)=>n+(e-n%e)%e;async function E0(n){let e,t;const i={};function d(O){t=O,i.HEAPU8=new Uint8Array(O),i.HEAPU32=new Uint32Array(O)}function f(O,H,P){i.HEAPU8.copyWithin(O,H,H+P)}function o(O){try{return e.grow(O-t.byteLength+65535>>>16),d(e.buffer),1}catch{}}function b(O){const H=i.HEAPU8.length;O=O>>>0;const P=C0();if(O>P)return!1;for(let v=1;v<=4;v*=2){let m=H*(1+.2/v);m=Math.min(m,O+100663296);const F=Math.min(P,m0(Math.max(O,m),65536));if(o(F))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function I(O,H,P=1024){const v=H+P;let m=H;for(;O[m]&&!(m>=v);)++m;if(m-H>16&&O.buffer&&D)return D.decode(O.subarray(H,m));let F="";for(;H<m;){let k=O[H++];if(!(k&128)){F+=String.fromCharCode(k);continue}const _=O[H++]&63;if((k&224)===192){F+=String.fromCharCode((k&31)<<6|_);continue}const B=O[H++]&63;if((k&240)===224?k=(k&15)<<12|_<<6|B:k=(k&7)<<18|_<<12|B<<6|O[H++]&63,k<65536)F+=String.fromCharCode(k);else{const p=k-65536;F+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return F}function S(O,H){return O?I(i.HEAPU8,O,H):""}const N={emscripten_get_now:B0,emscripten_memcpy_big:f,emscripten_resize_heap:b,fd_write:()=>0};async function T(){const H=await n({env:N,wasi_snapshot_preview1:N});e=H.memory,d(e.buffer),Object.assign(i,H),i.UTF8ToString=S}return await T(),i}let Gt=null;function Q0(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Ra{constructor(e){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=e.length,i=Ra._utf8ByteLength(e),d=i!==t,f=d?new Uint32Array(t+1):null;d&&(f[t]=i);const o=d?new Uint32Array(i+1):null;d&&(o[i]=t);const b=new Uint8Array(i);let D=0;for(let I=0;I<t;I++){const S=e.charCodeAt(I);let N=S,T=!1;if(S>=55296&&S<=56319&&I+1<t){const O=e.charCodeAt(I+1);O>=56320&&O<=57343&&(N=(S-55296<<10)+65536|O-56320,T=!0)}d&&(f[I]=D,T&&(f[I+1]=D),N<=127?o[D+0]=I:N<=2047?(o[D+0]=I,o[D+1]=I):N<=65535?(o[D+0]=I,o[D+1]=I,o[D+2]=I):(o[D+0]=I,o[D+1]=I,o[D+2]=I,o[D+3]=I)),N<=127?b[D++]=N:N<=2047?(b[D++]=192|(N&1984)>>>6,b[D++]=128|(N&63)>>>0):N<=65535?(b[D++]=224|(N&61440)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0):(b[D++]=240|(N&1835008)>>>18,b[D++]=128|(N&258048)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0),T&&I++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=f,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,d=e.length;i<d;i++){const f=e.charCodeAt(i);let o=f,b=!1;if(f>=55296&&f<=56319&&i+1<d){const D=e.charCodeAt(i+1);D>=56320&&D<=57343&&(o=(f-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(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const gn=class gn{constructor(e){Bt(this,"id",++gn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Gt,this.content=e;const t=new Ra(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!gn._sharedPtrInUse?(gn._sharedPtr||(gn._sharedPtr=Gt.omalloc(1e4)),gn._sharedPtrInUse=!0,Gt.HEAPU8.set(t.utf8Value,gn._sharedPtr),this.ptr=gn._sharedPtr):this.ptr=t.createString(Gt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===gn._sharedPtr?gn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(gn,"LAST_ID",0),Bt(gn,"_sharedPtr",0),Bt(gn,"_sharedPtrInUse",!1);let La=gn;class f0{constructor(e){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=e.length;b<D;b++){const I=new Ra(e[b]);t[b]=I.createString(Gt),i[b]=I.utf8Length}const d=Gt.omalloc(4*e.length);Gt.HEAPU32.set(t,d/4);const f=Gt.omalloc(4*e.length);Gt.HEAPU32.set(i,f/4);const o=Gt.createOnigScanner(d,f,e.length);for(let b=0,D=e.length;b<D;b++)Gt.ofree(t[b]);Gt.ofree(f),Gt.ofree(d),o===0&&Q0(Gt),this._onigBinding=Gt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let d=0;if(typeof i=="number"&&(d=i),typeof e=="string"){e=new La(e);const f=this._findNextMatchSync(e,t,!1,d);return e.dispose(),f}return this._findNextMatchSync(e,t,!1,d)}_findNextMatchSync(e,t,i,d){const f=this._onigBinding,o=f.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),d);if(o===0)return null;const b=f.HEAPU32;let D=o/4;const I=b[D++],S=b[D++],N=[];for(let T=0;T<S;T++){const O=e.convertUtf8OffsetToUtf16(b[D++]),H=e.convertUtf8OffsetToUtf16(b[D++]);N[T]={start:O,end:H,length:H-O}}return{index:I,captureIndices:N}}}function I0(n){return typeof n.instantiator=="function"}function w0(n){return typeof n.default=="function"}function b0(n){return typeof n.data<"u"}function y0(n){return typeof Response<"u"&&n instanceof Response}function D0(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ga;function v0(n){if(Ga)return Ga;async function e(){Gt=await E0(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),I0(i)?i=await i.instantiator(t):w0(i)?i=await i.default(t):(b0(i)&&(i=i.data),y0(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await k0(i)(t):i=await _0(i)(t):D0(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 Ga=e(),Ga}function oc(n){return e=>WebAssembly.instantiate(n,e)}function k0(n){return e=>WebAssembly.instantiateStreaming(n,e)}function _0(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let M0;function x0(){return M0}async function S0(n){return n&&await v0(n),{createScanner(e){return new f0(e)},createString(e){return new La(e)}}}function N0(n){return rc(n)}function rc(n){return Array.isArray(n)?F0(n):typeof n=="object"?R0(n):n}function F0(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=rc(n[t]);return e}function R0(n){let e={};for(let t in n)e[t]=rc(n[t]);return e}function Hu(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Ku(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Ku(n.substring(0,n.length-1)):n.substr(~e+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Pa=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,e,t){return n.replace(ac,(i,d,f,o)=>{let b=t[parseInt(d||f,10)];if(b){let D=e.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 Tu(n,e){return n<e?-1:n>e?1:0}function Uu(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let d=0;d<t;d++){let f=Tu(n[d],e[d]);if(f!==0)return f}return 0}return t-i}function Yu(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 Ou(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $u=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Ha=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new $u(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(P0(n),e)}static createFromParsedTheme(n,e){return K0(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(d=>L0(n.parent,d.parentScopes));return i?new zu(i.fontStyle,i.foreground,i.background):null}},sc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function L0(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],d=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],d=!0}for(;n&&!G0(n.scopeName,i);){if(d)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function G0(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zu=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function P0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let d=0,f=e.length;d<f;d++){let o=e[d];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let N=o.settings.fontStyle.split(" ");for(let T=0,O=N.length;T<O;T++)switch(N[T]){case"italic":D=D|1;break;case"bold":D=D|2;break;case"underline":D=D|4;break;case"strikethrough":D=D|8;break}}let I=null;typeof o.settings.foreground=="string"&&Yu(o.settings.foreground)&&(I=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Yu(o.settings.background)&&(S=o.settings.background);for(let N=0,T=b.length;N<T;N++){let H=b[N].trim().split(" "),P=H[H.length-1],v=null;H.length>1&&(v=H.slice(0,H.length-1),v.reverse()),t[i++]=new H0(P,v,d,D,I,S)}}return t}var H0=class{constructor(n,e,t,i,d,f){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=d,this.background=f}},hi=(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))(hi||{});function K0(n,e){n.sort((D,I)=>{let S=Tu(D.scope,I.scope);return S!==0||(S=Uu(D.parentScopes,I.parentScopes),S!==0)?S:D.index-I.index});let t=0,i="#000000",d="#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&&(d=D.background)}let f=new T0(e),o=new zu(t,f.getId(i),f.getId(d)),b=new Y0(new lc(0,null,-1,0,0),[]);for(let D=0,I=n.length;D<I;D++){let S=n[D];b.insert(0,S.scope,S.parentScopes,S.fontStyle,f.getId(S.foreground),f.getId(S.background))}return new Ha(f,o,b)}var T0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},U0=Object.freeze([]),lc=class mm{constructor(e,t,i,d,f){this.scopeDepth=e,this.parentScopes=t||U0,this.fontStyle=i,this.foreground=d,this.background=f}clone(){return new mm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,d=e.length;i<d;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,d){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),d!==0&&(this.background=d)}},Y0=class Qd{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,d=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[d]===">"&&d++,!(i>=e.parentScopes.length||d>=t.parentScopes.length);){const f=t.parentScopes[d].length-e.parentScopes[i].length;if(f!==0)return f;i++,d++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),d,f;if(i===-1?(d=e,f=""):(d=e.substring(0,i),f=e.substring(i+1)),this._children.hasOwnProperty(d))return this._children[d].match(f)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qd._cmpBySpecificity),t}insert(e,t,i,d,f,o){if(t===""){this._doInsertHere(e,i,d,f,o);return}let b=t.indexOf("."),D,I;b===-1?(D=t,I=""):(D=t.substring(0,b),I=t.substring(b+1));let S;this._children.hasOwnProperty(D)?S=this._children[D]:(S=new Qd(this._mainRule.clone(),lc.cloneArr(this._rulesWithParentScopes)),this._children[D]=S),S.insert(e+1,I,i,d,f,o)}_doInsertHere(e,t,i,d,f){if(t===null){this._mainRule.acceptOverwrite(e,i,d,f);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let D=this._rulesWithParentScopes[o];if(Uu(D.parentScopes,t)===0){D.acceptOverwrite(e,i,d,f);return}}i===-1&&(i=this._mainRule.fontStyle),d===0&&(d=this._mainRule.foreground),f===0&&(f=this._mainRule.background),this._rulesWithParentScopes.push(new lc(e,t,i,d,f))}},No=class On{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=On.getLanguageId(e),i=On.getTokenType(e),d=On.getFontStyle(e),f=On.getForeground(e),o=On.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:d,foreground:f,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,d,f,o,b){let D=On.getLanguageId(e),I=On.getTokenType(e),S=On.containsBalancedBrackets(e)?1:0,N=On.getFontStyle(e),T=On.getForeground(e),O=On.getBackground(e);return t!==0&&(D=t),i!==8&&(I=i),d!==null&&(S=d?1:0),f!==-1&&(N=f),o!==0&&(T=o),b!==0&&(O=b),(D<<0|I<<8|S<<10|N<<11|T<<15|O<<24)>>>0}};function aP(n){return n}function sP(n){return n}function Ka(n,e){const t=[],i=O0(n);let d=i.next();for(;d!==null;){let D=0;if(d.length===2&&d.charAt(1)===":"){switch(d.charAt(0)){case"R":D=1;break;case"L":D=-1;break;default:console.log(`Unknown priority ${d} in scope selector`)}d=i.next()}let I=o();if(t.push({matcher:I,priority:D}),d!==",")break;d=i.next()}return t;function f(){if(d==="-"){d=i.next();const D=f();return I=>!!D&&!D(I)}if(d==="("){d=i.next();const D=b();return d===")"&&(d=i.next()),D}if(Ju(d)){const D=[];do D.push(d),d=i.next();while(Ju(d));return I=>e(D,I)}return null}function o(){const D=[];let I=f();for(;I;)D.push(I),I=f();return S=>D.every(N=>N(S))}function b(){const D=[];let I=o();for(;I&&(D.push(I),d==="|"||d===",");){do d=i.next();while(d==="|"||d===",");I=o()}return S=>D.some(N=>N(S))}}function Ju(n){return!!n&&!!n.match(/[\w\.:]+/)}function O0(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Zu(n){typeof n.dispose=="function"&&n.dispose()}var mr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},$0=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},z0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},J0=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new mr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new z0;for(const t of n)Z0(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof mr){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 Z0(n,e,t,i){const d=t.lookup(n.scopeName);if(!d){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const f=t.lookup(e);n instanceof mr?Ta({baseGrammar:f,selfGrammar:d},i):cc(n.ruleName,{baseGrammar:f,selfGrammar:d,repository:d.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new mr(b))}function cc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ua([i],e,t)}}function Ta(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ua(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ua(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ua(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const d=i.repository?Hu({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ua(i.patterns,{...e,repository:d},t);const f=i.include;if(!f)continue;const o=Wu(f);switch(o.kind){case 0:Ta({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ta(e,t);break;case 2:cc(o.ruleName,{...e,repository:d},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const D={baseGrammar:e.baseGrammar,selfGrammar:b,repository:d};o.kind===4?cc(o.ruleName,D,t):Ta(D,t)}else o.kind===4?t.add(new $0(o.scopeName,o.ruleName)):t.add(new mr(o.scopeName));break}}}var W0=class{constructor(){this.kind=0}},j0=class{constructor(){this.kind=1}},q0=class{constructor(n){this.ruleName=n,this.kind=2}},X0=class{constructor(n){this.scopeName=n,this.kind=3}},V0=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function Wu(n){if(n==="$base")return new W0;if(n==="$self")return new j0;const e=n.indexOf("#");if(e===-1)return new X0(n);if(e===0)return new q0(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new V0(t,i)}}var Ab=/\\(\d+)/,ju=/\\(\d+)/g,eb=-1,qu=-2;function lP(n){return n}function cP(n){return n}var Er=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Pa.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Pa.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Ku(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Pa.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Pa.replaceCaptures(this._contentName,n,e)}},tb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.retokenizeCapturedWithRuleId=d}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},nb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,null),this._match=new Qr(i,this.id),this.captures=d,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xu=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends Er{constructor(n,e,t,i,d,f,o,b,D,I){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this._end=new Qr(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=D||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.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,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;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,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ya=class extends Er{constructor(n,e,t,i,d,f,o,b,D){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this.whileCaptures=b,this._while=new Qr(o,qu),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,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new fr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||""),this._cachedCompiledWhilePatterns}},Vu=class Jt{static createCaptureRule(e,t,i,d,f){return e.registerRule(o=>new tb(t,o,i,d,f))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(d=>{if(e.id=d,e.match)return new nb(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Hu({},i,e.repository));let f=e.patterns;return typeof f>"u"&&e.include&&(f=[{include:e.include}]),new Xu(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(f,t,i))}return e.while?new Ya(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new gc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let d=[];if(e){let f=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>f&&(f=b)}for(let o=0;o<=f;o++)d[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let D=0;e[o].patterns&&(D=Jt.getCompiledRuleId(e[o],t,i)),d[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,D)}}return d}static _compilePatterns(e,t,i){let d=[];if(e)for(let f=0,o=e.length;f<o;f++){const b=e[f];let D=-1;if(b.include){const I=Wu(b.include);switch(I.kind){case 0:case 1:D=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[I.ruleName];S&&(D=Jt.getCompiledRuleId(S,t,i));break;case 3:case 4:const N=I.scopeName,T=I.kind===4?I.ruleName:null,O=t.getExternalGrammar(N,i);if(O)if(T){let H=O.repository[T];H&&(D=Jt.getCompiledRuleId(H,t,O.repository))}else D=Jt.getCompiledRuleId(O.repository.$self,t,O.repository);break}}else D=Jt.getCompiledRuleId(b,t,i);if(D!==-1){const I=t.getRule(D);let S=!1;if((I instanceof Xu||I instanceof gc||I instanceof Ya)&&I.hasMissingPatterns&&I.patterns.length===0&&(S=!0),S)continue;d.push(D)}}return{patterns:d,hasMissingPatterns:(e?e.length:0)!==d.length}}},Qr=class Em{constructor(e,t){if(e){const i=e.length;let d=0,f=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const I=e.charAt(b+1);I==="z"?(f.push(e.substring(d,b)),f.push("$(?!\\n)(?<!\\n)"),d=b+2):(I==="A"||I==="G")&&(o=!0),b++}this.hasAnchor=o,d===0?this.source=e:(f.push(e.substring(d,i)),this.source=f.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=Ab.test(this.source)}clone(){return new Em(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(d=>e.substring(d.start,d.end));return ju.lastIndex=0,this.source.replace(ju,(d,f)=>Ou(i[parseInt(f,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],d=[],f,o,b,D;for(f=0,o=this.source.length;f<o;f++)b=this.source.charAt(f),e[f]=b,t[f]=b,i[f]=b,d[f]=b,b==="\\"&&f+1<o&&(D=this.source.charAt(f+1),D==="A"?(e[f+1]="",t[f+1]="",i[f+1]="A",d[f+1]="A"):D==="G"?(e[f+1]="",t[f+1]="G",i[f+1]="",d[f+1]="G"):(e[f+1]=D,t[f+1]=D,i[f+1]=D,d[f+1]=D),f++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:d.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},fr=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,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new Ah(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(d=>d.resolveAnchors(e,t));return new Ah(n,i,this._items.map(d=>d.ruleId))}},Ah=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
80
|
+
`)},n.prototype.classes=function(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),d=0,f=i;d<f.length;d++){var o=f[d];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(qm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xd(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(d){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=lE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),NE=function(n){Gd(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Kd.plugins.DOMWrapper.extend(i),i):Fi("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.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},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&AE(t)?this.element.contains(i.element)?i:Fi("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),hr):[]},e.prototype.findAllComponents=function(t){var i=this,d=n.prototype.findAllComponents.call(this,t);return d.filter(function(f){return i.element.contains(f.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,d;return t===void 0&&(t=!0),Fl(this,function(f){if(i=this.element,d=this.attributes().type,d==="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")])})})},e.prototype.setValue=function(t){var i=this.element,d=i.tagName,f=this.attributes().type;if(d==="OPTION")return this.setSelected(),Promise.resolve();if(d==="INPUT"&&f==="checkbox")return this.setChecked(t);if(d==="INPUT"&&f==="radio")return this.setChecked(t);if(d==="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(d==="INPUT"||d==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(d))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var d=new e(i);return d.trigger("input"),d.trigger("change")}},e}(xu);Vd(xo.DOMWrapper,function(n){return new NE(n)});function Na(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Na(e)}else{if(n.shapeFlag&128)return Na(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 d=n.children.flat();return d.flatMap(function(f){return Na(f)}).filter(Vm)}}return[]}var qi={};function FE(n,e){var t=n.$.uid,i=qi[t]||{};return e?i?i[e]:void 0:i}var RE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var d=i.uid;d in qi||(qi[d]={}),e in qi[d]||(qi[d][e]=[]),qi[d][e].push(t)},LE=function(n){var e=n.$.uid;delete qi[e]};function GE(n,e){return new Proxy(n,{get:function(t,i,d){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,d):i in e?Reflect.get(e,i,d):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,d):t.$.ctx[i]},set:function(t,i,d,f){return i in e?Reflect.set(e,i,d,f):Reflect.set(t,i,d,f)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,d){return i in e?Reflect.defineProperty(e,i,d):Reflect.defineProperty(t,i,d)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var PE=function(n){Gd(e,n);function e(t,i,d){var f=n.call(this,i==null?void 0:i.$el)||this;return f.cleanUpCallbacks=[],f.__app=t,f.rootVM=i==null?void 0:i.$root,eE(i)?f.componentVM=GE(i,i.$.setupState):f.componentVM=i,f.__setProps=d,f.attachNativeEventListener(),Kd.plugins.VueWrapper.extend(f),f}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var d;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((d=i.component)===null||d===void 0)&&d.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Na(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(hr)},e.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):[],d=this.getRootNodes().filter(function(N){return N instanceof Element});if(d.length===1)for(var f=d[0],o=function(N){if(i.includes(N))return"continue";var T=function(){for(var O=[],H=0;H<arguments.length;H++)O[H]=arguments[H];RE(t.$,N,O)};f.addEventListener(N,T),b.cleanUpCallbacks.push(function(){f.removeEventListener(N,T)})},b=this,D=0,I=Object.keys(Ud);D<I.length;D++){var S=I[D];o(S)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return FE(this.vm,t)},e.prototype.isVisible=function(){var t=hr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Td(this.componentVM.$data,t),A.nextTick()},e.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),A.nextTick()},e.prototype.setValue=function(t,i){var d=i||"modelValue";return this.vm.$emit("update:".concat(d),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");LE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(xu);Vd(xo.VueWrapper,function(n,e,t){return new PE(n,e,t)});var HE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return HE}),d=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(f){return[2]})})}});return this.custom?d:A.h("a",void 0,d)}}),typeof setImmediate=="function"&&setImmediate;const Vn=Symbol(),Su=Symbol(),Nu=Symbol(),Fu={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:"表单设置"}},table:{pollText:"定时刷新",pollUnit:"分钟"}},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"}},table:{pollText:"Refresh List per",pollUnit:"minutes"}}},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"}]}],KE=[{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"}],TE="vfc",je=(n="")=>`${TE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const d=tc(i.children,e);if(d)return d}return t},null),Ru=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Ru(t.children,e)}:t),Lu=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Ni(4)}`,name:Ni(8)};return e.children&&(t.children=Lu(e.children)),t}),Gu=(n,e)=>n.reduce((t,i)=>{var d;if(i.children?t.push({...i,children:Gu(i.children,e)}):t.push(i),i.designKey===e){const f={...ut.cloneDeep(i),designKey:`form-${Ni(4)}`,name:`${i.name}-${Ni(2)}`};i.children&&(f.children=Lu(i.children)),i.label&&!((d=f.label)!=null&&d.includes("copy"))&&(f.label=f.label+" copy"),t.push(f)}return t},[]),Pu=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Ni(4)}`,name:e.name||`form-${Ni(4)}`};return e.children&&(t.children=Pu(e.children)),t}),Et=()=>{const n=A.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 A.inject(Su,n)},UE=()=>{const{fetchOptionsFn:n}=A.inject(Vn);return n},Br=n=>{const e=Et(),t=UE(),i=A.ref([]),d=A.ref(!1);let f=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;d.value=!0;const S=++f;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(S!==f)return;const T=n.defaultOptions||[];if(i.value=[...T,...N],n.filters&&(i.value=i.value.filter(P=>Array.isArray(n.filters)?!n.filters.includes(P[n.valueKey||"value"]):!0)),n.name){const P=ln(e.schema.items,n.name);P&&P.props&&(P.props.options=i.value)}const O=e.formValues[n.name],H=i.value.findIndex(P=>P[n.valueKey||"value"]===O)!==-1;if(n.refreshFlag&&i.value.length>0&&!H){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const P=ln(e.schema.items,n.name);P&&P.props&&(P.props.refreshFlag=!1)}}finally{d.value=!1}},300);A.onMounted(()=>{const{mode:S,options:N=[]}=n;S==="static"&&(i.value=N),S==="remote"&&o()}),A.watch(()=>n.apiParams,(S,N)=>{ut.isEqual(S,N)||(i.value=[],o())}),A.watch(()=>n.options,(S=[])=>{n.mode==="static"&&(i.value=S)}),A.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)A.watch(()=>e.formValues[S],(N,T)=>{o()});return{selectChange:S=>{const{valueKey:N="value",multiple:T,name:O}=n;let H={};T&&Array.isArray(S)?H=i.value.filter(P=>S.includes(P[N])):H=i.value.find(P=>P[N]===S)||{},e.selectData&&O&&e.updateSelectData(O,H)},currentOptions:i,loading:d,fetchData:o}};function nc(){const n=A.inject(Vn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function Ai(){const n=nc();return A.computed(()=>Fu[(n==null?void 0:n.value)||"en"])}const oe=(n,e)=>{const t=n.__vccOpts||n;for(const[i,d]of e)t[i]=d;return t},YE={},OE={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 $E(n,e){return A.openBlock(),A.createElementBlock("svg",OE,e[0]||(e[0]=[A.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),A.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),A.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 zE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(YE,[["render",$E]])},Symbol.toStringTag,{value:"Module"})),JE={},ZE={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 WE(n,e){return A.openBlock(),A.createElementBlock("svg",ZE,e[0]||(e[0]=[A.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),A.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),A.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 jE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(JE,[["render",WE]])},Symbol.toStringTag,{value:"Module"})),qE={},XE={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 VE(n,e){return A.openBlock(),A.createElementBlock("svg",XE,e[0]||(e[0]=[A.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 AQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(qE,[["render",VE]])},Symbol.toStringTag,{value:"Module"})),eQ={},tQ={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 nQ(n,e){return A.openBlock(),A.createElementBlock("svg",tQ,e[0]||(e[0]=[A.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),A.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 iQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(eQ,[["render",nQ]])},Symbol.toStringTag,{value:"Module"})),oQ={},rQ={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 aQ(n,e){return A.openBlock(),A.createElementBlock("svg",rQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.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),A.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 sQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(oQ,[["render",aQ]])},Symbol.toStringTag,{value:"Module"})),lQ={},cQ={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 gQ(n,e){return A.openBlock(),A.createElementBlock("svg",cQ,e[0]||(e[0]=[A.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),A.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 dQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(lQ,[["render",gQ]])},Symbol.toStringTag,{value:"Module"})),uQ={},hQ={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 pQ(n,e){return A.openBlock(),A.createElementBlock("svg",hQ,e[0]||(e[0]=[A.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 CQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(uQ,[["render",pQ]])},Symbol.toStringTag,{value:"Module"})),BQ={},mQ={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 EQ(n,e){return A.openBlock(),A.createElementBlock("svg",mQ,e[0]||(e[0]=[A.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),A.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),A.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 QQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(BQ,[["render",EQ]])},Symbol.toStringTag,{value:"Module"})),fQ={},IQ={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 wQ(n,e){return A.openBlock(),A.createElementBlock("svg",IQ,e[0]||(e[0]=[A.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),A.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 bQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(fQ,[["render",wQ]])},Symbol.toStringTag,{value:"Module"})),yQ={},DQ={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 vQ(n,e){return A.openBlock(),A.createElementBlock("svg",DQ,e[0]||(e[0]=[A.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 kQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(yQ,[["render",vQ]])},Symbol.toStringTag,{value:"Module"})),_Q={},MQ={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 xQ(n,e){return A.openBlock(),A.createElementBlock("svg",MQ,e[0]||(e[0]=[A.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 SQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(_Q,[["render",xQ]])},Symbol.toStringTag,{value:"Module"})),NQ={},FQ={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 RQ(n,e){return A.openBlock(),A.createElementBlock("svg",FQ,e[0]||(e[0]=[A.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 LQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(NQ,[["render",RQ]])},Symbol.toStringTag,{value:"Module"})),GQ={},PQ={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 HQ(n,e){return A.openBlock(),A.createElementBlock("svg",PQ,e[0]||(e[0]=[A.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),A.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),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const KQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(GQ,[["render",HQ]])},Symbol.toStringTag,{value:"Module"})),TQ={},UQ={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 YQ(n,e){return A.openBlock(),A.createElementBlock("svg",UQ,e[0]||(e[0]=[A.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),A.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),A.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),A.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 OQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TQ,[["render",YQ]])},Symbol.toStringTag,{value:"Module"})),$Q={},zQ={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 JQ(n,e){return A.openBlock(),A.createElementBlock("svg",zQ,e[0]||(e[0]=[A.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),A.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),A.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),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const ZQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe($Q,[["render",JQ]])},Symbol.toStringTag,{value:"Module"})),WQ={},jQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function qQ(n,e){return A.openBlock(),A.createElementBlock("svg",jQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const XQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WQ,[["render",qQ]])},Symbol.toStringTag,{value:"Module"})),VQ={},Af={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 ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.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),A.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 tf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VQ,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={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 rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.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 af=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={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 cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.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 gf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),df={},uf={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 hf(n,e){return A.openBlock(),A.createElementBlock("svg",uf,e[0]||(e[0]=[A.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 pf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(df,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={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 mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.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 Ef=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},ff={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 If(n,e){return A.openBlock(),A.createElementBlock("svg",ff,e[0]||(e[0]=[A.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 wf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qf,[["render",If]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={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 Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.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 vf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={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 Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.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 xf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Nf={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 Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.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 Rf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Sf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={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 Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.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 Hf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={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 Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.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 Yf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={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 zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.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 Jf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={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 jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.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),A.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 qf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={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 AI(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.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 eI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xf,[["render",AI]])},Symbol.toStringTag,{value:"Module"})),tI={},nI={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 iI(n,e){return A.openBlock(),A.createElementBlock("svg",nI,e[0]||(e[0]=[A.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 oI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(tI,[["render",iI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={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 sI(n,e){return A.openBlock(),A.createElementBlock("svg",aI,e[0]||(e[0]=[A.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 lI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(rI,[["render",sI]])},Symbol.toStringTag,{value:"Module"})),cI={},gI={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 dI(n,e){return A.openBlock(),A.createElementBlock("svg",gI,e[0]||(e[0]=[A.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 uI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(cI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),hI={},pI={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 CI(n,e){return A.openBlock(),A.createElementBlock("svg",pI,e[0]||(e[0]=[A.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 BI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(hI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),mI={},EI={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 QI(n,e){return A.openBlock(),A.createElementBlock("svg",EI,e[0]||(e[0]=[A.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),A.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 fI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(mI,[["render",QI]])},Symbol.toStringTag,{value:"Module"})),II={},wI={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 bI(n,e){return A.openBlock(),A.createElementBlock("svg",wI,e[0]||(e[0]=[A.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 yI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(II,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),DI={},vI={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 kI(n,e){return A.openBlock(),A.createElementBlock("svg",vI,e[0]||(e[0]=[A.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),A.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 _I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(DI,[["render",kI]])},Symbol.toStringTag,{value:"Module"})),MI={},xI={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 SI(n,e){return A.openBlock(),A.createElementBlock("svg",xI,e[0]||(e[0]=[A.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 NI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(MI,[["render",SI]])},Symbol.toStringTag,{value:"Module"})),FI={},RI={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 LI(n,e){return A.openBlock(),A.createElementBlock("svg",RI,e[0]||(e[0]=[A.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 GI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(FI,[["render",LI]])},Symbol.toStringTag,{value:"Module"})),PI={},HI={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 KI(n,e){return A.openBlock(),A.createElementBlock("svg",HI,e[0]||(e[0]=[A.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),A.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 TI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(PI,[["render",KI]])},Symbol.toStringTag,{value:"Module"})),UI={},YI={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 OI(n,e){return A.openBlock(),A.createElementBlock("svg",YI,e[0]||(e[0]=[A.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 $I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(UI,[["render",OI]])},Symbol.toStringTag,{value:"Module"})),zI={},JI={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 ZI(n,e){return A.openBlock(),A.createElementBlock("svg",JI,e[0]||(e[0]=[A.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 WI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(zI,[["render",ZI]])},Symbol.toStringTag,{value:"Module"})),jI={},qI={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 XI(n,e){return A.openBlock(),A.createElementBlock("svg",qI,e[0]||(e[0]=[A.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 VI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(jI,[["render",XI]])},Symbol.toStringTag,{value:"Module"})),Aw={},ew={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 tw(n,e){return A.openBlock(),A.createElementBlock("svg",ew,e[0]||(e[0]=[A.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 nw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Aw,[["render",tw]])},Symbol.toStringTag,{value:"Module"})),iw={},ow={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 rw(n,e){return A.openBlock(),A.createElementBlock("svg",ow,e[0]||(e[0]=[A.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),A.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 aw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(iw,[["render",rw]])},Symbol.toStringTag,{value:"Module"})),sw={},lw={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 cw(n,e){return A.openBlock(),A.createElementBlock("svg",lw,e[0]||(e[0]=[A.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 gw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sw,[["render",cw]])},Symbol.toStringTag,{value:"Module"})),dw={},uw={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 hw(n,e){return A.openBlock(),A.createElementBlock("svg",uw,e[0]||(e[0]=[A.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),A.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 pw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(dw,[["render",hw]])},Symbol.toStringTag,{value:"Module"})),Cw={},Bw={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 mw(n,e){return A.openBlock(),A.createElementBlock("svg",Bw,e[0]||(e[0]=[A.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),A.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),A.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 Ew=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cw,[["render",mw]])},Symbol.toStringTag,{value:"Module"})),Qw={},fw={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 Iw(n,e){return A.openBlock(),A.createElementBlock("svg",fw,e[0]||(e[0]=[A.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),A.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),A.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),A.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 ww=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qw,[["render",Iw]])},Symbol.toStringTag,{value:"Module"})),bw={},yw={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 Dw(n,e){return A.openBlock(),A.createElementBlock("svg",yw,e[0]||(e[0]=[A.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),A.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 vw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bw,[["render",Dw]])},Symbol.toStringTag,{value:"Module"})),kw={},_w={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 Mw(n,e){return A.openBlock(),A.createElementBlock("svg",_w,e[0]||(e[0]=[A.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),A.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),A.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 xw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kw,[["render",Mw]])},Symbol.toStringTag,{value:"Module"})),Sw={},Nw={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 Fw(n,e){return A.openBlock(),A.createElementBlock("svg",Nw,e[0]||(e[0]=[A.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),A.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),A.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 Rw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Sw,[["render",Fw]])},Symbol.toStringTag,{value:"Module"})),Lw={},Gw={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 Pw(n,e){return A.openBlock(),A.createElementBlock("svg",Gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Hw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lw,[["render",Pw]])},Symbol.toStringTag,{value:"Module"})),Kw={},Tw={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 Uw(n,e){return A.openBlock(),A.createElementBlock("svg",Tw,e[0]||(e[0]=[A.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 Yw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kw,[["render",Uw]])},Symbol.toStringTag,{value:"Module"})),Ow={},$w={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 zw(n,e){return A.openBlock(),A.createElementBlock("svg",$w,e[0]||(e[0]=[A.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 Jw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Ow,[["render",zw]])},Symbol.toStringTag,{value:"Module"})),Zw={},Ww={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 jw(n,e){return A.openBlock(),A.createElementBlock("svg",Ww,e[0]||(e[0]=[A.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 qw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zw,[["render",jw]])},Symbol.toStringTag,{value:"Module"})),Xw={},Vw={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 A0(n,e){return A.openBlock(),A.createElementBlock("svg",Vw,e[0]||(e[0]=[A.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),A.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 e0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xw,[["render",A0]])},Symbol.toStringTag,{value:"Module"})),t0={},n0={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 i0(n,e){return A.openBlock(),A.createElementBlock("svg",n0,e[0]||(e[0]=[A.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),A.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),A.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 o0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(t0,[["render",i0]])},Symbol.toStringTag,{value:"Module"})),r0={},a0={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 s0(n,e){return A.openBlock(),A.createElementBlock("svg",a0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.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),A.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),A.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 l0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(r0,[["render",s0]])},Symbol.toStringTag,{value:"Module"})),c0={},g0={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 d0(n,e){return A.openBlock(),A.createElementBlock("svg",g0,e[0]||(e[0]=[A.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 u0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(c0,[["render",d0]])},Symbol.toStringTag,{value:"Module"})),fe=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":zE,"./icons/alert.vue":jE,"./icons/barChart.vue":AQ,"./icons/button.vue":iQ,"./icons/card.vue":sQ,"./icons/cascader.vue":dQ,"./icons/checkbox.vue":CQ,"./icons/clear.vue":QQ,"./icons/collapse.vue":bQ,"./icons/colorPicker.vue":kQ,"./icons/copy.vue":SQ,"./icons/custom.vue":LQ,"./icons/datePicker.vue":KQ,"./icons/delete.vue":OQ,"./icons/design.vue":ZQ,"./icons/divider.vue":XQ,"./icons/document.vue":tf,"./icons/dropdown.vue":af,"./icons/esign.vue":gf,"./icons/eye.vue":pf,"./icons/formList.vue":Ef,"./icons/github.vue":wf,"./icons/grid.vue":vf,"./icons/help.vue":xf,"./icons/hidden.vue":Rf,"./icons/icon.vue":Hf,"./icons/inline.vue":Yf,"./icons/input.vue":Jf,"./icons/inputNumber.vue":qf,"./icons/itemGroup.vue":eI,"./icons/jsonEdit.vue":oI,"./icons/library.vue":lI,"./icons/markdown.vue":uI,"./icons/move.vue":BI,"./icons/password.vue":fI,"./icons/pieChart.vue":yI,"./icons/radio.vue":_I,"./icons/rate.vue":NI,"./icons/reduce.vue":GI,"./icons/rich.vue":TI,"./icons/save.vue":$I,"./icons/script.vue":WI,"./icons/search.vue":VI,"./icons/searchSelect.vue":nw,"./icons/select.vue":aw,"./icons/slider.vue":gw,"./icons/switch.vue":pw,"./icons/tableEmpty.vue":Ew,"./icons/tabs.vue":ww,"./icons/tag.vue":vw,"./icons/text.vue":xw,"./icons/textarea.vue":Rw,"./icons/title.vue":Hw,"./icons/transfer.vue":Yw,"./icons/trash.vue":Jw,"./icons/tree.vue":qw,"./icons/upload.vue":e0,"./icons/uploadImage.vue":o0,"./icons/verifyCode.vue":l0,"./icons/vue.vue":u0})).reduce((i,[d,f])=>{const o=d.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=f.default,i},{});return(i,d)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),h0={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"}]},p0=oe(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-353650ae"]]);let Xi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},ic=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function C0(){return 2147483648}function B0(){return typeof performance<"u"?performance.now():Date.now()}const m0=(n,e)=>n+(e-n%e)%e;async function E0(n){let e,t;const i={};function d(O){t=O,i.HEAPU8=new Uint8Array(O),i.HEAPU32=new Uint32Array(O)}function f(O,H,P){i.HEAPU8.copyWithin(O,H,H+P)}function o(O){try{return e.grow(O-t.byteLength+65535>>>16),d(e.buffer),1}catch{}}function b(O){const H=i.HEAPU8.length;O=O>>>0;const P=C0();if(O>P)return!1;for(let v=1;v<=4;v*=2){let m=H*(1+.2/v);m=Math.min(m,O+100663296);const F=Math.min(P,m0(Math.max(O,m),65536));if(o(F))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function I(O,H,P=1024){const v=H+P;let m=H;for(;O[m]&&!(m>=v);)++m;if(m-H>16&&O.buffer&&D)return D.decode(O.subarray(H,m));let F="";for(;H<m;){let k=O[H++];if(!(k&128)){F+=String.fromCharCode(k);continue}const _=O[H++]&63;if((k&224)===192){F+=String.fromCharCode((k&31)<<6|_);continue}const B=O[H++]&63;if((k&240)===224?k=(k&15)<<12|_<<6|B:k=(k&7)<<18|_<<12|B<<6|O[H++]&63,k<65536)F+=String.fromCharCode(k);else{const p=k-65536;F+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return F}function S(O,H){return O?I(i.HEAPU8,O,H):""}const N={emscripten_get_now:B0,emscripten_memcpy_big:f,emscripten_resize_heap:b,fd_write:()=>0};async function T(){const H=await n({env:N,wasi_snapshot_preview1:N});e=H.memory,d(e.buffer),Object.assign(i,H),i.UTF8ToString=S}return await T(),i}let Gt=null;function Q0(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Ra{constructor(e){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=e.length,i=Ra._utf8ByteLength(e),d=i!==t,f=d?new Uint32Array(t+1):null;d&&(f[t]=i);const o=d?new Uint32Array(i+1):null;d&&(o[i]=t);const b=new Uint8Array(i);let D=0;for(let I=0;I<t;I++){const S=e.charCodeAt(I);let N=S,T=!1;if(S>=55296&&S<=56319&&I+1<t){const O=e.charCodeAt(I+1);O>=56320&&O<=57343&&(N=(S-55296<<10)+65536|O-56320,T=!0)}d&&(f[I]=D,T&&(f[I+1]=D),N<=127?o[D+0]=I:N<=2047?(o[D+0]=I,o[D+1]=I):N<=65535?(o[D+0]=I,o[D+1]=I,o[D+2]=I):(o[D+0]=I,o[D+1]=I,o[D+2]=I,o[D+3]=I)),N<=127?b[D++]=N:N<=2047?(b[D++]=192|(N&1984)>>>6,b[D++]=128|(N&63)>>>0):N<=65535?(b[D++]=224|(N&61440)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0):(b[D++]=240|(N&1835008)>>>18,b[D++]=128|(N&258048)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0),T&&I++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=f,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,d=e.length;i<d;i++){const f=e.charCodeAt(i);let o=f,b=!1;if(f>=55296&&f<=56319&&i+1<d){const D=e.charCodeAt(i+1);D>=56320&&D<=57343&&(o=(f-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(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const gn=class gn{constructor(e){Bt(this,"id",++gn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Gt,this.content=e;const t=new Ra(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!gn._sharedPtrInUse?(gn._sharedPtr||(gn._sharedPtr=Gt.omalloc(1e4)),gn._sharedPtrInUse=!0,Gt.HEAPU8.set(t.utf8Value,gn._sharedPtr),this.ptr=gn._sharedPtr):this.ptr=t.createString(Gt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===gn._sharedPtr?gn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(gn,"LAST_ID",0),Bt(gn,"_sharedPtr",0),Bt(gn,"_sharedPtrInUse",!1);let La=gn;class f0{constructor(e){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=e.length;b<D;b++){const I=new Ra(e[b]);t[b]=I.createString(Gt),i[b]=I.utf8Length}const d=Gt.omalloc(4*e.length);Gt.HEAPU32.set(t,d/4);const f=Gt.omalloc(4*e.length);Gt.HEAPU32.set(i,f/4);const o=Gt.createOnigScanner(d,f,e.length);for(let b=0,D=e.length;b<D;b++)Gt.ofree(t[b]);Gt.ofree(f),Gt.ofree(d),o===0&&Q0(Gt),this._onigBinding=Gt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let d=0;if(typeof i=="number"&&(d=i),typeof e=="string"){e=new La(e);const f=this._findNextMatchSync(e,t,!1,d);return e.dispose(),f}return this._findNextMatchSync(e,t,!1,d)}_findNextMatchSync(e,t,i,d){const f=this._onigBinding,o=f.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),d);if(o===0)return null;const b=f.HEAPU32;let D=o/4;const I=b[D++],S=b[D++],N=[];for(let T=0;T<S;T++){const O=e.convertUtf8OffsetToUtf16(b[D++]),H=e.convertUtf8OffsetToUtf16(b[D++]);N[T]={start:O,end:H,length:H-O}}return{index:I,captureIndices:N}}}function I0(n){return typeof n.instantiator=="function"}function w0(n){return typeof n.default=="function"}function b0(n){return typeof n.data<"u"}function y0(n){return typeof Response<"u"&&n instanceof Response}function D0(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ga;function v0(n){if(Ga)return Ga;async function e(){Gt=await E0(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),I0(i)?i=await i.instantiator(t):w0(i)?i=await i.default(t):(b0(i)&&(i=i.data),y0(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await k0(i)(t):i=await _0(i)(t):D0(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 Ga=e(),Ga}function oc(n){return e=>WebAssembly.instantiate(n,e)}function k0(n){return e=>WebAssembly.instantiateStreaming(n,e)}function _0(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let M0;function x0(){return M0}async function S0(n){return n&&await v0(n),{createScanner(e){return new f0(e)},createString(e){return new La(e)}}}function N0(n){return rc(n)}function rc(n){return Array.isArray(n)?F0(n):typeof n=="object"?R0(n):n}function F0(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=rc(n[t]);return e}function R0(n){let e={};for(let t in n)e[t]=rc(n[t]);return e}function Hu(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Ku(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Ku(n.substring(0,n.length-1)):n.substr(~e+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Pa=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,e,t){return n.replace(ac,(i,d,f,o)=>{let b=t[parseInt(d||f,10)];if(b){let D=e.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 Tu(n,e){return n<e?-1:n>e?1:0}function Uu(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let d=0;d<t;d++){let f=Tu(n[d],e[d]);if(f!==0)return f}return 0}return t-i}function Yu(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 Ou(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $u=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Ha=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new $u(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(P0(n),e)}static createFromParsedTheme(n,e){return K0(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(d=>L0(n.parent,d.parentScopes));return i?new zu(i.fontStyle,i.foreground,i.background):null}},sc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function L0(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],d=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],d=!0}for(;n&&!G0(n.scopeName,i);){if(d)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function G0(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zu=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function P0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let d=0,f=e.length;d<f;d++){let o=e[d];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let N=o.settings.fontStyle.split(" ");for(let T=0,O=N.length;T<O;T++)switch(N[T]){case"italic":D=D|1;break;case"bold":D=D|2;break;case"underline":D=D|4;break;case"strikethrough":D=D|8;break}}let I=null;typeof o.settings.foreground=="string"&&Yu(o.settings.foreground)&&(I=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Yu(o.settings.background)&&(S=o.settings.background);for(let N=0,T=b.length;N<T;N++){let H=b[N].trim().split(" "),P=H[H.length-1],v=null;H.length>1&&(v=H.slice(0,H.length-1),v.reverse()),t[i++]=new H0(P,v,d,D,I,S)}}return t}var H0=class{constructor(n,e,t,i,d,f){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=d,this.background=f}},hi=(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))(hi||{});function K0(n,e){n.sort((D,I)=>{let S=Tu(D.scope,I.scope);return S!==0||(S=Uu(D.parentScopes,I.parentScopes),S!==0)?S:D.index-I.index});let t=0,i="#000000",d="#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&&(d=D.background)}let f=new T0(e),o=new zu(t,f.getId(i),f.getId(d)),b=new Y0(new lc(0,null,-1,0,0),[]);for(let D=0,I=n.length;D<I;D++){let S=n[D];b.insert(0,S.scope,S.parentScopes,S.fontStyle,f.getId(S.foreground),f.getId(S.background))}return new Ha(f,o,b)}var T0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},U0=Object.freeze([]),lc=class mm{constructor(e,t,i,d,f){this.scopeDepth=e,this.parentScopes=t||U0,this.fontStyle=i,this.foreground=d,this.background=f}clone(){return new mm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,d=e.length;i<d;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,d){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),d!==0&&(this.background=d)}},Y0=class Qd{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,d=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[d]===">"&&d++,!(i>=e.parentScopes.length||d>=t.parentScopes.length);){const f=t.parentScopes[d].length-e.parentScopes[i].length;if(f!==0)return f;i++,d++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),d,f;if(i===-1?(d=e,f=""):(d=e.substring(0,i),f=e.substring(i+1)),this._children.hasOwnProperty(d))return this._children[d].match(f)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qd._cmpBySpecificity),t}insert(e,t,i,d,f,o){if(t===""){this._doInsertHere(e,i,d,f,o);return}let b=t.indexOf("."),D,I;b===-1?(D=t,I=""):(D=t.substring(0,b),I=t.substring(b+1));let S;this._children.hasOwnProperty(D)?S=this._children[D]:(S=new Qd(this._mainRule.clone(),lc.cloneArr(this._rulesWithParentScopes)),this._children[D]=S),S.insert(e+1,I,i,d,f,o)}_doInsertHere(e,t,i,d,f){if(t===null){this._mainRule.acceptOverwrite(e,i,d,f);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let D=this._rulesWithParentScopes[o];if(Uu(D.parentScopes,t)===0){D.acceptOverwrite(e,i,d,f);return}}i===-1&&(i=this._mainRule.fontStyle),d===0&&(d=this._mainRule.foreground),f===0&&(f=this._mainRule.background),this._rulesWithParentScopes.push(new lc(e,t,i,d,f))}},No=class $n{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=$n.getLanguageId(e),i=$n.getTokenType(e),d=$n.getFontStyle(e),f=$n.getForeground(e),o=$n.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:d,foreground:f,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,d,f,o,b){let D=$n.getLanguageId(e),I=$n.getTokenType(e),S=$n.containsBalancedBrackets(e)?1:0,N=$n.getFontStyle(e),T=$n.getForeground(e),O=$n.getBackground(e);return t!==0&&(D=t),i!==8&&(I=i),d!==null&&(S=d?1:0),f!==-1&&(N=f),o!==0&&(T=o),b!==0&&(O=b),(D<<0|I<<8|S<<10|N<<11|T<<15|O<<24)>>>0}};function iP(n){return n}function oP(n){return n}function Ka(n,e){const t=[],i=O0(n);let d=i.next();for(;d!==null;){let D=0;if(d.length===2&&d.charAt(1)===":"){switch(d.charAt(0)){case"R":D=1;break;case"L":D=-1;break;default:console.log(`Unknown priority ${d} in scope selector`)}d=i.next()}let I=o();if(t.push({matcher:I,priority:D}),d!==",")break;d=i.next()}return t;function f(){if(d==="-"){d=i.next();const D=f();return I=>!!D&&!D(I)}if(d==="("){d=i.next();const D=b();return d===")"&&(d=i.next()),D}if(Ju(d)){const D=[];do D.push(d),d=i.next();while(Ju(d));return I=>e(D,I)}return null}function o(){const D=[];let I=f();for(;I;)D.push(I),I=f();return S=>D.every(N=>N(S))}function b(){const D=[];let I=o();for(;I&&(D.push(I),d==="|"||d===",");){do d=i.next();while(d==="|"||d===",");I=o()}return S=>D.some(N=>N(S))}}function Ju(n){return!!n&&!!n.match(/[\w\.:]+/)}function O0(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Zu(n){typeof n.dispose=="function"&&n.dispose()}var mr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},$0=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},z0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},J0=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new mr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new z0;for(const t of n)Z0(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof mr){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 Z0(n,e,t,i){const d=t.lookup(n.scopeName);if(!d){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const f=t.lookup(e);n instanceof mr?Ta({baseGrammar:f,selfGrammar:d},i):cc(n.ruleName,{baseGrammar:f,selfGrammar:d,repository:d.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new mr(b))}function cc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ua([i],e,t)}}function Ta(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ua(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ua(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ua(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const d=i.repository?Hu({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ua(i.patterns,{...e,repository:d},t);const f=i.include;if(!f)continue;const o=Wu(f);switch(o.kind){case 0:Ta({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ta(e,t);break;case 2:cc(o.ruleName,{...e,repository:d},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const D={baseGrammar:e.baseGrammar,selfGrammar:b,repository:d};o.kind===4?cc(o.ruleName,D,t):Ta(D,t)}else o.kind===4?t.add(new $0(o.scopeName,o.ruleName)):t.add(new mr(o.scopeName));break}}}var W0=class{constructor(){this.kind=0}},j0=class{constructor(){this.kind=1}},q0=class{constructor(n){this.ruleName=n,this.kind=2}},X0=class{constructor(n){this.scopeName=n,this.kind=3}},V0=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function Wu(n){if(n==="$base")return new W0;if(n==="$self")return new j0;const e=n.indexOf("#");if(e===-1)return new X0(n);if(e===0)return new q0(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new V0(t,i)}}var Ab=/\\(\d+)/,ju=/\\(\d+)/g,eb=-1,qu=-2;function rP(n){return n}function aP(n){return n}var Er=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Pa.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Pa.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Ku(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Pa.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Pa.replaceCaptures(this._contentName,n,e)}},tb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.retokenizeCapturedWithRuleId=d}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},nb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,null),this._match=new Qr(i,this.id),this.captures=d,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xu=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends Er{constructor(n,e,t,i,d,f,o,b,D,I){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this._end=new Qr(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=D||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.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,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;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,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ya=class extends Er{constructor(n,e,t,i,d,f,o,b,D){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this.whileCaptures=b,this._while=new Qr(o,qu),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,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new fr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||""),this._cachedCompiledWhilePatterns}},Vu=class Jt{static createCaptureRule(e,t,i,d,f){return e.registerRule(o=>new tb(t,o,i,d,f))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(d=>{if(e.id=d,e.match)return new nb(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Hu({},i,e.repository));let f=e.patterns;return typeof f>"u"&&e.include&&(f=[{include:e.include}]),new Xu(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(f,t,i))}return e.while?new Ya(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new gc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let d=[];if(e){let f=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>f&&(f=b)}for(let o=0;o<=f;o++)d[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let D=0;e[o].patterns&&(D=Jt.getCompiledRuleId(e[o],t,i)),d[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,D)}}return d}static _compilePatterns(e,t,i){let d=[];if(e)for(let f=0,o=e.length;f<o;f++){const b=e[f];let D=-1;if(b.include){const I=Wu(b.include);switch(I.kind){case 0:case 1:D=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[I.ruleName];S&&(D=Jt.getCompiledRuleId(S,t,i));break;case 3:case 4:const N=I.scopeName,T=I.kind===4?I.ruleName:null,O=t.getExternalGrammar(N,i);if(O)if(T){let H=O.repository[T];H&&(D=Jt.getCompiledRuleId(H,t,O.repository))}else D=Jt.getCompiledRuleId(O.repository.$self,t,O.repository);break}}else D=Jt.getCompiledRuleId(b,t,i);if(D!==-1){const I=t.getRule(D);let S=!1;if((I instanceof Xu||I instanceof gc||I instanceof Ya)&&I.hasMissingPatterns&&I.patterns.length===0&&(S=!0),S)continue;d.push(D)}}return{patterns:d,hasMissingPatterns:(e?e.length:0)!==d.length}}},Qr=class Em{constructor(e,t){if(e){const i=e.length;let d=0,f=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const I=e.charAt(b+1);I==="z"?(f.push(e.substring(d,b)),f.push("$(?!\\n)(?<!\\n)"),d=b+2):(I==="A"||I==="G")&&(o=!0),b++}this.hasAnchor=o,d===0?this.source=e:(f.push(e.substring(d,i)),this.source=f.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=Ab.test(this.source)}clone(){return new Em(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(d=>e.substring(d.start,d.end));return ju.lastIndex=0,this.source.replace(ju,(d,f)=>Ou(i[parseInt(f,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],d=[],f,o,b,D;for(f=0,o=this.source.length;f<o;f++)b=this.source.charAt(f),e[f]=b,t[f]=b,i[f]=b,d[f]=b,b==="\\"&&f+1<o&&(D=this.source.charAt(f+1),D==="A"?(e[f+1]="",t[f+1]="",i[f+1]="A",d[f+1]="A"):D==="G"?(e[f+1]="",t[f+1]="G",i[f+1]="",d[f+1]="G"):(e[f+1]=D,t[f+1]=D,i[f+1]=D,d[f+1]=D),f++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:d.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},fr=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,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new Ah(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(d=>d.resolveAnchors(e,t));return new Ah(n,i,this._items.map(d=>d.ruleId))}},Ah=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
81
81
|
`)}findNextMatchSync(n,e,t){const i=this.scanner.findNextMatchSync(n,e,t);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},dc=class{constructor(n,e){this.languageId=n,this.tokenType=e}},uc=class fd{constructor(e,t){this._getBasicScopeAttributes=new $u(i=>{const d=this._scopeToLanguage(i),f=this._toStandardTokenType(i);return new dc(d,f)}),this._defaultAttributes=new dc(e,8),this._embeddedLanguagesMatcher=new ob(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?fd._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(fd.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};uc._NULL_SCOPE_METADATA=new dc(0,0),uc.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var ib=uc,ob=class{constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const e=n.map(([t,i])=>Ou(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const e=n.match(this.scopesRegExp);if(e)return this.values.get(e[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var eh=class{constructor(n,e){this.stack=n,this.stoppedEarly=e}};function th(n,e,t,i,d,f,o,b){const D=e.content.length;let I=!1,S=-1;if(o){const O=rb(n,e,t,i,d,f);d=O.stack,i=O.linePos,t=O.isFirstLine,S=O.anchorPosition}const N=Date.now();for(;!I;){if(b!==0&&Date.now()-N>b)return new eh(d,!0);T()}return new eh(d,!1);function T(){const O=ab(n,e,t,i,d,S);if(!O){f.produce(d,D),I=!0;return}const H=O.captureIndices,P=O.matchedRuleId,v=H&&H.length>0?H[0].end>i:!1;if(P===eb){const m=d.getRule(n);f.produce(d,H[0].start),d=d.withContentNameScopesList(d.nameScopesList),Ir(n,e,t,d,f,m.endCaptures,H),f.produce(d,H[0].end);const F=d;if(d=d.parent,S=F.getAnchorPos(),!v&&F.getEnterPos()===i){d=F,f.produce(d,D),I=!0;return}}else{const m=n.getRule(P);f.produce(d,H[0].start);const F=d,k=m.getName(e.content,H),_=d.contentNameScopesList.pushAttributed(k,n);if(d=d.push(P,i,S,H[0].end===D,null,_,_),m instanceof gc){const B=m;Ir(n,e,t,d,f,B.beginCaptures,H),f.produce(d,H[0].end),S=H[0].end;const p=B.getContentName(e.content,H),u=_.pushAttributed(p,n);if(d=d.withContentNameScopesList(u),B.endHasBackReferences&&(d=d.withEndRule(B.getEndWithResolvedBackReferences(e.content,H))),!v&&F.hasSameRuleAs(d)){d=d.pop(),f.produce(d,D),I=!0;return}}else if(m instanceof Ya){const B=m;Ir(n,e,t,d,f,B.beginCaptures,H),f.produce(d,H[0].end),S=H[0].end;const p=B.getContentName(e.content,H),u=_.pushAttributed(p,n);if(d=d.withContentNameScopesList(u),B.whileHasBackReferences&&(d=d.withEndRule(B.getWhileWithResolvedBackReferences(e.content,H))),!v&&F.hasSameRuleAs(d)){d=d.pop(),f.produce(d,D),I=!0;return}}else if(Ir(n,e,t,d,f,m.captures,H),f.produce(d,H[0].end),d=d.pop(),!v){d=d.safePop(),f.produce(d,D),I=!0;return}}H[0].end>i&&(i=H[0].end,t=!1)}}function rb(n,e,t,i,d,f){let o=d.beginRuleCapturedEOL?0:-1;const b=[];for(let D=d;D;D=D.pop()){const I=D.getRule(n);I instanceof Ya&&b.push({rule:I,stack:D})}for(let D=b.pop();D;D=b.pop()){const{ruleScanner:I,findOptions:S}=cb(D.rule,n,D.stack.endRule,t,i===o),N=I.findNextMatchSync(e,i,S);if(N){if(N.ruleId!==qu){d=D.stack.pop();break}N.captureIndices&&N.captureIndices.length&&(f.produce(D.stack,N.captureIndices[0].start),Ir(n,e,t,D.stack,f,D.rule.whileCaptures,N.captureIndices),f.produce(D.stack,N.captureIndices[0].end),o=N.captureIndices[0].end,N.captureIndices[0].end>i&&(i=N.captureIndices[0].end,t=!1))}else{d=D.stack.pop();break}}return{stack:d,linePos:i,anchorPosition:o,isFirstLine:t}}function ab(n,e,t,i,d,f){const o=sb(n,e,t,i,d,f),b=n.getInjections();if(b.length===0)return o;const D=lb(b,n,e,t,i,d,f);if(!D)return o;if(!o)return D;const I=o.captureIndices[0].start,S=D.captureIndices[0].start;return S<I||D.priorityMatch&&S===I?D:o}function sb(n,e,t,i,d,f){const o=d.getRule(n),{ruleScanner:b,findOptions:D}=nh(o,n,d.endRule,t,i===f),I=b.findNextMatchSync(e,i,D);return I?{captureIndices:I.captureIndices,matchedRuleId:I.ruleId}:null}function lb(n,e,t,i,d,f,o){let b=Number.MAX_VALUE,D=null,I,S=0;const N=f.contentNameScopesList.getScopeNames();for(let T=0,O=n.length;T<O;T++){const H=n[T];if(!H.matcher(N))continue;const P=e.getRule(H.ruleId),{ruleScanner:v,findOptions:m}=nh(P,e,null,i,d===o),F=v.findNextMatchSync(t,d,m);if(!F)continue;const k=F.captureIndices[0].start;if(!(k>=b)&&(b=k,D=F.captureIndices,I=F.ruleId,S=H.priority,b===d))break}return D?{priorityMatch:S===-1,captureIndices:D,matchedRuleId:I}:null}function nh(n,e,t,i,d){return{ruleScanner:n.compileAG(e,t,i,d),findOptions:0}}function cb(n,e,t,i,d){return{ruleScanner:n.compileWhileAG(e,t,i,d),findOptions:0}}function Ir(n,e,t,i,d,f,o){if(f.length===0)return;const b=e.content,D=Math.min(f.length,o.length),I=[],S=o[0].end;for(let N=0;N<D;N++){const T=f[N];if(T===null)continue;const O=o[N];if(O.length===0)continue;if(O.start>S)break;for(;I.length>0&&I[I.length-1].endPos<=O.start;)d.produceFromScopes(I[I.length-1].scopes,I[I.length-1].endPos),I.pop();if(I.length>0?d.produceFromScopes(I[I.length-1].scopes,O.start):d.produce(i,O.start),T.retokenizeCapturedWithRuleId){const P=T.getName(b,o),v=i.contentNameScopesList.pushAttributed(P,n),m=T.getContentName(b,o),F=v.pushAttributed(m,n),k=i.push(T.retokenizeCapturedWithRuleId,O.start,-1,!1,null,v,F),_=n.createOnigString(b.substring(0,O.end));th(n,_,t&&O.start===0,O.start,k,d,!1,0),Zu(_);continue}const H=T.getName(b,o);if(H!==null){const v=(I.length>0?I[I.length-1].scopes:i.contentNameScopesList).pushAttributed(H,n);I.push(new gb(v,O.end))}}for(;I.length>0;)d.produceFromScopes(I[I.length-1].scopes,I[I.length-1].endPos),I.pop()}var gb=class{constructor(n,e){this.scopes=n,this.endPos=e}};function db(n,e,t,i,d,f,o,b){return new hb(n,e,t,i,d,f,o,b)}function ih(n,e,t,i,d){const f=Ka(e,Oa),o=Vu.getCompiledRuleId(t,i,d.repository);for(const b of f)n.push({debugSelector:e,matcher:b.matcher,ruleId:o,grammar:d,priority:b.priority})}function Oa(n,e){if(e.length<n.length)return!1;let t=0;return n.every(i=>{for(let d=t;d<e.length;d++)if(ub(e[d],i))return t=d+1,!0;return!1})}function ub(n,e){if(!n)return!1;if(n===e)return!0;const t=e.length;return n.length>t&&n.substr(0,t)===e&&n[t]==="."}var hb=class{constructor(n,e,t,i,d,f,o,b){if(this._rootScopeName=n,this.balancedBracketSelectors=f,this._onigLib=b,this._basicScopeAttributesProvider=new ib(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=oh(e,null),this._injections=null,this._tokenTypeMatchers=[],d)for(const D of Object.keys(d)){const I=Ka(D,Oa);for(const S of I)this._tokenTypeMatchers.push({matcher:S.matcher,type:d[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:d=>d===this._rootScopeName?this._grammar:this.getExternalGrammar(d),injections:d=>this._grammarRepository.injections(d)},e=[],t=this._rootScopeName,i=n.lookup(t);if(i){const d=i.injections;if(d)for(let o in d)ih(e,o,d[o],this,i);const f=this._grammarRepository.injections(t);f&&f.forEach(o=>{const b=this.getExternalGrammar(o);if(b){const D=b.injectionSelector;D&&ih(e,D,b,this,b)}})}return e.sort((d,f)=>d.priority-f.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const e=++this._lastRuleId,t=n(e);return this._ruleId2desc[e]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,e){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=oh(t,e&&e.$base),this._includedGrammars[n]}}tokenizeLine(n,e,t=0){const i=this._tokenize(n,e,!1,t);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(n,e,t=0){const i=this._tokenize(n,e,!0,t);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(n,e,t,i){this._rootId===-1&&(this._rootId=Vu.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let d;if(!e||e===pc.NULL){d=!0;const I=this._basicScopeAttributesProvider.getDefaultAttributes(),S=this.themeProvider.getDefaults(),N=No.set(0,I.languageId,I.tokenType,null,S.fontStyle,S.foregroundId,S.backgroundId),T=this.getRule(this._rootId).getName(null,null);let O;T?O=wr.createRootAndLookUpScopeName(T,N,this):O=wr.createRoot("unknown",N),e=new pc(null,this._rootId,-1,-1,!1,null,O,O)}else d=!1,e.reset();n=n+`
|
|
82
82
|
`;const f=this.createOnigString(n),o=f.content.length,b=new Cb(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),D=th(this,f,d,0,e,b,!0,i);return Zu(f),{lineLength:o,lineTokens:b,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}};function oh(n,e){return n=N0(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var wr=class ui{constructor(e,t,i){this.parent=e,this.scopePath=t,this.tokenAttributes=i}static fromExtension(e,t){let i=e,d=(e==null?void 0:e.scopePath)??null;for(const f of t)d=sc.push(d,f.scopeNames),i=new ui(i,d,f.encodedTokenAttributes);return i}static createRoot(e,t){return new ui(null,new sc(null,e),t)}static createRootAndLookUpScopeName(e,t,i){const d=i.getMetadataForScope(e),f=new sc(null,e),o=i.themeProvider.themeMatch(f),b=ui.mergeAttributes(t,d,o);return new ui(null,f,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return ui.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,i){let d=-1,f=0,o=0;return i!==null&&(d=i.fontStyle,f=i.foregroundId,o=i.backgroundId),No.set(e,t.languageId,t.tokenType,null,d,f,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return ui._pushAttributed(this,e,t);const i=e.split(/ /g);let d=this;for(const f of i)d=ui._pushAttributed(d,f,t);return d}static _pushAttributed(e,t,i){const d=i.getMetadataForScope(t),f=e.scopePath.push(t),o=i.themeProvider.themeMatch(f),b=ui.mergeAttributes(e.tokenAttributes,d,o);return new ui(e,f,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var d;const t=[];let i=this;for(;i&&i!==e;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((d=i.parent)==null?void 0:d.scopePath)??null)}),i=i.parent;return i===e?t.reverse():void 0}},hc=class dr{constructor(e,t,i,d,f,o,b,D){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=f,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=d}equals(e){return e===null?!1:dr._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?wr.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){dr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,i,d,f,o,b){return new dr(this,e,t,i,d,f,o,b)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var i,d;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(d=this.contentNameScopesList)==null?void 0:d.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new dr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const i=wr.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new dr(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,wr.fromExtension(i,t.contentNameScopesList))}};hc.NULL=new hc(null,0,0,0,!1,null,null,null);var pc=hc,pb=class{constructor(n,e){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Ka(t,Oa).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>Ka(t,Oa).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 e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},Cb=class{constructor(n,e,t,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){var i;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let d=(n==null?void 0:n.tokenAttributes)??0,f=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(f=!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)&&(d=No.set(d,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(f=this.balancedBracketSelectors.match(o))}if(f&&(d=No.set(d,0,8,f,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===d){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(d),this._lastTokenEndIndex=e;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let i=0,d=this._binaryTokens.length;i<d;i++)t[i]=this._binaryTokens[i];return t}},Bb=class{constructor(n,e){this._onigLib=e,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,e){this._rawGrammars.set(n.scopeName,n),e&&this._injectionGrammars.set(n.scopeName,e)}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,e,t,i,d){if(!this._grammars.has(n)){let f=this._rawGrammars.get(n);if(!f)return null;this._grammars.set(n,db(n,f,e,t,i,d,this,this._onigLib))}return this._grammars.get(n)}},mb=class{constructor(e){this._options=e,this._syncRegistry=new Bb(Ha.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Ha.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,i){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(e,t,i){return this._loadGrammar(e,t,i.embeddedLanguages,i.tokenTypes,new pb(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,i,d,f){const o=new J0(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(b=>this._loadSingleGrammar(b.scopeName)),o.processQueue();return this._grammarForScopeName(e,t,i,d,f)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const i=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(e,t=[],i=0,d=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,i,d)}_grammarForScopeName(e,t=0,i=null,d=null,f=null){return this._syncRegistry.grammarForScopeName(e,t,i,d,f)}},Cc=pc.NULL;const Eb=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class br{constructor(e,t,i){this.property=e,this.normal=t,i&&(this.space=i)}}br.prototype.property={},br.prototype.normal={},br.prototype.space=null;function rh(n,e){const t={},i={};let d=-1;for(;++d<n.length;)Object.assign(t,n[d].property),Object.assign(i,n[d].normal);return new br(t,i,e)}function Bc(n){return n.toLowerCase()}class xn{constructor(e,t){this.property=e,this.attribute=t}}xn.prototype.space=null,xn.prototype.boolean=!1,xn.prototype.booleanish=!1,xn.prototype.overloadedBoolean=!1,xn.prototype.number=!1,xn.prototype.commaSeparated=!1,xn.prototype.spaceSeparated=!1,xn.prototype.commaOrSpaceSeparated=!1,xn.prototype.mustUseProperty=!1,xn.prototype.defined=!1;let Qb=0;const Ue=Vi(),_t=Vi(),ah=Vi(),pe=Vi(),ht=Vi(),Fo=Vi(),mn=Vi();function Vi(){return 2**++Qb}const mc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ue,booleanish:_t,commaOrSpaceSeparated:mn,commaSeparated:Fo,number:pe,overloadedBoolean:ah,spaceSeparated:ht},Symbol.toStringTag,{value:"Module"})),Ec=Object.keys(mc);class Qc extends xn{constructor(e,t,i,d){let f=-1;if(super(e,t),sh(this,"space",d),typeof i=="number")for(;++f<Ec.length;){const o=Ec[f];sh(this,Ec[f],(i&mc[o])===mc[o])}}}Qc.prototype.defined=!0;function sh(n,e,t){t&&(n[e]=t)}const fb={}.hasOwnProperty;function Ro(n){const e={},t={};let i;for(i in n.properties)if(fb.call(n.properties,i)){const d=n.properties[i],f=new Qc(i,n.transform(n.attributes||{},i),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(f.mustUseProperty=!0),e[i]=f,t[Bc(i)]=i,t[Bc(f.attribute)]=i}return new br(e,t,n.space)}const lh=Ro({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ch=Ro({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function gh(n,e){return e in n?n[e]:e}function dh(n,e){return gh(n,e.toLowerCase())}const uh=Ro({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dh,properties:{xmlns:null,xmlnsXLink:null}}),hh=Ro({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:_t,ariaAutoComplete:null,ariaBusy:_t,ariaChecked:_t,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:ht,ariaCurrent:null,ariaDescribedBy:ht,ariaDetails:null,ariaDisabled:_t,ariaDropEffect:ht,ariaErrorMessage:null,ariaExpanded:_t,ariaFlowTo:ht,ariaGrabbed:_t,ariaHasPopup:null,ariaHidden:_t,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ht,ariaLevel:pe,ariaLive:null,ariaModal:_t,ariaMultiLine:_t,ariaMultiSelectable:_t,ariaOrientation:null,ariaOwns:ht,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:_t,ariaReadOnly:_t,ariaRelevant:null,ariaRequired:_t,ariaRoleDescription:ht,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:_t,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}}),Ib=Ro({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:ht,accessKey:ht,action:null,allow:null,allowFullScreen:Ue,allowPaymentRequest:Ue,allowUserMedia:Ue,alt:null,as:null,async:Ue,autoCapitalize:null,autoComplete:ht,autoFocus:Ue,autoPlay:Ue,blocking:ht,capture:null,charSet:null,checked:Ue,cite:null,className:ht,cols:pe,colSpan:null,content:null,contentEditable:_t,controls:Ue,controlsList:ht,coords:pe|Fo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ue,defer:Ue,dir:null,dirName:null,disabled:Ue,download:ah,draggable:_t,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ue,formTarget:null,headers:ht,height:pe,hidden:Ue,high:pe,href:null,hrefLang:null,htmlFor:ht,httpEquiv:ht,id:null,imageSizes:null,imageSrcSet:null,inert:Ue,inputMode:null,integrity:null,is:null,isMap:Ue,itemId:null,itemProp:ht,itemRef:ht,itemScope:Ue,itemType:ht,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:ht,placeholder:null,playsInline:Ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ue,referrerPolicy:null,rel:ht,required:Ue,reversed:Ue,rows:pe,rowSpan:pe,sandbox:ht,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:_t,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:_t,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ht,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:_t,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}}),wb=Ro({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:gh,properties:{about:mn,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:ht,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:mn,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:ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mn,rev:mn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mn,requiredFeatures:mn,requiredFonts:mn,requiredFormats:mn,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:mn,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:mn,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:mn,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}}),bb=/^data[-\w.:]+$/i,ph=/-[a-z]/g,yb=/[A-Z]/g;function Db(n,e){const t=Bc(e);let i=e,d=xn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&bb.test(e)){if(e.charAt(4)==="-"){const f=e.slice(5).replace(ph,kb);i="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=e.slice(4);if(!ph.test(f)){let o=f.replace(yb,vb);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}d=Qc}return new d(i,e)}function vb(n){return"-"+n.toLowerCase()}function kb(n){return n.charAt(1).toUpperCase()}const _b=rh([ch,lh,uh,hh,Ib],"html"),Ch=rh([ch,lh,uh,hh,wb],"svg"),Bh={}.hasOwnProperty;function Mb(n,e){const t=e||{};function i(d,...f){let o=i.invalid;const b=i.handlers;if(d&&Bh.call(d,n)){const D=String(d[n]);o=Bh.call(b,D)?b[D]:i.unknown}if(o)return o.call(this,d,...f)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const xb=/["&'<>`]/g,Sb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nb=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Fb=/[|\\{}()[\]^$+*?.]/g,mh=new WeakMap;function Rb(n,e){if(n=n.replace(e.subset?Lb(e.subset):xb,i),e.subset||e.escapeOnly)return n;return n.replace(Sb,t).replace(Nb,i);function t(d,f,o){return e.format((d.charCodeAt(0)-55296)*1024+d.charCodeAt(1)-56320+65536,o.charCodeAt(f+2),e)}function i(d,f,o){return e.format(d.charCodeAt(0),o.charCodeAt(f+1),e)}}function Lb(n){let e=mh.get(n);return e||(e=Gb(n),mh.set(n,e)),e}function Gb(n){const e=[];let t=-1;for(;++t<n.length;)e.push(n[t].replace(Fb,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const Pb=/[\dA-Fa-f]/;function Hb(n,e,t){const i="&#x"+n.toString(16).toUpperCase();return t&&e&&!Pb.test(String.fromCharCode(e))?i:i+";"}const Kb=/\d/;function Tb(n,e,t){const i="&#"+String(n);return t&&e&&!Kb.test(String.fromCharCode(e))?i:i+";"}const Ub=["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"],fc={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:"€"},Yb=["cent","copy","divide","gt","lt","not","para","times"],Eh={}.hasOwnProperty,Ic={};let $a;for($a in fc)Eh.call(fc,$a)&&(Ic[fc[$a]]=$a);const Ob=/[^\dA-Za-z]/;function $b(n,e,t,i){const d=String.fromCharCode(n);if(Eh.call(Ic,d)){const f=Ic[d],o="&"+f;return t&&Ub.includes(f)&&!Yb.includes(f)&&(!i||e&&e!==61&&Ob.test(String.fromCharCode(e)))?o:o+";"}return""}function zb(n,e,t){let i=Hb(n,e,t.omitOptionalSemicolons),d;if((t.useNamedReferences||t.useShortestReferences)&&(d=$b(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!d)&&t.useShortestReferences){const f=Tb(n,e,t.omitOptionalSemicolons);f.length<i.length&&(i=f)}return d&&(!t.useShortestReferences||d.length<i.length)?d:i}function Lo(n,e){return Rb(n,Object.assign({format:zb},e))}const Jb=/^>|^->|<!--|-->|--!>|<!-$/g,Zb=[">"],Wb=["<",">"];function jb(n,e,t,i){return i.settings.bogusComments?"<?"+Lo(n.value,Object.assign({},i.settings.characterReferences,{subset:Zb}))+">":"<!--"+n.value.replace(Jb,d)+"-->";function d(f){return Lo(f,Object.assign({},i.settings.characterReferences,{subset:Wb}))}}function qb(n,e,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Qh(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let i=0,d=t.indexOf(e);for(;d!==-1;)i++,d=t.indexOf(e,d+e.length);return i}function Xb(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function Vb(n){return n.join(" ").trim()}const Ay=/[ \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(Ay,"")===""}const St=wh(1),Ih=wh(-1),ey=[];function wh(n){return e;function e(t,i,d){const f=t?t.children:ey;let o=(i||0)+n,b=f[o];if(!d)for(;b&&wc(b);)o+=n,b=f[o];return b}}const ty={}.hasOwnProperty;function bh(n){return e;function e(t,i,d){return ty.call(n,t.tagName)&&n[t.tagName](t,i,d)}}const bc=bh({body:iy,caption:yc,colgroup:yc,dd:sy,dt:ay,head:yc,html:ny,li:ry,optgroup:ly,option:cy,p:oy,rp:yh,rt:yh,tbody:dy,td:Dh,tfoot:uy,th:Dh,thead:gy,tr:hy});function yc(n,e,t){const i=St(t,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&wc(i.value.charAt(0)))}function ny(n,e,t){const i=St(t,e);return!i||i.type!=="comment"}function iy(n,e,t){const i=St(t,e);return!i||i.type!=="comment"}function oy(n,e,t){const i=St(t,e);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 ry(n,e,t){const i=St(t,e);return!i||i.type==="element"&&i.tagName==="li"}function ay(n,e,t){const i=St(t,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function sy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function yh(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function ly(n,e,t){const i=St(t,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function cy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function gy(n,e,t){const i=St(t,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function dy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function uy(n,e,t){return!St(t,e)}function hy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&i.tagName==="tr"}function Dh(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const py=bh({body:my,colgroup:Ey,head:By,html:Cy,tbody:Qy});function Cy(n){const e=St(n,-1);return!e||e.type!=="comment"}function By(n){const e=new Set;for(const i of n.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(e.has(i.tagName))return!1;e.add(i.tagName)}const t=n.children[0];return!t||t.type==="element"}function my(n){const e=St(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&wc(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Ey(n,e,t){const i=Ih(t,e),d=St(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&bc(i,t.children.indexOf(i),t)?!1:!!(d&&d.type==="element"&&d.tagName==="col")}function Qy(n,e,t){const i=Ih(t,e),d=St(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&bc(i,t.children.indexOf(i),t)?!1:!!(d&&d.type==="element"&&d.tagName==="tr")}const za={name:[[`
|
|
83
83
|
\f\r &/=>`.split(""),`
|
|
@@ -93,27 +93,27 @@ 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 Jh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),t.push.apply(t,i)}return t}function Ai(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Jh(Object(t),!0).forEach(function(i){TD(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Jh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function es(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?es=function(e){return typeof e}:es=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(n)}function TD(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function pi(){return pi=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},pi.apply(this,arguments)}function UD(n,e){if(n==null)return{};var t={},i=Object.keys(n),d,f;for(f=0;f<i.length;f++)d=i[f],!(e.indexOf(d)>=0)&&(t[d]=n[d]);return t}function YD(n,e){if(n==null)return{};var t=UD(n,e),i,d;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(n);for(d=0;d<f.length;d++)i=f[d],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var OD="1.14.0";function Ci(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Bi=Ci(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_r=Ci(/Edge/i),Zh=Ci(/firefox/i),Mr=Ci(/safari/i)&&!Ci(/chrome/i)&&!Ci(/android/i),Wh=Ci(/iP(ad|od|hone)/i),$D=Ci(/chrome/i)&&Ci(/android/i),jh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!Bi&&jh)}function et(n,e,t){n.removeEventListener(e,t,!Bi&&jh)}function ts(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function zD(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function ei(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&ts(n,e):ts(n,e))||i&&n===t)return n;if(n===t)break}while(n=zD(n))}return null}var qh=/\s+/g;function En(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(qh," ")}}function Le(n,e,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),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(t)}function Xh(n,e,t){if(n){var i=n.getElementsByTagName(e),d=0,f=i.length;if(t)for(;d<f;d++)t(i[d],d);return i}return[]}function ti(){var n=document.scrollingElement;return n||document.documentElement}function Nt(n,e,t,i,d){if(!(!n.getBoundingClientRect&&n!==window)){var f,o,b,D,I,S,N;if(n!==window&&n.parentNode&&n!==ti()?(f=n.getBoundingClientRect(),o=f.top,b=f.left,D=f.bottom,I=f.right,S=f.height,N=f.width):(o=0,b=0,D=window.innerHeight,I=window.innerWidth,S=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(d=d||n.parentNode,!Bi))do if(d&&d.getBoundingClientRect&&(Le(d,"transform")!=="none"||t&&Le(d,"position")!=="static")){var T=d.getBoundingClientRect();o-=T.top+parseInt(Le(d,"border-top-width")),b-=T.left+parseInt(Le(d,"border-left-width")),D=o+f.height,I=b+f.width;break}while(d=d.parentNode);if(i&&n!==window){var O=Po(d||n),H=O&&O.a,P=O&&O.d;O&&(o/=P,b/=H,N/=H,S/=P,D=o+S,I=b+N)}return{top:o,left:b,bottom:D,right:I,width:N,height:S}}}function Vh(n,e,t){for(var i=Ri(n,!0),d=Nt(n)[e];i;){var f=Nt(i)[t],o=void 0;if(o=d>=f,!o)return i;if(i===ti())break;i=Ri(i,!1)}return!1}function Ho(n,e,t,i){for(var d=0,f=0,o=n.children;f<o.length;){if(o[f].style.display!=="none"&&o[f]!==Ge.ghost&&(i||o[f]!==Ge.dragged)&&ei(o[f],t.draggable,n,!1)){if(d===e)return o[f];d++}f++}return null}function xc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!ts(t,e));)t=t.previousElementSibling;return t||null}function Sn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||ts(n,e))&&t++;return t}function Ap(n){var e=0,t=0,i=ti();if(n)do{var d=Po(n),f=d.a,o=d.d;e+=n.scrollLeft*f,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function JD(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ri(n,e){if(!n||!n.getBoundingClientRect)return ti();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var d=Le(t);if(t.clientWidth<t.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return ti();if(i||e)return t;i=!0}}while(t=t.parentNode);return ti()}function ZD(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function Sc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var xr;function ep(n,e){return function(){if(!xr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),xr=setTimeout(function(){xr=void 0},e)}}}function WD(){clearTimeout(xr),xr=void 0}function tp(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function np(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Qn="Sortable"+new Date().getTime();function jD(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(d){if(!(Le(d,"display")==="none"||d===Ge.ghost)){n.push({target:d,rect:Nt(d)});var f=Ai({},n[n.length-1].rect);if(d.thisAnimationDuration){var o=Po(d,!0);o&&(f.top-=o.f,f.left-=o.e)}d.fromRect=f}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(JD(n,{target:i}),1)},animateAll:function(i){var d=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var f=!1,o=0;n.forEach(function(b){var D=0,I=b.target,S=I.fromRect,N=Nt(I),T=I.prevFromRect,O=I.prevToRect,H=b.rect,P=Po(I,!0);P&&(N.top-=P.f,N.left-=P.e),I.toRect=N,I.thisAnimationDuration&&Sc(T,N)&&!Sc(S,N)&&(H.top-N.top)/(H.left-N.left)===(S.top-N.top)/(S.left-N.left)&&(D=XD(H,T,O,d.options)),Sc(N,S)||(I.prevFromRect=S,I.prevToRect=N,D||(D=d.options.animation),d.animate(I,H,N,D)),D&&(f=!0,o=Math.max(o,D),clearTimeout(I.animationResetTimer),I.animationResetTimer=setTimeout(function(){I.animationTime=0,I.prevFromRect=null,I.fromRect=null,I.prevToRect=null,I.thisAnimationDuration=null},D),I.thisAnimationDuration=D)}),clearTimeout(e),f?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,d,f,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),D=b&&b.a,I=b&&b.d,S=(d.left-f.left)/(D||1),N=(d.top-f.top)/(I||1);i.animatingX=!!S,i.animatingY=!!N,Le(i,"transform","translate3d("+S+"px,"+N+"px,0)"),this.forRepaintDummy=qD(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function qD(n){return n.offsetWidth}function XD(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Nc={initializeByDefault:!0},Sr={mount:function(e){for(var t in Nc)Nc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Nc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var d=this;this.eventCanceled=!1,i.cancel=function(){d.eventCanceled=!0};var f=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][f]&&t[o.pluginName][f](Ai({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](Ai({sortable:t},i)))})},initializePlugins:function(e,t,i,d){Ko.forEach(function(b){var D=b.pluginName;if(!(!e.options[D]&&!b.initializeByDefault)){var I=new b(e,t,e.options);I.sortable=e,I.options=e.options,e[D]=I,pi(i,I.defaults)}});for(var f in e.options)if(e.options.hasOwnProperty(f)){var o=this.modifyOption(e,f,e.options[f]);typeof o<"u"&&(e.options[f]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(d){typeof d.eventProperties=="function"&&pi(i,d.eventProperties.call(t[d.pluginName],e))}),i},modifyOption:function(e,t,i){var d;return Ko.forEach(function(f){e[f.pluginName]&&f.optionListeners&&typeof f.optionListeners[t]=="function"&&(d=f.optionListeners[t].call(e[f.pluginName],i))}),d}};function VD(n){var e=n.sortable,t=n.rootEl,i=n.name,d=n.targetEl,f=n.cloneEl,o=n.toEl,b=n.fromEl,D=n.oldIndex,I=n.newIndex,S=n.oldDraggableIndex,N=n.newDraggableIndex,T=n.originalEvent,O=n.putSortable,H=n.extraEventProperties;if(e=e||t&&t[Qn],!!e){var P,v=e.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Bi&&!_r?P=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(P=document.createEvent("Event"),P.initEvent(i,!0,!0)),P.to=o||t,P.from=b||t,P.item=d||t,P.clone=f,P.oldIndex=D,P.newIndex=I,P.oldDraggableIndex=S,P.newDraggableIndex=N,P.originalEvent=T,P.pullMode=O?O.lastPutMode:void 0;var F=Ai(Ai({},H),Sr.getEventProperties(i,e));for(var k in F)P[k]=F[k];t&&t.dispatchEvent(P),v[m]&&v[m].call(e,P)}}var Av=["evt"],cn=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=i.evt,f=YD(i,Av);Sr.pluginEvent.bind(Ge)(e,t,Ai({dragEl:me,parentEl:wt,ghostEl:Ye,rootEl:Qt,nextEl:no,lastDownEl:ns,cloneEl:bt,cloneHidden:Li,dragStarted:Fr,putSortable:Kt,activeSortable:Ge.active,originalEvent:d,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:d})}},f))};function Wt(n){VD(Ai({putSortable:Kt,cloneEl:bt,targetEl:me,rootEl:Qt,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi},n))}var me,wt,Ye,Qt,no,ns,bt,Li,To,fn,Nr,Gi,is,Kt,Uo=!1,os=!1,rs=[],io,$n,Fc,Rc,ip,op,Fr,Yo,Rr,Lr=!1,as=!1,ss,Ot,Lc=[],Gc=!1,ls=[],cs=typeof document<"u",gs=Wh,rp=_r||Bi?"cssFloat":"float",ev=cs&&!$D&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(cs){if(Bi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(e,t){var i=Le(e),d=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),f=Ho(e,0,t),o=Ho(e,1,t),b=f&&Le(f),D=o&&Le(o),I=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Nt(f).width,S=D&&parseInt(D.marginLeft)+parseInt(D.marginRight)+Nt(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(f&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===N)?"vertical":"horizontal"}return f&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||I>=d&&i[rp]==="none"||o&&i[rp]==="none"&&I+S>d)?"vertical":"horizontal"},tv=function(e,t,i){var d=i?e.left:e.top,f=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,D=i?t.right:t.bottom,I=i?t.width:t.height;return d===b||f===D||d+o/2===b+I/2},nv=function(e,t){var i;return rs.some(function(d){var f=d[Qn].options.emptyInsertThreshold;if(!(!f||xc(d))){var o=Nt(d),b=e>=o.left-f&&e<=o.right+f,D=t>=o.top-f&&t<=o.bottom+f;if(b&&D)return i=d}}),i},lp=function(e){function t(f,o){return function(b,D,I,S){var N=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(f==null&&(o||N))return!0;if(f==null||f===!1)return!1;if(o&&f==="clone")return f;if(typeof f=="function")return t(f(b,D,I,S),o)(b,D,I,S);var T=(o?b:D).options.group.name;return f===!0||typeof f=="string"&&f===T||f.join&&f.indexOf(T)>-1}}var i={},d=e.group;(!d||es(d)!="object")&&(d={name:d}),i.name=d.name,i.checkPull=t(d.pull,!0),i.checkPut=t(d.put),i.revertClone=d.revertClone,e.group=i},cp=function(){!ap&&Ye&&Le(Ye,"display","none")},gp=function(){!ap&&Ye&&Le(Ye,"display","")};cs&&document.addEventListener("click",function(n){if(os)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),os=!1,!1},!0);var oo=function(e){if(me){e=e.touches?e.touches[0]:e;var t=nv(e.clientX,e.clientY);if(t){var i={};for(var d in e)e.hasOwnProperty(d)&&(i[d]=e[d]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Qn]._onDragOver(i)}}},iv=function(e){me&&me.parentNode[Qn]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=pi({},e),n[Qn]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!Mr,emptyInsertThreshold:5};Sr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);lp(e);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=e.forceFallback?!1:ev,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.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)),rs.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),pi(this,jD())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,d=this.options,f=d.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,D=(b||e).target,I=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||D,S=d.filter;if(dv(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||d.disabled)&&!I.isContentEditable&&!(!this.nativeDraggable&&Mr&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=ei(D,d.draggable,i,!1),!(D&&D.animated)&&ns!==D)){if(To=Sn(D),Nr=Sn(D,d.draggable),typeof S=="function"){if(S.call(this,e,D,this)){Wt({sortable:t,rootEl:I,name:"filter",targetEl:D,toEl:i,fromEl:i}),cn("filter",t,{evt:e}),f&&e.cancelable&&e.preventDefault();return}}else if(S&&(S=S.split(",").some(function(N){if(N=ei(I,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:D,fromEl:i,toEl:i}),cn("filter",t,{evt:e}),!0}),S)){f&&e.cancelable&&e.preventDefault();return}d.handle&&!ei(I,d.handle,i,!1)||this._prepareDragStart(e,b,D)}}},_prepareDragStart:function(e,t,i){var d=this,f=d.el,o=d.options,b=f.ownerDocument,D;if(i&&!me&&i.parentNode===f){var I=Nt(i);if(Qt=f,me=i,wt=me.parentNode,no=me.nextSibling,ns=i,is=o.group,Ge.dragged=me,io={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},ip=io.clientX-I.left,op=io.clientY-I.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",D=function(){if(cn("delayEnded",d,{evt:e}),Ge.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!Zh&&d.nativeDraggable&&(me.draggable=!0),d._triggerDragStart(e,t),Wt({sortable:d,name:"choose",originalEvent:e}),En(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Xh(me,S.trim(),Pc)}),it(b,"dragover",oo),it(b,"mousemove",oo),it(b,"touchmove",oo),it(b,"mouseup",d._onDrop),it(b,"touchend",d._onDrop),it(b,"touchcancel",d._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),cn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(_r||Bi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",d._disableDelayedDrag),it(b,"touchend",d._disableDelayedDrag),it(b,"touchcancel",d._disableDelayedDrag),it(b,"mousemove",d._delayedDragTouchMoveHandler),it(b,"touchmove",d._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(D,o.delay)}else D()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;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 e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!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(Qt,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Qt&&me){cn("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",iv);var i=this.options;!e&&En(me,i.dragClass,!1),En(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if($n){this._lastX=$n.clientX,this._lastY=$n.clientY,cp();for(var e=document.elementFromPoint($n.clientX,$n.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint($n.clientX,$n.clientY),e!==t);)t=e;if(me.parentNode[Qn]._isOutsideThisEl(e),t)do{if(t[Qn]){var i=void 0;if(i=t[Qn]._onDragOver({clientX:$n.clientX,clientY:$n.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);gp()}},_onTouchMove:function(e){if(io){var t=this.options,i=t.fallbackTolerance,d=t.fallbackOffset,f=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,D=Ye&&o&&o.d,I=gs&&Ot&&Ap(Ot),S=(f.clientX-io.clientX+d.x)/(b||1)+(I?I[0]-Lc[0]:0)/(b||1),N=(f.clientY-io.clientY+d.y)/(D||1)+(I?I[1]-Lc[1]:0)/(D||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(f.clientX-this._lastX),Math.abs(f.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=S-(Fc||0),o.f+=N-(Rc||0)):o={a:1,b:0,c:0,d:1,e:S,f:N};var T="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",T),Le(Ye,"mozTransform",T),Le(Ye,"msTransform",T),Le(Ye,"transform",T),Fc=S,Rc=N,$n=f}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Qt,t=Nt(me,!0,gs,!0,e),i=this.options;if(gs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=ti()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=ti(),Lc=Ap(Ot)}Ye=me.cloneNode(!0),En(Ye,i.ghostClass,!1),En(Ye,i.fallbackClass,!0),En(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",gs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",ip/parseInt(Ye.style.width)*100+"% "+op/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,d=e.dataTransfer,f=i.options;if(cn("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}cn("setupClone",this),Ge.eventCanceled||(bt=np(me),bt.draggable=!1,bt.style["will-change"]="",this._hideClone(),En(bt,this.options.chosenClass,!1),Ge.clone=bt),i.cloneId=us(function(){cn("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Qt.insertBefore(bt,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&En(me,f.dragClass,!0),t?(os=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),d&&(d.effectAllowed="move",f.setData&&f.setData.call(i,d,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Fr=!0,Mr&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,d,f,o,b=this.options,D=b.group,I=Ge.active,S=is===D,N=b.sort,T=Kt||I,O,H=this,P=!1;if(Gc)return;function v(x,K){cn(x,H,Ai({evt:e,isOwner:S,axis:O?"vertical":"horizontal",revert:o,dragRect:d,targetRect:f,canSort:N,fromSortable:T,target:i,completed:F,onMove:function(AA,eA){return ds(Qt,t,me,d,AA,Nt(AA),e,eA)},changed:k},K))}function m(){v("dragOverAnimationCapture"),H.captureAnimationState(),H!==T&&T.captureAnimationState()}function F(x){return v("dragOverCompleted",{insertion:x}),x&&(S?I._hideClone():I._showClone(H),H!==T&&(En(me,Kt?Kt.options.ghostClass:I.options.ghostClass,!1),En(me,b.ghostClass,!0)),Kt!==H&&H!==Ge.active?Kt=H:H===Ge.active&&Kt&&(Kt=null),T===H&&(H._ignoreWhileAnimating=i),H.animateAll(function(){v("dragOverAnimationComplete"),H._ignoreWhileAnimating=null}),H!==T&&(T.animateAll(),T._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[Qn]._isOutsideThisEl(e.target),!x&&oo(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),P=!0}function k(){fn=Sn(me),Gi=Sn(me,b.draggable),Wt({sortable:H,name:"change",toEl:t,newIndex:fn,newDraggableIndex:Gi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=ei(i,b.draggable,t,!0),v("dragOver"),Ge.eventCanceled)return P;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||H._ignoreWhileAnimating===i)return F(!1);if(os=!1,I&&!b.disabled&&(S?N||(o=wt!==Qt):Kt===this||(this.lastPutMode=is.checkPull(this,I,me,e))&&D.checkPut(this,I,me,e))){if(O=this._getDirection(e,i)==="vertical",d=Nt(me),v("dragOverValid"),Ge.eventCanceled)return P;if(o)return wt=Qt,m(),this._hideClone(),v("revert"),Ge.eventCanceled||(no?Qt.insertBefore(me,no):Qt.appendChild(me)),F(!0);var _=xc(t,b.draggable);if(!_||sv(e,O,this)&&!_.animated){if(_===me)return F(!1);if(_&&t===e.target&&(i=_),i&&(f=Nt(i)),ds(Qt,t,me,d,i,f,e,!!i)!==!1)return m(),t.appendChild(me),wt=t,k(),F(!0)}else if(_&&av(e,O,this)){var B=Ho(t,0,b,!0);if(B===me)return F(!1);if(i=B,f=Nt(i),ds(Qt,t,me,d,i,f,e,!1)!==!1)return m(),t.insertBefore(me,B),wt=t,k(),F(!0)}else if(i.parentNode===t){f=Nt(i);var p=0,u,l=me.parentNode!==t,g=!tv(me.animated&&me.toRect||d,i.animated&&i.toRect||f,O),s=O?"top":"left",h=Vh(i,"top","top")||Vh(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(u=f[s],Lr=!1,as=!g&&b.invertSwap||l),p=lv(e,i,f,O,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,as,Yo===i);var a;if(p!==0){var r=Sn(me);do r-=p,a=wt.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return F(!1);Yo=i,Rr=p;var E=i.nextElementSibling,Q=!1;Q=p===1;var M=ds(Qt,t,me,d,i,f,e,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),Gc=!0,setTimeout(rv,30),m(),Q&&!E?t.appendChild(me):i.parentNode.insertBefore(me,Q?E:i),h&&tp(h,0,C-h.scrollTop),wt=me.parentNode,u!==void 0&&!as&&(ss=Math.abs(u-Nt(i)[s])),k(),F(!0)}if(t.contains(me))return F(!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",oo),et(document,"mousemove",oo),et(document,"touchmove",oo)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(fn=Sn(me),Gi=Sn(me,i.draggable),cn("drop",this,{evt:e}),wt=me&&me.parentNode,fn=Sn(me),Gi=Sn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,as=!1,Lr=!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(),Mr&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Fr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Qt===wt||Kt&&Kt.lastPutMode!=="clone")&&bt&&bt.parentNode&&bt.parentNode.removeChild(bt),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!Uo&&En(me,Kt?Kt.options.ghostClass:this.options.ghostClass,!1),En(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qt!==wt?(fn>=0&&(Wt({rootEl:wt,name:"add",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:wt,originalEvent:e}),Wt({rootEl:wt,name:"sort",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Kt&&Kt.save()):fn!==To&&fn>=0&&(Wt({sortable:this,name:"update",toEl:wt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Ge.active&&((fn==null||fn===-1)&&(fn=To,Gi=Nr),Wt({sortable:this,name:"end",toEl:wt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){cn("nulling",this),Qt=me=wt=Ye=no=bt=ns=Li=io=$n=Fr=fn=Gi=To=Nr=Yo=Rr=Kt=is=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ls.forEach(function(e){e.checked=!0}),ls.length=Fc=Rc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),ov(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,d=0,f=i.length,o=this.options;d<f;d++)t=i[d],ei(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||gv(t));return e},sort:function(e,t){var i={},d=this.el;this.toArray().forEach(function(f,o){var b=d.children[o];ei(b,this.options.draggable,d,!1)&&(i[f]=b)},this),t&&this.captureAnimationState(),e.forEach(function(f){i[f]&&(d.removeChild(i[f]),d.appendChild(i[f]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ei(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var d=Sr.modifyOption(this,e,t);typeof d<"u"?i[e]=d:i[e]=t,e==="group"&&lp(i)},destroy:function(){cn("destroy",this);var e=this.el;e[Qn]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),rs.splice(rs.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Li){if(cn("hideClone",this),Ge.eventCanceled)return;Le(bt,"display","none"),this.options.removeCloneOnHide&&bt.parentNode&&bt.parentNode.removeChild(bt),Li=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Li){if(cn("showClone",this),Ge.eventCanceled)return;me.parentNode==Qt&&!this.options.group.revertClone?Qt.insertBefore(bt,me):no?Qt.insertBefore(bt,no):Qt.appendChild(bt),this.options.group.revertClone&&this.animate(me,bt),Le(bt,"display",""),Li=!1}}};function ov(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function ds(n,e,t,i,d,f,o,b){var D,I=n[Qn],S=I.options.onMove,N;return window.CustomEvent&&!Bi&&!_r?D=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(D=document.createEvent("Event"),D.initEvent("move",!0,!0)),D.to=e,D.from=n,D.dragged=t,D.draggedRect=i,D.related=d||e,D.relatedRect=f||Nt(e),D.willInsertAfter=b,D.originalEvent=o,n.dispatchEvent(D),S&&(N=S.call(I,D,o)),N}function Pc(n){n.draggable=!1}function rv(){Gc=!1}function av(n,e,t){var i=Nt(Ho(t.el,0,t.options,!0)),d=10;return e?n.clientX<i.left-d||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-d||n.clientY<i.bottom&&n.clientX<i.left}function sv(n,e,t){var i=Nt(xc(t.el,t.options.draggable)),d=10;return e?n.clientX>i.right+d||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+d}function lv(n,e,t,i,d,f,o,b){var D=i?n.clientY:n.clientX,I=i?t.height:t.width,S=i?t.top:t.left,N=i?t.bottom:t.right,T=!1;if(!o){if(b&&ss<I*d){if(!Lr&&(Rr===1?D>S+I*f/2:D<N-I*f/2)&&(Lr=!0),Lr)T=!0;else if(Rr===1?D<S+ss:D>N-ss)return-Rr}else if(D>S+I*(1-d)/2&&D<N-I*(1-d)/2)return cv(e)}return T=T||o,T&&(D<S+I*f/2||D>N-I*f/2)?D>S+I/2?1:-1:0}function cv(n){return Sn(me)<Sn(n)?1:-1}function gv(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function dv(n){ls.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ls.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}cs&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Xh,is:function(e,t){return!!ei(e,t,e,!1)},extend:ZD,throttle:ep,closest:ei,toggleClass:En,clone:np,index:Sn,nextTick:us,cancelNextTick:Hc,detectDirection:sp,getChild:Ho},Ge.get=function(n){return n[Qn]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.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&&(Ge.utils=Ai(Ai({},Ge.utils),i.utils)),Sr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=OD;var Mt=[],Gr,Kc,Tc=!1,Uc,Yc,hs,Pr;function uv(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].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(),ps(),WD()},nulling:function(){hs=Kc=Gr=Tc=Pr=Uc=Yc=null,Mt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var d=this,f=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(f,o);if(hs=t,i||this.options.forceAutoScrollFallback||_r||Bi||Mr){Oc(t,this.options,b,i);var D=Ri(b,!0);Tc&&(!Pr||f!==Uc||o!==Yc)&&(Pr&&dp(),Pr=setInterval(function(){var I=Ri(document.elementFromPoint(f,o),!0);I!==D&&(D=I,ps()),Oc(t,d.options,I,i)},10),Uc=f,Yc=o)}else{if(!this.options.bubbleScroll||Ri(b,!0)===ti()){ps();return}Oc(t,this.options,Ri(b,!1),!1)}}},pi(n,{pluginName:"scroll",initializeByDefault:!0})}function ps(){Mt.forEach(function(n){clearInterval(n.pid)}),Mt=[]}function dp(){clearInterval(Pr)}var Oc=ep(function(n,e,t,i){if(e.scroll){var d=(n.touches?n.touches[0]:n).clientX,f=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,D=ti(),I=!1,S;Kc!==t&&(Kc=t,ps(),Gr=e.scroll,S=e.scrollFn,Gr===!0&&(Gr=Ri(t,!0)));var N=0,T=Gr;do{var O=T,H=Nt(O),P=H.top,v=H.bottom,m=H.left,F=H.right,k=H.width,_=H.height,B=void 0,p=void 0,u=O.scrollWidth,l=O.scrollHeight,g=Le(O),s=O.scrollLeft,h=O.scrollTop;O===D?(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(F-d)<=o&&s+k<u)-(Math.abs(m-d)<=o&&!!s),a=p&&(Math.abs(v-f)<=o&&h+_<l)-(Math.abs(P-f)<=o&&!!h);if(!Mt[N])for(var r=0;r<=N;r++)Mt[r]||(Mt[r]={});(Mt[N].vx!=C||Mt[N].vy!=a||Mt[N].el!==O)&&(Mt[N].el=O,Mt[N].vx=C,Mt[N].vy=a,clearInterval(Mt[N].pid),(C!=0||a!=0)&&(I=!0,Mt[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(hs);var E=Mt[this.layer].vy?Mt[this.layer].vy*b:0,Q=Mt[this.layer].vx?Mt[this.layer].vx*b:0;typeof S=="function"&&S.call(Ge.dragged.parentNode[Qn],Q,E,n,hs,Mt[this.layer].el)!=="continue"||tp(Mt[this.layer].el,Q,E)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&T!==D&&(T=Ri(T,!1)));Tc=I}},30),up=function(e){var t=e.originalEvent,i=e.putSortable,d=e.dragEl,f=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,D=e.unhideGhostForTarget;if(t){var I=i||f;b();var S=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(S.clientX,S.clientY);D(),I&&!I.el.contains(N)&&(o("spill"),this.onSpill({dragEl:d,putSortable:i}))}};function $c(){}$c.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var d=Ho(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(t,d):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:up},pi($c,{pluginName:"revertOnSpill"});function zc(){}zc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,d=i||this.sortable;d.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),d.animateAll()},drop:up},pi(zc,{pluginName:"removeOnSpill"}),Ge.mount(new uv),Ge.mount(zc,$c);var hv=Object.defineProperty,pv=Object.defineProperties,Cv=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,Bv=Object.prototype.hasOwnProperty,mv=Object.prototype.propertyIsEnumerable,pp=(n,e,t)=>e in n?hv(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Pi=(n,e)=>{for(var t in e||(e={}))Bv.call(e,t)&&pp(n,t,e[t]);if(hp)for(var t of hp(e))mv.call(e,t)&&pp(n,t,e[t]);return n},Cs=(n,e)=>pv(n,Cv(e));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function Ev(){return typeof window<"u"?window.console:global.console}const Qv=Ev();function fv(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Iv=/-(\w)/g,wv=fv(n=>n.replace(Iv,(e,t)=>t.toUpperCase())),Bp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],bv=[Ep,Bp,mp].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Ep,manageAndEmit:Bp,emit:mp};function yv(n){return bv.indexOf(n)!==-1}const Dv=["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 vv(n){return Dv.includes(n)}function kv(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function _v({$attrs:n,componentData:e={}}){const t=fp(Object.entries(n).filter(([i,d])=>Qp(i)));return Pi(Pi({},t),e)}function Mv({$attrs:n,callBackBuilder:e}){const t=fp(Ip(n));Object.entries(e).forEach(([d,f])=>{Zc[d].forEach(o=>{t[`on${o}`]=f(o)})});const i=`[data-draggable]${t.draggable||""}`;return Cs(Pi({},t),{draggable:i})}function Ip(n){return Object.entries(n).filter(([e,t])=>!Qp(e)).map(([e,t])=>[wv(e),t]).filter(([e,t])=>!yv(e))}const wp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},xv=(n,e)=>n.__draggable_context=e,bp=n=>n.__draggable_context;class Sv{constructor({nodes:{header:e,default:t,footer:i},root:d,realList:f}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=d.externalComponent,this.rootTransition=d.transition,this.tag=d.tag,this.realList=f}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:d,_isRootComponent:f}=this;return e(i,t,f?{default:()=>d}:d)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,d)=>{xv(wp(i),{element:t[d],index:d})})}getUnderlyingVm(e){return bp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:d}=i,f=t.children,o=f.item(e);if(o===null)return d;const b=bp(o);if(b)return b.index;if(d===0)return 0;const D=wp(i[0]),I=[...f].findIndex(S=>S===D);return e<I?0:d}}function Nv(n,e){const t=n[e];return t?t():[]}function Fv({$slots:n,realList:e,getKey:t}){const i=e||[],[d,f]=["header","footer"].map(D=>Nv(n,D)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((D,I)=>o({element:D,index:I}).map(S=>(S.key=t(D),S.props=Cs(Pi({},S.props||{}),{"data-draggable":!0}),S)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:d,footer:f,default:b}}function Rv(n){const e=kv(n),t=!vv(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function Lv({$slots:n,tag:e,realList:t,getKey:i}){const d=Fv({$slots:n,realList:t,getKey:i}),f=Rv(e);return new Sv({nodes:d,root:f,realList:t})}function yp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function Dp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Gv(n){const e=Dp.call(this,n);return(t,i)=>{e.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Pv={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}},Hv=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],vp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Pv,emits:Hv,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:d,getKey:f}=this,o=Lv({$slots:n,tag:t,realList:d,getKey:f});this.componentStructure=o;const b=_v({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Qv.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=Mv({$attrs:n,callBackBuilder:{manageAndEmit:f=>Gv.call(this,f),emit:f=>yp.bind(this,f),manage:f=>Dp.call(this,f)}}),d=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(d,i),this.targetDomElement=d,d.__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:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&Ip(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,d={list:i,component:t};if(n!==e&&i){const f=t.getUnderlyingVm(e)||{};return Pi(Pi({},f),d)}return d},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 e=n.item._underlying_vm_;if(e===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Cp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),d=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Wc)!==-1||!e.willInsertAfter?d:d+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const d=this.getRelatedContextFromMoveEvent(n),f=this.computeFutureIndex(d,n),o=Cs(Pi({},this.context),{futureIndex:f}),b=Cs(Pi({},n),{relatedContext:d,draggedContext:o});return t(b,e)},onDragEnd(){Wc=null}}}),Kv=["xlink:href"],De=oe(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"},customStyle:{type:[Boolean,null,String,Object,Array],default:()=>({})}},setup(n){const e=n,t=A.computed(()=>{if(!e.color&&!e.customStyle)return;const i={color:e.color,...e.customStyle};return typeof e.size=="number"&&(i.width=e.size+"px",i.height=e.size+"px"),i});return(i,d)=>(A.openBlock(),A.createElementBlock("svg",{class:A.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",mini:i.size==="mini"}]),style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,Kv)],6))}}),[["__scopeId","data-v-e1f08abe"]]),kp=oe(A.defineComponent({__name:"Popover",props:{title:{},offset:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean},beforeEnter:{},params:{},onShow:{},disabled:{type:Boolean}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(!1),d=n,f=async()=>{var I,S;const D=(S=(I=d.reference)==null?void 0:I.props)==null?void 0:S.onClick;if(D&&e)try{await e[D](t,d)}catch(N){console.error(N+`
|
|
96
|
+
*/function Jh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),t.push.apply(t,i)}return t}function ei(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Jh(Object(t),!0).forEach(function(i){TD(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Jh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function es(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?es=function(e){return typeof e}:es=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(n)}function TD(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function pi(){return pi=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},pi.apply(this,arguments)}function UD(n,e){if(n==null)return{};var t={},i=Object.keys(n),d,f;for(f=0;f<i.length;f++)d=i[f],!(e.indexOf(d)>=0)&&(t[d]=n[d]);return t}function YD(n,e){if(n==null)return{};var t=UD(n,e),i,d;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(n);for(d=0;d<f.length;d++)i=f[d],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var OD="1.14.0";function Ci(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Bi=Ci(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_r=Ci(/Edge/i),Zh=Ci(/firefox/i),Mr=Ci(/safari/i)&&!Ci(/chrome/i)&&!Ci(/android/i),Wh=Ci(/iP(ad|od|hone)/i),$D=Ci(/chrome/i)&&Ci(/android/i),jh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!Bi&&jh)}function et(n,e,t){n.removeEventListener(e,t,!Bi&&jh)}function ts(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function zD(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function ti(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&ts(n,e):ts(n,e))||i&&n===t)return n;if(n===t)break}while(n=zD(n))}return null}var qh=/\s+/g;function En(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(qh," ")}}function Le(n,e,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),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(t)}function Xh(n,e,t){if(n){var i=n.getElementsByTagName(e),d=0,f=i.length;if(t)for(;d<f;d++)t(i[d],d);return i}return[]}function ni(){var n=document.scrollingElement;return n||document.documentElement}function Nt(n,e,t,i,d){if(!(!n.getBoundingClientRect&&n!==window)){var f,o,b,D,I,S,N;if(n!==window&&n.parentNode&&n!==ni()?(f=n.getBoundingClientRect(),o=f.top,b=f.left,D=f.bottom,I=f.right,S=f.height,N=f.width):(o=0,b=0,D=window.innerHeight,I=window.innerWidth,S=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(d=d||n.parentNode,!Bi))do if(d&&d.getBoundingClientRect&&(Le(d,"transform")!=="none"||t&&Le(d,"position")!=="static")){var T=d.getBoundingClientRect();o-=T.top+parseInt(Le(d,"border-top-width")),b-=T.left+parseInt(Le(d,"border-left-width")),D=o+f.height,I=b+f.width;break}while(d=d.parentNode);if(i&&n!==window){var O=Po(d||n),H=O&&O.a,P=O&&O.d;O&&(o/=P,b/=H,N/=H,S/=P,D=o+S,I=b+N)}return{top:o,left:b,bottom:D,right:I,width:N,height:S}}}function Vh(n,e,t){for(var i=Ri(n,!0),d=Nt(n)[e];i;){var f=Nt(i)[t],o=void 0;if(o=d>=f,!o)return i;if(i===ni())break;i=Ri(i,!1)}return!1}function Ho(n,e,t,i){for(var d=0,f=0,o=n.children;f<o.length;){if(o[f].style.display!=="none"&&o[f]!==Ge.ghost&&(i||o[f]!==Ge.dragged)&&ti(o[f],t.draggable,n,!1)){if(d===e)return o[f];d++}f++}return null}function xc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!ts(t,e));)t=t.previousElementSibling;return t||null}function Sn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||ts(n,e))&&t++;return t}function Ap(n){var e=0,t=0,i=ni();if(n)do{var d=Po(n),f=d.a,o=d.d;e+=n.scrollLeft*f,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function JD(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ri(n,e){if(!n||!n.getBoundingClientRect)return ni();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var d=Le(t);if(t.clientWidth<t.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return ni();if(i||e)return t;i=!0}}while(t=t.parentNode);return ni()}function ZD(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function Sc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var xr;function ep(n,e){return function(){if(!xr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),xr=setTimeout(function(){xr=void 0},e)}}}function WD(){clearTimeout(xr),xr=void 0}function tp(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function np(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Qn="Sortable"+new Date().getTime();function jD(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(d){if(!(Le(d,"display")==="none"||d===Ge.ghost)){n.push({target:d,rect:Nt(d)});var f=ei({},n[n.length-1].rect);if(d.thisAnimationDuration){var o=Po(d,!0);o&&(f.top-=o.f,f.left-=o.e)}d.fromRect=f}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(JD(n,{target:i}),1)},animateAll:function(i){var d=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var f=!1,o=0;n.forEach(function(b){var D=0,I=b.target,S=I.fromRect,N=Nt(I),T=I.prevFromRect,O=I.prevToRect,H=b.rect,P=Po(I,!0);P&&(N.top-=P.f,N.left-=P.e),I.toRect=N,I.thisAnimationDuration&&Sc(T,N)&&!Sc(S,N)&&(H.top-N.top)/(H.left-N.left)===(S.top-N.top)/(S.left-N.left)&&(D=XD(H,T,O,d.options)),Sc(N,S)||(I.prevFromRect=S,I.prevToRect=N,D||(D=d.options.animation),d.animate(I,H,N,D)),D&&(f=!0,o=Math.max(o,D),clearTimeout(I.animationResetTimer),I.animationResetTimer=setTimeout(function(){I.animationTime=0,I.prevFromRect=null,I.fromRect=null,I.prevToRect=null,I.thisAnimationDuration=null},D),I.thisAnimationDuration=D)}),clearTimeout(e),f?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,d,f,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),D=b&&b.a,I=b&&b.d,S=(d.left-f.left)/(D||1),N=(d.top-f.top)/(I||1);i.animatingX=!!S,i.animatingY=!!N,Le(i,"transform","translate3d("+S+"px,"+N+"px,0)"),this.forRepaintDummy=qD(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function qD(n){return n.offsetWidth}function XD(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Nc={initializeByDefault:!0},Sr={mount:function(e){for(var t in Nc)Nc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Nc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var d=this;this.eventCanceled=!1,i.cancel=function(){d.eventCanceled=!0};var f=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][f]&&t[o.pluginName][f](ei({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](ei({sortable:t},i)))})},initializePlugins:function(e,t,i,d){Ko.forEach(function(b){var D=b.pluginName;if(!(!e.options[D]&&!b.initializeByDefault)){var I=new b(e,t,e.options);I.sortable=e,I.options=e.options,e[D]=I,pi(i,I.defaults)}});for(var f in e.options)if(e.options.hasOwnProperty(f)){var o=this.modifyOption(e,f,e.options[f]);typeof o<"u"&&(e.options[f]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(d){typeof d.eventProperties=="function"&&pi(i,d.eventProperties.call(t[d.pluginName],e))}),i},modifyOption:function(e,t,i){var d;return Ko.forEach(function(f){e[f.pluginName]&&f.optionListeners&&typeof f.optionListeners[t]=="function"&&(d=f.optionListeners[t].call(e[f.pluginName],i))}),d}};function VD(n){var e=n.sortable,t=n.rootEl,i=n.name,d=n.targetEl,f=n.cloneEl,o=n.toEl,b=n.fromEl,D=n.oldIndex,I=n.newIndex,S=n.oldDraggableIndex,N=n.newDraggableIndex,T=n.originalEvent,O=n.putSortable,H=n.extraEventProperties;if(e=e||t&&t[Qn],!!e){var P,v=e.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Bi&&!_r?P=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(P=document.createEvent("Event"),P.initEvent(i,!0,!0)),P.to=o||t,P.from=b||t,P.item=d||t,P.clone=f,P.oldIndex=D,P.newIndex=I,P.oldDraggableIndex=S,P.newDraggableIndex=N,P.originalEvent=T,P.pullMode=O?O.lastPutMode:void 0;var F=ei(ei({},H),Sr.getEventProperties(i,e));for(var k in F)P[k]=F[k];t&&t.dispatchEvent(P),v[m]&&v[m].call(e,P)}}var Av=["evt"],cn=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=i.evt,f=YD(i,Av);Sr.pluginEvent.bind(Ge)(e,t,ei({dragEl:me,parentEl:wt,ghostEl:Ye,rootEl:Qt,nextEl:no,lastDownEl:ns,cloneEl:bt,cloneHidden:Li,dragStarted:Fr,putSortable:Kt,activeSortable:Ge.active,originalEvent:d,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:d})}},f))};function Wt(n){VD(ei({putSortable:Kt,cloneEl:bt,targetEl:me,rootEl:Qt,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi},n))}var me,wt,Ye,Qt,no,ns,bt,Li,To,fn,Nr,Gi,is,Kt,Uo=!1,os=!1,rs=[],io,zn,Fc,Rc,ip,op,Fr,Yo,Rr,Lr=!1,as=!1,ss,Ot,Lc=[],Gc=!1,ls=[],cs=typeof document<"u",gs=Wh,rp=_r||Bi?"cssFloat":"float",ev=cs&&!$D&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(cs){if(Bi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(e,t){var i=Le(e),d=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),f=Ho(e,0,t),o=Ho(e,1,t),b=f&&Le(f),D=o&&Le(o),I=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Nt(f).width,S=D&&parseInt(D.marginLeft)+parseInt(D.marginRight)+Nt(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(f&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===N)?"vertical":"horizontal"}return f&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||I>=d&&i[rp]==="none"||o&&i[rp]==="none"&&I+S>d)?"vertical":"horizontal"},tv=function(e,t,i){var d=i?e.left:e.top,f=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,D=i?t.right:t.bottom,I=i?t.width:t.height;return d===b||f===D||d+o/2===b+I/2},nv=function(e,t){var i;return rs.some(function(d){var f=d[Qn].options.emptyInsertThreshold;if(!(!f||xc(d))){var o=Nt(d),b=e>=o.left-f&&e<=o.right+f,D=t>=o.top-f&&t<=o.bottom+f;if(b&&D)return i=d}}),i},lp=function(e){function t(f,o){return function(b,D,I,S){var N=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(f==null&&(o||N))return!0;if(f==null||f===!1)return!1;if(o&&f==="clone")return f;if(typeof f=="function")return t(f(b,D,I,S),o)(b,D,I,S);var T=(o?b:D).options.group.name;return f===!0||typeof f=="string"&&f===T||f.join&&f.indexOf(T)>-1}}var i={},d=e.group;(!d||es(d)!="object")&&(d={name:d}),i.name=d.name,i.checkPull=t(d.pull,!0),i.checkPut=t(d.put),i.revertClone=d.revertClone,e.group=i},cp=function(){!ap&&Ye&&Le(Ye,"display","none")},gp=function(){!ap&&Ye&&Le(Ye,"display","")};cs&&document.addEventListener("click",function(n){if(os)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),os=!1,!1},!0);var oo=function(e){if(me){e=e.touches?e.touches[0]:e;var t=nv(e.clientX,e.clientY);if(t){var i={};for(var d in e)e.hasOwnProperty(d)&&(i[d]=e[d]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Qn]._onDragOver(i)}}},iv=function(e){me&&me.parentNode[Qn]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=pi({},e),n[Qn]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!Mr,emptyInsertThreshold:5};Sr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);lp(e);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=e.forceFallback?!1:ev,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.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)),rs.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),pi(this,jD())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,d=this.options,f=d.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,D=(b||e).target,I=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||D,S=d.filter;if(dv(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||d.disabled)&&!I.isContentEditable&&!(!this.nativeDraggable&&Mr&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=ti(D,d.draggable,i,!1),!(D&&D.animated)&&ns!==D)){if(To=Sn(D),Nr=Sn(D,d.draggable),typeof S=="function"){if(S.call(this,e,D,this)){Wt({sortable:t,rootEl:I,name:"filter",targetEl:D,toEl:i,fromEl:i}),cn("filter",t,{evt:e}),f&&e.cancelable&&e.preventDefault();return}}else if(S&&(S=S.split(",").some(function(N){if(N=ti(I,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:D,fromEl:i,toEl:i}),cn("filter",t,{evt:e}),!0}),S)){f&&e.cancelable&&e.preventDefault();return}d.handle&&!ti(I,d.handle,i,!1)||this._prepareDragStart(e,b,D)}}},_prepareDragStart:function(e,t,i){var d=this,f=d.el,o=d.options,b=f.ownerDocument,D;if(i&&!me&&i.parentNode===f){var I=Nt(i);if(Qt=f,me=i,wt=me.parentNode,no=me.nextSibling,ns=i,is=o.group,Ge.dragged=me,io={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},ip=io.clientX-I.left,op=io.clientY-I.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",D=function(){if(cn("delayEnded",d,{evt:e}),Ge.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!Zh&&d.nativeDraggable&&(me.draggable=!0),d._triggerDragStart(e,t),Wt({sortable:d,name:"choose",originalEvent:e}),En(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Xh(me,S.trim(),Pc)}),it(b,"dragover",oo),it(b,"mousemove",oo),it(b,"touchmove",oo),it(b,"mouseup",d._onDrop),it(b,"touchend",d._onDrop),it(b,"touchcancel",d._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),cn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(_r||Bi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",d._disableDelayedDrag),it(b,"touchend",d._disableDelayedDrag),it(b,"touchcancel",d._disableDelayedDrag),it(b,"mousemove",d._delayedDragTouchMoveHandler),it(b,"touchmove",d._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(D,o.delay)}else D()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;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 e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!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(Qt,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Qt&&me){cn("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",iv);var i=this.options;!e&&En(me,i.dragClass,!1),En(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(zn){this._lastX=zn.clientX,this._lastY=zn.clientY,cp();for(var e=document.elementFromPoint(zn.clientX,zn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(zn.clientX,zn.clientY),e!==t);)t=e;if(me.parentNode[Qn]._isOutsideThisEl(e),t)do{if(t[Qn]){var i=void 0;if(i=t[Qn]._onDragOver({clientX:zn.clientX,clientY:zn.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);gp()}},_onTouchMove:function(e){if(io){var t=this.options,i=t.fallbackTolerance,d=t.fallbackOffset,f=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,D=Ye&&o&&o.d,I=gs&&Ot&&Ap(Ot),S=(f.clientX-io.clientX+d.x)/(b||1)+(I?I[0]-Lc[0]:0)/(b||1),N=(f.clientY-io.clientY+d.y)/(D||1)+(I?I[1]-Lc[1]:0)/(D||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(f.clientX-this._lastX),Math.abs(f.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=S-(Fc||0),o.f+=N-(Rc||0)):o={a:1,b:0,c:0,d:1,e:S,f:N};var T="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",T),Le(Ye,"mozTransform",T),Le(Ye,"msTransform",T),Le(Ye,"transform",T),Fc=S,Rc=N,zn=f}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Qt,t=Nt(me,!0,gs,!0,e),i=this.options;if(gs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=ni()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=ni(),Lc=Ap(Ot)}Ye=me.cloneNode(!0),En(Ye,i.ghostClass,!1),En(Ye,i.fallbackClass,!0),En(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",gs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",ip/parseInt(Ye.style.width)*100+"% "+op/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,d=e.dataTransfer,f=i.options;if(cn("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}cn("setupClone",this),Ge.eventCanceled||(bt=np(me),bt.draggable=!1,bt.style["will-change"]="",this._hideClone(),En(bt,this.options.chosenClass,!1),Ge.clone=bt),i.cloneId=us(function(){cn("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Qt.insertBefore(bt,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&En(me,f.dragClass,!0),t?(os=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),d&&(d.effectAllowed="move",f.setData&&f.setData.call(i,d,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Fr=!0,Mr&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,d,f,o,b=this.options,D=b.group,I=Ge.active,S=is===D,N=b.sort,T=Kt||I,O,H=this,P=!1;if(Gc)return;function v(x,K){cn(x,H,ei({evt:e,isOwner:S,axis:O?"vertical":"horizontal",revert:o,dragRect:d,targetRect:f,canSort:N,fromSortable:T,target:i,completed:F,onMove:function(AA,eA){return ds(Qt,t,me,d,AA,Nt(AA),e,eA)},changed:k},K))}function m(){v("dragOverAnimationCapture"),H.captureAnimationState(),H!==T&&T.captureAnimationState()}function F(x){return v("dragOverCompleted",{insertion:x}),x&&(S?I._hideClone():I._showClone(H),H!==T&&(En(me,Kt?Kt.options.ghostClass:I.options.ghostClass,!1),En(me,b.ghostClass,!0)),Kt!==H&&H!==Ge.active?Kt=H:H===Ge.active&&Kt&&(Kt=null),T===H&&(H._ignoreWhileAnimating=i),H.animateAll(function(){v("dragOverAnimationComplete"),H._ignoreWhileAnimating=null}),H!==T&&(T.animateAll(),T._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[Qn]._isOutsideThisEl(e.target),!x&&oo(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),P=!0}function k(){fn=Sn(me),Gi=Sn(me,b.draggable),Wt({sortable:H,name:"change",toEl:t,newIndex:fn,newDraggableIndex:Gi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=ti(i,b.draggable,t,!0),v("dragOver"),Ge.eventCanceled)return P;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||H._ignoreWhileAnimating===i)return F(!1);if(os=!1,I&&!b.disabled&&(S?N||(o=wt!==Qt):Kt===this||(this.lastPutMode=is.checkPull(this,I,me,e))&&D.checkPut(this,I,me,e))){if(O=this._getDirection(e,i)==="vertical",d=Nt(me),v("dragOverValid"),Ge.eventCanceled)return P;if(o)return wt=Qt,m(),this._hideClone(),v("revert"),Ge.eventCanceled||(no?Qt.insertBefore(me,no):Qt.appendChild(me)),F(!0);var _=xc(t,b.draggable);if(!_||sv(e,O,this)&&!_.animated){if(_===me)return F(!1);if(_&&t===e.target&&(i=_),i&&(f=Nt(i)),ds(Qt,t,me,d,i,f,e,!!i)!==!1)return m(),t.appendChild(me),wt=t,k(),F(!0)}else if(_&&av(e,O,this)){var B=Ho(t,0,b,!0);if(B===me)return F(!1);if(i=B,f=Nt(i),ds(Qt,t,me,d,i,f,e,!1)!==!1)return m(),t.insertBefore(me,B),wt=t,k(),F(!0)}else if(i.parentNode===t){f=Nt(i);var p=0,u,l=me.parentNode!==t,g=!tv(me.animated&&me.toRect||d,i.animated&&i.toRect||f,O),s=O?"top":"left",h=Vh(i,"top","top")||Vh(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(u=f[s],Lr=!1,as=!g&&b.invertSwap||l),p=lv(e,i,f,O,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,as,Yo===i);var a;if(p!==0){var r=Sn(me);do r-=p,a=wt.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return F(!1);Yo=i,Rr=p;var E=i.nextElementSibling,Q=!1;Q=p===1;var M=ds(Qt,t,me,d,i,f,e,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),Gc=!0,setTimeout(rv,30),m(),Q&&!E?t.appendChild(me):i.parentNode.insertBefore(me,Q?E:i),h&&tp(h,0,C-h.scrollTop),wt=me.parentNode,u!==void 0&&!as&&(ss=Math.abs(u-Nt(i)[s])),k(),F(!0)}if(t.contains(me))return F(!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",oo),et(document,"mousemove",oo),et(document,"touchmove",oo)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(fn=Sn(me),Gi=Sn(me,i.draggable),cn("drop",this,{evt:e}),wt=me&&me.parentNode,fn=Sn(me),Gi=Sn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,as=!1,Lr=!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(),Mr&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Fr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Qt===wt||Kt&&Kt.lastPutMode!=="clone")&&bt&&bt.parentNode&&bt.parentNode.removeChild(bt),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!Uo&&En(me,Kt?Kt.options.ghostClass:this.options.ghostClass,!1),En(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qt!==wt?(fn>=0&&(Wt({rootEl:wt,name:"add",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:wt,originalEvent:e}),Wt({rootEl:wt,name:"sort",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Kt&&Kt.save()):fn!==To&&fn>=0&&(Wt({sortable:this,name:"update",toEl:wt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Ge.active&&((fn==null||fn===-1)&&(fn=To,Gi=Nr),Wt({sortable:this,name:"end",toEl:wt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){cn("nulling",this),Qt=me=wt=Ye=no=bt=ns=Li=io=zn=Fr=fn=Gi=To=Nr=Yo=Rr=Kt=is=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ls.forEach(function(e){e.checked=!0}),ls.length=Fc=Rc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),ov(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,d=0,f=i.length,o=this.options;d<f;d++)t=i[d],ti(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||gv(t));return e},sort:function(e,t){var i={},d=this.el;this.toArray().forEach(function(f,o){var b=d.children[o];ti(b,this.options.draggable,d,!1)&&(i[f]=b)},this),t&&this.captureAnimationState(),e.forEach(function(f){i[f]&&(d.removeChild(i[f]),d.appendChild(i[f]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ti(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var d=Sr.modifyOption(this,e,t);typeof d<"u"?i[e]=d:i[e]=t,e==="group"&&lp(i)},destroy:function(){cn("destroy",this);var e=this.el;e[Qn]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),rs.splice(rs.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Li){if(cn("hideClone",this),Ge.eventCanceled)return;Le(bt,"display","none"),this.options.removeCloneOnHide&&bt.parentNode&&bt.parentNode.removeChild(bt),Li=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Li){if(cn("showClone",this),Ge.eventCanceled)return;me.parentNode==Qt&&!this.options.group.revertClone?Qt.insertBefore(bt,me):no?Qt.insertBefore(bt,no):Qt.appendChild(bt),this.options.group.revertClone&&this.animate(me,bt),Le(bt,"display",""),Li=!1}}};function ov(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function ds(n,e,t,i,d,f,o,b){var D,I=n[Qn],S=I.options.onMove,N;return window.CustomEvent&&!Bi&&!_r?D=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(D=document.createEvent("Event"),D.initEvent("move",!0,!0)),D.to=e,D.from=n,D.dragged=t,D.draggedRect=i,D.related=d||e,D.relatedRect=f||Nt(e),D.willInsertAfter=b,D.originalEvent=o,n.dispatchEvent(D),S&&(N=S.call(I,D,o)),N}function Pc(n){n.draggable=!1}function rv(){Gc=!1}function av(n,e,t){var i=Nt(Ho(t.el,0,t.options,!0)),d=10;return e?n.clientX<i.left-d||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-d||n.clientY<i.bottom&&n.clientX<i.left}function sv(n,e,t){var i=Nt(xc(t.el,t.options.draggable)),d=10;return e?n.clientX>i.right+d||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+d}function lv(n,e,t,i,d,f,o,b){var D=i?n.clientY:n.clientX,I=i?t.height:t.width,S=i?t.top:t.left,N=i?t.bottom:t.right,T=!1;if(!o){if(b&&ss<I*d){if(!Lr&&(Rr===1?D>S+I*f/2:D<N-I*f/2)&&(Lr=!0),Lr)T=!0;else if(Rr===1?D<S+ss:D>N-ss)return-Rr}else if(D>S+I*(1-d)/2&&D<N-I*(1-d)/2)return cv(e)}return T=T||o,T&&(D<S+I*f/2||D>N-I*f/2)?D>S+I/2?1:-1:0}function cv(n){return Sn(me)<Sn(n)?1:-1}function gv(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function dv(n){ls.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ls.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}cs&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Xh,is:function(e,t){return!!ti(e,t,e,!1)},extend:ZD,throttle:ep,closest:ti,toggleClass:En,clone:np,index:Sn,nextTick:us,cancelNextTick:Hc,detectDirection:sp,getChild:Ho},Ge.get=function(n){return n[Qn]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.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&&(Ge.utils=ei(ei({},Ge.utils),i.utils)),Sr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=OD;var Mt=[],Gr,Kc,Tc=!1,Uc,Yc,hs,Pr;function uv(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].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(),ps(),WD()},nulling:function(){hs=Kc=Gr=Tc=Pr=Uc=Yc=null,Mt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var d=this,f=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(f,o);if(hs=t,i||this.options.forceAutoScrollFallback||_r||Bi||Mr){Oc(t,this.options,b,i);var D=Ri(b,!0);Tc&&(!Pr||f!==Uc||o!==Yc)&&(Pr&&dp(),Pr=setInterval(function(){var I=Ri(document.elementFromPoint(f,o),!0);I!==D&&(D=I,ps()),Oc(t,d.options,I,i)},10),Uc=f,Yc=o)}else{if(!this.options.bubbleScroll||Ri(b,!0)===ni()){ps();return}Oc(t,this.options,Ri(b,!1),!1)}}},pi(n,{pluginName:"scroll",initializeByDefault:!0})}function ps(){Mt.forEach(function(n){clearInterval(n.pid)}),Mt=[]}function dp(){clearInterval(Pr)}var Oc=ep(function(n,e,t,i){if(e.scroll){var d=(n.touches?n.touches[0]:n).clientX,f=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,D=ni(),I=!1,S;Kc!==t&&(Kc=t,ps(),Gr=e.scroll,S=e.scrollFn,Gr===!0&&(Gr=Ri(t,!0)));var N=0,T=Gr;do{var O=T,H=Nt(O),P=H.top,v=H.bottom,m=H.left,F=H.right,k=H.width,_=H.height,B=void 0,p=void 0,u=O.scrollWidth,l=O.scrollHeight,g=Le(O),s=O.scrollLeft,h=O.scrollTop;O===D?(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(F-d)<=o&&s+k<u)-(Math.abs(m-d)<=o&&!!s),a=p&&(Math.abs(v-f)<=o&&h+_<l)-(Math.abs(P-f)<=o&&!!h);if(!Mt[N])for(var r=0;r<=N;r++)Mt[r]||(Mt[r]={});(Mt[N].vx!=C||Mt[N].vy!=a||Mt[N].el!==O)&&(Mt[N].el=O,Mt[N].vx=C,Mt[N].vy=a,clearInterval(Mt[N].pid),(C!=0||a!=0)&&(I=!0,Mt[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(hs);var E=Mt[this.layer].vy?Mt[this.layer].vy*b:0,Q=Mt[this.layer].vx?Mt[this.layer].vx*b:0;typeof S=="function"&&S.call(Ge.dragged.parentNode[Qn],Q,E,n,hs,Mt[this.layer].el)!=="continue"||tp(Mt[this.layer].el,Q,E)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&T!==D&&(T=Ri(T,!1)));Tc=I}},30),up=function(e){var t=e.originalEvent,i=e.putSortable,d=e.dragEl,f=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,D=e.unhideGhostForTarget;if(t){var I=i||f;b();var S=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(S.clientX,S.clientY);D(),I&&!I.el.contains(N)&&(o("spill"),this.onSpill({dragEl:d,putSortable:i}))}};function $c(){}$c.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var d=Ho(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(t,d):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:up},pi($c,{pluginName:"revertOnSpill"});function zc(){}zc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,d=i||this.sortable;d.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),d.animateAll()},drop:up},pi(zc,{pluginName:"removeOnSpill"}),Ge.mount(new uv),Ge.mount(zc,$c);var hv=Object.defineProperty,pv=Object.defineProperties,Cv=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,Bv=Object.prototype.hasOwnProperty,mv=Object.prototype.propertyIsEnumerable,pp=(n,e,t)=>e in n?hv(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Pi=(n,e)=>{for(var t in e||(e={}))Bv.call(e,t)&&pp(n,t,e[t]);if(hp)for(var t of hp(e))mv.call(e,t)&&pp(n,t,e[t]);return n},Cs=(n,e)=>pv(n,Cv(e));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function Ev(){return typeof window<"u"?window.console:global.console}const Qv=Ev();function fv(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Iv=/-(\w)/g,wv=fv(n=>n.replace(Iv,(e,t)=>t.toUpperCase())),Bp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],bv=[Ep,Bp,mp].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Ep,manageAndEmit:Bp,emit:mp};function yv(n){return bv.indexOf(n)!==-1}const Dv=["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 vv(n){return Dv.includes(n)}function kv(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function _v({$attrs:n,componentData:e={}}){const t=fp(Object.entries(n).filter(([i,d])=>Qp(i)));return Pi(Pi({},t),e)}function Mv({$attrs:n,callBackBuilder:e}){const t=fp(Ip(n));Object.entries(e).forEach(([d,f])=>{Zc[d].forEach(o=>{t[`on${o}`]=f(o)})});const i=`[data-draggable]${t.draggable||""}`;return Cs(Pi({},t),{draggable:i})}function Ip(n){return Object.entries(n).filter(([e,t])=>!Qp(e)).map(([e,t])=>[wv(e),t]).filter(([e,t])=>!yv(e))}const wp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},xv=(n,e)=>n.__draggable_context=e,bp=n=>n.__draggable_context;class Sv{constructor({nodes:{header:e,default:t,footer:i},root:d,realList:f}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=d.externalComponent,this.rootTransition=d.transition,this.tag=d.tag,this.realList=f}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:d,_isRootComponent:f}=this;return e(i,t,f?{default:()=>d}:d)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,d)=>{xv(wp(i),{element:t[d],index:d})})}getUnderlyingVm(e){return bp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:d}=i,f=t.children,o=f.item(e);if(o===null)return d;const b=bp(o);if(b)return b.index;if(d===0)return 0;const D=wp(i[0]),I=[...f].findIndex(S=>S===D);return e<I?0:d}}function Nv(n,e){const t=n[e];return t?t():[]}function Fv({$slots:n,realList:e,getKey:t}){const i=e||[],[d,f]=["header","footer"].map(D=>Nv(n,D)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((D,I)=>o({element:D,index:I}).map(S=>(S.key=t(D),S.props=Cs(Pi({},S.props||{}),{"data-draggable":!0}),S)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:d,footer:f,default:b}}function Rv(n){const e=kv(n),t=!vv(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function Lv({$slots:n,tag:e,realList:t,getKey:i}){const d=Fv({$slots:n,realList:t,getKey:i}),f=Rv(e);return new Sv({nodes:d,root:f,realList:t})}function yp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function Dp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Gv(n){const e=Dp.call(this,n);return(t,i)=>{e.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Pv={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}},Hv=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],vp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Pv,emits:Hv,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:d,getKey:f}=this,o=Lv({$slots:n,tag:t,realList:d,getKey:f});this.componentStructure=o;const b=_v({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Qv.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=Mv({$attrs:n,callBackBuilder:{manageAndEmit:f=>Gv.call(this,f),emit:f=>yp.bind(this,f),manage:f=>Dp.call(this,f)}}),d=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(d,i),this.targetDomElement=d,d.__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:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&Ip(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,d={list:i,component:t};if(n!==e&&i){const f=t.getUnderlyingVm(e)||{};return Pi(Pi({},f),d)}return d},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 e=n.item._underlying_vm_;if(e===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Cp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),d=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Wc)!==-1||!e.willInsertAfter?d:d+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const d=this.getRelatedContextFromMoveEvent(n),f=this.computeFutureIndex(d,n),o=Cs(Pi({},this.context),{futureIndex:f}),b=Cs(Pi({},n),{relatedContext:d,draggedContext:o});return t(b,e)},onDragEnd(){Wc=null}}}),Kv=["xlink:href"],ve=oe(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"},customStyle:{type:[Boolean,null,String,Object,Array],default:()=>({})}},setup(n){const e=n,t=A.computed(()=>{if(!e.color&&!e.customStyle)return;const i={color:e.color,...e.customStyle};return typeof e.size=="number"&&(i.width=e.size+"px",i.height=e.size+"px"),i});return(i,d)=>(A.openBlock(),A.createElementBlock("svg",{class:A.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",mini:i.size==="mini"}]),style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,Kv)],6))}}),[["__scopeId","data-v-1304c83f"]]),kp=oe(A.defineComponent({__name:"Popover",props:{title:{},offset:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean},beforeEnter:{},params:{},onShow:{},disabled:{type:Boolean},popperClass:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(!1),d=n,f=async()=>{var I,S;const D=(S=(I=d.reference)==null?void 0:I.props)==null?void 0:S.onClick;if(D&&e)try{await e[D](t,d)}catch(N){console.error(N+`
|
|
97
97
|
onClick: ${D}`)}},o=async()=>{const D=d.onShow;if(D&&e)try{await e[D](t,d)}catch(I){console.error(I+`
|
|
98
98
|
onShow: ${D}`)}},b=async()=>{if(d.beforeEnter&&e)try{await e[d.beforeEnter](t)}catch(D){console.error(D+`
|
|
99
|
-
onClick: ${d.beforeEnter}`)}};return(D,I)=>{const S=A.resolveComponent("el-tooltip"),N=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(N,{trigger:d.trigger||"hover",width:d.width,offset:D.offset,"popper-class":d.noPadding?"no-padding":"",title:d.title,placement:d.placement,onBeforeEnter:b,"popper-style":{overflow:"auto"},disabled:d.disabled,onShow:o},{reference:A.withCtx(()=>{var T,O,H,P,v;return[A.createElementVNode("div",{style:A.normalizeStyle(d.ostyle+(i.value?d.hoverStyle:"")),onMouseenter:I[0]||(I[0]=m=>i.value=!0),onMouseleave:I[1]||(I[1]=m=>i.value=!1)},[((T=d.reference)==null?void 0:T.component)==="Icon"?(A.openBlock(),A.createBlock(S,{key:0,content:(H=(O=d.reference)==null?void 0:O.props)==null?void 0:H.tooltip,disabled:!((v=(P=d.reference)==null?void 0:P.props)!=null&&v.tooltip),placement:"top"},{default:A.withCtx(()=>{var m,F,k,_;return[A.createVNode(
|
|
100
|
-
onClick: ${v}`)}};return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const v=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues(v),o.value=e.initialValue}}),A.watch(o,(v,m)=>{const F=e.change,k=ut.isEqual(v,m);if(!F||k)return;let _=ut.cloneDeep(t.formValues);F.forEach(({target:B,value:p,condition:u})=>{if(u!==!1){if(B.includes(".*.")){const l=B.split(".*."),g=l.pop(),s=l.join("."),h=Ea(t.formValues,s);ut.isArray(h)&&(_=ko(_,s,h.map(C=>({...C,[g]:p}))));return}_=ko(_,B,p)}}),t.updateFormValues(_)},{immediate:!0}),(v,m)=>{var p;const F=A.resolveComponent("el-tooltip"),k=A.resolveComponent("el-dialog"),_=A.resolveComponent("el-button"),B=A.resolveComponent("el-form-item");return A.unref(t).design||!v.hidden&&(!v.nullFieldHidden||o.value||o.value===0)?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[D.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:0},I.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":m[0]||(m[0]=u=>N.value=u)}),null,16,["gridlayout"])):D.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1},I.value,{style:{minWidth:0}}),null,16)):D.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.normalizeProps(A.mergeProps({key:2},I.value)),null,16)):(A.openBlock(),A.createBlock(B,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${v.component}-${v.name}`,{readMode:((p=e.props)==null?void 0:p.read)||A.unref(t).schema.read,hideLabel:v.hideLabel,wFullLabel:v.wFullLabel}]),style:A.normalizeStyle(v.style),key:v.name,prop:v.name,"label-width":v.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},{label:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),v.label&&`${v.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(T(v.label)),5),v.labelSuffixText?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle([v.labelSuffixStyle,{"margin-left":"4px"}])},A.toDisplayString(v.labelSuffixText),5)):A.createCommentVNode("",!0),v.help?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(F,{effect:"dark",content:v.help,placement:"right"},{default:A.withCtx(()=>[A.createVNode(De,{name:"icon-a-lujing11",color:"#999999",style:{width:"14px",height:"14px"}})]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),v.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[v.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(kp,A.normalizeProps(A.mergeProps({key:0},A.unref(kt)(v.labelSuffix.props,A.unref(t).context))),null,16)):v.labelSuffix.component==="Icon"?(A.openBlock(),A.createBlock(F,{key:1,effect:"dark",content:v.labelSuffix.props.tooltip,placement:"right",disabled:!v.labelSuffix.props.tooltip},{default:A.withCtx(()=>[A.createVNode(De,{name:v.labelSuffix.props.name,color:v.labelSuffix.props.color,onClick:m[1]||(m[1]=u=>P(v.labelSuffix.props.onClick)),style:{width:"14px",height:"14px",cursor:"pointer"}},null,8,["name","color"])]),_:1},8,["content","disabled"])):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2),[[A.vShow,!v.hideLabel]])]),default:A.withCtx(()=>[v.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(k,{modelValue:d.visible,"onUpdate:modelValue":m[3]||(m[3]=u=>d.visible=u),title:d.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({size:A.unref(t).schema.size},I.value,{disabled:A.unref(t).schema.disabled,[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[2]||(m[2]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(_,{type:"primary",plain:"",onClick:f},{default:A.withCtx(()=>m[5]||(m[5]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(kt)(I.value,A.unref(t).context),{[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[4]||(m[4]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-70b6ca6f"]]),Tv={key:0,class:"actions-lt"},Uv={class:"canvas-move",size:"small",type:"primary"},Yv={key:1,class:"hidden-ico"},Ov={key:2,class:"actions-rb"},$v=["onClick"],zv={key:3,class:"layout-title"},Jv=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Nn(),d=Jo()[e.data.component],f=A.computed(()=>{var T;return{[je("canvas-item")]:!0,active:e.data.designKey===((T=t.current)==null?void 0:T.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:I.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},D=T=>{t.updateCurrent(T),t.rightTab="attr"},I=A.ref(!1),S=()=>{I.value=!I.value},N=[{icon:"copy",handle:T=>{const O=Gu(t.list,T.designKey);t.updateList(O)}},{icon:"delete",bg:"var(--el-color-danger)",handle:T=>{const O=wd(t.list,H=>H.designKey!==T.designKey);t.updateList(O)}}];return(T,O)=>{var H,P;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(f.value),onClick:O[0]||(O[0]=A.withModifiers(v=>D(T.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[T.data.designKey===((H=A.unref(t).current)==null?void 0:H.designKey)?(A.openBlock(),A.createElementBlock("div",Tv,[A.createElementVNode("div",Uv,[A.createVNode(A.unref(fe),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:S},[A.createVNode(A.unref(fe),{name:"select"})])])):A.createCommentVNode("",!0),T.data.hidden?(A.openBlock(),A.createElementBlock("div",Yv,[A.createVNode(A.unref(fe),{name:"hidden"})])):A.createCommentVNode("",!0),T.data.designKey===((P=A.unref(t).current)==null?void 0:P.designKey)?(A.openBlock(),A.createElementBlock("ul",Ov,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:v,handle:m,bg:F})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(k=>m(T.data),["stop"]),key:v,style:A.normalizeStyle({backgroundColor:F})},[A.createVNode(A.unref(fe),{name:v},null,8,["name"])],12,$v)),64))])):A.createCommentVNode("",!0),A.unref(d).lbTitle?(A.openBlock(),A.createElementBlock("div",zv,A.toDisplayString(A.unref(d).title),1)):A.createCommentVNode("",!0),A.createVNode(ro,A.mergeProps(T.data,{props:T.data.props}),null,16,["props"])],34)}}}),jc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Nn(),i=d=>{const f=d.item._underlying_vm_;t.updateCurrent(tc(t.list,f.designKey)),t.hoverKey=f.designKey,t.rightTab="attr",t.handleEmit("add",f)};return(d,f)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:d.list.length?"auto":"hidden"})},[d.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:d.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(fe),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(d.emptyText),1)],6)),A.createVNode(A.unref(vp),{list:d.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(d.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock(Jv,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Zv=typeof window<"u";var _p;Zv&&((_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 Wv=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(Wv)));function jv(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(d=>{d(...t)})}}}function xp(n,e=16){if(typeof n!="function")return Mp;const t=(...f)=>{n(...f)};if(e<=0)return Sp(t);let i=0,d;return function(...f){const o=Date.now(),b=o-i;clearTimeout(d),b>=e?(i=o,t(...f)):d=setTimeout(()=>{i=Date.now(),t(...f)},Math.max(0,e-b))}}function qv(n,e=100){if(typeof n!="function")return Mp;const t=(...d)=>{n(...d)};if(e<=0)return Sp(t);let i;return function(...d){clearTimeout(i),i=setTimeout(()=>{t(...d)},e)}}function Sp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...d){return t=d,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Hr=new Set,Np=new WeakMap;function Xv(){Hr.forEach(n=>{n(...Np.get(n))}),Hr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Hr.has(n)&&(Hr.add(n),Hr.size===1&&Promise.resolve().then(Xv))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Vv(n){let e=0,t;for(let i=0,d=n.length;i<d;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function qc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=A1(n[t]);return e}function A1(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),d=Tp(n),f=Array(n.length);for(let o=0,b=d.length;o<b;o++){let D=d[o];D.static||(D=e1(i,D,e,t),i.push(D)),f[n.findIndex(I=>I.i===D.i)]=D,D.moved=!1}return f}function e1(n,e,t,i){if(t)for(;e.y>0&&!Kr(n,e);)e.y--;else if(i){const f=i[e.i].y;for(;e.y>f&&!Kr(n,e);)e.y--}let d;for(;d=Kr(n,e);)e.y=d.y+d.h;return e}function t1(n,e){const t=Hp(n);for(let i=0,d=n.length;i<d;i++){const f=n[i];if(f.x+f.w>e.cols&&(f.x=e.cols-f.w),f.x<0&&(f.x=0,f.w=e.cols),!f.static)t.push(f);else for(;Kr(t,f);)f.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Kr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Xc(n,e,t,i,d=!1,f=!1){if(e.static)return n;const o=e.x,b=e.y,D=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let I=Tp(n);D&&(I=I.reverse());const S=Pp(I,e);if(f&&S.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,T=S.length;N<T;N++){const O=S[N];O.moved||e.y>O.y&&e.y-O.y>O.h/4||(O.static?n=Kp(n,O,e,d):n=Kp(n,e,O,d))}return n}function Kp(n,e,t,i){if(i){const d={x:t.x,y:t.y,w:t.w,h:t.h};if(d.y=Math.max(e.y-t.h,0),!Kr(n,d))return Xc(n,t,void 0,d.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function n1(n,e,t,i){const d="translate3d("+e+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function i1(n,e,t,i){const d="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function o1(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function r1(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function a1(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let d=0,f=n.length;d<f;d++){const o=n[d];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+d+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+d+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+d+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+d+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+d+"].static must be a boolean!")}}function s1(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,d)=>`${t()}__${i}--${d}`}}function Up(n){return l1(n)}function l1(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),d=n.clientX+t.scrollLeft-i.left,f=n.clientY+t.scrollTop-i.top;return{x:d,y:f}}function Yp(n,e,t,i){return c1(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function c1(n){return typeof n=="number"&&!Number.isNaN(n)}function g1(n,e){const t=$p(n);let i=t[0];for(let d=1,f=t.length;d<f;d++){const o=t[d];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function d1(n,e,t,i,d,f,o){if(e[i])return qc(e[i]);let b=n;const D=$p(t),I=D.slice(D.indexOf(i));for(let S=0,N=I.length;S<N;S++){const T=I[S];if(e[T]){b=e[T];break}}return b=qc(b||[]),Oo(t1(b,{cols:f}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let u1="auto";function h1(){return typeof document<"u"}function zp(){return h1()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):u1}var Bs={exports:{}};Bs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(L,R){var Z=Object.keys(L);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(L);R&&(nA=nA.filter(function(sA){return Object.getOwnPropertyDescriptor(L,sA).enumerable})),Z.push.apply(Z,nA)}return Z}function i(L){for(var R=1;R<arguments.length;R++){var Z=arguments[R]!=null?arguments[R]:{};R%2?t(Object(Z),!0).forEach(function(nA){D(L,nA,Z[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(Z)):t(Object(Z)).forEach(function(nA){Object.defineProperty(L,nA,Object.getOwnPropertyDescriptor(Z,nA))})}return L}function d(L){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},d(L)}function f(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")}function o(L,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(L,P(nA.key),nA)}}function b(L,R,Z){return R&&o(L.prototype,R),Object.defineProperty(L,"prototype",{writable:!1}),L}function D(L,R,Z){return(R=P(R))in L?Object.defineProperty(L,R,{value:Z,enumerable:!0,configurable:!0,writable:!0}):L[R]=Z,L}function I(L,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(R&&R.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),Object.defineProperty(L,"prototype",{writable:!1}),R&&N(L,R)}function S(L){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},S(L)}function N(L,R){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Z,nA){return Z.__proto__=nA,Z},N(L,R)}function T(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function O(L){var R=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Z,nA=S(L);if(R){var sA=S(this).constructor;Z=Reflect.construct(nA,arguments,sA)}else Z=nA.apply(this,arguments);return function(dA,BA){if(BA&&(typeof BA=="object"||typeof BA=="function"))return BA;if(BA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T(dA)}(this,Z)}}function H(){return H=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(L,R,Z){var nA=function(dA,BA){for(;!Object.prototype.hasOwnProperty.call(dA,BA)&&(dA=S(dA))!==null;);return dA}(L,R);if(nA){var sA=Object.getOwnPropertyDescriptor(nA,R);return sA.get?sA.get.call(arguments.length<3?L:Z):sA.value}},H.apply(this,arguments)}function P(L){var R=function(Z,nA){if(typeof Z!="object"||Z===null)return Z;var sA=Z[Symbol.toPrimitive];if(sA!==void 0){var dA=sA.call(Z,nA);if(typeof dA!="object")return dA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Z)}(L,"string");return typeof R=="symbol"?R:R+""}var v=function(L){return!(!L||!L.Window)&&L instanceof L.Window},m=void 0,F=void 0;function k(L){m=L;var R=L.document.createTextNode("");R.ownerDocument!==L.document&&typeof L.wrap=="function"&&L.wrap(R)===R&&(L=L.wrap(L)),F=L}function _(L){return v(L)?L:(L.ownerDocument||L).defaultView||F.window}typeof window<"u"&&window&&k(window);var B=function(L){return!!L&&d(L)==="object"},p=function(L){return typeof L=="function"},u={window:function(L){return L===F||v(L)},docFrag:function(L){return B(L)&&L.nodeType===11},object:B,func:p,number:function(L){return typeof L=="number"},bool:function(L){return typeof L=="boolean"},string:function(L){return typeof L=="string"},element:function(L){if(!L||d(L)!=="object")return!1;var R=_(L)||F;return/object|function/.test(typeof Element>"u"?"undefined":d(Element))?L instanceof Element||L instanceof R.Element:L.nodeType===1&&typeof L.nodeName=="string"},plainObject:function(L){return B(L)&&!!L.constructor&&/function Object\b/.test(L.constructor.toString())},array:function(L){return B(L)&&L.length!==void 0&&p(L.splice)}};function l(L){var R=L.interaction;if(R.prepared.name==="drag"){var Z=R.prepared.axis;Z==="x"?(R.coords.cur.page.y=R.coords.start.page.y,R.coords.cur.client.y=R.coords.start.client.y,R.coords.velocity.client.y=0,R.coords.velocity.page.y=0):Z==="y"&&(R.coords.cur.page.x=R.coords.start.page.x,R.coords.cur.client.x=R.coords.start.client.x,R.coords.velocity.client.x=0,R.coords.velocity.page.x=0)}}function g(L){var R=L.iEvent,Z=L.interaction;if(Z.prepared.name==="drag"){var nA=Z.prepared.axis;if(nA==="x"||nA==="y"){var sA=nA==="x"?"y":"x";R.page[sA]=Z.coords.start.page[sA],R.client[sA]=Z.coords.start.client[sA],R.delta[sA]=0}}}var s={id:"actions/drag",install:function(L){var R=L.actions,Z=L.Interactable,nA=L.defaults;Z.prototype.draggable=s.draggable,R.map.drag=s,R.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(L){var R=L.interaction,Z=L.interactable,nA=L.buttons,sA=Z.options.drag;if(sA&&sA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||nA&Z.options.drag.mouseButtons))return L.action={name:"drag",axis:sA.lockAxis==="start"?sA.startAxis:sA.lockAxis},!1}},draggable:function(L){return u.object(L)?(this.options.drag.enabled=L.enabled!==!1,this.setPerAction("drag",L),this.setOnEvents("drag",L),/^(xy|x|y|start)$/.test(L.lockAxis)&&(this.options.drag.lockAxis=L.lockAxis),/^(xy|x|y)$/.test(L.startAxis)&&(this.options.drag.startAxis=L.startAxis),this):u.bool(L)?(this.options.drag.enabled=L,this):this.options.drag},beforeMove:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(L){return L.search("drag")===0}},h=s,C={init:function(L){var R=L;C.document=R.document,C.DocumentFragment=R.DocumentFragment||a,C.SVGElement=R.SVGElement||a,C.SVGSVGElement=R.SVGSVGElement||a,C.SVGElementInstance=R.SVGElementInstance||a,C.Element=R.Element||a,C.HTMLElement=R.HTMLElement||C.Element,C.Event=R.Event,C.Touch=R.Touch||a,C.PointerEvent=R.PointerEvent||R.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=C,E={init:function(L){var R=r.Element,Z=L.navigator||{};E.supportsTouch="ontouchstart"in L||u.func(L.DocumentTouch)&&r.document instanceof L.DocumentTouch,E.supportsPointerEvent=Z.pointerEnabled!==!1&&!!r.PointerEvent,E.isIOS=/iP(hone|od|ad)/.test(Z.platform),E.isIOS7=/iP(hone|od|ad)/.test(Z.platform)&&/OS 7[^\d]/.test(Z.appVersion),E.isIe9=/MSIE 9/.test(Z.userAgent),E.isOperaMobile=Z.appName==="Opera"&&E.supportsTouch&&/Presto/.test(Z.userAgent),E.prefixedMatchesSelector="matches"in R.prototype?"matches":"webkitMatchesSelector"in R.prototype?"webkitMatchesSelector":"mozMatchesSelector"in R.prototype?"mozMatchesSelector":"oMatchesSelector"in R.prototype?"oMatchesSelector":"msMatchesSelector",E.pEventTypes=E.supportsPointerEvent?r.PointerEvent===L.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,E.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},Q=E;function M(L,R){if(L.contains)return L.contains(R);for(;R;){if(R===L)return!0;R=R.parentNode}return!1}function x(L,R){for(;u.element(L);){if(z(L,R))return L;L=K(L)}return null}function K(L){var R=L.parentNode;if(u.docFrag(R)){for(;(R=R.host)&&u.docFrag(R););return R}return R}function z(L,R){return F!==m&&(R=R.replace(/\/deep\//g," ")),L[Q.prefixedMatchesSelector](R)}var AA=function(L){return L.parentNode||L.host};function eA(L,R){for(var Z,nA=[],sA=L;(Z=AA(sA))&&sA!==R&&Z!==sA.ownerDocument;)nA.unshift(sA),sA=Z;return nA}function V(L,R,Z){for(;u.element(L);){if(z(L,R))return!0;if((L=K(L))===Z)return z(L,R)}return!1}function $(L){return L.correspondingUseElement||L}function J(L){var R=L instanceof r.SVGElement?L.getBoundingClientRect():L.getClientRects()[0];return R&&{left:R.left,right:R.right,top:R.top,bottom:R.bottom,width:R.width||R.right-R.left,height:R.height||R.bottom-R.top}}function y(L){var R,Z=J(L);if(!Q.isIOS7&&Z){var nA={x:(R=(R=_(L))||F).scrollX||R.document.documentElement.scrollLeft,y:R.scrollY||R.document.documentElement.scrollTop};Z.left+=nA.x,Z.right+=nA.x,Z.top+=nA.y,Z.bottom+=nA.y}return Z}function j(L){for(var R=[];L;)R.push(L),L=K(L);return R}function G(L){return!!u.string(L)&&(r.document.querySelector(L),!0)}function q(L,R){for(var Z in R)L[Z]=R[Z];return L}function rA(L,R,Z){return L==="parent"?K(Z):L==="self"?R.getRect(Z):x(Z,L)}function iA(L,R,Z,nA){var sA=L;return u.string(sA)?sA=rA(sA,R,Z):u.func(sA)&&(sA=sA.apply(void 0,nA)),u.element(sA)&&(sA=y(sA)),sA}function uA(L){return L&&{x:"x"in L?L.x:L.left,y:"y"in L?L.y:L.top}}function mA(L){return!L||"x"in L&&"y"in L||((L=q({},L)).x=L.left||0,L.y=L.top||0,L.width=L.width||(L.right||0)-L.x,L.height=L.height||(L.bottom||0)-L.y),L}function gA(L,R,Z){L.left&&(R.left+=Z.x),L.right&&(R.right+=Z.x),L.top&&(R.top+=Z.y),L.bottom&&(R.bottom+=Z.y),R.width=R.right-R.left,R.height=R.bottom-R.top}function wA(L,R,Z){var nA=Z&&L.options[Z];return uA(iA(nA&&nA.origin||L.options.origin,L,R,[L&&R]))||{x:0,y:0}}function X(L,R){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(L)&&L.search(" ")!==-1&&(L=lA(L)),u.array(L))return L.forEach(function(yA){return X(yA,R,Z,nA)}),nA;if(u.object(L)&&(R=L,L=""),u.func(R)&&Z(L))nA[L]=nA[L]||[],nA[L].push(R);else if(u.array(R))for(var sA=0,dA=R;sA<dA.length;sA++){var BA=dA[sA];X(L,BA,Z,nA)}else if(u.object(R))for(var QA in R)X(lA(QA).map(function(yA){return"".concat(L).concat(yA)}),R[QA],Z,nA);return nA}function lA(L){return L.trim().split(/ +/)}var cA=function(L,R){return Math.sqrt(L*L+R*R)},hA=["webkit","moz"];function U(L,R){L.__set||(L.__set={});var Z=function(sA){if(hA.some(function(dA){return sA.indexOf(dA)===0}))return 1;typeof L[sA]!="function"&&sA!=="__set"&&Object.defineProperty(L,sA,{get:function(){return sA in L.__set?L.__set[sA]:L.__set[sA]=R[sA]},set:function(dA){L.__set[sA]=dA},configurable:!0})};for(var nA in R)Z(nA);return L}function W(L,R){L.page=L.page||{},L.page.x=R.page.x,L.page.y=R.page.y,L.client=L.client||{},L.client.x=R.client.x,L.client.y=R.client.y,L.timeStamp=R.timeStamp}function tA(L){L.page.x=0,L.page.y=0,L.client.x=0,L.client.y=0}function aA(L){return L instanceof r.Event||L instanceof r.Touch}function CA(L,R,Z){return L=L||"page",(Z=Z||{}).x=R[L+"X"],Z.y=R[L+"Y"],Z}function xA(L,R){return R=R||{x:0,y:0},Q.isOperaMobile&&aA(L)?(CA("screen",L,R),R.x+=window.scrollX,R.y+=window.scrollY):CA("page",L,R),R}function zA(L){return u.number(L.pointerId)?L.pointerId:L.identifier}function jA(L,R,Z){var nA=R.length>1?vA(R):R[0];xA(nA,L.page),function(sA,dA){dA=dA||{},Q.isOperaMobile&&aA(sA)?CA("screen",sA,dA):CA("client",sA,dA)}(nA,L.client),L.timeStamp=Z}function Ae(L){var R=[];return u.array(L)?(R[0]=L[0],R[1]=L[1]):L.type==="touchend"?L.touches.length===1?(R[0]=L.touches[0],R[1]=L.changedTouches[0]):L.touches.length===0&&(R[0]=L.changedTouches[0],R[1]=L.changedTouches[1]):(R[0]=L.touches[0],R[1]=L.touches[1]),R}function vA(L){for(var R={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},Z=0;Z<L.length;Z++){var nA=L[Z];for(var sA in R)R[sA]+=nA[sA]}for(var dA in R)R[dA]/=L.length;return R}function $A(L){if(!L.length)return null;var R=Ae(L),Z=Math.min(R[0].pageX,R[1].pageX),nA=Math.min(R[0].pageY,R[1].pageY),sA=Math.max(R[0].pageX,R[1].pageX),dA=Math.max(R[0].pageY,R[1].pageY);return{x:Z,y:nA,left:Z,top:nA,right:sA,bottom:dA,width:sA-Z,height:dA-nA}}function XA(L,R){var Z=R+"X",nA=R+"Y",sA=Ae(L),dA=sA[0][Z]-sA[1][Z],BA=sA[0][nA]-sA[1][nA];return cA(dA,BA)}function SA(L,R){var Z=R+"X",nA=R+"Y",sA=Ae(L),dA=sA[1][Z]-sA[0][Z],BA=sA[1][nA]-sA[0][nA];return 180*Math.atan2(BA,dA)/Math.PI}function MA(L){return u.string(L.pointerType)?L.pointerType:u.number(L.pointerType)?[void 0,void 0,"touch","pen","mouse"][L.pointerType]:/touch/.test(L.type||"")||L instanceof r.Touch?"touch":"mouse"}function qA(L){var R=u.func(L.composedPath)?L.composedPath():L.path;return[$(R?R[0]:L.target),$(L.currentTarget)]}var Ce=function(){function L(R){f(this,L),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=R}return b(L,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),L}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(L,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];L.push(nA)}return L},xe=function(L){return ye([],L)},NA=function(L,R){for(var Z=0;Z<L.length;Z++)if(R(L[Z],Z,L))return Z;return-1},UA=function(L,R){return L[NA(L,R)]},JA=function(L){I(Z,L);var R=O(Z);function Z(nA,sA,dA){var BA;f(this,Z),(BA=R.call(this,sA._interaction)).dropzone=void 0,BA.dragEvent=void 0,BA.relatedTarget=void 0,BA.draggable=void 0,BA.propagationStopped=!1,BA.immediatePropagationStopped=!1;var QA=dA==="dragleave"?nA.prev:nA.cur,yA=QA.element,RA=QA.dropzone;return BA.type=dA,BA.target=yA,BA.currentTarget=yA,BA.dropzone=RA,BA.dragEvent=sA,BA.relatedTarget=sA.target,BA.draggable=sA.interactable,BA.timeStamp=sA.timeStamp,BA}return b(Z,[{key:"reject",value:function(){var nA=this,sA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&sA.cur.dropzone===this.dropzone&&sA.cur.element===this.target)if(sA.prev.dropzone=this.dropzone,sA.prev.element=this.target,sA.rejected=!0,sA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var dA=sA.activeDrops,BA=NA(dA,function(yA){var RA=yA.dropzone,DA=yA.element;return RA===nA.dropzone&&DA===nA.target});sA.activeDrops.splice(BA,1);var QA=new Z(sA,this.dragEvent,"dropdeactivate");QA.dropzone=this.dropzone,QA.target=this.target,this.dropzone.fire(QA)}else this.dropzone.fire(new Z(sA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),Z}(Ce);function de(L,R){for(var Z=0,nA=L.slice();Z<nA.length;Z++){var sA=nA[Z],dA=sA.dropzone,BA=sA.element;R.dropzone=dA,R.target=BA,dA.fire(R),R.propagationStopped=R.immediatePropagationStopped=!1}}function ae(L,R){for(var Z=function(dA,BA){for(var QA=[],yA=0,RA=dA.interactables.list;yA<RA.length;yA++){var DA=RA[yA];if(DA.options.drop.enabled){var HA=DA.options.drop.accept;if(!(u.element(HA)&&HA!==BA||u.string(HA)&&!z(BA,HA)||u.func(HA)&&!HA({dropzone:DA,draggableElement:BA})))for(var VA=0,ge=DA.getAllElements();VA<ge.length;VA++){var le=ge[VA];le!==BA&&QA.push({dropzone:DA,element:le,rect:DA.getRect(le)})}}}return QA}(L,R),nA=0;nA<Z.length;nA++){var sA=Z[nA];sA.rect=sA.dropzone.getRect(sA.element)}return Z}function Ee(L,R,Z){for(var nA=L.dropState,sA=L.interactable,dA=L.element,BA=[],QA=0,yA=nA.activeDrops;QA<yA.length;QA++){var RA=yA[QA],DA=RA.dropzone,HA=RA.element,VA=RA.rect,ge=DA.dropCheck(R,Z,sA,dA,HA,VA);BA.push(ge?HA:null)}var le=function(he){for(var ve,Qe,kA,OA=[],KA=0;KA<he.length;KA++){var ee=he[KA],Be=he[ve];if(ee&&KA!==ve)if(Be){var He=AA(ee),Ke=AA(Be);if(He!==ee.ownerDocument)if(Ke!==ee.ownerDocument)if(He!==Ke){OA=OA.length?OA:eA(Be);var Oe=void 0;if(Be instanceof r.HTMLElement&&ee instanceof r.SVGElement&&!(ee instanceof r.SVGSVGElement)){if(ee===Ke)continue;Oe=ee.ownerSVGElement}else Oe=ee;for(var on=eA(Oe,Be.ownerDocument),Zn=0;on[Zn]&&on[Zn]===OA[Zn];)Zn++;var Ut=[on[Zn-1],on[Zn],OA[Zn]];if(Ut[0])for(var li=Ut[0].lastChild;li;){if(li===Ut[1]){ve=KA,OA=on;break}if(li===Ut[2])break;li=li.previousSibling}}else kA=Be,(parseInt(_(Qe=ee).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(_(kA).getComputedStyle(kA).zIndex,10)||0)&&(ve=KA);else ve=KA}else ve=KA}return ve}(BA);return nA.activeDrops[le]||null}function ke(L,R,Z){var nA=L.dropState,sA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return Z.type==="dragstart"&&(sA.activate=new JA(nA,Z,"dropactivate"),sA.activate.target=null,sA.activate.dropzone=null),Z.type==="dragend"&&(sA.deactivate=new JA(nA,Z,"dropdeactivate"),sA.deactivate.target=null,sA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(sA.leave=new JA(nA,Z,"dragleave"),Z.dragLeave=sA.leave.target=nA.prev.element,Z.prevDropzone=sA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(sA.enter=new JA(nA,Z,"dragenter"),Z.dragEnter=nA.cur.element,Z.dropzone=nA.cur.dropzone)),Z.type==="dragend"&&nA.cur.dropzone&&(sA.drop=new JA(nA,Z,"drop"),Z.dropzone=nA.cur.dropzone,Z.relatedTarget=nA.cur.element),Z.type==="dragmove"&&nA.cur.dropzone&&(sA.move=new JA(nA,Z,"dropmove"),Z.dropzone=nA.cur.dropzone)),sA}function IA(L,R){var Z=L.dropState,nA=Z.activeDrops,sA=Z.cur,dA=Z.prev;R.leave&&dA.dropzone.fire(R.leave),R.enter&&sA.dropzone.fire(R.enter),R.move&&sA.dropzone.fire(R.move),R.drop&&sA.dropzone.fire(R.drop),R.deactivate&&de(nA,R.deactivate),Z.prev.dropzone=sA.dropzone,Z.prev.element=sA.element}function LA(L,R){var Z=L.interaction,nA=L.iEvent,sA=L.event;if(nA.type==="dragmove"||nA.type==="dragend"){var dA=Z.dropState;R.dynamicDrop&&(dA.activeDrops=ae(R,Z.element));var BA=nA,QA=Ee(Z,BA,sA);dA.rejected=dA.rejected&&!!QA&&QA.dropzone===dA.cur.dropzone&&QA.element===dA.cur.element,dA.cur.dropzone=QA&&QA.dropzone,dA.cur.element=QA&&QA.element,dA.events=ke(Z,0,BA)}}var TA={id:"actions/drop",install:function(L){var R=L.actions,Z=L.interactStatic,nA=L.Interactable,sA=L.defaults;L.usePlugin(h),nA.prototype.dropzone=function(dA){return function(BA,QA){if(u.object(QA)){if(BA.options.drop.enabled=QA.enabled!==!1,QA.listeners){var yA=X(QA.listeners),RA=Object.keys(yA).reduce(function(HA,VA){return HA[/^(enter|leave)/.test(VA)?"drag".concat(VA):/^(activate|deactivate|move)/.test(VA)?"drop".concat(VA):VA]=yA[VA],HA},{}),DA=BA.options.drop.listeners;DA&&BA.off(DA),BA.on(RA),BA.options.drop.listeners=RA}return u.func(QA.ondrop)&&BA.on("drop",QA.ondrop),u.func(QA.ondropactivate)&&BA.on("dropactivate",QA.ondropactivate),u.func(QA.ondropdeactivate)&&BA.on("dropdeactivate",QA.ondropdeactivate),u.func(QA.ondragenter)&&BA.on("dragenter",QA.ondragenter),u.func(QA.ondragleave)&&BA.on("dragleave",QA.ondragleave),u.func(QA.ondropmove)&&BA.on("dropmove",QA.ondropmove),/^(pointer|center)$/.test(QA.overlap)?BA.options.drop.overlap=QA.overlap:u.number(QA.overlap)&&(BA.options.drop.overlap=Math.max(Math.min(1,QA.overlap),0)),"accept"in QA&&(BA.options.drop.accept=QA.accept),"checker"in QA&&(BA.options.drop.checker=QA.checker),BA}return u.bool(QA)?(BA.options.drop.enabled=QA,BA):BA.options.drop}(this,dA)},nA.prototype.dropCheck=function(dA,BA,QA,yA,RA,DA){return function(HA,VA,ge,le,he,ve,Qe){var kA=!1;if(!(Qe=Qe||HA.getRect(ve)))return!!HA.options.drop.checker&&HA.options.drop.checker(VA,ge,kA,HA,ve,le,he);var OA=HA.options.drop.overlap;if(OA==="pointer"){var KA=wA(le,he,"drag"),ee=xA(VA);ee.x+=KA.x,ee.y+=KA.y;var Be=ee.x>Qe.left&&ee.x<Qe.right,He=ee.y>Qe.top&&ee.y<Qe.bottom;kA=Be&&He}var Ke=le.getRect(he);if(Ke&&OA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&u.number(OA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=OA),HA.options.drop.checker&&(kA=HA.options.drop.checker(VA,ge,kA,HA,ve,le,he)),kA}(this,dA,BA,QA,yA,RA,DA)},Z.dynamicDrop=function(dA){return u.bool(dA)?(L.dynamicDrop=dA,Z):L.dynamicDrop},q(R.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),R.methodDict.drop="dropzone",L.dynamicDrop=!1,sA.actions.drop=TA.defaults},listeners:{"interactions:before-action-start":function(L){var R=L.interaction;R.prepared.name==="drag"&&(R.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(L,R){var Z=L.interaction,nA=(L.event,L.iEvent);if(Z.prepared.name==="drag"){var sA=Z.dropState;sA.activeDrops=[],sA.events={},sA.activeDrops=ae(R,Z.element),sA.events=ke(Z,0,nA),sA.events.activate&&(de(sA.activeDrops,sA.events.activate),R.fire("actions/drop:start",{interaction:Z,dragEvent:nA}))}},"interactions:action-move":LA,"interactions:after-action-move":function(L,R){var Z=L.interaction,nA=L.iEvent;if(Z.prepared.name==="drag"){var sA=Z.dropState;IA(Z,sA.events),R.fire("actions/drop:move",{interaction:Z,dragEvent:nA}),sA.events={}}},"interactions:action-end":function(L,R){if(L.interaction.prepared.name==="drag"){var Z=L.interaction,nA=L.iEvent;LA(L,R),IA(Z,Z.dropState.events),R.fire("actions/drop:end",{interaction:Z,dragEvent:nA})}},"interactions:stop":function(L){var R=L.interaction;if(R.prepared.name==="drag"){var Z=R.dropState;Z&&(Z.activeDrops=null,Z.events=null,Z.cur.dropzone=null,Z.cur.element=null,Z.prev.dropzone=null,Z.prev.element=null,Z.rejected=!1)}}},getActiveDrops:ae,getDrop:Ee,getDropEvents:ke,fireDropEvents:IA,filterEventType:function(L){return L.search("drag")===0||L.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},re=TA;function be(L){var R=L.interaction,Z=L.iEvent,nA=L.phase;if(R.prepared.name==="gesture"){var sA=R.pointers.map(function(RA){return RA.pointer}),dA=nA==="start",BA=nA==="end",QA=R.interactable.options.deltaSource;if(Z.touches=[sA[0],sA[1]],dA)Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=1,Z.ds=0,Z.angle=SA(sA,QA),Z.da=0,R.gesture.startDistance=Z.distance,R.gesture.startAngle=Z.angle;else if(BA||R.pointers.length<2){var yA=R.prevEvent;Z.distance=yA.distance,Z.box=yA.box,Z.scale=yA.scale,Z.ds=0,Z.angle=yA.angle,Z.da=0}else Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=Z.distance/R.gesture.startDistance,Z.angle=SA(sA,QA),Z.ds=Z.scale-R.gesture.scale,Z.da=Z.angle-R.gesture.angle;R.gesture.distance=Z.distance,R.gesture.angle=Z.angle,u.number(Z.scale)&&Z.scale!==1/0&&!isNaN(Z.scale)&&(R.gesture.scale=Z.scale)}}var se={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(L){var R=L.actions,Z=L.Interactable,nA=L.defaults;Z.prototype.gesturable=function(sA){return u.object(sA)?(this.options.gesture.enabled=sA.enabled!==!1,this.setPerAction("gesture",sA),this.setOnEvents("gesture",sA),this):u.bool(sA)?(this.options.gesture.enabled=sA,this):this.options.gesture},R.map.gesture=se,R.methodDict.gesture="gesturable",nA.actions.gesture=se.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(L){L.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(L){if(!(L.interaction.pointers.length<2)){var R=L.interactable.options.gesture;if(R&&R.enabled)return L.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(L){return L.search("gesture")===0}},ue=se;function Se(L,R,Z,nA,sA,dA,BA){if(!R)return!1;if(R===!0){var QA=u.number(dA.width)?dA.width:dA.right-dA.left,yA=u.number(dA.height)?dA.height:dA.bottom-dA.top;if(BA=Math.min(BA,Math.abs((L==="left"||L==="right"?QA:yA)/2)),QA<0&&(L==="left"?L="right":L==="right"&&(L="left")),yA<0&&(L==="top"?L="bottom":L==="bottom"&&(L="top")),L==="left"){var RA=QA>=0?dA.left:dA.right;return Z.x<RA+BA}if(L==="top"){var DA=yA>=0?dA.top:dA.bottom;return Z.y<DA+BA}if(L==="right")return Z.x>(QA>=0?dA.right:dA.left)-BA;if(L==="bottom")return Z.y>(yA>=0?dA.bottom:dA.top)-BA}return!!u.element(nA)&&(u.element(R)?R===nA:V(nA,R,sA))}function tt(L){var R=L.iEvent,Z=L.interaction;if(Z.prepared.name==="resize"&&Z.resizeAxes){var nA=R;Z.interactable.options.resize.square?(Z.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=Z.resizeAxes,Z.resizeAxes==="x"?nA.delta.y=0:Z.resizeAxes==="y"&&(nA.delta.x=0))}}var ct,FA,bA={id:"actions/resize",before:["actions/drag"],install:function(L){var R=L.actions,Z=L.browser,nA=L.Interactable,sA=L.defaults;bA.cursors=function(dA){return dA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(Z),bA.defaultMargin=Z.supportsTouch||Z.supportsPointerEvent?20:10,nA.prototype.resizable=function(dA){return function(BA,QA,yA){return u.object(QA)?(BA.options.resize.enabled=QA.enabled!==!1,BA.setPerAction("resize",QA),BA.setOnEvents("resize",QA),u.string(QA.axis)&&/^x$|^y$|^xy$/.test(QA.axis)?BA.options.resize.axis=QA.axis:QA.axis===null&&(BA.options.resize.axis=yA.defaults.actions.resize.axis),u.bool(QA.preserveAspectRatio)?BA.options.resize.preserveAspectRatio=QA.preserveAspectRatio:u.bool(QA.square)&&(BA.options.resize.square=QA.square),BA):u.bool(QA)?(BA.options.resize.enabled=QA,BA):BA.options.resize}(this,dA,L)},R.map.resize=bA,R.methodDict.resize="resizable",sA.actions.resize=bA.defaults},listeners:{"interactions:new":function(L){L.interaction.resizeAxes="xy"},"interactions:action-start":function(L){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,dA=nA.rect;nA._rects={start:q({},dA),corrected:q({},dA),previous:q({},dA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},sA.edges=nA.prepared.edges,sA.rect=nA._rects.corrected,sA.deltaRect=nA._rects.delta}})(L),tt(L)},"interactions:action-move":function(L){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,dA=nA.interactable.options.resize.invert,BA=dA==="reposition"||dA==="negate",QA=nA.rect,yA=nA._rects,RA=yA.start,DA=yA.corrected,HA=yA.delta,VA=yA.previous;if(q(VA,DA),BA){if(q(DA,QA),dA==="reposition"){if(DA.top>DA.bottom){var ge=DA.top;DA.top=DA.bottom,DA.bottom=ge}if(DA.left>DA.right){var le=DA.left;DA.left=DA.right,DA.right=le}}}else DA.top=Math.min(QA.top,RA.bottom),DA.bottom=Math.max(QA.bottom,RA.top),DA.left=Math.min(QA.left,RA.right),DA.right=Math.max(QA.right,RA.left);for(var he in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)HA[he]=DA[he]-VA[he];sA.edges=nA.prepared.edges,sA.rect=DA,sA.deltaRect=HA}})(L),tt(L)},"interactions:action-end":function(L){var R=L.iEvent,Z=L.interaction;if(Z.prepared.name==="resize"&&Z.prepared.edges){var nA=R;nA.edges=Z.prepared.edges,nA.rect=Z._rects.corrected,nA.deltaRect=Z._rects.delta}},"auto-start:check":function(L){var R=L.interaction,Z=L.interactable,nA=L.element,sA=L.rect,dA=L.buttons;if(sA){var BA=q({},R.coords.cur.page),QA=Z.options.resize;if(QA&&QA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||dA&QA.mouseButtons)){if(u.object(QA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var RA in yA)yA[RA]=Se(RA,QA.edges[RA],BA,R._latestPointer.eventTarget,nA,sA,QA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(L.action={name:"resize",edges:yA})}else{var DA=QA.axis!=="y"&&BA.x>sA.right-bA.defaultMargin,HA=QA.axis!=="x"&&BA.y>sA.bottom-bA.defaultMargin;(DA||HA)&&(L.action={name:"resize",axes:(DA?"x":"")+(HA?"y":"")})}return!L.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(L){var R=L.edges,Z=L.axis,nA=L.name,sA=bA.cursors,dA=null;if(Z)dA=sA[nA+Z];else if(R){for(var BA="",QA=0,yA=["top","bottom","left","right"];QA<yA.length;QA++){var RA=yA[QA];R[RA]&&(BA+=RA)}dA=sA[BA]}return dA},filterEventType:function(L){return L.search("resize")===0},defaultMargin:null},PA=bA,WA={id:"actions",install:function(L){L.usePlugin(ue),L.usePlugin(PA),L.usePlugin(h),L.usePlugin(re)}},ZA=0,Ie={request:function(L){return ct(L)},cancel:function(L){return FA(L)},init:function(L){if(ct=L.requestAnimationFrame,FA=L.cancelAnimationFrame,!ct)for(var R=["ms","moz","webkit","o"],Z=0;Z<R.length;Z++){var nA=R[Z];ct=L["".concat(nA,"RequestAnimationFrame")],FA=L["".concat(nA,"CancelAnimationFrame")]||L["".concat(nA,"CancelRequestAnimationFrame")]}ct=ct&&ct.bind(L),FA=FA&&FA.bind(L),ct||(ct=function(sA){var dA=Date.now(),BA=Math.max(0,16-(dA-ZA)),QA=L.setTimeout(function(){sA(dA+BA)},BA);return ZA=dA+BA,QA},FA=function(sA){return clearTimeout(sA)})}},ie={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(L){ie.isScrolling=!0,Ie.cancel(ie.i),L.autoScroll=ie,ie.interaction=L,ie.prevTime=ie.now(),ie.i=Ie.request(ie.scroll)},stop:function(){ie.isScrolling=!1,ie.interaction&&(ie.interaction.autoScroll=null),Ie.cancel(ie.i)},scroll:function(){var L=ie.interaction,R=L.interactable,Z=L.element,nA=L.prepared.name,sA=R.options[nA].autoScroll,dA=Me(sA.container,R,Z),BA=ie.now(),QA=(BA-ie.prevTime)/1e3,yA=sA.speed*QA;if(yA>=1){var RA={x:ie.x*yA,y:ie.y*yA};if(RA.x||RA.y){var DA=qe(dA);u.window(dA)?dA.scrollBy(RA.x,RA.y):dA&&(dA.scrollLeft+=RA.x,dA.scrollTop+=RA.y);var HA=qe(dA),VA={x:HA.x-DA.x,y:HA.y-DA.y};(VA.x||VA.y)&&R.fire({type:"autoscroll",target:Z,interactable:R,delta:VA,interaction:L,container:dA})}ie.prevTime=BA}ie.isScrolling&&(Ie.cancel(ie.i),ie.i=Ie.request(ie.scroll))},check:function(L,R){var Z;return(Z=L.options[R].autoScroll)==null?void 0:Z.enabled},onInteractionMove:function(L){var R=L.interaction,Z=L.pointer;if(R.interacting()&&ie.check(R.interactable,R.prepared.name))if(R.simulation)ie.x=ie.y=0;else{var nA,sA,dA,BA,QA=R.interactable,yA=R.element,RA=R.prepared.name,DA=QA.options[RA].autoScroll,HA=Me(DA.container,QA,yA);if(u.window(HA))BA=Z.clientX<ie.margin,nA=Z.clientY<ie.margin,sA=Z.clientX>HA.innerWidth-ie.margin,dA=Z.clientY>HA.innerHeight-ie.margin;else{var VA=J(HA);BA=Z.clientX<VA.left+ie.margin,nA=Z.clientY<VA.top+ie.margin,sA=Z.clientX>VA.right-ie.margin,dA=Z.clientY>VA.bottom-ie.margin}ie.x=sA?1:BA?-1:0,ie.y=dA?1:nA?-1:0,ie.isScrolling||(ie.margin=DA.margin,ie.speed=DA.speed,ie.start(R))}}};function Me(L,R,Z){return(u.string(L)?rA(L,R,Z):L)||_(Z)}function qe(L){return u.window(L)&&(L=window.document.body),{x:L.scrollLeft,y:L.scrollTop}}var Ct={id:"auto-scroll",install:function(L){var R=L.defaults,Z=L.actions;L.autoScroll=ie,ie.now=function(){return L.now()},Z.phaselessTypes.autoscroll=!0,R.perAction.autoScroll=ie.defaults},listeners:{"interactions:new":function(L){L.interaction.autoScroll=null},"interactions:destroy":function(L){L.interaction.autoScroll=null,ie.stop(),ie.interaction&&(ie.interaction=null)},"interactions:stop":ie.stop,"interactions:action-move":function(L){return ie.onInteractionMove(L)}}},ze=Ct;function At(L,R){var Z=!1;return function(){return Z||(F.console.warn(R),Z=!0),L.apply(this,arguments)}}function dt(L,R){return L.name=R.name,L.axis=R.axis,L.edges=R.edges,L}function Pe(L){return u.bool(L)?(this.options.styleCursor=L,this):L===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(L){return u.func(L)?(this.options.actionChecker=L,this):L===null?(delete this.options.actionChecker,this):this.options.actionChecker}var ft={id:"auto-start/interactableMethods",install:function(L){var R=L.Interactable;R.prototype.getAction=function(Z,nA,sA,dA){var BA=function(QA,yA,RA,DA,HA){var VA=QA.getRect(DA),ge=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],le={action:null,interactable:QA,interaction:RA,element:DA,rect:VA,buttons:ge};return HA.fire("auto-start:check",le),le.action}(this,nA,sA,dA,L);return this.options.actionChecker?this.options.actionChecker(Z,nA,BA,this,dA,sA):BA},R.prototype.ignoreFrom=At(function(Z){return this._backCompatOption("ignoreFrom",Z)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),R.prototype.allowFrom=At(function(Z){return this._backCompatOption("allowFrom",Z)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),R.prototype.actionChecker=ot,R.prototype.styleCursor=Pe}};function nt(L,R,Z,nA,sA){return R.testIgnoreAllow(R.options[L.name],Z,nA)&&R.options[L.name].enabled&&dn(R,Z,L,sA)?L:null}function Rn(L,R,Z,nA,sA,dA,BA){for(var QA=0,yA=nA.length;QA<yA;QA++){var RA=nA[QA],DA=sA[QA],HA=RA.getAction(R,Z,L,DA);if(HA){var VA=nt(HA,RA,DA,dA,BA);if(VA)return{action:VA,interactable:RA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(L,R,Z,nA,sA){var dA=[],BA=[],QA=nA;function yA(DA){dA.push(DA),BA.push(QA)}for(;u.element(QA);){dA=[],BA=[],sA.interactables.forEachMatch(QA,yA);var RA=Rn(L,R,Z,dA,BA,nA,sA);if(RA.action&&!RA.interactable.options[RA.action.name].manualStart)return RA;QA=K(QA)}return{action:null,interactable:null,element:null}}function Vt(L,R,Z){var nA=R.action,sA=R.interactable,dA=R.element;nA=nA||{name:null},L.interactable=sA,L.element=dA,dt(L.prepared,nA),L.rect=sA&&nA.name?sA.getRect(dA):null,An(L,Z),Z.fire("autoStart:prepared",{interaction:L})}function dn(L,R,Z,nA){var sA=L.options,dA=sA[Z.name].max,BA=sA[Z.name].maxPerElement,QA=nA.autoStart.maxInteractions,yA=0,RA=0,DA=0;if(!(dA&&BA&&QA))return!1;for(var HA=0,VA=nA.interactions.list;HA<VA.length;HA++){var ge=VA[HA],le=ge.prepared.name;if(ge.interacting()&&(++yA>=QA||ge.interactable===L&&((RA+=le===Z.name?1:0)>=dA||ge.element===R&&(DA++,le===Z.name&&DA>=BA))))return!1}return QA>0}function bn(L,R){return u.number(L)?(R.autoStart.maxInteractions=L,this):R.autoStart.maxInteractions}function Ft(L,R,Z){var nA=Z.autoStart.cursorElement;nA&&nA!==L&&(nA.style.cursor=""),L.ownerDocument.documentElement.style.cursor=R,L.style.cursor=R,Z.autoStart.cursorElement=R?L:null}function An(L,R){var Z=L.interactable,nA=L.element,sA=L.prepared;if(L.pointerType==="mouse"&&Z&&Z.options.styleCursor){var dA="";if(sA.name){var BA=Z.options[sA.name].cursorChecker;dA=u.func(BA)?BA(sA,Z,nA,L._interacting):R.actions.map[sA.name].getCursor(sA)}Ft(L.element,dA||"",R)}else R.autoStart.cursorElement&&Ft(R.autoStart.cursorElement,"",R)}var zn={id:"auto-start/base",before:["actions"],install:function(L){var R=L.interactStatic,Z=L.defaults;L.usePlugin(ft),Z.base.actionChecker=null,Z.base.styleCursor=!0,q(Z.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),R.maxInteractions=function(nA){return bn(nA,L)},L.autoStart={maxInteractions:1/0,withinInteractionLimit:dn,cursorElement:null}},listeners:{"interactions:down":function(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget;Z.interacting()||Vt(Z,Xt(Z,nA,sA,dA,R),R)},"interactions:move":function(L,R){(function(Z,nA){var sA=Z.interaction,dA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerType!=="mouse"||sA.pointerIsDown||sA.interacting()||Vt(sA,Xt(sA,dA,BA,QA,nA),nA)})(L,R),function(Z,nA){var sA=Z.interaction;if(sA.pointerIsDown&&!sA.interacting()&&sA.pointerWasMoved&&sA.prepared.name){nA.fire("autoStart:before-start",Z);var dA=sA.interactable,BA=sA.prepared.name;BA&&dA&&(dA.options[BA].manualStart||!dn(dA,sA.element,sA.prepared,nA)?sA.stop():(sA.start(sA.prepared,dA,sA.element),An(sA,nA)))}}(L,R)},"interactions:stop":function(L,R){var Z=L.interaction,nA=Z.interactable;nA&&nA.options.styleCursor&&Ft(Z.element,"",R)}},maxInteractions:bn,withinInteractionLimit:dn,validateAction:nt},en=zn,mi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(L,R){var Z=L.interaction,nA=L.eventTarget,sA=L.dx,dA=L.dy;if(Z.prepared.name==="drag"){var BA=Math.abs(sA),QA=Math.abs(dA),yA=Z.interactable.options.drag,RA=yA.startAxis,DA=BA>QA?"x":BA<QA?"y":"xy";if(Z.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&RA!=="xy"&&RA!==DA){Z.prepared.name=null;for(var HA=nA,VA=function(le){if(le!==Z.interactable){var he=Z.interactable.options.drag;if(!he.manualStart&&le.testIgnoreAllow(he,HA,nA)){var ve=le.getAction(Z.downPointer,Z.downEvent,Z,HA);if(ve&&ve.name==="drag"&&function(Qe,kA){if(!kA)return!1;var OA=kA.options.drag.startAxis;return Qe==="xy"||OA==="xy"||OA===Qe}(DA,le)&&en.validateAction(ve,le,HA,nA,R))return le}}};u.element(HA);){var ge=R.interactables.forEachMatch(HA,VA);if(ge){Z.prepared.name="drag",Z.interactable=ge,Z.element=HA;break}HA=K(HA)}}}}}};function Ei(L){var R=L.prepared&&L.prepared.name;if(!R)return null;var Z=L.interactable.options;return Z[R].hold||Z[R].delay}var co={id:"auto-start/hold",install:function(L){var R=L.defaults;L.usePlugin(en),R.perAction.hold=0,R.perAction.delay=0},listeners:{"interactions:new":function(L){L.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(L){var R=L.interaction,Z=Ei(R);Z>0&&(R.autoStartHoldTimer=setTimeout(function(){R.start(R.prepared,R.interactable,R.element)},Z))},"interactions:move":function(L){var R=L.interaction,Z=L.duplicate;R.autoStartHoldTimer&&R.pointerWasMoved&&!Z&&(clearTimeout(R.autoStartHoldTimer),R.autoStartHoldTimer=null)},"autoStart:before-start":function(L){var R=L.interaction;Ei(R)>0&&(R.prepared.name=null)}},getHoldDuration:Ei},Qi=co,oi={id:"auto-start",install:function(L){L.usePlugin(en),L.usePlugin(Qi),L.usePlugin(mi)}},Hi=function(L){return/^(always|never|auto)$/.test(L)?(this.options.preventDefault=L,this):u.bool(L)?(this.options.preventDefault=L?"always":"never",this):this.options.preventDefault};function go(L){var R=L.interaction,Z=L.event;R.interactable&&R.interactable.checkAndPreventDefault(Z)}var ri={id:"core/interactablePreventDefault",install:function(L){var R=L.Interactable;R.prototype.preventDefault=Hi,R.prototype.checkAndPreventDefault=function(Z){return function(nA,sA,dA){var BA=nA.options.preventDefault;if(BA!=="never")if(BA!=="always"){if(sA.events.supportsPassive&&/^touch(start|move)$/.test(dA.type)){var QA=_(dA.target).document,yA=sA.getDocOptions(QA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(dA.type)||u.element(dA.target)&&z(dA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||dA.preventDefault()}else dA.preventDefault()}(this,L,Z)},L.interactions.docEvents.push({type:"dragstart",listener:function(Z){for(var nA=0,sA=L.interactions.list;nA<sA.length;nA++){var dA=sA[nA];if(dA.element&&(dA.element===Z.target||M(dA.element,Z.target)))return void dA.interactable.checkAndPreventDefault(Z)}}})},listeners:["down","move","up","cancel"].reduce(function(L,R){return L["interactions:".concat(R)]=go,L},{})};function yn(L,R){if(R.phaselessTypes[L])return!0;for(var Z in R.map)if(L.indexOf(Z)===0&&L.substr(Z.length)in R.phases)return!0;return!1}function Ki(L){var R={};for(var Z in L){var nA=L[Z];u.plainObject(nA)?R[Z]=Ki(nA):u.array(nA)?R[Z]=xe(nA):R[Z]=nA}return R}var Zo=function(){function L(R){f(this,L),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=R,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(L,[{key:"start",value:function(R,Z){var nA,sA,dA=R.phase,BA=this.interaction,QA=function(RA){var DA=RA.interactable.options[RA.prepared.name],HA=DA.modifiers;return HA&&HA.length?HA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(VA){var ge=DA[VA];return ge&&ge.enabled&&{options:ge,methods:ge._methods}}).filter(function(VA){return!!VA})}(BA);this.prepareStates(QA),this.startEdges=q({},BA.edges),this.edges=q({},this.startEdges),this.startOffset=(nA=BA.rect,sA=Z,nA?{left:sA.x-nA.left,top:sA.y-nA.top,right:nA.right-sA.x,bottom:nA.bottom-sA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:dA,pageCoords:Z,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(R){var Z=this.interaction;return R.interaction=Z,R.interactable=Z.interactable,R.element=Z.element,R.rect||(R.rect=Z.rect),R.edges||(R.edges=this.startEdges),R.startOffset=this.startOffset,R}},{key:"startAll",value:function(R){for(var Z=0,nA=this.states;Z<nA.length;Z++){var sA=nA[Z];sA.methods.start&&(R.state=sA,sA.methods.start(R))}}},{key:"setAll",value:function(R){var Z=R.phase,nA=R.preEnd,sA=R.skipModifiers,dA=R.rect,BA=R.edges;R.coords=q({},R.pageCoords),R.rect=q({},dA),R.edges=q({},BA);for(var QA=sA?this.states.slice(sA):this.states,yA=uo(R.coords,R.rect),RA=0;RA<QA.length;RA++){var DA,HA=QA[RA],VA=HA.options,ge=q({},R.coords),le=null;(DA=HA.methods)!=null&&DA.set&&this.shouldDo(VA,nA,Z)&&(R.state=HA,le=HA.methods.set(R),gA(R.edges,R.rect,{x:R.coords.x-ge.x,y:R.coords.y-ge.y})),yA.eventProps.push(le)}q(this.edges,R.edges),yA.delta.x=R.coords.x-R.pageCoords.x,yA.delta.y=R.coords.y-R.pageCoords.y,yA.rectDelta.left=R.rect.left-dA.left,yA.rectDelta.right=R.rect.right-dA.right,yA.rectDelta.top=R.rect.top-dA.top,yA.rectDelta.bottom=R.rect.bottom-dA.bottom;var he=this.result.coords,ve=this.result.rect;if(he&&ve){var Qe=yA.rect.left!==ve.left||yA.rect.right!==ve.right||yA.rect.top!==ve.top||yA.rect.bottom!==ve.bottom;yA.changed=Qe||he.x!==yA.coords.x||he.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(R){var Z=this.interaction,nA=R.phase,sA=Z.coords.cur,dA=Z.coords.start,BA=this.result,QA=this.startDelta,yA=BA.delta;nA==="start"&&q(this.startDelta,BA.delta);for(var RA=0,DA=[[dA,QA],[sA,yA]];RA<DA.length;RA++){var HA=DA[RA],VA=HA[0],ge=HA[1];VA.page.x+=ge.x,VA.page.y+=ge.y,VA.client.x+=ge.x,VA.client.y+=ge.y}var le=this.result.rectDelta,he=R.rect||Z.rect;he.left+=le.left,he.right+=le.right,he.top+=le.top,he.bottom+=le.bottom,he.width=he.right-he.left,he.height=he.bottom-he.top}},{key:"setAndApply",value:function(R){var Z=this.interaction,nA=R.phase,sA=R.preEnd,dA=R.skipModifiers,BA=this.setAll(this.fillArg({preEnd:sA,phase:nA,pageCoords:R.modifiedCoords||Z.coords.cur.page}));if(this.result=BA,!BA.changed&&(!dA||dA<this.states.length)&&Z.interacting())return!1;if(R.modifiedCoords){var QA=Z.coords.cur.page,yA={x:R.modifiedCoords.x-QA.x,y:R.modifiedCoords.y-QA.y};BA.coords.x+=yA.x,BA.coords.y+=yA.y,BA.delta.x+=yA.x,BA.delta.y+=yA.y}this.applyToInteraction(R)}},{key:"beforeEnd",value:function(R){var Z=R.interaction,nA=R.event,sA=this.states;if(sA&&sA.length){for(var dA=!1,BA=0;BA<sA.length;BA++){var QA=sA[BA];R.state=QA;var yA=QA.options,RA=QA.methods,DA=RA.beforeEnd&&RA.beforeEnd(R);if(DA)return this.endResult=DA,!1;dA=dA||!dA&&this.shouldDo(yA,!0,R.phase,!0)}dA&&Z.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(R){var Z=R.interaction;if(this.states&&this.states.length){var nA=q({states:this.states,interactable:Z.interactable,element:Z.element,rect:null},R);this.fillArg(nA);for(var sA=0,dA=this.states;sA<dA.length;sA++){var BA=dA[sA];nA.state=BA,BA.methods.stop&&BA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(R){this.states=[];for(var Z=0;Z<R.length;Z++){var nA=R[Z],sA=nA.options,dA=nA.methods,BA=nA.name;this.states.push({options:sA,methods:dA,index:Z,name:BA})}return this.states}},{key:"restoreInteractionCoords",value:function(R){var Z=R.interaction,nA=Z.coords,sA=Z.rect,dA=Z.modification;if(dA.result){for(var BA=dA.startDelta,QA=dA.result,yA=QA.delta,RA=QA.rectDelta,DA=0,HA=[[nA.start,BA],[nA.cur,yA]];DA<HA.length;DA++){var VA=HA[DA],ge=VA[0],le=VA[1];ge.page.x-=le.x,ge.page.y-=le.y,ge.client.x-=le.x,ge.client.y-=le.y}sA.left-=RA.left,sA.right-=RA.right,sA.top-=RA.top,sA.bottom-=RA.bottom}}},{key:"shouldDo",value:function(R,Z,nA,sA){return!(!R||R.enabled===!1||sA&&!R.endOnly||R.endOnly&&!Z||nA==="start"&&!R.setStart)}},{key:"copyFrom",value:function(R){this.startOffset=R.startOffset,this.startDelta=R.startDelta,this.startEdges=R.startEdges,this.edges=R.edges,this.states=R.states.map(function(Z){return Ki(Z)}),this.result=uo(q({},R.result.coords),q({},R.result.rect))}},{key:"destroy",value:function(){for(var R in this)this[R]=null}}]),L}();function uo(L,R){return{rect:R,coords:L,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Ln(L,R){var Z=L.defaults,nA={start:L.start,set:L.set,beforeEnd:L.beforeEnd,stop:L.stop},sA=function(dA){var BA=dA||{};for(var QA in BA.enabled=BA.enabled!==!1,Z)QA in BA||(BA[QA]=Z[QA]);var yA={options:BA,methods:nA,name:R,enable:function(){return BA.enabled=!0,yA},disable:function(){return BA.enabled=!1,yA}};return yA};return R&&typeof R=="string"&&(sA._defaults=Z,sA._methods=nA),sA}function ho(L){var R=L.iEvent,Z=L.interaction.modification.result;Z&&(R.modifiers=Z.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(L){L.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(L){var R=L.interaction;R.modification=new Zo(R)},"interactions:before-action-start":function(L){var R=L.interaction,Z=L.interaction.modification;Z.start(L,R.coords.start.page),R.edges=Z.edges,Z.applyToInteraction(L)},"interactions:before-action-move":function(L){var R=L.interaction,Z=R.modification,nA=Z.setAndApply(L);return R.edges=Z.edges,nA},"interactions:before-action-end":function(L){var R=L.interaction,Z=R.modification,nA=Z.beforeEnd(L);return R.edges=Z.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-move":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:stop":function(L){return L.interaction.modification.stop(L)}}},Wo=bs,jo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ai=function(L){I(Z,L);var R=O(Z);function Z(nA,sA,dA,BA,QA,yA,RA){var DA;f(this,Z),(DA=R.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,QA=QA||nA.element;var HA=nA.interactable,VA=(HA&&HA.options||jo).deltaSource,ge=wA(HA,QA,dA),le=BA==="start",he=BA==="end",ve=le?T(DA):nA.prevEvent,Qe=le?nA.coords.start:he?{page:ve.page,client:ve.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=q({},Qe.page),DA.client=q({},Qe.client),DA.rect=q({},nA.rect),DA.timeStamp=Qe.timeStamp,he||(DA.page.x-=ge.x,DA.page.y-=ge.y,DA.client.x-=ge.x,DA.client.y-=ge.y),DA.ctrlKey=sA.ctrlKey,DA.altKey=sA.altKey,DA.shiftKey=sA.shiftKey,DA.metaKey=sA.metaKey,DA.button=sA.button,DA.buttons=sA.buttons,DA.target=QA,DA.currentTarget=QA,DA.preEnd=yA,DA.type=RA||dA+(BA||""),DA.interactable=HA,DA.t0=le?nA.pointers[nA.pointers.length-1].downTime:ve.t0,DA.x0=nA.coords.start.page.x-ge.x,DA.y0=nA.coords.start.page.y-ge.y,DA.clientX0=nA.coords.start.client.x-ge.x,DA.clientY0=nA.coords.start.client.y-ge.y,DA.delta=le||he?{x:0,y:0}:{x:DA[VA].x-ve[VA].x,y:DA[VA].y-ve[VA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=q({},nA.coords.velocity[VA]),DA.speed=cA(DA.velocity.x,DA.velocity.y),DA.swipe=he||BA==="inertiastart"?DA.getSwipe():null,DA}return b(Z,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var sA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;sA<0&&(sA+=360);var dA=112.5<=sA&&sA<247.5,BA=202.5<=sA&&sA<337.5;return{up:BA,down:!BA&&22.5<=sA&&sA<157.5,left:dA,right:!dA&&(292.5<=sA||sA<67.5),angle:sA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),Z}(Ce);Object.defineProperties(ai.prototype,{pageX:{get:function(){return this.page.x},set:function(L){this.page.x=L}},pageY:{get:function(){return this.page.y},set:function(L){this.page.y=L}},clientX:{get:function(){return this.client.x},set:function(L){this.client.x=L}},clientY:{get:function(){return this.client.y},set:function(L){this.client.y=L}},dx:{get:function(){return this.delta.x},set:function(L){this.delta.x=L}},dy:{get:function(){return this.delta.y},set:function(L){this.delta.y=L}},velocityX:{get:function(){return this.velocity.x},set:function(L){this.velocity.x=L}},velocityY:{get:function(){return this.velocity.y},set:function(L){this.velocity.y=L}}});var ys=b(function L(R,Z,nA,sA,dA){f(this,L),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=R,this.pointer=Z,this.event=nA,this.downTime=sA,this.downTarget=dA}),Ds=function(L){return L.interactable="",L.element="",L.prepared="",L.pointerIsDown="",L.pointerWasMoved="",L._proxy="",L}({}),vs=function(L){return L.start="",L.move="",L.end="",L.stop="",L.interacting="",L}({}),ks=0,_s=function(){function L(R){var Z=this,nA=R.pointerType,sA=R.scopeFire;f(this,L),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(DA){this.move(DA)},"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=ks++,this._scopeFire=sA,this.pointerType=nA;var dA=this;this._proxy={};var BA=function(DA){Object.defineProperty(Z._proxy,DA,{get:function(){return dA[DA]}})};for(var QA in Ds)BA(QA);var yA=function(DA){Object.defineProperty(Z._proxy,DA,{value:function(){return dA[DA].apply(dA,arguments)}})};for(var RA in vs)yA(RA);this._scopeFire("interactions:new",{interaction:this})}return b(L,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(R,Z,nA){var sA=this.updatePointer(R,Z,nA,!0),dA=this.pointers[sA];this._scopeFire("interactions:down",{pointer:R,event:Z,eventTarget:nA,pointerIndex:sA,pointerInfo:dA,type:"down",interaction:this})}},{key:"start",value:function(R,Z,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(R.name==="gesture"?2:1)||!Z.options[R.name].enabled)&&(dt(this.prepared,R),this.interactable=Z,this.element=nA,this.rect=Z.getRect(nA),this.edges=this.prepared.edges?q({},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(R,Z,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(R,Z,nA,!1);var sA,dA,BA=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&&(sA=this.coords.cur.client.x-this.coords.start.client.x,dA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(sA,dA)>this.pointerMoveTolerance);var QA,yA,RA,DA=this.getPointerIndex(R),HA={pointer:R,pointerIndex:DA,pointerInfo:this.pointers[DA],event:Z,type:"move",eventTarget:nA,dx:sA,dy:dA,duplicate:BA,interaction:this};BA||(QA=this.coords.velocity,yA=this.coords.delta,RA=Math.max(yA.timeStamp/1e3,.001),QA.page.x=yA.page.x/RA,QA.page.y=yA.page.y/RA,QA.client.x=yA.client.x/RA,QA.client.y=yA.client.y/RA,QA.timeStamp=RA),this._scopeFire("interactions:move",HA),BA||this.simulation||(this.interacting()&&(HA.type=null,this.move(HA)),this.pointerWasMoved&&W(this.coords.prev,this.coords.cur))}},{key:"move",value:function(R){R&&R.event||tA(this.coords.delta),(R=q({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},R||{})).phase="move",this._doPhase(R)}},{key:"pointerUp",value:function(R,Z,nA,sA){var dA=this.getPointerIndex(R);dA===-1&&(dA=this.updatePointer(R,Z,nA,!1));var BA=/cancel$/i.test(Z.type)?"cancel":"up";this._scopeFire("interactions:".concat(BA),{pointer:R,pointerIndex:dA,pointerInfo:this.pointers[dA],event:Z,eventTarget:nA,type:BA,curEventTarget:sA,interaction:this}),this.simulation||this.end(Z),this.removePointer(R,Z)}},{key:"documentBlur",value:function(R){this.end(R),this._scopeFire("interactions:blur",{event:R,type:"blur",interaction:this})}},{key:"end",value:function(R){var Z;this._ending=!0,R=R||this._latestPointer.event,this.interacting()&&(Z=this._doPhase({event:R,interaction:this,phase:"end"})),this._ending=!1,Z===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(R){var Z=zA(R);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:NA(this.pointers,function(nA){return nA.id===Z})}},{key:"getPointerInfo",value:function(R){return this.pointers[this.getPointerIndex(R)]}},{key:"updatePointer",value:function(R,Z,nA,sA){var dA,BA,QA,yA=zA(R),RA=this.getPointerIndex(R),DA=this.pointers[RA];return sA=sA!==!1&&(sA||/(down|start)$/i.test(Z.type)),DA?DA.pointer=R:(DA=new ys(yA,R,Z,null,null),RA=this.pointers.length,this.pointers.push(DA)),jA(this.coords.cur,this.pointers.map(function(HA){return HA.pointer}),this._now()),dA=this.coords.delta,BA=this.coords.prev,QA=this.coords.cur,dA.page.x=QA.page.x-BA.page.x,dA.page.y=QA.page.y-BA.page.y,dA.client.x=QA.client.x-BA.client.x,dA.client.y=QA.client.y-BA.client.y,dA.timeStamp=QA.timeStamp-BA.timeStamp,sA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,U(this.downPointer,R),this.interacting()||(W(this.coords.start,this.coords.cur),W(this.coords.prev,this.coords.cur),this.downEvent=Z,this.pointerWasMoved=!1)),this._updateLatestPointer(R,Z,nA),this._scopeFire("interactions:update-pointer",{pointer:R,event:Z,eventTarget:nA,down:sA,pointerInfo:DA,pointerIndex:RA,interaction:this}),RA}},{key:"removePointer",value:function(R,Z){var nA=this.getPointerIndex(R);if(nA!==-1){var sA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:R,event:Z,eventTarget:null,pointerIndex:nA,pointerInfo:sA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(R,Z,nA){this._latestPointer.pointer=R,this._latestPointer.event=Z,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(R,Z,nA,sA){return new ai(this,R,this.prepared.name,Z,this.element,nA,sA)}},{key:"_fireEvent",value:function(R){var Z;(Z=this.interactable)==null||Z.fire(R),(!this.prevEvent||R.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=R)}},{key:"_doPhase",value:function(R){var Z=R.event,nA=R.phase,sA=R.preEnd,dA=R.type,BA=this.rect;if(BA&&nA==="move"&&(gA(this.edges,BA,this.coords.delta[this.interactable.options.deltaSource]),BA.width=BA.right-BA.left,BA.height=BA.bottom-BA.top),this._scopeFire("interactions:before-action-".concat(nA),R)===!1)return!1;var QA=R.iEvent=this._createPreparedEvent(Z,nA,sA,dA);return this._scopeFire("interactions:action-".concat(nA),R),nA==="start"&&(this.prevEvent=QA),this._fireEvent(QA),this._scopeFire("interactions:after-action-".concat(nA),R),!0}},{key:"_now",value:function(){return Date.now()}}]),L}();function $r(L){zr(L.interaction)}function zr(L){if(!function(Z){return!(!Z.offset.pending.x&&!Z.offset.pending.y)}(L))return!1;var R=L.offset.pending;return Jr(L.coords.cur,R),Jr(L.coords.delta,R),gA(L.edges,L.rect,R),R.x=0,R.y=0,!0}function sg(L){var R=L.x,Z=L.y;this.offset.pending.x+=R,this.offset.pending.y+=Z,this.offset.total.x+=R,this.offset.total.y+=Z}function Jr(L,R){var Z=L.page,nA=L.client,sA=R.x,dA=R.y;Z.x+=sA,Z.y+=dA,nA.x+=sA,nA.y+=dA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(L){L.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(L){L.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(L){return function(R){R.pointerIsDown&&(Jr(R.coords.cur,R.offset.total),R.offset.pending.x=0,R.offset.pending.y=0)}(L.interaction)},"interactions:before-action-start":$r,"interactions:before-action-move":$r,"interactions:before-action-end":function(L){var R=L.interaction;if(zr(R))return R.move({offset:!0}),R.end(),!1},"interactions:stop":function(L){var R=L.interaction;R.offset.total.x=0,R.offset.total.y=0,R.offset.pending.x=0,R.offset.pending.y=0}}},Zr=lg,cg=function(){function L(R){f(this,L),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=R}return b(L,[{key:"start",value:function(R){var Z=this.interaction,nA=qo(Z);if(!nA||!nA.enabled)return!1;var sA=Z.coords.velocity.client,dA=cA(sA.x,sA.y),BA=this.modification||(this.modification=new Zo(Z));if(BA.copyFrom(Z.modification),this.t0=Z._now(),this.allowResume=nA.allowResume,this.v0=dA,this.currentOffset={x:0,y:0},this.startCoords=Z.coords.cur.page,this.modifierArg=BA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-Z.coords.cur.timeStamp<50&&dA>nA.minSpeed&&dA>nA.endSpeed)this.startInertia();else{if(BA.result=BA.setAll(this.modifierArg),!BA.result.changed)return!1;this.startSmoothEnd()}return Z.modification.result.rect=null,Z.offsetBy(this.targetOffset),Z._doPhase({interaction:Z,event:R,phase:"inertiastart"}),Z.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),Z.modification.result.rect=null,this.active=!0,Z.simulation=this,!0}},{key:"startInertia",value:function(){var R=this,Z=this.interaction.coords.velocity.client,nA=qo(this.interaction),sA=nA.resistance,dA=-Math.log(nA.endSpeed/this.v0)/sA;this.targetOffset={x:(Z.x-dA)/sA,y:(Z.y-dA)/sA},this.te=dA,this.lambda_v0=sA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var BA=this.modification,QA=this.modifierArg;QA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},BA.result=BA.setAll(QA),BA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+BA.result.delta.x,y:this.targetOffset.y+BA.result.delta.y}),this.onNextFrame(function(){return R.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var R=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 R.smoothEndTick()})}},{key:"onNextFrame",value:function(R){var Z=this;this.timeout=Ie.request(function(){Z.active&&R()})}},{key:"inertiaTick",value:function(){var R,Z,nA,sA,dA,BA,QA,yA=this,RA=this.interaction,DA=qo(RA).resistance,HA=(RA._now()-this.t0)/1e3;if(HA<this.te){var VA,ge=1-(Math.exp(-DA*HA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(R=0,Z=0,nA=this.targetOffset.x,sA=this.targetOffset.y,dA=this.modifiedOffset.x,BA=this.modifiedOffset.y,VA={x:Ms(QA=ge,R,nA,dA),y:Ms(QA,Z,sA,BA)}):VA={x:this.targetOffset.x*ge,y:this.targetOffset.y*ge};var le={x:VA.x-this.currentOffset.x,y:VA.y-this.currentOffset.y};this.currentOffset.x+=le.x,this.currentOffset.y+=le.y,RA.offsetBy(le),RA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else RA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var R=this,Z=this.interaction,nA=Z._now()-this.t0,sA=qo(Z).smoothEndDuration;if(nA<sA){var dA={x:Xo(nA,0,this.targetOffset.x,sA),y:Xo(nA,0,this.targetOffset.y,sA)},BA={x:dA.x-this.currentOffset.x,y:dA.y-this.currentOffset.y};this.currentOffset.x+=BA.x,this.currentOffset.y+=BA.y,Z.offsetBy(BA),Z.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return R.smoothEndTick()})}else Z.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(R){var Z=R.pointer,nA=R.event,sA=R.eventTarget,dA=this.interaction;dA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),dA.updatePointer(Z,nA,sA,!0),dA._doPhase({interaction:dA,event:nA,phase:"resume"}),W(dA.coords.prev,dA.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)}}]),L}();function qo(L){var R=L.interactable,Z=L.prepared;return R&&R.options&&Z.name&&R.options[Z.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(L){var R=L.defaults;L.usePlugin(Zr),L.usePlugin(Wo),L.actions.phases.inertiastart=!0,L.actions.phases.resume=!0,R.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(L){var R=L.interaction;R.inertia=new cg(R)},"interactions:before-action-end":function(L){var R=L.interaction,Z=L.event;return(!R._interacting||R.simulation||!R.inertia.start(Z))&&null},"interactions:down":function(L){var R=L.interaction,Z=L.eventTarget,nA=R.inertia;if(nA.active)for(var sA=Z;u.element(sA);){if(sA===R.element){nA.resume(L);break}sA=K(sA)}},"interactions:stop":function(L){var R=L.interaction.inertia;R.active&&R.stop()},"interactions:before-action-resume":function(L){var R=L.interaction.modification;R.stop(L),R.start(L,L.interaction.coords.cur.page),R.applyToInteraction(L)},"interactions:before-action-inertiastart":function(L){return L.interaction.modification.setAndApply(L)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-resume":function(L){return L.interaction.modification.restoreInteractionCoords(L)}}};function Ms(L,R,Z,nA){var sA=1-L;return sA*sA*R+2*sA*L*Z+L*L*nA}function Xo(L,R,Z,nA){return-Z*(L/=nA)*(L-2)+R}var dg=gg;function xs(L,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];if(L.immediatePropagationStopped)break;nA(L)}}var Ss=function(){function L(R){f(this,L),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=q({},R||{})}return b(L,[{key:"fire",value:function(R){var Z,nA=this.global;(Z=this.types[R.type])&&xs(R,Z),!R.propagationStopped&&nA&&(Z=nA[R.type])&&xs(R,Z)}},{key:"on",value:function(R,Z){var nA=X(R,Z);for(R in nA)this.types[R]=ye(this.types[R]||[],nA[R])}},{key:"off",value:function(R,Z){var nA=X(R,Z);for(R in nA){var sA=this.types[R];if(sA&&sA.length)for(var dA=0,BA=nA[R];dA<BA.length;dA++){var QA=BA[dA],yA=sA.indexOf(QA);yA!==-1&&sA.splice(yA,1)}}}},{key:"getRect",value:function(R){return null}}]),L}(),ug=function(){function L(R){f(this,L),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=R,U(this,R)}return b(L,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),L}();function po(L){return u.object(L)?{capture:!!L.capture,passive:!!L.passive}:{capture:!!L,passive:!1}}function at(L,R){return L===R||(typeof L=="boolean"?!!R.capture===L&&!R.passive:!!L.capture==!!R.capture&&!!L.passive==!!R.passive)}var gt={id:"events",install:function(L){var R,Z=[],nA={},sA=[],dA={add:BA,remove:QA,addDelegate:function(DA,HA,VA,ge,le){var he=po(le);if(!nA[VA]){nA[VA]=[];for(var ve=0;ve<sA.length;ve++){var Qe=sA[ve];BA(Qe,VA,yA),BA(Qe,VA,RA,!0)}}var kA=nA[VA],OA=UA(kA,function(KA){return KA.selector===DA&&KA.context===HA});OA||(OA={selector:DA,context:HA,listeners:[]},kA.push(OA)),OA.listeners.push({func:ge,options:he})},removeDelegate:function(DA,HA,VA,ge,le){var he,ve=po(le),Qe=nA[VA],kA=!1;if(Qe)for(he=Qe.length-1;he>=0;he--){var OA=Qe[he];if(OA.selector===DA&&OA.context===HA){for(var KA=OA.listeners,ee=KA.length-1;ee>=0;ee--){var Be=KA[ee];if(Be.func===ge&&at(Be.options,ve)){KA.splice(ee,1),KA.length||(Qe.splice(he,1),QA(HA,VA,yA),QA(HA,VA,RA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:RA,delegatedEvents:nA,documents:sA,targets:Z,supportsOptions:!1,supportsPassive:!1};function BA(DA,HA,VA,ge){if(DA.addEventListener){var le=po(ge),he=UA(Z,function(ve){return ve.eventTarget===DA});he||(he={eventTarget:DA,events:{}},Z.push(he)),he.events[HA]||(he.events[HA]=[]),UA(he.events[HA],function(ve){return ve.func===VA&&at(ve.options,le)})||(DA.addEventListener(HA,VA,dA.supportsOptions?le:le.capture),he.events[HA].push({func:VA,options:le}))}}function QA(DA,HA,VA,ge){if(DA.addEventListener&&DA.removeEventListener){var le=NA(Z,function(He){return He.eventTarget===DA}),he=Z[le];if(he&&he.events)if(HA!=="all"){var ve=!1,Qe=he.events[HA];if(Qe){if(VA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var OA=Qe[kA];QA(DA,HA,OA.func,OA.options)}return}for(var KA=po(ge),ee=0;ee<Qe.length;ee++){var Be=Qe[ee];if(Be.func===VA&&at(Be.options,KA)){DA.removeEventListener(HA,VA,dA.supportsOptions?KA:KA.capture),Qe.splice(ee,1),Qe.length===0&&(delete he.events[HA],ve=!0);break}}}ve&&!Object.keys(he.events).length&&Z.splice(le,1)}else for(HA in he.events)he.events.hasOwnProperty(HA)&&QA(DA,HA,"all")}}function yA(DA,HA){for(var VA=po(HA),ge=new ug(DA),le=nA[DA.type],he=qA(DA)[0],ve=he;u.element(ve);){for(var Qe=0;Qe<le.length;Qe++){var kA=le[Qe],OA=kA.selector,KA=kA.context;if(z(ve,OA)&&M(KA,he)&&M(KA,ve)){var ee=kA.listeners;ge.currentTarget=ve;for(var Be=0;Be<ee.length;Be++){var He=ee[Be];at(He.options,VA)&&He.func(ge)}}}ve=K(ve)}}function RA(DA){return yA(DA,!0)}return(R=L.document)==null||R.createElement("div").addEventListener("test",null,{get capture(){return dA.supportsOptions=!0},get passive(){return dA.supportsPassive=!0}}),L.events=dA,dA}},Wr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(L){for(var R=0,Z=Wr.methodOrder;R<Z.length;R++){var nA=Z[R],sA=Wr[nA](L);if(sA)return sA}return null},simulationResume:function(L){var R=L.pointerType,Z=L.eventType,nA=L.eventTarget,sA=L.scope;if(!/down|start/i.test(Z))return null;for(var dA=0,BA=sA.interactions.list;dA<BA.length;dA++){var QA=BA[dA],yA=nA;if(QA.simulation&&QA.simulation.allowResume&&QA.pointerType===R)for(;yA;){if(yA===QA.element)return QA;yA=K(yA)}}return null},mouseOrPen:function(L){var R,Z=L.pointerId,nA=L.pointerType,sA=L.eventType,dA=L.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var BA=0,QA=dA.interactions.list;BA<QA.length;BA++){var yA=QA[BA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,Z))continue;if(yA.interacting())return yA;R||(R=yA)}}if(R)return R;for(var RA=0,DA=dA.interactions.list;RA<DA.length;RA++){var HA=DA[RA];if(!(HA.pointerType!==nA||/down/i.test(sA)&&HA.simulation))return HA}return null},hasPointer:function(L){for(var R=L.pointerId,Z=0,nA=L.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(Ns(sA,R))return sA}return null},idle:function(L){for(var R=L.pointerType,Z=0,nA=L.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(sA.pointers.length===1){var dA=sA.interactable;if(dA&&(!dA.options.gesture||!dA.options.gesture.enabled))continue}else if(sA.pointers.length>=2)continue;if(!sA.interacting()&&R===sA.pointerType)return sA}return null}};function Ns(L,R){return L.pointers.some(function(Z){return Z.id===R})}var hg=Wr,jr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(L,R){return function(Z){var nA=R.interactions.list,sA=MA(Z),dA=qA(Z),BA=dA[0],QA=dA[1],yA=[];if(/^touch/.test(Z.type)){R.prevTouchTime=R.now();for(var RA=0,DA=Z.changedTouches;RA<DA.length;RA++){var HA=DA[RA],VA={pointer:HA,pointerId:zA(HA),pointerType:sA,eventType:Z.type,eventTarget:BA,curEventTarget:QA,scope:R},ge=Rs(VA);yA.push([VA.pointer,VA.eventTarget,VA.curEventTarget,ge])}}else{var le=!1;if(!Q.supportsPointerEvent&&/mouse/.test(Z.type)){for(var he=0;he<nA.length&&!le;he++)le=nA[he].pointerType!=="mouse"&&nA[he].pointerIsDown;le=le||R.now()-R.prevTouchTime<500||Z.timeStamp===0}if(!le){var ve={pointer:Z,pointerId:zA(Z),pointerType:sA,eventType:Z.type,curEventTarget:QA,eventTarget:BA,scope:R},Qe=Rs(ve);yA.push([ve.pointer,ve.eventTarget,ve.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var OA=yA[kA],KA=OA[0],ee=OA[1],Be=OA[2];OA[3][L](KA,Z,ee,Be)}}}function Rs(L){var R=L.pointerType,Z=L.scope,nA={interaction:hg.search(L),searchDetails:L};return Z.fire("interactions:find",nA),nA.interaction||Z.interactions.new({pointerType:R})}function Vo(L,R){var Z=L.doc,nA=L.scope,sA=L.options,dA=nA.interactions.docEvents,BA=nA.events,QA=BA[R];for(var yA in nA.browser.isIOS&&!sA.events&&(sA.events={passive:!1}),BA.delegatedEvents)QA(Z,yA,BA.delegateListener),QA(Z,yA,BA.delegateUseCapture,!0);for(var RA=sA&&sA.events,DA=0;DA<dA.length;DA++){var HA=dA[DA];QA(Z,HA.type,HA.listener,RA)}}var pg={id:"core/interactions",install:function(L){for(var R={},Z=0;Z<jr.length;Z++){var nA=jr[Z];R[nA]=Fs(nA,L)}var sA,dA=Q.pEventTypes;function BA(){for(var QA=0,yA=L.interactions.list;QA<yA.length;QA++){var RA=yA[QA];if(RA.pointerIsDown&&RA.pointerType==="touch"&&!RA._interacting)for(var DA=function(){var ge=VA[HA];L.documents.some(function(le){return M(le.doc,ge.downTarget)})||RA.removePointer(ge.pointer,ge.event)},HA=0,VA=RA.pointers;HA<VA.length;HA++)DA()}}(sA=r.PointerEvent?[{type:dA.down,listener:BA},{type:dA.down,listener:R.pointerDown},{type:dA.move,listener:R.pointerMove},{type:dA.up,listener:R.pointerUp},{type:dA.cancel,listener:R.pointerUp}]:[{type:"mousedown",listener:R.pointerDown},{type:"mousemove",listener:R.pointerMove},{type:"mouseup",listener:R.pointerUp},{type:"touchstart",listener:BA},{type:"touchstart",listener:R.pointerDown},{type:"touchmove",listener:R.pointerMove},{type:"touchend",listener:R.pointerUp},{type:"touchcancel",listener:R.pointerUp}]).push({type:"blur",listener:function(QA){for(var yA=0,RA=L.interactions.list;yA<RA.length;yA++)RA[yA].documentBlur(QA)}}),L.prevTouchTime=0,L.Interaction=function(QA){I(RA,QA);var yA=O(RA);function RA(){return f(this,RA),yA.apply(this,arguments)}return b(RA,[{key:"pointerMoveTolerance",get:function(){return L.interactions.pointerMoveTolerance},set:function(DA){L.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return L.now()}}]),RA}(_s),L.interactions={list:[],new:function(QA){QA.scopeFire=function(RA,DA){return L.fire(RA,DA)};var yA=new L.Interaction(QA);return L.interactions.list.push(yA),yA},listeners:R,docEvents:sA,pointerMoveTolerance:1},L.usePlugin(ri)},listeners:{"scope:add-document":function(L){return Vo(L,"add")},"scope:remove-document":function(L){return Vo(L,"remove")},"interactable:unset":function(L,R){for(var Z=L.interactable,nA=R.interactions.list.length-1;nA>=0;nA--){var sA=R.interactions.list[nA];sA.interactable===Z&&(sA.stop(),R.fire("interactions:destroy",{interaction:sA}),sA.destroy(),R.interactions.list.length>2&&R.interactions.list.splice(nA,1))}}},onDocSignal:Vo,doOnInteractions:Fs,methodNames:jr},Rt=pg,Gn=function(L){return L[L.On=0]="On",L[L.Off=1]="Off",L}(Gn||{}),fi=function(){function L(R,Z,nA,sA){f(this,L),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ss,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=Z.actions,this.target=R,this._context=Z.context||nA,this._win=_(G(R)?this._context:R),this._doc=this._win.document,this._scopeEvents=sA,this.set(Z)}return b(L,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(R,Z){return u.func(Z.onstart)&&this.on("".concat(R,"start"),Z.onstart),u.func(Z.onmove)&&this.on("".concat(R,"move"),Z.onmove),u.func(Z.onend)&&this.on("".concat(R,"end"),Z.onend),u.func(Z.oninertiastart)&&this.on("".concat(R,"inertiastart"),Z.oninertiastart),this}},{key:"updatePerActionListeners",value:function(R,Z,nA){var sA,dA=this,BA=(sA=this._actions.map[R])==null?void 0:sA.filterEventType,QA=function(yA){return(BA==null||BA(yA))&&yn(yA,dA._actions)};(u.array(Z)||u.object(Z))&&this._onOff(Gn.Off,R,Z,void 0,QA),(u.array(nA)||u.object(nA))&&this._onOff(Gn.On,R,nA,void 0,QA)}},{key:"setPerAction",value:function(R,Z){var nA=this._defaults;for(var sA in Z){var dA=sA,BA=this.options[R],QA=Z[dA];dA==="listeners"&&this.updatePerActionListeners(R,BA.listeners,QA),u.array(QA)?BA[dA]=xe(QA):u.plainObject(QA)?(BA[dA]=q(BA[dA]||{},Ki(QA)),u.object(nA.perAction[dA])&&"enabled"in nA.perAction[dA]&&(BA[dA].enabled=QA.enabled!==!1)):u.bool(QA)&&u.object(nA.perAction[dA])?BA[dA].enabled=QA:BA[dA]=QA}}},{key:"getRect",value:function(R){return R=R||(u.element(this.target)?this.target:null),u.string(this.target)&&(R=R||this._context.querySelector(this.target)),y(R)}},{key:"rectChecker",value:function(R){var Z=this;return u.func(R)?(this.getRect=function(nA){var sA=q({},R.apply(Z,nA));return"width"in sA||(sA.width=sA.right-sA.left,sA.height=sA.bottom-sA.top),sA},this):R===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(R,Z){if(G(Z)||u.object(Z)){for(var nA in this.options[R]=Z,this._actions.map)this.options[nA][R]=Z;return this}return this.options[R]}},{key:"origin",value:function(R){return this._backCompatOption("origin",R)}},{key:"deltaSource",value:function(R){return R==="page"||R==="client"?(this.options.deltaSource=R,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var R=this.target;return u.string(R)?Array.from(this._context.querySelectorAll(R)):u.func(R)&&R.getAllElements?R.getAllElements():u.element(R)?[R]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(R){return this._context===R.ownerDocument||M(this._context,R)}},{key:"testIgnoreAllow",value:function(R,Z,nA){return!this.testIgnore(R.ignoreFrom,Z,nA)&&this.testAllow(R.allowFrom,Z,nA)}},{key:"testAllow",value:function(R,Z,nA){return!R||!!u.element(nA)&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"testIgnore",value:function(R,Z,nA){return!(!R||!u.element(nA))&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"fire",value:function(R){return this.events.fire(R),this}},{key:"_onOff",value:function(R,Z,nA,sA,dA){u.object(Z)&&!u.array(Z)&&(sA=nA,nA=null);var BA=X(Z,nA,dA);for(var QA in BA){QA==="wheel"&&(QA=Q.wheelEvent);for(var yA=0,RA=BA[QA];yA<RA.length;yA++){var DA=RA[yA];yn(QA,this._actions)?this.events[R===Gn.On?"on":"off"](QA,DA):u.string(this.target)?this._scopeEvents[R===Gn.On?"addDelegate":"removeDelegate"](this.target,this._context,QA,DA,sA):this._scopeEvents[R===Gn.On?"add":"remove"](this.target,QA,DA,sA)}}return this}},{key:"on",value:function(R,Z,nA){return this._onOff(Gn.On,R,Z,nA)}},{key:"off",value:function(R,Z,nA){return this._onOff(Gn.Off,R,Z,nA)}},{key:"set",value:function(R){var Z=this._defaults;for(var nA in u.object(R)||(R={}),this.options=Ki(Z.base),this._actions.methodDict){var sA=nA,dA=this._actions.methodDict[sA];this.options[sA]={},this.setPerAction(sA,q(q({},Z.perAction),Z.actions[sA])),this[dA](R[sA])}for(var BA in R)BA!=="getRect"?u.func(this[BA])&&this[BA](R[BA]):this.rectChecker(R.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var R in this._scopeEvents.delegatedEvents)for(var Z=this._scopeEvents.delegatedEvents[R],nA=Z.length-1;nA>=0;nA--){var sA=Z[nA],dA=sA.selector,BA=sA.context,QA=sA.listeners;dA===this.target&&BA===this._context&&Z.splice(nA,1);for(var yA=QA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,R,QA[yA][0],QA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),L}(),Ls=function(){function L(R){var Z=this;f(this,L),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=R,R.addListeners({"interactable:unset":function(nA){var sA=nA.interactable,dA=sA.target,BA=u.string(dA)?Z.selectorMap[dA]:dA[Z.scope.id],QA=NA(BA,function(yA){return yA===sA});BA.splice(QA,1)}})}return b(L,[{key:"new",value:function(R,Z){Z=q(Z||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(R,Z,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(R)?(this.selectorMap[R]||(this.selectorMap[R]=[]),this.selectorMap[R].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(R,this.scope.id,{value:[],configurable:!0}),R[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:R,options:Z,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(R,Z){var nA=Z&&Z.context||this.scope.document,sA=u.string(R),dA=sA?this.selectorMap[R]:R[this.scope.id];if(dA)return UA(dA,function(BA){return BA._context===nA&&(sA||BA.inContext(R))})}},{key:"forEachMatch",value:function(R,Z){for(var nA=0,sA=this.list;nA<sA.length;nA++){var dA=sA[nA],BA=void 0;if((u.string(dA.target)?u.element(R)&&z(R,dA.target):R===dA.target)&&dA.inContext(R)&&(BA=Z(dA)),BA!==void 0)return BA}}}]),L}(),qr=function(){function L(){var R=this;f(this,L),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=Q,this.defaults=Ki(jo),this.Eventable=Ss,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var sA=function dA(BA,QA){var yA=nA.interactables.getExisting(BA,QA);return yA||((yA=nA.interactables.new(BA,QA)).events.global=dA.globalEvents),yA};return sA.getPointerAverage=vA,sA.getTouchBBox=$A,sA.getTouchDistance=XA,sA.getTouchAngle=SA,sA.getElementRect=y,sA.getElementClientRect=J,sA.matchesSelector=z,sA.closest=x,sA.globalEvents={},sA.version="1.10.27",sA.scope=nA,sA.use=function(dA,BA){return this.scope.usePlugin(dA,BA),this},sA.isSet=function(dA,BA){return!!this.scope.interactables.get(dA,BA&&BA.context)},sA.on=At(function(dA,BA,QA){if(u.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),u.array(dA)){for(var yA=0,RA=dA;yA<RA.length;yA++){var DA=RA[yA];this.on(DA,BA,QA)}return this}if(u.object(dA)){for(var HA in dA)this.on(HA,dA[HA],BA);return this}return yn(dA,this.scope.actions)?this.globalEvents[dA]?this.globalEvents[dA].push(BA):this.globalEvents[dA]=[BA]:this.scope.events.add(this.scope.document,dA,BA,{options:QA}),this},"The interact.on() method is being deprecated"),sA.off=At(function(dA,BA,QA){if(u.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),u.array(dA)){for(var yA=0,RA=dA;yA<RA.length;yA++){var DA=RA[yA];this.off(DA,BA,QA)}return this}if(u.object(dA)){for(var HA in dA)this.off(HA,dA[HA],BA);return this}var VA;return yn(dA,this.scope.actions)?dA in this.globalEvents&&(VA=this.globalEvents[dA].indexOf(BA))!==-1&&this.globalEvents[dA].splice(VA,1):this.scope.events.remove(this.scope.document,dA,BA,QA),this},"The interact.off() method is being deprecated"),sA.debug=function(){return this.scope},sA.supportsTouch=function(){return Q.supportsTouch},sA.supportsPointerEvent=function(){return Q.supportsPointerEvent},sA.stop=function(){for(var dA=0,BA=this.scope.interactions.list;dA<BA.length;dA++)BA[dA].stop();return this},sA.pointerMoveTolerance=function(dA){return u.number(dA)?(this.scope.interactions.pointerMoveTolerance=dA,this):this.scope.interactions.pointerMoveTolerance},sA.addDocument=function(dA,BA){this.scope.addDocument(dA,BA)},sA.removeDocument=function(dA){this.scope.removeDocument(dA)},sA}(this),this.InteractEvent=ai,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return R.removeDocument(nA.target)};var Z=this;this.Interactable=function(nA){I(dA,nA);var sA=O(dA);function dA(){return f(this,dA),sA.apply(this,arguments)}return b(dA,[{key:"_defaults",get:function(){return Z.defaults}},{key:"set",value:function(BA){return H(S(dA.prototype),"set",this).call(this,BA),Z.fire("interactable:set",{options:BA,interactable:this}),this}},{key:"unset",value:function(){H(S(dA.prototype),"unset",this).call(this);var BA=Z.interactables.list.indexOf(this);BA<0||(Z.interactables.list.splice(BA,1),Z.fire("interactable:unset",{interactable:this}))}}]),dA}(fi)}return b(L,[{key:"addListeners",value:function(R,Z){this.listenerMaps.push({id:Z,map:R})}},{key:"fire",value:function(R,Z){for(var nA=0,sA=this.listenerMaps;nA<sA.length;nA++){var dA=sA[nA].map[R];if(dA&&dA(Z,this,R)===!1)return!1}}},{key:"init",value:function(R){return this.isInitialized?this:function(Z,nA){return Z.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),Q.init(nA),Ie.init(nA),Z.window=nA,Z.document=nA.document,Z.usePlugin(Rt),Z.usePlugin(gt),Z}(this,R)}},{key:"pluginIsInstalled",value:function(R){var Z=R.id;return Z?!!this._plugins.map[Z]:this._plugins.list.indexOf(R)!==-1}},{key:"usePlugin",value:function(R,Z){if(!this.isInitialized)return this;if(this.pluginIsInstalled(R))return this;if(R.id&&(this._plugins.map[R.id]=R),this._plugins.list.push(R),R.install&&R.install(this,Z),R.listeners&&R.before){for(var nA=0,sA=this.listenerMaps.length,dA=R.before.reduce(function(QA,yA){return QA[yA]=!0,QA[tn(yA)]=!0,QA},{});nA<sA;nA++){var BA=this.listenerMaps[nA].id;if(BA&&(dA[BA]||dA[tn(BA)]))break}this.listenerMaps.splice(nA,0,{id:R.id,map:R.listeners})}else R.listeners&&this.listenerMaps.push({id:R.id,map:R.listeners});return this}},{key:"addDocument",value:function(R,Z){if(this.getDocIndex(R)!==-1)return!1;var nA=_(R);Z=Z?q({},Z):{},this.documents.push({doc:R,options:Z}),this.events.documents.push(R),R!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:R,window:nA,scope:this,options:Z})}},{key:"removeDocument",value:function(R){var Z=this.getDocIndex(R),nA=_(R),sA=this.documents[Z].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(Z,1),this.events.documents.splice(Z,1),this.fire("scope:remove-document",{doc:R,window:nA,scope:this,options:sA})}},{key:"getDocIndex",value:function(R){for(var Z=0;Z<this.documents.length;Z++)if(this.documents[Z].doc===R)return Z;return-1}},{key:"getDocOptions",value:function(R){var Z=this.getDocIndex(R);return Z===-1?null:this.documents[Z].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),L}();function tn(L){return L&&L.replace(/\/.*$/,"")}var Xr=new qr,Pt=Xr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;Xr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(L){var R=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var sA=nA[0],dA=nA[1];return sA in L||dA in L}),Z=function(nA,sA){for(var dA=L.range,BA=L.limits,QA=BA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:BA,yA=L.offset,RA=yA===void 0?{x:0,y:0}:yA,DA={range:dA,grid:L,x:null,y:null},HA=0;HA<R.length;HA++){var VA=R[HA],ge=VA[0],le=VA[1],he=Math.round((nA-RA.x)/L[ge]),ve=Math.round((sA-RA.y)/L[le]);DA[ge]=Math.max(QA.left,Math.min(QA.right,he*L[ge]+RA.x)),DA[le]=Math.max(QA.top,Math.min(QA.bottom,ve*L[le]+RA.y))}return DA};return Z.grid=L,Z.coordFields=R,Z}}),Hs={id:"snappers",install:function(L){var R=L.interactStatic;R.snappers=q(R.snappers||{},Ps),R.createSnapGrid=R.snappers.grid}},Ks=Hs,nn={start:function(L){var R=L.state,Z=L.rect,nA=L.edges,sA=L.pageCoords,dA=R.options,BA=dA.ratio,QA=dA.enabled,yA=R.options,RA=yA.equalDelta,DA=yA.modifiers;BA==="preserve"&&(BA=Z.width/Z.height),R.startCoords=q({},sA),R.startRect=q({},Z),R.ratio=BA,R.equalDelta=RA;var HA=R.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(R.xIsPrimaryAxis=!(!nA.left&&!nA.right),R.equalDelta){var VA=(HA.left?1:-1)*(HA.top?1:-1);R.edgeSign={x:VA,y:VA}}else R.edgeSign={x:HA.left?-1:1,y:HA.top?-1:1};if(QA!==!1&&q(nA,HA),DA!=null&&DA.length){var ge=new Zo(L.interaction);ge.copyFrom(L.interaction.modification),ge.prepareStates(DA),R.subModification=ge,ge.startAll(i({},L))}},set:function(L){var R=L.state,Z=L.rect,nA=L.coords,sA=R.linkedEdges,dA=q({},nA),BA=R.equalDelta?Cg:un;if(q(L.edges,sA),BA(R,R.xIsPrimaryAxis,nA,Z),!R.subModification)return null;var QA=q({},Z);gA(sA,QA,{x:nA.x-dA.x,y:nA.y-dA.y});var yA=R.subModification.setAll(i(i({},L),{},{rect:QA,edges:sA,pageCoords:nA,prevCoords:nA,prevRect:QA})),RA=yA.delta;return yA.changed&&(BA(R,Math.abs(RA.x)>Math.abs(RA.y),yA.coords,yA.rect),q(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(L,R,Z){var nA=L.startCoords,sA=L.edgeSign;R?Z.y=nA.y+(Z.x-nA.x)*sA.y:Z.x=nA.x+(Z.y-nA.y)*sA.x}function un(L,R,Z,nA){var sA=L.startRect,dA=L.startCoords,BA=L.ratio,QA=L.edgeSign;if(R){var yA=nA.width/BA;Z.y=dA.y+(yA-sA.height)*QA.y}else{var RA=nA.height*BA;Z.x=dA.x+(RA-sA.width)*QA.x}}var Bg=Ln(nn,"aspectRatio"),Vr=function(){};Vr._defaults={};var Dn=Vr;function Pn(L,R,Z){return u.func(L)?iA(L,R.interactable,R.element,[Z.x,Z.y,R]):iA(L,R.interactable,R.element)}var Ti={start:function(L){var R=L.rect,Z=L.startOffset,nA=L.state,sA=L.interaction,dA=L.pageCoords,BA=nA.options,QA=BA.elementRect,yA=q({left:0,top:0,right:0,bottom:0},BA.offset||{});if(R&&QA){var RA=Pn(BA.restriction,sA,dA);if(RA){var DA=RA.right-RA.left-R.width,HA=RA.bottom-RA.top-R.height;DA<0&&(yA.left+=DA,yA.right+=DA),HA<0&&(yA.top+=HA,yA.bottom+=HA)}yA.left+=Z.left-R.width*QA.left,yA.top+=Z.top-R.height*QA.top,yA.right+=Z.right-R.width*(1-QA.right),yA.bottom+=Z.bottom-R.height*(1-QA.bottom)}nA.offset=yA},set:function(L){var R=L.coords,Z=L.interaction,nA=L.state,sA=nA.options,dA=nA.offset,BA=Pn(sA.restriction,Z,R);if(BA){var QA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=q({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(BA);R.x=Math.max(Math.min(QA.right-dA.right,R.x),QA.left+dA.left),R.y=Math.max(Math.min(QA.bottom-dA.bottom,R.y),QA.top+dA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},pt=Ln(Ti,"restrict"),Jn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ar={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(L,R){for(var Z=0,nA=["top","left","bottom","right"];Z<nA.length;Z++){var sA=nA[Z];sA in L||(L[sA]=R[sA])}return L}var Ii={noInner:Jn,noOuter:Ar,start:function(L){var R,Z=L.interaction,nA=L.startOffset,sA=L.state,dA=sA.options;dA&&(R=uA(Pn(dA.offset,Z,Z.coords.start.page))),R=R||{x:0,y:0},sA.offset={top:R.y+nA.top,left:R.x+nA.left,bottom:R.y-nA.bottom,right:R.x-nA.right}},set:function(L){var R=L.coords,Z=L.edges,nA=L.interaction,sA=L.state,dA=sA.offset,BA=sA.options;if(Z){var QA=q({},R),yA=Pn(BA.inner,nA,QA)||{},RA=Pn(BA.outer,nA,QA)||{};Ts(yA,Jn),Ts(RA,Ar),Z.top?R.y=Math.min(Math.max(RA.top+dA.top,QA.y),yA.top+dA.top):Z.bottom&&(R.y=Math.max(Math.min(RA.bottom+dA.bottom,QA.y),yA.bottom+dA.bottom)),Z.left?R.x=Math.min(Math.max(RA.left+dA.left,QA.x),yA.left+dA.left):Z.right&&(R.x=Math.max(Math.min(RA.right+dA.right,QA.x),yA.right+dA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Ln(Ii,"restrictEdges"),Eg=q({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(L){}},Ti.defaults),Qg=Ln({start:Ti.start,set:Ti.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},er={width:1/0,height:1/0},Ui=Ln({start:function(L){return Ii.start(L)},set:function(L){var R=L.interaction,Z=L.state,nA=L.rect,sA=L.edges,dA=Z.options;if(sA){var BA=mA(Pn(dA.min,R,L.coords))||Us,QA=mA(Pn(dA.max,R,L.coords))||er;Z.options={endOnly:dA.endOnly,inner:q({},Ii.noInner),outer:q({},Ii.noOuter)},sA.top?(Z.options.inner.top=nA.bottom-BA.height,Z.options.outer.top=nA.bottom-QA.height):sA.bottom&&(Z.options.inner.bottom=nA.top+BA.height,Z.options.outer.bottom=nA.top+QA.height),sA.left?(Z.options.inner.left=nA.right-BA.width,Z.options.outer.left=nA.right-QA.width):sA.right&&(Z.options.inner.right=nA.left+BA.width,Z.options.outer.right=nA.left+QA.width),Ii.set(L),Z.options=dA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Aa={start:function(L){var R,Z=L.interaction,nA=L.interactable,sA=L.element,dA=L.rect,BA=L.state,QA=L.startOffset,yA=BA.options,RA=yA.offsetWithOrigin?function(VA){var ge=VA.interaction.element,le=uA(iA(VA.state.options.origin,null,null,[ge])),he=le||wA(VA.interactable,ge,VA.interaction.prepared.name);return he}(L):{x:0,y:0};if(yA.offset==="startCoords")R={x:Z.coords.start.page.x,y:Z.coords.start.page.y};else{var DA=iA(yA.offset,nA,sA,[Z]);(R=uA(DA)||{x:0,y:0}).x+=RA.x,R.y+=RA.y}var HA=yA.relativePoints;BA.offsets=dA&&HA&&HA.length?HA.map(function(VA,ge){return{index:ge,relativePoint:VA,x:QA.left-dA.width*VA.x+R.x,y:QA.top-dA.height*VA.y+R.y}}):[{index:0,relativePoint:null,x:R.x,y:R.y}]},set:function(L){var R=L.interaction,Z=L.coords,nA=L.state,sA=nA.options,dA=nA.offsets,BA=wA(R.interactable,R.element,R.prepared.name),QA=q({},Z),yA=[];sA.offsetWithOrigin||(QA.x-=BA.x,QA.y-=BA.y);for(var RA=0,DA=dA;RA<DA.length;RA++)for(var HA=DA[RA],VA=QA.x-HA.x,ge=QA.y-HA.y,le=0,he=sA.targets.length;le<he;le++){var ve=sA.targets[le],Qe=void 0;(Qe=u.func(ve)?ve(VA,ge,R._proxy,HA,le):ve)&&yA.push({x:(u.number(Qe.x)?Qe.x:VA)+HA.x,y:(u.number(Qe.y)?Qe.y:ge)+HA.y,range:u.number(Qe.range)?Qe.range:sA.range,source:ve,index:le,offset:HA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},OA=0;OA<yA.length;OA++){var KA=yA[OA],ee=KA.range,Be=KA.x-QA.x,He=KA.y-QA.y,Ke=cA(Be,He),Oe=Ke<=ee;ee===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&ee!==1/0?Ke/ee<kA.distance/kA.range:ee===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=KA,kA.distance=Ke,kA.range=ee,kA.inRange=Oe,kA.delta.x=Be,kA.delta.y=He)}return kA.inRange&&(Z.x=kA.target.x,Z.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Ln(Aa,"snap"),Co={start:function(L){var R=L.state,Z=L.edges,nA=R.options;if(!Z)return null;L.state={options:{targets:null,relativePoints:[{x:Z.left?0:1,y:Z.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},R.targetFields=R.targetFields||[["width","height"],["x","y"]],Aa.start(L),R.offsets=L.state.offsets,L.state=R},set:function(L){var R=L.interaction,Z=L.state,nA=L.coords,sA=Z.options,dA=Z.offsets,BA={x:nA.x-dA[0].x,y:nA.y-dA[0].y};Z.options=q({},sA),Z.options.targets=[];for(var QA=0,yA=sA.targets||[];QA<yA.length;QA++){var RA=yA[QA],DA=void 0;if(DA=u.func(RA)?RA(BA.x,BA.y,R):RA){for(var HA=0,VA=Z.targetFields;HA<VA.length;HA++){var ge=VA[HA],le=ge[0],he=ge[1];if(le in DA||he in DA){DA.x=DA[le],DA.y=DA[he];break}}Z.options.targets.push(DA)}}var ve=Aa.set(L);return Z.options=sA,ve},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},ea=Ln(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:pt,restrictRect:Qg,restrictSize:Ui,snapEdges:Ln({start:function(L){var R=L.edges;return R?(L.state.targetFields=L.state.targetFields||[[R.left?"left":"right",R.top?"top":"bottom"]],Co.start(L)):null},set:Co.set,defaults:q(Ki(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:ea,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Os={id:"modifiers",install:function(L){var R=L.interactStatic;for(var Z in L.usePlugin(Wo),L.usePlugin(Ks),R.modifiers=Bo,Bo){var nA=Bo[Z],sA=nA._defaults,dA=nA._methods;sA._methods=dA,L.defaults.perAction[Z]=sA}}},fg=Os,tr=function(L){I(Z,L);var R=O(Z);function Z(nA,sA,dA,BA,QA,yA){var RA;if(f(this,Z),U(T(RA=R.call(this,QA)),dA),dA!==sA&&U(T(RA),sA),RA.timeStamp=yA,RA.originalEvent=dA,RA.type=nA,RA.pointerId=zA(sA),RA.pointerType=MA(sA),RA.target=BA,RA.currentTarget=null,nA==="tap"){var DA=QA.getPointerIndex(sA);RA.dt=RA.timeStamp-QA.pointers[DA].downTime;var HA=RA.timeStamp-QA.tapTime;RA.double=!!QA.prevTap&&QA.prevTap.type!=="doubletap"&&QA.prevTap.target===RA.target&&HA<500}else nA==="doubletap"&&(RA.dt=sA.timeStamp-QA.tapTime,RA.double=!0);return RA}return b(Z,[{key:"_subtractOrigin",value:function(nA){var sA=nA.x,dA=nA.y;return this.pageX-=sA,this.pageY-=dA,this.clientX-=sA,this.clientY-=dA,this}},{key:"_addOrigin",value:function(nA){var sA=nA.x,dA=nA.y;return this.pageX+=sA,this.pageY+=dA,this.clientX+=sA,this.clientY+=dA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),Z}(Ce),wi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(L){L.pointerEvents=wi,L.defaults.actions.pointerEvents=wi.defaults,q(L.actions.phaselessTypes,wi.types)},listeners:{"interactions:new":function(L){var R=L.interaction;R.prevTap=null,R.tapTime=0},"interactions:update-pointer":function(L){var R=L.down,Z=L.pointerInfo;!R&&Z.hold||(Z.hold={duration:1/0,timeout:null})},"interactions:move":function(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget;L.duplicate||Z.pointerIsDown&&!Z.pointerWasMoved||(Z.pointerIsDown&&Tt(L),si({interaction:Z,pointer:nA,event:sA,eventTarget:dA,type:"move"},R))},"interactions:down":function(L,R){(function(Z,nA){for(var sA=Z.interaction,dA=Z.pointer,BA=Z.event,QA=Z.eventTarget,yA=Z.pointerIndex,RA=sA.pointers[yA].hold,DA=j(QA),HA={interaction:sA,pointer:dA,event:BA,eventTarget:QA,type:"hold",targets:[],path:DA,node:null},VA=0;VA<DA.length;VA++){var ge=DA[VA];HA.node=ge,nA.fire("pointerEvents:collect-targets",HA)}if(HA.targets.length){for(var le=1/0,he=0,ve=HA.targets;he<ve.length;he++){var Qe=ve[he].eventable.options.holdDuration;Qe<le&&(le=Qe)}RA.duration=le,RA.timeout=setTimeout(function(){si({interaction:sA,eventTarget:QA,pointer:dA,event:BA,type:"hold"},nA)},le)}})(L,R),si(L,R)},"interactions:up":function(L,R){Tt(L),si(L,R),function(Z,nA){var sA=Z.interaction,dA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerWasMoved||si({interaction:sA,eventTarget:QA,pointer:dA,event:BA,type:"tap"},nA)}(L,R)},"interactions:cancel":function(L,R){Tt(L),si(L,R)}},PointerEvent:tr,fire:si,collectEventTargets:ta,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 si(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget,BA=L.type,QA=L.targets,yA=QA===void 0?ta(L,R):QA,RA=new tr(BA,nA,sA,dA,Z,R.now());R.fire("pointerEvents:new",{pointerEvent:RA});for(var DA={interaction:Z,pointer:nA,event:sA,eventTarget:dA,targets:yA,type:BA,pointerEvent:RA},HA=0;HA<yA.length;HA++){var VA=yA[HA];for(var ge in VA.props||{})RA[ge]=VA.props[ge];var le=wA(VA.eventable,VA.node);if(RA._subtractOrigin(le),RA.eventable=VA.eventable,RA.currentTarget=VA.node,VA.eventable.fire(RA),RA._addOrigin(le),RA.immediatePropagationStopped||RA.propagationStopped&&HA+1<yA.length&&yA[HA+1].node!==RA.currentTarget)break}if(R.fire("pointerEvents:fired",DA),BA==="tap"){var he=RA.double?si({interaction:Z,pointer:nA,event:sA,eventTarget:dA,type:"doubletap"},R):RA;Z.prevTap=he,Z.tapTime=he.timeStamp}return RA}function ta(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget,BA=L.type,QA=Z.getPointerIndex(nA),yA=Z.pointers[QA];if(BA==="tap"&&(Z.pointerWasMoved||!yA||yA.downTarget!==dA))return[];for(var RA=j(dA),DA={interaction:Z,pointer:nA,event:sA,eventTarget:dA,type:BA,path:RA,targets:[],node:null},HA=0;HA<RA.length;HA++){var VA=RA[HA];DA.node=VA,R.fire("pointerEvents:collect-targets",DA)}return BA==="hold"&&(DA.targets=DA.targets.filter(function(ge){var le,he;return ge.eventable.options.holdDuration===((le=Z.pointers[QA])==null||(he=le.hold)==null?void 0:he.duration)})),DA.targets}function Tt(L){var R=L.interaction,Z=L.pointerIndex,nA=R.pointers[Z].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var na=Object.freeze({__proto__:null,default:wi});function mo(L){var R=L.interaction;R.holdIntervalHandle&&(clearInterval(R.holdIntervalHandle),R.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(L){L.usePlugin(wi);var R=L.pointerEvents;R.defaults.holdRepeatInterval=0,R.types.holdrepeat=L.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(L,R){return L["pointerEvents:".concat(R)]=mo,L},{"pointerEvents:new":function(L){var R=L.pointerEvent;R.type==="hold"&&(R.count=(R.count||0)+1)},"pointerEvents:fired":function(L,R){var Z=L.interaction,nA=L.pointerEvent,sA=L.eventTarget,dA=L.targets;if(nA.type==="hold"&&dA.length){var BA=dA[0].eventable.options.holdRepeatInterval;BA<=0||(Z.holdIntervalHandle=setTimeout(function(){R.pointerEvents.fire({interaction:Z,eventTarget:sA,type:"hold",pointer:nA,event:nA},R)},BA))}}})},zs=$s,Ig={id:"pointer-events/interactableTargets",install:function(L){var R=L.Interactable;R.prototype.pointerEvents=function(nA){return q(this.events.options,nA),this};var Z=R.prototype._backCompatOption;R.prototype._backCompatOption=function(nA,sA){var dA=Z.call(this,nA,sA);return dA===this&&(this.events.options[nA]=sA),dA}},listeners:{"pointerEvents:collect-targets":function(L,R){var Z=L.targets,nA=L.node,sA=L.type,dA=L.eventTarget;R.interactables.forEachMatch(nA,function(BA){var QA=BA.events,yA=QA.options;QA.types[sA]&&QA.types[sA].length&&BA.testIgnoreAllow(yA,nA,dA)&&Z.push({node:nA,eventable:QA,props:{interactable:BA}})})},"interactable:new":function(L){var R=L.interactable;R.events.getRect=function(Z){return R.getRect(Z)}},"interactable:set":function(L,R){var Z=L.interactable,nA=L.options;q(Z.events.options,R.pointerEvents.defaults),q(Z.events.options,nA.pointerEvents||{})}}},wg=Ig,bg={id:"pointer-events",install:function(L){L.usePlugin(na),L.usePlugin(zs),L.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(L){var R=L.Interactable;L.actions.phases.reflow=!0,R.prototype.reflow=function(Z){return function(nA,sA,dA){for(var BA=nA.getAllElements(),QA=dA.window.Promise,yA=QA?[]:null,RA=function(){var HA=BA[DA],VA=nA.getRect(HA);if(!VA)return 1;var ge,le=UA(dA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===HA&&Qe.prepared.name===sA.name});if(le)le.move(),yA&&(ge=le._reflowPromise||new QA(function(Qe){le._reflowResolve=Qe}));else{var he=mA(VA),ve=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:he.x,y:he.y},client:{x:he.x,y:he.y},timeStamp:dA.now()});ge=function(Qe,kA,OA,KA,ee){var Be=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Be,event:ee,pointer:ee,eventTarget:OA,phase:"reflow"};Be.interactable=kA,Be.element=OA,Be.prevEvent=ee,Be.updatePointer(ee,ee,OA,!0),tA(Be.coords.delta),dt(Be.prepared,KA),Be._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(Zn){Be._reflowResolve=Zn}):void 0;return Be._reflowPromise=on,Be.start(KA,kA,OA),Be._interacting?(Be.move(He),Be.end(ee)):(Be.stop(),Be._reflowResolve()),Be.removePointer(ee,ee),on}(dA,nA,HA,sA,ve)}yA&&yA.push(ge)},DA=0;DA<BA.length&&!RA();DA++);return yA&&QA.all(yA).then(function(){return nA})}(this,Z,L)}},listeners:{"interactions:stop":function(L,R){var Z=L.interaction;Z.pointerType==="reflow"&&(Z._reflowResolve&&Z._reflowResolve(),function(nA,sA){nA.splice(nA.indexOf(sA),1)}(R.interactions.list,Z))}}},Yi=Dg;if(Pt.use(ri),Pt.use(Zr),Pt.use(yg),Pt.use(dg),Pt.use(fg),Pt.use(oi),Pt.use(WA),Pt.use(ze),Pt.use(Yi),Pt.default=Pt,d(n)==="object"&&n)try{n.exports=Pt}catch{}return Pt.default=Pt,Pt})}(Bs,Bs.exports);var p1=Bs.exports;const Jp=Id(p1),Vc=A.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:e,emit:t}){const i=n,d=t,f=A.inject(Fp),o=A.inject(Rp);if(!f)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),D=A.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 I=!1,S=!1,N=NaN,T=NaN,O=NaN,H=NaN,P=-1,v=-1,m=-1,F=-1,k=i.x,_=i.y,B=i.w,p=i.h;const u=A.ref(),l=A.reactive({i:A.toRef(i,"i"),state:D,wrapper:u,calcXY:iA});function g(aA){X(aA)}function s(){lA()}function h(aA){In(i.isDraggable)&&(D.draggable=aA)}function C(aA){In(i.isResizable)&&(D.resizable=aA)}function a(aA){In(i.isBounded)&&(D.bounded=aA)}function r(aA){D.transformScale=aA}function E(aA){D.rowHeight=aA}function Q(aA){D.maxRows=aA}function M(){D.rtl=zp()==="rtl",lA()}function x(aA){D.cols=Math.floor(aA)}f.increaseItem(l),A.onBeforeMount(()=>{D.rtl=zp()==="rtl"}),A.onMounted(()=>{f.responsive&&f.lastBreakpoint?D.cols=Op(f.lastBreakpoint,f.cols):D.cols=f.colNum,D.rowHeight=f.rowHeight,D.containerWidth=f.width!==null?f.width:100,D.margin=f.margin!==void 0?f.margin.map(Number):[10,10],D.maxRows=f.maxRows,In(i.isDraggable)?D.draggable=f.isDraggable:D.draggable=i.isDraggable,In(i.isResizable)?D.resizable=f.isResizable:D.resizable=i.isResizable,In(i.isBounded)?D.bounded=f.isBounded:D.bounded=i.isBounded,D.transformScale=f.transformScale,D.useCssTransforms=f.useCssTransforms,D.useStyleCursor=f.useStyleCursor,A.watchEffect(()=>{k=i.x,_=i.y,p=i.h,B=i.w,jt(y)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",E),o.on("setMaxRows",Q),o.on("directionchange",M),o.on("setColNum",x)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",s),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",E),o.off("setMaxRows",Q),o.off("directionchange",M),o.off("setColNum",x),b.value&&(b.value.unset(),b.value=null),f.decreaseItem(l)}),e({state:D,wrapper:u});const K=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,z=A.computed(()=>D.resizable&&!i.static),AA=A.computed(()=>f.isMirrored?!D.rtl:D.rtl),eA=A.computed(()=>(D.draggable||D.resizable)&&!i.static),V=s1("item"),$=A.computed(()=>({[V.b()]:!0,[V.bm("resizable")]:z.value,[V.bm("static")]:i.static,[V.bm("resizing")]:D.isResizing,[V.bm("dragging")]:D.isDragging,[V.bm("transform")]:D.useCssTransforms,[V.bm("rtl")]:AA.value,[V.bm("no-touch")]:K&&eA.value})),J=A.computed(()=>[V.be("resizer"),AA.value&&V.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,aA=>{D.draggable=aA}),A.watch(()=>i.static,()=>{jt(U),jt(tA)}),A.watch(()=>D.draggable,()=>{jt(U)}),A.watch(()=>i.isResizable,aA=>{D.resizable=aA}),A.watch(()=>i.isBounded,aA=>{D.bounded=aA}),A.watch(()=>D.resizable,()=>{jt(tA)}),A.watch(()=>D.rowHeight,()=>{jt(y),jt(j)}),A.watch([()=>D.cols,()=>D.containerWidth],()=>{jt(tA),jt(y),jt(j)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),A.watch(AA,()=>{jt(tA),jt(y)}),A.watch([()=>f.margin,()=>f.margin[0],()=>f.margin[1]],()=>{const aA=f.margin;!aA||aA[0]===D.margin[0]&&aA[1]===D.margin[1]||(D.margin=aA.map(Number),jt(y),jt(j))});function y(){i.x+i.w>D.cols?(k=0,B=i.w>D.cols?D.cols:i.w):(k=i.x,B=i.w);const aA=rA(k,_,B,p);D.isDragging&&(aA.top=D.dragging.top,AA.value?aA.right=D.dragging.left:aA.left=D.dragging.left),D.isResizing&&(aA.width=D.resizing.width,aA.height=D.resizing.height);let CA;D.useCssTransforms?AA.value?CA=i1(aA.top,aA.right,aA.width,aA.height):CA=n1(aA.top,aA.left,aA.width,aA.height):AA.value?CA=r1(aA.top,aA.right,aA.width,aA.height):CA=o1(aA.top,aA.left,aA.width,aA.height),D.style=CA}function j(){const aA={};for(const CA of["width","height"]){const xA=D.style[CA].match(/^(\d+)px$/);if(!xA)return;aA[CA]=xA[1]}d("container-resized",i.i,i.h,i.w,aA.height,aA.width)}function G(aA){if(i.static)return;const CA=aA.type;if(CA==="resizestart"&&D.isResizing||CA!=="resizestart"&&!D.isResizing)return;const xA=Up(aA);if(In(xA))return;const{x:zA,y:jA}=xA,Ae={width:0,height:0};let vA;switch(CA){case"resizestart":{tA(),P=B,v=p,vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing=Ae,D.isResizing=!0;break}case"resizemove":{!aA.edges.right&&!aA.edges.left&&(O=zA),!aA.edges.top&&!aA.edges.bottom&&(H=jA);const $A=Yp(O,H,zA,jA);AA.value?Ae.width=D.resizing.width-$A.deltaX/D.transformScale:Ae.width=D.resizing.width+$A.deltaX/D.transformScale,Ae.height=D.resizing.height+$A.deltaY/D.transformScale,D.resizing=Ae;break}case"resizeend":{vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}vA=wA(Ae.height,Ae.width),vA.w<i.minW&&(vA.w=i.minW),vA.w>i.maxW&&(vA.w=i.maxW),vA.h<i.minH&&(vA.h=i.minH),vA.h>i.maxH&&(vA.h=i.maxH),vA.h<1&&(vA.h=1),vA.w<1&&(vA.w=1),O=zA,H=jA,(B!==vA.w||p!==vA.h)&&d("resize",i.i,vA.h,vA.w,Ae.height,Ae.width),aA.type==="resizeend"&&(P!==B||v!==p)&&d("resized",i.i,vA.h,vA.w,Ae.height,Ae.width),o.emit("resizeEvent",aA.type,i.i,k,_,vA.h,vA.w)}function q(aA){if(i.static||D.isResizing)return;const CA=aA.type;if(CA==="dragstart"&&D.isDragging||CA!=="dragstart"&&!D.isDragging)return;const xA=Up(aA);if(In(xA))return;const{x:zA,y:jA}=xA,Ae=aA.target;if(!Ae.offsetParent)return;const vA={top:0,left:0};switch(CA){case"dragstart":{m=k,F=_;const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=SA.right/D.transformScale,ye=XA.right/D.transformScale,xe=SA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,D.dragging=vA,D.isDragging=!0;break}case"dragmove":{const XA=Yp(N,T,zA,jA);if(AA.value?vA.left=D.dragging.left-XA.deltaX/D.transformScale:vA.left=D.dragging.left+XA.deltaX/D.transformScale,vA.top=D.dragging.top+XA.deltaY/D.transformScale,D.bounded){const SA=Ae.offsetParent.clientHeight-mA(i.h,D.rowHeight,D.margin[1]);vA.top=gA(vA.top,0,SA);const MA=uA(),qA=D.containerWidth-mA(i.w,MA,D.margin[0]);vA.left=gA(vA.left,0,qA)}D.dragging=vA;break}case"dragend":{const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=SA.right/D.transformScale,ye=XA.right/D.transformScale,xe=SA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let $A;AA.value,$A=iA(vA.top,vA.left),N=zA,T=jA,(k!==$A.x||_!==$A.y)&&d("move",i.i,$A.x,$A.y),aA.type==="dragend"&&(m!==k||F!==_)&&d("moved",i.i,$A.x,$A.y),o.emit("dragEvent",aA.type,i.i,$A.x,$A.y,p,B)}function rA(aA,CA,xA,zA){const jA=uA();let Ae;return AA.value?Ae={right:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])}:Ae={left:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])},Ae}function iA(aA,CA){const xA=uA();let zA=Math.round((CA-D.margin[0])/(xA+D.margin[0])),jA=Math.round((aA-D.margin[1])/(D.rowHeight+D.margin[1]));return zA=Math.max(Math.min(zA,D.cols-B),0),jA=Math.max(Math.min(jA,D.maxRows-p),0),{x:zA,y:jA}}function uA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function mA(aA,CA,xA){return Number.isFinite(aA)?Math.round(CA*aA+Math.max(0,aA-1)*xA):aA}function gA(aA,CA,xA){return Math.max(Math.min(aA,xA),CA)}function wA(aA,CA,xA=!1){const zA=uA();let jA=Math.round((CA+D.margin[0])/(zA+D.margin[0])),Ae=0;return xA?Ae=Math.ceil((aA+D.margin[1])/(D.rowHeight+D.margin[1])):Ae=Math.round((aA+D.margin[1])/(D.rowHeight+D.margin[1])),jA=Math.max(Math.min(jA,D.cols-k),0),Ae=Math.max(Math.min(Ae,D.maxRows-_),0),{w:jA,h:Ae}}function X(aA,CA){D.containerWidth=aA}function lA(){y()}function cA(){!b.value&&u.value&&(b.value=Jp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const hA=xp(q);function U(){if(cA(),!!b.value)if(D.draggable&&!i.static){const aA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(aA),I||(I=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?hA(CA):q(CA)}))}else b.value.draggable({enabled:!1})}const W=xp(G);function tA(){if(cA(),!!b.value)if(D.resizable&&!i.static){const aA=rA(0,0,i.maxW,i.maxH),CA=rA(0,0,i.minW,i.minH),xA={edges:{left:AA.value?`.${J.value[0]}`:!1,right:AA.value?!1:`.${J.value[0]}`,bottom:`.${J.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*D.transformScale,width:CA.width*D.transformScale},max:{height:aA.height*D.transformScale,width:aA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(xA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(xA),S||(S=!0,b.value.on("resizestart resizemove resizeend",zA=>{zA.type==="resizemove"?W(zA):G(zA)}))}else b.value.resizable({enabled:!1})}return(aA,CA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:u,class:A.normalizeClass($.value),style:A.normalizeStyle(D.style)},[A.renderSlot(aA.$slots,"default"),z.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(J.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ao=typeof window<"u";var Zp;ao&&(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 Tr(){}const C1=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(C1)));const B1=ao&&("ontouchstart"in window||E1()>0),m1=B1?"pointerdown":"click";function E1(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Q1(n,e,t=window.Event){const{type:i,bubbles:d=!1,cancelable:f=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:d,cancelable:f}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,d,f)),Object.assign(b,o),n.dispatchEvent(b)}const f1="clickoutside",I1=new Set;ao&&document.addEventListener(m1,n=>{const e=n.target,t=n.composedPath&&n.composedPath();I1.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&Q1(i,{type:f1})})},!0);const w1=[["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 Ur;if(ao){for(const n of w1)if(n[1]in document){Ur=n;break}}const b1=!!Ur;A.computed(()=>!1);const y1=new Set,D1=new WeakMap;if(ao&&Ur){const n=Ur[2],e=Ur[4];document.addEventListener(e,()=>{if(y1.forEach(t=>{t.value=!1}),document[n]){const t=D1.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var so=[],v1=function(){return so.some(function(n){return n.activeTargets.length>0})},k1=function(){return so.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",_1=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)},Yr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Yr||(Yr={}));var lo=function(n){return Object.freeze(n)},M1=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,lo(this)}return n}(),Xp=function(){function n(e,t,i,d){return this.x=e,this.y=t,this.width=i,this.height=d,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,lo(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,d=e.top,f=e.right,o=e.bottom,b=e.left,D=e.width,I=e.height;return{x:t,y:i,top:d,right:f,bottom:o,left:b,width:D,height:I}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var d=n,f=d.offsetWidth,o=d.offsetHeight;return!(f||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},x1=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},Or=typeof window<"u"?window:{},ms=new WeakMap,eC=/auto|scroll/,S1=/^tb|vertical/,N1=/msie|trident/i.test(Or.navigator&&Or.navigator.userAgent),ni=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new M1((t?e:n)||0,(t?n:e)||0)},tC=lo({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),ms.has(n)&&!e)return ms.get(n);if(Vp(n))return ms.set(n,tC),tC;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),d=!N1&&t.boxSizing==="border-box",f=S1.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),D=i?0:ni(t.paddingTop),I=i?0:ni(t.paddingRight),S=i?0:ni(t.paddingBottom),N=i?0:ni(t.paddingLeft),T=i?0:ni(t.borderTopWidth),O=i?0:ni(t.borderRightWidth),H=i?0:ni(t.borderBottomWidth),P=i?0:ni(t.borderLeftWidth),v=N+I,m=D+S,F=P+O,k=T+H,_=b?n.offsetHeight-k-n.clientHeight:0,B=o?n.offsetWidth-F-n.clientWidth:0,p=d?v+F:0,u=d?m+k:0,l=i?i.width:ni(t.width)-p-B,g=i?i.height:ni(t.height)-u-_,s=l+v+B+F,h=g+m+_+k,C=lo({devicePixelContentBoxSize:$o(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),f),borderBoxSize:$o(s,h,f),contentBoxSize:$o(l,g,f),contentRect:new Xp(N,D,l,g)});return ms.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),d=i.borderBoxSize,f=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Yr.DEVICE_PIXEL_CONTENT_BOX:return o;case Yr.BORDER_BOX:return d;default:return f}},F1=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=lo([t.borderBoxSize]),this.contentBoxSize=lo([t.contentBoxSize]),this.devicePixelContentBoxSize=lo([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},R1=function(){var n=1/0,e=[];so.forEach(function(f){if(f.activeTargets.length!==0){var o=[];f.activeTargets.forEach(function(b){var D=new F1(b.target),I=oC(b.target);o.push(D),b.lastReportedSize=iC(b.target,b.observedBox),I<n&&(n=I)}),e.push(function(){f.callback.call(f.observer,o,f.observer)}),f.activeTargets.splice(0,f.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var d=i[t];d()}return n},rC=function(n){so.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},L1=function(){var n=0;for(rC(n);v1();)n=R1(),rC(n);return k1()&&_1(),n>0},eg,aC=[],G1=function(){return aC.splice(0).forEach(function(n){return n()})},P1=function(n){if(!eg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return G1()}).observe(t,i),eg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),eg()},H1=function(n){P1(function(){requestAnimationFrame(n)})},Es=0,K1=function(){return!!Es},T1=250,U1={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,Y1=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=T1),!tg){tg=!0;var i=lC(e);H1(function(){var d=!1;try{d=L1()}finally{if(tg=!1,e=i-lC(),!K1())return;d?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,U1)};document.body?t():Or.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Or.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Or.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ng=new Y1,cC=function(n){!Es&&n>0&&ng.start(),Es+=n,!Es&&ng.stop()},O1=function(n){return!Ag(n)&&!x1(n)&&getComputedStyle(n).display==="inline"},$1=function(){function n(e,t){this.target=e,this.observedBox=t||Yr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return O1(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),z1=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Qs=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},fs=function(){function n(){}return n.connect=function(e,t){var i=new z1(e,t);Qs.set(e,i)},n.observe=function(e,t,i){var d=Qs.get(e),f=d.observationTargets.length===0;gC(d.observationTargets,t)<0&&(f&&so.push(d),d.observationTargets.push(new $1(t,i&&i.box)),cC(1),ng.schedule())},n.unobserve=function(e,t){var i=Qs.get(e),d=gC(i.observationTargets,t),f=i.observationTargets.length===1;d>=0&&(f&&so.splice(so.indexOf(i),1),i.observationTargets.splice(d,1),cC(-1))},n.disconnect=function(e){var t=this,i=Qs.get(e);i.observationTargets.slice().forEach(function(d){return t.unobserve(e,d.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),J1=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");fs.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.unobserve(this,e)},n.prototype.disconnect=function(){fs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function Z1(n){var e;for(let t=0,i=n.length;t<i;++t){const d=n[t],f=Is.get(d.target);if(typeof f=="function"){const{inlineSize:o,blockSize:b}=(e=d.borderBoxSize)==null?void 0:e[0],{offsetWidth:D,offsetHeight:I}=d.target;f(Object.assign(d,{offsetWidth:D,offsetHeight:I,width:o??D,height:b??I}))}}}const dC=new(ao&&window.ResizeObserver||J1)(Z1);function uC(n,e){Is.set(n,e),dC.observe(n)}function hC(n){Is.has(n)&&(dC.unobserve(n),Is.delete(n))}function W1(n={}){let e=Tr;const t=A.watch(()=>A.unref(n.target),d=>{e(),!(!d||typeof n.onResize!="function")&&(uC(d,n.onResize),e=()=>{hC(d),e=Tr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:uC,unobserveResize:hC,unobserve:i}}const j1=A.ref(!1);A.computed(()=>j1.value);const pC="__theme_style__",ig="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ao)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[d,[f,o]]of CC.entries())t+=` html.${f} .${ig}, .${o} .${ig} { width: ${++i}px }`,BC.set(i,d);e.textContent=t,e.id=pC,document.head.appendChild(e)});const q1=A.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:e,emit:t}){const i=n,d=t,f=A.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=A.ref(i.layout),D=A.ref(),{observeResize:I,unobserveResize:S}=W1(),N=jv();N.on("resizeEvent",T),N.on("dragEvent",O),A.onBeforeMount(()=>{d("layout-before-mount",b.value)}),A.onMounted(()=>{d("layout-mounted",b.value),A.nextTick(()=>{a1(b.value),f.originalLayout=b.value,A.nextTick(()=>{g(),D.value&&I(D.value,qv(k,16)),Oo(b.value,i.verticalCompact),d("layout-updated",b.value),F(),k()})})}),A.onBeforeUnmount(()=>{N.clearAll(),D.value&&S(D.value)});function T(h,C,a,r,E,Q){u(h,C,a,r,E,Q)}function O(h,C,a,r,E,Q){p(h,C,a,r,E,Q)}A.watch(()=>f.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{d("layout-ready",b.value)}),F()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,m()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(d("update:layout",f.originalLayout),N.emit("setColNum",i.colNum)),k()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],F),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(f),increaseItem:H,decreaseItem:P})),A.provide(Rp,N),e({state:f,getItem:v,resizeEvent:u,dragEvent:p,layoutUpdate:m});function H(h){o.set(h.i,h)}function P(h){o.delete(h.i)}function v(h){return o.get(h)}function m(){if(!In(b.value)&&!In(f.originalLayout)){if(b.value.length!==f.originalLayout.length){const h=s(b.value,f.originalLayout);if(h.length>0)if(b.value.length>f.originalLayout.length)f.originalLayout=f.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));f.originalLayout=f.originalLayout.filter(a=>!C.has(a.i))}f.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",f.width),F(),d("layout-updated",b.value)}}function F(){f.mergedStyle={height:_()}}function k(){D.value&&(f.width=D.value.offsetWidth),N.emit("resizeEvent")}function _(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return Vv(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((x,{i:K,x:z,y:AA})=>({...x,[K]:{x:z,y:AA}}),{})),h==="dragmove"||h==="dragstart"?(f.placeholder.i=C,f.placeholder.x=M.x,f.placeholder.y=M.y,f.placeholder.w=Q,f.placeholder.h=E,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):A.nextTick(()=>{f.isDragging=!1}),b.value=Xc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="dragend"&&(B=void 0,d("layout-updated",b.value))}function u(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const K=Pp(b.value,{...M,w:Q,h:E}).filter(z=>z.i!==M.i);if(x=K.length>0,x){let z=1/0,AA=1/0;K.forEach(eA=>{eA.x>M.x&&(z=Math.min(z,eA.x)),eA.y>M.y&&(AA=Math.min(AA,eA.y))}),Number.isFinite(z)&&(M.w=z-M.x),Number.isFinite(AA)&&(M.h=AA-M.y)}}x||(M.w=Q,M.h=E),h==="resizestart"||h==="resizemove"?(f.placeholder.i=C,f.placeholder.x=a,f.placeholder.y=r,f.placeholder.w=M.w,f.placeholder.h=M.h,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):h&&A.nextTick(()=>{f.isDragging=!1}),i.responsive&&l(),Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="resizeend"&&d("layout-updated",b.value)}function l(){const h=g1(i.breakpoints,f.width);if(h===f.lastBreakpoint)return;const C=Op(h,i.cols);!In(f.lastBreakpoint)&&!f.layouts[f.lastBreakpoint]&&(f.layouts[f.lastBreakpoint]=qc(b.value));const a=d1(f.originalLayout,f.layouts,i.breakpoints,h,f.lastBreakpoint,C,i.verticalCompact);f.layouts[h]=a,f.lastBreakpoint!==h&&d("breakpoint-changed",h,a),b.value=a,d("update:layout",a),f.lastBreakpoint=h,N.emit("setColNum",C)}function g(){f.layouts=Object.assign({},i.responsiveLayouts)}function s(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),E=h.filter(M=>!a.has(M.i)),Q=C.filter(M=>!r.has(M.i));return E.concat(Q)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:D,class:"vgl-layout",style:A.normalizeStyle(f.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Vc,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Vc,{class:"vgl-item--placeholder",x:f.placeholder.x,y:f.placeholder.y,w:f.placeholder.w,h:f.placeholder.h,i:f.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,f.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(e){console.error("vite-plugin-css-injected-by-js",e)}})();const rt=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=Vn(),d=Et(),f=A.ref({});function o(N,T){N&&(f.value[T]=N)}let b=[];const D=()=>{if(!t.value)return;const N=new Map;for(const T of t.value)N.has(T.x)||N.set(T.x,[]),N.get(T.x).push(T);for(const T of N.values()){T.sort((H,P)=>H.y-P.y);let O=0;for(const H of T)H.y=O,O+=H.h}t.value=[...t.value]},I=e,S=()=>{I("gridItemMoved")};return A.onMounted(()=>{Object.keys(f.value).forEach(N=>{const T=f.value[N];if(!T)return;const O=new ResizeObserver(H=>{for(let P of H){const v=P.contentRect.height+28;if(t.value){const m=t.value[0].rowHeight||30,F=t.value.find(k=>k.i===N);F&&(F.contentHeight=Math.ceil((v+8)/(m+8)),F.h>0&&(F.h=Math.ceil((v+8)/(m+8))))}}D()});O.observe(T),b.push(O)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,T)=>A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(O,H)=>(A.openBlock(),A.createBlock(A.unref(Vc),{onMoved:S,key:O.i,x:O.x,y:O.y,w:O.w,h:O.h,i:O.i,class:A.normalizeClass(O.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:P=>o(P,O.i)},[A.createVNode(ro,A.mergeProps({ref_for:!0},N.list[H]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,O=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:O.name,ref_for:!0},O),null,16))),128))}}),X1={key:0,class:"btn-render-wrapper"},ii=oe(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),d=async o=>{if(o.onClick&&e){try{(o.text||o.label)&&(i.value[o.key]=!0),await e[o.onClick](t,o)}catch(b){console.error(b+`
|
|
101
|
-
onClick: ${o.onClick}`)}i.value[o.key]=!1}},f=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip"),S=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",X1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>{var T,O;return A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(rt,{key:0,list:[f(N)]},null,8,["list"])):N.component==="BtnGroup"?(A.openBlock(),A.createBlock(S,{key:1},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,H=>(A.openBlock(),A.createBlock(I,{key:H.key,disabled:!H.tooltip,content:H.tooltip,placement:"top"},{default:A.withCtx(()=>[H.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,{key:H.key,onClick:P=>d(H),disabled:H.disabled,type:H.type,text:H.isTextBtn,link:H.isLinkBtn,plain:H.isPlainBtn||H.type!=="primary"&&!H.orange,color:H.orange?"#FAA21E":H.color,loading:i.value[H.key],class:A.normalizeClass({orangeBtn:H.orange})},{default:A.withCtx(()=>[H.icon?(A.openBlock(),A.createBlock(
|
|
102
|
-
onClick: ${f.onClick}`)}};return(d,f)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),D=A.resolveComponent("el-dropdown-menu"),I=A.resolveComponent("el-dropdown");return d.dropdowns&&d.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",V1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.dropdowns,S=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:S.key},[S.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(I,{key:0,disabled:S.disabled},{dropdown:A.withCtx(()=>[A.createVNode(D,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(S.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:T=>i(N,S)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:S.color},{default:A.withCtx(()=>{var N,T;return[S.icon?(A.openBlock(),A.createBlock(
|
|
99
|
+
onClick: ${d.beforeEnter}`)}};return(D,I)=>{const S=A.resolveComponent("el-tooltip"),N=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(N,{trigger:d.trigger||"hover",width:d.width,offset:D.offset,"popper-class":d.noPadding?"no-padding":d.popperClass||"",title:d.title,placement:d.placement,onBeforeEnter:b,"popper-style":{overflow:"auto"},disabled:d.disabled,onShow:o},{reference:A.withCtx(()=>{var T,O,H,P,v;return[A.createElementVNode("div",{style:A.normalizeStyle(d.ostyle+(i.value?d.hoverStyle:"")),onMouseenter:I[0]||(I[0]=m=>i.value=!0),onMouseleave:I[1]||(I[1]=m=>i.value=!1)},[((T=d.reference)==null?void 0:T.component)==="Icon"?(A.openBlock(),A.createBlock(S,{key:0,content:(H=(O=d.reference)==null?void 0:O.props)==null?void 0:H.tooltip,disabled:!((v=(P=d.reference)==null?void 0:P.props)!=null&&v.tooltip),placement:"top"},{default:A.withCtx(()=>{var m,F,k,_;return[A.createVNode(ve,{name:(F=(m=d.reference)==null?void 0:m.props)==null?void 0:F.name,color:i.value&&d.hoverColor?d.hoverColor:(_=(k=d.reference)==null?void 0:k.props)==null?void 0:_.color,class:"btn-icon cursor-pointer",size:d.size||"normal",onClick:f},null,8,["name","color","size"])]}),_:1},8,["content","disabled"])):d.reference?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:[d.reference]},null,8,["list"])):A.createCommentVNode("",!0)],36)]}),default:A.withCtx(()=>[A.createElementVNode("div",null,[D.children?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:D.children},null,8,["list"])):A.createCommentVNode("",!0)])]),_:1},8,["trigger","width","offset","popper-class","title","placement","disabled"])}}}),[["__scopeId","data-v-3fcd6626"]]),ro=oe(A.defineComponent({__name:"FormItem",props:{label:{},labelSuffixText:{},labelSuffixStyle:{type:[Boolean,null,String,Object,Array]},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},nullFieldHidden:{type:[Boolean,String]},hideLabel:{type:Boolean},wFullLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const e=n,t=Et(),i=Jo(),d=A.reactive({visible:!1,title:""}),f=()=>{d.visible=!0,d.title=e.label},o=A.computed({get(){return Ea(t.formValues,e.name)},set(v){const m=ko(t.formValues,e.name,v);t.updateFormValues(m)}}),b=A.computed(()=>{const{rules:v,required:m,component:F}=e,k=[];if(m&&k.push({required:!0,trigger:"blur",message:"Required"}),v){const _=v.map(B=>{const{type:p,message:u,trigger:l,customReg:g,templateExp:s}=B,h={message:u,trigger:l};return["email","url"].includes(p)?{...h,type:p}:p==="custom"&&g?{...h,pattern:bm(g)}:wm(p)?{...h,pattern:p}:p==="template"?{...h,validator:()=>s}:{}});return[...k,..._]}if(F==="VerifyCode"){const _={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...k,_]}return k}),D=A.computed(()=>{const v=i[e.component]||{};return v.modelName||(v.modelName="modelValue"),v}),I=A.computed(()=>{const v={name:e.name,...e.props};return e.children&&(v.children=e.children),v}),S=()=>{if(e.component!=="DragList")return[];const v=I.value.gridlayout||[],m=I.value.children||[],F=I.value.rowHeight||30;return v.map((k,_)=>{var B;return{...k,i:(B=m[_])==null?void 0:B.name,rowHeight:F}})},N=A.ref(S()),T=v=>v==null?void 0:v.replace(/ /g," "),{ruleModule:O,pageMethodMap:H}=Rn(),P=async v=>{if(v&&O)try{await O[v](H)}catch(m){console.error(m+`
|
|
100
|
+
onClick: ${v}`)}};return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const v=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues(v),o.value=e.initialValue}}),A.watch(o,(v,m)=>{const F=e.change,k=ut.isEqual(v,m);if(!F||k)return;let _=ut.cloneDeep(t.formValues);F.forEach(({target:B,value:p,condition:u})=>{if(u!==!1){if(B.includes(".*.")){const l=B.split(".*."),g=l.pop(),s=l.join("."),h=Ea(t.formValues,s);ut.isArray(h)&&(_=ko(_,s,h.map(C=>({...C,[g]:p}))));return}_=ko(_,B,p)}}),t.updateFormValues(_)},{immediate:!0}),(v,m)=>{var p;const F=A.resolveComponent("el-tooltip"),k=A.resolveComponent("el-dialog"),_=A.resolveComponent("el-button"),B=A.resolveComponent("el-form-item");return A.unref(t).design||!v.hidden&&(!v.nullFieldHidden||o.value||o.value===0)?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[D.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:0},I.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":m[0]||(m[0]=u=>N.value=u)}),null,16,["gridlayout"])):D.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1},I.value,{style:{minWidth:0}}),null,16)):D.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.normalizeProps(A.mergeProps({key:2},I.value)),null,16)):(A.openBlock(),A.createBlock(B,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${v.component}-${v.name}`,{readMode:((p=e.props)==null?void 0:p.read)||A.unref(t).schema.read,hideLabel:v.hideLabel,wFullLabel:v.wFullLabel}]),style:A.normalizeStyle(v.style),key:v.name,prop:v.name,"label-width":v.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},{label:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),v.label&&`${v.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(T(v.label)),5),v.labelSuffixText?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle([v.labelSuffixStyle,{"margin-left":"4px"}])},A.toDisplayString(v.labelSuffixText),5)):A.createCommentVNode("",!0),v.help?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(F,{effect:"dark",content:v.help,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-lujing11",color:"#999999",style:{width:"14px",height:"14px"}})]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),v.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[v.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(kp,A.normalizeProps(A.mergeProps({key:0},A.unref(kt)(v.labelSuffix.props,A.unref(t).context))),null,16)):v.labelSuffix.component==="Icon"?(A.openBlock(),A.createBlock(F,{key:1,effect:"dark",content:v.labelSuffix.props.tooltip,placement:"right",disabled:!v.labelSuffix.props.tooltip},{default:A.withCtx(()=>[A.createVNode(ve,{name:v.labelSuffix.props.name,color:v.labelSuffix.props.color,onClick:m[1]||(m[1]=u=>P(v.labelSuffix.props.onClick)),style:{width:"14px",height:"14px",cursor:"pointer"}},null,8,["name","color"])]),_:1},8,["content","disabled"])):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2),[[A.vShow,!v.hideLabel]])]),default:A.withCtx(()=>[v.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(k,{modelValue:d.visible,"onUpdate:modelValue":m[3]||(m[3]=u=>d.visible=u),title:d.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({size:A.unref(t).schema.size},I.value,{disabled:A.unref(t).schema.disabled,[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[2]||(m[2]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(_,{type:"primary",plain:"",onClick:f},{default:A.withCtx(()=>m[5]||(m[5]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(kt)(I.value,A.unref(t).context),{[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[4]||(m[4]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-dcd6fbec"]]),Tv={key:0,class:"actions-lt"},Uv={class:"canvas-move",size:"small",type:"primary"},Yv={key:1,class:"hidden-ico"},Ov={key:2,class:"actions-rb"},$v=["onClick"],zv={key:3,class:"layout-title"},Jv=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Fn(),d=Jo()[e.data.component],f=A.computed(()=>{var T;return{[je("canvas-item")]:!0,active:e.data.designKey===((T=t.current)==null?void 0:T.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:I.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},D=T=>{t.updateCurrent(T),t.rightTab="attr"},I=A.ref(!1),S=()=>{I.value=!I.value},N=[{icon:"copy",handle:T=>{const O=Gu(t.list,T.designKey);t.updateList(O)}},{icon:"delete",bg:"var(--el-color-danger)",handle:T=>{const O=wd(t.list,H=>H.designKey!==T.designKey);t.updateList(O)}}];return(T,O)=>{var H,P;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(f.value),onClick:O[0]||(O[0]=A.withModifiers(v=>D(T.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[T.data.designKey===((H=A.unref(t).current)==null?void 0:H.designKey)?(A.openBlock(),A.createElementBlock("div",Tv,[A.createElementVNode("div",Uv,[A.createVNode(A.unref(fe),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:S},[A.createVNode(A.unref(fe),{name:"select"})])])):A.createCommentVNode("",!0),T.data.hidden?(A.openBlock(),A.createElementBlock("div",Yv,[A.createVNode(A.unref(fe),{name:"hidden"})])):A.createCommentVNode("",!0),T.data.designKey===((P=A.unref(t).current)==null?void 0:P.designKey)?(A.openBlock(),A.createElementBlock("ul",Ov,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:v,handle:m,bg:F})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(k=>m(T.data),["stop"]),key:v,style:A.normalizeStyle({backgroundColor:F})},[A.createVNode(A.unref(fe),{name:v},null,8,["name"])],12,$v)),64))])):A.createCommentVNode("",!0),A.unref(d).lbTitle?(A.openBlock(),A.createElementBlock("div",zv,A.toDisplayString(A.unref(d).title),1)):A.createCommentVNode("",!0),A.createVNode(ro,A.mergeProps(T.data,{props:T.data.props}),null,16,["props"])],34)}}}),jc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Fn(),i=d=>{const f=d.item._underlying_vm_;t.updateCurrent(tc(t.list,f.designKey)),t.hoverKey=f.designKey,t.rightTab="attr",t.handleEmit("add",f)};return(d,f)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:d.list.length?"auto":"hidden"})},[d.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:d.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(fe),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(d.emptyText),1)],6)),A.createVNode(A.unref(vp),{list:d.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(d.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock(Jv,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Zv=typeof window<"u";var _p;Zv&&((_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 Wv=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(Wv)));function jv(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(d=>{d(...t)})}}}function xp(n,e=16){if(typeof n!="function")return Mp;const t=(...f)=>{n(...f)};if(e<=0)return Sp(t);let i=0,d;return function(...f){const o=Date.now(),b=o-i;clearTimeout(d),b>=e?(i=o,t(...f)):d=setTimeout(()=>{i=Date.now(),t(...f)},Math.max(0,e-b))}}function qv(n,e=100){if(typeof n!="function")return Mp;const t=(...d)=>{n(...d)};if(e<=0)return Sp(t);let i;return function(...d){clearTimeout(i),i=setTimeout(()=>{t(...d)},e)}}function Sp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...d){return t=d,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Hr=new Set,Np=new WeakMap;function Xv(){Hr.forEach(n=>{n(...Np.get(n))}),Hr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Hr.has(n)&&(Hr.add(n),Hr.size===1&&Promise.resolve().then(Xv))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Vv(n){let e=0,t;for(let i=0,d=n.length;i<d;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function qc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=A1(n[t]);return e}function A1(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),d=Tp(n),f=Array(n.length);for(let o=0,b=d.length;o<b;o++){let D=d[o];D.static||(D=e1(i,D,e,t),i.push(D)),f[n.findIndex(I=>I.i===D.i)]=D,D.moved=!1}return f}function e1(n,e,t,i){if(t)for(;e.y>0&&!Kr(n,e);)e.y--;else if(i){const f=i[e.i].y;for(;e.y>f&&!Kr(n,e);)e.y--}let d;for(;d=Kr(n,e);)e.y=d.y+d.h;return e}function t1(n,e){const t=Hp(n);for(let i=0,d=n.length;i<d;i++){const f=n[i];if(f.x+f.w>e.cols&&(f.x=e.cols-f.w),f.x<0&&(f.x=0,f.w=e.cols),!f.static)t.push(f);else for(;Kr(t,f);)f.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Kr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Xc(n,e,t,i,d=!1,f=!1){if(e.static)return n;const o=e.x,b=e.y,D=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let I=Tp(n);D&&(I=I.reverse());const S=Pp(I,e);if(f&&S.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,T=S.length;N<T;N++){const O=S[N];O.moved||e.y>O.y&&e.y-O.y>O.h/4||(O.static?n=Kp(n,O,e,d):n=Kp(n,e,O,d))}return n}function Kp(n,e,t,i){if(i){const d={x:t.x,y:t.y,w:t.w,h:t.h};if(d.y=Math.max(e.y-t.h,0),!Kr(n,d))return Xc(n,t,void 0,d.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function n1(n,e,t,i){const d="translate3d("+e+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function i1(n,e,t,i){const d="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function o1(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function r1(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function a1(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let d=0,f=n.length;d<f;d++){const o=n[d];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+d+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+d+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+d+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+d+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+d+"].static must be a boolean!")}}function s1(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,d)=>`${t()}__${i}--${d}`}}function Up(n){return l1(n)}function l1(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),d=n.clientX+t.scrollLeft-i.left,f=n.clientY+t.scrollTop-i.top;return{x:d,y:f}}function Yp(n,e,t,i){return c1(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function c1(n){return typeof n=="number"&&!Number.isNaN(n)}function g1(n,e){const t=$p(n);let i=t[0];for(let d=1,f=t.length;d<f;d++){const o=t[d];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function d1(n,e,t,i,d,f,o){if(e[i])return qc(e[i]);let b=n;const D=$p(t),I=D.slice(D.indexOf(i));for(let S=0,N=I.length;S<N;S++){const T=I[S];if(e[T]){b=e[T];break}}return b=qc(b||[]),Oo(t1(b,{cols:f}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let u1="auto";function h1(){return typeof document<"u"}function zp(){return h1()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):u1}var Bs={exports:{}};Bs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(L,R){var Z=Object.keys(L);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(L);R&&(nA=nA.filter(function(sA){return Object.getOwnPropertyDescriptor(L,sA).enumerable})),Z.push.apply(Z,nA)}return Z}function i(L){for(var R=1;R<arguments.length;R++){var Z=arguments[R]!=null?arguments[R]:{};R%2?t(Object(Z),!0).forEach(function(nA){D(L,nA,Z[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(Z)):t(Object(Z)).forEach(function(nA){Object.defineProperty(L,nA,Object.getOwnPropertyDescriptor(Z,nA))})}return L}function d(L){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},d(L)}function f(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")}function o(L,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(L,P(nA.key),nA)}}function b(L,R,Z){return R&&o(L.prototype,R),Object.defineProperty(L,"prototype",{writable:!1}),L}function D(L,R,Z){return(R=P(R))in L?Object.defineProperty(L,R,{value:Z,enumerable:!0,configurable:!0,writable:!0}):L[R]=Z,L}function I(L,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(R&&R.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),Object.defineProperty(L,"prototype",{writable:!1}),R&&N(L,R)}function S(L){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},S(L)}function N(L,R){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Z,nA){return Z.__proto__=nA,Z},N(L,R)}function T(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function O(L){var R=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Z,nA=S(L);if(R){var sA=S(this).constructor;Z=Reflect.construct(nA,arguments,sA)}else Z=nA.apply(this,arguments);return function(dA,BA){if(BA&&(typeof BA=="object"||typeof BA=="function"))return BA;if(BA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T(dA)}(this,Z)}}function H(){return H=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(L,R,Z){var nA=function(dA,BA){for(;!Object.prototype.hasOwnProperty.call(dA,BA)&&(dA=S(dA))!==null;);return dA}(L,R);if(nA){var sA=Object.getOwnPropertyDescriptor(nA,R);return sA.get?sA.get.call(arguments.length<3?L:Z):sA.value}},H.apply(this,arguments)}function P(L){var R=function(Z,nA){if(typeof Z!="object"||Z===null)return Z;var sA=Z[Symbol.toPrimitive];if(sA!==void 0){var dA=sA.call(Z,nA);if(typeof dA!="object")return dA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Z)}(L,"string");return typeof R=="symbol"?R:R+""}var v=function(L){return!(!L||!L.Window)&&L instanceof L.Window},m=void 0,F=void 0;function k(L){m=L;var R=L.document.createTextNode("");R.ownerDocument!==L.document&&typeof L.wrap=="function"&&L.wrap(R)===R&&(L=L.wrap(L)),F=L}function _(L){return v(L)?L:(L.ownerDocument||L).defaultView||F.window}typeof window<"u"&&window&&k(window);var B=function(L){return!!L&&d(L)==="object"},p=function(L){return typeof L=="function"},u={window:function(L){return L===F||v(L)},docFrag:function(L){return B(L)&&L.nodeType===11},object:B,func:p,number:function(L){return typeof L=="number"},bool:function(L){return typeof L=="boolean"},string:function(L){return typeof L=="string"},element:function(L){if(!L||d(L)!=="object")return!1;var R=_(L)||F;return/object|function/.test(typeof Element>"u"?"undefined":d(Element))?L instanceof Element||L instanceof R.Element:L.nodeType===1&&typeof L.nodeName=="string"},plainObject:function(L){return B(L)&&!!L.constructor&&/function Object\b/.test(L.constructor.toString())},array:function(L){return B(L)&&L.length!==void 0&&p(L.splice)}};function l(L){var R=L.interaction;if(R.prepared.name==="drag"){var Z=R.prepared.axis;Z==="x"?(R.coords.cur.page.y=R.coords.start.page.y,R.coords.cur.client.y=R.coords.start.client.y,R.coords.velocity.client.y=0,R.coords.velocity.page.y=0):Z==="y"&&(R.coords.cur.page.x=R.coords.start.page.x,R.coords.cur.client.x=R.coords.start.client.x,R.coords.velocity.client.x=0,R.coords.velocity.page.x=0)}}function g(L){var R=L.iEvent,Z=L.interaction;if(Z.prepared.name==="drag"){var nA=Z.prepared.axis;if(nA==="x"||nA==="y"){var sA=nA==="x"?"y":"x";R.page[sA]=Z.coords.start.page[sA],R.client[sA]=Z.coords.start.client[sA],R.delta[sA]=0}}}var s={id:"actions/drag",install:function(L){var R=L.actions,Z=L.Interactable,nA=L.defaults;Z.prototype.draggable=s.draggable,R.map.drag=s,R.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(L){var R=L.interaction,Z=L.interactable,nA=L.buttons,sA=Z.options.drag;if(sA&&sA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||nA&Z.options.drag.mouseButtons))return L.action={name:"drag",axis:sA.lockAxis==="start"?sA.startAxis:sA.lockAxis},!1}},draggable:function(L){return u.object(L)?(this.options.drag.enabled=L.enabled!==!1,this.setPerAction("drag",L),this.setOnEvents("drag",L),/^(xy|x|y|start)$/.test(L.lockAxis)&&(this.options.drag.lockAxis=L.lockAxis),/^(xy|x|y)$/.test(L.startAxis)&&(this.options.drag.startAxis=L.startAxis),this):u.bool(L)?(this.options.drag.enabled=L,this):this.options.drag},beforeMove:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(L){return L.search("drag")===0}},h=s,C={init:function(L){var R=L;C.document=R.document,C.DocumentFragment=R.DocumentFragment||a,C.SVGElement=R.SVGElement||a,C.SVGSVGElement=R.SVGSVGElement||a,C.SVGElementInstance=R.SVGElementInstance||a,C.Element=R.Element||a,C.HTMLElement=R.HTMLElement||C.Element,C.Event=R.Event,C.Touch=R.Touch||a,C.PointerEvent=R.PointerEvent||R.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=C,E={init:function(L){var R=r.Element,Z=L.navigator||{};E.supportsTouch="ontouchstart"in L||u.func(L.DocumentTouch)&&r.document instanceof L.DocumentTouch,E.supportsPointerEvent=Z.pointerEnabled!==!1&&!!r.PointerEvent,E.isIOS=/iP(hone|od|ad)/.test(Z.platform),E.isIOS7=/iP(hone|od|ad)/.test(Z.platform)&&/OS 7[^\d]/.test(Z.appVersion),E.isIe9=/MSIE 9/.test(Z.userAgent),E.isOperaMobile=Z.appName==="Opera"&&E.supportsTouch&&/Presto/.test(Z.userAgent),E.prefixedMatchesSelector="matches"in R.prototype?"matches":"webkitMatchesSelector"in R.prototype?"webkitMatchesSelector":"mozMatchesSelector"in R.prototype?"mozMatchesSelector":"oMatchesSelector"in R.prototype?"oMatchesSelector":"msMatchesSelector",E.pEventTypes=E.supportsPointerEvent?r.PointerEvent===L.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,E.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},Q=E;function M(L,R){if(L.contains)return L.contains(R);for(;R;){if(R===L)return!0;R=R.parentNode}return!1}function x(L,R){for(;u.element(L);){if(z(L,R))return L;L=K(L)}return null}function K(L){var R=L.parentNode;if(u.docFrag(R)){for(;(R=R.host)&&u.docFrag(R););return R}return R}function z(L,R){return F!==m&&(R=R.replace(/\/deep\//g," ")),L[Q.prefixedMatchesSelector](R)}var AA=function(L){return L.parentNode||L.host};function eA(L,R){for(var Z,nA=[],sA=L;(Z=AA(sA))&&sA!==R&&Z!==sA.ownerDocument;)nA.unshift(sA),sA=Z;return nA}function V(L,R,Z){for(;u.element(L);){if(z(L,R))return!0;if((L=K(L))===Z)return z(L,R)}return!1}function $(L){return L.correspondingUseElement||L}function J(L){var R=L instanceof r.SVGElement?L.getBoundingClientRect():L.getClientRects()[0];return R&&{left:R.left,right:R.right,top:R.top,bottom:R.bottom,width:R.width||R.right-R.left,height:R.height||R.bottom-R.top}}function y(L){var R,Z=J(L);if(!Q.isIOS7&&Z){var nA={x:(R=(R=_(L))||F).scrollX||R.document.documentElement.scrollLeft,y:R.scrollY||R.document.documentElement.scrollTop};Z.left+=nA.x,Z.right+=nA.x,Z.top+=nA.y,Z.bottom+=nA.y}return Z}function j(L){for(var R=[];L;)R.push(L),L=K(L);return R}function G(L){return!!u.string(L)&&(r.document.querySelector(L),!0)}function q(L,R){for(var Z in R)L[Z]=R[Z];return L}function rA(L,R,Z){return L==="parent"?K(Z):L==="self"?R.getRect(Z):x(Z,L)}function iA(L,R,Z,nA){var sA=L;return u.string(sA)?sA=rA(sA,R,Z):u.func(sA)&&(sA=sA.apply(void 0,nA)),u.element(sA)&&(sA=y(sA)),sA}function uA(L){return L&&{x:"x"in L?L.x:L.left,y:"y"in L?L.y:L.top}}function mA(L){return!L||"x"in L&&"y"in L||((L=q({},L)).x=L.left||0,L.y=L.top||0,L.width=L.width||(L.right||0)-L.x,L.height=L.height||(L.bottom||0)-L.y),L}function gA(L,R,Z){L.left&&(R.left+=Z.x),L.right&&(R.right+=Z.x),L.top&&(R.top+=Z.y),L.bottom&&(R.bottom+=Z.y),R.width=R.right-R.left,R.height=R.bottom-R.top}function wA(L,R,Z){var nA=Z&&L.options[Z];return uA(iA(nA&&nA.origin||L.options.origin,L,R,[L&&R]))||{x:0,y:0}}function X(L,R){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(L)&&L.search(" ")!==-1&&(L=lA(L)),u.array(L))return L.forEach(function(yA){return X(yA,R,Z,nA)}),nA;if(u.object(L)&&(R=L,L=""),u.func(R)&&Z(L))nA[L]=nA[L]||[],nA[L].push(R);else if(u.array(R))for(var sA=0,dA=R;sA<dA.length;sA++){var BA=dA[sA];X(L,BA,Z,nA)}else if(u.object(R))for(var QA in R)X(lA(QA).map(function(yA){return"".concat(L).concat(yA)}),R[QA],Z,nA);return nA}function lA(L){return L.trim().split(/ +/)}var cA=function(L,R){return Math.sqrt(L*L+R*R)},hA=["webkit","moz"];function U(L,R){L.__set||(L.__set={});var Z=function(sA){if(hA.some(function(dA){return sA.indexOf(dA)===0}))return 1;typeof L[sA]!="function"&&sA!=="__set"&&Object.defineProperty(L,sA,{get:function(){return sA in L.__set?L.__set[sA]:L.__set[sA]=R[sA]},set:function(dA){L.__set[sA]=dA},configurable:!0})};for(var nA in R)Z(nA);return L}function W(L,R){L.page=L.page||{},L.page.x=R.page.x,L.page.y=R.page.y,L.client=L.client||{},L.client.x=R.client.x,L.client.y=R.client.y,L.timeStamp=R.timeStamp}function tA(L){L.page.x=0,L.page.y=0,L.client.x=0,L.client.y=0}function aA(L){return L instanceof r.Event||L instanceof r.Touch}function CA(L,R,Z){return L=L||"page",(Z=Z||{}).x=R[L+"X"],Z.y=R[L+"Y"],Z}function xA(L,R){return R=R||{x:0,y:0},Q.isOperaMobile&&aA(L)?(CA("screen",L,R),R.x+=window.scrollX,R.y+=window.scrollY):CA("page",L,R),R}function zA(L){return u.number(L.pointerId)?L.pointerId:L.identifier}function jA(L,R,Z){var nA=R.length>1?vA(R):R[0];xA(nA,L.page),function(sA,dA){dA=dA||{},Q.isOperaMobile&&aA(sA)?CA("screen",sA,dA):CA("client",sA,dA)}(nA,L.client),L.timeStamp=Z}function Ae(L){var R=[];return u.array(L)?(R[0]=L[0],R[1]=L[1]):L.type==="touchend"?L.touches.length===1?(R[0]=L.touches[0],R[1]=L.changedTouches[0]):L.touches.length===0&&(R[0]=L.changedTouches[0],R[1]=L.changedTouches[1]):(R[0]=L.touches[0],R[1]=L.touches[1]),R}function vA(L){for(var R={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},Z=0;Z<L.length;Z++){var nA=L[Z];for(var sA in R)R[sA]+=nA[sA]}for(var dA in R)R[dA]/=L.length;return R}function $A(L){if(!L.length)return null;var R=Ae(L),Z=Math.min(R[0].pageX,R[1].pageX),nA=Math.min(R[0].pageY,R[1].pageY),sA=Math.max(R[0].pageX,R[1].pageX),dA=Math.max(R[0].pageY,R[1].pageY);return{x:Z,y:nA,left:Z,top:nA,right:sA,bottom:dA,width:sA-Z,height:dA-nA}}function XA(L,R){var Z=R+"X",nA=R+"Y",sA=Ae(L),dA=sA[0][Z]-sA[1][Z],BA=sA[0][nA]-sA[1][nA];return cA(dA,BA)}function SA(L,R){var Z=R+"X",nA=R+"Y",sA=Ae(L),dA=sA[1][Z]-sA[0][Z],BA=sA[1][nA]-sA[0][nA];return 180*Math.atan2(BA,dA)/Math.PI}function MA(L){return u.string(L.pointerType)?L.pointerType:u.number(L.pointerType)?[void 0,void 0,"touch","pen","mouse"][L.pointerType]:/touch/.test(L.type||"")||L instanceof r.Touch?"touch":"mouse"}function qA(L){var R=u.func(L.composedPath)?L.composedPath():L.path;return[$(R?R[0]:L.target),$(L.currentTarget)]}var Ce=function(){function L(R){f(this,L),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=R}return b(L,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),L}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(L,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];L.push(nA)}return L},xe=function(L){return ye([],L)},NA=function(L,R){for(var Z=0;Z<L.length;Z++)if(R(L[Z],Z,L))return Z;return-1},UA=function(L,R){return L[NA(L,R)]},JA=function(L){I(Z,L);var R=O(Z);function Z(nA,sA,dA){var BA;f(this,Z),(BA=R.call(this,sA._interaction)).dropzone=void 0,BA.dragEvent=void 0,BA.relatedTarget=void 0,BA.draggable=void 0,BA.propagationStopped=!1,BA.immediatePropagationStopped=!1;var QA=dA==="dragleave"?nA.prev:nA.cur,yA=QA.element,RA=QA.dropzone;return BA.type=dA,BA.target=yA,BA.currentTarget=yA,BA.dropzone=RA,BA.dragEvent=sA,BA.relatedTarget=sA.target,BA.draggable=sA.interactable,BA.timeStamp=sA.timeStamp,BA}return b(Z,[{key:"reject",value:function(){var nA=this,sA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&sA.cur.dropzone===this.dropzone&&sA.cur.element===this.target)if(sA.prev.dropzone=this.dropzone,sA.prev.element=this.target,sA.rejected=!0,sA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var dA=sA.activeDrops,BA=NA(dA,function(yA){var RA=yA.dropzone,DA=yA.element;return RA===nA.dropzone&&DA===nA.target});sA.activeDrops.splice(BA,1);var QA=new Z(sA,this.dragEvent,"dropdeactivate");QA.dropzone=this.dropzone,QA.target=this.target,this.dropzone.fire(QA)}else this.dropzone.fire(new Z(sA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),Z}(Ce);function de(L,R){for(var Z=0,nA=L.slice();Z<nA.length;Z++){var sA=nA[Z],dA=sA.dropzone,BA=sA.element;R.dropzone=dA,R.target=BA,dA.fire(R),R.propagationStopped=R.immediatePropagationStopped=!1}}function ae(L,R){for(var Z=function(dA,BA){for(var QA=[],yA=0,RA=dA.interactables.list;yA<RA.length;yA++){var DA=RA[yA];if(DA.options.drop.enabled){var HA=DA.options.drop.accept;if(!(u.element(HA)&&HA!==BA||u.string(HA)&&!z(BA,HA)||u.func(HA)&&!HA({dropzone:DA,draggableElement:BA})))for(var VA=0,ge=DA.getAllElements();VA<ge.length;VA++){var le=ge[VA];le!==BA&&QA.push({dropzone:DA,element:le,rect:DA.getRect(le)})}}}return QA}(L,R),nA=0;nA<Z.length;nA++){var sA=Z[nA];sA.rect=sA.dropzone.getRect(sA.element)}return Z}function Ee(L,R,Z){for(var nA=L.dropState,sA=L.interactable,dA=L.element,BA=[],QA=0,yA=nA.activeDrops;QA<yA.length;QA++){var RA=yA[QA],DA=RA.dropzone,HA=RA.element,VA=RA.rect,ge=DA.dropCheck(R,Z,sA,dA,HA,VA);BA.push(ge?HA:null)}var le=function(he){for(var De,Qe,kA,OA=[],KA=0;KA<he.length;KA++){var ee=he[KA],Be=he[De];if(ee&&KA!==De)if(Be){var He=AA(ee),Ke=AA(Be);if(He!==ee.ownerDocument)if(Ke!==ee.ownerDocument)if(He!==Ke){OA=OA.length?OA:eA(Be);var Oe=void 0;if(Be instanceof r.HTMLElement&&ee instanceof r.SVGElement&&!(ee instanceof r.SVGSVGElement)){if(ee===Ke)continue;Oe=ee.ownerSVGElement}else Oe=ee;for(var on=eA(Oe,Be.ownerDocument),Wn=0;on[Wn]&&on[Wn]===OA[Wn];)Wn++;var Ut=[on[Wn-1],on[Wn],OA[Wn]];if(Ut[0])for(var li=Ut[0].lastChild;li;){if(li===Ut[1]){De=KA,OA=on;break}if(li===Ut[2])break;li=li.previousSibling}}else kA=Be,(parseInt(_(Qe=ee).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(_(kA).getComputedStyle(kA).zIndex,10)||0)&&(De=KA);else De=KA}else De=KA}return De}(BA);return nA.activeDrops[le]||null}function ke(L,R,Z){var nA=L.dropState,sA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return Z.type==="dragstart"&&(sA.activate=new JA(nA,Z,"dropactivate"),sA.activate.target=null,sA.activate.dropzone=null),Z.type==="dragend"&&(sA.deactivate=new JA(nA,Z,"dropdeactivate"),sA.deactivate.target=null,sA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(sA.leave=new JA(nA,Z,"dragleave"),Z.dragLeave=sA.leave.target=nA.prev.element,Z.prevDropzone=sA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(sA.enter=new JA(nA,Z,"dragenter"),Z.dragEnter=nA.cur.element,Z.dropzone=nA.cur.dropzone)),Z.type==="dragend"&&nA.cur.dropzone&&(sA.drop=new JA(nA,Z,"drop"),Z.dropzone=nA.cur.dropzone,Z.relatedTarget=nA.cur.element),Z.type==="dragmove"&&nA.cur.dropzone&&(sA.move=new JA(nA,Z,"dropmove"),Z.dropzone=nA.cur.dropzone)),sA}function IA(L,R){var Z=L.dropState,nA=Z.activeDrops,sA=Z.cur,dA=Z.prev;R.leave&&dA.dropzone.fire(R.leave),R.enter&&sA.dropzone.fire(R.enter),R.move&&sA.dropzone.fire(R.move),R.drop&&sA.dropzone.fire(R.drop),R.deactivate&&de(nA,R.deactivate),Z.prev.dropzone=sA.dropzone,Z.prev.element=sA.element}function LA(L,R){var Z=L.interaction,nA=L.iEvent,sA=L.event;if(nA.type==="dragmove"||nA.type==="dragend"){var dA=Z.dropState;R.dynamicDrop&&(dA.activeDrops=ae(R,Z.element));var BA=nA,QA=Ee(Z,BA,sA);dA.rejected=dA.rejected&&!!QA&&QA.dropzone===dA.cur.dropzone&&QA.element===dA.cur.element,dA.cur.dropzone=QA&&QA.dropzone,dA.cur.element=QA&&QA.element,dA.events=ke(Z,0,BA)}}var TA={id:"actions/drop",install:function(L){var R=L.actions,Z=L.interactStatic,nA=L.Interactable,sA=L.defaults;L.usePlugin(h),nA.prototype.dropzone=function(dA){return function(BA,QA){if(u.object(QA)){if(BA.options.drop.enabled=QA.enabled!==!1,QA.listeners){var yA=X(QA.listeners),RA=Object.keys(yA).reduce(function(HA,VA){return HA[/^(enter|leave)/.test(VA)?"drag".concat(VA):/^(activate|deactivate|move)/.test(VA)?"drop".concat(VA):VA]=yA[VA],HA},{}),DA=BA.options.drop.listeners;DA&&BA.off(DA),BA.on(RA),BA.options.drop.listeners=RA}return u.func(QA.ondrop)&&BA.on("drop",QA.ondrop),u.func(QA.ondropactivate)&&BA.on("dropactivate",QA.ondropactivate),u.func(QA.ondropdeactivate)&&BA.on("dropdeactivate",QA.ondropdeactivate),u.func(QA.ondragenter)&&BA.on("dragenter",QA.ondragenter),u.func(QA.ondragleave)&&BA.on("dragleave",QA.ondragleave),u.func(QA.ondropmove)&&BA.on("dropmove",QA.ondropmove),/^(pointer|center)$/.test(QA.overlap)?BA.options.drop.overlap=QA.overlap:u.number(QA.overlap)&&(BA.options.drop.overlap=Math.max(Math.min(1,QA.overlap),0)),"accept"in QA&&(BA.options.drop.accept=QA.accept),"checker"in QA&&(BA.options.drop.checker=QA.checker),BA}return u.bool(QA)?(BA.options.drop.enabled=QA,BA):BA.options.drop}(this,dA)},nA.prototype.dropCheck=function(dA,BA,QA,yA,RA,DA){return function(HA,VA,ge,le,he,De,Qe){var kA=!1;if(!(Qe=Qe||HA.getRect(De)))return!!HA.options.drop.checker&&HA.options.drop.checker(VA,ge,kA,HA,De,le,he);var OA=HA.options.drop.overlap;if(OA==="pointer"){var KA=wA(le,he,"drag"),ee=xA(VA);ee.x+=KA.x,ee.y+=KA.y;var Be=ee.x>Qe.left&&ee.x<Qe.right,He=ee.y>Qe.top&&ee.y<Qe.bottom;kA=Be&&He}var Ke=le.getRect(he);if(Ke&&OA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&u.number(OA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=OA),HA.options.drop.checker&&(kA=HA.options.drop.checker(VA,ge,kA,HA,De,le,he)),kA}(this,dA,BA,QA,yA,RA,DA)},Z.dynamicDrop=function(dA){return u.bool(dA)?(L.dynamicDrop=dA,Z):L.dynamicDrop},q(R.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),R.methodDict.drop="dropzone",L.dynamicDrop=!1,sA.actions.drop=TA.defaults},listeners:{"interactions:before-action-start":function(L){var R=L.interaction;R.prepared.name==="drag"&&(R.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(L,R){var Z=L.interaction,nA=(L.event,L.iEvent);if(Z.prepared.name==="drag"){var sA=Z.dropState;sA.activeDrops=[],sA.events={},sA.activeDrops=ae(R,Z.element),sA.events=ke(Z,0,nA),sA.events.activate&&(de(sA.activeDrops,sA.events.activate),R.fire("actions/drop:start",{interaction:Z,dragEvent:nA}))}},"interactions:action-move":LA,"interactions:after-action-move":function(L,R){var Z=L.interaction,nA=L.iEvent;if(Z.prepared.name==="drag"){var sA=Z.dropState;IA(Z,sA.events),R.fire("actions/drop:move",{interaction:Z,dragEvent:nA}),sA.events={}}},"interactions:action-end":function(L,R){if(L.interaction.prepared.name==="drag"){var Z=L.interaction,nA=L.iEvent;LA(L,R),IA(Z,Z.dropState.events),R.fire("actions/drop:end",{interaction:Z,dragEvent:nA})}},"interactions:stop":function(L){var R=L.interaction;if(R.prepared.name==="drag"){var Z=R.dropState;Z&&(Z.activeDrops=null,Z.events=null,Z.cur.dropzone=null,Z.cur.element=null,Z.prev.dropzone=null,Z.prev.element=null,Z.rejected=!1)}}},getActiveDrops:ae,getDrop:Ee,getDropEvents:ke,fireDropEvents:IA,filterEventType:function(L){return L.search("drag")===0||L.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},re=TA;function be(L){var R=L.interaction,Z=L.iEvent,nA=L.phase;if(R.prepared.name==="gesture"){var sA=R.pointers.map(function(RA){return RA.pointer}),dA=nA==="start",BA=nA==="end",QA=R.interactable.options.deltaSource;if(Z.touches=[sA[0],sA[1]],dA)Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=1,Z.ds=0,Z.angle=SA(sA,QA),Z.da=0,R.gesture.startDistance=Z.distance,R.gesture.startAngle=Z.angle;else if(BA||R.pointers.length<2){var yA=R.prevEvent;Z.distance=yA.distance,Z.box=yA.box,Z.scale=yA.scale,Z.ds=0,Z.angle=yA.angle,Z.da=0}else Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=Z.distance/R.gesture.startDistance,Z.angle=SA(sA,QA),Z.ds=Z.scale-R.gesture.scale,Z.da=Z.angle-R.gesture.angle;R.gesture.distance=Z.distance,R.gesture.angle=Z.angle,u.number(Z.scale)&&Z.scale!==1/0&&!isNaN(Z.scale)&&(R.gesture.scale=Z.scale)}}var se={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(L){var R=L.actions,Z=L.Interactable,nA=L.defaults;Z.prototype.gesturable=function(sA){return u.object(sA)?(this.options.gesture.enabled=sA.enabled!==!1,this.setPerAction("gesture",sA),this.setOnEvents("gesture",sA),this):u.bool(sA)?(this.options.gesture.enabled=sA,this):this.options.gesture},R.map.gesture=se,R.methodDict.gesture="gesturable",nA.actions.gesture=se.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(L){L.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(L){if(!(L.interaction.pointers.length<2)){var R=L.interactable.options.gesture;if(R&&R.enabled)return L.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(L){return L.search("gesture")===0}},ue=se;function Se(L,R,Z,nA,sA,dA,BA){if(!R)return!1;if(R===!0){var QA=u.number(dA.width)?dA.width:dA.right-dA.left,yA=u.number(dA.height)?dA.height:dA.bottom-dA.top;if(BA=Math.min(BA,Math.abs((L==="left"||L==="right"?QA:yA)/2)),QA<0&&(L==="left"?L="right":L==="right"&&(L="left")),yA<0&&(L==="top"?L="bottom":L==="bottom"&&(L="top")),L==="left"){var RA=QA>=0?dA.left:dA.right;return Z.x<RA+BA}if(L==="top"){var DA=yA>=0?dA.top:dA.bottom;return Z.y<DA+BA}if(L==="right")return Z.x>(QA>=0?dA.right:dA.left)-BA;if(L==="bottom")return Z.y>(yA>=0?dA.bottom:dA.top)-BA}return!!u.element(nA)&&(u.element(R)?R===nA:V(nA,R,sA))}function tt(L){var R=L.iEvent,Z=L.interaction;if(Z.prepared.name==="resize"&&Z.resizeAxes){var nA=R;Z.interactable.options.resize.square?(Z.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=Z.resizeAxes,Z.resizeAxes==="x"?nA.delta.y=0:Z.resizeAxes==="y"&&(nA.delta.x=0))}}var ct,FA,bA={id:"actions/resize",before:["actions/drag"],install:function(L){var R=L.actions,Z=L.browser,nA=L.Interactable,sA=L.defaults;bA.cursors=function(dA){return dA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(Z),bA.defaultMargin=Z.supportsTouch||Z.supportsPointerEvent?20:10,nA.prototype.resizable=function(dA){return function(BA,QA,yA){return u.object(QA)?(BA.options.resize.enabled=QA.enabled!==!1,BA.setPerAction("resize",QA),BA.setOnEvents("resize",QA),u.string(QA.axis)&&/^x$|^y$|^xy$/.test(QA.axis)?BA.options.resize.axis=QA.axis:QA.axis===null&&(BA.options.resize.axis=yA.defaults.actions.resize.axis),u.bool(QA.preserveAspectRatio)?BA.options.resize.preserveAspectRatio=QA.preserveAspectRatio:u.bool(QA.square)&&(BA.options.resize.square=QA.square),BA):u.bool(QA)?(BA.options.resize.enabled=QA,BA):BA.options.resize}(this,dA,L)},R.map.resize=bA,R.methodDict.resize="resizable",sA.actions.resize=bA.defaults},listeners:{"interactions:new":function(L){L.interaction.resizeAxes="xy"},"interactions:action-start":function(L){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,dA=nA.rect;nA._rects={start:q({},dA),corrected:q({},dA),previous:q({},dA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},sA.edges=nA.prepared.edges,sA.rect=nA._rects.corrected,sA.deltaRect=nA._rects.delta}})(L),tt(L)},"interactions:action-move":function(L){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,dA=nA.interactable.options.resize.invert,BA=dA==="reposition"||dA==="negate",QA=nA.rect,yA=nA._rects,RA=yA.start,DA=yA.corrected,HA=yA.delta,VA=yA.previous;if(q(VA,DA),BA){if(q(DA,QA),dA==="reposition"){if(DA.top>DA.bottom){var ge=DA.top;DA.top=DA.bottom,DA.bottom=ge}if(DA.left>DA.right){var le=DA.left;DA.left=DA.right,DA.right=le}}}else DA.top=Math.min(QA.top,RA.bottom),DA.bottom=Math.max(QA.bottom,RA.top),DA.left=Math.min(QA.left,RA.right),DA.right=Math.max(QA.right,RA.left);for(var he in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)HA[he]=DA[he]-VA[he];sA.edges=nA.prepared.edges,sA.rect=DA,sA.deltaRect=HA}})(L),tt(L)},"interactions:action-end":function(L){var R=L.iEvent,Z=L.interaction;if(Z.prepared.name==="resize"&&Z.prepared.edges){var nA=R;nA.edges=Z.prepared.edges,nA.rect=Z._rects.corrected,nA.deltaRect=Z._rects.delta}},"auto-start:check":function(L){var R=L.interaction,Z=L.interactable,nA=L.element,sA=L.rect,dA=L.buttons;if(sA){var BA=q({},R.coords.cur.page),QA=Z.options.resize;if(QA&&QA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||dA&QA.mouseButtons)){if(u.object(QA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var RA in yA)yA[RA]=Se(RA,QA.edges[RA],BA,R._latestPointer.eventTarget,nA,sA,QA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(L.action={name:"resize",edges:yA})}else{var DA=QA.axis!=="y"&&BA.x>sA.right-bA.defaultMargin,HA=QA.axis!=="x"&&BA.y>sA.bottom-bA.defaultMargin;(DA||HA)&&(L.action={name:"resize",axes:(DA?"x":"")+(HA?"y":"")})}return!L.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(L){var R=L.edges,Z=L.axis,nA=L.name,sA=bA.cursors,dA=null;if(Z)dA=sA[nA+Z];else if(R){for(var BA="",QA=0,yA=["top","bottom","left","right"];QA<yA.length;QA++){var RA=yA[QA];R[RA]&&(BA+=RA)}dA=sA[BA]}return dA},filterEventType:function(L){return L.search("resize")===0},defaultMargin:null},PA=bA,WA={id:"actions",install:function(L){L.usePlugin(ue),L.usePlugin(PA),L.usePlugin(h),L.usePlugin(re)}},ZA=0,Ie={request:function(L){return ct(L)},cancel:function(L){return FA(L)},init:function(L){if(ct=L.requestAnimationFrame,FA=L.cancelAnimationFrame,!ct)for(var R=["ms","moz","webkit","o"],Z=0;Z<R.length;Z++){var nA=R[Z];ct=L["".concat(nA,"RequestAnimationFrame")],FA=L["".concat(nA,"CancelAnimationFrame")]||L["".concat(nA,"CancelRequestAnimationFrame")]}ct=ct&&ct.bind(L),FA=FA&&FA.bind(L),ct||(ct=function(sA){var dA=Date.now(),BA=Math.max(0,16-(dA-ZA)),QA=L.setTimeout(function(){sA(dA+BA)},BA);return ZA=dA+BA,QA},FA=function(sA){return clearTimeout(sA)})}},ie={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(L){ie.isScrolling=!0,Ie.cancel(ie.i),L.autoScroll=ie,ie.interaction=L,ie.prevTime=ie.now(),ie.i=Ie.request(ie.scroll)},stop:function(){ie.isScrolling=!1,ie.interaction&&(ie.interaction.autoScroll=null),Ie.cancel(ie.i)},scroll:function(){var L=ie.interaction,R=L.interactable,Z=L.element,nA=L.prepared.name,sA=R.options[nA].autoScroll,dA=Me(sA.container,R,Z),BA=ie.now(),QA=(BA-ie.prevTime)/1e3,yA=sA.speed*QA;if(yA>=1){var RA={x:ie.x*yA,y:ie.y*yA};if(RA.x||RA.y){var DA=qe(dA);u.window(dA)?dA.scrollBy(RA.x,RA.y):dA&&(dA.scrollLeft+=RA.x,dA.scrollTop+=RA.y);var HA=qe(dA),VA={x:HA.x-DA.x,y:HA.y-DA.y};(VA.x||VA.y)&&R.fire({type:"autoscroll",target:Z,interactable:R,delta:VA,interaction:L,container:dA})}ie.prevTime=BA}ie.isScrolling&&(Ie.cancel(ie.i),ie.i=Ie.request(ie.scroll))},check:function(L,R){var Z;return(Z=L.options[R].autoScroll)==null?void 0:Z.enabled},onInteractionMove:function(L){var R=L.interaction,Z=L.pointer;if(R.interacting()&&ie.check(R.interactable,R.prepared.name))if(R.simulation)ie.x=ie.y=0;else{var nA,sA,dA,BA,QA=R.interactable,yA=R.element,RA=R.prepared.name,DA=QA.options[RA].autoScroll,HA=Me(DA.container,QA,yA);if(u.window(HA))BA=Z.clientX<ie.margin,nA=Z.clientY<ie.margin,sA=Z.clientX>HA.innerWidth-ie.margin,dA=Z.clientY>HA.innerHeight-ie.margin;else{var VA=J(HA);BA=Z.clientX<VA.left+ie.margin,nA=Z.clientY<VA.top+ie.margin,sA=Z.clientX>VA.right-ie.margin,dA=Z.clientY>VA.bottom-ie.margin}ie.x=sA?1:BA?-1:0,ie.y=dA?1:nA?-1:0,ie.isScrolling||(ie.margin=DA.margin,ie.speed=DA.speed,ie.start(R))}}};function Me(L,R,Z){return(u.string(L)?rA(L,R,Z):L)||_(Z)}function qe(L){return u.window(L)&&(L=window.document.body),{x:L.scrollLeft,y:L.scrollTop}}var Ct={id:"auto-scroll",install:function(L){var R=L.defaults,Z=L.actions;L.autoScroll=ie,ie.now=function(){return L.now()},Z.phaselessTypes.autoscroll=!0,R.perAction.autoScroll=ie.defaults},listeners:{"interactions:new":function(L){L.interaction.autoScroll=null},"interactions:destroy":function(L){L.interaction.autoScroll=null,ie.stop(),ie.interaction&&(ie.interaction=null)},"interactions:stop":ie.stop,"interactions:action-move":function(L){return ie.onInteractionMove(L)}}},ze=Ct;function At(L,R){var Z=!1;return function(){return Z||(F.console.warn(R),Z=!0),L.apply(this,arguments)}}function dt(L,R){return L.name=R.name,L.axis=R.axis,L.edges=R.edges,L}function Pe(L){return u.bool(L)?(this.options.styleCursor=L,this):L===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(L){return u.func(L)?(this.options.actionChecker=L,this):L===null?(delete this.options.actionChecker,this):this.options.actionChecker}var ft={id:"auto-start/interactableMethods",install:function(L){var R=L.Interactable;R.prototype.getAction=function(Z,nA,sA,dA){var BA=function(QA,yA,RA,DA,HA){var VA=QA.getRect(DA),ge=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],le={action:null,interactable:QA,interaction:RA,element:DA,rect:VA,buttons:ge};return HA.fire("auto-start:check",le),le.action}(this,nA,sA,dA,L);return this.options.actionChecker?this.options.actionChecker(Z,nA,BA,this,dA,sA):BA},R.prototype.ignoreFrom=At(function(Z){return this._backCompatOption("ignoreFrom",Z)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),R.prototype.allowFrom=At(function(Z){return this._backCompatOption("allowFrom",Z)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),R.prototype.actionChecker=ot,R.prototype.styleCursor=Pe}};function nt(L,R,Z,nA,sA){return R.testIgnoreAllow(R.options[L.name],Z,nA)&&R.options[L.name].enabled&&dn(R,Z,L,sA)?L:null}function Ln(L,R,Z,nA,sA,dA,BA){for(var QA=0,yA=nA.length;QA<yA;QA++){var RA=nA[QA],DA=sA[QA],HA=RA.getAction(R,Z,L,DA);if(HA){var VA=nt(HA,RA,DA,dA,BA);if(VA)return{action:VA,interactable:RA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(L,R,Z,nA,sA){var dA=[],BA=[],QA=nA;function yA(DA){dA.push(DA),BA.push(QA)}for(;u.element(QA);){dA=[],BA=[],sA.interactables.forEachMatch(QA,yA);var RA=Ln(L,R,Z,dA,BA,nA,sA);if(RA.action&&!RA.interactable.options[RA.action.name].manualStart)return RA;QA=K(QA)}return{action:null,interactable:null,element:null}}function Vt(L,R,Z){var nA=R.action,sA=R.interactable,dA=R.element;nA=nA||{name:null},L.interactable=sA,L.element=dA,dt(L.prepared,nA),L.rect=sA&&nA.name?sA.getRect(dA):null,An(L,Z),Z.fire("autoStart:prepared",{interaction:L})}function dn(L,R,Z,nA){var sA=L.options,dA=sA[Z.name].max,BA=sA[Z.name].maxPerElement,QA=nA.autoStart.maxInteractions,yA=0,RA=0,DA=0;if(!(dA&&BA&&QA))return!1;for(var HA=0,VA=nA.interactions.list;HA<VA.length;HA++){var ge=VA[HA],le=ge.prepared.name;if(ge.interacting()&&(++yA>=QA||ge.interactable===L&&((RA+=le===Z.name?1:0)>=dA||ge.element===R&&(DA++,le===Z.name&&DA>=BA))))return!1}return QA>0}function bn(L,R){return u.number(L)?(R.autoStart.maxInteractions=L,this):R.autoStart.maxInteractions}function Ft(L,R,Z){var nA=Z.autoStart.cursorElement;nA&&nA!==L&&(nA.style.cursor=""),L.ownerDocument.documentElement.style.cursor=R,L.style.cursor=R,Z.autoStart.cursorElement=R?L:null}function An(L,R){var Z=L.interactable,nA=L.element,sA=L.prepared;if(L.pointerType==="mouse"&&Z&&Z.options.styleCursor){var dA="";if(sA.name){var BA=Z.options[sA.name].cursorChecker;dA=u.func(BA)?BA(sA,Z,nA,L._interacting):R.actions.map[sA.name].getCursor(sA)}Ft(L.element,dA||"",R)}else R.autoStart.cursorElement&&Ft(R.autoStart.cursorElement,"",R)}var Jn={id:"auto-start/base",before:["actions"],install:function(L){var R=L.interactStatic,Z=L.defaults;L.usePlugin(ft),Z.base.actionChecker=null,Z.base.styleCursor=!0,q(Z.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),R.maxInteractions=function(nA){return bn(nA,L)},L.autoStart={maxInteractions:1/0,withinInteractionLimit:dn,cursorElement:null}},listeners:{"interactions:down":function(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget;Z.interacting()||Vt(Z,Xt(Z,nA,sA,dA,R),R)},"interactions:move":function(L,R){(function(Z,nA){var sA=Z.interaction,dA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerType!=="mouse"||sA.pointerIsDown||sA.interacting()||Vt(sA,Xt(sA,dA,BA,QA,nA),nA)})(L,R),function(Z,nA){var sA=Z.interaction;if(sA.pointerIsDown&&!sA.interacting()&&sA.pointerWasMoved&&sA.prepared.name){nA.fire("autoStart:before-start",Z);var dA=sA.interactable,BA=sA.prepared.name;BA&&dA&&(dA.options[BA].manualStart||!dn(dA,sA.element,sA.prepared,nA)?sA.stop():(sA.start(sA.prepared,dA,sA.element),An(sA,nA)))}}(L,R)},"interactions:stop":function(L,R){var Z=L.interaction,nA=Z.interactable;nA&&nA.options.styleCursor&&Ft(Z.element,"",R)}},maxInteractions:bn,withinInteractionLimit:dn,validateAction:nt},en=Jn,mi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(L,R){var Z=L.interaction,nA=L.eventTarget,sA=L.dx,dA=L.dy;if(Z.prepared.name==="drag"){var BA=Math.abs(sA),QA=Math.abs(dA),yA=Z.interactable.options.drag,RA=yA.startAxis,DA=BA>QA?"x":BA<QA?"y":"xy";if(Z.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&RA!=="xy"&&RA!==DA){Z.prepared.name=null;for(var HA=nA,VA=function(le){if(le!==Z.interactable){var he=Z.interactable.options.drag;if(!he.manualStart&&le.testIgnoreAllow(he,HA,nA)){var De=le.getAction(Z.downPointer,Z.downEvent,Z,HA);if(De&&De.name==="drag"&&function(Qe,kA){if(!kA)return!1;var OA=kA.options.drag.startAxis;return Qe==="xy"||OA==="xy"||OA===Qe}(DA,le)&&en.validateAction(De,le,HA,nA,R))return le}}};u.element(HA);){var ge=R.interactables.forEachMatch(HA,VA);if(ge){Z.prepared.name="drag",Z.interactable=ge,Z.element=HA;break}HA=K(HA)}}}}}};function Ei(L){var R=L.prepared&&L.prepared.name;if(!R)return null;var Z=L.interactable.options;return Z[R].hold||Z[R].delay}var co={id:"auto-start/hold",install:function(L){var R=L.defaults;L.usePlugin(en),R.perAction.hold=0,R.perAction.delay=0},listeners:{"interactions:new":function(L){L.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(L){var R=L.interaction,Z=Ei(R);Z>0&&(R.autoStartHoldTimer=setTimeout(function(){R.start(R.prepared,R.interactable,R.element)},Z))},"interactions:move":function(L){var R=L.interaction,Z=L.duplicate;R.autoStartHoldTimer&&R.pointerWasMoved&&!Z&&(clearTimeout(R.autoStartHoldTimer),R.autoStartHoldTimer=null)},"autoStart:before-start":function(L){var R=L.interaction;Ei(R)>0&&(R.prepared.name=null)}},getHoldDuration:Ei},Qi=co,oi={id:"auto-start",install:function(L){L.usePlugin(en),L.usePlugin(Qi),L.usePlugin(mi)}},Hi=function(L){return/^(always|never|auto)$/.test(L)?(this.options.preventDefault=L,this):u.bool(L)?(this.options.preventDefault=L?"always":"never",this):this.options.preventDefault};function go(L){var R=L.interaction,Z=L.event;R.interactable&&R.interactable.checkAndPreventDefault(Z)}var ri={id:"core/interactablePreventDefault",install:function(L){var R=L.Interactable;R.prototype.preventDefault=Hi,R.prototype.checkAndPreventDefault=function(Z){return function(nA,sA,dA){var BA=nA.options.preventDefault;if(BA!=="never")if(BA!=="always"){if(sA.events.supportsPassive&&/^touch(start|move)$/.test(dA.type)){var QA=_(dA.target).document,yA=sA.getDocOptions(QA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(dA.type)||u.element(dA.target)&&z(dA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||dA.preventDefault()}else dA.preventDefault()}(this,L,Z)},L.interactions.docEvents.push({type:"dragstart",listener:function(Z){for(var nA=0,sA=L.interactions.list;nA<sA.length;nA++){var dA=sA[nA];if(dA.element&&(dA.element===Z.target||M(dA.element,Z.target)))return void dA.interactable.checkAndPreventDefault(Z)}}})},listeners:["down","move","up","cancel"].reduce(function(L,R){return L["interactions:".concat(R)]=go,L},{})};function yn(L,R){if(R.phaselessTypes[L])return!0;for(var Z in R.map)if(L.indexOf(Z)===0&&L.substr(Z.length)in R.phases)return!0;return!1}function Ki(L){var R={};for(var Z in L){var nA=L[Z];u.plainObject(nA)?R[Z]=Ki(nA):u.array(nA)?R[Z]=xe(nA):R[Z]=nA}return R}var Zo=function(){function L(R){f(this,L),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=R,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(L,[{key:"start",value:function(R,Z){var nA,sA,dA=R.phase,BA=this.interaction,QA=function(RA){var DA=RA.interactable.options[RA.prepared.name],HA=DA.modifiers;return HA&&HA.length?HA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(VA){var ge=DA[VA];return ge&&ge.enabled&&{options:ge,methods:ge._methods}}).filter(function(VA){return!!VA})}(BA);this.prepareStates(QA),this.startEdges=q({},BA.edges),this.edges=q({},this.startEdges),this.startOffset=(nA=BA.rect,sA=Z,nA?{left:sA.x-nA.left,top:sA.y-nA.top,right:nA.right-sA.x,bottom:nA.bottom-sA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:dA,pageCoords:Z,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(R){var Z=this.interaction;return R.interaction=Z,R.interactable=Z.interactable,R.element=Z.element,R.rect||(R.rect=Z.rect),R.edges||(R.edges=this.startEdges),R.startOffset=this.startOffset,R}},{key:"startAll",value:function(R){for(var Z=0,nA=this.states;Z<nA.length;Z++){var sA=nA[Z];sA.methods.start&&(R.state=sA,sA.methods.start(R))}}},{key:"setAll",value:function(R){var Z=R.phase,nA=R.preEnd,sA=R.skipModifiers,dA=R.rect,BA=R.edges;R.coords=q({},R.pageCoords),R.rect=q({},dA),R.edges=q({},BA);for(var QA=sA?this.states.slice(sA):this.states,yA=uo(R.coords,R.rect),RA=0;RA<QA.length;RA++){var DA,HA=QA[RA],VA=HA.options,ge=q({},R.coords),le=null;(DA=HA.methods)!=null&&DA.set&&this.shouldDo(VA,nA,Z)&&(R.state=HA,le=HA.methods.set(R),gA(R.edges,R.rect,{x:R.coords.x-ge.x,y:R.coords.y-ge.y})),yA.eventProps.push(le)}q(this.edges,R.edges),yA.delta.x=R.coords.x-R.pageCoords.x,yA.delta.y=R.coords.y-R.pageCoords.y,yA.rectDelta.left=R.rect.left-dA.left,yA.rectDelta.right=R.rect.right-dA.right,yA.rectDelta.top=R.rect.top-dA.top,yA.rectDelta.bottom=R.rect.bottom-dA.bottom;var he=this.result.coords,De=this.result.rect;if(he&&De){var Qe=yA.rect.left!==De.left||yA.rect.right!==De.right||yA.rect.top!==De.top||yA.rect.bottom!==De.bottom;yA.changed=Qe||he.x!==yA.coords.x||he.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(R){var Z=this.interaction,nA=R.phase,sA=Z.coords.cur,dA=Z.coords.start,BA=this.result,QA=this.startDelta,yA=BA.delta;nA==="start"&&q(this.startDelta,BA.delta);for(var RA=0,DA=[[dA,QA],[sA,yA]];RA<DA.length;RA++){var HA=DA[RA],VA=HA[0],ge=HA[1];VA.page.x+=ge.x,VA.page.y+=ge.y,VA.client.x+=ge.x,VA.client.y+=ge.y}var le=this.result.rectDelta,he=R.rect||Z.rect;he.left+=le.left,he.right+=le.right,he.top+=le.top,he.bottom+=le.bottom,he.width=he.right-he.left,he.height=he.bottom-he.top}},{key:"setAndApply",value:function(R){var Z=this.interaction,nA=R.phase,sA=R.preEnd,dA=R.skipModifiers,BA=this.setAll(this.fillArg({preEnd:sA,phase:nA,pageCoords:R.modifiedCoords||Z.coords.cur.page}));if(this.result=BA,!BA.changed&&(!dA||dA<this.states.length)&&Z.interacting())return!1;if(R.modifiedCoords){var QA=Z.coords.cur.page,yA={x:R.modifiedCoords.x-QA.x,y:R.modifiedCoords.y-QA.y};BA.coords.x+=yA.x,BA.coords.y+=yA.y,BA.delta.x+=yA.x,BA.delta.y+=yA.y}this.applyToInteraction(R)}},{key:"beforeEnd",value:function(R){var Z=R.interaction,nA=R.event,sA=this.states;if(sA&&sA.length){for(var dA=!1,BA=0;BA<sA.length;BA++){var QA=sA[BA];R.state=QA;var yA=QA.options,RA=QA.methods,DA=RA.beforeEnd&&RA.beforeEnd(R);if(DA)return this.endResult=DA,!1;dA=dA||!dA&&this.shouldDo(yA,!0,R.phase,!0)}dA&&Z.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(R){var Z=R.interaction;if(this.states&&this.states.length){var nA=q({states:this.states,interactable:Z.interactable,element:Z.element,rect:null},R);this.fillArg(nA);for(var sA=0,dA=this.states;sA<dA.length;sA++){var BA=dA[sA];nA.state=BA,BA.methods.stop&&BA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(R){this.states=[];for(var Z=0;Z<R.length;Z++){var nA=R[Z],sA=nA.options,dA=nA.methods,BA=nA.name;this.states.push({options:sA,methods:dA,index:Z,name:BA})}return this.states}},{key:"restoreInteractionCoords",value:function(R){var Z=R.interaction,nA=Z.coords,sA=Z.rect,dA=Z.modification;if(dA.result){for(var BA=dA.startDelta,QA=dA.result,yA=QA.delta,RA=QA.rectDelta,DA=0,HA=[[nA.start,BA],[nA.cur,yA]];DA<HA.length;DA++){var VA=HA[DA],ge=VA[0],le=VA[1];ge.page.x-=le.x,ge.page.y-=le.y,ge.client.x-=le.x,ge.client.y-=le.y}sA.left-=RA.left,sA.right-=RA.right,sA.top-=RA.top,sA.bottom-=RA.bottom}}},{key:"shouldDo",value:function(R,Z,nA,sA){return!(!R||R.enabled===!1||sA&&!R.endOnly||R.endOnly&&!Z||nA==="start"&&!R.setStart)}},{key:"copyFrom",value:function(R){this.startOffset=R.startOffset,this.startDelta=R.startDelta,this.startEdges=R.startEdges,this.edges=R.edges,this.states=R.states.map(function(Z){return Ki(Z)}),this.result=uo(q({},R.result.coords),q({},R.result.rect))}},{key:"destroy",value:function(){for(var R in this)this[R]=null}}]),L}();function uo(L,R){return{rect:R,coords:L,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Gn(L,R){var Z=L.defaults,nA={start:L.start,set:L.set,beforeEnd:L.beforeEnd,stop:L.stop},sA=function(dA){var BA=dA||{};for(var QA in BA.enabled=BA.enabled!==!1,Z)QA in BA||(BA[QA]=Z[QA]);var yA={options:BA,methods:nA,name:R,enable:function(){return BA.enabled=!0,yA},disable:function(){return BA.enabled=!1,yA}};return yA};return R&&typeof R=="string"&&(sA._defaults=Z,sA._methods=nA),sA}function ho(L){var R=L.iEvent,Z=L.interaction.modification.result;Z&&(R.modifiers=Z.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(L){L.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(L){var R=L.interaction;R.modification=new Zo(R)},"interactions:before-action-start":function(L){var R=L.interaction,Z=L.interaction.modification;Z.start(L,R.coords.start.page),R.edges=Z.edges,Z.applyToInteraction(L)},"interactions:before-action-move":function(L){var R=L.interaction,Z=R.modification,nA=Z.setAndApply(L);return R.edges=Z.edges,nA},"interactions:before-action-end":function(L){var R=L.interaction,Z=R.modification,nA=Z.beforeEnd(L);return R.edges=Z.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-move":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:stop":function(L){return L.interaction.modification.stop(L)}}},Wo=bs,jo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ai=function(L){I(Z,L);var R=O(Z);function Z(nA,sA,dA,BA,QA,yA,RA){var DA;f(this,Z),(DA=R.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,QA=QA||nA.element;var HA=nA.interactable,VA=(HA&&HA.options||jo).deltaSource,ge=wA(HA,QA,dA),le=BA==="start",he=BA==="end",De=le?T(DA):nA.prevEvent,Qe=le?nA.coords.start:he?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=q({},Qe.page),DA.client=q({},Qe.client),DA.rect=q({},nA.rect),DA.timeStamp=Qe.timeStamp,he||(DA.page.x-=ge.x,DA.page.y-=ge.y,DA.client.x-=ge.x,DA.client.y-=ge.y),DA.ctrlKey=sA.ctrlKey,DA.altKey=sA.altKey,DA.shiftKey=sA.shiftKey,DA.metaKey=sA.metaKey,DA.button=sA.button,DA.buttons=sA.buttons,DA.target=QA,DA.currentTarget=QA,DA.preEnd=yA,DA.type=RA||dA+(BA||""),DA.interactable=HA,DA.t0=le?nA.pointers[nA.pointers.length-1].downTime:De.t0,DA.x0=nA.coords.start.page.x-ge.x,DA.y0=nA.coords.start.page.y-ge.y,DA.clientX0=nA.coords.start.client.x-ge.x,DA.clientY0=nA.coords.start.client.y-ge.y,DA.delta=le||he?{x:0,y:0}:{x:DA[VA].x-De[VA].x,y:DA[VA].y-De[VA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=q({},nA.coords.velocity[VA]),DA.speed=cA(DA.velocity.x,DA.velocity.y),DA.swipe=he||BA==="inertiastart"?DA.getSwipe():null,DA}return b(Z,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var sA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;sA<0&&(sA+=360);var dA=112.5<=sA&&sA<247.5,BA=202.5<=sA&&sA<337.5;return{up:BA,down:!BA&&22.5<=sA&&sA<157.5,left:dA,right:!dA&&(292.5<=sA||sA<67.5),angle:sA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),Z}(Ce);Object.defineProperties(ai.prototype,{pageX:{get:function(){return this.page.x},set:function(L){this.page.x=L}},pageY:{get:function(){return this.page.y},set:function(L){this.page.y=L}},clientX:{get:function(){return this.client.x},set:function(L){this.client.x=L}},clientY:{get:function(){return this.client.y},set:function(L){this.client.y=L}},dx:{get:function(){return this.delta.x},set:function(L){this.delta.x=L}},dy:{get:function(){return this.delta.y},set:function(L){this.delta.y=L}},velocityX:{get:function(){return this.velocity.x},set:function(L){this.velocity.x=L}},velocityY:{get:function(){return this.velocity.y},set:function(L){this.velocity.y=L}}});var ys=b(function L(R,Z,nA,sA,dA){f(this,L),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=R,this.pointer=Z,this.event=nA,this.downTime=sA,this.downTarget=dA}),Ds=function(L){return L.interactable="",L.element="",L.prepared="",L.pointerIsDown="",L.pointerWasMoved="",L._proxy="",L}({}),vs=function(L){return L.start="",L.move="",L.end="",L.stop="",L.interacting="",L}({}),ks=0,_s=function(){function L(R){var Z=this,nA=R.pointerType,sA=R.scopeFire;f(this,L),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(DA){this.move(DA)},"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=ks++,this._scopeFire=sA,this.pointerType=nA;var dA=this;this._proxy={};var BA=function(DA){Object.defineProperty(Z._proxy,DA,{get:function(){return dA[DA]}})};for(var QA in Ds)BA(QA);var yA=function(DA){Object.defineProperty(Z._proxy,DA,{value:function(){return dA[DA].apply(dA,arguments)}})};for(var RA in vs)yA(RA);this._scopeFire("interactions:new",{interaction:this})}return b(L,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(R,Z,nA){var sA=this.updatePointer(R,Z,nA,!0),dA=this.pointers[sA];this._scopeFire("interactions:down",{pointer:R,event:Z,eventTarget:nA,pointerIndex:sA,pointerInfo:dA,type:"down",interaction:this})}},{key:"start",value:function(R,Z,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(R.name==="gesture"?2:1)||!Z.options[R.name].enabled)&&(dt(this.prepared,R),this.interactable=Z,this.element=nA,this.rect=Z.getRect(nA),this.edges=this.prepared.edges?q({},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(R,Z,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(R,Z,nA,!1);var sA,dA,BA=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&&(sA=this.coords.cur.client.x-this.coords.start.client.x,dA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(sA,dA)>this.pointerMoveTolerance);var QA,yA,RA,DA=this.getPointerIndex(R),HA={pointer:R,pointerIndex:DA,pointerInfo:this.pointers[DA],event:Z,type:"move",eventTarget:nA,dx:sA,dy:dA,duplicate:BA,interaction:this};BA||(QA=this.coords.velocity,yA=this.coords.delta,RA=Math.max(yA.timeStamp/1e3,.001),QA.page.x=yA.page.x/RA,QA.page.y=yA.page.y/RA,QA.client.x=yA.client.x/RA,QA.client.y=yA.client.y/RA,QA.timeStamp=RA),this._scopeFire("interactions:move",HA),BA||this.simulation||(this.interacting()&&(HA.type=null,this.move(HA)),this.pointerWasMoved&&W(this.coords.prev,this.coords.cur))}},{key:"move",value:function(R){R&&R.event||tA(this.coords.delta),(R=q({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},R||{})).phase="move",this._doPhase(R)}},{key:"pointerUp",value:function(R,Z,nA,sA){var dA=this.getPointerIndex(R);dA===-1&&(dA=this.updatePointer(R,Z,nA,!1));var BA=/cancel$/i.test(Z.type)?"cancel":"up";this._scopeFire("interactions:".concat(BA),{pointer:R,pointerIndex:dA,pointerInfo:this.pointers[dA],event:Z,eventTarget:nA,type:BA,curEventTarget:sA,interaction:this}),this.simulation||this.end(Z),this.removePointer(R,Z)}},{key:"documentBlur",value:function(R){this.end(R),this._scopeFire("interactions:blur",{event:R,type:"blur",interaction:this})}},{key:"end",value:function(R){var Z;this._ending=!0,R=R||this._latestPointer.event,this.interacting()&&(Z=this._doPhase({event:R,interaction:this,phase:"end"})),this._ending=!1,Z===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(R){var Z=zA(R);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:NA(this.pointers,function(nA){return nA.id===Z})}},{key:"getPointerInfo",value:function(R){return this.pointers[this.getPointerIndex(R)]}},{key:"updatePointer",value:function(R,Z,nA,sA){var dA,BA,QA,yA=zA(R),RA=this.getPointerIndex(R),DA=this.pointers[RA];return sA=sA!==!1&&(sA||/(down|start)$/i.test(Z.type)),DA?DA.pointer=R:(DA=new ys(yA,R,Z,null,null),RA=this.pointers.length,this.pointers.push(DA)),jA(this.coords.cur,this.pointers.map(function(HA){return HA.pointer}),this._now()),dA=this.coords.delta,BA=this.coords.prev,QA=this.coords.cur,dA.page.x=QA.page.x-BA.page.x,dA.page.y=QA.page.y-BA.page.y,dA.client.x=QA.client.x-BA.client.x,dA.client.y=QA.client.y-BA.client.y,dA.timeStamp=QA.timeStamp-BA.timeStamp,sA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,U(this.downPointer,R),this.interacting()||(W(this.coords.start,this.coords.cur),W(this.coords.prev,this.coords.cur),this.downEvent=Z,this.pointerWasMoved=!1)),this._updateLatestPointer(R,Z,nA),this._scopeFire("interactions:update-pointer",{pointer:R,event:Z,eventTarget:nA,down:sA,pointerInfo:DA,pointerIndex:RA,interaction:this}),RA}},{key:"removePointer",value:function(R,Z){var nA=this.getPointerIndex(R);if(nA!==-1){var sA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:R,event:Z,eventTarget:null,pointerIndex:nA,pointerInfo:sA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(R,Z,nA){this._latestPointer.pointer=R,this._latestPointer.event=Z,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(R,Z,nA,sA){return new ai(this,R,this.prepared.name,Z,this.element,nA,sA)}},{key:"_fireEvent",value:function(R){var Z;(Z=this.interactable)==null||Z.fire(R),(!this.prevEvent||R.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=R)}},{key:"_doPhase",value:function(R){var Z=R.event,nA=R.phase,sA=R.preEnd,dA=R.type,BA=this.rect;if(BA&&nA==="move"&&(gA(this.edges,BA,this.coords.delta[this.interactable.options.deltaSource]),BA.width=BA.right-BA.left,BA.height=BA.bottom-BA.top),this._scopeFire("interactions:before-action-".concat(nA),R)===!1)return!1;var QA=R.iEvent=this._createPreparedEvent(Z,nA,sA,dA);return this._scopeFire("interactions:action-".concat(nA),R),nA==="start"&&(this.prevEvent=QA),this._fireEvent(QA),this._scopeFire("interactions:after-action-".concat(nA),R),!0}},{key:"_now",value:function(){return Date.now()}}]),L}();function $r(L){zr(L.interaction)}function zr(L){if(!function(Z){return!(!Z.offset.pending.x&&!Z.offset.pending.y)}(L))return!1;var R=L.offset.pending;return Jr(L.coords.cur,R),Jr(L.coords.delta,R),gA(L.edges,L.rect,R),R.x=0,R.y=0,!0}function sg(L){var R=L.x,Z=L.y;this.offset.pending.x+=R,this.offset.pending.y+=Z,this.offset.total.x+=R,this.offset.total.y+=Z}function Jr(L,R){var Z=L.page,nA=L.client,sA=R.x,dA=R.y;Z.x+=sA,Z.y+=dA,nA.x+=sA,nA.y+=dA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(L){L.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(L){L.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(L){return function(R){R.pointerIsDown&&(Jr(R.coords.cur,R.offset.total),R.offset.pending.x=0,R.offset.pending.y=0)}(L.interaction)},"interactions:before-action-start":$r,"interactions:before-action-move":$r,"interactions:before-action-end":function(L){var R=L.interaction;if(zr(R))return R.move({offset:!0}),R.end(),!1},"interactions:stop":function(L){var R=L.interaction;R.offset.total.x=0,R.offset.total.y=0,R.offset.pending.x=0,R.offset.pending.y=0}}},Zr=lg,cg=function(){function L(R){f(this,L),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=R}return b(L,[{key:"start",value:function(R){var Z=this.interaction,nA=qo(Z);if(!nA||!nA.enabled)return!1;var sA=Z.coords.velocity.client,dA=cA(sA.x,sA.y),BA=this.modification||(this.modification=new Zo(Z));if(BA.copyFrom(Z.modification),this.t0=Z._now(),this.allowResume=nA.allowResume,this.v0=dA,this.currentOffset={x:0,y:0},this.startCoords=Z.coords.cur.page,this.modifierArg=BA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-Z.coords.cur.timeStamp<50&&dA>nA.minSpeed&&dA>nA.endSpeed)this.startInertia();else{if(BA.result=BA.setAll(this.modifierArg),!BA.result.changed)return!1;this.startSmoothEnd()}return Z.modification.result.rect=null,Z.offsetBy(this.targetOffset),Z._doPhase({interaction:Z,event:R,phase:"inertiastart"}),Z.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),Z.modification.result.rect=null,this.active=!0,Z.simulation=this,!0}},{key:"startInertia",value:function(){var R=this,Z=this.interaction.coords.velocity.client,nA=qo(this.interaction),sA=nA.resistance,dA=-Math.log(nA.endSpeed/this.v0)/sA;this.targetOffset={x:(Z.x-dA)/sA,y:(Z.y-dA)/sA},this.te=dA,this.lambda_v0=sA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var BA=this.modification,QA=this.modifierArg;QA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},BA.result=BA.setAll(QA),BA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+BA.result.delta.x,y:this.targetOffset.y+BA.result.delta.y}),this.onNextFrame(function(){return R.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var R=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 R.smoothEndTick()})}},{key:"onNextFrame",value:function(R){var Z=this;this.timeout=Ie.request(function(){Z.active&&R()})}},{key:"inertiaTick",value:function(){var R,Z,nA,sA,dA,BA,QA,yA=this,RA=this.interaction,DA=qo(RA).resistance,HA=(RA._now()-this.t0)/1e3;if(HA<this.te){var VA,ge=1-(Math.exp(-DA*HA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(R=0,Z=0,nA=this.targetOffset.x,sA=this.targetOffset.y,dA=this.modifiedOffset.x,BA=this.modifiedOffset.y,VA={x:Ms(QA=ge,R,nA,dA),y:Ms(QA,Z,sA,BA)}):VA={x:this.targetOffset.x*ge,y:this.targetOffset.y*ge};var le={x:VA.x-this.currentOffset.x,y:VA.y-this.currentOffset.y};this.currentOffset.x+=le.x,this.currentOffset.y+=le.y,RA.offsetBy(le),RA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else RA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var R=this,Z=this.interaction,nA=Z._now()-this.t0,sA=qo(Z).smoothEndDuration;if(nA<sA){var dA={x:Xo(nA,0,this.targetOffset.x,sA),y:Xo(nA,0,this.targetOffset.y,sA)},BA={x:dA.x-this.currentOffset.x,y:dA.y-this.currentOffset.y};this.currentOffset.x+=BA.x,this.currentOffset.y+=BA.y,Z.offsetBy(BA),Z.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return R.smoothEndTick()})}else Z.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(R){var Z=R.pointer,nA=R.event,sA=R.eventTarget,dA=this.interaction;dA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),dA.updatePointer(Z,nA,sA,!0),dA._doPhase({interaction:dA,event:nA,phase:"resume"}),W(dA.coords.prev,dA.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)}}]),L}();function qo(L){var R=L.interactable,Z=L.prepared;return R&&R.options&&Z.name&&R.options[Z.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(L){var R=L.defaults;L.usePlugin(Zr),L.usePlugin(Wo),L.actions.phases.inertiastart=!0,L.actions.phases.resume=!0,R.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(L){var R=L.interaction;R.inertia=new cg(R)},"interactions:before-action-end":function(L){var R=L.interaction,Z=L.event;return(!R._interacting||R.simulation||!R.inertia.start(Z))&&null},"interactions:down":function(L){var R=L.interaction,Z=L.eventTarget,nA=R.inertia;if(nA.active)for(var sA=Z;u.element(sA);){if(sA===R.element){nA.resume(L);break}sA=K(sA)}},"interactions:stop":function(L){var R=L.interaction.inertia;R.active&&R.stop()},"interactions:before-action-resume":function(L){var R=L.interaction.modification;R.stop(L),R.start(L,L.interaction.coords.cur.page),R.applyToInteraction(L)},"interactions:before-action-inertiastart":function(L){return L.interaction.modification.setAndApply(L)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-resume":function(L){return L.interaction.modification.restoreInteractionCoords(L)}}};function Ms(L,R,Z,nA){var sA=1-L;return sA*sA*R+2*sA*L*Z+L*L*nA}function Xo(L,R,Z,nA){return-Z*(L/=nA)*(L-2)+R}var dg=gg;function xs(L,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];if(L.immediatePropagationStopped)break;nA(L)}}var Ss=function(){function L(R){f(this,L),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=q({},R||{})}return b(L,[{key:"fire",value:function(R){var Z,nA=this.global;(Z=this.types[R.type])&&xs(R,Z),!R.propagationStopped&&nA&&(Z=nA[R.type])&&xs(R,Z)}},{key:"on",value:function(R,Z){var nA=X(R,Z);for(R in nA)this.types[R]=ye(this.types[R]||[],nA[R])}},{key:"off",value:function(R,Z){var nA=X(R,Z);for(R in nA){var sA=this.types[R];if(sA&&sA.length)for(var dA=0,BA=nA[R];dA<BA.length;dA++){var QA=BA[dA],yA=sA.indexOf(QA);yA!==-1&&sA.splice(yA,1)}}}},{key:"getRect",value:function(R){return null}}]),L}(),ug=function(){function L(R){f(this,L),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=R,U(this,R)}return b(L,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),L}();function po(L){return u.object(L)?{capture:!!L.capture,passive:!!L.passive}:{capture:!!L,passive:!1}}function at(L,R){return L===R||(typeof L=="boolean"?!!R.capture===L&&!R.passive:!!L.capture==!!R.capture&&!!L.passive==!!R.passive)}var gt={id:"events",install:function(L){var R,Z=[],nA={},sA=[],dA={add:BA,remove:QA,addDelegate:function(DA,HA,VA,ge,le){var he=po(le);if(!nA[VA]){nA[VA]=[];for(var De=0;De<sA.length;De++){var Qe=sA[De];BA(Qe,VA,yA),BA(Qe,VA,RA,!0)}}var kA=nA[VA],OA=UA(kA,function(KA){return KA.selector===DA&&KA.context===HA});OA||(OA={selector:DA,context:HA,listeners:[]},kA.push(OA)),OA.listeners.push({func:ge,options:he})},removeDelegate:function(DA,HA,VA,ge,le){var he,De=po(le),Qe=nA[VA],kA=!1;if(Qe)for(he=Qe.length-1;he>=0;he--){var OA=Qe[he];if(OA.selector===DA&&OA.context===HA){for(var KA=OA.listeners,ee=KA.length-1;ee>=0;ee--){var Be=KA[ee];if(Be.func===ge&&at(Be.options,De)){KA.splice(ee,1),KA.length||(Qe.splice(he,1),QA(HA,VA,yA),QA(HA,VA,RA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:RA,delegatedEvents:nA,documents:sA,targets:Z,supportsOptions:!1,supportsPassive:!1};function BA(DA,HA,VA,ge){if(DA.addEventListener){var le=po(ge),he=UA(Z,function(De){return De.eventTarget===DA});he||(he={eventTarget:DA,events:{}},Z.push(he)),he.events[HA]||(he.events[HA]=[]),UA(he.events[HA],function(De){return De.func===VA&&at(De.options,le)})||(DA.addEventListener(HA,VA,dA.supportsOptions?le:le.capture),he.events[HA].push({func:VA,options:le}))}}function QA(DA,HA,VA,ge){if(DA.addEventListener&&DA.removeEventListener){var le=NA(Z,function(He){return He.eventTarget===DA}),he=Z[le];if(he&&he.events)if(HA!=="all"){var De=!1,Qe=he.events[HA];if(Qe){if(VA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var OA=Qe[kA];QA(DA,HA,OA.func,OA.options)}return}for(var KA=po(ge),ee=0;ee<Qe.length;ee++){var Be=Qe[ee];if(Be.func===VA&&at(Be.options,KA)){DA.removeEventListener(HA,VA,dA.supportsOptions?KA:KA.capture),Qe.splice(ee,1),Qe.length===0&&(delete he.events[HA],De=!0);break}}}De&&!Object.keys(he.events).length&&Z.splice(le,1)}else for(HA in he.events)he.events.hasOwnProperty(HA)&&QA(DA,HA,"all")}}function yA(DA,HA){for(var VA=po(HA),ge=new ug(DA),le=nA[DA.type],he=qA(DA)[0],De=he;u.element(De);){for(var Qe=0;Qe<le.length;Qe++){var kA=le[Qe],OA=kA.selector,KA=kA.context;if(z(De,OA)&&M(KA,he)&&M(KA,De)){var ee=kA.listeners;ge.currentTarget=De;for(var Be=0;Be<ee.length;Be++){var He=ee[Be];at(He.options,VA)&&He.func(ge)}}}De=K(De)}}function RA(DA){return yA(DA,!0)}return(R=L.document)==null||R.createElement("div").addEventListener("test",null,{get capture(){return dA.supportsOptions=!0},get passive(){return dA.supportsPassive=!0}}),L.events=dA,dA}},Wr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(L){for(var R=0,Z=Wr.methodOrder;R<Z.length;R++){var nA=Z[R],sA=Wr[nA](L);if(sA)return sA}return null},simulationResume:function(L){var R=L.pointerType,Z=L.eventType,nA=L.eventTarget,sA=L.scope;if(!/down|start/i.test(Z))return null;for(var dA=0,BA=sA.interactions.list;dA<BA.length;dA++){var QA=BA[dA],yA=nA;if(QA.simulation&&QA.simulation.allowResume&&QA.pointerType===R)for(;yA;){if(yA===QA.element)return QA;yA=K(yA)}}return null},mouseOrPen:function(L){var R,Z=L.pointerId,nA=L.pointerType,sA=L.eventType,dA=L.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var BA=0,QA=dA.interactions.list;BA<QA.length;BA++){var yA=QA[BA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,Z))continue;if(yA.interacting())return yA;R||(R=yA)}}if(R)return R;for(var RA=0,DA=dA.interactions.list;RA<DA.length;RA++){var HA=DA[RA];if(!(HA.pointerType!==nA||/down/i.test(sA)&&HA.simulation))return HA}return null},hasPointer:function(L){for(var R=L.pointerId,Z=0,nA=L.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(Ns(sA,R))return sA}return null},idle:function(L){for(var R=L.pointerType,Z=0,nA=L.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(sA.pointers.length===1){var dA=sA.interactable;if(dA&&(!dA.options.gesture||!dA.options.gesture.enabled))continue}else if(sA.pointers.length>=2)continue;if(!sA.interacting()&&R===sA.pointerType)return sA}return null}};function Ns(L,R){return L.pointers.some(function(Z){return Z.id===R})}var hg=Wr,jr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(L,R){return function(Z){var nA=R.interactions.list,sA=MA(Z),dA=qA(Z),BA=dA[0],QA=dA[1],yA=[];if(/^touch/.test(Z.type)){R.prevTouchTime=R.now();for(var RA=0,DA=Z.changedTouches;RA<DA.length;RA++){var HA=DA[RA],VA={pointer:HA,pointerId:zA(HA),pointerType:sA,eventType:Z.type,eventTarget:BA,curEventTarget:QA,scope:R},ge=Rs(VA);yA.push([VA.pointer,VA.eventTarget,VA.curEventTarget,ge])}}else{var le=!1;if(!Q.supportsPointerEvent&&/mouse/.test(Z.type)){for(var he=0;he<nA.length&&!le;he++)le=nA[he].pointerType!=="mouse"&&nA[he].pointerIsDown;le=le||R.now()-R.prevTouchTime<500||Z.timeStamp===0}if(!le){var De={pointer:Z,pointerId:zA(Z),pointerType:sA,eventType:Z.type,curEventTarget:QA,eventTarget:BA,scope:R},Qe=Rs(De);yA.push([De.pointer,De.eventTarget,De.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var OA=yA[kA],KA=OA[0],ee=OA[1],Be=OA[2];OA[3][L](KA,Z,ee,Be)}}}function Rs(L){var R=L.pointerType,Z=L.scope,nA={interaction:hg.search(L),searchDetails:L};return Z.fire("interactions:find",nA),nA.interaction||Z.interactions.new({pointerType:R})}function Vo(L,R){var Z=L.doc,nA=L.scope,sA=L.options,dA=nA.interactions.docEvents,BA=nA.events,QA=BA[R];for(var yA in nA.browser.isIOS&&!sA.events&&(sA.events={passive:!1}),BA.delegatedEvents)QA(Z,yA,BA.delegateListener),QA(Z,yA,BA.delegateUseCapture,!0);for(var RA=sA&&sA.events,DA=0;DA<dA.length;DA++){var HA=dA[DA];QA(Z,HA.type,HA.listener,RA)}}var pg={id:"core/interactions",install:function(L){for(var R={},Z=0;Z<jr.length;Z++){var nA=jr[Z];R[nA]=Fs(nA,L)}var sA,dA=Q.pEventTypes;function BA(){for(var QA=0,yA=L.interactions.list;QA<yA.length;QA++){var RA=yA[QA];if(RA.pointerIsDown&&RA.pointerType==="touch"&&!RA._interacting)for(var DA=function(){var ge=VA[HA];L.documents.some(function(le){return M(le.doc,ge.downTarget)})||RA.removePointer(ge.pointer,ge.event)},HA=0,VA=RA.pointers;HA<VA.length;HA++)DA()}}(sA=r.PointerEvent?[{type:dA.down,listener:BA},{type:dA.down,listener:R.pointerDown},{type:dA.move,listener:R.pointerMove},{type:dA.up,listener:R.pointerUp},{type:dA.cancel,listener:R.pointerUp}]:[{type:"mousedown",listener:R.pointerDown},{type:"mousemove",listener:R.pointerMove},{type:"mouseup",listener:R.pointerUp},{type:"touchstart",listener:BA},{type:"touchstart",listener:R.pointerDown},{type:"touchmove",listener:R.pointerMove},{type:"touchend",listener:R.pointerUp},{type:"touchcancel",listener:R.pointerUp}]).push({type:"blur",listener:function(QA){for(var yA=0,RA=L.interactions.list;yA<RA.length;yA++)RA[yA].documentBlur(QA)}}),L.prevTouchTime=0,L.Interaction=function(QA){I(RA,QA);var yA=O(RA);function RA(){return f(this,RA),yA.apply(this,arguments)}return b(RA,[{key:"pointerMoveTolerance",get:function(){return L.interactions.pointerMoveTolerance},set:function(DA){L.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return L.now()}}]),RA}(_s),L.interactions={list:[],new:function(QA){QA.scopeFire=function(RA,DA){return L.fire(RA,DA)};var yA=new L.Interaction(QA);return L.interactions.list.push(yA),yA},listeners:R,docEvents:sA,pointerMoveTolerance:1},L.usePlugin(ri)},listeners:{"scope:add-document":function(L){return Vo(L,"add")},"scope:remove-document":function(L){return Vo(L,"remove")},"interactable:unset":function(L,R){for(var Z=L.interactable,nA=R.interactions.list.length-1;nA>=0;nA--){var sA=R.interactions.list[nA];sA.interactable===Z&&(sA.stop(),R.fire("interactions:destroy",{interaction:sA}),sA.destroy(),R.interactions.list.length>2&&R.interactions.list.splice(nA,1))}}},onDocSignal:Vo,doOnInteractions:Fs,methodNames:jr},Rt=pg,Pn=function(L){return L[L.On=0]="On",L[L.Off=1]="Off",L}(Pn||{}),fi=function(){function L(R,Z,nA,sA){f(this,L),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ss,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=Z.actions,this.target=R,this._context=Z.context||nA,this._win=_(G(R)?this._context:R),this._doc=this._win.document,this._scopeEvents=sA,this.set(Z)}return b(L,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(R,Z){return u.func(Z.onstart)&&this.on("".concat(R,"start"),Z.onstart),u.func(Z.onmove)&&this.on("".concat(R,"move"),Z.onmove),u.func(Z.onend)&&this.on("".concat(R,"end"),Z.onend),u.func(Z.oninertiastart)&&this.on("".concat(R,"inertiastart"),Z.oninertiastart),this}},{key:"updatePerActionListeners",value:function(R,Z,nA){var sA,dA=this,BA=(sA=this._actions.map[R])==null?void 0:sA.filterEventType,QA=function(yA){return(BA==null||BA(yA))&&yn(yA,dA._actions)};(u.array(Z)||u.object(Z))&&this._onOff(Pn.Off,R,Z,void 0,QA),(u.array(nA)||u.object(nA))&&this._onOff(Pn.On,R,nA,void 0,QA)}},{key:"setPerAction",value:function(R,Z){var nA=this._defaults;for(var sA in Z){var dA=sA,BA=this.options[R],QA=Z[dA];dA==="listeners"&&this.updatePerActionListeners(R,BA.listeners,QA),u.array(QA)?BA[dA]=xe(QA):u.plainObject(QA)?(BA[dA]=q(BA[dA]||{},Ki(QA)),u.object(nA.perAction[dA])&&"enabled"in nA.perAction[dA]&&(BA[dA].enabled=QA.enabled!==!1)):u.bool(QA)&&u.object(nA.perAction[dA])?BA[dA].enabled=QA:BA[dA]=QA}}},{key:"getRect",value:function(R){return R=R||(u.element(this.target)?this.target:null),u.string(this.target)&&(R=R||this._context.querySelector(this.target)),y(R)}},{key:"rectChecker",value:function(R){var Z=this;return u.func(R)?(this.getRect=function(nA){var sA=q({},R.apply(Z,nA));return"width"in sA||(sA.width=sA.right-sA.left,sA.height=sA.bottom-sA.top),sA},this):R===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(R,Z){if(G(Z)||u.object(Z)){for(var nA in this.options[R]=Z,this._actions.map)this.options[nA][R]=Z;return this}return this.options[R]}},{key:"origin",value:function(R){return this._backCompatOption("origin",R)}},{key:"deltaSource",value:function(R){return R==="page"||R==="client"?(this.options.deltaSource=R,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var R=this.target;return u.string(R)?Array.from(this._context.querySelectorAll(R)):u.func(R)&&R.getAllElements?R.getAllElements():u.element(R)?[R]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(R){return this._context===R.ownerDocument||M(this._context,R)}},{key:"testIgnoreAllow",value:function(R,Z,nA){return!this.testIgnore(R.ignoreFrom,Z,nA)&&this.testAllow(R.allowFrom,Z,nA)}},{key:"testAllow",value:function(R,Z,nA){return!R||!!u.element(nA)&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"testIgnore",value:function(R,Z,nA){return!(!R||!u.element(nA))&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"fire",value:function(R){return this.events.fire(R),this}},{key:"_onOff",value:function(R,Z,nA,sA,dA){u.object(Z)&&!u.array(Z)&&(sA=nA,nA=null);var BA=X(Z,nA,dA);for(var QA in BA){QA==="wheel"&&(QA=Q.wheelEvent);for(var yA=0,RA=BA[QA];yA<RA.length;yA++){var DA=RA[yA];yn(QA,this._actions)?this.events[R===Pn.On?"on":"off"](QA,DA):u.string(this.target)?this._scopeEvents[R===Pn.On?"addDelegate":"removeDelegate"](this.target,this._context,QA,DA,sA):this._scopeEvents[R===Pn.On?"add":"remove"](this.target,QA,DA,sA)}}return this}},{key:"on",value:function(R,Z,nA){return this._onOff(Pn.On,R,Z,nA)}},{key:"off",value:function(R,Z,nA){return this._onOff(Pn.Off,R,Z,nA)}},{key:"set",value:function(R){var Z=this._defaults;for(var nA in u.object(R)||(R={}),this.options=Ki(Z.base),this._actions.methodDict){var sA=nA,dA=this._actions.methodDict[sA];this.options[sA]={},this.setPerAction(sA,q(q({},Z.perAction),Z.actions[sA])),this[dA](R[sA])}for(var BA in R)BA!=="getRect"?u.func(this[BA])&&this[BA](R[BA]):this.rectChecker(R.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var R in this._scopeEvents.delegatedEvents)for(var Z=this._scopeEvents.delegatedEvents[R],nA=Z.length-1;nA>=0;nA--){var sA=Z[nA],dA=sA.selector,BA=sA.context,QA=sA.listeners;dA===this.target&&BA===this._context&&Z.splice(nA,1);for(var yA=QA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,R,QA[yA][0],QA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),L}(),Ls=function(){function L(R){var Z=this;f(this,L),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=R,R.addListeners({"interactable:unset":function(nA){var sA=nA.interactable,dA=sA.target,BA=u.string(dA)?Z.selectorMap[dA]:dA[Z.scope.id],QA=NA(BA,function(yA){return yA===sA});BA.splice(QA,1)}})}return b(L,[{key:"new",value:function(R,Z){Z=q(Z||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(R,Z,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(R)?(this.selectorMap[R]||(this.selectorMap[R]=[]),this.selectorMap[R].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(R,this.scope.id,{value:[],configurable:!0}),R[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:R,options:Z,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(R,Z){var nA=Z&&Z.context||this.scope.document,sA=u.string(R),dA=sA?this.selectorMap[R]:R[this.scope.id];if(dA)return UA(dA,function(BA){return BA._context===nA&&(sA||BA.inContext(R))})}},{key:"forEachMatch",value:function(R,Z){for(var nA=0,sA=this.list;nA<sA.length;nA++){var dA=sA[nA],BA=void 0;if((u.string(dA.target)?u.element(R)&&z(R,dA.target):R===dA.target)&&dA.inContext(R)&&(BA=Z(dA)),BA!==void 0)return BA}}}]),L}(),qr=function(){function L(){var R=this;f(this,L),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=Q,this.defaults=Ki(jo),this.Eventable=Ss,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var sA=function dA(BA,QA){var yA=nA.interactables.getExisting(BA,QA);return yA||((yA=nA.interactables.new(BA,QA)).events.global=dA.globalEvents),yA};return sA.getPointerAverage=vA,sA.getTouchBBox=$A,sA.getTouchDistance=XA,sA.getTouchAngle=SA,sA.getElementRect=y,sA.getElementClientRect=J,sA.matchesSelector=z,sA.closest=x,sA.globalEvents={},sA.version="1.10.27",sA.scope=nA,sA.use=function(dA,BA){return this.scope.usePlugin(dA,BA),this},sA.isSet=function(dA,BA){return!!this.scope.interactables.get(dA,BA&&BA.context)},sA.on=At(function(dA,BA,QA){if(u.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),u.array(dA)){for(var yA=0,RA=dA;yA<RA.length;yA++){var DA=RA[yA];this.on(DA,BA,QA)}return this}if(u.object(dA)){for(var HA in dA)this.on(HA,dA[HA],BA);return this}return yn(dA,this.scope.actions)?this.globalEvents[dA]?this.globalEvents[dA].push(BA):this.globalEvents[dA]=[BA]:this.scope.events.add(this.scope.document,dA,BA,{options:QA}),this},"The interact.on() method is being deprecated"),sA.off=At(function(dA,BA,QA){if(u.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),u.array(dA)){for(var yA=0,RA=dA;yA<RA.length;yA++){var DA=RA[yA];this.off(DA,BA,QA)}return this}if(u.object(dA)){for(var HA in dA)this.off(HA,dA[HA],BA);return this}var VA;return yn(dA,this.scope.actions)?dA in this.globalEvents&&(VA=this.globalEvents[dA].indexOf(BA))!==-1&&this.globalEvents[dA].splice(VA,1):this.scope.events.remove(this.scope.document,dA,BA,QA),this},"The interact.off() method is being deprecated"),sA.debug=function(){return this.scope},sA.supportsTouch=function(){return Q.supportsTouch},sA.supportsPointerEvent=function(){return Q.supportsPointerEvent},sA.stop=function(){for(var dA=0,BA=this.scope.interactions.list;dA<BA.length;dA++)BA[dA].stop();return this},sA.pointerMoveTolerance=function(dA){return u.number(dA)?(this.scope.interactions.pointerMoveTolerance=dA,this):this.scope.interactions.pointerMoveTolerance},sA.addDocument=function(dA,BA){this.scope.addDocument(dA,BA)},sA.removeDocument=function(dA){this.scope.removeDocument(dA)},sA}(this),this.InteractEvent=ai,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return R.removeDocument(nA.target)};var Z=this;this.Interactable=function(nA){I(dA,nA);var sA=O(dA);function dA(){return f(this,dA),sA.apply(this,arguments)}return b(dA,[{key:"_defaults",get:function(){return Z.defaults}},{key:"set",value:function(BA){return H(S(dA.prototype),"set",this).call(this,BA),Z.fire("interactable:set",{options:BA,interactable:this}),this}},{key:"unset",value:function(){H(S(dA.prototype),"unset",this).call(this);var BA=Z.interactables.list.indexOf(this);BA<0||(Z.interactables.list.splice(BA,1),Z.fire("interactable:unset",{interactable:this}))}}]),dA}(fi)}return b(L,[{key:"addListeners",value:function(R,Z){this.listenerMaps.push({id:Z,map:R})}},{key:"fire",value:function(R,Z){for(var nA=0,sA=this.listenerMaps;nA<sA.length;nA++){var dA=sA[nA].map[R];if(dA&&dA(Z,this,R)===!1)return!1}}},{key:"init",value:function(R){return this.isInitialized?this:function(Z,nA){return Z.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),Q.init(nA),Ie.init(nA),Z.window=nA,Z.document=nA.document,Z.usePlugin(Rt),Z.usePlugin(gt),Z}(this,R)}},{key:"pluginIsInstalled",value:function(R){var Z=R.id;return Z?!!this._plugins.map[Z]:this._plugins.list.indexOf(R)!==-1}},{key:"usePlugin",value:function(R,Z){if(!this.isInitialized)return this;if(this.pluginIsInstalled(R))return this;if(R.id&&(this._plugins.map[R.id]=R),this._plugins.list.push(R),R.install&&R.install(this,Z),R.listeners&&R.before){for(var nA=0,sA=this.listenerMaps.length,dA=R.before.reduce(function(QA,yA){return QA[yA]=!0,QA[tn(yA)]=!0,QA},{});nA<sA;nA++){var BA=this.listenerMaps[nA].id;if(BA&&(dA[BA]||dA[tn(BA)]))break}this.listenerMaps.splice(nA,0,{id:R.id,map:R.listeners})}else R.listeners&&this.listenerMaps.push({id:R.id,map:R.listeners});return this}},{key:"addDocument",value:function(R,Z){if(this.getDocIndex(R)!==-1)return!1;var nA=_(R);Z=Z?q({},Z):{},this.documents.push({doc:R,options:Z}),this.events.documents.push(R),R!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:R,window:nA,scope:this,options:Z})}},{key:"removeDocument",value:function(R){var Z=this.getDocIndex(R),nA=_(R),sA=this.documents[Z].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(Z,1),this.events.documents.splice(Z,1),this.fire("scope:remove-document",{doc:R,window:nA,scope:this,options:sA})}},{key:"getDocIndex",value:function(R){for(var Z=0;Z<this.documents.length;Z++)if(this.documents[Z].doc===R)return Z;return-1}},{key:"getDocOptions",value:function(R){var Z=this.getDocIndex(R);return Z===-1?null:this.documents[Z].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),L}();function tn(L){return L&&L.replace(/\/.*$/,"")}var Xr=new qr,Pt=Xr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;Xr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(L){var R=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var sA=nA[0],dA=nA[1];return sA in L||dA in L}),Z=function(nA,sA){for(var dA=L.range,BA=L.limits,QA=BA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:BA,yA=L.offset,RA=yA===void 0?{x:0,y:0}:yA,DA={range:dA,grid:L,x:null,y:null},HA=0;HA<R.length;HA++){var VA=R[HA],ge=VA[0],le=VA[1],he=Math.round((nA-RA.x)/L[ge]),De=Math.round((sA-RA.y)/L[le]);DA[ge]=Math.max(QA.left,Math.min(QA.right,he*L[ge]+RA.x)),DA[le]=Math.max(QA.top,Math.min(QA.bottom,De*L[le]+RA.y))}return DA};return Z.grid=L,Z.coordFields=R,Z}}),Hs={id:"snappers",install:function(L){var R=L.interactStatic;R.snappers=q(R.snappers||{},Ps),R.createSnapGrid=R.snappers.grid}},Ks=Hs,nn={start:function(L){var R=L.state,Z=L.rect,nA=L.edges,sA=L.pageCoords,dA=R.options,BA=dA.ratio,QA=dA.enabled,yA=R.options,RA=yA.equalDelta,DA=yA.modifiers;BA==="preserve"&&(BA=Z.width/Z.height),R.startCoords=q({},sA),R.startRect=q({},Z),R.ratio=BA,R.equalDelta=RA;var HA=R.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(R.xIsPrimaryAxis=!(!nA.left&&!nA.right),R.equalDelta){var VA=(HA.left?1:-1)*(HA.top?1:-1);R.edgeSign={x:VA,y:VA}}else R.edgeSign={x:HA.left?-1:1,y:HA.top?-1:1};if(QA!==!1&&q(nA,HA),DA!=null&&DA.length){var ge=new Zo(L.interaction);ge.copyFrom(L.interaction.modification),ge.prepareStates(DA),R.subModification=ge,ge.startAll(i({},L))}},set:function(L){var R=L.state,Z=L.rect,nA=L.coords,sA=R.linkedEdges,dA=q({},nA),BA=R.equalDelta?Cg:un;if(q(L.edges,sA),BA(R,R.xIsPrimaryAxis,nA,Z),!R.subModification)return null;var QA=q({},Z);gA(sA,QA,{x:nA.x-dA.x,y:nA.y-dA.y});var yA=R.subModification.setAll(i(i({},L),{},{rect:QA,edges:sA,pageCoords:nA,prevCoords:nA,prevRect:QA})),RA=yA.delta;return yA.changed&&(BA(R,Math.abs(RA.x)>Math.abs(RA.y),yA.coords,yA.rect),q(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(L,R,Z){var nA=L.startCoords,sA=L.edgeSign;R?Z.y=nA.y+(Z.x-nA.x)*sA.y:Z.x=nA.x+(Z.y-nA.y)*sA.x}function un(L,R,Z,nA){var sA=L.startRect,dA=L.startCoords,BA=L.ratio,QA=L.edgeSign;if(R){var yA=nA.width/BA;Z.y=dA.y+(yA-sA.height)*QA.y}else{var RA=nA.height*BA;Z.x=dA.x+(RA-sA.width)*QA.x}}var Bg=Gn(nn,"aspectRatio"),Vr=function(){};Vr._defaults={};var Dn=Vr;function Hn(L,R,Z){return u.func(L)?iA(L,R.interactable,R.element,[Z.x,Z.y,R]):iA(L,R.interactable,R.element)}var Ti={start:function(L){var R=L.rect,Z=L.startOffset,nA=L.state,sA=L.interaction,dA=L.pageCoords,BA=nA.options,QA=BA.elementRect,yA=q({left:0,top:0,right:0,bottom:0},BA.offset||{});if(R&&QA){var RA=Hn(BA.restriction,sA,dA);if(RA){var DA=RA.right-RA.left-R.width,HA=RA.bottom-RA.top-R.height;DA<0&&(yA.left+=DA,yA.right+=DA),HA<0&&(yA.top+=HA,yA.bottom+=HA)}yA.left+=Z.left-R.width*QA.left,yA.top+=Z.top-R.height*QA.top,yA.right+=Z.right-R.width*(1-QA.right),yA.bottom+=Z.bottom-R.height*(1-QA.bottom)}nA.offset=yA},set:function(L){var R=L.coords,Z=L.interaction,nA=L.state,sA=nA.options,dA=nA.offset,BA=Hn(sA.restriction,Z,R);if(BA){var QA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=q({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(BA);R.x=Math.max(Math.min(QA.right-dA.right,R.x),QA.left+dA.left),R.y=Math.max(Math.min(QA.bottom-dA.bottom,R.y),QA.top+dA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},pt=Gn(Ti,"restrict"),Zn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ar={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(L,R){for(var Z=0,nA=["top","left","bottom","right"];Z<nA.length;Z++){var sA=nA[Z];sA in L||(L[sA]=R[sA])}return L}var Ii={noInner:Zn,noOuter:Ar,start:function(L){var R,Z=L.interaction,nA=L.startOffset,sA=L.state,dA=sA.options;dA&&(R=uA(Hn(dA.offset,Z,Z.coords.start.page))),R=R||{x:0,y:0},sA.offset={top:R.y+nA.top,left:R.x+nA.left,bottom:R.y-nA.bottom,right:R.x-nA.right}},set:function(L){var R=L.coords,Z=L.edges,nA=L.interaction,sA=L.state,dA=sA.offset,BA=sA.options;if(Z){var QA=q({},R),yA=Hn(BA.inner,nA,QA)||{},RA=Hn(BA.outer,nA,QA)||{};Ts(yA,Zn),Ts(RA,Ar),Z.top?R.y=Math.min(Math.max(RA.top+dA.top,QA.y),yA.top+dA.top):Z.bottom&&(R.y=Math.max(Math.min(RA.bottom+dA.bottom,QA.y),yA.bottom+dA.bottom)),Z.left?R.x=Math.min(Math.max(RA.left+dA.left,QA.x),yA.left+dA.left):Z.right&&(R.x=Math.max(Math.min(RA.right+dA.right,QA.x),yA.right+dA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Gn(Ii,"restrictEdges"),Eg=q({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(L){}},Ti.defaults),Qg=Gn({start:Ti.start,set:Ti.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},er={width:1/0,height:1/0},Ui=Gn({start:function(L){return Ii.start(L)},set:function(L){var R=L.interaction,Z=L.state,nA=L.rect,sA=L.edges,dA=Z.options;if(sA){var BA=mA(Hn(dA.min,R,L.coords))||Us,QA=mA(Hn(dA.max,R,L.coords))||er;Z.options={endOnly:dA.endOnly,inner:q({},Ii.noInner),outer:q({},Ii.noOuter)},sA.top?(Z.options.inner.top=nA.bottom-BA.height,Z.options.outer.top=nA.bottom-QA.height):sA.bottom&&(Z.options.inner.bottom=nA.top+BA.height,Z.options.outer.bottom=nA.top+QA.height),sA.left?(Z.options.inner.left=nA.right-BA.width,Z.options.outer.left=nA.right-QA.width):sA.right&&(Z.options.inner.right=nA.left+BA.width,Z.options.outer.right=nA.left+QA.width),Ii.set(L),Z.options=dA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Aa={start:function(L){var R,Z=L.interaction,nA=L.interactable,sA=L.element,dA=L.rect,BA=L.state,QA=L.startOffset,yA=BA.options,RA=yA.offsetWithOrigin?function(VA){var ge=VA.interaction.element,le=uA(iA(VA.state.options.origin,null,null,[ge])),he=le||wA(VA.interactable,ge,VA.interaction.prepared.name);return he}(L):{x:0,y:0};if(yA.offset==="startCoords")R={x:Z.coords.start.page.x,y:Z.coords.start.page.y};else{var DA=iA(yA.offset,nA,sA,[Z]);(R=uA(DA)||{x:0,y:0}).x+=RA.x,R.y+=RA.y}var HA=yA.relativePoints;BA.offsets=dA&&HA&&HA.length?HA.map(function(VA,ge){return{index:ge,relativePoint:VA,x:QA.left-dA.width*VA.x+R.x,y:QA.top-dA.height*VA.y+R.y}}):[{index:0,relativePoint:null,x:R.x,y:R.y}]},set:function(L){var R=L.interaction,Z=L.coords,nA=L.state,sA=nA.options,dA=nA.offsets,BA=wA(R.interactable,R.element,R.prepared.name),QA=q({},Z),yA=[];sA.offsetWithOrigin||(QA.x-=BA.x,QA.y-=BA.y);for(var RA=0,DA=dA;RA<DA.length;RA++)for(var HA=DA[RA],VA=QA.x-HA.x,ge=QA.y-HA.y,le=0,he=sA.targets.length;le<he;le++){var De=sA.targets[le],Qe=void 0;(Qe=u.func(De)?De(VA,ge,R._proxy,HA,le):De)&&yA.push({x:(u.number(Qe.x)?Qe.x:VA)+HA.x,y:(u.number(Qe.y)?Qe.y:ge)+HA.y,range:u.number(Qe.range)?Qe.range:sA.range,source:De,index:le,offset:HA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},OA=0;OA<yA.length;OA++){var KA=yA[OA],ee=KA.range,Be=KA.x-QA.x,He=KA.y-QA.y,Ke=cA(Be,He),Oe=Ke<=ee;ee===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&ee!==1/0?Ke/ee<kA.distance/kA.range:ee===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=KA,kA.distance=Ke,kA.range=ee,kA.inRange=Oe,kA.delta.x=Be,kA.delta.y=He)}return kA.inRange&&(Z.x=kA.target.x,Z.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Gn(Aa,"snap"),Co={start:function(L){var R=L.state,Z=L.edges,nA=R.options;if(!Z)return null;L.state={options:{targets:null,relativePoints:[{x:Z.left?0:1,y:Z.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},R.targetFields=R.targetFields||[["width","height"],["x","y"]],Aa.start(L),R.offsets=L.state.offsets,L.state=R},set:function(L){var R=L.interaction,Z=L.state,nA=L.coords,sA=Z.options,dA=Z.offsets,BA={x:nA.x-dA[0].x,y:nA.y-dA[0].y};Z.options=q({},sA),Z.options.targets=[];for(var QA=0,yA=sA.targets||[];QA<yA.length;QA++){var RA=yA[QA],DA=void 0;if(DA=u.func(RA)?RA(BA.x,BA.y,R):RA){for(var HA=0,VA=Z.targetFields;HA<VA.length;HA++){var ge=VA[HA],le=ge[0],he=ge[1];if(le in DA||he in DA){DA.x=DA[le],DA.y=DA[he];break}}Z.options.targets.push(DA)}}var De=Aa.set(L);return Z.options=sA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},ea=Gn(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:pt,restrictRect:Qg,restrictSize:Ui,snapEdges:Gn({start:function(L){var R=L.edges;return R?(L.state.targetFields=L.state.targetFields||[[R.left?"left":"right",R.top?"top":"bottom"]],Co.start(L)):null},set:Co.set,defaults:q(Ki(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:ea,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Os={id:"modifiers",install:function(L){var R=L.interactStatic;for(var Z in L.usePlugin(Wo),L.usePlugin(Ks),R.modifiers=Bo,Bo){var nA=Bo[Z],sA=nA._defaults,dA=nA._methods;sA._methods=dA,L.defaults.perAction[Z]=sA}}},fg=Os,tr=function(L){I(Z,L);var R=O(Z);function Z(nA,sA,dA,BA,QA,yA){var RA;if(f(this,Z),U(T(RA=R.call(this,QA)),dA),dA!==sA&&U(T(RA),sA),RA.timeStamp=yA,RA.originalEvent=dA,RA.type=nA,RA.pointerId=zA(sA),RA.pointerType=MA(sA),RA.target=BA,RA.currentTarget=null,nA==="tap"){var DA=QA.getPointerIndex(sA);RA.dt=RA.timeStamp-QA.pointers[DA].downTime;var HA=RA.timeStamp-QA.tapTime;RA.double=!!QA.prevTap&&QA.prevTap.type!=="doubletap"&&QA.prevTap.target===RA.target&&HA<500}else nA==="doubletap"&&(RA.dt=sA.timeStamp-QA.tapTime,RA.double=!0);return RA}return b(Z,[{key:"_subtractOrigin",value:function(nA){var sA=nA.x,dA=nA.y;return this.pageX-=sA,this.pageY-=dA,this.clientX-=sA,this.clientY-=dA,this}},{key:"_addOrigin",value:function(nA){var sA=nA.x,dA=nA.y;return this.pageX+=sA,this.pageY+=dA,this.clientX+=sA,this.clientY+=dA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),Z}(Ce),wi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(L){L.pointerEvents=wi,L.defaults.actions.pointerEvents=wi.defaults,q(L.actions.phaselessTypes,wi.types)},listeners:{"interactions:new":function(L){var R=L.interaction;R.prevTap=null,R.tapTime=0},"interactions:update-pointer":function(L){var R=L.down,Z=L.pointerInfo;!R&&Z.hold||(Z.hold={duration:1/0,timeout:null})},"interactions:move":function(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget;L.duplicate||Z.pointerIsDown&&!Z.pointerWasMoved||(Z.pointerIsDown&&Tt(L),si({interaction:Z,pointer:nA,event:sA,eventTarget:dA,type:"move"},R))},"interactions:down":function(L,R){(function(Z,nA){for(var sA=Z.interaction,dA=Z.pointer,BA=Z.event,QA=Z.eventTarget,yA=Z.pointerIndex,RA=sA.pointers[yA].hold,DA=j(QA),HA={interaction:sA,pointer:dA,event:BA,eventTarget:QA,type:"hold",targets:[],path:DA,node:null},VA=0;VA<DA.length;VA++){var ge=DA[VA];HA.node=ge,nA.fire("pointerEvents:collect-targets",HA)}if(HA.targets.length){for(var le=1/0,he=0,De=HA.targets;he<De.length;he++){var Qe=De[he].eventable.options.holdDuration;Qe<le&&(le=Qe)}RA.duration=le,RA.timeout=setTimeout(function(){si({interaction:sA,eventTarget:QA,pointer:dA,event:BA,type:"hold"},nA)},le)}})(L,R),si(L,R)},"interactions:up":function(L,R){Tt(L),si(L,R),function(Z,nA){var sA=Z.interaction,dA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerWasMoved||si({interaction:sA,eventTarget:QA,pointer:dA,event:BA,type:"tap"},nA)}(L,R)},"interactions:cancel":function(L,R){Tt(L),si(L,R)}},PointerEvent:tr,fire:si,collectEventTargets:ta,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 si(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget,BA=L.type,QA=L.targets,yA=QA===void 0?ta(L,R):QA,RA=new tr(BA,nA,sA,dA,Z,R.now());R.fire("pointerEvents:new",{pointerEvent:RA});for(var DA={interaction:Z,pointer:nA,event:sA,eventTarget:dA,targets:yA,type:BA,pointerEvent:RA},HA=0;HA<yA.length;HA++){var VA=yA[HA];for(var ge in VA.props||{})RA[ge]=VA.props[ge];var le=wA(VA.eventable,VA.node);if(RA._subtractOrigin(le),RA.eventable=VA.eventable,RA.currentTarget=VA.node,VA.eventable.fire(RA),RA._addOrigin(le),RA.immediatePropagationStopped||RA.propagationStopped&&HA+1<yA.length&&yA[HA+1].node!==RA.currentTarget)break}if(R.fire("pointerEvents:fired",DA),BA==="tap"){var he=RA.double?si({interaction:Z,pointer:nA,event:sA,eventTarget:dA,type:"doubletap"},R):RA;Z.prevTap=he,Z.tapTime=he.timeStamp}return RA}function ta(L,R){var Z=L.interaction,nA=L.pointer,sA=L.event,dA=L.eventTarget,BA=L.type,QA=Z.getPointerIndex(nA),yA=Z.pointers[QA];if(BA==="tap"&&(Z.pointerWasMoved||!yA||yA.downTarget!==dA))return[];for(var RA=j(dA),DA={interaction:Z,pointer:nA,event:sA,eventTarget:dA,type:BA,path:RA,targets:[],node:null},HA=0;HA<RA.length;HA++){var VA=RA[HA];DA.node=VA,R.fire("pointerEvents:collect-targets",DA)}return BA==="hold"&&(DA.targets=DA.targets.filter(function(ge){var le,he;return ge.eventable.options.holdDuration===((le=Z.pointers[QA])==null||(he=le.hold)==null?void 0:he.duration)})),DA.targets}function Tt(L){var R=L.interaction,Z=L.pointerIndex,nA=R.pointers[Z].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var na=Object.freeze({__proto__:null,default:wi});function mo(L){var R=L.interaction;R.holdIntervalHandle&&(clearInterval(R.holdIntervalHandle),R.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(L){L.usePlugin(wi);var R=L.pointerEvents;R.defaults.holdRepeatInterval=0,R.types.holdrepeat=L.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(L,R){return L["pointerEvents:".concat(R)]=mo,L},{"pointerEvents:new":function(L){var R=L.pointerEvent;R.type==="hold"&&(R.count=(R.count||0)+1)},"pointerEvents:fired":function(L,R){var Z=L.interaction,nA=L.pointerEvent,sA=L.eventTarget,dA=L.targets;if(nA.type==="hold"&&dA.length){var BA=dA[0].eventable.options.holdRepeatInterval;BA<=0||(Z.holdIntervalHandle=setTimeout(function(){R.pointerEvents.fire({interaction:Z,eventTarget:sA,type:"hold",pointer:nA,event:nA},R)},BA))}}})},zs=$s,Ig={id:"pointer-events/interactableTargets",install:function(L){var R=L.Interactable;R.prototype.pointerEvents=function(nA){return q(this.events.options,nA),this};var Z=R.prototype._backCompatOption;R.prototype._backCompatOption=function(nA,sA){var dA=Z.call(this,nA,sA);return dA===this&&(this.events.options[nA]=sA),dA}},listeners:{"pointerEvents:collect-targets":function(L,R){var Z=L.targets,nA=L.node,sA=L.type,dA=L.eventTarget;R.interactables.forEachMatch(nA,function(BA){var QA=BA.events,yA=QA.options;QA.types[sA]&&QA.types[sA].length&&BA.testIgnoreAllow(yA,nA,dA)&&Z.push({node:nA,eventable:QA,props:{interactable:BA}})})},"interactable:new":function(L){var R=L.interactable;R.events.getRect=function(Z){return R.getRect(Z)}},"interactable:set":function(L,R){var Z=L.interactable,nA=L.options;q(Z.events.options,R.pointerEvents.defaults),q(Z.events.options,nA.pointerEvents||{})}}},wg=Ig,bg={id:"pointer-events",install:function(L){L.usePlugin(na),L.usePlugin(zs),L.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(L){var R=L.Interactable;L.actions.phases.reflow=!0,R.prototype.reflow=function(Z){return function(nA,sA,dA){for(var BA=nA.getAllElements(),QA=dA.window.Promise,yA=QA?[]:null,RA=function(){var HA=BA[DA],VA=nA.getRect(HA);if(!VA)return 1;var ge,le=UA(dA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===HA&&Qe.prepared.name===sA.name});if(le)le.move(),yA&&(ge=le._reflowPromise||new QA(function(Qe){le._reflowResolve=Qe}));else{var he=mA(VA),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:he.x,y:he.y},client:{x:he.x,y:he.y},timeStamp:dA.now()});ge=function(Qe,kA,OA,KA,ee){var Be=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Be,event:ee,pointer:ee,eventTarget:OA,phase:"reflow"};Be.interactable=kA,Be.element=OA,Be.prevEvent=ee,Be.updatePointer(ee,ee,OA,!0),tA(Be.coords.delta),dt(Be.prepared,KA),Be._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(Wn){Be._reflowResolve=Wn}):void 0;return Be._reflowPromise=on,Be.start(KA,kA,OA),Be._interacting?(Be.move(He),Be.end(ee)):(Be.stop(),Be._reflowResolve()),Be.removePointer(ee,ee),on}(dA,nA,HA,sA,De)}yA&&yA.push(ge)},DA=0;DA<BA.length&&!RA();DA++);return yA&&QA.all(yA).then(function(){return nA})}(this,Z,L)}},listeners:{"interactions:stop":function(L,R){var Z=L.interaction;Z.pointerType==="reflow"&&(Z._reflowResolve&&Z._reflowResolve(),function(nA,sA){nA.splice(nA.indexOf(sA),1)}(R.interactions.list,Z))}}},Yi=Dg;if(Pt.use(ri),Pt.use(Zr),Pt.use(yg),Pt.use(dg),Pt.use(fg),Pt.use(oi),Pt.use(WA),Pt.use(ze),Pt.use(Yi),Pt.default=Pt,d(n)==="object"&&n)try{n.exports=Pt}catch{}return Pt.default=Pt,Pt})}(Bs,Bs.exports);var p1=Bs.exports;const Jp=Id(p1),Vc=A.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:e,emit:t}){const i=n,d=t,f=A.inject(Fp),o=A.inject(Rp);if(!f)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),D=A.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 I=!1,S=!1,N=NaN,T=NaN,O=NaN,H=NaN,P=-1,v=-1,m=-1,F=-1,k=i.x,_=i.y,B=i.w,p=i.h;const u=A.ref(),l=A.reactive({i:A.toRef(i,"i"),state:D,wrapper:u,calcXY:iA});function g(aA){X(aA)}function s(){lA()}function h(aA){In(i.isDraggable)&&(D.draggable=aA)}function C(aA){In(i.isResizable)&&(D.resizable=aA)}function a(aA){In(i.isBounded)&&(D.bounded=aA)}function r(aA){D.transformScale=aA}function E(aA){D.rowHeight=aA}function Q(aA){D.maxRows=aA}function M(){D.rtl=zp()==="rtl",lA()}function x(aA){D.cols=Math.floor(aA)}f.increaseItem(l),A.onBeforeMount(()=>{D.rtl=zp()==="rtl"}),A.onMounted(()=>{f.responsive&&f.lastBreakpoint?D.cols=Op(f.lastBreakpoint,f.cols):D.cols=f.colNum,D.rowHeight=f.rowHeight,D.containerWidth=f.width!==null?f.width:100,D.margin=f.margin!==void 0?f.margin.map(Number):[10,10],D.maxRows=f.maxRows,In(i.isDraggable)?D.draggable=f.isDraggable:D.draggable=i.isDraggable,In(i.isResizable)?D.resizable=f.isResizable:D.resizable=i.isResizable,In(i.isBounded)?D.bounded=f.isBounded:D.bounded=i.isBounded,D.transformScale=f.transformScale,D.useCssTransforms=f.useCssTransforms,D.useStyleCursor=f.useStyleCursor,A.watchEffect(()=>{k=i.x,_=i.y,p=i.h,B=i.w,jt(y)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",E),o.on("setMaxRows",Q),o.on("directionchange",M),o.on("setColNum",x)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",s),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",E),o.off("setMaxRows",Q),o.off("directionchange",M),o.off("setColNum",x),b.value&&(b.value.unset(),b.value=null),f.decreaseItem(l)}),e({state:D,wrapper:u});const K=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,z=A.computed(()=>D.resizable&&!i.static),AA=A.computed(()=>f.isMirrored?!D.rtl:D.rtl),eA=A.computed(()=>(D.draggable||D.resizable)&&!i.static),V=s1("item"),$=A.computed(()=>({[V.b()]:!0,[V.bm("resizable")]:z.value,[V.bm("static")]:i.static,[V.bm("resizing")]:D.isResizing,[V.bm("dragging")]:D.isDragging,[V.bm("transform")]:D.useCssTransforms,[V.bm("rtl")]:AA.value,[V.bm("no-touch")]:K&&eA.value})),J=A.computed(()=>[V.be("resizer"),AA.value&&V.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,aA=>{D.draggable=aA}),A.watch(()=>i.static,()=>{jt(U),jt(tA)}),A.watch(()=>D.draggable,()=>{jt(U)}),A.watch(()=>i.isResizable,aA=>{D.resizable=aA}),A.watch(()=>i.isBounded,aA=>{D.bounded=aA}),A.watch(()=>D.resizable,()=>{jt(tA)}),A.watch(()=>D.rowHeight,()=>{jt(y),jt(j)}),A.watch([()=>D.cols,()=>D.containerWidth],()=>{jt(tA),jt(y),jt(j)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),A.watch(AA,()=>{jt(tA),jt(y)}),A.watch([()=>f.margin,()=>f.margin[0],()=>f.margin[1]],()=>{const aA=f.margin;!aA||aA[0]===D.margin[0]&&aA[1]===D.margin[1]||(D.margin=aA.map(Number),jt(y),jt(j))});function y(){i.x+i.w>D.cols?(k=0,B=i.w>D.cols?D.cols:i.w):(k=i.x,B=i.w);const aA=rA(k,_,B,p);D.isDragging&&(aA.top=D.dragging.top,AA.value?aA.right=D.dragging.left:aA.left=D.dragging.left),D.isResizing&&(aA.width=D.resizing.width,aA.height=D.resizing.height);let CA;D.useCssTransforms?AA.value?CA=i1(aA.top,aA.right,aA.width,aA.height):CA=n1(aA.top,aA.left,aA.width,aA.height):AA.value?CA=r1(aA.top,aA.right,aA.width,aA.height):CA=o1(aA.top,aA.left,aA.width,aA.height),D.style=CA}function j(){const aA={};for(const CA of["width","height"]){const xA=D.style[CA].match(/^(\d+)px$/);if(!xA)return;aA[CA]=xA[1]}d("container-resized",i.i,i.h,i.w,aA.height,aA.width)}function G(aA){if(i.static)return;const CA=aA.type;if(CA==="resizestart"&&D.isResizing||CA!=="resizestart"&&!D.isResizing)return;const xA=Up(aA);if(In(xA))return;const{x:zA,y:jA}=xA,Ae={width:0,height:0};let vA;switch(CA){case"resizestart":{tA(),P=B,v=p,vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing=Ae,D.isResizing=!0;break}case"resizemove":{!aA.edges.right&&!aA.edges.left&&(O=zA),!aA.edges.top&&!aA.edges.bottom&&(H=jA);const $A=Yp(O,H,zA,jA);AA.value?Ae.width=D.resizing.width-$A.deltaX/D.transformScale:Ae.width=D.resizing.width+$A.deltaX/D.transformScale,Ae.height=D.resizing.height+$A.deltaY/D.transformScale,D.resizing=Ae;break}case"resizeend":{vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}vA=wA(Ae.height,Ae.width),vA.w<i.minW&&(vA.w=i.minW),vA.w>i.maxW&&(vA.w=i.maxW),vA.h<i.minH&&(vA.h=i.minH),vA.h>i.maxH&&(vA.h=i.maxH),vA.h<1&&(vA.h=1),vA.w<1&&(vA.w=1),O=zA,H=jA,(B!==vA.w||p!==vA.h)&&d("resize",i.i,vA.h,vA.w,Ae.height,Ae.width),aA.type==="resizeend"&&(P!==B||v!==p)&&d("resized",i.i,vA.h,vA.w,Ae.height,Ae.width),o.emit("resizeEvent",aA.type,i.i,k,_,vA.h,vA.w)}function q(aA){if(i.static||D.isResizing)return;const CA=aA.type;if(CA==="dragstart"&&D.isDragging||CA!=="dragstart"&&!D.isDragging)return;const xA=Up(aA);if(In(xA))return;const{x:zA,y:jA}=xA,Ae=aA.target;if(!Ae.offsetParent)return;const vA={top:0,left:0};switch(CA){case"dragstart":{m=k,F=_;const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=SA.right/D.transformScale,ye=XA.right/D.transformScale,xe=SA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,D.dragging=vA,D.isDragging=!0;break}case"dragmove":{const XA=Yp(N,T,zA,jA);if(AA.value?vA.left=D.dragging.left-XA.deltaX/D.transformScale:vA.left=D.dragging.left+XA.deltaX/D.transformScale,vA.top=D.dragging.top+XA.deltaY/D.transformScale,D.bounded){const SA=Ae.offsetParent.clientHeight-mA(i.h,D.rowHeight,D.margin[1]);vA.top=gA(vA.top,0,SA);const MA=uA(),qA=D.containerWidth-mA(i.w,MA,D.margin[0]);vA.left=gA(vA.left,0,qA)}D.dragging=vA;break}case"dragend":{const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=SA.right/D.transformScale,ye=XA.right/D.transformScale,xe=SA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let $A;AA.value,$A=iA(vA.top,vA.left),N=zA,T=jA,(k!==$A.x||_!==$A.y)&&d("move",i.i,$A.x,$A.y),aA.type==="dragend"&&(m!==k||F!==_)&&d("moved",i.i,$A.x,$A.y),o.emit("dragEvent",aA.type,i.i,$A.x,$A.y,p,B)}function rA(aA,CA,xA,zA){const jA=uA();let Ae;return AA.value?Ae={right:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])}:Ae={left:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])},Ae}function iA(aA,CA){const xA=uA();let zA=Math.round((CA-D.margin[0])/(xA+D.margin[0])),jA=Math.round((aA-D.margin[1])/(D.rowHeight+D.margin[1]));return zA=Math.max(Math.min(zA,D.cols-B),0),jA=Math.max(Math.min(jA,D.maxRows-p),0),{x:zA,y:jA}}function uA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function mA(aA,CA,xA){return Number.isFinite(aA)?Math.round(CA*aA+Math.max(0,aA-1)*xA):aA}function gA(aA,CA,xA){return Math.max(Math.min(aA,xA),CA)}function wA(aA,CA,xA=!1){const zA=uA();let jA=Math.round((CA+D.margin[0])/(zA+D.margin[0])),Ae=0;return xA?Ae=Math.ceil((aA+D.margin[1])/(D.rowHeight+D.margin[1])):Ae=Math.round((aA+D.margin[1])/(D.rowHeight+D.margin[1])),jA=Math.max(Math.min(jA,D.cols-k),0),Ae=Math.max(Math.min(Ae,D.maxRows-_),0),{w:jA,h:Ae}}function X(aA,CA){D.containerWidth=aA}function lA(){y()}function cA(){!b.value&&u.value&&(b.value=Jp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const hA=xp(q);function U(){if(cA(),!!b.value)if(D.draggable&&!i.static){const aA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(aA),I||(I=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?hA(CA):q(CA)}))}else b.value.draggable({enabled:!1})}const W=xp(G);function tA(){if(cA(),!!b.value)if(D.resizable&&!i.static){const aA=rA(0,0,i.maxW,i.maxH),CA=rA(0,0,i.minW,i.minH),xA={edges:{left:AA.value?`.${J.value[0]}`:!1,right:AA.value?!1:`.${J.value[0]}`,bottom:`.${J.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*D.transformScale,width:CA.width*D.transformScale},max:{height:aA.height*D.transformScale,width:aA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(xA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(xA),S||(S=!0,b.value.on("resizestart resizemove resizeend",zA=>{zA.type==="resizemove"?W(zA):G(zA)}))}else b.value.resizable({enabled:!1})}return(aA,CA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:u,class:A.normalizeClass($.value),style:A.normalizeStyle(D.style)},[A.renderSlot(aA.$slots,"default"),z.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(J.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ao=typeof window<"u";var Zp;ao&&(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 Tr(){}const C1=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(C1)));const B1=ao&&("ontouchstart"in window||E1()>0),m1=B1?"pointerdown":"click";function E1(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Q1(n,e,t=window.Event){const{type:i,bubbles:d=!1,cancelable:f=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:d,cancelable:f}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,d,f)),Object.assign(b,o),n.dispatchEvent(b)}const f1="clickoutside",I1=new Set;ao&&document.addEventListener(m1,n=>{const e=n.target,t=n.composedPath&&n.composedPath();I1.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&Q1(i,{type:f1})})},!0);const w1=[["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 Ur;if(ao){for(const n of w1)if(n[1]in document){Ur=n;break}}const b1=!!Ur;A.computed(()=>!1);const y1=new Set,D1=new WeakMap;if(ao&&Ur){const n=Ur[2],e=Ur[4];document.addEventListener(e,()=>{if(y1.forEach(t=>{t.value=!1}),document[n]){const t=D1.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var so=[],v1=function(){return so.some(function(n){return n.activeTargets.length>0})},k1=function(){return so.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",_1=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)},Yr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Yr||(Yr={}));var lo=function(n){return Object.freeze(n)},M1=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,lo(this)}return n}(),Xp=function(){function n(e,t,i,d){return this.x=e,this.y=t,this.width=i,this.height=d,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,lo(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,d=e.top,f=e.right,o=e.bottom,b=e.left,D=e.width,I=e.height;return{x:t,y:i,top:d,right:f,bottom:o,left:b,width:D,height:I}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var d=n,f=d.offsetWidth,o=d.offsetHeight;return!(f||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},x1=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},Or=typeof window<"u"?window:{},ms=new WeakMap,eC=/auto|scroll/,S1=/^tb|vertical/,N1=/msie|trident/i.test(Or.navigator&&Or.navigator.userAgent),ii=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new M1((t?e:n)||0,(t?n:e)||0)},tC=lo({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),ms.has(n)&&!e)return ms.get(n);if(Vp(n))return ms.set(n,tC),tC;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),d=!N1&&t.boxSizing==="border-box",f=S1.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),D=i?0:ii(t.paddingTop),I=i?0:ii(t.paddingRight),S=i?0:ii(t.paddingBottom),N=i?0:ii(t.paddingLeft),T=i?0:ii(t.borderTopWidth),O=i?0:ii(t.borderRightWidth),H=i?0:ii(t.borderBottomWidth),P=i?0:ii(t.borderLeftWidth),v=N+I,m=D+S,F=P+O,k=T+H,_=b?n.offsetHeight-k-n.clientHeight:0,B=o?n.offsetWidth-F-n.clientWidth:0,p=d?v+F:0,u=d?m+k:0,l=i?i.width:ii(t.width)-p-B,g=i?i.height:ii(t.height)-u-_,s=l+v+B+F,h=g+m+_+k,C=lo({devicePixelContentBoxSize:$o(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),f),borderBoxSize:$o(s,h,f),contentBoxSize:$o(l,g,f),contentRect:new Xp(N,D,l,g)});return ms.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),d=i.borderBoxSize,f=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Yr.DEVICE_PIXEL_CONTENT_BOX:return o;case Yr.BORDER_BOX:return d;default:return f}},F1=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=lo([t.borderBoxSize]),this.contentBoxSize=lo([t.contentBoxSize]),this.devicePixelContentBoxSize=lo([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},R1=function(){var n=1/0,e=[];so.forEach(function(f){if(f.activeTargets.length!==0){var o=[];f.activeTargets.forEach(function(b){var D=new F1(b.target),I=oC(b.target);o.push(D),b.lastReportedSize=iC(b.target,b.observedBox),I<n&&(n=I)}),e.push(function(){f.callback.call(f.observer,o,f.observer)}),f.activeTargets.splice(0,f.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var d=i[t];d()}return n},rC=function(n){so.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},L1=function(){var n=0;for(rC(n);v1();)n=R1(),rC(n);return k1()&&_1(),n>0},eg,aC=[],G1=function(){return aC.splice(0).forEach(function(n){return n()})},P1=function(n){if(!eg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return G1()}).observe(t,i),eg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),eg()},H1=function(n){P1(function(){requestAnimationFrame(n)})},Es=0,K1=function(){return!!Es},T1=250,U1={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,Y1=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=T1),!tg){tg=!0;var i=lC(e);H1(function(){var d=!1;try{d=L1()}finally{if(tg=!1,e=i-lC(),!K1())return;d?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,U1)};document.body?t():Or.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Or.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Or.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ng=new Y1,cC=function(n){!Es&&n>0&&ng.start(),Es+=n,!Es&&ng.stop()},O1=function(n){return!Ag(n)&&!x1(n)&&getComputedStyle(n).display==="inline"},$1=function(){function n(e,t){this.target=e,this.observedBox=t||Yr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return O1(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),z1=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Qs=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},fs=function(){function n(){}return n.connect=function(e,t){var i=new z1(e,t);Qs.set(e,i)},n.observe=function(e,t,i){var d=Qs.get(e),f=d.observationTargets.length===0;gC(d.observationTargets,t)<0&&(f&&so.push(d),d.observationTargets.push(new $1(t,i&&i.box)),cC(1),ng.schedule())},n.unobserve=function(e,t){var i=Qs.get(e),d=gC(i.observationTargets,t),f=i.observationTargets.length===1;d>=0&&(f&&so.splice(so.indexOf(i),1),i.observationTargets.splice(d,1),cC(-1))},n.disconnect=function(e){var t=this,i=Qs.get(e);i.observationTargets.slice().forEach(function(d){return t.unobserve(e,d.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),J1=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");fs.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.unobserve(this,e)},n.prototype.disconnect=function(){fs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function Z1(n){var e;for(let t=0,i=n.length;t<i;++t){const d=n[t],f=Is.get(d.target);if(typeof f=="function"){const{inlineSize:o,blockSize:b}=(e=d.borderBoxSize)==null?void 0:e[0],{offsetWidth:D,offsetHeight:I}=d.target;f(Object.assign(d,{offsetWidth:D,offsetHeight:I,width:o??D,height:b??I}))}}}const dC=new(ao&&window.ResizeObserver||J1)(Z1);function uC(n,e){Is.set(n,e),dC.observe(n)}function hC(n){Is.has(n)&&(dC.unobserve(n),Is.delete(n))}function W1(n={}){let e=Tr;const t=A.watch(()=>A.unref(n.target),d=>{e(),!(!d||typeof n.onResize!="function")&&(uC(d,n.onResize),e=()=>{hC(d),e=Tr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:uC,unobserveResize:hC,unobserve:i}}const j1=A.ref(!1);A.computed(()=>j1.value);const pC="__theme_style__",ig="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ao)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[d,[f,o]]of CC.entries())t+=` html.${f} .${ig}, .${o} .${ig} { width: ${++i}px }`,BC.set(i,d);e.textContent=t,e.id=pC,document.head.appendChild(e)});const q1=A.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:e,emit:t}){const i=n,d=t,f=A.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=A.ref(i.layout),D=A.ref(),{observeResize:I,unobserveResize:S}=W1(),N=jv();N.on("resizeEvent",T),N.on("dragEvent",O),A.onBeforeMount(()=>{d("layout-before-mount",b.value)}),A.onMounted(()=>{d("layout-mounted",b.value),A.nextTick(()=>{a1(b.value),f.originalLayout=b.value,A.nextTick(()=>{g(),D.value&&I(D.value,qv(k,16)),Oo(b.value,i.verticalCompact),d("layout-updated",b.value),F(),k()})})}),A.onBeforeUnmount(()=>{N.clearAll(),D.value&&S(D.value)});function T(h,C,a,r,E,Q){u(h,C,a,r,E,Q)}function O(h,C,a,r,E,Q){p(h,C,a,r,E,Q)}A.watch(()=>f.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{d("layout-ready",b.value)}),F()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,m()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(d("update:layout",f.originalLayout),N.emit("setColNum",i.colNum)),k()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],F),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(f),increaseItem:H,decreaseItem:P})),A.provide(Rp,N),e({state:f,getItem:v,resizeEvent:u,dragEvent:p,layoutUpdate:m});function H(h){o.set(h.i,h)}function P(h){o.delete(h.i)}function v(h){return o.get(h)}function m(){if(!In(b.value)&&!In(f.originalLayout)){if(b.value.length!==f.originalLayout.length){const h=s(b.value,f.originalLayout);if(h.length>0)if(b.value.length>f.originalLayout.length)f.originalLayout=f.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));f.originalLayout=f.originalLayout.filter(a=>!C.has(a.i))}f.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",f.width),F(),d("layout-updated",b.value)}}function F(){f.mergedStyle={height:_()}}function k(){D.value&&(f.width=D.value.offsetWidth),N.emit("resizeEvent")}function _(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return Vv(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((x,{i:K,x:z,y:AA})=>({...x,[K]:{x:z,y:AA}}),{})),h==="dragmove"||h==="dragstart"?(f.placeholder.i=C,f.placeholder.x=M.x,f.placeholder.y=M.y,f.placeholder.w=Q,f.placeholder.h=E,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):A.nextTick(()=>{f.isDragging=!1}),b.value=Xc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="dragend"&&(B=void 0,d("layout-updated",b.value))}function u(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const K=Pp(b.value,{...M,w:Q,h:E}).filter(z=>z.i!==M.i);if(x=K.length>0,x){let z=1/0,AA=1/0;K.forEach(eA=>{eA.x>M.x&&(z=Math.min(z,eA.x)),eA.y>M.y&&(AA=Math.min(AA,eA.y))}),Number.isFinite(z)&&(M.w=z-M.x),Number.isFinite(AA)&&(M.h=AA-M.y)}}x||(M.w=Q,M.h=E),h==="resizestart"||h==="resizemove"?(f.placeholder.i=C,f.placeholder.x=a,f.placeholder.y=r,f.placeholder.w=M.w,f.placeholder.h=M.h,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):h&&A.nextTick(()=>{f.isDragging=!1}),i.responsive&&l(),Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="resizeend"&&d("layout-updated",b.value)}function l(){const h=g1(i.breakpoints,f.width);if(h===f.lastBreakpoint)return;const C=Op(h,i.cols);!In(f.lastBreakpoint)&&!f.layouts[f.lastBreakpoint]&&(f.layouts[f.lastBreakpoint]=qc(b.value));const a=d1(f.originalLayout,f.layouts,i.breakpoints,h,f.lastBreakpoint,C,i.verticalCompact);f.layouts[h]=a,f.lastBreakpoint!==h&&d("breakpoint-changed",h,a),b.value=a,d("update:layout",a),f.lastBreakpoint=h,N.emit("setColNum",C)}function g(){f.layouts=Object.assign({},i.responsiveLayouts)}function s(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),E=h.filter(M=>!a.has(M.i)),Q=C.filter(M=>!r.has(M.i));return E.concat(Q)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:D,class:"vgl-layout",style:A.normalizeStyle(f.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Vc,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Vc,{class:"vgl-item--placeholder",x:f.placeholder.x,y:f.placeholder.y,w:f.placeholder.w,h:f.placeholder.h,i:f.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,f.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(e){console.error("vite-plugin-css-injected-by-js",e)}})();const rt=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=Ai(),d=Et(),f=A.ref({});function o(N,T){N&&(f.value[T]=N)}let b=[];const D=()=>{if(!t.value)return;const N=new Map;for(const T of t.value)N.has(T.x)||N.set(T.x,[]),N.get(T.x).push(T);for(const T of N.values()){T.sort((H,P)=>H.y-P.y);let O=0;for(const H of T)H.y=O,O+=H.h}t.value=[...t.value]},I=e,S=()=>{I("gridItemMoved")};return A.onMounted(()=>{Object.keys(f.value).forEach(N=>{const T=f.value[N];if(!T)return;const O=new ResizeObserver(H=>{for(let P of H){const v=P.contentRect.height+28;if(t.value){const m=t.value[0].rowHeight||30,F=t.value.find(k=>k.i===N);F&&(F.contentHeight=Math.ceil((v+8)/(m+8)),F.h>0&&(F.h=Math.ceil((v+8)/(m+8))))}}D()});O.observe(T),b.push(O)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,T)=>A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(O,H)=>(A.openBlock(),A.createBlock(A.unref(Vc),{onMoved:S,key:O.i,x:O.x,y:O.y,w:O.w,h:O.h,i:O.i,class:A.normalizeClass(O.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:P=>o(P,O.i)},[A.createVNode(ro,A.mergeProps({ref_for:!0},N.list[H]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,O=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:O.name,ref_for:!0},O),null,16))),128))}}),X1={key:0,class:"btn-render-wrapper"},Nn=oe(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),d=async o=>{if(o.onClick&&e){try{(o.text||o.label)&&(i.value[o.key]=!0),await e[o.onClick](t,o)}catch(b){console.error(b+`
|
|
101
|
+
onClick: ${o.onClick}`)}i.value[o.key]=!1}},f=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip"),S=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",X1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>{var T,O;return A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(rt,{key:0,list:[f(N)]},null,8,["list"])):N.component==="BtnGroup"?(A.openBlock(),A.createBlock(S,{key:1},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,H=>(A.openBlock(),A.createBlock(I,{key:H.key,disabled:!H.tooltip,content:H.tooltip,placement:"top"},{default:A.withCtx(()=>[H.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,{key:H.key,onClick:P=>d(H),disabled:H.disabled,type:H.type,text:H.isTextBtn,link:H.isLinkBtn,plain:H.isPlainBtn||H.type!=="primary"&&!H.orange,color:H.orange?"#FAA21E":H.color,loading:i.value[H.key],class:A.normalizeClass({orangeBtn:H.orange})},{default:A.withCtx(()=>[H.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:H.icon.name,color:H.icon.color,class:A.normalizeClass({"btn-icon":H.text||H.label})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(H.text||H.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(I,{key:2,disabled:!((T=N==null?void 0:N.icon)!=null&&T.tooltip),content:(O=N==null?void 0:N.icon)==null?void 0:O.tooltip,placement:"top"},{default:A.withCtx(()=>[A.createVNode(D,{onClick:H=>d(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:A.normalizeStyle(N.style),class:A.normalizeClass({orangeBtn:N.orange,"is-icon":N.icon&&!N.text&&!N.label}),id:N.key},{default:A.withCtx(()=>{var H;return[A.createElementVNode("div",{class:A.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":N.isReverse}])},[N.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:N.icon.name,color:N.icon.color,size:((H=N==null?void 0:N.icon)==null?void 0:H.size)||"mini",class:A.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","size","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(N.text||N.label),1)],2)]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class","id"])]),_:2},1032,["disabled","content"]))],64)}),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-ecc9f604"]]),V1={key:0,class:"dropdown-render-wrapper"},Ak=oe(A.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=async(d,f)=>{if(f.onClick&&e)try{await e[f.onClick](t,d)}catch(o){console.error(o+`
|
|
102
|
+
onClick: ${f.onClick}`)}};return(d,f)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),D=A.resolveComponent("el-dropdown-menu"),I=A.resolveComponent("el-dropdown");return d.dropdowns&&d.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",V1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.dropdowns,S=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:S.key},[S.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(I,{key:0,disabled:S.disabled},{dropdown:A.withCtx(()=>[A.createVNode(D,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(S.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:T=>i(N,S)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:S.color},{default:A.withCtx(()=>{var N,T;return[S.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:(N=S.icon)==null?void 0:N.name,class:"left-icon",color:(T=S.icon)==null?void 0:T.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(S.text),1),A.createVNode(ve,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-a7966a5b"]]),ek=["title"],tk={class:"suffix-slots"},nk=oe(A.defineComponent({__name:"Input",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},suffixSlots:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=Et(),t=A.computed(()=>D.read||e.schema.read),i=A.useModel(n,"modelValue"),d=A.useAttrs(),f=A.computed(()=>d.inputColor?`--input-color: ${d.inputColor}`:"--input-color: var(--el-input-text-color)"),o=A.computed(()=>d.inputColor?`el-input--${d.styleType} el-input custom-input-color`:`el-input--${d.styleType} el-input`),b=()=>{i.value&&(i.value=i.value.trim())},D=n,I=A.inject("ruleModule",void 0),S=A.inject("pageMethodMap",{}),N=v=>{const m=["E","e","+","-"];d.type==="number"&&m.includes(v.key)&&v.preventDefault()},T=v=>{if(D.onInput&&I)try{I[D.onInput](S,v)}catch(m){console.error(m+`
|
|
103
103
|
onInput: ${D.onInput}`)}},O=v=>{if(D.onEnter&&I)try{v.stopPropagation(),I[D.onEnter](S,v)}catch(m){console.error(m+`
|
|
104
104
|
onEnter: ${D.onEnter}`)}},H=v=>{if(D.onChange&&I)try{I[D.onChange](S,v)}catch(m){console.error(m+`
|
|
105
105
|
onChange: ${D.onChange}`)}},P=()=>{if(D.onClick&&I)try{I[D.onClick](S,i.value)}catch(v){console.error(v+`
|
|
106
|
-
onClick: ${D.onClick}`)}};return(v,m)=>{const F=A.resolveComponent("el-input");return t.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:i.value||"--",style:A.normalizeStyle({color:i.value?v.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(v.onClick?"cursor-pointer":""),onClick:P},A.toDisplayString(i.value||"--"),15,ek)):(A.openBlock(),A.createBlock(F,A.mergeProps({key:1},v.$attrs,{class:o.value,style:f.value,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=k=>i.value=k),onInput:T,onChange:H,onKeydown:N,onKeyup:A.withKeys(O,["enter"]),onBlur:b,onClick:P}),A.createSlots({_:2},[v.suffixSlots&&v.suffixSlots.length>0?{name:"suffix",fn:A.withCtx(()=>[A.createElementVNode("div",tk,[A.createVNode(A.unref(rt),{list:v.suffixSlots},null,8,["list"])])]),key:"0"}:void 0]),1040,["class","style","modelValue"]))}}}),[["__scopeId","data-v-62a993ef"]]),ik={title:"单行文本",component:"Input",icon:A.h(fe,{name:"input"}),type:"basic",order:1,attrSchema:h0,render:nk},ok={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}]},rk={title:"多行文本",component:"TextArea",icon:A.h(fe,{name:"textarea"}),type:"basic",order:2,attrSchema:ok,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>BM))},ak={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"}]},sk=["onClick"],lk={key:1,class:"bold-style"},ck=oe(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Fn(),d=(b,D,I)=>{console.log(b,D,I);try{t[b](i,D,I)}catch(S){console.error(S)}},f=A.computed(()=>{const b=/\{(\d+)\}/g,D=[];let I=0,S;for(;(S=b.exec(e.description))!==null;)S.index>I&&D.push({type:"text",value:e.description.slice(I,S.index)}),D.push({type:"value",index:Number(S[1])}),I=b.lastIndex;return I<e.description.length&&D.push({type:"text",value:e.description.slice(I)}),D}),o=A.computed(()=>e.icon?e.icon:e.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:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,D)=>{const I=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(I,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(De,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.value,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(S.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof S.index=="number"&&e.values&&e.values[S.index]&&typeof e.values[S.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:T=>d(e.values[S.index].onClick,e.values[S.index].text,e.values[S.index])},A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),9,sk)):(A.openBlock(),A.createElementBlock("span",lk,A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-5ca945a3"]]),gk={title:"提示框",component:"Alert",icon:A.h(fe,{name:"alert"}),type:"assist",order:2,attrSchema:ak,render:ck},dk={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>fM)),icon:A.h(fe,{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"}]}},uk={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"}]}]},hk={title:"级联选择器",icon:A.h(fe,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:uk,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>IM))},pk={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}]},Ck={title:"JSON编辑",component:"JsonEdit",icon:A.h(fe,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:pk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>_M))},Bk={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]},mk={title:"多选框组",icon:A.h(fe,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xM)),order:4,attrSchema:Bk},Ek={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"}]},Qk={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(fe,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Ek},fk={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"}]},Ik={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),icon:A.h(fe,{name:"colorPicker"}),type:"high",order:2,attrSchema:fk},wk={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"}]},bk={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>RM)),icon:A.h(fe,{name:"custom"}),type:"high",order:99,attrSchema:wk},yk={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"}]}}]},Dk={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>GM)),icon:A.h(fe,{name:"datePicker"}),type:"basic",order:9,attrSchema:yk},vk={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"}]},kk={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>PM)),icon:A.h(fe,{name:"divider"}),type:"assist",order:6,attrSchema:vk},_k={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"}]},Mk={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>zM)),icon:A.h(fe,{name:"esign"}),type:"basic",order:11,attrSchema:_k},xk={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]},Sk={title:"单选框组",icon:A.h(fe,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ZM)),order:3.5,attrSchema:xk},Nk={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"}]},Fk={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Ax)),icon:A.h(fe,{name:"formList"}),type:"high",order:20,attrSchema:Nk},Rk={title:"栅格布局",type:"layout",icon:A.h(fe,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ex)),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"}]}}]}},Lk={title:"行内布局",icon:A.h(fe,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tx)),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"}]}},Gk={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"}]},Pk={title:"计数器",icon:A.h(fe,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ix)),attrSchema:Gk},Hk={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"}]},Kk={key:0},Tk={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et();return(i,d)=>{var o;const f=A.resolveComponent("el-input");return A.unref(t).schema.read?(A.openBlock(),A.createElementBlock("span",Kk,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(f,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(fe,{name:"password"}),type:"basic",order:3,attrSchema:Hk},Uk={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]},Yk={title:"下拉选择框",type:"basic",icon:A.h(fe,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rx)),order:3,attrSchema:Uk},Ok={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"}]},$k={title:"评分",component:"Rate",render:"ElRate",icon:A.h(fe,{name:"rate"}),type:"basic",order:12,attrSchema:Ok},zk={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"}}]},Jk={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sx)),icon:A.h(fe,{name:"input"}),type:"high",order:1,attrSchema:zk},Zk={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(fe,{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}]}},Wk={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}]}}]},jk={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>lx)),component:"Switch",icon:A.h(fe,{name:"switch"}),type:"basic",order:8,attrSchema:Wk},qk={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>cx)),icon:A.h(fe,{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"}]}}]}},Xk={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"}]},Vk={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>dx)),icon:A.h(fe,{name:"text"}),type:"assist",order:1,attrSchema:Xk},A_={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ux)),icon:A.h(fe,{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"}]}},e_={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"}]}}]},t_={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>fx)),icon:A.h(fe,{name:"upload"}),type:"basic",order:10,attrSchema:e_},n_={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"}]},i_={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>yx)),icon:A.h(fe,{name:"verifyCode"}),type:"high",order:18,attrSchema:n_},o_={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Dx)),icon:A.h(fe,{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"}]}},r_={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Fx)),icon:A.h(fe,{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"}]}},a_={title:"对象容器",icon:A.h(fe,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Gx)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},s_={},l_={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 c_(n,e){return A.openBlock(),A.createElementBlock("svg",l_,e[0]||(e[0]=[A.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 g_=oe(s_,[["render",c_]]),d_={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"}}]},u_={key:0},h_={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=Et(),i=A.useModel(n,"modelValue"),d=f=>{const o=f.map(b=>e.data.find(D=>D.key===b));t.updateSelectData(e.name,o)};return(f,o)=>{var D;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",u_,A.toDisplayString((D=i.value)==null?void 0:D.map(I=>{var S;return(S=f.data.find(N=>N.key===I))==null?void 0:S.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{data:f.data,onChange:d,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=I=>i.value=I)}),null,16,["data","modelValue"]))}}}),icon:g_,type:"basic",order:12,attrSchema:d_},p_={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"}]},C_=["title"],B_=oe(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClick:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},round:{type:Boolean},name:{},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=Et(),o=A.computed(()=>t.read||f.schema.read);A.watch(e,N=>{N&&f.clearValidate(t.name)});const b=N=>{if(t.onInput&&i)try{i[t.onInput](d,N)}catch(T){console.error(T+`
|
|
106
|
+
onClick: ${D.onClick}`)}};return(v,m)=>{const F=A.resolveComponent("el-input");return t.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:i.value||"--",style:A.normalizeStyle({color:i.value?v.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(v.onClick?"cursor-pointer":""),onClick:P},A.toDisplayString(i.value||"--"),15,ek)):(A.openBlock(),A.createBlock(F,A.mergeProps({key:1},v.$attrs,{class:o.value,style:f.value,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=k=>i.value=k),onInput:T,onChange:H,onKeydown:N,onKeyup:A.withKeys(O,["enter"]),onBlur:b,onClick:P}),A.createSlots({_:2},[v.suffixSlots&&v.suffixSlots.length>0?{name:"suffix",fn:A.withCtx(()=>[A.createElementVNode("div",tk,[A.createVNode(A.unref(rt),{list:v.suffixSlots},null,8,["list"])])]),key:"0"}:void 0]),1040,["class","style","modelValue"]))}}}),[["__scopeId","data-v-c1cefa4f"]]),ik={title:"单行文本",component:"Input",icon:A.h(fe,{name:"input"}),type:"basic",order:1,attrSchema:h0,render:nk},ok={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}]},rk={title:"多行文本",component:"TextArea",icon:A.h(fe,{name:"textarea"}),type:"basic",order:2,attrSchema:ok,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>BM))},ak={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"}]},sk=["onClick"],lk={key:1,class:"bold-style"},ck=oe(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Rn(),d=(b,D,I)=>{console.log(b,D,I);try{t[b](i,D,I)}catch(S){console.error(S)}},f=A.computed(()=>{const b=/\{(\d+)\}/g,D=[];let I=0,S;for(;(S=b.exec(e.description))!==null;)S.index>I&&D.push({type:"text",value:e.description.slice(I,S.index)}),D.push({type:"value",index:Number(S[1])}),I=b.lastIndex;return I<e.description.length&&D.push({type:"text",value:e.description.slice(I)}),D}),o=A.computed(()=>e.icon?e.icon:e.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:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,D)=>{const I=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(I,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(ve,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.value,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(S.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof S.index=="number"&&e.values&&e.values[S.index]&&typeof e.values[S.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:T=>d(e.values[S.index].onClick,e.values[S.index].text,e.values[S.index])},A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),9,sk)):(A.openBlock(),A.createElementBlock("span",lk,A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-0d095275"]]),gk={title:"提示框",component:"Alert",icon:A.h(fe,{name:"alert"}),type:"assist",order:2,attrSchema:ak,render:ck},dk={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>fM)),icon:A.h(fe,{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"}]}},uk={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"}]}]},hk={title:"级联选择器",icon:A.h(fe,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:uk,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>IM))},pk={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}]},Ck={title:"JSON编辑",component:"JsonEdit",icon:A.h(fe,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:pk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>_M))},Bk={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]},mk={title:"多选框组",icon:A.h(fe,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xM)),order:4,attrSchema:Bk},Ek={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"}]},Qk={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(fe,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Ek},fk={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"}]},Ik={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),icon:A.h(fe,{name:"colorPicker"}),type:"high",order:2,attrSchema:fk},wk={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"}]},bk={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>RM)),icon:A.h(fe,{name:"custom"}),type:"high",order:99,attrSchema:wk},yk={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"}]}}]},Dk={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>GM)),icon:A.h(fe,{name:"datePicker"}),type:"basic",order:9,attrSchema:yk},vk={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"}]},kk={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>PM)),icon:A.h(fe,{name:"divider"}),type:"assist",order:6,attrSchema:vk},_k={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"}]},Mk={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>zM)),icon:A.h(fe,{name:"esign"}),type:"basic",order:11,attrSchema:_k},xk={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]},Sk={title:"单选框组",icon:A.h(fe,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ZM)),order:3.5,attrSchema:xk},Nk={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"}]},Fk={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Ax)),icon:A.h(fe,{name:"formList"}),type:"high",order:20,attrSchema:Nk},Rk={title:"栅格布局",type:"layout",icon:A.h(fe,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ex)),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"}]}}]}},Lk={title:"行内布局",icon:A.h(fe,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tx)),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"}]}},Gk={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"}]},Pk={title:"计数器",icon:A.h(fe,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ix)),attrSchema:Gk},Hk={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"}]},Kk={key:0},Tk={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et();return(i,d)=>{var o;const f=A.resolveComponent("el-input");return A.unref(t).schema.read?(A.openBlock(),A.createElementBlock("span",Kk,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(f,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(fe,{name:"password"}),type:"basic",order:3,attrSchema:Hk},Uk={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]},Yk={title:"下拉选择框",type:"basic",icon:A.h(fe,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rx)),order:3,attrSchema:Uk},Ok={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"}]},$k={title:"评分",component:"Rate",render:"ElRate",icon:A.h(fe,{name:"rate"}),type:"basic",order:12,attrSchema:Ok},zk={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"}}]},Jk={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sx)),icon:A.h(fe,{name:"input"}),type:"high",order:1,attrSchema:zk},Zk={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(fe,{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}]}},Wk={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}]}}]},jk={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>lx)),component:"Switch",icon:A.h(fe,{name:"switch"}),type:"basic",order:8,attrSchema:Wk},qk={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>cx)),icon:A.h(fe,{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"}]}}]}},Xk={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"}]},Vk={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>dx)),icon:A.h(fe,{name:"text"}),type:"assist",order:1,attrSchema:Xk},A_={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ux)),icon:A.h(fe,{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"}]}},e_={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"}]}}]},t_={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>fx)),icon:A.h(fe,{name:"upload"}),type:"basic",order:10,attrSchema:e_},n_={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"}]},i_={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>yx)),icon:A.h(fe,{name:"verifyCode"}),type:"high",order:18,attrSchema:n_},o_={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Dx)),icon:A.h(fe,{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"}]}},r_={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xx)),icon:A.h(fe,{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"}]}},a_={title:"对象容器",icon:A.h(fe,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Fx)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},s_={},l_={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 c_(n,e){return A.openBlock(),A.createElementBlock("svg",l_,e[0]||(e[0]=[A.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 g_=oe(s_,[["render",c_]]),d_={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"}}]},u_={key:0},h_={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=Et(),i=A.useModel(n,"modelValue"),d=f=>{const o=f.map(b=>e.data.find(D=>D.key===b));t.updateSelectData(e.name,o)};return(f,o)=>{var D;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",u_,A.toDisplayString((D=i.value)==null?void 0:D.map(I=>{var S;return(S=f.data.find(N=>N.key===I))==null?void 0:S.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{data:f.data,onChange:d,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=I=>i.value=I)}),null,16,["data","modelValue"]))}}}),icon:g_,type:"basic",order:12,attrSchema:d_},p_={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"}]},C_=["title"],B_=oe(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClick:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},round:{type:Boolean},name:{},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=Et(),o=A.computed(()=>t.read||f.schema.read);A.watch(e,N=>{N&&f.clearValidate(t.name)});const b=N=>{if(t.onInput&&i)try{i[t.onInput](d,N)}catch(T){console.error(T+`
|
|
107
107
|
onInput: ${t.onInput}`)}},D=()=>{if(t.onClick&&i)try{i[t.onClick](d,e.value)}catch(N){console.error(N+`
|
|
108
108
|
onClick: ${t.onClick}`)}},I=()=>{if(t.onSearch&&i)try{i[t.onSearch](d,t.name)}catch(N){console.error(N+`
|
|
109
109
|
onSearch: ${t.onSearch}`)}},S=()=>{if(t.onClear&&i&&i[t.onClear])try{i[t.onClear](d,t.name)}catch(N){console.error(N+`
|
|
110
|
-
onClear: ${t.onClear}`)}else t.clearable&&f.setFieldValue(t.name,"","")};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-input");return o.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:e.value||"--",style:A.normalizeStyle({color:e.value?N.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(N.onClick?"cursor-pointer":""),onClick:D},A.toDisplayString(e.value||"--"),15,C_)):(A.openBlock(),A.createBlock(H,A.mergeProps({key:1},N.$attrs,{modelValue:e.value,"onUpdate:modelValue":T[0]||(T[0]=P=>e.value=P),onInput:b,disabled:N.disabled,clearable:!1,readonly:N.readonly,class:{readonlyBg:N.readonly,round:N.round},style:{width:N.width},onKeyup:A.withKeys(I,["enter"])}),A.createSlots({suffix:A.withCtx(()=>[(N.onClear||N.clearable)&&e.value&&!N.disabled?(A.openBlock(),A.createBlock(A.unref(fe),{key:0,name:"clear",onClick:S,class:"clear-icon"})):A.createCommentVNode("",!0),N.round?(A.openBlock(),A.createBlock(
|
|
111
|
-
onClick: ${e.onClick}`)}d.value=!1}};return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(I,{disabled:!o.tooltip,content:o.tooltip,placement:"top"},{default:A.withCtx(()=>[o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,A.mergeProps({key:0},o.$attrs,{onClick:f,color:o.orange?"#FAA21E":"",class:["crm-button",{"is-wire-frame":o.isWireFrame,orangeBtn:o.orange,purpleBtn:o.purple,"is-icon":o.icon&&!o.buttonText}],plain:o.isPlainBtn||!o.orange&&o.$attrs.type!=="primary",loading:d.value,style:o.style,disabled:o.disabled,id:o.name}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(
|
|
110
|
+
onClear: ${t.onClear}`)}else t.clearable&&f.setFieldValue(t.name,"","")};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-input");return o.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:e.value||"--",style:A.normalizeStyle({color:e.value?N.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(N.onClick?"cursor-pointer":""),onClick:D},A.toDisplayString(e.value||"--"),15,C_)):(A.openBlock(),A.createBlock(H,A.mergeProps({key:1},N.$attrs,{modelValue:e.value,"onUpdate:modelValue":T[0]||(T[0]=P=>e.value=P),onInput:b,disabled:N.disabled,clearable:!1,readonly:N.readonly,class:{readonlyBg:N.readonly,round:N.round},style:{width:N.width},onKeyup:A.withKeys(I,["enter"])}),A.createSlots({suffix:A.withCtx(()=>[(N.onClear||N.clearable)&&e.value&&!N.disabled?(A.openBlock(),A.createBlock(A.unref(fe),{key:0,name:"clear",onClick:S,class:"clear-icon"})):A.createCommentVNode("",!0),N.round?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-lujing2",color:"#666666",class:"cursor-pointer ml-[8px]",onClick:I})):A.createCommentVNode("",!0)]),_:2},[N.round?void 0:{name:"append",fn:A.withCtx(()=>[A.createVNode(O,{onClick:I,disabled:N.disabled},{default:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"search"})]),_:1},8,["disabled"])]),key:"0"}]),1040,["modelValue","disabled","readonly","class","style"]))}}}),[["__scopeId","data-v-3f460615"]]),m_={title:"搜索输入",component:"SearchInput",icon:A.h(fe,{name:"search"}),type:"high",order:5,attrSchema:p_,render:B_},E_={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]},Q_={title:"选择+搜索",type:"high",icon:A.h(fe,{name:"searchSelect"}),component:"SearchSelect",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Hx)),order:3,attrSchema:E_},f_={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"}]},I_=oe(A.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},isWireFrame:{type:Boolean},purple:{type:Boolean},noLoading:{type:Boolean},disabled:{type:Boolean},tooltip:{},icon:{},suffixIcon:{},style:{},isPlainBtn:{type:Boolean},name:{},isFocus:{type:Boolean}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref(!1),f=async()=>{if(e.onClick&&t){try{!e.noLoading&&e.buttonText&&(d.value=!0),await t[e.onClick](i)}catch(o){console.error(o+`
|
|
111
|
+
onClick: ${e.onClick}`)}d.value=!1}};return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(I,{disabled:!o.tooltip,content:o.tooltip,placement:"top"},{default:A.withCtx(()=>[o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,A.mergeProps({key:0},o.$attrs,{onClick:f,color:o.orange?"#FAA21E":"",class:["crm-button",{"is-wire-frame":o.isWireFrame,orangeBtn:o.orange,purpleBtn:o.purple,"is-icon":o.icon&&!o.buttonText,"is-focus":o.isFocus}],plain:o.isPlainBtn||!o.orange&&o.$attrs.type!=="primary",loading:d.value,style:o.style,disabled:o.disabled,id:o.name}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:o.icon.name,color:o.icon.color,class:A.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(A.openBlock(),A.createBlock(ve,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:A.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading","style","disabled","id"]))]),_:1},8,["disabled","content"])}}}),[["__scopeId","data-v-0bf107de"]]),w_={title:"按钮",component:"Button",icon:A.h(fe,{name:"button"}),type:"assist",order:1,attrSchema:f_,render:I_},b_={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"}]},mC=n=>{let e=[];const t=["Table","DragList","Pagination","FilterSearch","FloatCurd","Tree"];for(const i of n)t.includes(i.component)&&i.name&&!i.hidden&&e.push(i.name),i.children&&Array.isArray(i.children)&&(e=e.concat(mC(i.children)));return e},EC=n=>{var t;if(!(n!=null&&n.content))return[];let e=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(e=e.concat(mC(i.schema.items)));return e},QC=Symbol("RefManager"),y_=()=>{const n=new Map,e=new Map;function t(i){const d=i.sort().join(","),f=e.get(d);f&&f.resolve&&i.every(b=>n.has(b))&&(f.resolve(),f.resolve=null)}return{register:(i,d)=>{n.set(i,d);for(const[f]of e)t(f.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const d=i.sort().join(",");if(e.has(d))return e.get(d).promise;let f=null;const o=new Promise(b=>{f=b});return e.set(d,{promise:o,resolve:f}),t(i),o}}},fC=()=>{const n=y_();return A.provide(QC,n),n},IC=()=>{const n=A.inject(QC);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},zo=(n,e)=>{const t=IC();return t.register(n,e),()=>{t.unregister(n)}},D_={class:"tree-node-text"},v_=["title"],k_={key:0,class:"tree-node-present"},__={class:"flex gap-[8px]"},wC=oe(A.defineComponent({__name:"Component",props:{onNodeClick:{},onNodeDbClick:{},onCheckChange:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{},styleType:{},name:{},showCheckbox:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=A.ref(),o=(k,_)=>{f.value=k[t.nodeKey]},b=(k,_,B)=>{if(k&&i)try{i[k](d,{node:_,data:B})}catch(p){console.error(p+`
|
|
112
112
|
onNodeClick: ${t.onNodeClick}`)}};let D=null,I=null,S=0;function N(k,_){const B=Date.now(),p=k.id,u=I==null?void 0:I.id;p===u&&B-S<300?(D&&(clearTimeout(D),D=null),O(k,_),I=null,S=0):(D&&clearTimeout(D),I=k,S=B,D=setTimeout(()=>{T(k,_),D=null,I=null,S=0},300))}const T=(k,_)=>{if(console.log("handleNodeClick",t.onNodeClick,k,_,i),t.onNodeClick&&i)try{i[t.onNodeClick](d,{node:k,data:_})}catch(B){console.error(B+`
|
|
113
113
|
onNodeClick: ${t.onNodeClick}`)}},O=(k,_)=>{if(t.onNodeDbClick&&i)try{i[t.onNodeDbClick](d,{node:k,data:_})}catch(B){console.error(B+`
|
|
114
114
|
onNodeDbClick: ${t.onNodeDbClick}`)}},H=(k,_,B)=>{if(t.onLoad&&i)try{i[t.onLoad](d,{node:k,resolve:_,reject:B})}catch(p){console.error(p+`
|
|
115
|
-
onLoad: ${t.onLoad}`)}},P=A.ref([]);A.watch(()=>t.data,()=>{if(!t.data||!Array.isArray(t.data)||t.data.length===0)return;const _=[t.data[0][t.nodeKey]];P.value=_},{immediate:!0});const v=A.useTemplateRef("treeRef"),m=()=>{var k;return(k=v.value)==null?void 0:k.getCheckedNodes()},F=A.readonly({getCheckedNodes:m,elTreeRef:v,type:"tree"});if(t.name){const k=zo(t.name,F);A.onUnmounted(()=>{k()})}return e(F),(k,_)=>{const B=A.resolveComponent("el-tooltip"),p=A.resolveComponent("el-button"),u=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(u,A.mergeProps(k.$attrs,{onNodeClick:N,load:H,ref_key:"treeRef",ref:v,class:["crm-tree",{"modal-tree":k.styleType==="modal"}],indent:32,"current-node-key":f.value,onCurrentChange:o,"node-key":k.nodeKey,props:t.props,data:k.data,"default-expanded-keys":P.value,"show-checkbox":k.showCheckbox}),{default:A.withCtx(({node:l,data:g})=>[A.createElementVNode("div",{class:A.normalizeClass(["custom-tree-node",{"modal-tree-node":k.styleType==="modal"}])},[A.createElementVNode("div",D_,[A.createElementVNode("span",{class:A.normalizeClass(["tree-node-label",{active:g[k.nodeKey]===f.value&&k.styleType==="modal"}]),title:l.label},A.toDisplayString(l.label),11,v_),g[k.nodeKey]===f.value?(A.openBlock(),A.createElementBlock("div",k_,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",__,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(k.btns,s=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:s.key},[A.unref(kt)(s.hidden,{$node:l,$data:g})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(p,{key:0,link:"",onClick:A.withModifiers(h=>b(s.onClick||"",l,g),["stop"]),disabled:s.disabled,type:s.type},{default:A.withCtx(()=>[A.createVNode(B,{class:"box-item",effect:"dark",content:s.text,placement:"top"},{default:A.withCtx(()=>[s.icon?(A.openBlock(),A.createBlock(De,{key:0,name:s.icon.name,color:s.icon.color,class:"btn-icon"},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])],2)]),_:1},16,["class","current-node-key","node-key","props","data","default-expanded-keys","show-checkbox"])}}}),[["__scopeId","data-v-f0d5311e"]]),M_={title:"树",component:"Tree",render:wC,icon:A.h(fe,{name:"tree"}),type:"assist",order:7,attrSchema:b_},x_={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"}]},S_={title:"表格",component:"Table",icon:A.h(fe,{name:"library"}),type:"assist",order:8,attrSchema:x_,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>AS))},N_={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sS)),icon:A.h(fe,{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"}]}}]}},F_={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>cS)),icon:A.h(fe,{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"}]}},R_={class:"card-list-item"},L_={class:"card-list-item-header"},G_={class:"card-list-item-header-title"},P_={style:{display:"ruby"}},H_=["title"],K_=["title"],T_={key:0,class:"card-list-item-header-title__sub"},U_={class:"sub-title-right"},Y_={class:"card-list-item-header-btns"},O_=["onClick"],$_={key:0,class:"card-list-item-content"},z_=["title"],J_=["onClick","title"],Z_={key:1,class:"card-list-item-content--more"},W_=["title"],j_=["title"],q_={key:2,class:"card-list-item-footer"},X_={class:"card-list-item-footer-text"},bC=oe(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),d=b=>{if(b)try{t("clickBtn",b)}catch(D){console.error(D)}},f=A.ref(!1),o=b=>{b.isMore&&(f.value=!f.value)};return(b,D)=>{const I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",R_,[A.createElementVNode("div",L_,[A.createElementVNode("div",G_,[A.createElementVNode("div",P_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,S=>(A.openBlock(),A.createElementBlock("div",{key:S.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:S.color}),title:S.value},A.toDisplayString(S.value),13,H_))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:D[0]||(D[0]=S=>d(b.data.onClick))},A.toDisplayString(b.data.title),15,K_),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",T_,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",U_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:S.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(S.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Y_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.condition===void 0||S.condition===null||A.unref(kt)(S.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:T=>d(S.onClick)},[S.label?(A.openBlock(),A.createBlock(I,{key:0,class:"box-item",effect:"dark",content:S.label,placement:"top"},{default:A.withCtx(()=>[A.createVNode(De,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(De,{key:1,name:S.icon},null,8,["name"]))],8,O_)):A.createCommentVNode("",!0)],64))),128))])]),b.data.content&&b.data.content.length>0?(A.openBlock(),A.createElementBlock("div",$_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,z_),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:N=>o(S),title:S.value,style:A.normalizeStyle({color:S.color})},[A.createTextVNode(A.toDisplayString(S.value||"- -")+" ",1),S.isMore?(A.openBlock(),A.createBlock(De,{key:0,class:A.normalizeClass({"rotate-[180deg]":f.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],14,J_)]))),128))])):A.createCommentVNode("",!0),f.value?(A.openBlock(),A.createElementBlock("div",Z_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,W_),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:S.value},A.toDisplayString(S.value||"- -"),9,j_)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",q_,[A.createVNode(De,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",X_,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-13e7d3da"]]),V_={key:0,class:"empty-content"},og=oe(A.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},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),d=A.inject("pageMethodMap",{}),f=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=(F,k,_)=>{try{f.value[F](d,k,_)}catch(B){console.error(B)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map(F=>({condition:F.condition,icon:F.icon&&F.icon.name?F.icon.name:"icon-tishi",label:F.label,onClick:F.onClick})):[]),D=e.columns.find(F=>F.position==="title"),I=e.columns.find(F=>F.position==="subTitle"),S=e.columns.find(F=>F.position==="footer"),N={key:"__childList"},T=A.computed(()=>{const F=e.columns.filter(k=>k.type==="link");return e.data?e.data.map(k=>{var B;const _={subTitleRight:[],content:[],tag:[],originalData:k};if(D&&F&&F.find(p=>p.key===D.key)&&(_.titleType="link",_.onClick=(B=F.find(p=>p.key===D.key))==null?void 0:B.onClick),D&&(_.title=e.getColText(D,k),_.titleColor=k[D.key+"Color"]),I&&(_.subTitle=e.getColText(I,k),_.subTitleColor=k[I.key+"Color"]),S){const p=e.getColText(S,k);_.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${p||"- -"}`}}return e.columns.forEach(p=>{p.position==="content"?_.content.push({label:p.label,value:e.getColText(p,k),color:p.color}):p.position==="moreContent"?(_.content.push({label:p.label,value:e.getColText(p,k),isMore:k[N.key]&&k[N.key].length>0}),_.childList=k[N.key]):p.position==="tag"?_.tag.push({label:p.label,value:e.getColText(p,k)}):p.position==="subTitleRight"&&_.subTitleRight.push({label:p.label,value:e.getColText(p,k),color:p.color})}),_}):[]});let O=null;const H=A.ref(),P=A.ref(3);let v=null;const m=F=>{v||(v=window.setTimeout(()=>{P.value=Math.floor(F/330)||1,v=null},100))};return A.onMounted(()=>{A.nextTick(()=>{if(!H.value)return;O=new ResizeObserver(k=>{for(const _ of k){const B=_.contentRect.width;m(B)}}),O.observe(H.value);const F=H.value.offsetWidth;F>0&&(P.value=Math.floor(F/330)||1)})}),A.onUnmounted(()=>{O&&(O.disconnect(),O=null),v&&(clearTimeout(v),v=null)}),(F,k)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:H,class:"card-list",style:A.normalizeStyle({"--columns":P.value,"--gap":F.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.value,(_,B)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-wrapper",key:B},[A.createVNode(bC,{data:_,btns:b.value,index:B,onClickBtn:p=>o(p,_.originalData,B)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!F.data||F.data.length===0?(A.openBlock(),A.createElementBlock("div",V_,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),k[0]||(k[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-978c0140"]]),A2={title:"卡片列表",component:"CardList",render:og,icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},e2={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>fS)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},t2={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>DS)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},n2={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NS)),icon:A.h(fe,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},i2={title:"可拖拽网格容器",icon:A.h(fe,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>q8)),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:"选项"}}]}},o2={title:"气泡框",component:"Popover",render:kp,icon:A.h(fe,{name:"password"}),type:"layout",order:9},r2=["innerHTML"],a2=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,r2))}}),s2={title:"HTML",component:"HtmlRender",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:a2},l2={title:"分页",component:"Pagination",icon:A.h(fe,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>X8))},c2=oe(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),d=n,f=A.ref(!0),o=b=>{e&&e[d.onClickMenu||"onClickMenu"](t,b)};return A.watch(()=>d.data,()=>{f.value=!1,A.nextTick(()=>{f.value=!0})}),A.watch(()=>d.defaultActive,()=>{i.value.updateActiveIndex(d.defaultActive)}),(b,D)=>{var N;const I=A.resolveComponent("el-menu-item"),S=A.resolveComponent("el-menu");return((N=b.data)==null?void 0:N.length)>0&&f.value?(A.openBlock(),A.createBlock(S,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:b.mode,class:"sui-menu","default-active":b.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data,T=>(A.openBlock(),A.createBlock(I,{onClick:O=>o(T),key:T.id,index:T.id},{default:A.withCtx(()=>[T.icon?(A.openBlock(),A.createBlock(De,{key:0,name:T.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(T.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-388fb909"]]),g2={title:"Menu",component:"Menu",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:c2},d2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>AM)),icon:A.h(fe,{name:"card"}),type:"layout",order:10},u2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>RS)),icon:A.h(fe,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},h2={title:"文字提示",component:"Tooltip",render:A.defineComponent({__name:"Component",props:{children:{},content:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(i,A.mergeProps(e.$attrs,{content:e.content}),{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:e.children},null,8,["list"])])]),_:1},16,["content"])}}}),icon:A.h(fe,{name:"card"}),type:"layout",order:9,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},p2={title:"进度条",component:"NormalProgress",render:oe(A.defineComponent({__name:"NormalProgress",props:{percentage:{},width:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-progress");return A.openBlock(),A.createElementBlock("div",{class:"normal-progress",style:A.normalizeStyle({width:e.width})},[A.createVNode(i,A.mergeProps(e.$attrs,{percentage:e.percentage}),null,16,["percentage"])],4)}}}),[["__scopeId","data-v-2257060b"]]),icon:A.h(fe,{name:"card"}),type:"assist",order:10},C2=oe(A.defineComponent({__name:"IconInForm",props:{name:{},iconName:{},color:{},size:{},onClick:{},params:{},title:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref({}),f=async()=>{if(e.onClick&&t){try{d.value[e.name]=!0,await t[e.onClick](i,e)}catch(o){console.error(o+`
|
|
116
|
-
onClick: ${e.onClick}`)}d.value[e.name]=!1}};return(o,b)=>{const D=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(D,{class:"box-item",effect:"dark",content:e.title,placement:"top",disabled:!e.title},{default:A.withCtx(()=>[A.createVNode(De,{name:e.iconName,color:o.color,size:o.size,class:A.normalizeClass({"icon-in-form":!0,"cursor-pointer":e.onClick}),onClick:f,customStyle:o.style},null,8,["name","color","size","class","customStyle"])]),_:1},8,["content","disabled"])}}}),[["__scopeId","data-v-981331fe"]]),B2={title:"字体图标",component:"IconInForm",icon:A.h(fe,{name:"icon"}),type:"assist",order:9,render:C2},m2={title:"浮动查询模版",component:"FloatCurd",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>gM)),icon:A.h(fe,{name:"card"}),type:"layout",order:12},E2=Object.freeze(Object.defineProperty({__proto__:null,Alert:gk,Button:w_,Card:dk,CardList:A2,Cascader:hk,Checkbox:mk,Collapse:o_,ColorInput:Ik,ColorPicker:Qk,CurdCard:N_,Custom:bk,DatePicker:Dk,Divider:kk,DragList:i2,Esign:Mk,FilterSearch:d2,FloatCurd:m2,FormList:Fk,Grid:Rk,HtmlRender:s2,IconInForm:B2,InfiniteScroll:u2,Inline:Lk,Input:ik,InputNumber:Pk,JsonEdit:Ck,LogList:n2,Menu:g2,NormalProgress:p2,ObjGroup:a_,OfferDetails:e2,OrderProgress:t2,Pagination:l2,Password:Tk,Popover:o2,Radio:Sk,Rate:$k,SearchInput:m_,SearchSelect:Q_,Select:Yk,SelectInput:Jk,Slider:Zk,Switch:jk,Table:S_,Tabs:r_,Tag:qk,Text:Vk,TextArea:rk,Title:A_,Tooltip:h2,Transfer:h_,Tree:M_,Upload:t_,VerifyCode:i_,Wrapper:F_},Symbol.toStringTag,{value:"Module"})),Jo=()=>{const n=A.inject(Xn),e={...E2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Nn=()=>A.inject(Nu),Fn=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},Q2=A.defineComponent({__name:"Footer",setup(n){const e=Et(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,d)=>{const f=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(f,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>d[1]||(d[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(f,{onClick:d[0]||(d[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>d[2]||(d[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),f2=["id"],wn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{},pageKey:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,d=A.inject("ruleMap",{}),f=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&d[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",d[o.value]);const b=t,D=A.ref(),I=A.useModel(n,"modelValue"),S=A.useModel(n,"realValues"),N=(J,y,j)=>{j===void 0?I.value[J]=y:(S.value[J]=y,I.value[J]=j)},T=J=>S.value[J]!==void 0?S.value[J]:I.value[J],O=(J,y)=>{let j=x(P.value.items,J);j&&j.props&&(j.props.disabled=!y)},H=(J,y)=>{let j=x(P.value.items,J);j&&(j.hidden=!y)},P=A.useModel(n,"schema");if(P.value.onValuesChange){const J=A.ref(JSON.stringify(I.value));A.watch(()=>I.value,y=>{J.value=JSON.stringify(y)},{deep:!0}),A.watch(()=>J.value,(y,j)=>{const G=JSON.parse(y),q=JSON.parse(j),rA=Object.keys(G).filter(iA=>JSON.stringify(G[iA])!==JSON.stringify(q[iA]));if(!(!o.value||!P.value.onValuesChange))try{d[o.value][P.value.onValuesChange](f,rA,q,G)}catch(iA){console.error(iA)}})}const v=A.reactive({}),m=A.ref({}),F=A.ref(!1),k=Vn(),_=A.computed(()=>({...i.schemaContext,$values:I.value,$selectData:v,$locale:k.value})),B=IC();A.onMounted(async()=>{var j,G;if((j=i.schema)!=null&&j.initialValues){const q=(G=i.schema)==null?void 0:G.initialValues;E(q),I.value=ut.mergeWith(q,I.value,(rA,iA)=>{if(Array.isArray(rA))return iA})}await A.nextTick();const J=EC({content:[{type:"form",schema:P.value}]});if(await B.waitForKeys(J),!P.value||!P.value.onMounted||!o.value)return;const y=P.value.onMounted;try{d[o.value][y](f)}catch(q){console.error(q)}}),A.onActivated(()=>{if(!P.value||!P.value.onActivated||!o.value)return;const J=P.value.onActivated;try{d[o.value][J](f)}catch(y){console.error(y)}});const p=()=>{var J;return(J=D.value)==null?void 0:J.validate()},u=J=>{var y;return(y=D.value)==null?void 0:y.validateField(J)},l=J=>{const y=x(P.value.items,J);if(!y||!y.children)return Promise.resolve();const j=q=>{const rA=[];for(const iA of q)iA.label&&iA.name&&rA.push(iA.name),iA.children&&iA.children.length>0&&rA.push(...j(iA.children));return rA},G=j(y.children);return G.length===0?Promise.resolve():u(G)},g=J=>{const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=G=>{G.forEach(q=>{y.includes(q.component)?q.props&&(q.props.disabled=J):q.children&&j(q.children)})};j(P.value.items)},s=()=>{var J;(J=p())==null||J.then(()=>{b("finish",I.value)}).catch(y=>{b("failed",y)})},h=J=>{if(b("reset"),J){let y=ut.cloneDeep(I.value);J.forEach(j=>{y=ko(y,j,Ea(m.value,j))}),I.value=y}else I.value=ut.cloneDeep(A.toRaw(m.value))},C=(J,y=!0)=>{y?Object.assign(I.value,J):I.value=J},a=(J,y=!0)=>{y?Object.assign(S.value,J):S.value=J},r=(J,y)=>{v[J]=y},E=J=>{m.value={...J}},Q=()=>m.value,M=J=>{F.value=J},x=(J,y)=>{for(const j of J){if(j.name===y)return j;if(j.children&&j.children.length>0){const G=x(j.children,y);if(G)return G}}return null},K=J=>{console.log("refreshDynamicListBox",J);const y=x(P.value.items,J);!y||y.component!=="Select"||(y.props&&y.props.mode==="static"&&(Array.isArray(y.props.options)&&y.props.options.findIndex(G=>{var q;return G[((q=y.props)==null?void 0:q.valueKey)||"value"]===I.value[J]})!==-1||(I.value[J]=y.props.options[0][y.props.valueKey||"value"])),y.props&&(y.props.refreshFlag=!0))},z=J=>{var q;const y=J.target,j=Array.from(((q=y.parentElement)==null?void 0:q.classList)||[]),G=y.ariaLabel==="Page";if(j.includes("is-focus")&&!G&&P.value.onEnter&&o.value)try{d[o.value][P.value.onEnter](f)}catch(rA){console.error(rA)}},AA=J=>{var y;(y=D.value)==null||y.clearValidate(J)},eA=J=>{P.value.hidden=J},V=A.useTemplateRef("rootRef"),$=A.reactive({...A.toRefs(i),formValues:I,formRealValues:S,selectData:v,initialValues:m,context:_,vCodePass:F,updateFormValues:C,updateFormRealValues:a,updateSelectData:r,updateInitialValues:E,getInitialValues:Q,updateVCodePass:M,validate:p,validateField:u,validateByParentName:l,resetFields:h,submit:s,setDisabled:g,findItemByName:x,setFieldEditSts:O,setFieldVisibleSts:H,setFieldValue:N,getFieldValue:T,refreshDynamicListBox:K,setHidden:eA,clearValidate:AA,rootRef:V,type:"form"});return A.provide(Su,$),e($),(J,y)=>{const j=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:V,id:P.value.key,style:A.normalizeStyle(P.value.style)},[P.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(j,A.mergeProps({key:0,model:I.value,"label-position":P.value.labelPosition,size:P.value.size,"hide-required-asterisk":P.value.hideRequiredAsterisk,"scroll-to-error":P.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:D},J.$attrs,{onSubmit:y[0]||(y[0]=A.withModifiers(()=>{},["prevent"])),onKeyup:A.withKeys(z,["enter"])}),{default:A.withCtx(()=>[A.renderSlot(J.$slots,"default"),A.createVNode(A.unref(rt),{list:P.value.items},null,8,["list"]),A.createVNode(Q2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],12,f2)}}}),I2=({elements:n,lang:e,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:e==="zh"?b.title:b.component})),d=Fu[e];return[{title:d.menus.basicTitle,children:i("basic")},{title:d.menus.highTitle,children:i("high")},{title:d.menus.layoutTitle,children:i("layout")},{title:d.menus.assistTitle,children:i("assist")}]},w2=A.defineComponent({__name:"index",setup(n){var S;const e=A.ref(!1),t=Nn(),i=Jo(),d=Vn(),f=nc(),o=(S=t.templates)!=null&&S.length?t.templates:KE,b=A.computed(()=>I2({elements:i,omits:t.omitMenus||[],lang:f.value})),D=N=>{t.updateSchema(N)},I=N=>{const T={component:N.component,designKey:`design-${Ni(4)}`,name:`form-${Ni(4)}`};return N.type==="layout"&&(T.children=[]),T};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-space"),P=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode(O,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:T[0]||(T[0]=v=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(d).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(P,{modelValue:e.value,"onUpdate:modelValue":T[1]||(T[1]=v=>e.value=v),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(H,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:v,schema:m})=>(A.openBlock(),A.createBlock(O,{key:v,onClick:F=>D(m)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(v),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:v,children:m})=>(A.openBlock(),A.createElementBlock("div",{key:v,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(v),3),A.createVNode(A.unref(vp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:I},{item:A.withCtx(({element:F})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(F.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(f)==="zh"?"12px":"10px"})},A.toDisplayString(F.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),b2=n=>`<template>
|
|
115
|
+
onLoad: ${t.onLoad}`)}},P=A.ref([]);A.watch(()=>t.data,()=>{if(!t.data||!Array.isArray(t.data)||t.data.length===0)return;const _=[t.data[0][t.nodeKey]];P.value=_},{immediate:!0});const v=A.useTemplateRef("treeRef"),m=()=>{var k;return(k=v.value)==null?void 0:k.getCheckedNodes()},F=A.readonly({getCheckedNodes:m,elTreeRef:v,type:"tree"});if(t.name){const k=zo(t.name,F);A.onUnmounted(()=>{k()})}return e(F),(k,_)=>{const B=A.resolveComponent("el-tooltip"),p=A.resolveComponent("el-button"),u=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(u,A.mergeProps(k.$attrs,{onNodeClick:N,load:H,ref_key:"treeRef",ref:v,class:["crm-tree",{"modal-tree":k.styleType==="modal"}],indent:32,"current-node-key":f.value,onCurrentChange:o,"node-key":k.nodeKey,props:t.props,data:k.data,"default-expanded-keys":P.value,"show-checkbox":k.showCheckbox}),{default:A.withCtx(({node:l,data:g})=>[A.createElementVNode("div",{class:A.normalizeClass(["custom-tree-node",{"modal-tree-node":k.styleType==="modal"}])},[A.createElementVNode("div",D_,[A.createElementVNode("span",{class:A.normalizeClass(["tree-node-label",{active:g[k.nodeKey]===f.value&&k.styleType==="modal"}]),title:l.label},A.toDisplayString(l.label),11,v_),g[k.nodeKey]===f.value?(A.openBlock(),A.createElementBlock("div",k_,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",__,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(k.btns,s=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:s.key},[A.unref(kt)(s.hidden,{$node:l,$data:g})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(p,{key:0,link:"",onClick:A.withModifiers(h=>b(s.onClick||"",l,g),["stop"]),disabled:s.disabled,type:s.type},{default:A.withCtx(()=>[A.createVNode(B,{class:"box-item",effect:"dark",content:s.text,placement:"top"},{default:A.withCtx(()=>[s.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:s.icon.name,color:s.icon.color,class:"btn-icon"},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])],2)]),_:1},16,["class","current-node-key","node-key","props","data","default-expanded-keys","show-checkbox"])}}}),[["__scopeId","data-v-8f8a52a2"]]),M_={title:"树",component:"Tree",render:wC,icon:A.h(fe,{name:"tree"}),type:"assist",order:7,attrSchema:b_},x_={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"}]},S_={title:"表格",component:"Table",icon:A.h(fe,{name:"library"}),type:"assist",order:8,attrSchema:x_,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>qx))},N_={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>oS)),icon:A.h(fe,{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"}]}}]}},F_={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>aS)),icon:A.h(fe,{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"}]}},R_={class:"card-list-item"},L_={class:"card-list-item-header"},G_={class:"card-list-item-header-title"},P_={style:{display:"ruby"}},H_=["title"],K_=["title"],T_={key:0,class:"card-list-item-header-title__sub"},U_={class:"sub-title-right"},Y_={class:"card-list-item-header-btns"},O_=["onClick"],$_={key:0,class:"card-list-item-content"},z_=["title"],J_=["onClick","title"],Z_={key:1,class:"card-list-item-content--more"},W_=["title"],j_=["title"],q_={key:2,class:"card-list-item-footer"},X_={class:"card-list-item-footer-text"},bC=oe(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),d=b=>{if(b)try{t("clickBtn",b)}catch(D){console.error(D)}},f=A.ref(!1),o=b=>{b.isMore&&(f.value=!f.value)};return(b,D)=>{const I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",R_,[A.createElementVNode("div",L_,[A.createElementVNode("div",G_,[A.createElementVNode("div",P_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,S=>(A.openBlock(),A.createElementBlock("div",{key:S.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:S.color}),title:S.value},A.toDisplayString(S.value),13,H_))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:D[0]||(D[0]=S=>d(b.data.onClick))},A.toDisplayString(b.data.title),15,K_),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",T_,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",U_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:S.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(S.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Y_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.condition===void 0||S.condition===null||A.unref(kt)(S.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:T=>d(S.onClick)},[S.label?(A.openBlock(),A.createBlock(I,{key:0,class:"box-item",effect:"dark",content:S.label,placement:"top"},{default:A.withCtx(()=>[A.createVNode(ve,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,name:S.icon},null,8,["name"]))],8,O_)):A.createCommentVNode("",!0)],64))),128))])]),b.data.content&&b.data.content.length>0?(A.openBlock(),A.createElementBlock("div",$_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,z_),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:N=>o(S),title:S.value,style:A.normalizeStyle({color:S.color})},[A.createTextVNode(A.toDisplayString(S.value||"- -")+" ",1),S.isMore?(A.openBlock(),A.createBlock(ve,{key:0,class:A.normalizeClass({"rotate-[180deg]":f.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],14,J_)]))),128))])):A.createCommentVNode("",!0),f.value?(A.openBlock(),A.createElementBlock("div",Z_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,W_),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:S.value},A.toDisplayString(S.value||"- -"),9,j_)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",q_,[A.createVNode(ve,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",X_,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-e7e1e49b"]]),V_={key:0,class:"empty-content"},og=oe(A.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},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),d=A.inject("pageMethodMap",{}),f=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=(F,k,_)=>{try{f.value[F](d,k,_)}catch(B){console.error(B)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map(F=>({condition:F.condition,icon:F.icon&&F.icon.name?F.icon.name:"icon-tishi",label:F.label,onClick:F.onClick})):[]),D=e.columns.find(F=>F.position==="title"),I=e.columns.find(F=>F.position==="subTitle"),S=e.columns.find(F=>F.position==="footer"),N={key:"__childList"},T=A.computed(()=>{const F=e.columns.filter(k=>k.type==="link");return e.data?e.data.map(k=>{var B;const _={subTitleRight:[],content:[],tag:[],originalData:k};if(D&&F&&F.find(p=>p.key===D.key)&&(_.titleType="link",_.onClick=(B=F.find(p=>p.key===D.key))==null?void 0:B.onClick),D&&(_.title=e.getColText(D,k),_.titleColor=k[D.key+"Color"]),I&&(_.subTitle=e.getColText(I,k),_.subTitleColor=k[I.key+"Color"]),S){const p=e.getColText(S,k);_.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${p||"- -"}`}}return e.columns.forEach(p=>{p.position==="content"?_.content.push({label:p.label,value:e.getColText(p,k),color:p.color}):p.position==="moreContent"?(_.content.push({label:p.label,value:e.getColText(p,k),isMore:k[N.key]&&k[N.key].length>0}),_.childList=k[N.key]):p.position==="tag"?_.tag.push({label:p.label,value:e.getColText(p,k)}):p.position==="subTitleRight"&&_.subTitleRight.push({label:p.label,value:e.getColText(p,k),color:p.color})}),_}):[]});let O=null;const H=A.ref(),P=A.ref(3);let v=null;const m=F=>{v||(v=window.setTimeout(()=>{P.value=Math.floor(F/330)||1,v=null},100))};return A.onMounted(()=>{A.nextTick(()=>{if(!H.value)return;O=new ResizeObserver(k=>{for(const _ of k){const B=_.contentRect.width;m(B)}}),O.observe(H.value);const F=H.value.offsetWidth;F>0&&(P.value=Math.floor(F/330)||1)})}),A.onUnmounted(()=>{O&&(O.disconnect(),O=null),v&&(clearTimeout(v),v=null)}),(F,k)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:H,class:"card-list",style:A.normalizeStyle({"--columns":P.value,"--gap":F.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.value,(_,B)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-wrapper",key:B},[A.createVNode(bC,{data:_,btns:b.value,index:B,onClickBtn:p=>o(p,_.originalData,B)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!F.data||F.data.length===0?(A.openBlock(),A.createElementBlock("div",V_,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),k[0]||(k[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-f9494342"]]),A2={title:"卡片列表",component:"CardList",render:og,icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},e2={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>mS)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},t2={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>wS)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},n2={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>MS)),icon:A.h(fe,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},i2={title:"可拖拽网格容器",icon:A.h(fe,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>q8)),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:"选项"}}]}},o2={title:"气泡框",component:"Popover",render:kp,icon:A.h(fe,{name:"password"}),type:"layout",order:9},r2=["innerHTML"],a2=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,r2))}}),s2={title:"HTML",component:"HtmlRender",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:a2},l2={title:"分页",component:"Pagination",icon:A.h(fe,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>X8))},c2=oe(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),d=n,f=A.ref(!0),o=b=>{e&&e[d.onClickMenu||"onClickMenu"](t,b)};return A.watch(()=>d.data,()=>{f.value=!1,A.nextTick(()=>{f.value=!0})}),A.watch(()=>d.defaultActive,()=>{i.value.updateActiveIndex(d.defaultActive)}),(b,D)=>{var N;const I=A.resolveComponent("el-menu-item"),S=A.resolveComponent("el-menu");return((N=b.data)==null?void 0:N.length)>0&&f.value?(A.openBlock(),A.createBlock(S,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:b.mode,class:"sui-menu","default-active":b.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data,T=>(A.openBlock(),A.createBlock(I,{onClick:O=>o(T),key:T.id,index:T.id},{default:A.withCtx(()=>[T.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:T.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(T.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-8c123147"]]),g2={title:"Menu",component:"Menu",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:c2},d2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>AM)),icon:A.h(fe,{name:"card"}),type:"layout",order:10},u2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>SS)),icon:A.h(fe,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},h2={title:"文字提示",component:"Tooltip",render:A.defineComponent({__name:"Component",props:{children:{},content:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(i,A.mergeProps(e.$attrs,{content:e.content}),{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:e.children},null,8,["list"])])]),_:1},16,["content"])}}}),icon:A.h(fe,{name:"card"}),type:"layout",order:9,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},p2={title:"进度条",component:"NormalProgress",render:oe(A.defineComponent({__name:"NormalProgress",props:{percentage:{},width:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-progress");return A.openBlock(),A.createElementBlock("div",{class:"normal-progress",style:A.normalizeStyle({width:e.width})},[A.createVNode(i,A.mergeProps(e.$attrs,{percentage:e.percentage}),null,16,["percentage"])],4)}}}),[["__scopeId","data-v-197c3f99"]]),icon:A.h(fe,{name:"card"}),type:"assist",order:10},C2=oe(A.defineComponent({__name:"IconInForm",props:{name:{},iconName:{},color:{},size:{},onClick:{},params:{},title:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref({}),f=async()=>{if(e.onClick&&t){try{d.value[e.name]=!0,await t[e.onClick](i,e)}catch(o){console.error(o+`
|
|
116
|
+
onClick: ${e.onClick}`)}d.value[e.name]=!1}};return(o,b)=>{const D=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(D,{class:"box-item",effect:"dark",content:e.title,placement:"top",disabled:!e.title},{default:A.withCtx(()=>[A.createVNode(ve,{name:e.iconName,color:o.color,size:o.size,class:A.normalizeClass({"icon-in-form":!0,"cursor-pointer":e.onClick}),onClick:f,customStyle:o.style},null,8,["name","color","size","class","customStyle"])]),_:1},8,["content","disabled"])}}}),[["__scopeId","data-v-da487aa2"]]),B2={title:"字体图标",component:"IconInForm",icon:A.h(fe,{name:"icon"}),type:"assist",order:9,render:C2},m2={title:"浮动查询模版",component:"FloatCurd",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>gM)),icon:A.h(fe,{name:"card"}),type:"layout",order:12},E2=Object.freeze(Object.defineProperty({__proto__:null,Alert:gk,Button:w_,Card:dk,CardList:A2,Cascader:hk,Checkbox:mk,Collapse:o_,ColorInput:Ik,ColorPicker:Qk,CurdCard:N_,Custom:bk,DatePicker:Dk,Divider:kk,DragList:i2,Esign:Mk,FilterSearch:d2,FloatCurd:m2,FormList:Fk,Grid:Rk,HtmlRender:s2,IconInForm:B2,InfiniteScroll:u2,Inline:Lk,Input:ik,InputNumber:Pk,JsonEdit:Ck,LogList:n2,Menu:g2,NormalProgress:p2,ObjGroup:a_,OfferDetails:e2,OrderProgress:t2,Pagination:l2,Password:Tk,Popover:o2,Radio:Sk,Rate:$k,SearchInput:m_,SearchSelect:Q_,Select:Yk,SelectInput:Jk,Slider:Zk,Switch:jk,Table:S_,Tabs:r_,Tag:qk,Text:Vk,TextArea:rk,Title:A_,Tooltip:h2,Transfer:h_,Tree:M_,Upload:t_,VerifyCode:i_,Wrapper:F_},Symbol.toStringTag,{value:"Module"})),Jo=()=>{const n=A.inject(Vn),e={...E2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Fn=()=>A.inject(Nu),Rn=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},Q2=A.defineComponent({__name:"Footer",setup(n){const e=Et(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,d)=>{const f=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(f,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>d[1]||(d[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(f,{onClick:d[0]||(d[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>d[2]||(d[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),f2=["id"],wn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{},pageKey:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,d=A.inject("ruleMap",{}),f=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&d[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",d[o.value]);const b=t,D=A.ref(),I=A.useModel(n,"modelValue"),S=A.useModel(n,"realValues"),N=(J,y,j)=>{j===void 0?I.value[J]=y:(S.value[J]=y,I.value[J]=j)},T=J=>S.value[J]!==void 0?S.value[J]:I.value[J],O=(J,y)=>{let j=x(P.value.items,J);j&&j.props&&(j.props.disabled=!y)},H=(J,y)=>{let j=x(P.value.items,J);j&&(j.hidden=!y)},P=A.useModel(n,"schema");if(P.value.onValuesChange){const J=A.ref(JSON.stringify(I.value));A.watch(()=>I.value,y=>{J.value=JSON.stringify(y)},{deep:!0}),A.watch(()=>J.value,(y,j)=>{const G=JSON.parse(y),q=JSON.parse(j),rA=Object.keys(G).filter(iA=>JSON.stringify(G[iA])!==JSON.stringify(q[iA]));if(!(!o.value||!P.value.onValuesChange))try{d[o.value][P.value.onValuesChange](f,rA,q,G)}catch(iA){console.error(iA)}})}const v=A.reactive({}),m=A.ref({}),F=A.ref(!1),k=Ai(),_=A.computed(()=>({...i.schemaContext,$values:I.value,$selectData:v,$locale:k.value})),B=IC();A.onMounted(async()=>{var j,G;if((j=i.schema)!=null&&j.initialValues){const q=(G=i.schema)==null?void 0:G.initialValues;E(q),I.value=ut.mergeWith(q,I.value,(rA,iA)=>{if(Array.isArray(rA))return iA})}await A.nextTick();const J=EC({content:[{type:"form",schema:P.value}]});if(await B.waitForKeys(J),!P.value||!P.value.onMounted||!o.value)return;const y=P.value.onMounted;try{d[o.value][y](f)}catch(q){console.error(q)}}),A.onActivated(()=>{if(!P.value||!P.value.onActivated||!o.value)return;const J=P.value.onActivated;try{d[o.value][J](f)}catch(y){console.error(y)}});const p=()=>{var J;return(J=D.value)==null?void 0:J.validate()},u=J=>{var y;return(y=D.value)==null?void 0:y.validateField(J)},l=J=>{const y=x(P.value.items,J);if(!y||!y.children)return Promise.resolve();const j=q=>{const rA=[];for(const iA of q)iA.label&&iA.name&&rA.push(iA.name),iA.children&&iA.children.length>0&&rA.push(...j(iA.children));return rA},G=j(y.children);return G.length===0?Promise.resolve():u(G)},g=J=>{const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=G=>{G.forEach(q=>{y.includes(q.component)?q.props&&(q.props.disabled=J):q.children&&j(q.children)})};j(P.value.items)},s=()=>{var J;(J=p())==null||J.then(()=>{b("finish",I.value)}).catch(y=>{b("failed",y)})},h=J=>{if(b("reset"),J){let y=ut.cloneDeep(I.value);J.forEach(j=>{y=ko(y,j,Ea(m.value,j))}),I.value=y}else I.value=ut.cloneDeep(A.toRaw(m.value))},C=(J,y=!0)=>{y?Object.assign(I.value,J):I.value=J},a=(J,y=!0)=>{y?Object.assign(S.value,J):S.value=J},r=(J,y)=>{v[J]=y},E=J=>{m.value={...J}},Q=()=>m.value,M=J=>{F.value=J},x=(J,y)=>{for(const j of J){if(j.name===y)return j;if(j.children&&j.children.length>0){const G=x(j.children,y);if(G)return G}}return null},K=J=>{console.log("refreshDynamicListBox",J);const y=x(P.value.items,J);!y||y.component!=="Select"||(y.props&&y.props.mode==="static"&&(Array.isArray(y.props.options)&&y.props.options.findIndex(G=>{var q;return G[((q=y.props)==null?void 0:q.valueKey)||"value"]===I.value[J]})!==-1||(I.value[J]=y.props.options[0][y.props.valueKey||"value"])),y.props&&(y.props.refreshFlag=!0))},z=J=>{var q;const y=J.target,j=Array.from(((q=y.parentElement)==null?void 0:q.classList)||[]),G=y.ariaLabel==="Page";if(j.includes("is-focus")&&!G&&P.value.onEnter&&o.value)try{d[o.value][P.value.onEnter](f)}catch(rA){console.error(rA)}},AA=J=>{var y;(y=D.value)==null||y.clearValidate(J)},eA=J=>{P.value.hidden=J},V=A.useTemplateRef("rootRef"),$=A.reactive({...A.toRefs(i),formValues:I,formRealValues:S,selectData:v,initialValues:m,context:_,vCodePass:F,updateFormValues:C,updateFormRealValues:a,updateSelectData:r,updateInitialValues:E,getInitialValues:Q,updateVCodePass:M,validate:p,validateField:u,validateByParentName:l,resetFields:h,submit:s,setDisabled:g,findItemByName:x,setFieldEditSts:O,setFieldVisibleSts:H,setFieldValue:N,getFieldValue:T,refreshDynamicListBox:K,setHidden:eA,clearValidate:AA,rootRef:V,type:"form"});return A.provide(Su,$),e($),(J,y)=>{const j=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:V,id:P.value.key,style:A.normalizeStyle(P.value.style)},[P.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(j,A.mergeProps({key:0,model:I.value,"label-position":P.value.labelPosition,size:P.value.size,"hide-required-asterisk":P.value.hideRequiredAsterisk,"scroll-to-error":P.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:D},J.$attrs,{onSubmit:y[0]||(y[0]=A.withModifiers(()=>{},["prevent"])),onKeyup:A.withKeys(z,["enter"])}),{default:A.withCtx(()=>[A.renderSlot(J.$slots,"default"),A.createVNode(A.unref(rt),{list:P.value.items},null,8,["list"]),A.createVNode(Q2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],12,f2)}}}),I2=({elements:n,lang:e,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:e==="zh"?b.title:b.component})),d=Fu[e];return[{title:d.menus.basicTitle,children:i("basic")},{title:d.menus.highTitle,children:i("high")},{title:d.menus.layoutTitle,children:i("layout")},{title:d.menus.assistTitle,children:i("assist")}]},w2=A.defineComponent({__name:"index",setup(n){var S;const e=A.ref(!1),t=Fn(),i=Jo(),d=Ai(),f=nc(),o=(S=t.templates)!=null&&S.length?t.templates:KE,b=A.computed(()=>I2({elements:i,omits:t.omitMenus||[],lang:f.value})),D=N=>{t.updateSchema(N)},I=N=>{const T={component:N.component,designKey:`design-${Ni(4)}`,name:`form-${Ni(4)}`};return N.type==="layout"&&(T.children=[]),T};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-space"),P=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode(O,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:T[0]||(T[0]=v=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(d).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(P,{modelValue:e.value,"onUpdate:modelValue":T[1]||(T[1]=v=>e.value=v),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(H,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:v,schema:m})=>(A.openBlock(),A.createBlock(O,{key:v,onClick:F=>D(m)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(v),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:v,children:m})=>(A.openBlock(),A.createElementBlock("div",{key:v,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(v),3),A.createVNode(A.unref(vp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:I},{item:A.withCtx(({element:F})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(F.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(f)==="zh"?"12px":"10px"})},A.toDisplayString(F.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),b2=n=>`<template>
|
|
117
117
|
<FormRender v-model="formValues" :schema="schema" ref="formRef" />
|
|
118
118
|
<el-button @click="handleSubmit">提交</el-button>
|
|
119
119
|
</template>
|
|
@@ -197,7 +197,7 @@ const handleSubmit = async () => {
|
|
|
197
197
|
]
|
|
198
198
|
}`,v2=n=>`import type { FormSchema } from "asiaint-lowcode";
|
|
199
199
|
|
|
200
|
-
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,k2=n=>`export default ${JSON.stringify(n,null,2)}`,_2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var I;const e=Nn(),t=Vn(),d=(I=Jo().JsonEdit)==null?void 0:I.render,f=A.computed({get(){return e.schema},set(S){S.items&&e.updateSchema(S)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),D=S=>{e.updateSchema({...e.schema,items:Pu(e.schema.items)}),S.repair()};return(S,N)=>{const T=A.resolveComponent("el-tab-pane"),O=A.resolveComponent("el-tabs"),H=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(H,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=P=>b.value=P),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=P=>o.value={})},{default:A.withCtx(()=>[A.createVNode(O,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(T,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(d),{modelValue:f.value,"onUpdate:modelValue":N[0]||(N[0]=P=>f.value=P),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),A.createVNode(T,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"ts",code:A.unref(v2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"js",code:A.unref(k2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"json",code:A.unref(D2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),M2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=Vn(),i=A.useModel(n,"modelValue");return(d,f)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),D=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(D,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=I=>i.value=I),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(b2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(y2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),x2=oe(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),{JsonEdit:t}=Jo(),i=A.ref("edit"),d=A.ref(),f=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var I;return(I=d.value)==null?void 0:I.context}),D=Vn();return(I,S)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs"),O=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(O,{modelValue:o.value,"onUpdate:modelValue":S[4]||(S[4]=H=>o.value=H),title:A.unref(D).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:S[5]||(S[5]=H=>f.value={})},{default:A.withCtx(()=>[A.createVNode(T,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=H=>i.value=H)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":S[0]||(S[0]=H=>f.value=H),schema:A.unref(e).schema,ref_key:"formRef",ref:d,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":S[1]||(S[1]=H=>f.value=H),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[S[6]||(S[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":S[2]||(S[2]=H=>b.value=H),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-a9d66bb1"]]),S2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const d=A.resolveComponent("el-option"),f=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(f,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(d,{label:"中文",value:"zh"}),A.createVNode(d,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),N2=A.defineComponent({__name:"index",setup(n){const e=Nn(),t=Vn(),i=A.ref(!1),d=A.ref(!1),f=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{d.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{f.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await xt.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(D,I)=>{const S=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(S,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(S2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:T,icon:O,onClick:H})=>(A.openBlock(),A.createBlock(S,{key:N,type:T,size:"small",onClick:H},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[O?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:O},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(_2,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(M2,{modelValue:d.value,"onUpdate:modelValue":I[1]||(I[1]=N=>d.value=N)},null,8,["modelValue"]),A.createVNode(x2,{modelValue:f.value,"onUpdate:modelValue":I[2]||(I[2]=N=>f.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),F2=A.defineComponent({__name:"index",setup(n){const e=Nn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(N2),A.createVNode(A.unref(wn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=d=>A.unref(e).schema=d),design:""},null,8,["class","schema"])],2))}}),R2=()=>({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:"联动字段"}}]}),L2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=A.useModel(n,"modelValue");return(i,d)=>{const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=o=>A.unref(e).current=o),schema:A.unref(R2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),G2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},P2={class:"config-linkages"},H2=oe(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,d)=>{var o;const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",P2,[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(e).current=b),schema:A.unref(G2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),K2=A.defineComponent({__name:"index",setup(n){const e=Vn(),t=A.ref(!1),i=A.ref(!1),d=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(f,o)=>{const b=A.resolveComponent("el-divider"),D=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.value,({title:I,onClick:S})=>(A.openBlock(),A.createBlock(D,{key:I,type:"primary",plain:"",size:"small",onClick:S},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(I),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(H2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=I=>t.value=I)},null,8,["modelValue"]),A.createVNode(L2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=I=>i.value=I)},null,8,["modelValue"])],2)}}}),T2={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"}]},U2={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},Y2={class:"more"},O2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,d)=>{const f=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(f,null,{default:A.withCtx(()=>d[4]||(d[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=D=>e.value=D),schema:A.unref(T2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",Y2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:d[1]||(d[1]=D=>t.value=!0)},{default:A.withCtx(()=>d[5]||(d[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":d[3]||(d[3]=D=>t.value=D),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[2]||(d[2]=D=>e.value=D),schema:A.unref(U2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),$2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Jo(),t=nc(),i=A.useModel(n,"modelValue"),d=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(I=[])=>I.map(S=>{const N=Ea(i.value,S.name),T=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:T?"Input":S.component,dialog:T||S.dialog,children:S.children&&b(S.children)}}),D=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...D]}}return{size:"small",labelPosition:"top",items:[]}}),f=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(wn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=D=>i.value=D),schema:d.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(O2,{key:i.value.designKey,modelValue:f.value,"onUpdate:modelValue":b[1]||(b[1]=D=>f.value=D)},null,8,["modelValue"])),A.createVNode(K2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),z2={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"}]},J2=A.defineComponent({__name:"FormEdit",setup(n){const e=Nn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,d)=>(A.openBlock(),A.createBlock(A.unref(wn),{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=f=>t.value=f),schema:A.unref(z2)},null,8,["modelValue","schema"]))}}),Z2=A.defineComponent({__name:"index",setup(n){const e=Vn(),t=Nn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,d)=>{const f=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":d[1]||(d[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(f,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode($2,{modelValue:A.unref(t).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(f,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(J2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),yC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,d=A.ref(""),f=A.useModel(n,"modelValue"),o=A.computed({get(){return f.value.items},set(I){f.value.items=I}}),b=A.computed({get(){return tc(o.value,d.value)},set(I){d.value=I.designKey,o.value=Ru(o.value,I)}}),D=A.reactive({...A.toRefs(t),currentKey:d,hoverKey:"",schema:f,current:b,list:o,rightTab:"form",updateCurrent(I){D.current=I},updateHoverKey(I){D.hoverKey=I},updateSchema:I=>{Object.assign(f.value,I)},updateList:I=>{o.value=I},handleEmit:(I,S)=>{i(I,S)}});return A.provide(Nu,D),(I,S)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},I.$attrs),[A.createVNode(w2),A.createVNode(F2),A.createVNode(Z2)],16))}}),W2={class:"card-header"},j2={class:"card-btns"},q2={key:0,class:"switch-panel"},X2=oe(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(d=>({isLinkBtn:!0,...d})):[]);return(d,f)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(d.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:d.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",W2,[d.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:f[0]||(f[0]=D=>t.value=!t.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(d.header),1),A.createElementVNode("div",j2,[d.typeSwitch?(A.openBlock(),A.createElementBlock("div",q2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="card"}]),onClick:f[1]||(f[1]=D=>d.switchTableType("card"))},[A.createVNode(De,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="table"}]),onClick:f[2]||(f[2]=D=>d.switchTableType("table"))},[A.createVNode(De,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(ii),{btns:i.value||[]},null,8,["btns"])])])])]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(d.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-1b7f90e6"]]),V2={class:"custom-slot"},A8={class:"empty-content"},e8=["title"],t8=["title","onClick"],n8={key:1,class:"icon-text-wrapper"},i8=["title"],o8=["title"],r8={class:"row-btn-wrapper"},DC=oe(A.defineComponent({__name:"TableContent",props:A.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},getColPopoverContent:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(d,f)=>{const o=A.resolveComponent("el-pagination"),b=A.resolveComponent("el-table-column"),D=A.resolveComponent("el-popover"),I=A.resolveComponent("el-tooltip"),S=A.resolveComponent("el-button"),N=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{[d.schema.key]:!0}])},[d.schema.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"slot,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[0]||(f[0]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[1]||(f[1]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},{default:A.withCtx(()=>[A.createElementVNode("div",V2,A.toDisplayString(A.unref(kt)(d.schema.totalText,{$total:d.total})),1)]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:d.tableData,stripe:d.schema.stripe,"highlight-current-row":"","row-key":d.schema.rowKey,onRowClick:d.handleRowClick,onRowDblclick:d.handleRowDblclick,onSelectionChange:d.handleSelectionChange,onCurrentChange:d.handleCurrentChange,height:d.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",A8,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),f[4]||(f[4]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var T;return[d.schema.multipleSelection?(A.openBlock(),A.createBlock(b,{key:0,type:"selection",width:"55",selectable:d.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.columns,O=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:O.key},[O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(b,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1,sortable:O.sortable??d.schema.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:O.label},A.toDisplayString(O.label),9,e8)]),default:A.withCtx(({row:H,$index:P})=>[A.createVNode(D,{disabled:O.getColPopoverContent===void 0},{reference:A.withCtx(()=>{var v,m,F,k;return[O.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":O.onClick}]),title:d.getColText(O,H),onClick:_=>d.handleClick(O,H,P,_)},A.toDisplayString(d.getColText(O,H)),11,t8)):O.type==="iconText"?(A.openBlock(),A.createElementBlock("div",n8,[O.iconPosition==="left"?(A.openBlock(),A.createBlock(De,{key:0,name:(v=d.getIconInfo(O,H))==null?void 0:v.name,color:(m=d.getIconInfo(O,H))==null?void 0:m.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),9,i8),O.iconPosition==="right"?(A.openBlock(),A.createBlock(De,{key:1,name:(F=d.getIconInfo(O,H))==null?void 0:F.name,color:(k=d.getIconInfo(O,H))==null?void 0:k.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"text-ellipsis":!O.noEllipsis}),title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),11,o8))]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:d.getColPopoverContent(O,H)||[]},null,8,["list"])]),_:2},1032,["disabled"])]),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),d.hasVisibleRowBtn&&((T=d.schema.rowBtns)!=null&&T.length)?(A.openBlock(),A.createBlock(b,{key:1,label:d.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:d.schema.rowBtnsWidth||(d.schema.rowBtns.length*34+12>100?d.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:O,$index:H})=>[A.createElementVNode("div",r8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.rowBtns,P=>{var v;return A.openBlock(),A.createElementBlock(A.Fragment,{key:P.key},[P.component==="Popover"?(A.openBlock(),A.createBlock(D,A.mergeProps({key:0,trigger:((v=P.popoverProps)==null?void 0:v.trigger)||"hover",ref_for:!0},P.popoverProps),{reference:A.withCtx(()=>[P.condition===void 0||P.condition===null||A.unref(kt)(P.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(S,{key:0,disabled:P.disabled,link:!P.isPlainBtn,size:"small",type:P.type,onClick:m=>d.handleClick(P,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:P.label,placement:"top"},{default:A.withCtx(()=>[P.icon?(A.openBlock(),A.createBlock(De,{key:0,name:P.icon.name,color:P.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),P.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:P.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(P.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])])]),_:2},1040,["trigger"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[P.condition===void 0||P.condition===null||A.unref(kt)(P.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(S,{key:0,disabled:P.disabled,link:!P.isPlainBtn,size:"small",type:P.type,onClick:m=>d.handleClick(P,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:P.label,placement:"top"},{default:A.withCtx(()=>[P.icon?(A.openBlock(),A.createBlock(De,{key:0,name:P.icon.name,color:P.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),P.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:P.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(P.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,d.schema.displayType==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps(d.schema,{data:d.tableData,"get-col-text":d.getColText}),null,16,["data","get-col-text"]),[[A.vShow,d.schema.displayType==="card"]]),d.schema.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[2]||(f[2]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[3]||(f[3]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-97159cb0"]]),a8=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),d=A.computed(()=>i.value.rulePath&&f[i.value.rulePath]?i.value.rulePath:t.pageRulePath),f=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),D=A.inject(Xn),I=D?D.translateFn:null;d.value&&A.provide("ruleModule",f[d.value]);const S=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),T=(U,W)=>{const tA=i.value.columns.find(aA=>aA.key===U);tA&&(tA.hidden=!W)},O=(U,W,tA,aA)=>{if(d.value)try{f[d.value][U.onClick](o,W,tA),aA==null||aA.stopPropagation()}catch(CA){console.error(CA)}},H=U=>{if(!(!i.value.rowClick||!d.value))try{f[d.value][i.value.rowClick](o,U)}catch(W){console.error(W)}},P=U=>{if(!(!i.value.rowDbClick||!d.value))try{f[d.value][i.value.rowDbClick](o,U)}catch(W){console.error(W)}},v=A.ref([]),m=U=>{v.value=U},F=(U,W)=>{if(!i.value.selectable||!d.value)return!0;try{return f[d.value][i.value.selectable](o,U,W)}catch(tA){console.error(tA)}return!0},k=(U,W,tA)=>{N.value[U]&&(N.value[U][W]=tA)},_=()=>{var U,W;(W=(U=S.value)==null?void 0:U.tableRef)==null||W.clearSelection()},B=(U,W)=>{var aA,CA,xA,zA;if(!i.value.rowKey)return console.error("rowKey is required");const tA=N.value.find(jA=>jA[i.value.rowKey]===U);tA&&(W===void 0?(CA=(aA=S.value)==null?void 0:aA.tableRef)==null||CA.toggleRowSelection(tA):(zA=(xA=S.value)==null?void 0:xA.tableRef)==null||zA.toggleRowSelection(tA,W))},p=()=>N.value,u=A.ref(),l=U=>{if(u.value=U,!(!i.value.handleCurrentChange||!d.value))try{f[d.value][i.value.handleCurrentChange](o,U)}catch(W){console.error(W)}},g=()=>u.value,s=()=>{var U,W;return(W=(U=S.value)==null?void 0:U.tableRef)==null?void 0:W.getSelectionRows()},h=(U={})=>{N.value.push(U)},C=U=>{U>=0&&U<N.value.length&&N.value.splice(U,1)},a=async()=>{N.value=[...N.value]},r=async()=>!0,E=U=>{N.value=U||[]},Q=(U,W)=>{var aA;const tA=(aA=i.value.topBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.hidden=W)},M=(U,W)=>{var aA;const tA=(aA=i.value.rowBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.condition=!W)},x=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(U=>{var W;return(W=i.value.rowBtns)==null?void 0:W.some(tA=>tA.condition===void 0||tA.condition===null?!0:kt(tA.condition,{$row:U,$globalParams:b()}))})),K=A.ref(0),z=U=>{K.value=U},AA=()=>K.value,eA=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),V=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),$=()=>eA.value,J=U=>{let W=!1;return U.pageNum!==void 0&&U.pageNum>-1&&(eA.value.pageNum!==U.pageNum&&(W=!0),eA.value.pageNum=U.pageNum),U.pageSize!==void 0&&U.pageSize>-1&&(eA.value.pageSize!==U.pageSize&&(W=!0),eA.value.pageSize=U.pageSize),{pagination:eA.value,isChange:W}},y=async U=>{var aA;if(eA.value.pageNum=1,eA.value.pageSize=U,!i.value.sizeChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.sizeChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},j=async U=>{var aA;if(eA.value.pageNum=U,!i.value.pageChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.pageChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},G=U=>{var W,tA;(tA=(W=S.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(U)},q=U=>{var W,tA;(tA=(W=S.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(N.value[U])},rA=(U,W,tA)=>{i.value.columns.forEach(aA=>{aA.key===U&&aA[W]&&(aA[W]=tA)})},iA=U=>{i.value.displayType=U},uA=U=>{i.value.shadowless=U},mA=(U,W)=>{const tA=I?I(U,W):W[U.key];if(!kt(U.encrypted,{$row:W,$col:U})||!tA)return tA;const CA=`${tA}`;return CA.length<=4?"*".repeat(CA.length):CA.slice(0,-4)+"****"},gA=(U,W)=>{if(!(!U.getIconInfo||!d.value))try{return f[d.value][U.getIconInfo](o,W,U)}catch(tA){console.error(tA)}},wA=(U,W)=>{if(!(!U.getColPopoverContent||!d.value))try{return f[d.value][U.getColPopoverContent](o,W,U)}catch(tA){console.error(tA)}},X=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table");const lA=async()=>{if(!i.value||!i.value.onMounted||!d.value)return;await A.nextTick();const U=i.value.onMounted;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onMounted(async()=>{await lA()});const cA=async()=>{if(!i.value||!i.value.onActivated||!d.value)return;const U=i.value.onActivated;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onActivated(async()=>{await cA()});const hA=A.readonly({...A.toRefs(t),setCellData:k,clearSelection:_,getData:p,getCurrentRow:g,selectedRows:v,getSelectedRows:s,addRow:h,deleteRow:C,refresh:a,validate:r,setData:E,selectRow:G,selectRowNum:q,setTotal:z,getTotal:AA,getPagination:$,setPagination:J,setTopBtnHidden:Q,setColVisible:T,setColumn:rA,setRowsBtnHidden:M,setShadowless:uA,rootRef:X,mounted:lA,activated:cA,toggleSelection:B,type:"table"});return e(hA),(U,W)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:X,id:i.value.key,style:A.normalizeStyle(i.value.style)},[i.value.cardless?(A.openBlock(),A.createBlock(DC,{key:1,ref_key:"tableContentRef",ref:S,tableData:N.value,total:K.value,hasVisibleRowBtn:x.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:P,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[1]||(W[1]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(X2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:iA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(DC,{ref_key:"tableContentRef",ref:S,tableData:N.value,total:K.value,hasVisibleRowBtn:x.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:P,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[0]||(W[0]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],12,a8))}}),s8=["id"],l8={class:"right-icon-wrapper"},c8={class:"dynamic-icon-wrapper"},g8={class:"static-icon-wrapper"},d8={class:"tab-label"},u8={class:"tab-label-text"},h8=oe(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{},styleType:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams","doneParent"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),d=A.ref({}),f=t,o=A.ref({}),b=p=>u=>{u?o.value[p]=u:delete o.value[p]},D=n,I=A.computed(()=>{var p;return(p=i.value.content.find(u=>u.key===T.value||u.url===T.value))==null?void 0:p.mixMode}),S=p=>{i.value.content=p},N=p=>{Array.isArray(p)?i.value.content.push(...p):i.value.content.push(p)},T=A.ref(i.value.content[0].key||i.value.content[0].url),O=p=>{d.value[p]=!0,A.nextTick(()=>{d.value[p]=!1})},H=A.useTemplateRef("rootRef"),P=p=>o.value[p],v=(p,u)=>{u&&f("addPageParams",u),A.nextTick(()=>{T.value=p,_(p)})},m=(p,u)=>{const l=i.value.content.find(g=>g.url===p);l&&(l.mixMode=u)},F=A.inject("pageMethodMap",{}),k=A.computed(()=>i.value.rulePath&&D.ruleMap[i.value.rulePath]?i.value.rulePath:D.pageRulePath);k.value&&A.provide("ruleModule",D.ruleMap[k.value]);const _=p=>{o.value[p]&&o.value[p].activate();const u=i.value.onChange;try{u&&D.ruleMap[k.value][u](F,p)}catch{}},B=(p,u)=>{const l=i.value.content.find(g=>g.key===p);l&&(l.hidden=u)};return e(A.readonly({setTabContent:S,addTabContent:N,schema:i,rootRef:H,findRef:P,changeActiveTab:v,setTabHidden:B,activeTab:T,type:"tabs"})),(p,u)=>{var h,C,a;const l=A.resolveComponent("el-skeleton"),g=A.resolveComponent("el-tab-pane"),s=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:H,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(s,A.mergeProps({key:0},i.value.tabProps,{modelValue:T.value,"onUpdate:modelValue":u[1]||(u[1]=r=>T.value=r),class:["crm-tabs",{mixmode:I.value,"expand-top":i.value.expandTop,"btn-type":i.value.styleType==="btn"||D.styleType==="btn","form-item-tabs":!D.styleType||D.styleType==="normal","modal-type":D.styleType==="modal"}],style:{"--top":((h=i.value)==null?void 0:h.stickyTop)!==void 0?`${(C=i.value)==null?void 0:C.stickyTop}px`:"110px","--is-sticky":(a=i.value)!=null&&a.isSticky?"sticky":"static"},addable:i.value.styleType==="btn",onTabChange:_}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",l8,[A.createElementVNode("div",c8,[A.createVNode(A.unref(ii),{btns:i.value.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",g8,[A.createVNode(A.unref(ii),{btns:i.value.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(r,E)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:r.key||r.url},[r.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,{name:r.key||r.url,key:r.key||r.url,lazy:E!==0},{label:A.withCtx(()=>[A.createElementVNode("div",d8,[i.value.styleType==="btn"&&r.icon?(A.openBlock(),A.createBlock(De,{key:0,name:r.icon,size:"x-small"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",u8,A.toDisplayString(r.label),1)])]),default:A.withCtx(()=>[d.value[E]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:r.url,"rule-map":p.ruleMap,onDoneParent:u[0]||(u[0]=Q=>f("doneParent",Q)),"page-params":r.pageParams?{...p.pageParams,...r.pageParams}:p.pageParams,parentPageFun:A.unref(F),ref_for:!0,ref:b(r.key||r.url),onRefresh:Q=>O(E),onChangeTab:v,onChangeMixMode:m},{loading:A.withCtx(()=>[A.createVNode(l,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","parentPageFun","onRefresh"]))]),_:2},1032,["name","lazy"]))],64))),128))]),_:1},16,["modelValue","style","addable","class"]))],8,s8)}}}),[["__scopeId","data-v-fc39d88b"]]),p8=["id"],C8={class:"info-card-header"},B8={class:"left-part"},m8={class:"title-part"},E8={class:"sub-title-container"},Q8={class:"right-part"},f8={class:"info info-card-infos"},I8={key:0,class:"info-label"},w8={class:"ml-2"},b8={key:0,class:"info-card-detail"},y8={class:"info-card-detail-left"},D8={class:"label"},v8={key:0,class:"divider"},k8={key:0,class:"info-card-detail-right"},_8={key:0},M8={key:1,class:"detail-right-label"},x8={key:2,class:"detail-right-value"},S8=oe(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=n,f=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[d.pageRulePath]);A.provide("ruleModule",f.value);const o=A.inject("pageMethodMap",{}),b=N=>{const T=document.createElement("textarea");T.value=N??"",T.style.position="absolute",T.style.opacity="0",document.body.appendChild(T),T.select(),document.execCommand("copy"),T.remove()},D=async()=>{try{f.value.handleCopy?await f.value.handleCopy(o,t.value.header.subTitle):await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}xt.ElMessage.success("Copy Successful")},I=N=>{var T;if(f.value[N||"clickTitleIcon"])try{f.value[N||"clickTitleIcon"](o,(T=t.value.header)==null?void 0:T.titleIcon)}catch(O){console.error(O+`
|
|
200
|
+
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,k2=n=>`export default ${JSON.stringify(n,null,2)}`,_2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var I;const e=Fn(),t=Ai(),d=(I=Jo().JsonEdit)==null?void 0:I.render,f=A.computed({get(){return e.schema},set(S){S.items&&e.updateSchema(S)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),D=S=>{e.updateSchema({...e.schema,items:Pu(e.schema.items)}),S.repair()};return(S,N)=>{const T=A.resolveComponent("el-tab-pane"),O=A.resolveComponent("el-tabs"),H=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(H,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=P=>b.value=P),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=P=>o.value={})},{default:A.withCtx(()=>[A.createVNode(O,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(T,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(d),{modelValue:f.value,"onUpdate:modelValue":N[0]||(N[0]=P=>f.value=P),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),A.createVNode(T,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"ts",code:A.unref(v2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"js",code:A.unref(k2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"json",code:A.unref(D2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),M2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=Ai(),i=A.useModel(n,"modelValue");return(d,f)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),D=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(D,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=I=>i.value=I),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(b2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(y2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),x2=oe(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),{JsonEdit:t}=Jo(),i=A.ref("edit"),d=A.ref(),f=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var I;return(I=d.value)==null?void 0:I.context}),D=Ai();return(I,S)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs"),O=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(O,{modelValue:o.value,"onUpdate:modelValue":S[4]||(S[4]=H=>o.value=H),title:A.unref(D).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:S[5]||(S[5]=H=>f.value={})},{default:A.withCtx(()=>[A.createVNode(T,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=H=>i.value=H)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":S[0]||(S[0]=H=>f.value=H),schema:A.unref(e).schema,ref_key:"formRef",ref:d,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":S[1]||(S[1]=H=>f.value=H),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[S[6]||(S[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":S[2]||(S[2]=H=>b.value=H),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-4e20ef5c"]]),S2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const d=A.resolveComponent("el-option"),f=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(f,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(d,{label:"中文",value:"zh"}),A.createVNode(d,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),N2=A.defineComponent({__name:"index",setup(n){const e=Fn(),t=Ai(),i=A.ref(!1),d=A.ref(!1),f=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{d.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{f.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await xt.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(D,I)=>{const S=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(S,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(S2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:T,icon:O,onClick:H})=>(A.openBlock(),A.createBlock(S,{key:N,type:T,size:"small",onClick:H},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[O?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:O},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(_2,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(M2,{modelValue:d.value,"onUpdate:modelValue":I[1]||(I[1]=N=>d.value=N)},null,8,["modelValue"]),A.createVNode(x2,{modelValue:f.value,"onUpdate:modelValue":I[2]||(I[2]=N=>f.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),F2=A.defineComponent({__name:"index",setup(n){const e=Fn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(N2),A.createVNode(A.unref(wn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=d=>A.unref(e).schema=d),design:""},null,8,["class","schema"])],2))}}),R2=()=>({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:"联动字段"}}]}),L2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=A.useModel(n,"modelValue");return(i,d)=>{const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=o=>A.unref(e).current=o),schema:A.unref(R2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),G2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},P2={class:"config-linkages"},H2=oe(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,d)=>{var o;const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",P2,[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(e).current=b),schema:A.unref(G2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1f9620a4"]]),K2=A.defineComponent({__name:"index",setup(n){const e=Ai(),t=A.ref(!1),i=A.ref(!1),d=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(f,o)=>{const b=A.resolveComponent("el-divider"),D=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.value,({title:I,onClick:S})=>(A.openBlock(),A.createBlock(D,{key:I,type:"primary",plain:"",size:"small",onClick:S},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(I),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(H2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=I=>t.value=I)},null,8,["modelValue"]),A.createVNode(L2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=I=>i.value=I)},null,8,["modelValue"])],2)}}}),T2={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"}]},U2={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},Y2={class:"more"},O2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,d)=>{const f=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(f,null,{default:A.withCtx(()=>d[4]||(d[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=D=>e.value=D),schema:A.unref(T2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",Y2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:d[1]||(d[1]=D=>t.value=!0)},{default:A.withCtx(()=>d[5]||(d[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":d[3]||(d[3]=D=>t.value=D),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[2]||(d[2]=D=>e.value=D),schema:A.unref(U2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),$2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Jo(),t=nc(),i=A.useModel(n,"modelValue"),d=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(I=[])=>I.map(S=>{const N=Ea(i.value,S.name),T=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:T?"Input":S.component,dialog:T||S.dialog,children:S.children&&b(S.children)}}),D=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...D]}}return{size:"small",labelPosition:"top",items:[]}}),f=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(wn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=D=>i.value=D),schema:d.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(O2,{key:i.value.designKey,modelValue:f.value,"onUpdate:modelValue":b[1]||(b[1]=D=>f.value=D)},null,8,["modelValue"])),A.createVNode(K2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),z2={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"}]},J2=A.defineComponent({__name:"FormEdit",setup(n){const e=Fn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,d)=>(A.openBlock(),A.createBlock(A.unref(wn),{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=f=>t.value=f),schema:A.unref(z2)},null,8,["modelValue","schema"]))}}),Z2=A.defineComponent({__name:"index",setup(n){const e=Ai(),t=Fn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,d)=>{const f=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":d[1]||(d[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(f,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode($2,{modelValue:A.unref(t).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(f,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(J2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),yC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,d=A.ref(""),f=A.useModel(n,"modelValue"),o=A.computed({get(){return f.value.items},set(I){f.value.items=I}}),b=A.computed({get(){return tc(o.value,d.value)},set(I){d.value=I.designKey,o.value=Ru(o.value,I)}}),D=A.reactive({...A.toRefs(t),currentKey:d,hoverKey:"",schema:f,current:b,list:o,rightTab:"form",updateCurrent(I){D.current=I},updateHoverKey(I){D.hoverKey=I},updateSchema:I=>{Object.assign(f.value,I)},updateList:I=>{o.value=I},handleEmit:(I,S)=>{i(I,S)}});return A.provide(Nu,D),(I,S)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},I.$attrs),[A.createVNode(w2),A.createVNode(F2),A.createVNode(Z2)],16))}}),W2={class:"card-header"},j2={class:"card-btns"},q2={key:0,class:"switch-panel"},X2=oe(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(d=>({isLinkBtn:!0,...d})):[]);return(d,f)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(d.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:d.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",W2,[d.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:f[0]||(f[0]=D=>t.value=!t.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(d.header),1),A.createElementVNode("div",j2,[d.typeSwitch?(A.openBlock(),A.createElementBlock("div",q2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="card"}]),onClick:f[1]||(f[1]=D=>d.switchTableType("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="table"}]),onClick:f[2]||(f[2]=D=>d.switchTableType("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(Nn),{btns:i.value||[]},null,8,["btns"])])])])]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(d.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-cfd04797"]]),V2={class:"custom-slot"},A8={class:"empty-content"},e8=["title"],t8=["title","onClick"],n8={key:1,class:"icon-text-wrapper"},i8=["title"],o8=["title"],r8={class:"row-btn-wrapper"},DC=oe(A.defineComponent({__name:"TableContent",props:A.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},getColPopoverContent:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(d,f)=>{const o=A.resolveComponent("el-pagination"),b=A.resolveComponent("el-table-column"),D=A.resolveComponent("el-popover"),I=A.resolveComponent("el-tooltip"),S=A.resolveComponent("el-button"),N=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{[d.schema.key]:!0}])},[d.schema.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"slot,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[0]||(f[0]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[1]||(f[1]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},{default:A.withCtx(()=>[A.createElementVNode("div",V2,A.toDisplayString(A.unref(kt)(d.schema.totalText,{$total:d.total})),1)]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:d.tableData,stripe:d.schema.stripe,"highlight-current-row":"","row-key":d.schema.rowKey,onRowClick:d.handleRowClick,onRowDblclick:d.handleRowDblclick,onSelectionChange:d.handleSelectionChange,onCurrentChange:d.handleCurrentChange,height:d.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",A8,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),f[4]||(f[4]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var T;return[d.schema.multipleSelection?(A.openBlock(),A.createBlock(b,{key:0,type:"selection",width:"55",selectable:d.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.columns,O=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:O.key},[O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(b,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1,sortable:O.sortable??d.schema.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:O.label},A.toDisplayString(O.label),9,e8)]),default:A.withCtx(({row:H,$index:P})=>[A.createVNode(D,{disabled:O.getColPopoverContent===void 0},{reference:A.withCtx(()=>{var v,m,F,k;return[O.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":O.onClick}]),title:d.getColText(O,H),onClick:_=>d.handleClick(O,H,P,_)},A.toDisplayString(d.getColText(O,H)),11,t8)):O.type==="iconText"?(A.openBlock(),A.createElementBlock("div",n8,[O.iconPosition==="left"?(A.openBlock(),A.createBlock(ve,{key:0,name:(v=d.getIconInfo(O,H))==null?void 0:v.name,color:(m=d.getIconInfo(O,H))==null?void 0:m.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),9,i8),O.iconPosition==="right"?(A.openBlock(),A.createBlock(ve,{key:1,name:(F=d.getIconInfo(O,H))==null?void 0:F.name,color:(k=d.getIconInfo(O,H))==null?void 0:k.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"text-ellipsis":!O.noEllipsis}),title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),11,o8))]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:d.getColPopoverContent(O,H)||[]},null,8,["list"])]),_:2},1032,["disabled"])]),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),d.hasVisibleRowBtn&&((T=d.schema.rowBtns)!=null&&T.length)?(A.openBlock(),A.createBlock(b,{key:1,label:d.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:d.schema.rowBtnsWidth||(d.schema.rowBtns.length*34+12>100?d.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:O,$index:H})=>[A.createElementVNode("div",r8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.rowBtns,P=>{var v;return A.openBlock(),A.createElementBlock(A.Fragment,{key:P.key},[P.component==="Popover"?(A.openBlock(),A.createBlock(D,A.mergeProps({key:0,trigger:((v=P.popoverProps)==null?void 0:v.trigger)||"hover",ref_for:!0},P.popoverProps),{reference:A.withCtx(()=>[P.condition===void 0||P.condition===null||A.unref(kt)(P.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(S,{key:0,disabled:P.disabled,link:!P.isPlainBtn,size:"small",type:P.type,onClick:m=>d.handleClick(P,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:P.label,placement:"top"},{default:A.withCtx(()=>[P.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:P.icon.name,color:P.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),P.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:P.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(P.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])])]),_:2},1040,["trigger"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[P.condition===void 0||P.condition===null||A.unref(kt)(P.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(S,{key:0,disabled:P.disabled,link:!P.isPlainBtn,size:"small",type:P.type,onClick:m=>d.handleClick(P,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:P.label,placement:"top"},{default:A.withCtx(()=>[P.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:P.icon.name,color:P.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),P.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:P.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(P.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,d.schema.displayType==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps(d.schema,{data:d.tableData,"get-col-text":d.getColText}),null,16,["data","get-col-text"]),[[A.vShow,d.schema.displayType==="card"]]),d.schema.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[2]||(f[2]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[3]||(f[3]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-d5f45cfc"]]),a8=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),d=A.computed(()=>i.value.rulePath&&f[i.value.rulePath]?i.value.rulePath:t.pageRulePath),f=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),D=A.inject(Vn),I=D?D.translateFn:null;d.value&&A.provide("ruleModule",f[d.value]);const S=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),T=(U,W)=>{const tA=i.value.columns.find(aA=>aA.key===U);tA&&(tA.hidden=!W)},O=(U,W,tA,aA)=>{if(d.value)try{f[d.value][U.onClick](o,W,tA),aA==null||aA.stopPropagation()}catch(CA){console.error(CA)}},H=U=>{if(!(!i.value.rowClick||!d.value))try{f[d.value][i.value.rowClick](o,U)}catch(W){console.error(W)}},P=U=>{if(!(!i.value.rowDbClick||!d.value))try{f[d.value][i.value.rowDbClick](o,U)}catch(W){console.error(W)}},v=A.ref([]),m=U=>{v.value=U},F=(U,W)=>{if(!i.value.selectable||!d.value)return!0;try{return f[d.value][i.value.selectable](o,U,W)}catch(tA){console.error(tA)}return!0},k=(U,W,tA)=>{N.value[U]&&(N.value[U][W]=tA)},_=()=>{var U,W;(W=(U=S.value)==null?void 0:U.tableRef)==null||W.clearSelection()},B=(U,W)=>{var aA,CA,xA,zA;if(!i.value.rowKey)return console.error("rowKey is required");const tA=N.value.find(jA=>jA[i.value.rowKey]===U);tA&&(W===void 0?(CA=(aA=S.value)==null?void 0:aA.tableRef)==null||CA.toggleRowSelection(tA):(zA=(xA=S.value)==null?void 0:xA.tableRef)==null||zA.toggleRowSelection(tA,W))},p=()=>N.value,u=A.ref(),l=U=>{if(u.value=U,!(!i.value.handleCurrentChange||!d.value))try{f[d.value][i.value.handleCurrentChange](o,U)}catch(W){console.error(W)}},g=()=>u.value,s=()=>{var U,W;return(W=(U=S.value)==null?void 0:U.tableRef)==null?void 0:W.getSelectionRows()},h=(U={})=>{N.value.push(U)},C=U=>{U>=0&&U<N.value.length&&N.value.splice(U,1)},a=async()=>{N.value=[...N.value]},r=async()=>!0,E=U=>{N.value=U||[]},Q=(U,W)=>{var aA;const tA=(aA=i.value.topBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.hidden=W)},M=(U,W)=>{var aA;const tA=(aA=i.value.rowBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.condition=!W)},x=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(U=>{var W;return(W=i.value.rowBtns)==null?void 0:W.some(tA=>tA.condition===void 0||tA.condition===null?!0:kt(tA.condition,{$row:U,$globalParams:b()}))})),K=A.ref(0),z=U=>{K.value=U},AA=()=>K.value,eA=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),V=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),$=()=>eA.value,J=U=>{let W=!1;return U.pageNum!==void 0&&U.pageNum>-1&&(eA.value.pageNum!==U.pageNum&&(W=!0),eA.value.pageNum=U.pageNum),U.pageSize!==void 0&&U.pageSize>-1&&(eA.value.pageSize!==U.pageSize&&(W=!0),eA.value.pageSize=U.pageSize),{pagination:eA.value,isChange:W}},y=async U=>{var aA;if(eA.value.pageNum=1,eA.value.pageSize=U,!i.value.sizeChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.sizeChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},j=async U=>{var aA;if(eA.value.pageNum=U,!i.value.pageChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.pageChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},G=U=>{var W,tA;(tA=(W=S.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(U)},q=U=>{var W,tA;(tA=(W=S.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(N.value[U])},rA=(U,W,tA)=>{i.value.columns.forEach(aA=>{aA.key===U&&aA[W]&&(aA[W]=tA)})},iA=U=>{i.value.displayType=U},uA=U=>{i.value.shadowless=U},mA=(U,W)=>{const tA=I?I(U,W):W[U.key];if(!kt(U.encrypted,{$row:W,$col:U})||!tA)return tA;const CA=`${tA}`;return CA.length<=4?"*".repeat(CA.length):CA.slice(0,-4)+"****"},gA=(U,W)=>{if(!(!U.getIconInfo||!d.value))try{return f[d.value][U.getIconInfo](o,W,U)}catch(tA){console.error(tA)}},wA=(U,W)=>{if(!(!U.getColPopoverContent||!d.value))try{return f[d.value][U.getColPopoverContent](o,W,U)}catch(tA){console.error(tA)}},X=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table");const lA=async()=>{if(!i.value||!i.value.onMounted||!d.value)return;await A.nextTick();const U=i.value.onMounted;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onMounted(async()=>{await lA()});const cA=async()=>{if(!i.value||!i.value.onActivated||!d.value)return;const U=i.value.onActivated;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onActivated(async()=>{await cA()});const hA=A.readonly({...A.toRefs(t),setCellData:k,clearSelection:_,getData:p,getCurrentRow:g,selectedRows:v,getSelectedRows:s,addRow:h,deleteRow:C,refresh:a,validate:r,setData:E,selectRow:G,selectRowNum:q,setTotal:z,getTotal:AA,getPagination:$,setPagination:J,setTopBtnHidden:Q,setColVisible:T,setColumn:rA,setRowsBtnHidden:M,setShadowless:uA,rootRef:X,mounted:lA,activated:cA,toggleSelection:B,type:"table"});return e(hA),(U,W)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:X,id:i.value.key,style:A.normalizeStyle(i.value.style)},[i.value.cardless?(A.openBlock(),A.createBlock(DC,{key:1,ref_key:"tableContentRef",ref:S,tableData:N.value,total:K.value,hasVisibleRowBtn:x.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:P,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[1]||(W[1]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(X2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:iA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(DC,{ref_key:"tableContentRef",ref:S,tableData:N.value,total:K.value,hasVisibleRowBtn:x.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:P,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[0]||(W[0]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],12,a8))}}),s8=["id"],l8={class:"right-icon-wrapper"},c8={class:"dynamic-icon-wrapper"},g8={class:"static-icon-wrapper"},d8={class:"tab-label"},u8={class:"tab-label-text"},h8=oe(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{},styleType:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams","doneParent"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),d=A.ref({}),f=t,o=A.ref({}),b=p=>u=>{u?o.value[p]=u:delete o.value[p]},D=n,I=A.computed(()=>{var p;return(p=i.value.content.find(u=>u.key===T.value||u.url===T.value))==null?void 0:p.mixMode}),S=p=>{i.value.content=p},N=p=>{Array.isArray(p)?i.value.content.push(...p):i.value.content.push(p)},T=A.ref(i.value.content[0].key||i.value.content[0].url),O=p=>{d.value[p]=!0,A.nextTick(()=>{d.value[p]=!1})},H=A.useTemplateRef("rootRef"),P=p=>o.value[p],v=(p,u)=>{u&&f("addPageParams",u),A.nextTick(()=>{T.value=p,_(p)})},m=(p,u)=>{const l=i.value.content.find(g=>g.url===p);l&&(l.mixMode=u)},F=A.inject("pageMethodMap",{}),k=A.computed(()=>i.value.rulePath&&D.ruleMap[i.value.rulePath]?i.value.rulePath:D.pageRulePath);k.value&&A.provide("ruleModule",D.ruleMap[k.value]);const _=p=>{o.value[p]&&o.value[p].activate();const u=i.value.onChange;try{u&&D.ruleMap[k.value][u](F,p)}catch{}},B=(p,u)=>{const l=i.value.content.find(g=>g.key===p);l&&(l.hidden=u)};return e(A.readonly({setTabContent:S,addTabContent:N,schema:i,rootRef:H,findRef:P,changeActiveTab:v,setTabHidden:B,activeTab:T,type:"tabs"})),(p,u)=>{var h,C,a;const l=A.resolveComponent("el-skeleton"),g=A.resolveComponent("el-tab-pane"),s=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:H,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(s,A.mergeProps({key:0},i.value.tabProps,{modelValue:T.value,"onUpdate:modelValue":u[1]||(u[1]=r=>T.value=r),class:["crm-tabs",{mixmode:I.value,"expand-top":i.value.expandTop,"btn-type":i.value.styleType==="btn"||D.styleType==="btn","form-item-tabs":!D.styleType||D.styleType==="normal","modal-type":D.styleType==="modal"}],style:{"--top":((h=i.value)==null?void 0:h.stickyTop)!==void 0?`${(C=i.value)==null?void 0:C.stickyTop}px`:"110px","--is-sticky":(a=i.value)!=null&&a.isSticky?"sticky":"static"},addable:i.value.styleType==="btn",onTabChange:_}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",l8,[A.createElementVNode("div",c8,[A.createVNode(A.unref(Nn),{btns:i.value.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",g8,[A.createVNode(A.unref(Nn),{btns:i.value.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(r,E)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:r.key||r.url},[r.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,{name:r.key||r.url,key:r.key||r.url,lazy:E!==0},{label:A.withCtx(()=>[A.createElementVNode("div",d8,[i.value.styleType==="btn"&&r.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:r.icon,size:"x-small"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",u8,A.toDisplayString(r.label),1)])]),default:A.withCtx(()=>[d.value[E]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:r.url,"rule-map":p.ruleMap,onDoneParent:u[0]||(u[0]=Q=>f("doneParent",Q)),"page-params":r.pageParams?{...p.pageParams,...r.pageParams}:p.pageParams,parentPageFun:A.unref(F),ref_for:!0,ref:b(r.key||r.url),onRefresh:Q=>O(E),onChangeTab:v,onChangeMixMode:m},{loading:A.withCtx(()=>[A.createVNode(l,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","parentPageFun","onRefresh"]))]),_:2},1032,["name","lazy"]))],64))),128))]),_:1},16,["modelValue","style","addable","class"]))],8,s8)}}}),[["__scopeId","data-v-ccc3d753"]]),p8=["id"],C8={class:"info-card-header"},B8={class:"left-part"},m8={class:"title-part"},E8={class:"sub-title-container"},Q8={class:"right-part"},f8={class:"info info-card-infos"},I8={key:0,class:"info-label"},w8={class:"ml-2"},b8={key:0,class:"info-card-detail"},y8={class:"info-card-detail-left"},D8={class:"label"},v8={key:0,class:"divider"},k8={key:0,class:"info-card-detail-right"},_8={key:0},M8={key:1,class:"detail-right-label"},x8={key:2,class:"detail-right-value"},S8=oe(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=n,f=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[d.pageRulePath]);A.provide("ruleModule",f.value);const o=A.inject("pageMethodMap",{}),b=N=>{const T=document.createElement("textarea");T.value=N??"",T.style.position="absolute",T.style.opacity="0",document.body.appendChild(T),T.select(),document.execCommand("copy"),T.remove()},D=async()=>{try{f.value.handleCopy?await f.value.handleCopy(o,t.value.header.subTitle):await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}xt.ElMessage.success("Copy Successful")},I=N=>{var T;if(f.value[N||"clickTitleIcon"])try{f.value[N||"clickTitleIcon"](o,(T=t.value.header)==null?void 0:T.titleIcon)}catch(O){console.error(O+`
|
|
201
201
|
|
|
202
202
|
rulePath: ${t.value.rulePath}
|
|
203
203
|
|
|
@@ -222,9 +222,9 @@ mountedFuncName: ${N}
|
|
|
222
222
|
rulePath: ${t.value.rulePath}
|
|
223
223
|
|
|
224
224
|
mountedFuncName: ${N}
|
|
225
|
-
`)}}),e({type:"infocard",schema:t}),(N,T)=>{const O=A.resolveComponent("el-popover"),H=A.resolveComponent("el-tooltip"),P=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode(P,{class:"info-card",always:""},{default:A.withCtx(()=>{var v,m,F,k,_,B,p,u,l,g,s;return[A.createElementVNode("div",C8,[A.createElementVNode("div",B8,[A.createElementVNode("div",{class:"avatar",style:A.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[A.createVNode(
|
|
226
|
-
funcName: ${T}`)}},I=A.inject(
|
|
227
|
-
onMoved: ${t.onMoved}`)}};if(e(D),t.name){const T=zo(t.name,D);A.onUnmounted(()=>{T()})}return(T,O)=>(A.openBlock(),A.createBlock(A.unref(q1),{layout:i.value,"onUpdate:layout":O[1]||(O[1]=H=>i.value=H),"col-num":T.colNum||12,"row-height":T.rowHeight||30,"max-rows":T.maxRows,margin:[8,8],"is-draggable":T.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:T.children,gridData:i.value,"onUpdate:gridData":O[0]||(O[0]=H=>i.value=H),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-f58dab66"]])},Symbol.toStringTag,{value:"Module"})),X8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:d}=Fn(),f=A.ref(0),o=T=>{f.value=T},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),D=()=>b.value,I=async T=>{if(b.value.pageNum=1,b.value.pageSize=T,!!t.sizeChange)try{await i[t.sizeChange](d,b.value)}catch(O){console.error(O)}},S=async T=>{if(b.value.pageNum=T,!!t.pageChange)try{await i[t.pageChange](d,b.value)}catch(O){console.error(O)}},N=A.readonly({getPagination:D,setTotal:o,type:"pagination"});if(t.name){const T=zo(t.name,N);A.onUnmounted(()=>{T()})}return e(N),(T,O)=>{const H=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(T.style)},[A.createVNode(H,{layout:T.paginationLayout||"total,sizes, prev, pager, next,jumper",total:f.value,"page-sizes":T.pageSizes||[5,6,10,20,30,40],"default-page-size":T.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":O[0]||(O[0]=P=>b.value.pageNum=P),"page-size":b.value.pageSize,"onUpdate:pageSize":O[1]||(O[1]=P=>b.value.pageSize=P),"pager-count":Number(T.pagerCount)||5,onSizeChange:I,onCurrentChange:S},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-0cc06d1f"]])},Symbol.toStringTag,{value:"Module"})),V8={class:"filter-search-header"},AM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),d=A.ref(t.searchTypes?t.searchTypes[0].value:null),f=()=>d.value,o=B=>{if(t.searchTypes){const p=t.searchTypes.find(u=>u.value===B);p&&(d.value=p.value)}},b=A.ref(""),D=B=>{b.value=B},I=()=>b.value,S=B=>{try{H[t.onSearchTypeChange](P,B)}catch(p){console.error(p)}},N=B=>{if(t.onChange)try{H[t.onChange](P,B)}catch(p){console.error(p)}},T=async()=>{try{await H[t.onSearch](P,b.value)}catch(B){console.error(B)}},O=()=>{i.value=!i.value},{ruleModule:H,pageMethodMap:P}=Fn(),v=A.readonly({setSearchValue:D,getSearchValue:I,getSearchType:f,setSearchType:o,type:"filterSearch"});if(t.name){const B=zo(t.name,v);A.onUnmounted(()=>{B()})}const m=A.ref(""),F=A.ref(),k=A.ref(0),_=()=>{var p;const B=(p=t.searchTypes)==null?void 0:p.find(u=>u.value===d.value);m.value=B?B.label:"",F.value&&A.nextTick(()=>{k.value=F.value.offsetWidth+28})};return A.watch(()=>d.value,()=>{_()}),A.onMounted(()=>{_()}),e(v),(B,p)=>{const u=A.resolveComponent("el-option"),l=A.resolveComponent("el-select"),g=A.resolveComponent("el-input"),s=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",V8,[A.createVNode(g,{modelValue:b.value,"onUpdate:modelValue":p[1]||(p[1]=h=>b.value=h),placeholder:B.placeholder||"Search",size:"large",onKeyup:A.withKeys(A.withModifiers(T,["stop"]),["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createElementVNode("span",{ref_key:"textWidthRef",ref:F,class:"text-width-calc"},A.toDisplayString(m.value),513),A.createVNode(l,{ref:"selectRef",modelValue:d.value,"onUpdate:modelValue":p[0]||(p[0]=h=>d.value=h),size:"small",class:"filter-search-select",style:A.normalizeStyle({width:k.value+"px"}),onChange:S},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(B.searchTypes,h=>(A.openBlock(),A.createBlock(u,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","style"])]),suffix:A.withCtx(()=>[A.createVNode(De,{name:"icon-lujing2",size:"small",color:"#666666",onClick:T,class:"search-icon"})]),_:1},8,["modelValue","placeholder","onKeyup"]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:O},[A.createVNode(De,{name:"icon-shaixuan",size:"small"}),p[2]||(p[2]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)]),A.createVNode(s,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:B.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-b0751bd0"]])},Symbol.toStringTag,{value:"Module"})),eM={class:"float-curd"},tM={class:"curd-body"},nM={class:"gradient-input-wrapper"},iM={class:"float-form"},oM={class:"float-form-header"},rM={class:"float-form-header-title"},aM={class:"float-form-header-btns"},sM={class:"float-form-body"},lM={class:"curd-footer"},cM=["innerHTML"],gM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FloatCurd",props:{name:{},children:{},formTitle:{},onSearch:{},onAiSearch:{},onClear:{},inputPlaceholder:{},hidden:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.ref(!1),{ruleModule:d,pageMethodMap:f}=Fn(),o=Et(),b=A.computed(()=>{var k,_,B,p,u,l;const P=o.schema.items,v=o.formValues,m=ln(P,t.name);if(!m||!m.children)return[];const F=[];for(const g in v){const s=ln(m.children,g);if(s&&s.label&&!s.hidden){const h=v[g];if(h!=null&&h!==""){const C={name:s.name,label:s.label,value:h,closeable:!s.required&&!((k=s.props)!=null&&k.disabled)&&((_=s.props)==null?void 0:_.clearable)!==!1};s.component==="DatePicker"&&(C.iconName="icon-rili",C.value=xt.dayjs(h).format(((B=s.props)==null?void 0:B.valueFormat)||"YYYY-MM-DD")),s.component==="Select"&&(C.value=(l=(u=(p=s.props)==null?void 0:p.options)==null?void 0:u.find(a=>a.value===h))==null?void 0:l.label),F.push(C)}}}return F}),D=A.ref("");function I(){try{d[t.onSearch](f),i.value=!1}catch(P){console.error(P)}}const S=A.ref(!1);async function N(){try{S.value=!0,await d[t.onAiSearch](f,D.value)}catch(P){console.error(P)}finally{S.value=!1}}function T(P){o.setFieldValue(P.name,"",""),I()}function O(){try{d[t.onClear](f)}catch(P){console.error(P)}}const H={type:"floatcurd"};if(e(H),t.name){const P=zo(t.name,H);A.onUnmounted(()=>{P()})}return(P,v)=>{const m=A.resolveComponent("el-button"),F=A.resolveComponent("el-input");return A.withDirectives((A.openBlock(),A.createElementBlock("div",eM,[A.createElementVNode("div",tM,[A.createElementVNode("div",nM,[A.createVNode(F,{class:"float-curd-ai-input",placeholder:P.inputPlaceholder,modelValue:D.value,"onUpdate:modelValue":v[0]||(v[0]=k=>D.value=k),clearable:"",onClear:N,onKeyup:A.withKeys(N,["enter"])},{prefix:A.withCtx(()=>[A.createVNode(De,{name:"icon-a-mobang1"}),v[3]||(v[3]=A.createElementVNode("span",{class:"prefix-text"},"Ask AI",-1))]),suffix:A.withCtx(()=>[A.createVNode(m,{type:"primary",size:"small",onClick:N,loading:S.value},{default:A.withCtx(()=>v[4]||(v[4]=[A.createTextVNode("Go")])),_:1},8,["loading"])]),_:1},8,["placeholder","modelValue"])]),A.createVNode(m,{plain:!0,onClick:v[1]||(v[1]=k=>i.value=!i.value),class:"more-btn"},{default:A.withCtx(()=>[A.createVNode(De,{name:"icon-tiaojianshaixuan"}),v[5]||(v[5]=A.createElementVNode("span",null,"More",-1))]),_:1}),A.withDirectives(A.createElementVNode("div",iM,[A.createElementVNode("div",oM,[A.createElementVNode("div",rM,A.toDisplayString(P.formTitle),1),A.createElementVNode("div",aM,[A.createVNode(m,{type:"primary",size:"small",onClick:I},{default:A.withCtx(()=>v[6]||(v[6]=[A.createTextVNode("Go")])),_:1}),A.createVNode(De,{name:"icon-a-rongqi1",onClick:v[2]||(v[2]=k=>i.value=!1)})])]),A.createElementVNode("div",sM,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])])],512),[[A.vShow,i.value]])]),A.createElementVNode("div",lM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,k=>(A.openBlock(),A.createElementBlock("div",{class:"tag",key:k.name},[k.iconName?(A.openBlock(),A.createBlock(De,{key:0,name:k.iconName},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",{innerHTML:k.label+":"},null,8,cM),A.createElementVNode("span",null,A.toDisplayString(k.value),1),k.closeable?(A.openBlock(),A.createBlock(De,{key:1,name:"icon-a-rongqi1",onClick:_=>T(k),class:"close-icon"},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128)),b.value.length>0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"clear-btn",onClick:O},"Clear filters")):A.createCommentVNode("",!0)])],512)),[[A.vShow,!P.hidden]])}}}),[["__scopeId","data-v-39f9cfac"]])},Symbol.toStringTag,{value:"Module"})),dM=["id"],ag=oe(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{},parentPageFun:{}},emits:["doneParent","done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,d={form:wn,table:rg,tabs:h8,infocard:S8,navbar:J8,alert:j8},f=n,o=A.ref(f.pageParams),b=A.ref({}),D=A.ref(),I=A.ref({});A.watch(()=>f.pageParams,()=>{o.value=ut.cloneDeep(f.pageParams)});const S=$=>{if(D.value){if($.type==="tabs")return{...$.schema.tabProps,schema:$.schema,"onUpdate:schema":J=>{$.schema=J},ruleMap:f.ruleMap,pageParams:o.value,pageRulePath:D.value.rulePath||""};if($.type==="form")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},realValues:$.realValues,"onUpdate:realValues":J=>{$.realValues=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="table")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="infocard")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||""};if($.type==="navbar")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",findRef:O};if($.type==="alert")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageUrl:f.pageUrl,pageEmit:i}}},N=A.ref([]),T=fC(),O=$=>{var y;const J=(y=N.value)==null?void 0:y.find(j=>j.schema.key===$);return J||T.findRef($)},H=$=>{var y;return(y=N.value)==null?void 0:y.filter(j=>j.schema.key&&$.includes(j.schema.key))},P=($,J)=>{var q;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=rA=>{rA.forEach(iA=>{y.includes(iA.component)?iA.props&&(iA.props.disabled=J):iA.children&&j(iA.children)})},G=(q=D.value)==null?void 0:q.content.find(rA=>rA.schema.key===$);G&&G.type==="form"&&j(G.schema.items)},v=($,J)=>{var q;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=rA=>{rA.forEach(iA=>{y.includes(iA.component)?iA.props&&(iA.props.read=J):iA.children&&j(iA.children)})},G=(q=D.value)==null?void 0:q.content.find(rA=>rA.schema.key===$);G&&G.type==="form"&&j(G.schema.items)},m=async $=>{if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&await y.validate()}else{const J=O($);return J?await J.validate():!1}},F=($,J)=>{const y={...$||{}};if(!J)return y;for(const[j,G]of Object.entries(J))G!==""&&(y[j]=G);return y},k=$=>{if(D.value){if(!$){const J={};for(const y of D.value.content)y.schema.key&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}if(Array.isArray($)){const J={};for(const y of D.value.content)y.schema.key&&$.includes(y.schema.key)&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}else{const J=D.value.content.find(y=>y.schema.key===$);if(J){if(J.type==="form")return ut.cloneDeep(A.toRaw(F(J.model,J.realValues)));if(J.type==="table")return ut.cloneDeep(A.toRaw(J.model))}}}},_=($,J,y=!1)=>{if(!D.value)return;const j=D.value.content.find(G=>G.schema.key===$);if(j)if(j.type==="form")if(y)Object.assign(j.model,J);else{for(let G in j.model)delete j.model[G];Object.assign(j.model,J)}else j.type==="table"&&(j.model=J)},B=$=>{if($)if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&y.resetFields()}else{const J=O($);if(!J)return;J.type==="form"&&J.resetFields()}},p=($,J)=>{const y=O($);y&&y.type==="form"&&y.clearValidate(J)},u=($,J)=>{var j;const y=(j=D.value)==null?void 0:j.content.find(G=>G.schema.key===$);if(y&&y.type==="form")return ln(y.schema.items,J)};function l(){return o.value}const g=$=>{o.value=$},s=$=>{o.value={...o.value,...$}},h=($,J)=>{if(!D.value)return;const y=D.value.content.find(j=>j.schema.key===$);y&&(y.schema.hidden=J)},C=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.hidden=J)},a=($,J,y)=>{var j;if(D.value){if($.type==="form"){const G=u($.formKey,$.btnKey);G&&(J==="disabled"?G.props[J]=y:G[J]=y)}else if($.type==="page"){const G=D.value.btns.find(q=>q.key===$.btnKey);G&&(G[J]=y)}else if($.type==="table"){const G=(j=D.value)==null?void 0:j.content.find(q=>q.schema.key===$.tableKey);if(!G||G.type!=="table")return;$.btnPosition==="top"?G.schema.topBtns.find(q=>q.key===$.btnKey)[J]=y:$.btnPosition==="row"&&(J==="hidden"?G.schema.rowBtns.find(q=>q.key===$.btnKey).condition=!y:G.schema.rowBtns.find(q=>q.key===$.btnKey)[J]=y)}else if($.type==="card"){const G=u($.formKey,$.cardKey);G&&(G.props.btns.find(q=>q.key===$.btnKey)[J]=y)}}},r=($,J,y)=>{var G,q,rA,iA,uA;if(!D.value)return;const j=(J==="disabled"||J==="hidden")&&typeof y=="boolean";if(D.value.btns){const mA=D.value.btns.find(gA=>gA.key===$);if(mA&&j){mA[J]=y;return}}for(const mA of D.value.content){if(mA.type==="infocard"){const gA=mA.schema.btns.find(wA=>wA.key===$);if(gA&&j){gA[J]=y;return}}if(mA.type==="navbar"){const gA=(G=mA.schema.btns)==null?void 0:G.find(lA=>lA.key===$);if(gA&&j){gA[J]=y;return}const wA=(q=mA.schema.footerBtns)==null?void 0:q.find(lA=>lA.key===$);if(wA&&j){wA[J]=y;return}const X=(rA=mA.schema.leftActions)==null?void 0:rA.find(lA=>lA.key===$);if(X&&j&&J==="hidden"){X[J]=y;return}}if(mA.type==="table"){const gA=(iA=mA.schema.topBtns)==null?void 0:iA.find(X=>X.key===$);if(gA&&j){gA[J]=y;return}const wA=(uA=mA.schema.rowBtns)==null?void 0:uA.find(X=>X.key===$);if(wA){J==="hidden"?wA.condition=!y:J==="condition"&&typeof y=="string"?wA.condition=y:j&&(wA[J]=y);return}}if(mA.type==="form"){const gA=wA=>{var X,lA;for(const cA of wA){if(cA.component==="Button"&&cA.name===$)return cA.props&&(cA.props[J]=y),!0;if((cA.component==="Card"||cA.component==="CurdCard")&&cA.props&&Array.isArray(cA.props.btns)){const hA=cA.props.btns.find(U=>U.key===$);if(hA)return hA[J]=y,!0}if(cA.component==="Table"&&cA.props){const hA=(X=cA.props.topBtns)==null?void 0:X.find(W=>W.key===$);if(hA)return hA[J]=y,!0;const U=(lA=cA.props.rowBtns)==null?void 0:lA.find(W=>W.key===$);if(U)return J==="hidden"?U.condition=!y:J==="condition"&&typeof y=="string"?U.condition=y:j&&(U[J]=y),!0}if(cA.children&&Array.isArray(cA.children)&&gA(cA.children))return!0}return!1};if(gA(mA.schema.items))return}}},E=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.disabled=J)},Q=$=>{Object.assign(b.value,$)},M=()=>b.value,x=()=>f.parentPageFun,K=A.inject(Xn),z={findRef:O,setFormDisabled:P,clearValidate:p,validate:m,getData:k,resetFields:B,emit:i,setData:_,getItemByName:u,getPageParams:l,setHidden:h,setBtnHidden:C,setBtnStateByKey:r,setBtnDisabled:E,addPageParams:s,setPageParams:g,setGlobalParams:Q,getGlobalParams:M,setBtnState:a,setReadMode:v,getParentPageFun:x,setPageMask:(K==null?void 0:K.setPageMaskFn)||(()=>{})},AA=async $=>{if(!(!D.value||!D.value.rulePath)){try{I.value[$.key]=!0,await f.ruleMap[D.value.rulePath][$.onClick](z)}catch(J){console.error(J)}I.value[$.key]=!1}};A.provide("pageMethodMap",z),A.provide("ruleMap",f.ruleMap),A.provide("getGlobalParams",M),A.onMounted(async()=>{if(K&&K.fetchSchemaFn&&f.pageUrl){const $=await K.fetchSchemaFn(f.pageUrl);if(!$)return;if($&&$.rulePath&&$.onBeforeMount){const j=$.onBeforeMount;try{await f.ruleMap[$.rulePath][j]($,z)}catch(G){console.error(G+`
|
|
225
|
+
`)}}),e({type:"infocard",schema:t}),(N,T)=>{const O=A.resolveComponent("el-popover"),H=A.resolveComponent("el-tooltip"),P=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode(P,{class:"info-card",always:""},{default:A.withCtx(()=>{var v,m,F,k,_,B,p,u,l,g,s;return[A.createElementVNode("div",C8,[A.createElementVNode("div",B8,[A.createElementVNode("div",{class:"avatar",style:A.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[A.createVNode(ve,{name:(v=t.value.header)==null?void 0:v.avatar,color:(m=t.value.header)==null?void 0:m.avatarIconColor,size:t.value.header.avatarSize||"small"},null,8,["name","color","size"])],4),A.createElementVNode("div",m8,[A.createElementVNode("div",{class:A.normalizeClass(["title",(F=t.value.header)!=null&&F.titleClick?"is-click":""]),style:A.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[A.createElementVNode("span",{class:A.normalizeClass((k=t.value.header)!=null&&k.titleClick?"cursor-pointer":""),onClick:T[0]||(T[0]=h=>{var C;return I((C=t.value.header)==null?void 0:C.titleClick)})},A.toDisplayString((_=t.value.header)==null?void 0:_.title),3),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((B=t.value.header)==null?void 0:B.titleIcons,(h,C)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:C},[h.type==="popover"?(A.openBlock(),A.createBlock(O,{key:0,width:h.popoverWidth},{reference:A.withCtx(()=>[A.createVNode(ve,{name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>I(h.onClick)},null,8,["name","size","onClick"])]),default:A.withCtx(()=>[h.popoverContent?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:h.popoverContent},null,8,["list"])):A.createCommentVNode("",!0)]),_:2},1032,["width"])):(A.openBlock(),A.createBlock(ve,{key:1,name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>I(h.onClick)},null,8,["name","size","onClick"]))],64))),128)),A.createVNode(A.unref(Nn),{class:"title-icon",btns:(p=t.value.header)==null?void 0:p.btns},null,8,["btns"])],6),A.createElementVNode("div",E8,[A.createElementVNode("span",{class:A.normalizeClass(["sub-title",{clickStyle:(u=t.value.header)==null?void 0:u.subTitleClick}]),onClick:T[1]||(T[1]=h=>{var C;return S((C=t.value.header)==null?void 0:C.subTitleClick)})},A.toDisplayString((l=t.value.header)==null?void 0:l.subTitlePrefix)+A.toDisplayString((g=t.value.header)==null?void 0:g.subTitle),3),A.createVNode(ve,{name:"icon-fuzhi",size:12,class:"copy-icon",onClick:D}),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((s=t.value.header)==null?void 0:s.subTitleIcons,(h,C)=>{var a,r;return A.openBlock(),A.createBlock(H,{key:C,content:(a=h.icon)==null?void 0:a.tooltip,placement:"top",disabled:!((r=h.icon)!=null&&r.tooltip)},{default:A.withCtx(()=>{var E,Q;return[A.createVNode(ve,{name:(E=h.icon)==null?void 0:E.name,color:(Q=h.icon)==null?void 0:Q.color,size:"x-small",class:"title-icon ml-2 cursor-pointer hover-color-primary",onClick:M=>I(h.onClick)},null,8,["name","color","onClick"])]}),_:2},1032,["content","disabled"])}),128))])])]),A.createElementVNode("div",Q8,[A.createElementVNode("div",f8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.infos,h=>(A.openBlock(),A.createElementBlock("div",{key:h.key,class:"info-item"},[h.label?(A.openBlock(),A.createElementBlock("span",I8,A.toDisplayString(h.label)+": ",1)):A.createCommentVNode("",!0),h.label||h.value?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["info-value",h.type])},A.toDisplayString(h.value||"--"),3)):A.createCommentVNode("",!0),A.createElementVNode("div",w8,[h.expendComponents?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,class:"expend-components",list:h.expendComponents},null,8,["list"])):A.createCommentVNode("",!0)])]))),128))]),A.createVNode(A.unref(Nn),{btns:t.value.btns},null,8,["btns"]),A.createVNode(A.unref(Ak),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),t.value.detail&&t.value.detail.length>0||t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",b8,[A.createElementVNode("div",y8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.detail,(h,C)=>(A.openBlock(),A.createElementBlock("div",{key:h.label,class:"detail-item"},[A.createElementVNode("div",null,[A.createElementVNode("div",D8,A.toDisplayString(h.label),1),A.createElementVNode("div",{class:"value",style:A.normalizeStyle(h.color?{color:h.color}:{})},A.toDisplayString(h.value||"- -"),5)]),C!==t.value.detail.length-1?(A.openBlock(),A.createElementBlock("div",v8)):A.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",k8,[t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",_8,[A.createVNode(A.unref(rt),{list:t.value.bottomRightFormSlots},null,8,["list"])])):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",M8,A.toDisplayString(t.value.bottomRightDetail.label),1)):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",x8,A.toDisplayString(t.value.bottomRightDetail.value),1)):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)]}),_:1})],8,p8))}}}),[["__scopeId","data-v-d6fbc929"]]),N8=["id"],F8={class:"nav-header mb10"},R8={key:0,class:"left-part"},L8={class:"nav-title"},G8={key:1},P8={key:2,class:"steps"},H8=["onClick"],K8=["onClick"],T8={class:"nav-footer"},U8={key:0,class:"left-actions"},Y8=["onClick"],O8={class:"footer-text"},$8={key:1,class:"divider"},z8={class:"right-actions"},J8=oe(A.defineComponent({__name:"NavBar",props:A.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.computed(()=>(t.value.leftActions||[]).filter(T=>!T.hidden)),d=A.inject("ruleMap",{}),f=A.inject("pageMethodMap",{}),o=n,b=A.computed(()=>t.value.rulePath&&d[t.value.rulePath]?d[t.value.rulePath]:d[o.pageRulePath]);A.provide("ruleModule",b.value);const D=T=>{if(T&&b.value)try{b.value[T](f)}catch(O){console.error(O+`
|
|
226
|
+
funcName: ${T}`)}},I=A.inject(Vn),S=()=>{I&&I.navigateFn&&I.navigateFn(-1)},N=T=>{const O=o.findRef(T);if(O&&O.rootRef)O.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const H=document.getElementById(T);H&&H.scrollIntoView({behavior:"smooth",block:"center"})}};return e({type:"navbar",schema:t}),(T,O)=>t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-bar",{traditionMode:t.value.traditionMode,mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky,"expand-bottom":t.value.expandBottom}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[A.createElementVNode("div",F8,[t.value.title||t.value.back?(A.openBlock(),A.createElementBlock("div",R8,[t.value.back?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-back",class:"back-icon",onClick:S})):A.createCommentVNode("",!0),A.createElementVNode("div",L8,A.toDisplayString(t.value.title),1)])):A.createCommentVNode("",!0),t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",G8,[A.createVNode(A.unref(Nn),{btns:t.value.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),t.value.content&&t.value.content.length>0&&!t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",P8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(H,P)=>(A.openBlock(),A.createElementBlock("div",{key:P,class:A.normalizeClass(["hexagon",{"first-item":P===0,"middle-item":P>0&&P<t.value.content.length-1,"last-item":P===t.value.content.length-1}]),onClick:v=>N(H.ref)},[A.createElementVNode("span",null,A.toDisplayString(H.text),1)],10,H8))),128))])):A.createCommentVNode("",!0)]),t.value.content&&t.value.content.length>0&&t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(H,P)=>(A.openBlock(),A.createElementBlock("div",{key:P,class:A.normalizeClass(["hexagon tradition-mode",{"first-item":P===0,"middle-item":P>0&&P<t.value.content.length-1,"last-item":P===t.value.content.length-1}]),onClick:v=>N(H.ref)},[A.createElementVNode("span",null,A.toDisplayString(H.text),1)],10,K8))),128))],2)):A.createCommentVNode("",!0),A.createElementVNode("div",T8,[i.value&&i.value.length>0?(A.openBlock(),A.createElementBlock("div",U8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value,(H,P)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:H.key},[H.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,onClick:v=>D(H.onClick),class:"footer-item"},[H.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:H.icon.name,color:H.icon.color,class:"footer-icon"},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",O8,A.toDisplayString(H.text),1),P!==i.value.length-1?(A.openBlock(),A.createElementBlock("div",$8)):A.createCommentVNode("",!0)],8,Y8))],64))),128))])):A.createCommentVNode("",!0),A.createElementVNode("div",z8,[A.createVNode(A.unref(Nn),{btns:t.value.footerBtns||[]},null,8,["btns"]),t.value.traditionMode?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(A.unref(Nn),{key:0,btns:t.value.btns||[]},null,8,["btns"]))])])],14,N8))}}),[["__scopeId","data-v-b213ea11"]]),Z8=["onClick"],W8={key:1},j8=oe(A.defineComponent({__name:"AlertRender",props:A.mergeModels({pageRulePath:{},pageUrl:{},pageEmit:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=A.inject("pageMethodMap",{}),f=n,o=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[f.pageRulePath]);A.provide("ruleModule",o.value);const b=(T,O,H)=>{try{o.value[T](d,O,H)}catch(P){console.error(P)}},D=()=>{if(f.pageEmit("changeMixMode",f.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](d)}catch(T){console.error(T)}},I=A.computed(()=>{var v,m;const T=/\{(\d+)\}/g,O=[];let H=0,P;for(;(P=T.exec(t.value.description))!==null;)P.index>H&&O.push({type:"text",value:t.value.description.slice(H,P.index)}),O.push({type:"value",index:Number(P[1]),getPopoverContent:(m=(v=t.value.values)==null?void 0:v[Number(P[1])])==null?void 0:m.getPopoverContent}),H=T.lastIndex;return H<t.value.description.length&&O.push({type:"text",value:t.value.description.slice(H)}),O}),S=A.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)"}),N=(T,O,H)=>{if(T)try{return o.value[T](d,O,H)}catch(P){console.error(P)}return[]};return e({type:"alert",schema:t}),(T,O)=>{const H=A.resolveComponent("el-popover"),P=A.resolveComponent("el-alert");return t.value.description?(A.openBlock(),A.createBlock(P,{key:0,type:t.value.type,"show-icon":!0,class:A.normalizeClass(["alert-container",{mixmode:t.value.mixMode,"no-sticky":t.value.noSticky}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`,...t.value.style||{}}:t.value.style),onClose:D},{icon:A.withCtx(()=>[A.createVNode(ve,{name:S.value.name,color:S.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.value,(v,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:m},[v.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(v.value),1)],64)):(A.openBlock(),A.createBlock(H,{key:1,placement:"bottom",disabled:!v.getPopoverContent,width:600},{reference:A.withCtx(()=>[typeof v.index=="number"&&t.value.values&&t.value.values[v.index]&&typeof t.value.values[v.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:F=>b(t.value.values[v.index].onClick,t.value.values[v.index].text,t.value.values[v.index])},A.toDisplayString(typeof v.index=="number"&&t.value.values&&t.value.values[v.index]?t.value.values[v.index].text:""),9,Z8)):(A.openBlock(),A.createElementBlock("span",W8,A.toDisplayString(typeof v.index=="number"&&t.value.values&&t.value.values[v.index]?t.value.values[v.index].text:""),1))]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:N(v.getPopoverContent,v.value,v.index)},null,8,["list"])])]),_:2},1032,["disabled"]))],64))),128))])]),_:1},8,["type","class","style"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-6aa7eefd"]]),q8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"DragList",props:A.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{},onMoved:{}},{gridlayout:{required:!0},gridlayoutModifiers:{}}),emits:["update:gridlayout"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"gridlayout"),D={getLayout:()=>A.readonly(i),setItemX:(T,O)=>{i.value[T].x=O},setItemY:(T,O)=>{i.value[T].y=O},setItemVisible:(T,O)=>{const H=i.value.find(P=>P.i===T);H&&(H.h=O?H.contentHeight||1:0)},type:"draglist"},{ruleModule:I,pageMethodMap:S}=Rn(),N=()=>{if(t.onMoved&&I)try{I[t.onMoved](S,A.readonly(i.value))}catch(T){console.error(T+`
|
|
227
|
+
onMoved: ${t.onMoved}`)}};if(e(D),t.name){const T=zo(t.name,D);A.onUnmounted(()=>{T()})}return(T,O)=>(A.openBlock(),A.createBlock(A.unref(q1),{layout:i.value,"onUpdate:layout":O[1]||(O[1]=H=>i.value=H),"col-num":T.colNum||12,"row-height":T.rowHeight||30,"max-rows":T.maxRows,margin:[8,8],"is-draggable":T.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:T.children,gridData:i.value,"onUpdate:gridData":O[0]||(O[0]=H=>i.value=H),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-869881f7"]])},Symbol.toStringTag,{value:"Module"})),X8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:d}=Rn(),f=A.ref(0),o=T=>{f.value=T},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),D=()=>b.value,I=async T=>{if(b.value.pageNum=1,b.value.pageSize=T,!!t.sizeChange)try{await i[t.sizeChange](d,b.value)}catch(O){console.error(O)}},S=async T=>{if(b.value.pageNum=T,!!t.pageChange)try{await i[t.pageChange](d,b.value)}catch(O){console.error(O)}},N=A.readonly({getPagination:D,setTotal:o,type:"pagination"});if(t.name){const T=zo(t.name,N);A.onUnmounted(()=>{T()})}return e(N),(T,O)=>{const H=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(T.style)},[A.createVNode(H,{layout:T.paginationLayout||"total,sizes, prev, pager, next,jumper",total:f.value,"page-sizes":T.pageSizes||[5,6,10,20,30,40],"default-page-size":T.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":O[0]||(O[0]=P=>b.value.pageNum=P),"page-size":b.value.pageSize,"onUpdate:pageSize":O[1]||(O[1]=P=>b.value.pageSize=P),"pager-count":Number(T.pagerCount)||5,onSizeChange:I,onCurrentChange:S},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-f04853fb"]])},Symbol.toStringTag,{value:"Module"})),V8={class:"filter-search-header"},AM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),d=A.ref(t.searchTypes?t.searchTypes[0].value:null),f=()=>d.value,o=B=>{if(t.searchTypes){const p=t.searchTypes.find(u=>u.value===B);p&&(d.value=p.value)}},b=A.ref(""),D=B=>{b.value=B},I=()=>b.value,S=B=>{try{H[t.onSearchTypeChange](P,B)}catch(p){console.error(p)}},N=B=>{if(t.onChange)try{H[t.onChange](P,B)}catch(p){console.error(p)}},T=async()=>{try{await H[t.onSearch](P,b.value)}catch(B){console.error(B)}},O=()=>{i.value=!i.value},{ruleModule:H,pageMethodMap:P}=Rn(),v=A.readonly({setSearchValue:D,getSearchValue:I,getSearchType:f,setSearchType:o,type:"filterSearch"});if(t.name){const B=zo(t.name,v);A.onUnmounted(()=>{B()})}const m=A.ref(""),F=A.ref(),k=A.ref(0),_=()=>{var p;const B=(p=t.searchTypes)==null?void 0:p.find(u=>u.value===d.value);m.value=B?B.label:"",F.value&&A.nextTick(()=>{k.value=F.value.offsetWidth+28})};return A.watch(()=>d.value,()=>{_()}),A.onMounted(()=>{_()}),e(v),(B,p)=>{const u=A.resolveComponent("el-option"),l=A.resolveComponent("el-select"),g=A.resolveComponent("el-input"),s=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",V8,[A.createVNode(g,{modelValue:b.value,"onUpdate:modelValue":p[1]||(p[1]=h=>b.value=h),placeholder:B.placeholder||"Search",size:"large",onKeyup:A.withKeys(A.withModifiers(T,["stop"]),["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createElementVNode("span",{ref_key:"textWidthRef",ref:F,class:"text-width-calc"},A.toDisplayString(m.value),513),A.createVNode(l,{ref:"selectRef",modelValue:d.value,"onUpdate:modelValue":p[0]||(p[0]=h=>d.value=h),size:"small",class:"filter-search-select",style:A.normalizeStyle({width:k.value+"px"}),onChange:S},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(B.searchTypes,h=>(A.openBlock(),A.createBlock(u,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","style"])]),suffix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-lujing2",size:"small",color:"#666666",onClick:T,class:"search-icon"})]),_:1},8,["modelValue","placeholder","onKeyup"]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:O},[A.createVNode(ve,{name:"icon-shaixuan",size:"small"}),p[2]||(p[2]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)]),A.createVNode(s,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:B.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-dd8b9ec3"]])},Symbol.toStringTag,{value:"Module"})),eM={class:"float-curd"},tM={class:"curd-body"},nM={class:"gradient-input-wrapper"},iM={class:"float-form"},oM={class:"float-form-header"},rM={class:"float-form-header-title"},aM={class:"float-form-header-btns"},sM={class:"float-form-body"},lM={class:"curd-footer"},cM=["innerHTML"],gM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FloatCurd",props:{name:{},children:{},formTitle:{},onSearch:{},onAiSearch:{},onClear:{},inputPlaceholder:{},hidden:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.ref(!1),{ruleModule:d,pageMethodMap:f}=Rn(),o=Et(),b=A.computed(()=>{var k,_,B,p,u,l;const P=o.schema.items,v=o.formValues,m=ln(P,t.name);if(!m||!m.children)return[];const F=[];for(const g in v){const s=ln(m.children,g);if(s&&s.label&&!s.hidden){const h=v[g];if(h!=null&&h!==""){const C={name:s.name,label:s.label,value:h,closeable:!s.required&&!((k=s.props)!=null&&k.disabled)&&((_=s.props)==null?void 0:_.clearable)!==!1};s.component==="DatePicker"&&(C.iconName="icon-rili",C.value=xt.dayjs(h).format(((B=s.props)==null?void 0:B.valueFormat)||"YYYY-MM-DD")),s.component==="Select"&&(C.value=(l=(u=(p=s.props)==null?void 0:p.options)==null?void 0:u.find(a=>a.value===h))==null?void 0:l.label),F.push(C)}}}return F}),D=A.ref("");function I(){try{d[t.onSearch](f),i.value=!1}catch(P){console.error(P)}}const S=A.ref(!1);async function N(){try{S.value=!0,await d[t.onAiSearch](f,D.value)}catch(P){console.error(P)}finally{S.value=!1}}function T(P){o.setFieldValue(P.name,"",""),I()}function O(){try{d[t.onClear](f)}catch(P){console.error(P)}}const H={type:"floatcurd"};if(e(H),t.name){const P=zo(t.name,H);A.onUnmounted(()=>{P()})}return(P,v)=>{const m=A.resolveComponent("el-button"),F=A.resolveComponent("el-input");return A.withDirectives((A.openBlock(),A.createElementBlock("div",eM,[A.createElementVNode("div",tM,[A.createElementVNode("div",nM,[A.createVNode(F,{class:"float-curd-ai-input",placeholder:P.inputPlaceholder,modelValue:D.value,"onUpdate:modelValue":v[0]||(v[0]=k=>D.value=k),clearable:"",onClear:N,onKeyup:A.withKeys(N,["enter"])},{prefix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-mobang1"}),v[3]||(v[3]=A.createElementVNode("span",{class:"prefix-text"},"Ask AI",-1))]),suffix:A.withCtx(()=>[A.createVNode(m,{type:"primary",size:"small",onClick:N,loading:S.value},{default:A.withCtx(()=>v[4]||(v[4]=[A.createTextVNode("Go")])),_:1},8,["loading"])]),_:1},8,["placeholder","modelValue"])]),A.createVNode(m,{plain:!0,onClick:v[1]||(v[1]=k=>i.value=!i.value),class:"more-btn"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-tiaojianshaixuan"}),v[5]||(v[5]=A.createElementVNode("span",null,"More",-1))]),_:1}),A.withDirectives(A.createElementVNode("div",iM,[A.createElementVNode("div",oM,[A.createElementVNode("div",rM,A.toDisplayString(P.formTitle),1),A.createElementVNode("div",aM,[A.createVNode(m,{type:"primary",size:"small",onClick:I},{default:A.withCtx(()=>v[6]||(v[6]=[A.createTextVNode("Go")])),_:1}),A.createVNode(ve,{name:"icon-a-rongqi1",onClick:v[2]||(v[2]=k=>i.value=!1)})])]),A.createElementVNode("div",sM,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])])],512),[[A.vShow,i.value]])]),A.createElementVNode("div",lM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,k=>(A.openBlock(),A.createElementBlock("div",{class:"tag",key:k.name},[k.iconName?(A.openBlock(),A.createBlock(ve,{key:0,name:k.iconName},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",{innerHTML:k.label+":"},null,8,cM),A.createElementVNode("span",null,A.toDisplayString(k.value),1),k.closeable?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-a-rongqi1",onClick:_=>T(k),class:"close-icon"},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128)),b.value.length>0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"clear-btn",onClick:O},"Clear filters")):A.createCommentVNode("",!0)])],512)),[[A.vShow,!P.hidden]])}}}),[["__scopeId","data-v-bb410d81"]])},Symbol.toStringTag,{value:"Module"})),dM=["id"],ag=oe(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{},parentPageFun:{}},emits:["doneParent","done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,d={form:wn,table:rg,tabs:h8,infocard:S8,navbar:J8,alert:j8},f=n,o=A.ref(f.pageParams),b=A.ref({}),D=A.ref(),I=A.ref({});A.watch(()=>f.pageParams,()=>{o.value=ut.cloneDeep(f.pageParams)});const S=$=>{if(D.value){if($.type==="tabs")return{...$.schema.tabProps,schema:$.schema,"onUpdate:schema":J=>{$.schema=J},ruleMap:f.ruleMap,pageParams:o.value,pageRulePath:D.value.rulePath||""};if($.type==="form")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},realValues:$.realValues,"onUpdate:realValues":J=>{$.realValues=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="table")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="infocard")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||""};if($.type==="navbar")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",findRef:O};if($.type==="alert")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageUrl:f.pageUrl,pageEmit:i}}},N=A.ref([]),T=fC(),O=$=>{var y;const J=(y=N.value)==null?void 0:y.find(j=>j.schema.key===$);return J||T.findRef($)},H=$=>{var y;return(y=N.value)==null?void 0:y.filter(j=>j.schema.key&&$.includes(j.schema.key))},P=($,J)=>{var q;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=rA=>{rA.forEach(iA=>{y.includes(iA.component)?iA.props&&(iA.props.disabled=J):iA.children&&j(iA.children)})},G=(q=D.value)==null?void 0:q.content.find(rA=>rA.schema.key===$);G&&G.type==="form"&&j(G.schema.items)},v=($,J)=>{var q;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=rA=>{rA.forEach(iA=>{y.includes(iA.component)?iA.props&&(iA.props.read=J):iA.children&&j(iA.children)})},G=(q=D.value)==null?void 0:q.content.find(rA=>rA.schema.key===$);G&&G.type==="form"&&j(G.schema.items)},m=async $=>{if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&await y.validate()}else{const J=O($);return J?await J.validate():!1}},F=($,J)=>{const y={...$||{}};if(!J)return y;for(const[j,G]of Object.entries(J))G!==""&&(y[j]=G);return y},k=$=>{if(D.value){if(!$){const J={};for(const y of D.value.content)y.schema.key&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}if(Array.isArray($)){const J={};for(const y of D.value.content)y.schema.key&&$.includes(y.schema.key)&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}else{const J=D.value.content.find(y=>y.schema.key===$);if(J){if(J.type==="form")return ut.cloneDeep(A.toRaw(F(J.model,J.realValues)));if(J.type==="table")return ut.cloneDeep(A.toRaw(J.model))}}}},_=($,J,y=!1)=>{if(!D.value)return;const j=D.value.content.find(G=>G.schema.key===$);if(j)if(j.type==="form")if(y)Object.assign(j.model,J);else{for(let G in j.model)delete j.model[G];Object.assign(j.model,J)}else j.type==="table"&&(j.model=J)},B=$=>{if($)if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&y.resetFields()}else{const J=O($);if(!J)return;J.type==="form"&&J.resetFields()}},p=($,J)=>{const y=O($);y&&y.type==="form"&&y.clearValidate(J)},u=($,J)=>{var j;const y=(j=D.value)==null?void 0:j.content.find(G=>G.schema.key===$);if(y&&y.type==="form")return ln(y.schema.items,J)};function l(){return o.value}const g=$=>{o.value=$},s=$=>{o.value={...o.value,...$}},h=($,J)=>{if(!D.value)return;const y=D.value.content.find(j=>j.schema.key===$);y&&(y.schema.hidden=J)},C=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.hidden=J)},a=($,J,y)=>{var j;if(D.value){if($.type==="form"){const G=u($.formKey,$.btnKey);G&&(J==="disabled"?G.props[J]=y:G[J]=y)}else if($.type==="page"){const G=D.value.btns.find(q=>q.key===$.btnKey);G&&(G[J]=y)}else if($.type==="table"){const G=(j=D.value)==null?void 0:j.content.find(q=>q.schema.key===$.tableKey);if(!G||G.type!=="table")return;$.btnPosition==="top"?G.schema.topBtns.find(q=>q.key===$.btnKey)[J]=y:$.btnPosition==="row"&&(J==="hidden"?G.schema.rowBtns.find(q=>q.key===$.btnKey).condition=!y:G.schema.rowBtns.find(q=>q.key===$.btnKey)[J]=y)}else if($.type==="card"){const G=u($.formKey,$.cardKey);G&&(G.props.btns.find(q=>q.key===$.btnKey)[J]=y)}}},r=($,J,y)=>{var G,q,rA,iA,uA;if(!D.value)return;const j=(J==="disabled"||J==="hidden")&&typeof y=="boolean";if(D.value.btns){const mA=D.value.btns.find(gA=>gA.key===$);if(mA&&j){mA[J]=y;return}}for(const mA of D.value.content){if(mA.type==="infocard"){const gA=mA.schema.btns.find(wA=>wA.key===$);if(gA&&j){gA[J]=y;return}}if(mA.type==="navbar"){const gA=(G=mA.schema.btns)==null?void 0:G.find(lA=>lA.key===$);if(gA&&j){gA[J]=y;return}const wA=(q=mA.schema.footerBtns)==null?void 0:q.find(lA=>lA.key===$);if(wA&&j){wA[J]=y;return}const X=(rA=mA.schema.leftActions)==null?void 0:rA.find(lA=>lA.key===$);if(X&&j&&J==="hidden"){X[J]=y;return}}if(mA.type==="table"){const gA=(iA=mA.schema.topBtns)==null?void 0:iA.find(X=>X.key===$);if(gA&&j){gA[J]=y;return}const wA=(uA=mA.schema.rowBtns)==null?void 0:uA.find(X=>X.key===$);if(wA){J==="hidden"?wA.condition=!y:J==="condition"&&typeof y=="string"?wA.condition=y:j&&(wA[J]=y);return}}if(mA.type==="form"){const gA=wA=>{var X,lA;for(const cA of wA){if(cA.component==="Button"&&cA.name===$)return cA.props&&(cA.props[J]=y),!0;if((cA.component==="Card"||cA.component==="CurdCard")&&cA.props&&Array.isArray(cA.props.btns)){const hA=cA.props.btns.find(U=>U.key===$);if(hA)return hA[J]=y,!0}if(cA.component==="Table"&&cA.props){const hA=(X=cA.props.topBtns)==null?void 0:X.find(W=>W.key===$);if(hA)return hA[J]=y,!0;const U=(lA=cA.props.rowBtns)==null?void 0:lA.find(W=>W.key===$);if(U)return J==="hidden"?U.condition=!y:J==="condition"&&typeof y=="string"?U.condition=y:j&&(U[J]=y),!0}if(cA.children&&Array.isArray(cA.children)&&gA(cA.children))return!0}return!1};if(gA(mA.schema.items))return}}},E=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.disabled=J)},Q=$=>{Object.assign(b.value,$)},M=()=>b.value,x=()=>f.parentPageFun,K=A.inject(Vn),z={findRef:O,setFormDisabled:P,clearValidate:p,validate:m,getData:k,resetFields:B,emit:i,setData:_,getItemByName:u,getPageParams:l,setHidden:h,setBtnHidden:C,setBtnStateByKey:r,setBtnDisabled:E,addPageParams:s,setPageParams:g,setGlobalParams:Q,getGlobalParams:M,setBtnState:a,setReadMode:v,getParentPageFun:x,setPageMask:(K==null?void 0:K.setPageMaskFn)||(()=>{})},AA=async $=>{if(!(!D.value||!D.value.rulePath)){try{I.value[$.key]=!0,await f.ruleMap[D.value.rulePath][$.onClick](z)}catch(J){console.error(J)}I.value[$.key]=!1}};A.provide("pageMethodMap",z),A.provide("ruleMap",f.ruleMap),A.provide("getGlobalParams",M),A.onMounted(async()=>{if(K&&K.fetchSchemaFn&&f.pageUrl){const $=await K.fetchSchemaFn(f.pageUrl);if(!$)return;if($&&$.rulePath&&$.onBeforeMount){const j=$.onBeforeMount;try{await f.ruleMap[$.rulePath][j]($,z)}catch(G){console.error(G+`
|
|
228
228
|
|
|
229
229
|
rulePath: ${$.rulePath}
|
|
230
230
|
|
|
@@ -244,9 +244,9 @@ mountedFuncName: ${$}
|
|
|
244
244
|
rulePath: ${D.value.rulePath}
|
|
245
245
|
|
|
246
246
|
mountedFuncName: ${$}
|
|
247
|
-
`)}}),A.onActivated(()=>{V()}),e({...z,activate:V,ruleFunction:eA}),($,J)=>{const y=A.resolveComponent("el-button"),j=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[D.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:D.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.content,G=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(d[G.type]),A.mergeProps({key:G.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:s,onDoneParent:J[0]||(J[0]=q=>i("done",q))},S(G)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(A.openBlock(),A.createBlock(j,{key:0,justify:D.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.btns,G=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:G.key},[G.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:0,type:G.type,loading:I.value[G.key],onClick:q=>AA(G),disabled:G.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(G.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,dM)):A.renderSlot($.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-
|
|
247
|
+
`)}}),A.onActivated(()=>{V()}),e({...z,activate:V,ruleFunction:eA}),($,J)=>{const y=A.resolveComponent("el-button"),j=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[D.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:D.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.content,G=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(d[G.type]),A.mergeProps({key:G.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:s,onDoneParent:J[0]||(J[0]=q=>i("done",q))},S(G)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(A.openBlock(),A.createBlock(j,{key:0,justify:D.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.btns,G=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:G.key},[G.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:0,type:G.type,loading:I.value[G.key],onClick:q=>AA(G),disabled:G.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(G.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,dM)):A.renderSlot($.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-5d0013e4"]]),uM={install:(n,e={})=>{n.provide(Vn,e),n.component("FormRender",wn),n.component("FormDesign",yC),n.component("TableRender",rg),n.component("PageRender",ag)}},hM={key:0,class:"special-read"},pM={class:"special-read-value"},CM={key:1,class:"textarea-read"},BM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"TextArea",props:A.mergeModels({name:{},read:{type:Boolean},specialRead:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=Et(),d=A.computed(()=>t.read||i.schema.read);return(f,o)=>{const b=A.resolveComponent("el-input");return f.specialRead&&d.value?(A.openBlock(),A.createElementBlock("div",hM,[A.createElementVNode("div",pM,A.toDisplayString(e.value||"--"),1)])):d.value?(A.openBlock(),A.createElementBlock("div",CM,A.toDisplayString(e.value||"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:2},f.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=D=>e.value=D),type:"textarea"}),null,16,["modelValue"]))}}}),[["__scopeId","data-v-166c6bcb"]])},Symbol.toStringTag,{value:"Module"})),mM={key:3,class:"switch-panel"},EM={key:4,class:"card-btns"},QM={key:5,class:"card-sub-header"},fM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Card",props:{name:{},hidden:{type:Boolean},children:{},headerFormSlots:{},headerFormSlotsPosition:{},collapsible:{type:Boolean},typeSwitch:{type:Boolean},displayType:{},onSwitchChange:{},header:{},btns:{},mainIcon:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{},defaultCollapsed:{type:Boolean}},setup(n){const e=n;A.watch(()=>e.defaultCollapsed,I=>{f.value=I??!1});const t=A.ref(e.displayType||(e.typeSwitch?"card":"table")),i=Et(),d=I=>{if(t.value=I,e.onSwitchChange&&o){try{o[e.onSwitchChange](b,I)}catch(T){console.error(T+`
|
|
248
248
|
onSwitchChange: ${e.onSwitchChange}`)}return}const S=ln(i.schema.items,e.name),N=T=>{T.forEach(O=>{O.component==="Table"&&O.props&&(O.props.displayType=I),O.children&&O.children.length>0&&N(O.children)})};S&&S.children&&N(S.children)},f=A.ref(e.defaultCollapsed??!1),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),D=I=>{if(I&&o)try{o[I](b)}catch(S){console.error(S+`
|
|
249
|
-
funcName: ${I}`)}};return(I,S)=>{const N=A.resolveComponent("el-tooltip"),T=A.resolveComponent("el-collapse-transition"),O=A.resolveComponent("ElCard");return I.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(O,A.mergeProps({key:0},I.$attrs,{class:["crm-card",{collapsed:f.value,shadowless:I.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[I.header?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-header",{"has-collapsed":I.collapsible}])},[I.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:S[0]||(S[0]=H=>f.value=!f.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":f.value}])},null,8,["class"])])):A.createCommentVNode("",!0),I.mainIcon?(A.openBlock(),A.createBlock(
|
|
249
|
+
funcName: ${I}`)}};return(I,S)=>{const N=A.resolveComponent("el-tooltip"),T=A.resolveComponent("el-collapse-transition"),O=A.resolveComponent("ElCard");return I.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(O,A.mergeProps({key:0},I.$attrs,{class:["crm-card",{collapsed:f.value,shadowless:I.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[I.header?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-header",{"has-collapsed":I.collapsible}])},[I.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:S[0]||(S[0]=H=>f.value=!f.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":f.value}])},null,8,["class"])])):A.createCommentVNode("",!0),I.mainIcon?(A.openBlock(),A.createBlock(ve,{key:1,class:"title-icon",size:"large",name:I.mainIcon.name,color:I.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(I.header),1),I.headerFormSlots?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"header-form-slots-right":I.headerFormSlotsPosition==="right","header-form-slots-left":I.headerFormSlotsPosition==="left"})},[A.createVNode(A.unref(rt),{list:I.headerFormSlots},null,8,["list"])],2)):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.extraIcons,H=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:H.name},[H.tips?(A.openBlock(),A.createBlock(N,{key:0,content:H.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:H.name,color:H.color,size:H.size||"small",onClick:P=>D(H.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:H.name,color:H.color,size:H.size||"small",onClick:P=>D(H.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),I.typeSwitch?(A.openBlock(),A.createElementBlock("div",mM,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="card"}]),onClick:S[1]||(S[1]=H=>d("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="table"}]),onClick:S[2]||(S[2]=H=>d("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),I.btns&&I.btns.length>0?(A.openBlock(),A.createElementBlock("div",EM,[A.createVNode(A.unref(Nn),{btns:I.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),I.subHeaders&&I.subHeaders.length>0?(A.openBlock(),A.createElementBlock("div",QM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.subHeaders,H=>(A.openBlock(),A.createElementBlock("div",{key:H,class:"card-sub-header-item"},[A.createElementVNode("span",null,A.toDisplayString(H),1)]))),128))])):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createVNode(T,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:I.children},null,8,["list"])],512),[[A.vShow,!f.value]])]),_:1})]),_:1},16,["class"]))}}}),[["__scopeId","data-v-4b09598f"]])},Symbol.toStringTag,{value:"Module"})),IM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Cascader",props:A.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},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=D=>{if(e.onChange&&i)try{i[e.onChange](d,D)}catch(I){console.error(I+`
|
|
250
250
|
onChange: ${e.onChange}`)}},{currentOptions:o,loading:b}=Br(e);return(D,I)=>{const S=A.resolveComponent("el-cascader");return A.openBlock(),A.createBlock(S,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":I[0]||(I[0]=N=>t.value=N),options:A.unref(o),loading:A.unref(b),props:{multiple:D.multiple,label:D.labelKey,value:D.valueKey}},D.$attrs,{onChange:f}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var vC={exports:{}};/*!
|
|
251
251
|
* jsoneditor.js
|
|
252
252
|
*
|
|
@@ -1642,16 +1642,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1642
1642
|
`,r:"\r",t:" ",'"':'"',"/":"/","\\":"\\"},D=97,I=(o.parse=function(B,p,u){var l={},g=0,s=0,h=0,C=u&&u.bigint&&typeof BigInt<"u";return{data:a("",!0),pointers:l};function a(y,j){r(),z(y,"value");var G,q=M();switch(q){case"t":Q("rue"),G=!0;break;case"f":Q("alse"),G=!1;break;case"n":Q("ull"),G=null;break;case'"':G=E();break;case"[":G=function(rA){r();var iA=[],uA=0;if(M()!="]")for(x();;){iA.push(a(rA+"/"+uA)),r();var mA=M();if(mA=="]")break;mA!=","&&$(),r(),uA++}return iA}(y);break;case"{":G=function(rA){r();var iA={};if(M()!="}")for(x();;){var gA=eA(),uA=(M()!='"'&&$(),E()),mA=rA+"/"+_(uA),gA=(AA(mA,"key",gA),z(mA,"keyEnd"),r(),M()!=":"&&$(),r(),iA[uA]=a(mA),r(),M());if(gA=="}")break;gA!=","&&$(),r()}return iA}(y);break;default:x(),0<="-0123456789".indexOf(q)?G=function(){var rA="",iA=!0;B[h]=="-"&&(rA+=M()),rA+=(B[h]=="0"?M:K)(),B[h]=="."&&(rA+=M()+K(),iA=!1),B[h]!="e"&&B[h]!="E"||(rA+=M(),B[h]!="+"&&B[h]!="-"||(rA+=M()),rA+=K(),iA=!1);var uA=+rA;return C&&iA&&(uA>Number.MAX_SAFE_INTEGER||uA<Number.MIN_SAFE_INTEGER)?BigInt(rA):uA}():V()}return z(y,"valueEnd"),r(),j&&h<B.length&&V(),G}function r(){A:for(;h<B.length;){switch(B[h]){case" ":s++;break;case" ":s+=4;break;case"\r":s=0;break;case`
|
|
1643
1643
|
`:s=0,g++;break;default:break A}h++}}function E(){for(var y,j="";(y=M())!='"';)y=="\\"?(y=M())in b?j+=b[y]:y=="u"?j+=function(){for(var G=4,q=0;G--;){q<<=4;var rA=M().toLowerCase();"a"<=rA&&rA<="f"?q+=rA.charCodeAt()-D+10:"0"<=rA&&rA<="9"?q+=+rA:$()}return String.fromCharCode(q)}():$():j+=y;return j}function Q(y){for(var j=0;j<y.length;j++)M()!==y[j]&&$()}function M(){J();var y=B[h];return h++,s++,y}function x(){h--,s--}function K(){for(var y="";"0"<=B[h]&&B[h]<="9";)y+=M();if(y.length)return y;J(),V()}function z(y,j){AA(y,j,eA())}function AA(y,j,G){l[y]=l[y]||{},l[y][j]=G}function eA(){return{line:g,column:s,pos:h}}function V(){throw new SyntaxError("Unexpected token "+B[h]+" in JSON at position "+h)}function $(){x(),V()}function J(){if(h>=B.length)throw new SyntaxError("Unexpected end of JSON input")}},o.stringify=function(B,p,u){if(S(B)){var l=0;switch(typeof(s=typeof u=="object"?u.space:u)){case"number":var g=10<s?10:s<0?0:Math.floor(s),s=g&&V(g," "),h=g,C=g;break;case"string":s=s.slice(0,10);for(var a=C=h=0;a<s.length;a++){switch(s[a]){case" ":C++;break;case" ":C+=4;break;case"\r":C=0;break;case`
|
|
1644
1644
|
`:C=0,l++;break;default:throw new Error("whitespace characters not allowed in JSON")}h++}break;default:s=void 0}var r="",E={},Q=0,M=0,x=0,K=u&&u.es6&&typeof Map=="function";return function $(J,y,j){switch(eA(j,"value"),typeof J){case"number":case"bigint":case"boolean":z(""+J);break;case"string":z(m(J));break;case"object":J===null?z("null"):typeof J.toJSON=="function"?z(m(J.toJSON())):Array.isArray(J)?G():K?J.constructor.BYTES_PER_ELEMENT?G():J instanceof Map?rA():J instanceof Set?rA(!0):q():q()}eA(j,"valueEnd");function G(){if(J.length){z("[");for(var iA=y+1,uA=0;uA<J.length;uA++){uA&&z(","),AA(iA);var mA=S(J[uA])?J[uA]:null,gA=j+"/"+uA;$(mA,iA,gA)}AA(y),z("]")}else z("[]")}function q(){var iA=Object.keys(J);if(iA.length){z("{");for(var uA=y+1,mA=0;mA<iA.length;mA++){var gA,wA=iA[mA],X=J[wA];S(X)&&(mA&&z(","),gA=j+"/"+_(wA),AA(uA),eA(gA,"key"),z(m(wA)),eA(gA,"keyEnd"),z(":"),s&&z(" "),$(X,uA,gA))}AA(y),z("}")}else z("{}")}function rA(iA){if(J.size){z("{");for(var uA=y+1,mA=!0,gA=J.entries(),wA=gA.next();!wA.done;){var X,cA=wA.value,lA=cA[0],cA=!!iA||cA[1];S(cA)&&(mA||z(","),mA=!1,X=j+"/"+_(lA),AA(uA),eA(X,"key"),z(m(lA)),eA(X,"keyEnd"),z(":"),s&&z(" "),$(cA,uA,X)),wA=gA.next()}AA(y),z("}")}else z("{}")}}(B,0,""),{json:r,pointers:E}}function z($){M+=$.length,x+=$.length,r+=$}function AA($){if(s){for(r+=`
|
|
1645
|
-
`+V($,s),Q++,M=0;$--;)l?(Q+=l,M=C):M+=C,x+=h;x+=1}}function eA($,J){E[$]=E[$]||{},E[$][J]={line:Q,column:M,pos:x}}function V($,J){return Array($+1).join(J)}},["number","bigint","boolean","string","object"]);function S(B){return 0<=I.indexOf(typeof B)}var N=/"|\\/g,T=/[\b]/g,O=/\f/g,H=/\n/g,P=/\r/g,v=/\t/g;function m(B){return'"'+(B=B.replace(N,"\\$&").replace(O,"\\f").replace(T,"\\b").replace(H,"\\n").replace(P,"\\r").replace(v,"\\t"))+'"'}var F=/~/g,k=/\//g;function _(B){return B.replace(F,"~0").replace(k,"~1")}},8340:function(f,o){var b;(o=typeof(b=function(){function D(p){return typeof Node=="object"?p instanceof Node:p&&typeof p=="object"&&typeof p.nodeType=="number"}function I(p){return typeof p=="string"}function S(){var p=[];return{watch:p.push.bind(p),trigger:function(u,l){for(var g=!0,s={detail:l,preventDefault:function(){g=!1}},h=0;h<p.length;h++)p[h](u,s);return g}}}function N(p){return window.getComputedStyle(p).display==="none"}function T(p){this.elem=p}function O(p,u){return T.make(p("parent")).clazz("pico-overlay").clazz(p("overlayClass","")).stylize({display:"none",position:"fixed",top:"0px",left:"0px",height:"100%",width:"100%",zIndex:1e4}).stylize(p("overlayStyles",{opacity:.5,background:"#000"})).onClick(function(){p("overlayClose",!0)&&u()})}T.make=function(p,u){typeof p=="string"&&(p=document.querySelector(p));var l=document.createElement(u||"div");return(p||document.body).appendChild(l),new T(l)},T.prototype={child:function(p){return T.make(this.elem,p)},stylize:function(p){p=p||{},typeof p.opacity<"u"&&(p.filter="alpha(opacity="+p.opacity*100+")");for(var u in p)p.hasOwnProperty(u)&&(this.elem.style[u]=p[u]);return this},clazz:function(p){return this.elem.className+=" "+p,this},html:function(p){return D(p)?this.elem.appendChild(p):this.elem.innerHTML=p,this},onClick:function(p){return this.elem.addEventListener("click",p),this},destroy:function(){this.elem.parentNode.removeChild(this.elem)},hide:function(){this.elem.style.display="none"},show:function(){this.elem.style.display="block"},attr:function(p,u){return u!==void 0&&this.elem.setAttribute(p,u),this},anyAncestor:function(p){for(var u=this.elem;u;){if(p(new T(u)))return!0;u=u.parentNode}return!1},isVisible:function(){return!N(this.elem)}};var H=1;function P(p,u){var l=p("width","auto");typeof l=="number"&&(l=""+l+"px");var g=p("modalId","pico-"+H++),s=T.make(p("parent")).clazz("pico-content").clazz(p("modalClass","")).stylize({display:"none",position:"fixed",zIndex:10001,left:"50%",top:"38.1966%",maxHeight:"90%",boxSizing:"border-box",width:l,"-ms-transform":"translate(-50%,-38.1966%)","-moz-transform":"translate(-50%,-38.1966%)","-webkit-transform":"translate(-50%,-38.1966%)","-o-transform":"translate(-50%,-38.1966%)",transform:"translate(-50%,-38.1966%)"}).stylize(p("modalStyles",{overflow:"auto",backgroundColor:"white",padding:"20px",borderRadius:"5px"})).html(p("content")).attr("id",g).attr("role","dialog").attr("aria-labelledby",p("ariaLabelledBy")).attr("aria-describedby",p("ariaDescribedBy",g)).onClick(function(h){var C=new T(h.target).anyAncestor(function(a){return/\bpico-close\b/.test(a.elem.className)});C&&u()});return s}function v(p,u){if(u("closeButton",!0))return p.child("button").html(u("closeHtml","×")).clazz("pico-close").clazz(u("closeClass","")).stylize(u("closeStyles",{borderRadius:"2px",border:0,padding:0,cursor:"pointer",height:"15px",width:"15px",position:"absolute",top:"5px",right:"5px",fontSize:"16px",textAlign:"center",lineHeight:"15px",background:"#CCC"})).attr("aria-label",u("close-label","Close"))}function m(p){return function(){return p().elem}}var F=S(),k=S();function _(p,u){function l(a,r){var E=a.msMatchesSelector||a.webkitMatchesSelector||a.matches;return E.call(a,r)}function g(a){return N(a)||l(a,":disabled")||a.hasAttribute("contenteditable")?!1:a.hasAttribute("tabindex")||l(a,"input,select,textarea,button,a[href],area[href],iframe")}function s(a){for(var r=a.getElementsByTagName("*"),E=0;E<r.length;E++)if(g(r[E]))return r[E]}function h(a){for(var r=a.getElementsByTagName("*"),E=r.length;E--;)if(g(r[E]))return r[E]}var C;p.beforeShow(function(){C=document.activeElement}),p.afterShow(function(){if(u()){var r=s(p.modalElem());r&&r.focus()}}),p.afterClose(function(){u()&&C&&C.focus(),C=null}),k.watch(function(r){if(u()&&p.isVisible()){var E=s(p.modalElem()),Q=h(p.modalElem()),M=r.shiftKey?E:Q;M===document.activeElement&&((r.shiftKey?Q:E).focus(),r.preventDefault())}})}function B(p,u){var l,g=new T(document.body);p.beforeShow(function(){l=g.elem.style.overflow,u()&&g.stylize({overflow:"hidden"})}),p.afterClose(function(){g.stylize({overflow:l})})}return document.documentElement.addEventListener("keydown",function(u){var l=u.which||u.keyCode;l===27?F.trigger():l===9&&k.trigger(u)}),function(u){(I(u)||D(u))&&(u={content:u});var l=S(),g=S(),s=S(),h=S(),C=S();function a(V,$){var J=u[V];return typeof J=="function"&&(J=J($)),J===void 0?$:J}var r=eA.bind(window,"modal"),E=eA.bind(window,"overlay"),Q=eA.bind(window,"close"),M;function x(V){E().hide(),r().hide(),C.trigger(M,V)}function K(V){h.trigger(M,V)&&x(V)}function z(V){return function(){return V.apply(this,arguments),M}}var AA;function eA(V,$){if(!AA){var J=P(a,K);AA={modal:J,overlay:O(a,K),close:v(J,a)},l.trigger(M,$)}return AA[V]}return M={modalElem:m(r),closeElem:m(Q),overlayElem:m(E),buildDom:z(eA.bind(null,null)),isVisible:function(){return!!(AA&&r&&r().isVisible())},show:function(V){return g.trigger(M,V)&&(E().show(),Q(),r().show(),s.trigger(M,V)),this},close:z(K),forceClose:z(x),destroy:function(){r().destroy(),E().destroy(),E=r=Q=void 0},options:function(V){Object.keys(V).map(function($){u[$]=V[$]})},afterCreate:z(l.watch),beforeShow:z(g.watch),afterShow:z(s.watch),beforeClose:z(h.watch),afterClose:z(C.watch)},_(M,a.bind(null,"focus",!0)),B(M,a.bind(null,"bodyOverflow",!0)),F.watch(function(){a("escCloses",!0)&&M.isVisible()&&M.close()}),M}})=="function"?b.apply(o,[]):b)!==void 0&&(f.exports=o)},6777:function(f,o){/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(b){function D(){for(var FA=arguments.length,bA=Array(FA),PA=0;PA<FA;PA++)bA[PA]=arguments[PA];if(bA.length>1){bA[0]=bA[0].slice(0,-1);for(var WA=bA.length-1,ZA=1;ZA<WA;++ZA)bA[ZA]=bA[ZA].slice(1,-1);return bA[WA]=bA[WA].slice(1),bA.join("")}else return bA[0]}function I(FA){return"(?:"+FA+")"}function S(FA){return FA===void 0?"undefined":FA===null?"null":Object.prototype.toString.call(FA).split(" ").pop().split("]").shift().toLowerCase()}function N(FA){return FA.toUpperCase()}function T(FA){return FA!=null?FA instanceof Array?FA:typeof FA.length!="number"||FA.split||FA.setInterval||FA.call?[FA]:Array.prototype.slice.call(FA):[]}function O(FA,bA){var PA=FA;if(bA)for(var WA in bA)PA[WA]=bA[WA];return PA}function H(FA){var bA="[A-Za-z]",PA="[0-9]",WA=D(PA,"[A-Fa-f]"),ZA=I(I("%[EFef]"+WA+"%"+WA+WA+"%"+WA+WA)+"|"+I("%[89A-Fa-f]"+WA+"%"+WA+WA)+"|"+I("%"+WA+WA)),Ie="[\\:\\/\\?\\#\\[\\]\\@]",ie="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Me=D(Ie,ie),qe=FA?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Ct=FA?"[\\uE000-\\uF8FF]":"[]",ze=D(bA,PA,"[\\-\\.\\_\\~]",qe);I(bA+D(bA,PA,"[\\+\\-\\.]")+"*"),I(I(ZA+"|"+D(ze,ie,"[\\:]"))+"*");var At=I(I("25[0-5]")+"|"+I("2[0-4]"+PA)+"|"+I("1"+PA+PA)+"|"+I("0?[1-9]"+PA)+"|0?0?"+PA),dt=I(At+"\\."+At+"\\."+At+"\\."+At),Pe=I(WA+"{1,4}"),ot=I(I(Pe+"\\:"+Pe)+"|"+dt),ft=I(I(Pe+"\\:")+"{6}"+ot),nt=I("\\:\\:"+I(Pe+"\\:")+"{5}"+ot),Rn=I(I(Pe)+"?\\:\\:"+I(Pe+"\\:")+"{4}"+ot),Xt=I(I(I(Pe+"\\:")+"{0,1}"+Pe)+"?\\:\\:"+I(Pe+"\\:")+"{3}"+ot),Vt=I(I(I(Pe+"\\:")+"{0,2}"+Pe)+"?\\:\\:"+I(Pe+"\\:")+"{2}"+ot),dn=I(I(I(Pe+"\\:")+"{0,3}"+Pe)+"?\\:\\:"+Pe+"\\:"+ot),bn=I(I(I(Pe+"\\:")+"{0,4}"+Pe)+"?\\:\\:"+ot),Ft=I(I(I(Pe+"\\:")+"{0,5}"+Pe)+"?\\:\\:"+Pe),An=I(I(I(Pe+"\\:")+"{0,6}"+Pe)+"?\\:\\:"),zn=I([ft,nt,Rn,Xt,Vt,dn,bn,Ft,An].join("|")),en=I(I(ze+"|"+ZA)+"+");I("[vV]"+WA+"+\\."+D(ze,ie,"[\\:]")+"+"),I(I(ZA+"|"+D(ze,ie))+"*");var mi=I(ZA+"|"+D(ze,ie,"[\\:\\@]"));return I(I(ZA+"|"+D(ze,ie,"[\\@]"))+"+"),I(I(mi+"|"+D("[\\/\\?]",Ct))+"*"),{NOT_SCHEME:new RegExp(D("[^]",bA,PA,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(D("[^\\%\\:]",ze,ie),"g"),NOT_HOST:new RegExp(D("[^\\%\\[\\]\\:]",ze,ie),"g"),NOT_PATH:new RegExp(D("[^\\%\\/\\:\\@]",ze,ie),"g"),NOT_PATH_NOSCHEME:new RegExp(D("[^\\%\\/\\@]",ze,ie),"g"),NOT_QUERY:new RegExp(D("[^\\%]",ze,ie,"[\\:\\@\\/\\?]",Ct),"g"),NOT_FRAGMENT:new RegExp(D("[^\\%]",ze,ie,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(D("[^]",ze,ie),"g"),UNRESERVED:new RegExp(ze,"g"),OTHER_CHARS:new RegExp(D("[^\\%]",ze,Me),"g"),PCT_ENCODED:new RegExp(ZA,"g"),IPV4ADDRESS:new RegExp("^("+dt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+zn+")"+I(I("\\%25|\\%(?!"+WA+"{2})")+"("+en+")")+"?\\]?$")}}var P=H(!1),v=H(!0),m=function(){function FA(bA,PA){var WA=[],ZA=!0,Ie=!1,ie=void 0;try{for(var Me=bA[Symbol.iterator](),qe;!(ZA=(qe=Me.next()).done)&&(WA.push(qe.value),!(PA&&WA.length===PA));ZA=!0);}catch(Ct){Ie=!0,ie=Ct}finally{try{!ZA&&Me.return&&Me.return()}finally{if(Ie)throw ie}}return WA}return function(bA,PA){if(Array.isArray(bA))return bA;if(Symbol.iterator in Object(bA))return FA(bA,PA);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),F=function(FA){if(Array.isArray(FA)){for(var bA=0,PA=Array(FA.length);bA<FA.length;bA++)PA[bA]=FA[bA];return PA}else return Array.from(FA)},k=2147483647,_=36,B=1,p=26,u=38,l=700,g=72,s=128,h="-",C=/^xn--/,a=/[^\0-\x7E]/,r=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Q=_-B,M=Math.floor,x=String.fromCharCode;function K(FA){throw new RangeError(E[FA])}function z(FA,bA){for(var PA=[],WA=FA.length;WA--;)PA[WA]=bA(FA[WA]);return PA}function AA(FA,bA){var PA=FA.split("@"),WA="";PA.length>1&&(WA=PA[0]+"@",FA=PA[1]),FA=FA.replace(r,".");var ZA=FA.split("."),Ie=z(ZA,bA).join(".");return WA+Ie}function eA(FA){for(var bA=[],PA=0,WA=FA.length;PA<WA;){var ZA=FA.charCodeAt(PA++);if(ZA>=55296&&ZA<=56319&&PA<WA){var Ie=FA.charCodeAt(PA++);(Ie&64512)==56320?bA.push(((ZA&1023)<<10)+(Ie&1023)+65536):(bA.push(ZA),PA--)}else bA.push(ZA)}return bA}var V=function(bA){return bA-48<10?bA-22:bA-65<26?bA-65:bA-97<26?bA-97:_},$=function(bA,PA){return bA+22+75*(bA<26)-((PA!=0)<<5)},J=function(bA,PA,WA){var ZA=0;for(bA=WA?M(bA/l):bA>>1,bA+=M(bA/PA);bA>Q*p>>1;ZA+=_)bA=M(bA/Q);return M(ZA+(Q+1)*bA/(bA+u))},y=function(bA){var PA=[],WA=bA.length,ZA=0,Ie=s,ie=g,Me=bA.lastIndexOf(h);Me<0&&(Me=0);for(var qe=0;qe<Me;++qe)bA.charCodeAt(qe)>=128&&K("not-basic"),PA.push(bA.charCodeAt(qe));for(var Ct=Me>0?Me+1:0;Ct<WA;){for(var ze=ZA,At=1,dt=_;;dt+=_){Ct>=WA&&K("invalid-input");var Pe=V(bA.charCodeAt(Ct++));(Pe>=_||Pe>M((k-ZA)/At))&&K("overflow"),ZA+=Pe*At;var ot=dt<=ie?B:dt>=ie+p?p:dt-ie;if(Pe<ot)break;var ft=_-ot;At>M(k/ft)&&K("overflow"),At*=ft}var nt=PA.length+1;ie=J(ZA-ze,nt,ze==0),M(ZA/nt)>k-Ie&&K("overflow"),Ie+=M(ZA/nt),ZA%=nt,PA.splice(ZA++,0,Ie)}return String.fromCodePoint.apply(String,PA)},j=function(bA){var PA=[];bA=eA(bA);var WA=bA.length,ZA=s,Ie=0,ie=g,Me=!0,qe=!1,Ct=void 0;try{for(var ze=bA[Symbol.iterator](),At;!(Me=(At=ze.next()).done);Me=!0){var dt=At.value;dt<128&&PA.push(x(dt))}}catch(yn){qe=!0,Ct=yn}finally{try{!Me&&ze.return&&ze.return()}finally{if(qe)throw Ct}}var Pe=PA.length,ot=Pe;for(Pe&&PA.push(h);ot<WA;){var ft=k,nt=!0,Rn=!1,Xt=void 0;try{for(var Vt=bA[Symbol.iterator](),dn;!(nt=(dn=Vt.next()).done);nt=!0){var bn=dn.value;bn>=ZA&&bn<ft&&(ft=bn)}}catch(yn){Rn=!0,Xt=yn}finally{try{!nt&&Vt.return&&Vt.return()}finally{if(Rn)throw Xt}}var Ft=ot+1;ft-ZA>M((k-Ie)/Ft)&&K("overflow"),Ie+=(ft-ZA)*Ft,ZA=ft;var An=!0,zn=!1,en=void 0;try{for(var mi=bA[Symbol.iterator](),Ei;!(An=(Ei=mi.next()).done);An=!0){var co=Ei.value;if(co<ZA&&++Ie>k&&K("overflow"),co==ZA){for(var Qi=Ie,oi=_;;oi+=_){var Hi=oi<=ie?B:oi>=ie+p?p:oi-ie;if(Qi<Hi)break;var go=Qi-Hi,ri=_-Hi;PA.push(x($(Hi+go%ri,0))),Qi=M(go/ri)}PA.push(x($(Qi,0))),ie=J(Ie,Ft,ot==Pe),Ie=0,++ot}}}catch(yn){zn=!0,en=yn}finally{try{!An&&mi.return&&mi.return()}finally{if(zn)throw en}}++Ie,++ZA}return PA.join("")},G={version:"2.1.0",ucs2:{decode:eA,encode:function(bA){return String.fromCodePoint.apply(String,F(bA))}},decode:y,encode:j,toASCII:function(bA){return AA(bA,function(PA){return a.test(PA)?"xn--"+j(PA):PA})},toUnicode:function(bA){return AA(bA,function(PA){return C.test(PA)?y(PA.slice(4).toLowerCase()):PA})}},q={};function rA(FA){var bA=FA.charCodeAt(0),PA=void 0;return bA<16?PA="%0"+bA.toString(16).toUpperCase():bA<128?PA="%"+bA.toString(16).toUpperCase():bA<2048?PA="%"+(bA>>6|192).toString(16).toUpperCase()+"%"+(bA&63|128).toString(16).toUpperCase():PA="%"+(bA>>12|224).toString(16).toUpperCase()+"%"+(bA>>6&63|128).toString(16).toUpperCase()+"%"+(bA&63|128).toString(16).toUpperCase(),PA}function iA(FA){for(var bA="",PA=0,WA=FA.length;PA<WA;){var ZA=parseInt(FA.substr(PA+1,2),16);if(ZA<128)bA+=String.fromCharCode(ZA),PA+=3;else if(ZA>=194&&ZA<224){if(WA-PA>=6){var Ie=parseInt(FA.substr(PA+4,2),16);bA+=String.fromCharCode((ZA&31)<<6|Ie&63)}else bA+=FA.substr(PA,6);PA+=6}else if(ZA>=224){if(WA-PA>=9){var ie=parseInt(FA.substr(PA+4,2),16),Me=parseInt(FA.substr(PA+7,2),16);bA+=String.fromCharCode((ZA&15)<<12|(ie&63)<<6|Me&63)}else bA+=FA.substr(PA,9);PA+=9}else bA+=FA.substr(PA,3),PA+=3}return bA}function uA(FA,bA){function PA(WA){var ZA=iA(WA);return ZA.match(bA.UNRESERVED)?ZA:WA}return FA.scheme&&(FA.scheme=String(FA.scheme).replace(bA.PCT_ENCODED,PA).toLowerCase().replace(bA.NOT_SCHEME,"")),FA.userinfo!==void 0&&(FA.userinfo=String(FA.userinfo).replace(bA.PCT_ENCODED,PA).replace(bA.NOT_USERINFO,rA).replace(bA.PCT_ENCODED,N)),FA.host!==void 0&&(FA.host=String(FA.host).replace(bA.PCT_ENCODED,PA).toLowerCase().replace(bA.NOT_HOST,rA).replace(bA.PCT_ENCODED,N)),FA.path!==void 0&&(FA.path=String(FA.path).replace(bA.PCT_ENCODED,PA).replace(FA.scheme?bA.NOT_PATH:bA.NOT_PATH_NOSCHEME,rA).replace(bA.PCT_ENCODED,N)),FA.query!==void 0&&(FA.query=String(FA.query).replace(bA.PCT_ENCODED,PA).replace(bA.NOT_QUERY,rA).replace(bA.PCT_ENCODED,N)),FA.fragment!==void 0&&(FA.fragment=String(FA.fragment).replace(bA.PCT_ENCODED,PA).replace(bA.NOT_FRAGMENT,rA).replace(bA.PCT_ENCODED,N)),FA}function mA(FA){return FA.replace(/^0*(.*)/,"$1")||"0"}function gA(FA,bA){var PA=FA.match(bA.IPV4ADDRESS)||[],WA=m(PA,2),ZA=WA[1];return ZA?ZA.split(".").map(mA).join("."):FA}function wA(FA,bA){var PA=FA.match(bA.IPV6ADDRESS)||[],WA=m(PA,3),ZA=WA[1],Ie=WA[2];if(ZA){for(var ie=ZA.toLowerCase().split("::").reverse(),Me=m(ie,2),qe=Me[0],Ct=Me[1],ze=Ct?Ct.split(":").map(mA):[],At=qe.split(":").map(mA),dt=bA.IPV4ADDRESS.test(At[At.length-1]),Pe=dt?7:8,ot=At.length-Pe,ft=Array(Pe),nt=0;nt<Pe;++nt)ft[nt]=ze[nt]||At[ot+nt]||"";dt&&(ft[Pe-1]=gA(ft[Pe-1],bA));var Rn=ft.reduce(function(Ft,An,zn){if(!An||An==="0"){var en=Ft[Ft.length-1];en&&en.index+en.length===zn?en.length++:Ft.push({index:zn,length:1})}return Ft},[]),Xt=Rn.sort(function(Ft,An){return An.length-Ft.length})[0],Vt=void 0;if(Xt&&Xt.length>1){var dn=ft.slice(0,Xt.index),bn=ft.slice(Xt.index+Xt.length);Vt=dn.join(":")+"::"+bn.join(":")}else Vt=ft.join(":");return Ie&&(Vt+="%"+Ie),Vt}else return FA}var X=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,lA="".match(/(){0}/)[1]===void 0;function cA(FA){var bA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},PA={},WA=bA.iri!==!1?v:P;bA.reference==="suffix"&&(FA=(bA.scheme?bA.scheme+":":"")+"//"+FA);var ZA=FA.match(X);if(ZA){lA?(PA.scheme=ZA[1],PA.userinfo=ZA[3],PA.host=ZA[4],PA.port=parseInt(ZA[5],10),PA.path=ZA[6]||"",PA.query=ZA[7],PA.fragment=ZA[8],isNaN(PA.port)&&(PA.port=ZA[5])):(PA.scheme=ZA[1]||void 0,PA.userinfo=FA.indexOf("@")!==-1?ZA[3]:void 0,PA.host=FA.indexOf("//")!==-1?ZA[4]:void 0,PA.port=parseInt(ZA[5],10),PA.path=ZA[6]||"",PA.query=FA.indexOf("?")!==-1?ZA[7]:void 0,PA.fragment=FA.indexOf("#")!==-1?ZA[8]:void 0,isNaN(PA.port)&&(PA.port=FA.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ZA[4]:void 0)),PA.host&&(PA.host=wA(gA(PA.host,WA),WA)),PA.scheme===void 0&&PA.userinfo===void 0&&PA.host===void 0&&PA.port===void 0&&!PA.path&&PA.query===void 0?PA.reference="same-document":PA.scheme===void 0?PA.reference="relative":PA.fragment===void 0?PA.reference="absolute":PA.reference="uri",bA.reference&&bA.reference!=="suffix"&&bA.reference!==PA.reference&&(PA.error=PA.error||"URI is not a "+bA.reference+" reference.");var Ie=q[(bA.scheme||PA.scheme||"").toLowerCase()];if(!bA.unicodeSupport&&(!Ie||!Ie.unicodeSupport)){if(PA.host&&(bA.domainHost||Ie&&Ie.domainHost))try{PA.host=G.toASCII(PA.host.replace(WA.PCT_ENCODED,iA).toLowerCase())}catch(ie){PA.error=PA.error||"Host's domain name can not be converted to ASCII via punycode: "+ie}uA(PA,P)}else uA(PA,WA);Ie&&Ie.parse&&Ie.parse(PA,bA)}else PA.error=PA.error||"URI can not be parsed.";return PA}function hA(FA,bA){var PA=bA.iri!==!1?v:P,WA=[];return FA.userinfo!==void 0&&(WA.push(FA.userinfo),WA.push("@")),FA.host!==void 0&&WA.push(wA(gA(String(FA.host),PA),PA).replace(PA.IPV6ADDRESS,function(ZA,Ie,ie){return"["+Ie+(ie?"%25"+ie:"")+"]"})),(typeof FA.port=="number"||typeof FA.port=="string")&&(WA.push(":"),WA.push(String(FA.port))),WA.length?WA.join(""):void 0}var U=/^\.\.?\//,W=/^\/\.(\/|$)/,tA=/^\/\.\.(\/|$)/,aA=/^\/?(?:.|\n)*?(?=\/|$)/;function CA(FA){for(var bA=[];FA.length;)if(FA.match(U))FA=FA.replace(U,"");else if(FA.match(W))FA=FA.replace(W,"/");else if(FA.match(tA))FA=FA.replace(tA,"/"),bA.pop();else if(FA==="."||FA==="..")FA="";else{var PA=FA.match(aA);if(PA){var WA=PA[0];FA=FA.slice(WA.length),bA.push(WA)}else throw new Error("Unexpected dot segment condition")}return bA.join("")}function xA(FA){var bA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},PA=bA.iri?v:P,WA=[],ZA=q[(bA.scheme||FA.scheme||"").toLowerCase()];if(ZA&&ZA.serialize&&ZA.serialize(FA,bA),FA.host&&!PA.IPV6ADDRESS.test(FA.host)){if(bA.domainHost||ZA&&ZA.domainHost)try{FA.host=bA.iri?G.toUnicode(FA.host):G.toASCII(FA.host.replace(PA.PCT_ENCODED,iA).toLowerCase())}catch(Me){FA.error=FA.error||"Host's domain name can not be converted to "+(bA.iri?"Unicode":"ASCII")+" via punycode: "+Me}}uA(FA,PA),bA.reference!=="suffix"&&FA.scheme&&(WA.push(FA.scheme),WA.push(":"));var Ie=hA(FA,bA);if(Ie!==void 0&&(bA.reference!=="suffix"&&WA.push("//"),WA.push(Ie),FA.path&&FA.path.charAt(0)!=="/"&&WA.push("/")),FA.path!==void 0){var ie=FA.path;!bA.absolutePath&&(!ZA||!ZA.absolutePath)&&(ie=CA(ie)),Ie===void 0&&(ie=ie.replace(/^\/\//,"/%2F")),WA.push(ie)}return FA.query!==void 0&&(WA.push("?"),WA.push(FA.query)),FA.fragment!==void 0&&(WA.push("#"),WA.push(FA.fragment)),WA.join("")}function zA(FA,bA){var PA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},WA=arguments[3],ZA={};return WA||(FA=cA(xA(FA,PA),PA),bA=cA(xA(bA,PA),PA)),PA=PA||{},!PA.tolerant&&bA.scheme?(ZA.scheme=bA.scheme,ZA.userinfo=bA.userinfo,ZA.host=bA.host,ZA.port=bA.port,ZA.path=CA(bA.path||""),ZA.query=bA.query):(bA.userinfo!==void 0||bA.host!==void 0||bA.port!==void 0?(ZA.userinfo=bA.userinfo,ZA.host=bA.host,ZA.port=bA.port,ZA.path=CA(bA.path||""),ZA.query=bA.query):(bA.path?(bA.path.charAt(0)==="/"?ZA.path=CA(bA.path):((FA.userinfo!==void 0||FA.host!==void 0||FA.port!==void 0)&&!FA.path?ZA.path="/"+bA.path:FA.path?ZA.path=FA.path.slice(0,FA.path.lastIndexOf("/")+1)+bA.path:ZA.path=bA.path,ZA.path=CA(ZA.path)),ZA.query=bA.query):(ZA.path=FA.path,bA.query!==void 0?ZA.query=bA.query:ZA.query=FA.query),ZA.userinfo=FA.userinfo,ZA.host=FA.host,ZA.port=FA.port),ZA.scheme=FA.scheme),ZA.fragment=bA.fragment,ZA}function jA(FA,bA,PA){var WA=O({scheme:"null"},PA);return xA(zA(cA(FA,WA),cA(bA,WA),WA,!0),WA)}function Ae(FA,bA){return typeof FA=="string"?FA=xA(cA(FA,bA),bA):S(FA)==="object"&&(FA=cA(xA(FA,bA),bA)),FA}function vA(FA,bA,PA){return typeof FA=="string"?FA=xA(cA(FA,PA),PA):S(FA)==="object"&&(FA=xA(FA,PA)),typeof bA=="string"?bA=xA(cA(bA,PA),PA):S(bA)==="object"&&(bA=xA(bA,PA)),FA===bA}function $A(FA,bA){return FA&&FA.toString().replace(!bA||!bA.iri?P.ESCAPE:v.ESCAPE,rA)}function XA(FA,bA){return FA&&FA.toString().replace(!bA||!bA.iri?P.PCT_ENCODED:v.PCT_ENCODED,iA)}var SA={scheme:"http",domainHost:!0,parse:function(bA,PA){return bA.host||(bA.error=bA.error||"HTTP URIs must have a host."),bA},serialize:function(bA,PA){var WA=String(bA.scheme).toLowerCase()==="https";return(bA.port===(WA?443:80)||bA.port==="")&&(bA.port=void 0),bA.path||(bA.path="/"),bA}},MA={scheme:"https",domainHost:SA.domainHost,parse:SA.parse,serialize:SA.serialize};function qA(FA){return typeof FA.secure=="boolean"?FA.secure:String(FA.scheme).toLowerCase()==="wss"}var Ce={scheme:"ws",domainHost:!0,parse:function(bA,PA){var WA=bA;return WA.secure=qA(WA),WA.resourceName=(WA.path||"/")+(WA.query?"?"+WA.query:""),WA.path=void 0,WA.query=void 0,WA},serialize:function(bA,PA){if((bA.port===(qA(bA)?443:80)||bA.port==="")&&(bA.port=void 0),typeof bA.secure=="boolean"&&(bA.scheme=bA.secure?"wss":"ws",bA.secure=void 0),bA.resourceName){var WA=bA.resourceName.split("?"),ZA=m(WA,2),Ie=ZA[0],ie=ZA[1];bA.path=Ie&&Ie!=="/"?Ie:void 0,bA.query=ie,bA.resourceName=void 0}return bA.fragment=void 0,bA}},ye={scheme:"wss",domainHost:Ce.domainHost,parse:Ce.parse,serialize:Ce.serialize},xe={},NA="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",UA="[0-9A-Fa-f]",JA=I(I("%[EFef]"+UA+"%"+UA+UA+"%"+UA+UA)+"|"+I("%[89A-Fa-f]"+UA+"%"+UA+UA)+"|"+I("%"+UA+UA)),de="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",ae=D("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ke=new RegExp(NA,"g"),IA=new RegExp(JA,"g"),LA=new RegExp(D("[^]",de,"[\\.]",'[\\"]',ae),"g"),TA=new RegExp(D("[^]",NA,Ee),"g"),re=TA;function be(FA){var bA=iA(FA);return bA.match(ke)?bA:FA}var se={scheme:"mailto",parse:function(bA,PA){var WA=bA,ZA=WA.to=WA.path?WA.path.split(","):[];if(WA.path=void 0,WA.query){for(var Ie=!1,ie={},Me=WA.query.split("&"),qe=0,Ct=Me.length;qe<Ct;++qe){var ze=Me[qe].split("=");switch(ze[0]){case"to":for(var At=ze[1].split(","),dt=0,Pe=At.length;dt<Pe;++dt)ZA.push(At[dt]);break;case"subject":WA.subject=XA(ze[1],PA);break;case"body":WA.body=XA(ze[1],PA);break;default:Ie=!0,ie[XA(ze[0],PA)]=XA(ze[1],PA);break}}Ie&&(WA.headers=ie)}WA.query=void 0;for(var ot=0,ft=ZA.length;ot<ft;++ot){var nt=ZA[ot].split("@");if(nt[0]=XA(nt[0]),PA.unicodeSupport)nt[1]=XA(nt[1],PA).toLowerCase();else try{nt[1]=G.toASCII(XA(nt[1],PA).toLowerCase())}catch(Rn){WA.error=WA.error||"Email address's domain name can not be converted to ASCII via punycode: "+Rn}ZA[ot]=nt.join("@")}return WA},serialize:function(bA,PA){var WA=bA,ZA=T(bA.to);if(ZA){for(var Ie=0,ie=ZA.length;Ie<ie;++Ie){var Me=String(ZA[Ie]),qe=Me.lastIndexOf("@"),Ct=Me.slice(0,qe).replace(IA,be).replace(IA,N).replace(LA,rA),ze=Me.slice(qe+1);try{ze=PA.iri?G.toUnicode(ze):G.toASCII(XA(ze,PA).toLowerCase())}catch(ot){WA.error=WA.error||"Email address's domain name can not be converted to "+(PA.iri?"Unicode":"ASCII")+" via punycode: "+ot}ZA[Ie]=Ct+"@"+ze}WA.path=ZA.join(",")}var At=bA.headers=bA.headers||{};bA.subject&&(At.subject=bA.subject),bA.body&&(At.body=bA.body);var dt=[];for(var Pe in At)At[Pe]!==xe[Pe]&&dt.push(Pe.replace(IA,be).replace(IA,N).replace(TA,rA)+"="+At[Pe].replace(IA,be).replace(IA,N).replace(re,rA));return dt.length&&(WA.query=dt.join("&")),WA}},ue=/^([^\:]+)\:(.*)/,Se={scheme:"urn",parse:function(bA,PA){var WA=bA.path&&bA.path.match(ue),ZA=bA;if(WA){var Ie=PA.scheme||ZA.scheme||"urn",ie=WA[1].toLowerCase(),Me=WA[2],qe=Ie+":"+(PA.nid||ie),Ct=q[qe];ZA.nid=ie,ZA.nss=Me,ZA.path=void 0,Ct&&(ZA=Ct.parse(ZA,PA))}else ZA.error=ZA.error||"URN can not be parsed.";return ZA},serialize:function(bA,PA){var WA=PA.scheme||bA.scheme||"urn",ZA=bA.nid,Ie=WA+":"+(PA.nid||ZA),ie=q[Ie];ie&&(bA=ie.serialize(bA,PA));var Me=bA,qe=bA.nss;return Me.path=(ZA||PA.nid)+":"+qe,Me}},tt=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ct={scheme:"urn:uuid",parse:function(bA,PA){var WA=bA;return WA.uuid=WA.nss,WA.nss=void 0,!PA.tolerant&&(!WA.uuid||!WA.uuid.match(tt))&&(WA.error=WA.error||"UUID is not valid."),WA},serialize:function(bA,PA){var WA=bA;return WA.nss=(bA.uuid||"").toLowerCase(),WA}};q[SA.scheme]=SA,q[MA.scheme]=MA,q[Ce.scheme]=Ce,q[ye.scheme]=ye,q[se.scheme]=se,q[Se.scheme]=Se,q[ct.scheme]=ct,b.SCHEMES=q,b.pctEncChar=rA,b.pctDecChars=iA,b.parse=cA,b.removeDotSegments=CA,b.serialize=xA,b.resolveComponents=zA,b.resolve=jA,b.normalize=Ae,b.equal=vA,b.escapeComponent=$A,b.unescapeComponent=XA,Object.defineProperty(b,"__esModule",{value:!0})})(o)},7598:function(f){f.exports=function(){var o=function(g,s){if(!(g instanceof s))throw new TypeError("Cannot call a class as a function")},b=function(){function g(s,h){for(var C=0;C<h.length;C++){var a=h[C];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}return function(s,h,C){return h&&g(s.prototype,h),C&&g(s,C),s}}(),D=function(){function g(s,h){var C=[],a=!0,r=!1,E=void 0;try{for(var Q=s[Symbol.iterator](),M;!(a=(M=Q.next()).done)&&(C.push(M.value),!(h&&C.length===h));a=!0);}catch(x){r=!0,E=x}finally{try{!a&&Q.return&&Q.return()}finally{if(r)throw E}}return C}return function(s,h){if(Array.isArray(s))return s;if(Symbol.iterator in Object(s))return g(s,h);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),I=(String.prototype.startsWith=String.prototype.startsWith||function(g){return this.indexOf(g)===0},String.prototype.padStart=String.prototype.padStart||function(g,s){for(var h=this;h.length<g;)h=s+h;return h},{cb:"0f8ff",tqw:"aebd7",q:"-ffff",qmrn:"7fffd4",zr:"0ffff",bg:"5f5dc",bsq:"e4c4",bck:"---",nch:"ebcd",b:"--ff",bvt:"8a2be2",brwn:"a52a2a",brw:"deb887",ctb:"5f9ea0",hrt:"7fff-",chcT:"d2691e",cr:"7f50",rnw:"6495ed",crns:"8dc",crms:"dc143c",cn:"-ffff",Db:"--8b",Dcn:"-8b8b",Dgnr:"b8860b",Dgr:"a9a9a9",Dgrn:"-64-",Dkhk:"bdb76b",Dmgn:"8b-8b",Dvgr:"556b2f",Drng:"8c-",Drch:"9932cc",Dr:"8b--",Dsmn:"e9967a",Dsgr:"8fbc8f",DsTb:"483d8b",DsTg:"2f4f4f",Dtrq:"-ced1",Dvt:"94-d3",ppnk:"1493",pskb:"-bfff",mgr:"696969",grb:"1e90ff",rbrc:"b22222",rwht:"af0",stg:"228b22",chs:"-ff",gnsb:"dcdcdc",st:"8f8ff",g:"d7-",gnr:"daa520",gr:"808080",grn:"-8-0",grnw:"adff2f",hnw:"0fff0",htpn:"69b4",nnr:"cd5c5c",ng:"4b-82",vr:"0",khk:"0e68c",vnr:"e6e6fa",nrb:"0f5",wngr:"7cfc-",mnch:"acd",Lb:"add8e6",Lcr:"08080",Lcn:"e0ffff",Lgnr:"afad2",Lgr:"d3d3d3",Lgrn:"90ee90",Lpnk:"b6c1",Lsmn:"a07a",Lsgr:"20b2aa",Lskb:"87cefa",LsTg:"778899",Lstb:"b0c4de",Lw:"e0",m:"-ff-",mgrn:"32cd32",nn:"af0e6",mgnt:"-ff",mrn:"8--0",mqm:"66cdaa",mmb:"--cd",mmrc:"ba55d3",mmpr:"9370db",msg:"3cb371",mmsT:"7b68ee","":"-fa9a",mtr:"48d1cc",mmvt:"c71585",mnLb:"191970",ntc:"5fffa",mstr:"e4e1",mccs:"e4b5",vjw:"dead",nv:"--80",c:"df5e6",v:"808-0",vrb:"6b8e23",rng:"a5-",rngr:"45-",rch:"da70d6",pgnr:"eee8aa",pgrn:"98fb98",ptrq:"afeeee",pvtr:"db7093",ppwh:"efd5",pchp:"dab9",pr:"cd853f",pnk:"c0cb",pm:"dda0dd",pwrb:"b0e0e6",prp:"8-080",cc:"663399",r:"--",sbr:"bc8f8f",rb:"4169e1",sbrw:"8b4513",smn:"a8072",nbr:"4a460",sgrn:"2e8b57",ssh:"5ee",snn:"a0522d",svr:"c0c0c0",skb:"87ceeb",sTb:"6a5acd",sTgr:"708090",snw:"afa",n:"-ff7f",stb:"4682b4",tn:"d2b48c",t:"-8080",thst:"d8bfd8",tmT:"6347",trqs:"40e0d0",vt:"ee82ee",whT:"5deb3",wht:"",hts:"5f5f5",w:"-",wgrn:"9acd32"});function S(g){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,h=s>0?g.toFixed(s).replace(/0+$/,"").replace(/\.$/,""):g.toString();return h||"0"}var N=function(){function g(s,h,C,a){o(this,g);var r=this;function E(M){if(M.startsWith("hsl")){var x=M.match(/([\-\d\.e]+)/g).map(Number),K=D(x,4),z=K[0],AA=K[1],eA=K[2],V=K[3];V===void 0&&(V=1),z/=360,AA/=100,eA/=100,r.hsla=[z,AA,eA,V]}else if(M.startsWith("rgb")){var $=M.match(/([\-\d\.e]+)/g).map(Number),J=D($,4),y=J[0],j=J[1],G=J[2],q=J[3];q===void 0&&(q=1),r.rgba=[y,j,G,q]}else M.startsWith("#")?r.rgba=g.hexToRgb(M):r.rgba=g.nameToRgb(M)||g.hexToRgb(M)}if(s!==void 0)if(Array.isArray(s))this.rgba=s;else if(C===void 0){var Q=s&&""+s;Q&&E(Q.toLowerCase())}else this.rgba=[s,h,C,a===void 0?1:a]}return b(g,[{key:"printRGB",value:function(h){var C=h?this.rgba:this.rgba.slice(0,3),a=C.map(function(r,E){return S(r,E===3?3:0)});return h?"rgba("+a+")":"rgb("+a+")"}},{key:"printHSL",value:function(h){var C=[360,100,100,1],a=["","%","%",""],r=h?this.hsla:this.hsla.slice(0,3),E=r.map(function(Q,M){return S(Q*C[M],M===3?3:1)+a[M]});return h?"hsla("+E+")":"hsl("+E+")"}},{key:"printHex",value:function(h){var C=this.hex;return h?C:C.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=g.hslToRgb(this._hsla)},set:function(h){h.length===3&&(h[3]=1),this._rgba=h,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=g.rgbToHsl(this._rgba)},set:function(h){h.length===3&&(h[3]=1),this._hsla=h,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var h=this.rgba,C=h.map(function(a,r){return r<3?a.toString(16):Math.round(a*255).toString(16)});return"#"+C.map(function(a){return a.padStart(2,"0")}).join("")},set:function(h){this.rgba=g.hexToRgb(h)}}],[{key:"hexToRgb",value:function(h){var C=(h.startsWith("#")?h.slice(1):h).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!C.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+h);var a=C.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(r){return parseInt(r,16)});return a[3]=a[3]/255,a}},{key:"nameToRgb",value:function(h){var C=h.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),a=I[C];return a===void 0?a:g.hexToRgb(a.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(h){var C=D(h,4),a=C[0],r=C[1],E=C[2],Q=C[3];a/=255,r/=255,E/=255;var M=Math.max(a,r,E),x=Math.min(a,r,E),K=void 0,z=void 0,AA=(M+x)/2;if(M===x)K=z=0;else{var eA=M-x;switch(z=AA>.5?eA/(2-M-x):eA/(M+x),M){case a:K=(r-E)/eA+(r<E?6:0);break;case r:K=(E-a)/eA+2;break;case E:K=(a-r)/eA+4;break}K/=6}return[K,z,AA,Q]}},{key:"hslToRgb",value:function(h){var C=D(h,4),a=C[0],r=C[1],E=C[2],Q=C[3],M=void 0,x=void 0,K=void 0;if(r===0)M=x=K=E;else{var z=function(J,y,j){return j<0&&(j+=1),j>1&&(j-=1),j<.16666666666666666?J+(y-J)*6*j:j<.5?y:j<.6666666666666666?J+(y-J)*(.6666666666666666-j)*6:J},AA=E<.5?E*(1+r):E+r-E*r,eA=2*E-AA;M=z(eA,AA,a+1/3),x=z(eA,AA,a),K=z(eA,AA,a-1/3)}var V=[M*255,x*255,K*255].map(Math.round);return V[3]=Q,V}}]),g}(),T=function(){function g(){o(this,g),this._events=[]}return b(g,[{key:"add",value:function(h,C,a){h.addEventListener(C,a,!1),this._events.push({target:h,type:C,handler:a})}},{key:"remove",value:function(h,C,a){this._events=this._events.filter(function(r){var E=!0;return h&&h!==r.target&&(E=!1),C&&C!==r.type&&(E=!1),a&&a!==r.handler&&(E=!1),E&&g._doRemove(r.target,r.type,r.handler),!E})}},{key:"destroy",value:function(){this._events.forEach(function(h){return g._doRemove(h.target,h.type,h.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(h,C,a){h.removeEventListener(C,a,!1)}}]),g}();function O(g){var s=document.createElement("div");return s.innerHTML=g,s.firstElementChild}function H(g,s,h){var C=!1;function a(M,x,K){return Math.max(x,Math.min(M,K))}function r(M,x,K){if(K&&(C=!0),!!C){M.preventDefault();var z=s.getBoundingClientRect(),AA=z.width,eA=z.height,V=x.clientX,$=x.clientY,J=a(V-z.left,0,AA),y=a($-z.top,0,eA);h(J/AA,y/eA)}}function E(M,x){var K=M.buttons===void 0?M.which:M.buttons;K===1?r(M,M,x):C=!1}function Q(M,x){M.touches.length===1?r(M,M.touches[0],x):C=!1}g.add(s,"mousedown",function(M){E(M,!0)}),g.add(s,"touchstart",function(M){Q(M,!0)}),g.add(window,"mousemove",E),g.add(s,"touchmove",Q),g.add(window,"mouseup",function(M){C=!1}),g.add(s,"touchend",function(M){C=!1}),g.add(s,"touchcancel",function(M){C=!1})}var P=`linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em,
|
|
1645
|
+
`+V($,s),Q++,M=0;$--;)l?(Q+=l,M=C):M+=C,x+=h;x+=1}}function eA($,J){E[$]=E[$]||{},E[$][J]={line:Q,column:M,pos:x}}function V($,J){return Array($+1).join(J)}},["number","bigint","boolean","string","object"]);function S(B){return 0<=I.indexOf(typeof B)}var N=/"|\\/g,T=/[\b]/g,O=/\f/g,H=/\n/g,P=/\r/g,v=/\t/g;function m(B){return'"'+(B=B.replace(N,"\\$&").replace(O,"\\f").replace(T,"\\b").replace(H,"\\n").replace(P,"\\r").replace(v,"\\t"))+'"'}var F=/~/g,k=/\//g;function _(B){return B.replace(F,"~0").replace(k,"~1")}},8340:function(f,o){var b;(o=typeof(b=function(){function D(p){return typeof Node=="object"?p instanceof Node:p&&typeof p=="object"&&typeof p.nodeType=="number"}function I(p){return typeof p=="string"}function S(){var p=[];return{watch:p.push.bind(p),trigger:function(u,l){for(var g=!0,s={detail:l,preventDefault:function(){g=!1}},h=0;h<p.length;h++)p[h](u,s);return g}}}function N(p){return window.getComputedStyle(p).display==="none"}function T(p){this.elem=p}function O(p,u){return T.make(p("parent")).clazz("pico-overlay").clazz(p("overlayClass","")).stylize({display:"none",position:"fixed",top:"0px",left:"0px",height:"100%",width:"100%",zIndex:1e4}).stylize(p("overlayStyles",{opacity:.5,background:"#000"})).onClick(function(){p("overlayClose",!0)&&u()})}T.make=function(p,u){typeof p=="string"&&(p=document.querySelector(p));var l=document.createElement(u||"div");return(p||document.body).appendChild(l),new T(l)},T.prototype={child:function(p){return T.make(this.elem,p)},stylize:function(p){p=p||{},typeof p.opacity<"u"&&(p.filter="alpha(opacity="+p.opacity*100+")");for(var u in p)p.hasOwnProperty(u)&&(this.elem.style[u]=p[u]);return this},clazz:function(p){return this.elem.className+=" "+p,this},html:function(p){return D(p)?this.elem.appendChild(p):this.elem.innerHTML=p,this},onClick:function(p){return this.elem.addEventListener("click",p),this},destroy:function(){this.elem.parentNode.removeChild(this.elem)},hide:function(){this.elem.style.display="none"},show:function(){this.elem.style.display="block"},attr:function(p,u){return u!==void 0&&this.elem.setAttribute(p,u),this},anyAncestor:function(p){for(var u=this.elem;u;){if(p(new T(u)))return!0;u=u.parentNode}return!1},isVisible:function(){return!N(this.elem)}};var H=1;function P(p,u){var l=p("width","auto");typeof l=="number"&&(l=""+l+"px");var g=p("modalId","pico-"+H++),s=T.make(p("parent")).clazz("pico-content").clazz(p("modalClass","")).stylize({display:"none",position:"fixed",zIndex:10001,left:"50%",top:"38.1966%",maxHeight:"90%",boxSizing:"border-box",width:l,"-ms-transform":"translate(-50%,-38.1966%)","-moz-transform":"translate(-50%,-38.1966%)","-webkit-transform":"translate(-50%,-38.1966%)","-o-transform":"translate(-50%,-38.1966%)",transform:"translate(-50%,-38.1966%)"}).stylize(p("modalStyles",{overflow:"auto",backgroundColor:"white",padding:"20px",borderRadius:"5px"})).html(p("content")).attr("id",g).attr("role","dialog").attr("aria-labelledby",p("ariaLabelledBy")).attr("aria-describedby",p("ariaDescribedBy",g)).onClick(function(h){var C=new T(h.target).anyAncestor(function(a){return/\bpico-close\b/.test(a.elem.className)});C&&u()});return s}function v(p,u){if(u("closeButton",!0))return p.child("button").html(u("closeHtml","×")).clazz("pico-close").clazz(u("closeClass","")).stylize(u("closeStyles",{borderRadius:"2px",border:0,padding:0,cursor:"pointer",height:"15px",width:"15px",position:"absolute",top:"5px",right:"5px",fontSize:"16px",textAlign:"center",lineHeight:"15px",background:"#CCC"})).attr("aria-label",u("close-label","Close"))}function m(p){return function(){return p().elem}}var F=S(),k=S();function _(p,u){function l(a,r){var E=a.msMatchesSelector||a.webkitMatchesSelector||a.matches;return E.call(a,r)}function g(a){return N(a)||l(a,":disabled")||a.hasAttribute("contenteditable")?!1:a.hasAttribute("tabindex")||l(a,"input,select,textarea,button,a[href],area[href],iframe")}function s(a){for(var r=a.getElementsByTagName("*"),E=0;E<r.length;E++)if(g(r[E]))return r[E]}function h(a){for(var r=a.getElementsByTagName("*"),E=r.length;E--;)if(g(r[E]))return r[E]}var C;p.beforeShow(function(){C=document.activeElement}),p.afterShow(function(){if(u()){var r=s(p.modalElem());r&&r.focus()}}),p.afterClose(function(){u()&&C&&C.focus(),C=null}),k.watch(function(r){if(u()&&p.isVisible()){var E=s(p.modalElem()),Q=h(p.modalElem()),M=r.shiftKey?E:Q;M===document.activeElement&&((r.shiftKey?Q:E).focus(),r.preventDefault())}})}function B(p,u){var l,g=new T(document.body);p.beforeShow(function(){l=g.elem.style.overflow,u()&&g.stylize({overflow:"hidden"})}),p.afterClose(function(){g.stylize({overflow:l})})}return document.documentElement.addEventListener("keydown",function(u){var l=u.which||u.keyCode;l===27?F.trigger():l===9&&k.trigger(u)}),function(u){(I(u)||D(u))&&(u={content:u});var l=S(),g=S(),s=S(),h=S(),C=S();function a(V,$){var J=u[V];return typeof J=="function"&&(J=J($)),J===void 0?$:J}var r=eA.bind(window,"modal"),E=eA.bind(window,"overlay"),Q=eA.bind(window,"close"),M;function x(V){E().hide(),r().hide(),C.trigger(M,V)}function K(V){h.trigger(M,V)&&x(V)}function z(V){return function(){return V.apply(this,arguments),M}}var AA;function eA(V,$){if(!AA){var J=P(a,K);AA={modal:J,overlay:O(a,K),close:v(J,a)},l.trigger(M,$)}return AA[V]}return M={modalElem:m(r),closeElem:m(Q),overlayElem:m(E),buildDom:z(eA.bind(null,null)),isVisible:function(){return!!(AA&&r&&r().isVisible())},show:function(V){return g.trigger(M,V)&&(E().show(),Q(),r().show(),s.trigger(M,V)),this},close:z(K),forceClose:z(x),destroy:function(){r().destroy(),E().destroy(),E=r=Q=void 0},options:function(V){Object.keys(V).map(function($){u[$]=V[$]})},afterCreate:z(l.watch),beforeShow:z(g.watch),afterShow:z(s.watch),beforeClose:z(h.watch),afterClose:z(C.watch)},_(M,a.bind(null,"focus",!0)),B(M,a.bind(null,"bodyOverflow",!0)),F.watch(function(){a("escCloses",!0)&&M.isVisible()&&M.close()}),M}})=="function"?b.apply(o,[]):b)!==void 0&&(f.exports=o)},6777:function(f,o){/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(b){function D(){for(var FA=arguments.length,bA=Array(FA),PA=0;PA<FA;PA++)bA[PA]=arguments[PA];if(bA.length>1){bA[0]=bA[0].slice(0,-1);for(var WA=bA.length-1,ZA=1;ZA<WA;++ZA)bA[ZA]=bA[ZA].slice(1,-1);return bA[WA]=bA[WA].slice(1),bA.join("")}else return bA[0]}function I(FA){return"(?:"+FA+")"}function S(FA){return FA===void 0?"undefined":FA===null?"null":Object.prototype.toString.call(FA).split(" ").pop().split("]").shift().toLowerCase()}function N(FA){return FA.toUpperCase()}function T(FA){return FA!=null?FA instanceof Array?FA:typeof FA.length!="number"||FA.split||FA.setInterval||FA.call?[FA]:Array.prototype.slice.call(FA):[]}function O(FA,bA){var PA=FA;if(bA)for(var WA in bA)PA[WA]=bA[WA];return PA}function H(FA){var bA="[A-Za-z]",PA="[0-9]",WA=D(PA,"[A-Fa-f]"),ZA=I(I("%[EFef]"+WA+"%"+WA+WA+"%"+WA+WA)+"|"+I("%[89A-Fa-f]"+WA+"%"+WA+WA)+"|"+I("%"+WA+WA)),Ie="[\\:\\/\\?\\#\\[\\]\\@]",ie="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Me=D(Ie,ie),qe=FA?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Ct=FA?"[\\uE000-\\uF8FF]":"[]",ze=D(bA,PA,"[\\-\\.\\_\\~]",qe);I(bA+D(bA,PA,"[\\+\\-\\.]")+"*"),I(I(ZA+"|"+D(ze,ie,"[\\:]"))+"*");var At=I(I("25[0-5]")+"|"+I("2[0-4]"+PA)+"|"+I("1"+PA+PA)+"|"+I("0?[1-9]"+PA)+"|0?0?"+PA),dt=I(At+"\\."+At+"\\."+At+"\\."+At),Pe=I(WA+"{1,4}"),ot=I(I(Pe+"\\:"+Pe)+"|"+dt),ft=I(I(Pe+"\\:")+"{6}"+ot),nt=I("\\:\\:"+I(Pe+"\\:")+"{5}"+ot),Ln=I(I(Pe)+"?\\:\\:"+I(Pe+"\\:")+"{4}"+ot),Xt=I(I(I(Pe+"\\:")+"{0,1}"+Pe)+"?\\:\\:"+I(Pe+"\\:")+"{3}"+ot),Vt=I(I(I(Pe+"\\:")+"{0,2}"+Pe)+"?\\:\\:"+I(Pe+"\\:")+"{2}"+ot),dn=I(I(I(Pe+"\\:")+"{0,3}"+Pe)+"?\\:\\:"+Pe+"\\:"+ot),bn=I(I(I(Pe+"\\:")+"{0,4}"+Pe)+"?\\:\\:"+ot),Ft=I(I(I(Pe+"\\:")+"{0,5}"+Pe)+"?\\:\\:"+Pe),An=I(I(I(Pe+"\\:")+"{0,6}"+Pe)+"?\\:\\:"),Jn=I([ft,nt,Ln,Xt,Vt,dn,bn,Ft,An].join("|")),en=I(I(ze+"|"+ZA)+"+");I("[vV]"+WA+"+\\."+D(ze,ie,"[\\:]")+"+"),I(I(ZA+"|"+D(ze,ie))+"*");var mi=I(ZA+"|"+D(ze,ie,"[\\:\\@]"));return I(I(ZA+"|"+D(ze,ie,"[\\@]"))+"+"),I(I(mi+"|"+D("[\\/\\?]",Ct))+"*"),{NOT_SCHEME:new RegExp(D("[^]",bA,PA,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(D("[^\\%\\:]",ze,ie),"g"),NOT_HOST:new RegExp(D("[^\\%\\[\\]\\:]",ze,ie),"g"),NOT_PATH:new RegExp(D("[^\\%\\/\\:\\@]",ze,ie),"g"),NOT_PATH_NOSCHEME:new RegExp(D("[^\\%\\/\\@]",ze,ie),"g"),NOT_QUERY:new RegExp(D("[^\\%]",ze,ie,"[\\:\\@\\/\\?]",Ct),"g"),NOT_FRAGMENT:new RegExp(D("[^\\%]",ze,ie,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(D("[^]",ze,ie),"g"),UNRESERVED:new RegExp(ze,"g"),OTHER_CHARS:new RegExp(D("[^\\%]",ze,Me),"g"),PCT_ENCODED:new RegExp(ZA,"g"),IPV4ADDRESS:new RegExp("^("+dt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Jn+")"+I(I("\\%25|\\%(?!"+WA+"{2})")+"("+en+")")+"?\\]?$")}}var P=H(!1),v=H(!0),m=function(){function FA(bA,PA){var WA=[],ZA=!0,Ie=!1,ie=void 0;try{for(var Me=bA[Symbol.iterator](),qe;!(ZA=(qe=Me.next()).done)&&(WA.push(qe.value),!(PA&&WA.length===PA));ZA=!0);}catch(Ct){Ie=!0,ie=Ct}finally{try{!ZA&&Me.return&&Me.return()}finally{if(Ie)throw ie}}return WA}return function(bA,PA){if(Array.isArray(bA))return bA;if(Symbol.iterator in Object(bA))return FA(bA,PA);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),F=function(FA){if(Array.isArray(FA)){for(var bA=0,PA=Array(FA.length);bA<FA.length;bA++)PA[bA]=FA[bA];return PA}else return Array.from(FA)},k=2147483647,_=36,B=1,p=26,u=38,l=700,g=72,s=128,h="-",C=/^xn--/,a=/[^\0-\x7E]/,r=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Q=_-B,M=Math.floor,x=String.fromCharCode;function K(FA){throw new RangeError(E[FA])}function z(FA,bA){for(var PA=[],WA=FA.length;WA--;)PA[WA]=bA(FA[WA]);return PA}function AA(FA,bA){var PA=FA.split("@"),WA="";PA.length>1&&(WA=PA[0]+"@",FA=PA[1]),FA=FA.replace(r,".");var ZA=FA.split("."),Ie=z(ZA,bA).join(".");return WA+Ie}function eA(FA){for(var bA=[],PA=0,WA=FA.length;PA<WA;){var ZA=FA.charCodeAt(PA++);if(ZA>=55296&&ZA<=56319&&PA<WA){var Ie=FA.charCodeAt(PA++);(Ie&64512)==56320?bA.push(((ZA&1023)<<10)+(Ie&1023)+65536):(bA.push(ZA),PA--)}else bA.push(ZA)}return bA}var V=function(bA){return bA-48<10?bA-22:bA-65<26?bA-65:bA-97<26?bA-97:_},$=function(bA,PA){return bA+22+75*(bA<26)-((PA!=0)<<5)},J=function(bA,PA,WA){var ZA=0;for(bA=WA?M(bA/l):bA>>1,bA+=M(bA/PA);bA>Q*p>>1;ZA+=_)bA=M(bA/Q);return M(ZA+(Q+1)*bA/(bA+u))},y=function(bA){var PA=[],WA=bA.length,ZA=0,Ie=s,ie=g,Me=bA.lastIndexOf(h);Me<0&&(Me=0);for(var qe=0;qe<Me;++qe)bA.charCodeAt(qe)>=128&&K("not-basic"),PA.push(bA.charCodeAt(qe));for(var Ct=Me>0?Me+1:0;Ct<WA;){for(var ze=ZA,At=1,dt=_;;dt+=_){Ct>=WA&&K("invalid-input");var Pe=V(bA.charCodeAt(Ct++));(Pe>=_||Pe>M((k-ZA)/At))&&K("overflow"),ZA+=Pe*At;var ot=dt<=ie?B:dt>=ie+p?p:dt-ie;if(Pe<ot)break;var ft=_-ot;At>M(k/ft)&&K("overflow"),At*=ft}var nt=PA.length+1;ie=J(ZA-ze,nt,ze==0),M(ZA/nt)>k-Ie&&K("overflow"),Ie+=M(ZA/nt),ZA%=nt,PA.splice(ZA++,0,Ie)}return String.fromCodePoint.apply(String,PA)},j=function(bA){var PA=[];bA=eA(bA);var WA=bA.length,ZA=s,Ie=0,ie=g,Me=!0,qe=!1,Ct=void 0;try{for(var ze=bA[Symbol.iterator](),At;!(Me=(At=ze.next()).done);Me=!0){var dt=At.value;dt<128&&PA.push(x(dt))}}catch(yn){qe=!0,Ct=yn}finally{try{!Me&&ze.return&&ze.return()}finally{if(qe)throw Ct}}var Pe=PA.length,ot=Pe;for(Pe&&PA.push(h);ot<WA;){var ft=k,nt=!0,Ln=!1,Xt=void 0;try{for(var Vt=bA[Symbol.iterator](),dn;!(nt=(dn=Vt.next()).done);nt=!0){var bn=dn.value;bn>=ZA&&bn<ft&&(ft=bn)}}catch(yn){Ln=!0,Xt=yn}finally{try{!nt&&Vt.return&&Vt.return()}finally{if(Ln)throw Xt}}var Ft=ot+1;ft-ZA>M((k-Ie)/Ft)&&K("overflow"),Ie+=(ft-ZA)*Ft,ZA=ft;var An=!0,Jn=!1,en=void 0;try{for(var mi=bA[Symbol.iterator](),Ei;!(An=(Ei=mi.next()).done);An=!0){var co=Ei.value;if(co<ZA&&++Ie>k&&K("overflow"),co==ZA){for(var Qi=Ie,oi=_;;oi+=_){var Hi=oi<=ie?B:oi>=ie+p?p:oi-ie;if(Qi<Hi)break;var go=Qi-Hi,ri=_-Hi;PA.push(x($(Hi+go%ri,0))),Qi=M(go/ri)}PA.push(x($(Qi,0))),ie=J(Ie,Ft,ot==Pe),Ie=0,++ot}}}catch(yn){Jn=!0,en=yn}finally{try{!An&&mi.return&&mi.return()}finally{if(Jn)throw en}}++Ie,++ZA}return PA.join("")},G={version:"2.1.0",ucs2:{decode:eA,encode:function(bA){return String.fromCodePoint.apply(String,F(bA))}},decode:y,encode:j,toASCII:function(bA){return AA(bA,function(PA){return a.test(PA)?"xn--"+j(PA):PA})},toUnicode:function(bA){return AA(bA,function(PA){return C.test(PA)?y(PA.slice(4).toLowerCase()):PA})}},q={};function rA(FA){var bA=FA.charCodeAt(0),PA=void 0;return bA<16?PA="%0"+bA.toString(16).toUpperCase():bA<128?PA="%"+bA.toString(16).toUpperCase():bA<2048?PA="%"+(bA>>6|192).toString(16).toUpperCase()+"%"+(bA&63|128).toString(16).toUpperCase():PA="%"+(bA>>12|224).toString(16).toUpperCase()+"%"+(bA>>6&63|128).toString(16).toUpperCase()+"%"+(bA&63|128).toString(16).toUpperCase(),PA}function iA(FA){for(var bA="",PA=0,WA=FA.length;PA<WA;){var ZA=parseInt(FA.substr(PA+1,2),16);if(ZA<128)bA+=String.fromCharCode(ZA),PA+=3;else if(ZA>=194&&ZA<224){if(WA-PA>=6){var Ie=parseInt(FA.substr(PA+4,2),16);bA+=String.fromCharCode((ZA&31)<<6|Ie&63)}else bA+=FA.substr(PA,6);PA+=6}else if(ZA>=224){if(WA-PA>=9){var ie=parseInt(FA.substr(PA+4,2),16),Me=parseInt(FA.substr(PA+7,2),16);bA+=String.fromCharCode((ZA&15)<<12|(ie&63)<<6|Me&63)}else bA+=FA.substr(PA,9);PA+=9}else bA+=FA.substr(PA,3),PA+=3}return bA}function uA(FA,bA){function PA(WA){var ZA=iA(WA);return ZA.match(bA.UNRESERVED)?ZA:WA}return FA.scheme&&(FA.scheme=String(FA.scheme).replace(bA.PCT_ENCODED,PA).toLowerCase().replace(bA.NOT_SCHEME,"")),FA.userinfo!==void 0&&(FA.userinfo=String(FA.userinfo).replace(bA.PCT_ENCODED,PA).replace(bA.NOT_USERINFO,rA).replace(bA.PCT_ENCODED,N)),FA.host!==void 0&&(FA.host=String(FA.host).replace(bA.PCT_ENCODED,PA).toLowerCase().replace(bA.NOT_HOST,rA).replace(bA.PCT_ENCODED,N)),FA.path!==void 0&&(FA.path=String(FA.path).replace(bA.PCT_ENCODED,PA).replace(FA.scheme?bA.NOT_PATH:bA.NOT_PATH_NOSCHEME,rA).replace(bA.PCT_ENCODED,N)),FA.query!==void 0&&(FA.query=String(FA.query).replace(bA.PCT_ENCODED,PA).replace(bA.NOT_QUERY,rA).replace(bA.PCT_ENCODED,N)),FA.fragment!==void 0&&(FA.fragment=String(FA.fragment).replace(bA.PCT_ENCODED,PA).replace(bA.NOT_FRAGMENT,rA).replace(bA.PCT_ENCODED,N)),FA}function mA(FA){return FA.replace(/^0*(.*)/,"$1")||"0"}function gA(FA,bA){var PA=FA.match(bA.IPV4ADDRESS)||[],WA=m(PA,2),ZA=WA[1];return ZA?ZA.split(".").map(mA).join("."):FA}function wA(FA,bA){var PA=FA.match(bA.IPV6ADDRESS)||[],WA=m(PA,3),ZA=WA[1],Ie=WA[2];if(ZA){for(var ie=ZA.toLowerCase().split("::").reverse(),Me=m(ie,2),qe=Me[0],Ct=Me[1],ze=Ct?Ct.split(":").map(mA):[],At=qe.split(":").map(mA),dt=bA.IPV4ADDRESS.test(At[At.length-1]),Pe=dt?7:8,ot=At.length-Pe,ft=Array(Pe),nt=0;nt<Pe;++nt)ft[nt]=ze[nt]||At[ot+nt]||"";dt&&(ft[Pe-1]=gA(ft[Pe-1],bA));var Ln=ft.reduce(function(Ft,An,Jn){if(!An||An==="0"){var en=Ft[Ft.length-1];en&&en.index+en.length===Jn?en.length++:Ft.push({index:Jn,length:1})}return Ft},[]),Xt=Ln.sort(function(Ft,An){return An.length-Ft.length})[0],Vt=void 0;if(Xt&&Xt.length>1){var dn=ft.slice(0,Xt.index),bn=ft.slice(Xt.index+Xt.length);Vt=dn.join(":")+"::"+bn.join(":")}else Vt=ft.join(":");return Ie&&(Vt+="%"+Ie),Vt}else return FA}var X=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,lA="".match(/(){0}/)[1]===void 0;function cA(FA){var bA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},PA={},WA=bA.iri!==!1?v:P;bA.reference==="suffix"&&(FA=(bA.scheme?bA.scheme+":":"")+"//"+FA);var ZA=FA.match(X);if(ZA){lA?(PA.scheme=ZA[1],PA.userinfo=ZA[3],PA.host=ZA[4],PA.port=parseInt(ZA[5],10),PA.path=ZA[6]||"",PA.query=ZA[7],PA.fragment=ZA[8],isNaN(PA.port)&&(PA.port=ZA[5])):(PA.scheme=ZA[1]||void 0,PA.userinfo=FA.indexOf("@")!==-1?ZA[3]:void 0,PA.host=FA.indexOf("//")!==-1?ZA[4]:void 0,PA.port=parseInt(ZA[5],10),PA.path=ZA[6]||"",PA.query=FA.indexOf("?")!==-1?ZA[7]:void 0,PA.fragment=FA.indexOf("#")!==-1?ZA[8]:void 0,isNaN(PA.port)&&(PA.port=FA.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ZA[4]:void 0)),PA.host&&(PA.host=wA(gA(PA.host,WA),WA)),PA.scheme===void 0&&PA.userinfo===void 0&&PA.host===void 0&&PA.port===void 0&&!PA.path&&PA.query===void 0?PA.reference="same-document":PA.scheme===void 0?PA.reference="relative":PA.fragment===void 0?PA.reference="absolute":PA.reference="uri",bA.reference&&bA.reference!=="suffix"&&bA.reference!==PA.reference&&(PA.error=PA.error||"URI is not a "+bA.reference+" reference.");var Ie=q[(bA.scheme||PA.scheme||"").toLowerCase()];if(!bA.unicodeSupport&&(!Ie||!Ie.unicodeSupport)){if(PA.host&&(bA.domainHost||Ie&&Ie.domainHost))try{PA.host=G.toASCII(PA.host.replace(WA.PCT_ENCODED,iA).toLowerCase())}catch(ie){PA.error=PA.error||"Host's domain name can not be converted to ASCII via punycode: "+ie}uA(PA,P)}else uA(PA,WA);Ie&&Ie.parse&&Ie.parse(PA,bA)}else PA.error=PA.error||"URI can not be parsed.";return PA}function hA(FA,bA){var PA=bA.iri!==!1?v:P,WA=[];return FA.userinfo!==void 0&&(WA.push(FA.userinfo),WA.push("@")),FA.host!==void 0&&WA.push(wA(gA(String(FA.host),PA),PA).replace(PA.IPV6ADDRESS,function(ZA,Ie,ie){return"["+Ie+(ie?"%25"+ie:"")+"]"})),(typeof FA.port=="number"||typeof FA.port=="string")&&(WA.push(":"),WA.push(String(FA.port))),WA.length?WA.join(""):void 0}var U=/^\.\.?\//,W=/^\/\.(\/|$)/,tA=/^\/\.\.(\/|$)/,aA=/^\/?(?:.|\n)*?(?=\/|$)/;function CA(FA){for(var bA=[];FA.length;)if(FA.match(U))FA=FA.replace(U,"");else if(FA.match(W))FA=FA.replace(W,"/");else if(FA.match(tA))FA=FA.replace(tA,"/"),bA.pop();else if(FA==="."||FA==="..")FA="";else{var PA=FA.match(aA);if(PA){var WA=PA[0];FA=FA.slice(WA.length),bA.push(WA)}else throw new Error("Unexpected dot segment condition")}return bA.join("")}function xA(FA){var bA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},PA=bA.iri?v:P,WA=[],ZA=q[(bA.scheme||FA.scheme||"").toLowerCase()];if(ZA&&ZA.serialize&&ZA.serialize(FA,bA),FA.host&&!PA.IPV6ADDRESS.test(FA.host)){if(bA.domainHost||ZA&&ZA.domainHost)try{FA.host=bA.iri?G.toUnicode(FA.host):G.toASCII(FA.host.replace(PA.PCT_ENCODED,iA).toLowerCase())}catch(Me){FA.error=FA.error||"Host's domain name can not be converted to "+(bA.iri?"Unicode":"ASCII")+" via punycode: "+Me}}uA(FA,PA),bA.reference!=="suffix"&&FA.scheme&&(WA.push(FA.scheme),WA.push(":"));var Ie=hA(FA,bA);if(Ie!==void 0&&(bA.reference!=="suffix"&&WA.push("//"),WA.push(Ie),FA.path&&FA.path.charAt(0)!=="/"&&WA.push("/")),FA.path!==void 0){var ie=FA.path;!bA.absolutePath&&(!ZA||!ZA.absolutePath)&&(ie=CA(ie)),Ie===void 0&&(ie=ie.replace(/^\/\//,"/%2F")),WA.push(ie)}return FA.query!==void 0&&(WA.push("?"),WA.push(FA.query)),FA.fragment!==void 0&&(WA.push("#"),WA.push(FA.fragment)),WA.join("")}function zA(FA,bA){var PA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},WA=arguments[3],ZA={};return WA||(FA=cA(xA(FA,PA),PA),bA=cA(xA(bA,PA),PA)),PA=PA||{},!PA.tolerant&&bA.scheme?(ZA.scheme=bA.scheme,ZA.userinfo=bA.userinfo,ZA.host=bA.host,ZA.port=bA.port,ZA.path=CA(bA.path||""),ZA.query=bA.query):(bA.userinfo!==void 0||bA.host!==void 0||bA.port!==void 0?(ZA.userinfo=bA.userinfo,ZA.host=bA.host,ZA.port=bA.port,ZA.path=CA(bA.path||""),ZA.query=bA.query):(bA.path?(bA.path.charAt(0)==="/"?ZA.path=CA(bA.path):((FA.userinfo!==void 0||FA.host!==void 0||FA.port!==void 0)&&!FA.path?ZA.path="/"+bA.path:FA.path?ZA.path=FA.path.slice(0,FA.path.lastIndexOf("/")+1)+bA.path:ZA.path=bA.path,ZA.path=CA(ZA.path)),ZA.query=bA.query):(ZA.path=FA.path,bA.query!==void 0?ZA.query=bA.query:ZA.query=FA.query),ZA.userinfo=FA.userinfo,ZA.host=FA.host,ZA.port=FA.port),ZA.scheme=FA.scheme),ZA.fragment=bA.fragment,ZA}function jA(FA,bA,PA){var WA=O({scheme:"null"},PA);return xA(zA(cA(FA,WA),cA(bA,WA),WA,!0),WA)}function Ae(FA,bA){return typeof FA=="string"?FA=xA(cA(FA,bA),bA):S(FA)==="object"&&(FA=cA(xA(FA,bA),bA)),FA}function vA(FA,bA,PA){return typeof FA=="string"?FA=xA(cA(FA,PA),PA):S(FA)==="object"&&(FA=xA(FA,PA)),typeof bA=="string"?bA=xA(cA(bA,PA),PA):S(bA)==="object"&&(bA=xA(bA,PA)),FA===bA}function $A(FA,bA){return FA&&FA.toString().replace(!bA||!bA.iri?P.ESCAPE:v.ESCAPE,rA)}function XA(FA,bA){return FA&&FA.toString().replace(!bA||!bA.iri?P.PCT_ENCODED:v.PCT_ENCODED,iA)}var SA={scheme:"http",domainHost:!0,parse:function(bA,PA){return bA.host||(bA.error=bA.error||"HTTP URIs must have a host."),bA},serialize:function(bA,PA){var WA=String(bA.scheme).toLowerCase()==="https";return(bA.port===(WA?443:80)||bA.port==="")&&(bA.port=void 0),bA.path||(bA.path="/"),bA}},MA={scheme:"https",domainHost:SA.domainHost,parse:SA.parse,serialize:SA.serialize};function qA(FA){return typeof FA.secure=="boolean"?FA.secure:String(FA.scheme).toLowerCase()==="wss"}var Ce={scheme:"ws",domainHost:!0,parse:function(bA,PA){var WA=bA;return WA.secure=qA(WA),WA.resourceName=(WA.path||"/")+(WA.query?"?"+WA.query:""),WA.path=void 0,WA.query=void 0,WA},serialize:function(bA,PA){if((bA.port===(qA(bA)?443:80)||bA.port==="")&&(bA.port=void 0),typeof bA.secure=="boolean"&&(bA.scheme=bA.secure?"wss":"ws",bA.secure=void 0),bA.resourceName){var WA=bA.resourceName.split("?"),ZA=m(WA,2),Ie=ZA[0],ie=ZA[1];bA.path=Ie&&Ie!=="/"?Ie:void 0,bA.query=ie,bA.resourceName=void 0}return bA.fragment=void 0,bA}},ye={scheme:"wss",domainHost:Ce.domainHost,parse:Ce.parse,serialize:Ce.serialize},xe={},NA="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",UA="[0-9A-Fa-f]",JA=I(I("%[EFef]"+UA+"%"+UA+UA+"%"+UA+UA)+"|"+I("%[89A-Fa-f]"+UA+"%"+UA+UA)+"|"+I("%"+UA+UA)),de="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",ae=D("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ke=new RegExp(NA,"g"),IA=new RegExp(JA,"g"),LA=new RegExp(D("[^]",de,"[\\.]",'[\\"]',ae),"g"),TA=new RegExp(D("[^]",NA,Ee),"g"),re=TA;function be(FA){var bA=iA(FA);return bA.match(ke)?bA:FA}var se={scheme:"mailto",parse:function(bA,PA){var WA=bA,ZA=WA.to=WA.path?WA.path.split(","):[];if(WA.path=void 0,WA.query){for(var Ie=!1,ie={},Me=WA.query.split("&"),qe=0,Ct=Me.length;qe<Ct;++qe){var ze=Me[qe].split("=");switch(ze[0]){case"to":for(var At=ze[1].split(","),dt=0,Pe=At.length;dt<Pe;++dt)ZA.push(At[dt]);break;case"subject":WA.subject=XA(ze[1],PA);break;case"body":WA.body=XA(ze[1],PA);break;default:Ie=!0,ie[XA(ze[0],PA)]=XA(ze[1],PA);break}}Ie&&(WA.headers=ie)}WA.query=void 0;for(var ot=0,ft=ZA.length;ot<ft;++ot){var nt=ZA[ot].split("@");if(nt[0]=XA(nt[0]),PA.unicodeSupport)nt[1]=XA(nt[1],PA).toLowerCase();else try{nt[1]=G.toASCII(XA(nt[1],PA).toLowerCase())}catch(Ln){WA.error=WA.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ln}ZA[ot]=nt.join("@")}return WA},serialize:function(bA,PA){var WA=bA,ZA=T(bA.to);if(ZA){for(var Ie=0,ie=ZA.length;Ie<ie;++Ie){var Me=String(ZA[Ie]),qe=Me.lastIndexOf("@"),Ct=Me.slice(0,qe).replace(IA,be).replace(IA,N).replace(LA,rA),ze=Me.slice(qe+1);try{ze=PA.iri?G.toUnicode(ze):G.toASCII(XA(ze,PA).toLowerCase())}catch(ot){WA.error=WA.error||"Email address's domain name can not be converted to "+(PA.iri?"Unicode":"ASCII")+" via punycode: "+ot}ZA[Ie]=Ct+"@"+ze}WA.path=ZA.join(",")}var At=bA.headers=bA.headers||{};bA.subject&&(At.subject=bA.subject),bA.body&&(At.body=bA.body);var dt=[];for(var Pe in At)At[Pe]!==xe[Pe]&&dt.push(Pe.replace(IA,be).replace(IA,N).replace(TA,rA)+"="+At[Pe].replace(IA,be).replace(IA,N).replace(re,rA));return dt.length&&(WA.query=dt.join("&")),WA}},ue=/^([^\:]+)\:(.*)/,Se={scheme:"urn",parse:function(bA,PA){var WA=bA.path&&bA.path.match(ue),ZA=bA;if(WA){var Ie=PA.scheme||ZA.scheme||"urn",ie=WA[1].toLowerCase(),Me=WA[2],qe=Ie+":"+(PA.nid||ie),Ct=q[qe];ZA.nid=ie,ZA.nss=Me,ZA.path=void 0,Ct&&(ZA=Ct.parse(ZA,PA))}else ZA.error=ZA.error||"URN can not be parsed.";return ZA},serialize:function(bA,PA){var WA=PA.scheme||bA.scheme||"urn",ZA=bA.nid,Ie=WA+":"+(PA.nid||ZA),ie=q[Ie];ie&&(bA=ie.serialize(bA,PA));var Me=bA,qe=bA.nss;return Me.path=(ZA||PA.nid)+":"+qe,Me}},tt=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ct={scheme:"urn:uuid",parse:function(bA,PA){var WA=bA;return WA.uuid=WA.nss,WA.nss=void 0,!PA.tolerant&&(!WA.uuid||!WA.uuid.match(tt))&&(WA.error=WA.error||"UUID is not valid."),WA},serialize:function(bA,PA){var WA=bA;return WA.nss=(bA.uuid||"").toLowerCase(),WA}};q[SA.scheme]=SA,q[MA.scheme]=MA,q[Ce.scheme]=Ce,q[ye.scheme]=ye,q[se.scheme]=se,q[Se.scheme]=Se,q[ct.scheme]=ct,b.SCHEMES=q,b.pctEncChar=rA,b.pctDecChars=iA,b.parse=cA,b.removeDotSegments=CA,b.serialize=xA,b.resolveComponents=zA,b.resolve=jA,b.normalize=Ae,b.equal=vA,b.escapeComponent=$A,b.unescapeComponent=XA,Object.defineProperty(b,"__esModule",{value:!0})})(o)},7598:function(f){f.exports=function(){var o=function(g,s){if(!(g instanceof s))throw new TypeError("Cannot call a class as a function")},b=function(){function g(s,h){for(var C=0;C<h.length;C++){var a=h[C];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}return function(s,h,C){return h&&g(s.prototype,h),C&&g(s,C),s}}(),D=function(){function g(s,h){var C=[],a=!0,r=!1,E=void 0;try{for(var Q=s[Symbol.iterator](),M;!(a=(M=Q.next()).done)&&(C.push(M.value),!(h&&C.length===h));a=!0);}catch(x){r=!0,E=x}finally{try{!a&&Q.return&&Q.return()}finally{if(r)throw E}}return C}return function(s,h){if(Array.isArray(s))return s;if(Symbol.iterator in Object(s))return g(s,h);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),I=(String.prototype.startsWith=String.prototype.startsWith||function(g){return this.indexOf(g)===0},String.prototype.padStart=String.prototype.padStart||function(g,s){for(var h=this;h.length<g;)h=s+h;return h},{cb:"0f8ff",tqw:"aebd7",q:"-ffff",qmrn:"7fffd4",zr:"0ffff",bg:"5f5dc",bsq:"e4c4",bck:"---",nch:"ebcd",b:"--ff",bvt:"8a2be2",brwn:"a52a2a",brw:"deb887",ctb:"5f9ea0",hrt:"7fff-",chcT:"d2691e",cr:"7f50",rnw:"6495ed",crns:"8dc",crms:"dc143c",cn:"-ffff",Db:"--8b",Dcn:"-8b8b",Dgnr:"b8860b",Dgr:"a9a9a9",Dgrn:"-64-",Dkhk:"bdb76b",Dmgn:"8b-8b",Dvgr:"556b2f",Drng:"8c-",Drch:"9932cc",Dr:"8b--",Dsmn:"e9967a",Dsgr:"8fbc8f",DsTb:"483d8b",DsTg:"2f4f4f",Dtrq:"-ced1",Dvt:"94-d3",ppnk:"1493",pskb:"-bfff",mgr:"696969",grb:"1e90ff",rbrc:"b22222",rwht:"af0",stg:"228b22",chs:"-ff",gnsb:"dcdcdc",st:"8f8ff",g:"d7-",gnr:"daa520",gr:"808080",grn:"-8-0",grnw:"adff2f",hnw:"0fff0",htpn:"69b4",nnr:"cd5c5c",ng:"4b-82",vr:"0",khk:"0e68c",vnr:"e6e6fa",nrb:"0f5",wngr:"7cfc-",mnch:"acd",Lb:"add8e6",Lcr:"08080",Lcn:"e0ffff",Lgnr:"afad2",Lgr:"d3d3d3",Lgrn:"90ee90",Lpnk:"b6c1",Lsmn:"a07a",Lsgr:"20b2aa",Lskb:"87cefa",LsTg:"778899",Lstb:"b0c4de",Lw:"e0",m:"-ff-",mgrn:"32cd32",nn:"af0e6",mgnt:"-ff",mrn:"8--0",mqm:"66cdaa",mmb:"--cd",mmrc:"ba55d3",mmpr:"9370db",msg:"3cb371",mmsT:"7b68ee","":"-fa9a",mtr:"48d1cc",mmvt:"c71585",mnLb:"191970",ntc:"5fffa",mstr:"e4e1",mccs:"e4b5",vjw:"dead",nv:"--80",c:"df5e6",v:"808-0",vrb:"6b8e23",rng:"a5-",rngr:"45-",rch:"da70d6",pgnr:"eee8aa",pgrn:"98fb98",ptrq:"afeeee",pvtr:"db7093",ppwh:"efd5",pchp:"dab9",pr:"cd853f",pnk:"c0cb",pm:"dda0dd",pwrb:"b0e0e6",prp:"8-080",cc:"663399",r:"--",sbr:"bc8f8f",rb:"4169e1",sbrw:"8b4513",smn:"a8072",nbr:"4a460",sgrn:"2e8b57",ssh:"5ee",snn:"a0522d",svr:"c0c0c0",skb:"87ceeb",sTb:"6a5acd",sTgr:"708090",snw:"afa",n:"-ff7f",stb:"4682b4",tn:"d2b48c",t:"-8080",thst:"d8bfd8",tmT:"6347",trqs:"40e0d0",vt:"ee82ee",whT:"5deb3",wht:"",hts:"5f5f5",w:"-",wgrn:"9acd32"});function S(g){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,h=s>0?g.toFixed(s).replace(/0+$/,"").replace(/\.$/,""):g.toString();return h||"0"}var N=function(){function g(s,h,C,a){o(this,g);var r=this;function E(M){if(M.startsWith("hsl")){var x=M.match(/([\-\d\.e]+)/g).map(Number),K=D(x,4),z=K[0],AA=K[1],eA=K[2],V=K[3];V===void 0&&(V=1),z/=360,AA/=100,eA/=100,r.hsla=[z,AA,eA,V]}else if(M.startsWith("rgb")){var $=M.match(/([\-\d\.e]+)/g).map(Number),J=D($,4),y=J[0],j=J[1],G=J[2],q=J[3];q===void 0&&(q=1),r.rgba=[y,j,G,q]}else M.startsWith("#")?r.rgba=g.hexToRgb(M):r.rgba=g.nameToRgb(M)||g.hexToRgb(M)}if(s!==void 0)if(Array.isArray(s))this.rgba=s;else if(C===void 0){var Q=s&&""+s;Q&&E(Q.toLowerCase())}else this.rgba=[s,h,C,a===void 0?1:a]}return b(g,[{key:"printRGB",value:function(h){var C=h?this.rgba:this.rgba.slice(0,3),a=C.map(function(r,E){return S(r,E===3?3:0)});return h?"rgba("+a+")":"rgb("+a+")"}},{key:"printHSL",value:function(h){var C=[360,100,100,1],a=["","%","%",""],r=h?this.hsla:this.hsla.slice(0,3),E=r.map(function(Q,M){return S(Q*C[M],M===3?3:1)+a[M]});return h?"hsla("+E+")":"hsl("+E+")"}},{key:"printHex",value:function(h){var C=this.hex;return h?C:C.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=g.hslToRgb(this._hsla)},set:function(h){h.length===3&&(h[3]=1),this._rgba=h,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=g.rgbToHsl(this._rgba)},set:function(h){h.length===3&&(h[3]=1),this._hsla=h,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var h=this.rgba,C=h.map(function(a,r){return r<3?a.toString(16):Math.round(a*255).toString(16)});return"#"+C.map(function(a){return a.padStart(2,"0")}).join("")},set:function(h){this.rgba=g.hexToRgb(h)}}],[{key:"hexToRgb",value:function(h){var C=(h.startsWith("#")?h.slice(1):h).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!C.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+h);var a=C.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(r){return parseInt(r,16)});return a[3]=a[3]/255,a}},{key:"nameToRgb",value:function(h){var C=h.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),a=I[C];return a===void 0?a:g.hexToRgb(a.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(h){var C=D(h,4),a=C[0],r=C[1],E=C[2],Q=C[3];a/=255,r/=255,E/=255;var M=Math.max(a,r,E),x=Math.min(a,r,E),K=void 0,z=void 0,AA=(M+x)/2;if(M===x)K=z=0;else{var eA=M-x;switch(z=AA>.5?eA/(2-M-x):eA/(M+x),M){case a:K=(r-E)/eA+(r<E?6:0);break;case r:K=(E-a)/eA+2;break;case E:K=(a-r)/eA+4;break}K/=6}return[K,z,AA,Q]}},{key:"hslToRgb",value:function(h){var C=D(h,4),a=C[0],r=C[1],E=C[2],Q=C[3],M=void 0,x=void 0,K=void 0;if(r===0)M=x=K=E;else{var z=function(J,y,j){return j<0&&(j+=1),j>1&&(j-=1),j<.16666666666666666?J+(y-J)*6*j:j<.5?y:j<.6666666666666666?J+(y-J)*(.6666666666666666-j)*6:J},AA=E<.5?E*(1+r):E+r-E*r,eA=2*E-AA;M=z(eA,AA,a+1/3),x=z(eA,AA,a),K=z(eA,AA,a-1/3)}var V=[M*255,x*255,K*255].map(Math.round);return V[3]=Q,V}}]),g}(),T=function(){function g(){o(this,g),this._events=[]}return b(g,[{key:"add",value:function(h,C,a){h.addEventListener(C,a,!1),this._events.push({target:h,type:C,handler:a})}},{key:"remove",value:function(h,C,a){this._events=this._events.filter(function(r){var E=!0;return h&&h!==r.target&&(E=!1),C&&C!==r.type&&(E=!1),a&&a!==r.handler&&(E=!1),E&&g._doRemove(r.target,r.type,r.handler),!E})}},{key:"destroy",value:function(){this._events.forEach(function(h){return g._doRemove(h.target,h.type,h.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(h,C,a){h.removeEventListener(C,a,!1)}}]),g}();function O(g){var s=document.createElement("div");return s.innerHTML=g,s.firstElementChild}function H(g,s,h){var C=!1;function a(M,x,K){return Math.max(x,Math.min(M,K))}function r(M,x,K){if(K&&(C=!0),!!C){M.preventDefault();var z=s.getBoundingClientRect(),AA=z.width,eA=z.height,V=x.clientX,$=x.clientY,J=a(V-z.left,0,AA),y=a($-z.top,0,eA);h(J/AA,y/eA)}}function E(M,x){var K=M.buttons===void 0?M.which:M.buttons;K===1?r(M,M,x):C=!1}function Q(M,x){M.touches.length===1?r(M,M.touches[0],x):C=!1}g.add(s,"mousedown",function(M){E(M,!0)}),g.add(s,"touchstart",function(M){Q(M,!0)}),g.add(window,"mousemove",E),g.add(s,"touchmove",Q),g.add(window,"mouseup",function(M){C=!1}),g.add(s,"touchend",function(M){C=!1}),g.add(s,"touchcancel",function(M){C=!1})}var P=`linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em,
|
|
1646
1646
|
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,v=360,m="keydown",F="mousedown",k="focusin";function _(g,s){return(s||document).querySelector(g)}function B(g){g.preventDefault(),g.stopPropagation()}function p(g,s,h,C,a){g.add(s,m,function(r){h.indexOf(r.key)>=0&&C(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 T,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(s)}return b(g,[{key:"setOptions",value:function(h){var C=this;if(!h)return;var a=this.settings;function r(x,K,z){for(var AA in x)K[AA]=x[AA]}if(h instanceof HTMLElement)a.parent=h;else{a.parent&&h.parent&&a.parent!==h.parent&&(this._events.remove(a.parent),this._popupInited=!1),r(h,a),h.onChange&&(this.onChange=h.onChange),h.onDone&&(this.onDone=h.onDone),h.onOpen&&(this.onOpen=h.onOpen),h.onClose&&(this.onClose=h.onClose);var E=h.color||h.colour;E&&this._setColor(E)}var Q=a.parent;if(Q&&a.popup&&!this._popupInited){var M=function(K){return C.openHandler(K)};this._events.add(Q,"click",M),p(this._events,Q,[" ","Spacebar","Enter"],M),this._popupInited=!0}else h.parent&&!a.popup&&this.show()}},{key:"openHandler",value:function(h){if(this.show()){h&&h.preventDefault(),this.settings.parent.style.pointerEvents="none";var C=h&&h.type===m?this._domEdit:this.domElement;setTimeout(function(){return C.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(h){var C=h&&h.type,a=!1;if(!h)a=!0;else if(C===F||C===k){var r=(this.__containedEvent||0)+100;h.timeStamp>r&&(a=!0)}else B(h),a=!0;a&&this.hide()&&(this.settings.parent.style.pointerEvents="",C!==F&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(h,C){this.closeHandler(),this.setOptions(h),C&&this.openHandler()}},{key:"setColor",value:function(h,C){this._setColor(h,{silent:C})}},{key:"_setColor",value:function(h,C){if(typeof h=="string"&&(h=h.trim()),!!h){C=C||{};var a=void 0;try{a=new N(h)}catch(E){if(C.failSilently)return;throw E}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,C)}}},{key:"setColour",value:function(h,C){this.setColor(h,C)}},{key:"show",value:function(){var h=this.settings.parent;if(!h)return!1;if(this.domElement){var C=this._toggleDOM(!0);return this._setPosition(),C}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=O(a);return this.domElement=r,this._domH=_(".picker_hue",r),this._domSL=_(".picker_sl",r),this._domA=_(".picker_alpha",r),this._domEdit=_(".picker_editor input",r),this._domSample=_(".picker_sample",r),this._domOkay=_(".picker_done button",r),this._domCancel=_(".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 h=this,C=this,a=this.domElement,r=this._events;function E(x,K,z){r.add(x,K,z)}E(a,"click",function(x){return x.preventDefault()}),H(r,this._domH,function(x,K){return C._setHSLA(x)}),H(r,this._domSL,function(x,K){return C._setHSLA(null,x,1-K)}),this.settings.alpha&&H(r,this._domA,function(x,K){return C._setHSLA(null,null,null,1-K)});var Q=this._domEdit;E(Q,"input",function(x){C._setColor(this.value,{fromEditor:!0,failSilently:!0})}),E(Q,"focus",function(x){var K=this;K.selectionStart===K.selectionEnd&&K.select()}),this._ifPopup(function(){var x=function(AA){return h.closeHandler(AA)};E(window,F,x),E(window,k,x),p(r,a,["Esc","Escape"],x);var K=function(AA){h.__containedEvent=AA.timeStamp};E(a,F,K),E(a,k,K),E(h._domCancel,"click",x)});var M=function(K){h._ifPopup(function(){return h.closeHandler(K)}),h.onDone&&h.onDone(h.colour)};E(this._domOkay,"click",M),p(r,a,["Enter"],M)}},{key:"_setPosition",value:function(){var h=this.settings.parent,C=this.domElement;h!==C.parentNode&&h.appendChild(C),this._ifPopup(function(a){getComputedStyle(h).position==="static"&&(h.style.position="relative");var r=a===!0?"popup_right":"popup_"+a;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(E){E===r?C.classList.add(E):C.classList.remove(E)}),C.classList.add(r)})}},{key:"_setHSLA",value:function(h,C,a,r,E){E=E||{};var Q=this.colour,M=Q.hsla;[h,C,a,r].forEach(function(x,K){(x||x===0)&&(M[K]=x)}),Q.hsla=M,this._updateUI(E),this.onChange&&!E.silent&&this.onChange(Q)}},{key:"_updateUI",value:function(h){if(!this.domElement)return;h=h||{};var C=this.colour,a=C.hsla,r="hsl("+a[0]*v+", 100%, 50%)",E=C.hslString,Q=C.hslaString,M=this._domH,x=this._domSL,K=this._domA,z=_(".picker_selector",M),AA=_(".picker_selector",x),eA=_(".picker_selector",K);function V(iA,uA,mA){uA.style.left=mA*100+"%"}function $(iA,uA,mA){uA.style.top=mA*100+"%"}V(M,z,a[0]),this._domSL.style.backgroundColor=this._domH.style.color=r,V(x,AA,a[1]),$(x,AA,1-a[2]),x.style.color=E,$(K,eA,1-a[3]);var J=E,y=J.replace("hsl","hsla").replace(")",", 0)"),j="linear-gradient("+[J,y]+")";if(this._domA.style.background=j+", "+P,!h.fromEditor){var G=this.settings.editorFormat,q=this.settings.alpha,rA=void 0;switch(G){case"rgb":rA=C.printRGB(q);break;case"hsl":rA=C.printHSL(q);break;default:rA=C.printHex(q)}this._domEdit.value=rA}this._domSample.style.color=Q}},{key:"_ifPopup",value:function(h,C){this.settings.parent&&this.settings.popup?h&&h(this.settings.popup):C&&C()}},{key:"_toggleDOM",value:function(h){var C=this.domElement;if(!C)return!1;var a=h?"":"none",r=C.style.display!==a;return r&&(C.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(f,o,b){b.d(o,{m:function(){return XA}});class D extends Error{constructor(MA,qA){super(MA+" at position "+qA),this.position=qA}}let I=92,S=47,N=42,T=123,O=125,H=91,P=93,v=40,m=41,F=32,k=10,_=9,B=13,p=8,u=12,l=34,g=43,s=45,h=39,C=48,a=57,r=44,E=46,Q=58,M=59,x=65,K=97,z=69,AA=101,eA=70,V=102,$=160,J=8192,y=8202,j=8239,G=8287,q=12288,rA=8220,iA=8221,uA=8216,mA=8217,gA=96,wA=180;function X(SA){return SA>=C&&SA<=a}function lA(SA){return cA.test(SA)}let cA=/^[,:[\]/{}()\n+]$/;function hA(SA){return U.test(SA)||SA&&tA(SA.charCodeAt(0))}let U=/^[[{\w-]$/;function W(SA){return SA===F||SA===k||SA===_||SA===B}function tA(SA){return aA(SA)||xA(SA)}function aA(SA){return SA===l||SA===rA||SA===iA}function CA(SA){return SA===l}function xA(SA){return SA===h||SA===uA||SA===mA||SA===gA||SA===wA}function zA(SA){return SA===h}function jA(SA,MA,qA){return qA=2<arguments.length&&qA!==void 0&&qA,MA=SA.lastIndexOf(MA),MA!==-1?SA.substring(0,MA)+(qA?"":SA.substring(MA+1)):SA}function Ae(SA,MA){let qA=SA.length;if(!W(SA.charCodeAt(qA-1)))return SA+MA;for(;W(SA.charCodeAt(qA-1));)qA--;return SA.substring(0,qA)+MA+SA.substring(qA)}let vA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},$A={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
1647
1647
|
`,r:"\r",t:" "};function XA(SA){let MA=0,qA="";if(!ye())throw new D("Unexpected end of json string",SA.length);var Ce=UA(r);if(Ce&&xe(),hA(SA[MA])&&/[,\n][ \t\r]*$/.test(qA)){Ce||(qA=Ae(qA,","));{let se=!0,ue=!0;for(;ue;)se?se=!1:UA(r)||(qA=Ae(qA,",")),ue=ye();ue||(qA=jA(qA,",")),qA=`[
|
|
1648
1648
|
`.concat(qA,`
|
|
1649
|
-
]`)}}else Ce&&(qA=jA(qA,","));for(;SA.charCodeAt(MA)===O||SA.charCodeAt(MA)===P;)MA++,xe();if(MA>=SA.length)return qA;throw new D("Unexpected character "+JSON.stringify(SA[MA]),MA);function ye(){xe();var se=function(){if(SA.charCodeAt(MA)!==T)return!1;{qA+="{",MA++,xe(),JA(r)&&xe();let ct=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==O;){if(ct?ct=!1:(UA(r)||(qA=Ae(qA,",")),xe()),de(),!(ae()||IA())){SA.charCodeAt(MA)===O||SA.charCodeAt(MA)===T||SA.charCodeAt(MA)===P||SA.charCodeAt(MA)===H||SA[MA]===void 0?qA=jA(qA,","):function(){throw new D("Object key expected",MA)}();break}xe();var ue=UA(Q),Se=MA>=SA.length,tt=(ue||(hA(SA[MA])||Se?qA=Ae(qA,":"):be()),ye());tt||(ue||Se?qA+="null":be())}return SA.charCodeAt(MA)===O?(qA+="}",MA++):qA=Ae(qA,"}"),!0}}()||function(){if(SA.charCodeAt(MA)!==H)return!1;{qA+="[",MA++,xe(),JA(r)&&xe();let Se=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==P;){Se?Se=!1:UA(r)||(qA=Ae(qA,",")),de();var ue=ye();if(!ue){qA=jA(qA,",");break}}return SA.charCodeAt(MA)===P?(qA+="]",MA++):qA=Ae(qA,"]"),!0}}()||ae()||function(){var ue=MA;if(SA.charCodeAt(MA)===s){if(MA++,TA())return re(ue),!0;if(!X(SA.charCodeAt(MA)))return MA=ue,!1}for(;X(SA.charCodeAt(MA));)MA++;if(SA.charCodeAt(MA)===E){if(MA++,TA())return re(ue),!0;if(!X(SA.charCodeAt(MA)))return MA=ue,!1;for(;X(SA.charCodeAt(MA));)MA++}if(SA.charCodeAt(MA)===AA||SA.charCodeAt(MA)===z){if(MA++,SA.charCodeAt(MA)!==s&&SA.charCodeAt(MA)!==g||MA++,TA())return re(ue),!0;if(!X(SA.charCodeAt(MA)))return MA=ue,!1;for(;X(SA.charCodeAt(MA));)MA++}var Se,tt;if(TA()){if(MA>ue)return Se=SA.slice(ue,MA),tt=/^0\d/.test(Se),qA+=tt?'"'.concat(Se,'"'):Se,!0}else MA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||IA();return xe(),se}function xe(){for(NA();function(){if(SA.charCodeAt(MA)===S&&SA.charCodeAt(MA+1)===N){for(;MA<SA.length&&!function(se,ue){return se[ue]==="*"&&se[ue+1]==="/"}(SA,MA);)MA++;MA+=2}else{if(SA.charCodeAt(MA)!==S||SA.charCodeAt(MA+1)!==S)return!1;for(;MA<SA.length&&SA.charCodeAt(MA)!==k;)MA++}return!0}()&&NA(););}function NA(){let se="";for(var ue,Se;(ue=W(SA.charCodeAt(MA)))||(Se=SA.charCodeAt(MA))===$||Se>=J&&Se<=y||Se===j||Se===G||Se===q;)se+=ue?SA[MA]:" ",MA++;return 0<se.length&&(qA+=se,!0)}function UA(se){return SA.charCodeAt(MA)===se&&(qA+=SA[MA],MA++,!0)}function JA(se){return SA.charCodeAt(MA)===se&&(MA++,!0)}function de(){xe(),SA.charCodeAt(MA)===E&&SA.charCodeAt(MA+1)===E&&SA.charCodeAt(MA+2)===E&&(MA+=3,xe(),JA(r))}function ae(se){var ue,Se,tt=0<arguments.length&&se!==void 0&&se;let ct=SA.charCodeAt(MA)===I;if(ct&&(MA++,ct=!0),tA(SA.charCodeAt(MA))){var FA=CA(SA.charCodeAt(MA))?CA:zA(SA.charCodeAt(MA))?zA:xA(SA.charCodeAt(MA))?xA:aA,bA=MA,PA=qA.length;let Me='"';for(MA++;;){if(MA>=SA.length)return WA=LA(MA-1),!tt&&lA(SA.charAt(WA))?(MA=bA,qA=qA.substring(0,PA),ae(!0)):(Me=Ae(Me,'"'),qA+=Me,!0);if(FA(SA.charCodeAt(MA))){var WA=MA,ZA=Me.length;if(Me+='"',MA++,qA+=Me,xe(),tt||MA>=SA.length||lA(SA.charAt(MA))||tA(SA.charCodeAt(MA))||X(SA.charCodeAt(MA)))return Ee(),!0;if(lA(SA.charAt(LA(WA-1))))return MA=bA,qA=qA.substring(0,PA),ae(!0);qA=qA.substring(0,PA),MA=WA+1,Me=Me.substring(0,ZA)+"\\"+Me.substring(ZA)}else{if(tt&&lA(SA[MA]))return Me=Ae(Me,'"'),qA+=Me,Ee(),!0;if(SA.charCodeAt(MA)===I)if(ZA=SA.charAt(MA+1),$A[ZA]!==void 0)Me+=SA.slice(MA,MA+2),MA+=2;else if(ZA==="u"){let qe=2;for(;qe<6&&((Se=SA.charCodeAt(MA+qe))>=C&&Se<=a||Se>=x&&Se<=eA||Se>=K&&Se<=V);)qe++;if(qe===6)Me+=SA.slice(MA,MA+6),MA+=6;else{if(!(MA+qe>=SA.length))throw Ie=void 0,Ie=SA.slice(MA,MA+6),new D('Invalid unicode character "'.concat(Ie,'"'),MA);MA=SA.length}}else Me+=ZA,MA+=2;else{var Ie=SA.charAt(MA),ie=SA.charCodeAt(MA);if(ie===l&&SA.charCodeAt(MA-1)!==I)Me+="\\"+Ie;else if((ue=ie)===k||ue===B||ue===_||ue===p||ue===u)Me+=vA[Ie];else{if(!(32<=(ue=ie)&&ue<=1114111))throw ie=void 0,ie=Ie,new D("Invalid character "+JSON.stringify(ie),MA);Me+=Ie}MA++}}ct&&JA(I)}}return!1}function Ee(){for(xe();SA.charCodeAt(MA)===g;){MA++,xe();var se=(qA=jA(qA,'"',!0)).length,ue=ae();qA=ue?(ue=qA,se=se,Se=1,ue.substring(0,se)+ue.substring(se+Se)):Ae(qA,'"')}var Se}function ke(se,ue){return SA.slice(MA,MA+se.length)===se&&(qA+=ue,MA+=se.length,!0)}function IA(){for(var se,ue=MA;MA<SA.length&&(!lA(se=SA[MA])||se==="/")&&!tA(SA.charCodeAt(MA));)MA++;if(MA>ue){if(SA.charCodeAt(MA)===v&&/^\w+$/.test(SA.slice(ue,MA).trim()))MA++,ye(),SA.charCodeAt(MA)===m&&(MA++,SA.charCodeAt(MA)===M)&&MA++;else{for(;W(SA.charCodeAt(MA-1))&&0<MA;)MA--;ue=SA.slice(ue,MA),qA+=ue==="undefined"?"null":JSON.stringify(ue),SA.charCodeAt(MA)===l&&MA++}return!0}}function LA(se){let ue=se;for(;0<ue&&W(SA.charCodeAt(ue));)ue--;return ue}function TA(){return MA>=SA.length||lA(SA[MA])||W(SA.charCodeAt(MA))}function re(se){qA+=SA.slice(se,MA)+"0"}function be(){throw new D("Colon expected",MA)}}},3420:function(f){f.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(f){f.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(f){f.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(f){f.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}')}},d={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(f){var o=f&&f.__esModule?function(){return f.default}:function(){return f};return t.d(o,{a:o}),o},t.d=function(f,o){for(var b in o)t.o(o,b)&&!t.o(f,b)&&Object.defineProperty(f,b,{enumerable:!0,get:o[b]})},t.o=function(f,o){return Object.prototype.hasOwnProperty.call(f,o)},t.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},t.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},t(1346);function t(f){var o=d[f];return o!==void 0||(o=d[f]={id:f,loaded:!1,exports:{}},i[f].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,d})})(vC);var wM=vC.exports;const bM=Id(wM),yM={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:e,options:t}=this,i=()=>{const T=H=>{this.json=H,this.$emit("update:modelValue",H),this.$emit("change",H),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){T("");return}try{const H=this.editor.get();T(H)}catch{}},d=()=>{this.expandAll()},f=(T,O,H)=>{this.$emit("textSelectionChange",this.editor,T,O,H)},o=(T,O)=>{this.$emit("selectionChange",this.editor,T,O)},b=(T,O,H)=>{this.$emit("colorPicker",this.editor,T,O,H)},D=({target:T})=>{this.$emit("focus",this.editor,T)},I=({target:T})=>{this.$emit("blur",this.editor,T)},S=T=>{this.$emit("validationError",this.editor,T)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:d,onTextSelectionChange:f,onSelectionChange:o,onColorPicker:b,onFocus:D,onBlur:I,onValidationError:S};this.editor=new bM(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},DM={ref:"jsonEditorVue",class:"json-editor-vue"};function vM(n,e,t,i,d,f){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":d.isFullScreen}])},[A.createElementVNode("div",DM,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:d.showFullScreen,right:!d.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>f.toggleFullScreen&&f.toggleFullScreen(...o))},null,2)],2)}const kM=oe(yM,[["render",vM],["__scopeId","data-v-c53d52f1"]]),_M=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(p0),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(kM,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d),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"})),MM={key:0},xM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.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},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),{currentOptions:d,selectChange:f,loading:o}=Br(e),{ruleModule:b,pageMethodMap:D}=Fn(),I=S=>{if(f(S),e.onChange&&b)try{b[e.onChange](D,S)}catch(N){console.error(N+`
|
|
1650
|
-
onChange: ${e.onChange}`)}};return A.watch(t,f),(S,N)=>{var m;const T=A.resolveComponent("el-checkbox"),O=A.resolveComponent("el-checkbox-button"),H=A.resolveComponent("el-space"),P=A.resolveComponent("el-checkbox-group"),v=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",MM,A.toDisplayString((m=t.value)==null?void 0:m.map(F=>{var k;return(k=A.unref(d).find(_=>_[S.valueKey]===F))==null?void 0:k[S.labelKey]}).join("、")),1)):A.withDirectives((A.openBlock(),A.createBlock(P,A.mergeProps({key:1},S.$attrs,{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=F=>t.value=F),onChange:I}),{default:A.withCtx(()=>[S.optionType==="circle"||S.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(T,{key:F[S.valueKey],label:F[S.labelKey],value:F[S.valueKey],disabled:F.disabled,border:S.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):A.createCommentVNode("",!0),S.optionType==="button"?(A.openBlock(),A.createBlock(H,{key:1,wrap:"",size:[S.space,S.space]},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(O,{key:F[S.valueKey],label:F[S.labelKey],value:F[S.valueKey],disabled:F.disabled,size:"large"},null,8,["label","value","disabled"]))),128))]),_:1},8,["size"])):A.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[v,A.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),SM={class:"vfc-color-input"},NM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>{const d=A.resolveComponent("el-input"),f=A.resolveComponent("el-color-picker");return A.openBlock(),A.createElementBlock("div",SM,[A.createVNode(d,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=o=>e.value=o)},null,8,["modelValue"]),A.createVNode(f,{modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=o=>e.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),FM={key:0,class:"empty"},RM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Custom",props:A.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>t.componentName?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(t.componentName),A.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d)},t.$attrs),null,16,["modelValue"])):(A.openBlock(),A.createElementBlock("span",FM,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-
|
|
1651
|
-
onChange: ${t.onChange}`)}},T=O=>t.disabledDate?I[t.disabledDate](S,O):!1;return(O,H)=>{const P=A.resolveComponent("el-date-picker");return o.value?(A.openBlock(),A.createElementBlock("span",LM,A.toDisplayString(b.value),1)):(A.openBlock(),A.createBlock(P,A.mergeProps({key:1},O.$attrs,{modelValue:e.value,"onUpdate:modelValue":H[0]||(H[0]=v=>e.value=v),style:{width:"100%"},shortcuts:D,"disabled-date":T,onChange:N,"default-time":d.value}),null,16,["modelValue","default-time"]))}}})},Symbol.toStringTag,{value:"Module"})),PM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("ElDivider");return A.openBlock(),A.createBlock(i,A.normalizeProps(A.guardReactiveProps(e.$attrs)),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),HM=A.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 e=A.ref(!1),t=A.ref(""),i=A.ref([]),d=A.ref(null),f=A.ref(0),o=A.ref(0),b=A.ref(!1),D=A.ref(1),I=A.ref(null),S=A.computed(()=>n.height/n.width),N=A.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");A.watch(N,k=>{I.value&&(I.value.style.background=k)});const T=()=>{if(I.value){I.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(I.value).width);I.value.style.height=`${S.value*k}px`,d.value=I.value.getContext("2d"),d.value&&(d.value.scale(1*D.value,1*D.value),D.value=k/n.width,d.value.scale(1/D.value,1/D.value))}};A.onMounted(()=>{I.value&&(I.value.height=n.height,I.value.width=n.width,I.value.style.background=N.value,T(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",T)}),A.onBeforeUnmount(()=>{window.removeEventListener("resize",T)});const O=k=>{f.value=k.x,o.value=k.y,d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.lineWidth=n.lineWidth*D.value,d.value.stroke(),d.value.closePath(),i.value.push(k))},H=k=>{d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.strokeStyle=n.lineColor,d.value.lineWidth=n.lineWidth*D.value,d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),o.value=k.y,f.value=k.x,i.value.push(k))},P=k=>{d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},v=k=>{const _=(k==null?void 0:k.format)||n.format,B=(k==null?void 0:k.quality)||n.quality;return new Promise((p,u)=>{if(!e.value){u("Warning: Not Signed!");return}if(d.value){const l=d.value.getImageData(0,0,I.value.width,I.value.height);d.value.globalCompositeOperation="destination-over",d.value.fillStyle=N.value,d.value.fillRect(0,0,I.value.width,I.value.height),t.value=I.value.toDataURL(_,B);let g=t.value;if(d.value.clearRect(0,0,I.value.width,I.value.height),d.value.putImageData(l,0,0),d.value.globalCompositeOperation="source-over",n.isCrop){const s=F(l.data),h=document.createElement("canvas"),C=h.getContext("2d");if(C){h.width=s[2]-s[0],h.height=s[3]-s[1];const a=d.value.getImageData(s[0],s[1],s[2],s[3]);C.globalCompositeOperation="destination-over",C.putImageData(a,0,0),C.fillStyle=N.value,C.fillRect(0,0,h.width,h.height),g=h.toDataURL(_,B)}}p(g)}})},m=()=>{d.value&&d.value.clearRect(0,0,I.value.width,I.value.height),n.isClearBgColor&&(i.value=[],e.value=!1,t.value="")},F=k=>{let _=I.value.width,B=0,p=I.value.height,u=0;for(let l=0;l<I.value.width;l++)for(let g=0;g<I.value.height;g++){const s=(l+I.value.width*g)*4;(k[s]>0||k[s+1]>0||k[s+2]>0||k[s+3]>0)&&(u=Math.max(g,u),B=Math.max(l,B),p=Math.min(g,p),_=Math.min(l,_))}return[_+1,p+1,B+1,u+1]};return{canvas:I,myBg:N,drawStart:O,drawMove:H,drawEnd:P,generate:v,reset:m,touchStart:k=>{if(k.preventDefault(),e.value=!0,k.touches.length===1&&I.value){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};O(_)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};H(_)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};P(_)}},mouseDown:k=>{k.preventDefault(),b.value=!0,e.value=!0;const _={x:k.offsetX,y:k.offsetY};O(_)},mouseMove:k=>{if(k.preventDefault(),b.value){const _={x:k.offsetX,y:k.offsetY};H(_)}},mouseUp:k=>{k.preventDefault();const _={x:k.offsetX,y:k.offsetY};P(_),b.value=!1}}}});function KM(n,e,t,i,d,f){return A.openBlock(),A.createElementBlock("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:e[1]||(e[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:e[2]||(e[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:e[3]||(e[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:e[4]||(e[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:e[5]||(e[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const TM=oe(HM,[["render",KM],["__scopeId","data-v-
|
|
1652
|
-
onChange: ${e.onChange}`)}},{currentOptions:b,loading:D}=Br(e);return(I,S)=>{var v;const N=A.resolveComponent("el-radio"),T=A.resolveComponent("el-radio-button"),O=A.resolveComponent("el-space"),H=A.resolveComponent("el-radio-group"),P=A.resolveDirective("loading");return I.read?(A.openBlock(),A.createElementBlock("div",JM,A.toDisplayString(((v=A.unref(b).find(m=>m[I.valueKey]===t.value))==null?void 0:v[I.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(H,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=m=>t.value=m),onChange:o},I.$attrs),{default:A.withCtx(()=>[A.createVNode(O,{wrap:"",direction:I.direction,size:[I.space,I.space],alignment:"normal"},{default:A.withCtx(()=>[I.optionType==="circle"||I.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(N,{key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],disabled:m[I.disabledKey],border:I.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(T,A.mergeProps({key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],class:"radio-button",disabled:m[I.disabledKey],ref_for:!0},I.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[P,A.unref(D)]])}}}),[["__scopeId","data-v-1e24870a"]])},Symbol.toStringTag,{value:"Module"})),WM={class:"vfc-formList"},jM={key:1},qM={class:"list-item-content"},XM={class:"card-header"},VM={style:{"margin-top":"5px"}},Ax=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.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 e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),d=Et(),f=N=>kt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},I=N=>{const T=t.value.filter((O,H)=>H!==N);t.value=T},S=(N,T,O,H)=>{const P=T.no,v=f(H)[P];return A.h(ro,{...v,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${H}.${v.name}`})};return A.watch(t,(N,T)=>{const O=N.reduce((m,F,k)=>(ut.isEqual(F,T[k])||(m=k),m),0);if(i.value=O,!e.children.some(m=>m.change))return;const H=f(O),P=N[O]||{},v=T[O]||{};H.forEach(m=>{m.change&&v&&!ut.isEqual(P[m.name],v[m.name])&&m.change.forEach(F=>{if(F.condition!==!1){if(ut.isString(F.condition)&&/^{{\s*(.*?)\s*}}$/.test(F.condition))return;const k=F.target.split(".").pop();t.value[O][k]=F.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,T)=>{const O=A.resolveComponent("el-space"),H=A.resolveComponent("el-button"),P=A.resolveComponent("el-form-item"),v=A.resolveComponent("el-card"),m=A.resolveComponent("el-table-column"),F=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",WM,[A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",jM,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(P,{key:k.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",qM,[A.createVNode(O,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${_}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(v,{key:k.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",XM,[A.createElementVNode("span",null,A.toDisplayString(N.title+(_+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${_}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(F,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,k=>(A.openBlock(),A.createBlock(m,A.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},A.unref(ut.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),A.createVNode(m,{fixed:"right","min-width":"60"},{default:A.withCtx(k=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:_=>I(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",VM,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),ex=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, minmax(0, 1fr))`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),tx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-8ba696e7"]])},Symbol.toStringTag,{value:"Module"})),nx={key:0},ix=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et(),i=A.computed(()=>t.schema.read),d=f=>{["E","e","+","-"].includes(f.key)&&f.preventDefault()};return(f,o)=>{const b=A.resolveComponent("el-input-number");return f.read||i.value?(A.openBlock(),A.createElementBlock("span",nx,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(f.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=D=>e.value=D),style:{width:"100%"},min:f.min||0,onKeydown:d,"controls-position":"right"}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),ox={style:{"min-height":"32px"}},rx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.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},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),d=Et(),f=A.computed(()=>e.read||d.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),D=H=>{const{valueKey:P="value",multiple:v,name:m}=e;let F={};if(v&&Array.isArray(H)?F=N.value.filter(k=>H.includes(k[P])):F=N.value.find(k=>k[P]===H)||{},d.selectData&&m&&d.updateSelectData(m,F),e.onChange&&o)try{o[e.onChange](b,H,F)}catch(k){console.error(k+`
|
|
1649
|
+
]`)}}else Ce&&(qA=jA(qA,","));for(;SA.charCodeAt(MA)===O||SA.charCodeAt(MA)===P;)MA++,xe();if(MA>=SA.length)return qA;throw new D("Unexpected character "+JSON.stringify(SA[MA]),MA);function ye(){xe();var se=function(){if(SA.charCodeAt(MA)!==T)return!1;{qA+="{",MA++,xe(),JA(r)&&xe();let ct=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==O;){if(ct?ct=!1:(UA(r)||(qA=Ae(qA,",")),xe()),de(),!(ae()||IA())){SA.charCodeAt(MA)===O||SA.charCodeAt(MA)===T||SA.charCodeAt(MA)===P||SA.charCodeAt(MA)===H||SA[MA]===void 0?qA=jA(qA,","):function(){throw new D("Object key expected",MA)}();break}xe();var ue=UA(Q),Se=MA>=SA.length,tt=(ue||(hA(SA[MA])||Se?qA=Ae(qA,":"):be()),ye());tt||(ue||Se?qA+="null":be())}return SA.charCodeAt(MA)===O?(qA+="}",MA++):qA=Ae(qA,"}"),!0}}()||function(){if(SA.charCodeAt(MA)!==H)return!1;{qA+="[",MA++,xe(),JA(r)&&xe();let Se=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==P;){Se?Se=!1:UA(r)||(qA=Ae(qA,",")),de();var ue=ye();if(!ue){qA=jA(qA,",");break}}return SA.charCodeAt(MA)===P?(qA+="]",MA++):qA=Ae(qA,"]"),!0}}()||ae()||function(){var ue=MA;if(SA.charCodeAt(MA)===s){if(MA++,TA())return re(ue),!0;if(!X(SA.charCodeAt(MA)))return MA=ue,!1}for(;X(SA.charCodeAt(MA));)MA++;if(SA.charCodeAt(MA)===E){if(MA++,TA())return re(ue),!0;if(!X(SA.charCodeAt(MA)))return MA=ue,!1;for(;X(SA.charCodeAt(MA));)MA++}if(SA.charCodeAt(MA)===AA||SA.charCodeAt(MA)===z){if(MA++,SA.charCodeAt(MA)!==s&&SA.charCodeAt(MA)!==g||MA++,TA())return re(ue),!0;if(!X(SA.charCodeAt(MA)))return MA=ue,!1;for(;X(SA.charCodeAt(MA));)MA++}var Se,tt;if(TA()){if(MA>ue)return Se=SA.slice(ue,MA),tt=/^0\d/.test(Se),qA+=tt?'"'.concat(Se,'"'):Se,!0}else MA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||IA();return xe(),se}function xe(){for(NA();function(){if(SA.charCodeAt(MA)===S&&SA.charCodeAt(MA+1)===N){for(;MA<SA.length&&!function(se,ue){return se[ue]==="*"&&se[ue+1]==="/"}(SA,MA);)MA++;MA+=2}else{if(SA.charCodeAt(MA)!==S||SA.charCodeAt(MA+1)!==S)return!1;for(;MA<SA.length&&SA.charCodeAt(MA)!==k;)MA++}return!0}()&&NA(););}function NA(){let se="";for(var ue,Se;(ue=W(SA.charCodeAt(MA)))||(Se=SA.charCodeAt(MA))===$||Se>=J&&Se<=y||Se===j||Se===G||Se===q;)se+=ue?SA[MA]:" ",MA++;return 0<se.length&&(qA+=se,!0)}function UA(se){return SA.charCodeAt(MA)===se&&(qA+=SA[MA],MA++,!0)}function JA(se){return SA.charCodeAt(MA)===se&&(MA++,!0)}function de(){xe(),SA.charCodeAt(MA)===E&&SA.charCodeAt(MA+1)===E&&SA.charCodeAt(MA+2)===E&&(MA+=3,xe(),JA(r))}function ae(se){var ue,Se,tt=0<arguments.length&&se!==void 0&&se;let ct=SA.charCodeAt(MA)===I;if(ct&&(MA++,ct=!0),tA(SA.charCodeAt(MA))){var FA=CA(SA.charCodeAt(MA))?CA:zA(SA.charCodeAt(MA))?zA:xA(SA.charCodeAt(MA))?xA:aA,bA=MA,PA=qA.length;let Me='"';for(MA++;;){if(MA>=SA.length)return WA=LA(MA-1),!tt&&lA(SA.charAt(WA))?(MA=bA,qA=qA.substring(0,PA),ae(!0)):(Me=Ae(Me,'"'),qA+=Me,!0);if(FA(SA.charCodeAt(MA))){var WA=MA,ZA=Me.length;if(Me+='"',MA++,qA+=Me,xe(),tt||MA>=SA.length||lA(SA.charAt(MA))||tA(SA.charCodeAt(MA))||X(SA.charCodeAt(MA)))return Ee(),!0;if(lA(SA.charAt(LA(WA-1))))return MA=bA,qA=qA.substring(0,PA),ae(!0);qA=qA.substring(0,PA),MA=WA+1,Me=Me.substring(0,ZA)+"\\"+Me.substring(ZA)}else{if(tt&&lA(SA[MA]))return Me=Ae(Me,'"'),qA+=Me,Ee(),!0;if(SA.charCodeAt(MA)===I)if(ZA=SA.charAt(MA+1),$A[ZA]!==void 0)Me+=SA.slice(MA,MA+2),MA+=2;else if(ZA==="u"){let qe=2;for(;qe<6&&((Se=SA.charCodeAt(MA+qe))>=C&&Se<=a||Se>=x&&Se<=eA||Se>=K&&Se<=V);)qe++;if(qe===6)Me+=SA.slice(MA,MA+6),MA+=6;else{if(!(MA+qe>=SA.length))throw Ie=void 0,Ie=SA.slice(MA,MA+6),new D('Invalid unicode character "'.concat(Ie,'"'),MA);MA=SA.length}}else Me+=ZA,MA+=2;else{var Ie=SA.charAt(MA),ie=SA.charCodeAt(MA);if(ie===l&&SA.charCodeAt(MA-1)!==I)Me+="\\"+Ie;else if((ue=ie)===k||ue===B||ue===_||ue===p||ue===u)Me+=vA[Ie];else{if(!(32<=(ue=ie)&&ue<=1114111))throw ie=void 0,ie=Ie,new D("Invalid character "+JSON.stringify(ie),MA);Me+=Ie}MA++}}ct&&JA(I)}}return!1}function Ee(){for(xe();SA.charCodeAt(MA)===g;){MA++,xe();var se=(qA=jA(qA,'"',!0)).length,ue=ae();qA=ue?(ue=qA,se=se,Se=1,ue.substring(0,se)+ue.substring(se+Se)):Ae(qA,'"')}var Se}function ke(se,ue){return SA.slice(MA,MA+se.length)===se&&(qA+=ue,MA+=se.length,!0)}function IA(){for(var se,ue=MA;MA<SA.length&&(!lA(se=SA[MA])||se==="/")&&!tA(SA.charCodeAt(MA));)MA++;if(MA>ue){if(SA.charCodeAt(MA)===v&&/^\w+$/.test(SA.slice(ue,MA).trim()))MA++,ye(),SA.charCodeAt(MA)===m&&(MA++,SA.charCodeAt(MA)===M)&&MA++;else{for(;W(SA.charCodeAt(MA-1))&&0<MA;)MA--;ue=SA.slice(ue,MA),qA+=ue==="undefined"?"null":JSON.stringify(ue),SA.charCodeAt(MA)===l&&MA++}return!0}}function LA(se){let ue=se;for(;0<ue&&W(SA.charCodeAt(ue));)ue--;return ue}function TA(){return MA>=SA.length||lA(SA[MA])||W(SA.charCodeAt(MA))}function re(se){qA+=SA.slice(se,MA)+"0"}function be(){throw new D("Colon expected",MA)}}},3420:function(f){f.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(f){f.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(f){f.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(f){f.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}')}},d={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(f){var o=f&&f.__esModule?function(){return f.default}:function(){return f};return t.d(o,{a:o}),o},t.d=function(f,o){for(var b in o)t.o(o,b)&&!t.o(f,b)&&Object.defineProperty(f,b,{enumerable:!0,get:o[b]})},t.o=function(f,o){return Object.prototype.hasOwnProperty.call(f,o)},t.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},t.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},t(1346);function t(f){var o=d[f];return o!==void 0||(o=d[f]={id:f,loaded:!1,exports:{}},i[f].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,d})})(vC);var wM=vC.exports;const bM=Id(wM),yM={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:e,options:t}=this,i=()=>{const T=H=>{this.json=H,this.$emit("update:modelValue",H),this.$emit("change",H),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){T("");return}try{const H=this.editor.get();T(H)}catch{}},d=()=>{this.expandAll()},f=(T,O,H)=>{this.$emit("textSelectionChange",this.editor,T,O,H)},o=(T,O)=>{this.$emit("selectionChange",this.editor,T,O)},b=(T,O,H)=>{this.$emit("colorPicker",this.editor,T,O,H)},D=({target:T})=>{this.$emit("focus",this.editor,T)},I=({target:T})=>{this.$emit("blur",this.editor,T)},S=T=>{this.$emit("validationError",this.editor,T)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:d,onTextSelectionChange:f,onSelectionChange:o,onColorPicker:b,onFocus:D,onBlur:I,onValidationError:S};this.editor=new bM(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},DM={ref:"jsonEditorVue",class:"json-editor-vue"};function vM(n,e,t,i,d,f){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":d.isFullScreen}])},[A.createElementVNode("div",DM,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:d.showFullScreen,right:!d.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>f.toggleFullScreen&&f.toggleFullScreen(...o))},null,2)],2)}const kM=oe(yM,[["render",vM],["__scopeId","data-v-c3373674"]]),_M=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(p0),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(kM,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d),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"})),MM={key:0},xM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.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},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),{currentOptions:d,selectChange:f,loading:o}=Br(e),{ruleModule:b,pageMethodMap:D}=Rn(),I=S=>{if(f(S),e.onChange&&b)try{b[e.onChange](D,S)}catch(N){console.error(N+`
|
|
1650
|
+
onChange: ${e.onChange}`)}};return A.watch(t,f),(S,N)=>{var m;const T=A.resolveComponent("el-checkbox"),O=A.resolveComponent("el-checkbox-button"),H=A.resolveComponent("el-space"),P=A.resolveComponent("el-checkbox-group"),v=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",MM,A.toDisplayString((m=t.value)==null?void 0:m.map(F=>{var k;return(k=A.unref(d).find(_=>_[S.valueKey]===F))==null?void 0:k[S.labelKey]}).join("、")),1)):A.withDirectives((A.openBlock(),A.createBlock(P,A.mergeProps({key:1},S.$attrs,{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=F=>t.value=F),onChange:I}),{default:A.withCtx(()=>[S.optionType==="circle"||S.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(T,{key:F[S.valueKey],label:F[S.labelKey],value:F[S.valueKey],disabled:F.disabled,border:S.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):A.createCommentVNode("",!0),S.optionType==="button"?(A.openBlock(),A.createBlock(H,{key:1,wrap:"",size:[S.space,S.space]},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(O,{key:F[S.valueKey],label:F[S.labelKey],value:F[S.valueKey],disabled:F.disabled,size:"large"},null,8,["label","value","disabled"]))),128))]),_:1},8,["size"])):A.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[v,A.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),SM={class:"vfc-color-input"},NM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>{const d=A.resolveComponent("el-input"),f=A.resolveComponent("el-color-picker");return A.openBlock(),A.createElementBlock("div",SM,[A.createVNode(d,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=o=>e.value=o)},null,8,["modelValue"]),A.createVNode(f,{modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=o=>e.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),FM={key:0,class:"empty"},RM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Custom",props:A.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>t.componentName?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(t.componentName),A.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d)},t.$attrs),null,16,["modelValue"])):(A.openBlock(),A.createElementBlock("span",FM,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-2250b7d1"]])},Symbol.toStringTag,{value:"Module"})),LM={key:0},GM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"DatePicker",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},defaultStartTime:{},defaultEndTime:{},disabledDate:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.useAttrs(),d=A.computed(()=>{if(t.defaultStartTime&&t.defaultEndTime)return[new Date(2e3,1,1,parseInt(t.defaultStartTime.split(":")[0]),parseInt(t.defaultStartTime.split(":")[1]),parseInt(t.defaultStartTime.split(":")[2])),new Date(2e3,2,1,parseInt(t.defaultEndTime.split(":")[0]),parseInt(t.defaultEndTime.split(":")[1]),parseInt(t.defaultEndTime.split(":")[2]))]}),f=Et(),o=A.computed(()=>t.read||f.schema.read),b=A.computed(()=>e.value?i.valueFormat?xt.dayjs(e.value).format(i.valueFormat):e.value:"--"),D=[{text:"Today",value:new Date}],I=A.inject("ruleModule",void 0),S=A.inject("pageMethodMap",{}),N=O=>{if(console.log("zytest-----handleChange",O),t.onChange&&I)try{I[t.onChange](S,O)}catch(H){console.error(H+`
|
|
1651
|
+
onChange: ${t.onChange}`)}},T=O=>t.disabledDate?I[t.disabledDate](S,O):!1;return(O,H)=>{const P=A.resolveComponent("el-date-picker");return o.value?(A.openBlock(),A.createElementBlock("span",LM,A.toDisplayString(b.value),1)):(A.openBlock(),A.createBlock(P,A.mergeProps({key:1},O.$attrs,{modelValue:e.value,"onUpdate:modelValue":H[0]||(H[0]=v=>e.value=v),style:{width:"100%"},shortcuts:D,"disabled-date":T,onChange:N,"default-time":d.value}),null,16,["modelValue","default-time"]))}}})},Symbol.toStringTag,{value:"Module"})),PM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("ElDivider");return A.openBlock(),A.createBlock(i,A.normalizeProps(A.guardReactiveProps(e.$attrs)),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),HM=A.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 e=A.ref(!1),t=A.ref(""),i=A.ref([]),d=A.ref(null),f=A.ref(0),o=A.ref(0),b=A.ref(!1),D=A.ref(1),I=A.ref(null),S=A.computed(()=>n.height/n.width),N=A.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");A.watch(N,k=>{I.value&&(I.value.style.background=k)});const T=()=>{if(I.value){I.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(I.value).width);I.value.style.height=`${S.value*k}px`,d.value=I.value.getContext("2d"),d.value&&(d.value.scale(1*D.value,1*D.value),D.value=k/n.width,d.value.scale(1/D.value,1/D.value))}};A.onMounted(()=>{I.value&&(I.value.height=n.height,I.value.width=n.width,I.value.style.background=N.value,T(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",T)}),A.onBeforeUnmount(()=>{window.removeEventListener("resize",T)});const O=k=>{f.value=k.x,o.value=k.y,d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.lineWidth=n.lineWidth*D.value,d.value.stroke(),d.value.closePath(),i.value.push(k))},H=k=>{d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.strokeStyle=n.lineColor,d.value.lineWidth=n.lineWidth*D.value,d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),o.value=k.y,f.value=k.x,i.value.push(k))},P=k=>{d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},v=k=>{const _=(k==null?void 0:k.format)||n.format,B=(k==null?void 0:k.quality)||n.quality;return new Promise((p,u)=>{if(!e.value){u("Warning: Not Signed!");return}if(d.value){const l=d.value.getImageData(0,0,I.value.width,I.value.height);d.value.globalCompositeOperation="destination-over",d.value.fillStyle=N.value,d.value.fillRect(0,0,I.value.width,I.value.height),t.value=I.value.toDataURL(_,B);let g=t.value;if(d.value.clearRect(0,0,I.value.width,I.value.height),d.value.putImageData(l,0,0),d.value.globalCompositeOperation="source-over",n.isCrop){const s=F(l.data),h=document.createElement("canvas"),C=h.getContext("2d");if(C){h.width=s[2]-s[0],h.height=s[3]-s[1];const a=d.value.getImageData(s[0],s[1],s[2],s[3]);C.globalCompositeOperation="destination-over",C.putImageData(a,0,0),C.fillStyle=N.value,C.fillRect(0,0,h.width,h.height),g=h.toDataURL(_,B)}}p(g)}})},m=()=>{d.value&&d.value.clearRect(0,0,I.value.width,I.value.height),n.isClearBgColor&&(i.value=[],e.value=!1,t.value="")},F=k=>{let _=I.value.width,B=0,p=I.value.height,u=0;for(let l=0;l<I.value.width;l++)for(let g=0;g<I.value.height;g++){const s=(l+I.value.width*g)*4;(k[s]>0||k[s+1]>0||k[s+2]>0||k[s+3]>0)&&(u=Math.max(g,u),B=Math.max(l,B),p=Math.min(g,p),_=Math.min(l,_))}return[_+1,p+1,B+1,u+1]};return{canvas:I,myBg:N,drawStart:O,drawMove:H,drawEnd:P,generate:v,reset:m,touchStart:k=>{if(k.preventDefault(),e.value=!0,k.touches.length===1&&I.value){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};O(_)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};H(_)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};P(_)}},mouseDown:k=>{k.preventDefault(),b.value=!0,e.value=!0;const _={x:k.offsetX,y:k.offsetY};O(_)},mouseMove:k=>{if(k.preventDefault(),b.value){const _={x:k.offsetX,y:k.offsetY};H(_)}},mouseUp:k=>{k.preventDefault();const _={x:k.offsetX,y:k.offsetY};P(_),b.value=!1}}}});function KM(n,e,t,i,d,f){return A.openBlock(),A.createElementBlock("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:e[1]||(e[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:e[2]||(e[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:e[3]||(e[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:e[4]||(e[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:e[5]||(e[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const TM=oe(HM,[["render",KM],["__scopeId","data-v-0e272b28"]]),UM={key:0},YM={class:"vfc-esign-preview"},OM=["src"],$M={key:1,class:"vfc-esign"},zM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.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 e=n,t=A.ref(),i=Et(),d=A.useModel(n,"modelValue"),f={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=A.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},D=()=>{t.value.generate().then(N=>{d.value=N}).catch(N=>{alert(N)})},I=A.ref(""),S=()=>{I.value=d.value,d.value=""};return A.onMounted(()=>{Object.assign(o.value,e)}),(N,T)=>{const O=A.resolveComponent("el-button");return A.unref(i).read||d.value?(A.openBlock(),A.createElementBlock("div",UM,[A.createElementVNode("div",YM,[A.createElementVNode("img",{src:d.value,alt:"未签名"},null,8,OM)]),A.unref(i).read?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(O,{key:0,disabled:N.disabled,onClick:S,type:"primary"},{default:A.withCtx(()=>T[2]||(T[2]=[A.createTextVNode("重写")])),_:1},8,["disabled"]))])):(A.openBlock(),A.createElementBlock("div",$M,[A.createVNode(A.unref(wn),{modelValue:o.value,"onUpdate:modelValue":T[0]||(T[0]=H=>o.value=H),schema:f,class:"vfc-esign-actions"},null,8,["modelValue"]),A.createVNode(TM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),A.createElementVNode("div",null,[I.value?(A.openBlock(),A.createBlock(O,{key:0,disabled:N.disabled,onClick:T[1]||(T[1]=H=>d.value=I.value),plain:"",type:"primary"},{default:A.withCtx(()=>T[3]||(T[3]=[A.createTextVNode("取消")])),_:1},8,["disabled"])):A.createCommentVNode("",!0),A.createVNode(O,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:A.withCtx(()=>T[4]||(T[4]=[A.createTextVNode("清空")])),_:1},8,["disabled"]),A.createVNode(O,{disabled:N.disabled,onClick:D,type:"primary"},{default:A.withCtx(()=>T[5]||(T[5]=[A.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),JM={key:0},ZM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Radio",props:A.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},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),d=A.inject("ruleModule",void 0),f=A.inject("pageMethodMap",{}),o=I=>{const{valueKey:S="value",name:N}=e;let T={};if(T=b.value.find(O=>O[S]===I)||{},i.selectData&&N&&i.updateSelectData(N,T),e.onChange&&d)try{d[e.onChange](f,I,T)}catch(O){console.error(O+`
|
|
1652
|
+
onChange: ${e.onChange}`)}},{currentOptions:b,loading:D}=Br(e);return(I,S)=>{var v;const N=A.resolveComponent("el-radio"),T=A.resolveComponent("el-radio-button"),O=A.resolveComponent("el-space"),H=A.resolveComponent("el-radio-group"),P=A.resolveDirective("loading");return I.read?(A.openBlock(),A.createElementBlock("div",JM,A.toDisplayString(((v=A.unref(b).find(m=>m[I.valueKey]===t.value))==null?void 0:v[I.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(H,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=m=>t.value=m),onChange:o},I.$attrs),{default:A.withCtx(()=>[A.createVNode(O,{wrap:"",direction:I.direction,size:[I.space,I.space],alignment:"normal"},{default:A.withCtx(()=>[I.optionType==="circle"||I.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(N,{key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],disabled:m[I.disabledKey],border:I.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(T,A.mergeProps({key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],class:"radio-button",disabled:m[I.disabledKey],ref_for:!0},I.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[P,A.unref(D)]])}}}),[["__scopeId","data-v-08ecef32"]])},Symbol.toStringTag,{value:"Module"})),WM={class:"vfc-formList"},jM={key:1},qM={class:"list-item-content"},XM={class:"card-header"},VM={style:{"margin-top":"5px"}},Ax=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.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 e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),d=Et(),f=N=>kt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},I=N=>{const T=t.value.filter((O,H)=>H!==N);t.value=T},S=(N,T,O,H)=>{const P=T.no,v=f(H)[P];return A.h(ro,{...v,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${H}.${v.name}`})};return A.watch(t,(N,T)=>{const O=N.reduce((m,F,k)=>(ut.isEqual(F,T[k])||(m=k),m),0);if(i.value=O,!e.children.some(m=>m.change))return;const H=f(O),P=N[O]||{},v=T[O]||{};H.forEach(m=>{m.change&&v&&!ut.isEqual(P[m.name],v[m.name])&&m.change.forEach(F=>{if(F.condition!==!1){if(ut.isString(F.condition)&&/^{{\s*(.*?)\s*}}$/.test(F.condition))return;const k=F.target.split(".").pop();t.value[O][k]=F.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,T)=>{const O=A.resolveComponent("el-space"),H=A.resolveComponent("el-button"),P=A.resolveComponent("el-form-item"),v=A.resolveComponent("el-card"),m=A.resolveComponent("el-table-column"),F=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",WM,[A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",jM,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(P,{key:k.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",qM,[A.createVNode(O,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${_}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(v,{key:k.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",XM,[A.createElementVNode("span",null,A.toDisplayString(N.title+(_+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${_}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(F,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,k=>(A.openBlock(),A.createBlock(m,A.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},A.unref(ut.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),A.createVNode(m,{fixed:"right","min-width":"60"},{default:A.withCtx(k=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:_=>I(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",VM,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),ex=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, minmax(0, 1fr))`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),tx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-50b97afb"]])},Symbol.toStringTag,{value:"Module"})),nx={key:0},ix=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et(),i=A.computed(()=>t.schema.read),d=f=>{["E","e","+","-"].includes(f.key)&&f.preventDefault()};return(f,o)=>{const b=A.resolveComponent("el-input-number");return f.read||i.value?(A.openBlock(),A.createElementBlock("span",nx,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(f.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=D=>e.value=D),style:{width:"100%"},min:f.min||0,onKeydown:d,"controls-position":"right"}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),ox={style:{"min-height":"32px"}},rx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.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},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),d=Et(),f=A.computed(()=>e.read||d.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),D=H=>{const{valueKey:P="value",multiple:v,name:m}=e;let F={};if(v&&Array.isArray(H)?F=N.value.filter(k=>H.includes(k[P])):F=N.value.find(k=>k[P]===H)||{},d.selectData&&m&&d.updateSelectData(m,F),e.onChange&&o)try{o[e.onChange](b,H,F)}catch(k){console.error(k+`
|
|
1653
1653
|
onChange: ${e.onChange}`)}},{currentOptions:I,loading:S}=Br(e),N=A.ref(JSON.parse(JSON.stringify(I.value))),T=A.computed(()=>{var P;if(e.multiple)return N.value.filter(m=>i.value.includes(m[e.valueKey])).map(m=>m[e.labelKey]).join(",");const H=(P=N.value.find(v=>v[e.valueKey]===i.value))==null?void 0:P[e.labelKey];return!H||`${H}`.trim().length===0?"--":H});A.watch(()=>i,H=>{O()}),A.watch(()=>I.value,H=>{O()});const O=()=>{var P;if(N.value=JSON.parse(JSON.stringify(I.value||[])),!(i!=null&&i.value)&&(i==null?void 0:i.value)!=-1)return;let H=!0;(P=I==null?void 0:I.value)==null||P.forEach(v=>{v.value===i.value&&(H=!1)}),H&&N.value.unshift({label:"",value:i.value})};return(H,P)=>{const v=A.resolveComponent("el-option"),m=A.resolveComponent("el-select");return f.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:H.readTextColor})},A.toDisplayString(T.value),5)):(A.openBlock(),A.createBlock(m,A.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":P[0]||(P[0]=F=>i.value=F)},H.$attrs,{onChange:D,multiple:H.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:A.unref(S),placeholder:"",style:{width:H.width}}),{loading:A.withCtx(()=>P[1]||(P[1]=[A.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[A.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[A.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:A.withCtx(()=>[A.createElementVNode("div",ox,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.value,F=>(A.openBlock(),A.createBlock(v,{key:F[H.valueKey],label:F[H.labelKey],value:F[H.valueKey],disabled:F[H.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(F[H.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading","style"]))}}})},Symbol.toStringTag,{value:"Module"})),ax={key:0},sx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(""),d=A.computed({get(){var f;return(f=t.value)==null?void 0:f.replaceAll(i.value,"")},set(f){f?t.value=f+i.value:t.value=f}});return A.watch(i,(f,o)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(o,""))+f)}),A.onMounted(()=>{e.selectInitialValue&&(i.value=e.selectInitialValue)}),(f,o)=>{const b=A.resolveComponent("el-option"),D=A.resolveComponent("el-select"),I=A.resolveComponent("el-input");return f.read?(A.openBlock(),A.createElementBlock("span",ax,A.toDisplayString(d.value||"--"),1)):(A.openBlock(),A.createBlock(I,A.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},f.$attrs,{modelValue:d.value,"onUpdate:modelValue":o[1]||(o[1]=S=>d.value=S)}),{[f.selectPosition]:A.withCtx(()=>[A.createVNode(D,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=S=>i.value=S),style:A.normalizeStyle({width:f.selectWidth+"px"}),placeholder:" "},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.options,S=>(A.openBlock(),A.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"})),lx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=Et(),t=A.useModel(n,"modelValue");return(i,d)=>{const f=A.resolveComponent("el-switch");return A.openBlock(),A.createBlock(f,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=o=>t.value=o),disabled:A.unref(e).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),cx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tag");return A.openBlock(),A.createBlock(i,A.mergeProps({type:e.type},e.$attrs),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.text),1)]),_:1},16,["type"])}}})},Symbol.toStringTag,{value:"Module"})),gx=["innerHTML"],dx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:{text:{},color:{},onClick:{},params:{},fontSize:{},fontWeight:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=n,d=async()=>{const f=i.onClick;if(f&&e)try{await e[f](t,i)}catch(o){console.error(o+`
|
|
1654
|
-
onClick: ${f}`)}};return(f,o)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(f.$attrs,{innerHTML:f.text,onClick:d,style:{color:f.color,cursor:f.onClick?"pointer":"default",fontSize:f.fontSize,fontWeight:f.fontWeight}}),null,16,gx))}})},Symbol.toStringTag,{value:"Module"})),kC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),ux=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),hx={key:0,class:"smallDragStyle-text"},px={class:"el-upload__tip"},Cx={key:0,class:"upload-bottom-part"},Bx={key:0,class:"small-file-list-wrapper"},mx={class:"file-item-name"},Ex={class:"file-list-wrapper"},Qx=["title"],fx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"},attachmentTitle:{},showFileList:{type:Boolean,default:!0},autoUpload:{type:Boolean},beforeUpload:{},isOnlyOne:{type:Boolean,default:!1},onChange:{},smallDragStyle:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),{ruleModule:i,pageMethodMap:d}=Fn(),f=O=>{if(e.beforeUpload)try{return i[e.beforeUpload](d,O)}catch(H){console.error(H)}return!0},o=(O,H)=>{if(e.onChange)try{i[e.onChange](d,O,H)}catch(P){console.error(P)}},b=O=>{const H=t.value.findIndex(P=>P.uid===O.uid);H!==-1&&t.value.splice(H,1)},D=(O,H)=>{console.log(O,H)},I=O=>{console.log(O)},S=A.ref(),N=(O,H)=>{if(e.isOnlyOne&&e.limit===1){S.value.clearFiles();const P=O[0];P.uid=xt.genFileId(),S.value.handleStart(P)}else xt.ElMessage.warning(`The limit is ${e.limit}, you selected ${O.length} files this time, add up to ${O.length+H.length} totally`)},T=(O,H)=>e.beforeUpload?!1:xt.ElMessageBox.confirm(`Cancel the transfer of ${O.name} ?`).then(()=>!0,()=>!1);return(O,H)=>{const P=A.resolveComponent("el-button"),v=A.resolveComponent("el-upload");return A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createVNode(v,{"file-list":t.value,"onUpdate:fileList":H[0]||(H[0]=m=>t.value=m),action:O.action,multiple:O.multiple,limit:O.limit,drag:O.drag,name:O.name,listType:O.listType,"show-file-list":O.showFileList,"on-preview":I,"on-remove":D,"before-remove":T,"before-upload":f,"on-change":o,"on-exceed":N,class:A.normalizeClass({dragUpload:O.drag,smallDragStyle:O.smallDragStyle}),ref_key:"upload",ref:S},A.createSlots({default:A.withCtx(()=>[O.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.drag?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",hx,H[1]||(H[1]=[A.createTextVNode("Drop file here or "),A.createElementVNode("span",null,"click to upload",-1)]))):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createVNode(De,{name:"icon-shangchuan",color:"var(--el-color-primary)"}),H[2]||(H[2]=A.createElementVNode("div",null,[A.createTextVNode("Drop file here or "),A.createElementVNode("em",null,"click to upload")],-1))],64))],64)):(A.openBlock(),A.createBlock(P,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(O.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),O.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(fe),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[O.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",px,A.toDisplayString(O.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType","show-file-list","class"]),O.drag&&t.value.length>0?(A.openBlock(),A.createElementBlock("div",Cx,[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",Bx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(De,{name:"icon-fujian",size:"small"}),A.createElementVNode("div",mx,A.toDisplayString(m.name),1),O.clearable?(A.openBlock(),A.createBlock(De,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createElementVNode("div",null,A.toDisplayString(O.attachmentTitle),1),A.createElementVNode("div",Ex,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(De,{name:"icon-fujiantubiao1",size:"ultra-large"}),A.createElementVNode("div",{class:"file-item-name",title:m.name},A.toDisplayString(m.name),9,Qx),O.clearable?(A.openBlock(),A.createBlock(De,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])],64))])):A.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-d54b3b70"]])},Symbol.toStringTag,{value:"Module"}));function Ix(){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,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),d=qt(n,e);return`rgb(${t},${i},${d})`}class wx{constructor(e,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.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",e.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(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 d=1;d<=4;d++){const f=i[qt(0,i.length)];this.options.code+=f,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(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*d,b=parseInt(this.options.height)/2,D=qt(-30,30);t.translate(o,b),t.rotate(D*Math.PI/180),t.fillText(f,0,0),t.rotate(-D*Math.PI/180),t.translate(-o,-b)}for(let d=0;d<4;d++)t.strokeStyle=ws(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 d=0;d<parseInt(this.options.width)/4;d++)t.fillStyle=ws(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",e=>{const t=e.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:Ix(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const bx={class:"vfc-verify-code"},yx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),d=Et(),f=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?d.updateVCodePass(!0):d.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new wx(t.value)}),(o,b)=>{const D=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",bx,[A.createVNode(D,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=I=>e.value=I),class:"verify-input",placeholder:o.placeholder,onBlur:f},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),Dx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,d)=>{const f=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(f,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(kC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),vx={class:"right-icon-wrapper"},kx={class:"dynamic-icon-wrapper"},_x={key:0,class:"dynamic-icon-item"},Mx={class:"static-icon-wrapper"},xx={key:0,class:"static-icon-item"},Sx={class:"tab-label"},Nx={class:"tab-label-text"},Fx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Tabs",props:{id:{},children:{},defaultKey:{},tabChange:{},onBeforeLeave:{},styleType:{default:"normal"},staticBtns:{},dynamicBtns:{}},setup(n){const e=n,t=A.ref(""),i=A.computed(()=>{const I=e.children.findIndex(S=>S.name===t.value);return I-1>=0?I-1:null}),{ruleModule:d,pageMethodMap:f}=Fn();function o(I){if(e.tabChange)try{d[e.tabChange](f,I)}catch(S){console.error(S)}}async function b(I,S){if(e.onBeforeLeave)try{return await d[e.onBeforeLeave](f,I,S)}catch(N){console.error(N)}return!0}const D=I=>{if(e.id){const S=document.getElementById(e.id);if(S){const N=S.getElementsByClassName("el-tabs__nav-scroll")[0],T=S.getElementsByClassName("el-tabs__nav")[0],H=T.style.transform.split("(")[1].split(")")[0].split("px")[0],P=N.offsetWidth-T.offsetWidth,v=0;let m=parseInt(H);m=m-I.deltaY,m<P&&(m=P),m>v&&(m=v),T.style.transform=`translateX(${m}px)`}I.preventDefault()}};return A.watch(()=>e.children,()=>{e.children.forEach(I=>{I.children||(I.children=[])})}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(I,S)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(T,A.mergeProps({onWheel:D,id:I.id},I.$attrs,{modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=O=>t.value=O),onTabChange:o,"before-leave":b,addable:I.styleType==="btn",class:{"modal-type":I.styleType==="modal","btn-type":I.styleType==="btn","form-item-tabs":I.styleType==="normal"}}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",vx,[A.createElementVNode("div",kx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.dynamicBtns,O=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:O.iconName},[O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",_x,[A.createVNode(De,{name:O.iconName},null,8,["name"])]))],64))),128))]),A.createElementVNode("div",Mx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.staticBtns,O=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:O.iconName},[O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",xx,[A.createVNode(De,{name:O.iconName},null,8,["name"])]))],64))),128))])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,(O,H)=>(A.openBlock(),A.createBlock(N,A.mergeProps({key:O.name,ref_for:!0},O),{label:A.withCtx(()=>[A.createElementVNode("div",Sx,[I.styleType==="btn"&&O.icon?(A.openBlock(),A.createBlock(De,{key:0,name:O.icon},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",Nx,A.toDisplayString(O.label),1),H!==I.children.length-1?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["divider",{"divider-hidden":t.value===O.name||i.value===H}])},null,2)):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:O.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["id","modelValue","addable","class"])}}}),[["__scopeId","data-v-e27a5838"]])},Symbol.toStringTag,{value:"Module"})),Rx={class:"vfc-ObjGroup"},Lx={key:1,class:"vfc-ObjGroup-render"},Gx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=Et(),i=A.inject("$objGroupBase"),d=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(d)),(f,o)=>(A.openBlock(),A.createElementBlock("div",Rx,[A.unref(t).design?(A.openBlock(),A.createBlock(jc,{key:0,list:f.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",Lx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.children,b=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(d)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),Px={key:0},Hx={key:0},Kx={key:1},Tx={key:1,class:"search-select-wrapper"},Ux=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"SearchSelect",props:A.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},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),d=A.inject("ruleModule",void 0),f=A.inject("pageMethodMap",{}),o=S=>{const{valueKey:N="value",multiple:T,name:O}=e;let H={};if(T&&Array.isArray(S)?H=D.value.filter(P=>S.includes(P[N])):H=D.value.find(P=>P[N]===S)||{},i.selectData&&O&&i.updateSelectData(O,H),e.onChange&&d)try{d[e.onChange](f,S,H)}catch(P){console.error(P+`
|
|
1654
|
+
onClick: ${f}`)}};return(f,o)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(f.$attrs,{innerHTML:f.text,onClick:d,style:{color:f.color,cursor:f.onClick?"pointer":"default",fontSize:f.fontSize,fontWeight:f.fontWeight}}),null,16,gx))}})},Symbol.toStringTag,{value:"Module"})),kC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),ux=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),hx={key:0,class:"smallDragStyle-text"},px={class:"el-upload__tip"},Cx={key:0,class:"upload-bottom-part"},Bx={key:0,class:"small-file-list-wrapper"},mx={class:"file-item-name"},Ex={class:"file-list-wrapper"},Qx=["title"],fx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"},attachmentTitle:{},showFileList:{type:Boolean,default:!0},autoUpload:{type:Boolean},beforeUpload:{},isOnlyOne:{type:Boolean,default:!1},onChange:{},smallDragStyle:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),{ruleModule:i,pageMethodMap:d}=Rn(),f=O=>{if(e.beforeUpload)try{return i[e.beforeUpload](d,O)}catch(H){console.error(H)}return!0},o=(O,H)=>{if(e.onChange)try{i[e.onChange](d,O,H)}catch(P){console.error(P)}},b=O=>{const H=t.value.findIndex(P=>P.uid===O.uid);H!==-1&&t.value.splice(H,1)},D=(O,H)=>{console.log(O,H)},I=O=>{console.log(O)},S=A.ref(),N=(O,H)=>{if(e.isOnlyOne&&e.limit===1){S.value.clearFiles();const P=O[0];P.uid=xt.genFileId(),S.value.handleStart(P)}else xt.ElMessage.warning(`The limit is ${e.limit}, you selected ${O.length} files this time, add up to ${O.length+H.length} totally`)},T=(O,H)=>e.beforeUpload?!1:xt.ElMessageBox.confirm(`Cancel the transfer of ${O.name} ?`).then(()=>!0,()=>!1);return(O,H)=>{const P=A.resolveComponent("el-button"),v=A.resolveComponent("el-upload");return A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createVNode(v,{"file-list":t.value,"onUpdate:fileList":H[0]||(H[0]=m=>t.value=m),action:O.action,multiple:O.multiple,limit:O.limit,drag:O.drag,name:O.name,listType:O.listType,"show-file-list":O.showFileList,"on-preview":I,"on-remove":D,"before-remove":T,"before-upload":f,"on-change":o,"on-exceed":N,class:A.normalizeClass({dragUpload:O.drag,smallDragStyle:O.smallDragStyle}),ref_key:"upload",ref:S},A.createSlots({default:A.withCtx(()=>[O.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.drag?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",hx,H[1]||(H[1]=[A.createTextVNode("Drop file here or "),A.createElementVNode("span",null,"click to upload",-1)]))):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createVNode(ve,{name:"icon-shangchuan",color:"var(--el-color-primary)"}),H[2]||(H[2]=A.createElementVNode("div",null,[A.createTextVNode("Drop file here or "),A.createElementVNode("em",null,"click to upload")],-1))],64))],64)):(A.openBlock(),A.createBlock(P,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(O.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),O.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(fe),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[O.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",px,A.toDisplayString(O.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType","show-file-list","class"]),O.drag&&t.value.length>0?(A.openBlock(),A.createElementBlock("div",Cx,[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",Bx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujian",size:"small"}),A.createElementVNode("div",mx,A.toDisplayString(m.name),1),O.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createElementVNode("div",null,A.toDisplayString(O.attachmentTitle),1),A.createElementVNode("div",Ex,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujiantubiao1",size:"ultra-large"}),A.createElementVNode("div",{class:"file-item-name",title:m.name},A.toDisplayString(m.name),9,Qx),O.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])],64))])):A.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-fc2c20e2"]])},Symbol.toStringTag,{value:"Module"}));function Ix(){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,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),d=qt(n,e);return`rgb(${t},${i},${d})`}class wx{constructor(e,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.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",e.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(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 d=1;d<=4;d++){const f=i[qt(0,i.length)];this.options.code+=f,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(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*d,b=parseInt(this.options.height)/2,D=qt(-30,30);t.translate(o,b),t.rotate(D*Math.PI/180),t.fillText(f,0,0),t.rotate(-D*Math.PI/180),t.translate(-o,-b)}for(let d=0;d<4;d++)t.strokeStyle=ws(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 d=0;d<parseInt(this.options.width)/4;d++)t.fillStyle=ws(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",e=>{const t=e.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:Ix(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const bx={class:"vfc-verify-code"},yx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),d=Et(),f=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?d.updateVCodePass(!0):d.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new wx(t.value)}),(o,b)=>{const D=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",bx,[A.createVNode(D,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=I=>e.value=I),class:"verify-input",placeholder:o.placeholder,onBlur:f},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-f5206e68"]])},Symbol.toStringTag,{value:"Module"})),Dx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,d)=>{const f=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(f,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(kC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),vx={class:"right-icon-wrapper"},kx={class:"dynamic-icon-wrapper"},_x={class:"static-icon-wrapper"},Mx={class:"tab-label-text"},xx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Tabs",props:{id:{},children:{},defaultKey:{},tabChange:{},onBeforeLeave:{},styleType:{default:"normal"},staticBtns:{},dynamicBtns:{}},setup(n){const e=n,t=A.ref(""),i=A.computed(()=>{const I=e.children.findIndex(S=>S.name===t.value);return I-1>=0?I-1:null}),{ruleModule:d,pageMethodMap:f}=Rn();function o(I){if(e.tabChange)try{d[e.tabChange](f,I)}catch(S){console.error(S)}}async function b(I,S){if(e.onBeforeLeave)try{return await d[e.onBeforeLeave](f,I,S)}catch(N){console.error(N)}return!0}const D=I=>{if(e.id){const S=document.getElementById(e.id);if(S){const N=S.getElementsByClassName("el-tabs__nav-scroll")[0],T=S.getElementsByClassName("el-tabs__nav")[0],H=T.style.transform.split("(")[1].split(")")[0].split("px")[0],P=N.offsetWidth-T.offsetWidth,v=0;let m=parseInt(H);m=m-I.deltaY,m<P&&(m=P),m>v&&(m=v),T.style.transform=`translateX(${m}px)`}I.preventDefault()}};return A.watch(()=>e.children,()=>{e.children.forEach(I=>{I.children||(I.children=[])})}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(I,S)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(T,A.mergeProps({ref:"tabsRef",id:I.id},I.$attrs,{modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=O=>t.value=O),onTabChange:o,"before-leave":b,addable:I.styleType==="btn",class:{"modal-type":I.styleType==="modal","btn-type":I.styleType==="btn","form-item-tabs":I.styleType==="normal"}}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",vx,[A.createElementVNode("div",kx,[A.createVNode(Nn,{btns:I.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",_x,[A.createVNode(Nn,{btns:I.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,(O,H)=>(A.openBlock(),A.createBlock(N,A.mergeProps({key:O.name,ref_for:!0},O),{label:A.withCtx(()=>[A.createElementVNode("div",{class:"tab-label",style:{height:"100%"},onWheel:D},[I.styleType==="btn"&&O.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:O.icon,size:O.iconSize||"x-small"},null,8,["name","size"])):A.createCommentVNode("",!0),A.createElementVNode("span",Mx,A.toDisplayString(O.label),1),H!==I.children.length-1?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["divider",{"divider-hidden":t.value===O.name||i.value===H}])},null,2)):A.createCommentVNode("",!0)],32)]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:O.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["id","modelValue","addable","class"])}}}),[["__scopeId","data-v-2b0703d4"]])},Symbol.toStringTag,{value:"Module"})),Sx={class:"vfc-ObjGroup"},Nx={key:1,class:"vfc-ObjGroup-render"},Fx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=Et(),i=A.inject("$objGroupBase"),d=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(d)),(f,o)=>(A.openBlock(),A.createElementBlock("div",Sx,[A.unref(t).design?(A.openBlock(),A.createBlock(jc,{key:0,list:f.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",Nx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.children,b=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(d)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),Rx={key:0},Lx={key:0},Gx={key:1},Px={key:1,class:"search-select-wrapper"},Hx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"SearchSelect",props:A.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},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),d=A.inject("ruleModule",void 0),f=A.inject("pageMethodMap",{}),o=S=>{const{valueKey:N="value",multiple:T,name:O}=e;let H={};if(T&&Array.isArray(S)?H=D.value.filter(P=>S.includes(P[N])):H=D.value.find(P=>P[N]===S)||{},i.selectData&&O&&i.updateSelectData(O,H),e.onChange&&d)try{d[e.onChange](f,S,H)}catch(P){console.error(P+`
|
|
1655
1655
|
onChange: ${e.onChange}`)}},b=()=>{if(e.onSearch&&d)try{d[e.onSearch](f)}catch(S){console.error(S+`
|
|
1656
|
-
onSearch: ${e.onSearch}`)}},{currentOptions:D,loading:I}=Br(e);return(S,N)=>{var v;const T=A.resolveComponent("el-option"),O=A.resolveComponent("el-select"),H=A.resolveComponent("el-button"),P=A.resolveDirective("loading");return S.read?(A.openBlock(),A.createElementBlock("div",Px,[S.multiple?(A.openBlock(),A.createElementBlock("div",Hx,A.toDisplayString(t.value&&t.value.map(m=>{var F;return(F=A.unref(D).find(k=>k[S.valueKey]===m))==null?void 0:F[S.labelKey]}).join("、")),1)):(A.openBlock(),A.createElementBlock("div",Kx,A.toDisplayString(((v=A.unref(D).find(m=>m[S.valueKey]===t.value))==null?void 0:v[S.labelKey])||"--"),1))])):(A.openBlock(),A.createElementBlock("div",Tx,[A.withDirectives((A.openBlock(),A.createBlock(O,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m)},S.$attrs,{onChange:o,multiple:S.multiple,clearable:"",filterable:"",disabled:S.disabled}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(D),m=>(A.openBlock(),A.createBlock(T,{key:m[S.valueKey],label:m[S.labelKey],value:m[S.valueKey],disabled:m[S.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(m[S.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[P,A.unref(I)]]),A.createVNode(H,{onClick:b,disabled:S.disabled,class:"search-btn"},{default:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-b14d9207"]])},Symbol.toStringTag,{value:"Module"})),Yx=["id"],Ox={class:"custom-slot"},$x={key:0,class:"poll-wrapper"},zx={class:"empty-content"},Jx=["title"],Zx=["title","onClick"],Wx={key:1,class:"icon-text-wrapper"},jx=["title","onClick"],qx={key:2},Xx=["title"],Vx={class:"row-btn-wrapper"},AS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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},sortable:{type:Boolean,default:!0},paginationPosition:{},totalText:{default:"{{ `Showing ${$total} matching tickets`}}"},onPollChange:{},showPollCheckbox:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),d=A.inject("ruleModule",void 0),f=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&f[t.rulePath]?f[t.rulePath]:d),b=A.inject("pageMethodMap",{}),D=A.inject("getGlobalParams",()=>{}),I=A.inject(Xn),S=I?I.translateFn:null,N=A.ref(),T=(vA,$A,XA)=>{y.value[vA]&&(y.value[vA][$A]=XA)},O=(vA,$A)=>{const XA=t.columns.find(SA=>SA.key===vA);XA&&(XA.hidden=!$A)},H=(vA,$A,XA,SA)=>{try{o.value[vA.onClick](b,$A,XA,SA),SA==null||SA.stopPropagation()}catch(MA){console.error(MA)}},P=vA=>{if(t.rowClick)try{o.value[t.rowClick](b,vA)}catch($A){console.error($A)}},v=vA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,vA)}catch($A){console.error($A)}},m=A.ref([]),F=vA=>{m.value=vA},k=(vA,$A)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,vA,$A)}catch(XA){console.error(XA)}return!0},_=()=>{var vA;(vA=N.value)==null||vA.clearSelection()},B=(vA,$A)=>{var XA,SA;if(t.rowKey){const MA=y.value.find(qA=>qA[t.rowKey]===vA);if(!MA)return;$A===void 0?(XA=N.value)==null||XA.toggleRowSelection(MA):(SA=N.value)==null||SA.toggleRowSelection(MA,$A)}else return console.error("rowKey is required")},p=()=>y.value,u=A.ref(),l=vA=>{if(u.value=vA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,vA)}catch($A){console.error($A)}},g=()=>u.value,s=()=>{var vA;return(vA=N.value)==null?void 0:vA.getSelectionRows()},h=async()=>!0,C=(vA,$A)=>{var SA;const XA=(SA=t.topBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.hidden=$A)},a=(vA,$A)=>{var SA;const XA=(SA=t.rowBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.condition=!$A)},r=A.ref(0),E=vA=>{r.value=vA},Q=()=>r.value,M=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),x=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),K=()=>M.value,z=vA=>{let $A=!1;return vA.pageNum!==void 0&&vA.pageNum>-1&&(M.value.pageNum!==vA.pageNum&&($A=!0),M.value.pageNum=vA.pageNum),vA.pageSize!==void 0&&vA.pageSize>-1&&(M.value.pageSize!==vA.pageSize&&($A=!0),M.value.pageSize=vA.pageSize),{pagination:M.value,isChange:$A}},AA=async()=>{if(M.value.pageNum=1,!t.sizeChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,M.value),x.value.pageNum=M.value.pageNum,x.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=x.value.pageNum,M.value.pageSize=x.value.pageSize}finally{vA.close()}},eA=async()=>{if(!t.pageChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,M.value),x.value.pageNum=M.value.pageNum,x.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=x.value.pageNum,M.value.pageSize=x.value.pageSize}finally{vA.close()}},V=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(vA)},$=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(y.value[vA])},J=(vA,$A,XA)=>{t.columns.forEach(SA=>{SA.key===vA&&SA[$A]&&(SA[$A]=XA)})},y=A.ref([]),j=vA=>{y.value=vA||[]},G=(vA={})=>{y.value.push(vA)},q=vA=>{vA>=0&&vA<y.value.length&&y.value.splice(vA,1)},rA=async()=>{y.value=[...y.value]},iA=A.useTemplateRef("rootRef"),uA=(vA,$A)=>{const XA=S?S(vA,$A):$A[vA.key];if(!vA.encrypted||!XA)return XA;const SA=`${XA}`;return SA.length<=4?"*".repeat(SA.length):SA.slice(0,-4)+"****"},mA=(vA,$A)=>{if(!vA.getTextStyle||!o.value)return{};try{return o.value[vA.getTextStyle](b,$A,vA)}catch(XA){console.error(XA)}},gA=(vA,$A)=>{if(!(!vA.getIconInfo||!o.value))try{return o.value[vA.getIconInfo](b,$A,vA)}catch(XA){console.error(XA)}},wA=(vA,$A)=>{if(!(!vA.getIconPopoverContent||!o.value))try{return o.value[vA.getIconPopoverContent](b,$A,vA)}catch(XA){console.error(XA)}},X=(vA,$A)=>{if(!(!vA.getCustomContent||!o.value))try{return o.value[vA.getCustomContent](b,$A,vA)}catch(XA){console.error(XA)}},lA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!y.value||y.value.length===0?!1:y.value.some(vA=>{var $A;return($A=t.rowBtns)==null?void 0:$A.some(XA=>XA.condition===void 0||XA.condition===null?!0:kt(XA.condition,{$row:vA,$globalParams:D()}))})),cA=Vn(),hA=A.ref(t.showPollCheckbox||!1),U=A.ref(10),W=A.ref(10),tA=vA=>{try{t.onPollChange&&o.value[t.onPollChange](b,vA?W.value:0)}catch($A){console.error($A)}},aA=vA=>{if(W.value=Number(vA),Number.isInteger(W.value)||(W.value=Math.floor(W.value)),W.value<=0||W.value>99){W.value=U.value,xt.ElMessage.warning("Incorrect input. Please input number in 1-99 seconds");return}try{t.onPollChange&&(o.value[t.onPollChange](b,W.value),U.value=W.value)}catch($A){console.error($A)}},CA=A.ref(void 0),xA=A.computed(()=>CA.value||t.height),zA=async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const vA=t.onMounted;try{o.value[vA](b)}catch($A){console.error($A)}},jA=async()=>{if(!t.onActivated||!o.value)return;const vA=t.onActivated;try{o.value[vA](b)}catch($A){console.error($A)}};A.onMounted(async()=>{await zA()}),A.onActivated(()=>{jA()}),A.onBeforeUnmount(()=>{});const Ae=A.readonly({...A.toRefs(t),setCellData:T,clearSelection:_,getData:p,getCurrentRow:g,getSelectedRows:s,addRow:G,deleteRow:q,refresh:rA,validate:h,setData:j,selectRow:V,selectRowNum:$,setTotal:E,getTotal:Q,getPagination:K,setPagination:z,setTopBtnHidden:C,setColVisible:O,setColumn:J,setRowsBtnHidden:a,pollEnabled:hA,pollInterval:W,rootRef:iA,mounted:zA,activated:jA,toggleSelection:B,type:"table"});if(t.name){const vA=zo(t.name,Ae);A.onUnmounted(()=>{vA()})}return e(Ae),(vA,$A)=>{const XA=A.resolveComponent("el-checkbox"),SA=A.resolveComponent("el-input"),MA=A.resolveComponent("el-pagination"),qA=A.resolveComponent("el-table-column"),Ce=A.resolveComponent("el-popover"),ye=A.resolveComponent("el-tooltip"),xe=A.resolveComponent("el-button");return vA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{[vA.name]:!0,"top-pagination":vA.paginationPosition==="top"}]),ref_key:"rootRef",ref:iA,id:vA.name},[vA.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"slot ,sizes, prev, pager, next",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[2]||($A[2]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[3]||($A[3]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},{default:A.withCtx(()=>[A.createElementVNode("div",Ox,[vA.showPollCheckbox?(A.openBlock(),A.createElementBlock("div",$x,[A.createVNode(XA,{modelValue:hA.value,"onUpdate:modelValue":$A[0]||($A[0]=NA=>hA.value=NA),onChange:tA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollText),1),A.createVNode(SA,{type:"number",style:{width:"45px",height:"28px"},modelValue:W.value,"onUpdate:modelValue":$A[1]||($A[1]=NA=>W.value=NA),onChange:aA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollUnit),1)])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(A.unref(kt)(vA.totalText,{$total:r.value})),1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(xt.ElTable),{ref_key:"tableRef",ref:N,data:y.value,"highlight-current-row":"","row-key":vA.rowKey,stripe:vA.stripe,onRowClick:P,onRowDblclick:v,onSelectionChange:F,onCurrentChange:l,height:xA.value},{empty:A.withCtx(()=>[A.createElementVNode("div",zx,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),$A[6]||($A[6]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[vA.multipleSelection?(A.openBlock(),A.createBlock(qA,{key:0,type:"selection",width:"55",selectable:k})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.columns,NA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:NA.key},[NA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(qA,{key:0,prop:NA.key,"min-width":NA.minWidth,fixed:NA.fixed||!1,sortable:NA.sortable??vA.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:NA.label},A.toDisplayString(NA.label),9,Jx)]),default:A.withCtx(({row:UA,$index:JA})=>{var de,ae,Ee,ke;return[NA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":NA.onClick}]),title:uA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(uA(NA,UA)),11,Zx)):NA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",Wx,[NA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(De,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(De,{key:1,name:(de=gA(NA,UA))==null?void 0:de.name,color:(ae=gA(NA,UA))==null?void 0:ae.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":NA.onClick}]),title:uA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(uA(NA,UA)),11,jx),NA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(De,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(De,{key:1,name:(Ee=gA(NA,UA))==null?void 0:Ee.name,color:(ke=gA(NA,UA))==null?void 0:ke.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):NA.type==="customContent"?(A.openBlock(),A.createElementBlock("div",qx,[A.createVNode(A.unref(rt),{list:X(NA,UA)||[]},null,8,["list"])])):(A.openBlock(),A.createElementBlock("div",{key:3,class:A.normalizeClass({"text-ellipsis":!NA.noEllipsis}),title:uA(NA,UA),style:A.normalizeStyle(mA(NA,UA))},A.toDisplayString(uA(NA,UA)),15,Xx))]}),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),lA.value&&vA.rowBtns&&vA.rowBtns.length>0?(A.openBlock(),A.createBlock(qA,{key:1,label:vA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:vA.rowBtnsWidth||(vA.rowBtns.length*34+12>100?vA.rowBtns.length*34+12:100)},{default:A.withCtx(({row:NA,$index:UA})=>[A.createElementVNode("div",Vx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.rowBtns,JA=>{var de;return A.openBlock(),A.createElementBlock(A.Fragment,{key:JA.key},[JA.component==="Popover"?(A.openBlock(),A.createBlock(Ce,{key:0,title:JA.label,trigger:"click","popper-class":"btn-popover",width:(de=JA.children)!=null&&de.length&&JA.children[0].width||400},{reference:A.withCtx(()=>[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(De,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:JA.children},null,8,["list"])])]),_:2},1032,["title","width"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(De,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps({data:y.value},t,{getColText:uA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),vA.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:(vA.hiddenPagination||y.value.length===0)&&!vA.height,transparentPagination:(vA.hiddenPagination||y.value.length===0)&&vA.height,cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[4]||($A[4]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[5]||($A[5]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0)],10,Yx))}}}),[["__scopeId","data-v-0617befb"]])},Symbol.toStringTag,{value:"Module"})),eS=["id"],tS={class:"left-part"},nS={class:"title"},iS={class:"right-part"},oS={key:0},rS={key:1,class:"switch-panel"},aS={key:3},sS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),d=n,f=A.ref(d.radioDefault??"2"),o=P=>{if(P&&e)try{e[P](t)}catch(v){console.error(v+`
|
|
1657
|
-
funcName: ${P}`)}},b=P=>{d.onRadioChange&&e&&e[d.onRadioChange](t,P)},D=()=>{I.value=!I.value,d.onCollapsed&&e&&e[d.onCollapsed](t,I.value)},I=A.ref(d.defaultCollapse??!1);A.watch(()=>d.defaultCollapse,()=>{I.value=d.defaultCollapse??!1});const S=A.ref(d.displayType||(d.typeSwitch?"card":"table")),N=Et(),T=P=>{S.value=P;const v=ln(N.schema.items,d.name),m=F=>{F.forEach(k=>{k.component==="Table"&&k.props&&(k.props.displayType=P),k.children&&k.children.length>0&&m(k.children)})};v&&v.children&&m(v.children)},O=P=>{d.handleSearch&&e&&e[d.handleSearch](t,P)},H=P=>{d.searchInputChange&&e&&e[d.searchInputChange](t,P)};return T(S.value),(P,v)=>{const m=A.resolveComponent("el-radio"),F=A.resolveComponent("el-radio-group"),k=A.resolveComponent("el-tooltip"),_=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:P.type==="gridItem"}]),style:A.normalizeStyle(P.style),id:P.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:P.type==="inline",mix:P.type==="mix",default:P.type==="default",gridItem:P.type==="gridItem",advanceSearch:P.type==="advanceSearch",collapsedPadding:I.value&&P.onCollapsed,"has-search-input":P.hasSearchInput}])},[A.createElementVNode("div",tS,[P.mainIcon?(A.openBlock(),A.createBlock(De,{key:0,class:"title-icon",size:"large",name:P.mainIcon.name,color:P.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",nS,A.toDisplayString(P.title),1),P.radioList?(A.openBlock(),A.createBlock(F,{key:1,class:"ml-9",modelValue:f.value,"onUpdate:modelValue":v[0]||(v[0]=p=>f.value=p),onChange:v[1]||(v[1]=p=>b(f.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(P.radioList,p=>(A.openBlock(),A.createBlock(m,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(P.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(k,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(De,{class:"extra-icon",name:p.name,color:p.color,onClick:u=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(De,{key:1,class:"extra-icon",name:p.name,color:p.color,size:p.size,onClick:u=>o(p.onClick)},null,8,["name","color","size","onClick"]))],64))),128))]),P.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:I.value&&P.onCollapsed}])},[A.createVNode(_,{modelValue:i.value,"onUpdate:modelValue":v[2]||(v[2]=p=>i.value=p),placeholder:P.searchPlaceholder,onInput:H,onKeyup:A.withKeys(O,["enter"])},{prefix:A.withCtx(()=>v[5]||(v[5]=[])),suffix:A.withCtx(()=>[A.createVNode(De,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"small",onClick:O})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",iS,[P.formSlots?(A.openBlock(),A.createElementBlock("div",oS,[A.createVNode(A.unref(rt),{list:P.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),P.typeSwitch?(A.openBlock(),A.createElementBlock("div",rS,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="card"}]),onClick:v[3]||(v[3]=p=>T("card"))},[A.createVNode(De,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="table"}]),onClick:v[4]||(v[4]=p=>T("table"))},[A.createVNode(De,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),P.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:I.value}]),onClick:D},[A.createVNode(De,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),P.btns&&P.btns.length>0?(A.openBlock(),A.createElementBlock("div",aS,[A.createVNode(A.unref(ii),{btns:P.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),P.onCollapsed?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:P.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])],512),[[A.vShow,!I.value]])]),_:1}))],14,eS)}}}),[["__scopeId","data-v-48b3bde7"]])},Symbol.toStringTag,{value:"Module"})),lS={key:0,class:"dropdown-icon-wrapper"},cS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Fn(),d=A.ref(!1),f=()=>{if(e.onDropdownChange){d.value=!d.value;try{t[e.onDropdownChange](i,d.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,D)=>{const I=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(I,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",lS,[A.createVNode(De,{name:"icon-xialaliebiao",color:"#666666",onClick:f,class:A.normalizeClass({reversed:d.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",{key:1,class:"expansion-icon-wrapper",onClick:o},[A.createVNode(De,{name:"icon-shuangxiangjiantou",color:"#666666"})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-e9e23e58"]])},Symbol.toStringTag,{value:"Module"})),gS={class:"content"},dS={class:"product-list"},uS={class:"attribute-list"},hS={key:0,class:"attribute-list-item"},pS={class:"product-title attribute-title"},CS={class:"attribute-item-list"},BS={class:"attribute-label"},mS={class:"attribute-value"},ES=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(bC,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",gS,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",dS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:d.label},A.toDisplayString(d.label),1))),128))]),A.createElementVNode("div",uS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:d.label},[d.children.length>0?(A.openBlock(),A.createElementBlock("div",hS,[A.createElementVNode("div",pS,A.toDisplayString(d.label),1),A.createElementVNode("div",CS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.children,f=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:f.label},[A.createElementVNode("div",BS,A.toDisplayString(f.label),1),A.createElementVNode("div",mS,A.toDisplayString(f.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),QS={key:0,class:"empty-content"},fS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var H,P;const e=n,t=A.ref(),i=A.ref([]),d=(H=e.columns.find(v=>v.position==="title"))==null?void 0:H.key,f=(P=e.columns.find(v=>v.position==="subTitle"))==null?void 0:P.key,o=e.columns.find(v=>v.position==="footer"),b=v=>{const m=[];return v.children&&v.children.length>0&&v.children.forEach(F=>{const k={label:F.PRODUCT_ITEM_NAME,children:[]};F.children&&F.children.length>0&&F.children.forEach(_=>{k.children.push({label:_.PRODUCT_ITEM_NAME,value:_.ACTION})}),m.push(k)}),m};function D(v){const m={},F=[];return v.forEach(k=>{m[k.PRODUCT_ITEM_ID]={...k,children:[]}}),v.forEach(k=>{const _=m[k.PRODUCT_ITEM_ID],B=k.PARENT_PRODUCT_ITEM_ID;B===0||!m[B]?F.push(_):m[B].children.push(_)}),F}const I=A.inject(Xn),S=I?I.translateFn:null;A.watchEffect(()=>{if(e.data){const v=D(e.data);t.value=v.map(m=>{const F={content:[]};return d&&(F.title=S?S(d,m):m[d],F.titleColor="var(--el-color-primary)"),f&&(F.subTitle=S?S(f,m):m[f]),o&&(F.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,m):m[o.key]}`}),m.children&&(F.product=b(m)),e.columns.forEach(k=>{k.position==="content"&&F.content.push({label:k.label,value:S?S(k.key,m):m[k.key]})}),F})}});let N=null;const T=A.ref(),O=A.ref(3);return A.onMounted(()=>{var v;i.value=(v=e.rowBtns)==null?void 0:v.map(m=>({icon:m.icon&&m.icon.name?m.icon.name:"icon-tishi",label:m.label,onClick:m.onClick})),N=new ResizeObserver(m=>{for(const F of m){const k=F.contentRect.width;O.value=Math.floor(k/330)||1}}),N.observe(T.value)}),A.onUnmounted(()=>{N&&T.value&&N.unobserve(T.value)}),(v,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:T,class:"card-list",style:A.normalizeStyle({"--columns":O.value,"--gap":v.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(F,k)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:k},[A.createVNode(ES,{data:F,btns:i.value,index:k},null,8,["data","btns","index"])]))),128))],4),!v.data||v.data.length===0?(A.openBlock(),A.createElementBlock("div",QS,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),m[0]||(m[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-44b2ab76"]])},Symbol.toStringTag,{value:"Module"})),IS={class:"progress"},wS={class:"timeline-content"},bS={class:"timeline-content__title"},yS={key:0,class:"empty-content"},DS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),d=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",IS,[A.createVNode(d,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(f,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(De,{name:f.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",wS,[A.createElementVNode("div",bS,[A.createElementVNode("span",null,A.toDisplayString(f.title),1),A.createElementVNode("span",null,A.toDisplayString(f.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(f.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",yS,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-088a0692"]])},Symbol.toStringTag,{value:"Module"})),vS={class:"log-list"},kS={class:"title-part"},_S={class:"title"},MS={class:"sub-title"},xS={class:"content"},SS={key:0},NS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",vS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",kS,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((d=i.title)==null?void 0:d[0]),5),A.createElementVNode("div",_S,A.toDisplayString(i.title),1),A.createElementVNode("div",MS,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",xS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(f,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:f.style==="bold",normal:f.style==="normal"})},[A.createTextVNode(A.toDisplayString(f.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",SS," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-646d4f4d"]])},Symbol.toStringTag,{value:"Module"})),FS=["infinite-scroll-disabled"],RS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=Fn(),i=n,d=async()=>{try{await e[i.load](t)}catch(f){console.error(f)}};return(f,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":f.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(f.style)},[A.createVNode(A.unref(rt),{list:f.children},null,8,["list"])],12,FS)),[[b,d]])}}}),[["__scopeId","data-v-6746ff5d"]])},Symbol.toStringTag,{value:"Module"}));mt.$options=Xn,mt.FormDesign=yC,mt.FormRender=wn,mt.PageRender=ag,mt.TableRender=rg,mt.Tree=wC,mt.default=uM,mt.findItemByName=ln,mt.provideRefManager=fC,mt.useFormInstance=Et,mt.useRuleContext=Fn,Object.defineProperties(mt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1656
|
+
onSearch: ${e.onSearch}`)}},{currentOptions:D,loading:I}=Br(e);return(S,N)=>{var v;const T=A.resolveComponent("el-option"),O=A.resolveComponent("el-select"),H=A.resolveComponent("el-button"),P=A.resolveDirective("loading");return S.read?(A.openBlock(),A.createElementBlock("div",Rx,[S.multiple?(A.openBlock(),A.createElementBlock("div",Lx,A.toDisplayString(t.value&&t.value.map(m=>{var F;return(F=A.unref(D).find(k=>k[S.valueKey]===m))==null?void 0:F[S.labelKey]}).join("、")),1)):(A.openBlock(),A.createElementBlock("div",Gx,A.toDisplayString(((v=A.unref(D).find(m=>m[S.valueKey]===t.value))==null?void 0:v[S.labelKey])||"--"),1))])):(A.openBlock(),A.createElementBlock("div",Px,[A.withDirectives((A.openBlock(),A.createBlock(O,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m)},S.$attrs,{onChange:o,multiple:S.multiple,clearable:"",filterable:"",disabled:S.disabled}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(D),m=>(A.openBlock(),A.createBlock(T,{key:m[S.valueKey],label:m[S.labelKey],value:m[S.valueKey],disabled:m[S.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(m[S.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[P,A.unref(I)]]),A.createVNode(H,{onClick:b,disabled:S.disabled,class:"search-btn"},{default:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-884281f5"]])},Symbol.toStringTag,{value:"Module"})),Kx=["id"],Tx={class:"custom-slot"},Ux={key:0,class:"poll-wrapper"},Yx={class:"empty-content"},Ox=["title"],$x=["title","onClick"],zx={key:1,class:"icon-text-wrapper"},Jx=["title","onClick"],Zx={key:2},Wx=["title"],jx={class:"row-btn-wrapper"},qx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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},sortable:{type:Boolean,default:!0},paginationPosition:{},totalText:{default:"{{ `Showing ${$total} matching tickets`}}"},onPollChange:{},showPollCheckbox:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),d=A.inject("ruleModule",void 0),f=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&f[t.rulePath]?f[t.rulePath]:d),b=A.inject("pageMethodMap",{}),D=A.inject("getGlobalParams",()=>{}),I=A.inject(Vn),S=I?I.translateFn:null,N=A.ref(),T=(vA,$A,XA)=>{y.value[vA]&&(y.value[vA][$A]=XA)},O=(vA,$A)=>{const XA=t.columns.find(SA=>SA.key===vA);XA&&(XA.hidden=!$A)},H=(vA,$A,XA,SA)=>{try{o.value[vA.onClick](b,$A,XA,SA),SA==null||SA.stopPropagation()}catch(MA){console.error(MA)}},P=vA=>{if(t.rowClick)try{o.value[t.rowClick](b,vA)}catch($A){console.error($A)}},v=vA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,vA)}catch($A){console.error($A)}},m=A.ref([]),F=vA=>{m.value=vA},k=(vA,$A)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,vA,$A)}catch(XA){console.error(XA)}return!0},_=()=>{var vA;(vA=N.value)==null||vA.clearSelection()},B=(vA,$A)=>{var XA,SA;if(t.rowKey){const MA=y.value.find(qA=>qA[t.rowKey]===vA);if(!MA)return;$A===void 0?(XA=N.value)==null||XA.toggleRowSelection(MA):(SA=N.value)==null||SA.toggleRowSelection(MA,$A)}else return console.error("rowKey is required")},p=()=>y.value,u=A.ref(),l=vA=>{if(u.value=vA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,vA)}catch($A){console.error($A)}},g=()=>u.value,s=()=>{var vA;return(vA=N.value)==null?void 0:vA.getSelectionRows()},h=async()=>!0,C=(vA,$A)=>{var SA;const XA=(SA=t.topBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.hidden=$A)},a=(vA,$A)=>{var SA;const XA=(SA=t.rowBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.condition=!$A)},r=A.ref(0),E=vA=>{r.value=vA},Q=()=>r.value,M=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),x=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),K=()=>M.value,z=vA=>{let $A=!1;return vA.pageNum!==void 0&&vA.pageNum>-1&&(M.value.pageNum!==vA.pageNum&&($A=!0),M.value.pageNum=vA.pageNum),vA.pageSize!==void 0&&vA.pageSize>-1&&(M.value.pageSize!==vA.pageSize&&($A=!0),M.value.pageSize=vA.pageSize),{pagination:M.value,isChange:$A}},AA=async()=>{if(M.value.pageNum=1,!t.sizeChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,M.value),x.value.pageNum=M.value.pageNum,x.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=x.value.pageNum,M.value.pageSize=x.value.pageSize}finally{vA.close()}},eA=async()=>{if(!t.pageChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,M.value),x.value.pageNum=M.value.pageNum,x.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=x.value.pageNum,M.value.pageSize=x.value.pageSize}finally{vA.close()}},V=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(vA)},$=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(y.value[vA])},J=(vA,$A,XA)=>{t.columns.forEach(SA=>{SA.key===vA&&SA[$A]&&(SA[$A]=XA)})},y=A.ref([]),j=vA=>{y.value=vA||[]},G=(vA={})=>{y.value.push(vA)},q=vA=>{vA>=0&&vA<y.value.length&&y.value.splice(vA,1)},rA=async()=>{y.value=[...y.value]},iA=A.useTemplateRef("rootRef"),uA=(vA,$A)=>{const XA=S?S(vA,$A):$A[vA.key];if(!vA.encrypted||!XA)return XA;const SA=`${XA}`;return SA.length<=4?"*".repeat(SA.length):SA.slice(0,-4)+"****"},mA=(vA,$A)=>{if(!vA.getTextStyle||!o.value)return{};try{return o.value[vA.getTextStyle](b,$A,vA)}catch(XA){console.error(XA)}},gA=(vA,$A)=>{if(!(!vA.getIconInfo||!o.value))try{return o.value[vA.getIconInfo](b,$A,vA)}catch(XA){console.error(XA)}},wA=(vA,$A)=>{if(!(!vA.getIconPopoverContent||!o.value))try{return o.value[vA.getIconPopoverContent](b,$A,vA)}catch(XA){console.error(XA)}},X=(vA,$A)=>{if(!(!vA.getCustomContent||!o.value))try{return o.value[vA.getCustomContent](b,$A,vA)}catch(XA){console.error(XA)}},lA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!y.value||y.value.length===0?!1:y.value.some(vA=>{var $A;return($A=t.rowBtns)==null?void 0:$A.some(XA=>XA.condition===void 0||XA.condition===null?!0:kt(XA.condition,{$row:vA,$globalParams:D()}))})),cA=Ai(),hA=A.ref(t.showPollCheckbox||!1),U=A.ref(10),W=A.ref(10),tA=vA=>{try{t.onPollChange&&o.value[t.onPollChange](b,vA?W.value:0)}catch($A){console.error($A)}},aA=vA=>{if(W.value=Number(vA),Number.isInteger(W.value)||(W.value=Math.floor(W.value)),W.value<=0||W.value>99){W.value=U.value,xt.ElMessage.warning("Incorrect input. Please input number in 1-99 seconds");return}try{t.onPollChange&&(o.value[t.onPollChange](b,W.value),U.value=W.value)}catch($A){console.error($A)}},CA=A.ref(void 0),xA=A.computed(()=>CA.value||t.height),zA=async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const vA=t.onMounted;try{o.value[vA](b)}catch($A){console.error($A)}},jA=async()=>{if(!t.onActivated||!o.value)return;const vA=t.onActivated;try{o.value[vA](b)}catch($A){console.error($A)}};A.onMounted(async()=>{await zA()}),A.onActivated(()=>{jA()}),A.onBeforeUnmount(()=>{});const Ae=A.readonly({...A.toRefs(t),setCellData:T,clearSelection:_,getData:p,getCurrentRow:g,getSelectedRows:s,addRow:G,deleteRow:q,refresh:rA,validate:h,setData:j,selectRow:V,selectRowNum:$,setTotal:E,getTotal:Q,getPagination:K,setPagination:z,setTopBtnHidden:C,setColVisible:O,setColumn:J,setRowsBtnHidden:a,pollEnabled:hA,pollInterval:W,rootRef:iA,mounted:zA,activated:jA,toggleSelection:B,type:"table"});if(t.name){const vA=zo(t.name,Ae);A.onUnmounted(()=>{vA()})}return e(Ae),(vA,$A)=>{const XA=A.resolveComponent("el-checkbox"),SA=A.resolveComponent("el-input"),MA=A.resolveComponent("el-pagination"),qA=A.resolveComponent("el-table-column"),Ce=A.resolveComponent("el-popover"),ye=A.resolveComponent("el-tooltip"),xe=A.resolveComponent("el-button");return vA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{[vA.name]:!0,"top-pagination":vA.paginationPosition==="top"}]),ref_key:"rootRef",ref:iA,id:vA.name},[vA.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"slot ,sizes, prev, pager, next",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[2]||($A[2]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[3]||($A[3]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},{default:A.withCtx(()=>[A.createElementVNode("div",Tx,[vA.showPollCheckbox?(A.openBlock(),A.createElementBlock("div",Ux,[A.createVNode(XA,{modelValue:hA.value,"onUpdate:modelValue":$A[0]||($A[0]=NA=>hA.value=NA),onChange:tA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollText),1),A.createVNode(SA,{type:"number",style:{width:"45px",height:"28px"},modelValue:W.value,"onUpdate:modelValue":$A[1]||($A[1]=NA=>W.value=NA),onChange:aA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollUnit),1)])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(A.unref(kt)(vA.totalText,{$total:r.value})),1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(xt.ElTable),{ref_key:"tableRef",ref:N,data:y.value,"highlight-current-row":"","row-key":vA.rowKey,stripe:vA.stripe,onRowClick:P,onRowDblclick:v,onSelectionChange:F,onCurrentChange:l,height:xA.value},{empty:A.withCtx(()=>[A.createElementVNode("div",Yx,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),$A[6]||($A[6]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[vA.multipleSelection?(A.openBlock(),A.createBlock(qA,{key:0,type:"selection",width:"55",selectable:k})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.columns,NA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:NA.key},[NA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(qA,{key:0,prop:NA.key,"min-width":NA.minWidth,fixed:NA.fixed||!1,sortable:NA.sortable??vA.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:NA.label},A.toDisplayString(NA.label),9,Ox)]),default:A.withCtx(({row:UA,$index:JA})=>{var de,ae,Ee,ke;return[NA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":NA.onClick}]),title:uA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(uA(NA,UA)),11,$x)):NA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",zx,[NA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(ve,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(de=gA(NA,UA))==null?void 0:de.name,color:(ae=gA(NA,UA))==null?void 0:ae.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":NA.onClick}]),title:uA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(uA(NA,UA)),11,Jx),NA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(ve,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(Ee=gA(NA,UA))==null?void 0:Ee.name,color:(ke=gA(NA,UA))==null?void 0:ke.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):NA.type==="customContent"?(A.openBlock(),A.createElementBlock("div",Zx,[A.createVNode(A.unref(rt),{list:X(NA,UA)||[]},null,8,["list"])])):(A.openBlock(),A.createElementBlock("div",{key:3,class:A.normalizeClass({"text-ellipsis":!NA.noEllipsis}),title:uA(NA,UA),style:A.normalizeStyle(mA(NA,UA))},A.toDisplayString(uA(NA,UA)),15,Wx))]}),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),lA.value&&vA.rowBtns&&vA.rowBtns.length>0?(A.openBlock(),A.createBlock(qA,{key:1,label:vA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:vA.rowBtnsWidth||(vA.rowBtns.length*34+12>100?vA.rowBtns.length*34+12:100)},{default:A.withCtx(({row:NA,$index:UA})=>[A.createElementVNode("div",jx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.rowBtns,JA=>{var de;return A.openBlock(),A.createElementBlock(A.Fragment,{key:JA.key},[JA.component==="Popover"?(A.openBlock(),A.createBlock(Ce,{key:0,title:JA.label,trigger:"click","popper-class":"btn-popover",width:(de=JA.children)!=null&&de.length&&JA.children[0].width||400},{reference:A.withCtx(()=>[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:JA.children},null,8,["list"])])]),_:2},1032,["title","width"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps({data:y.value},t,{getColText:uA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),vA.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:(vA.hiddenPagination||y.value.length===0)&&!vA.height,transparentPagination:(vA.hiddenPagination||y.value.length===0)&&vA.height,cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[4]||($A[4]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[5]||($A[5]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0)],10,Kx))}}}),[["__scopeId","data-v-c24b6d3b"]])},Symbol.toStringTag,{value:"Module"})),Xx=["id"],Vx={class:"left-part"},AS={class:"title"},eS={class:"right-part"},tS={key:0},nS={key:1,class:"switch-panel"},iS={key:3},oS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),d=n,f=A.ref(d.radioDefault??"2"),o=P=>{if(P&&e)try{e[P](t)}catch(v){console.error(v+`
|
|
1657
|
+
funcName: ${P}`)}},b=P=>{d.onRadioChange&&e&&e[d.onRadioChange](t,P)},D=()=>{I.value=!I.value,d.onCollapsed&&e&&e[d.onCollapsed](t,I.value)},I=A.ref(d.defaultCollapse??!1);A.watch(()=>d.defaultCollapse,()=>{I.value=d.defaultCollapse??!1});const S=A.ref(d.displayType||(d.typeSwitch?"card":"table")),N=Et(),T=P=>{S.value=P;const v=ln(N.schema.items,d.name),m=F=>{F.forEach(k=>{k.component==="Table"&&k.props&&(k.props.displayType=P),k.children&&k.children.length>0&&m(k.children)})};v&&v.children&&m(v.children)},O=P=>{d.handleSearch&&e&&e[d.handleSearch](t,P)},H=P=>{d.searchInputChange&&e&&e[d.searchInputChange](t,P)};return T(S.value),(P,v)=>{const m=A.resolveComponent("el-radio"),F=A.resolveComponent("el-radio-group"),k=A.resolveComponent("el-tooltip"),_=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:P.type==="gridItem"}]),style:A.normalizeStyle(P.style),id:P.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:P.type==="inline",mix:P.type==="mix",default:P.type==="default",gridItem:P.type==="gridItem",advanceSearch:P.type==="advanceSearch",collapsedPadding:I.value&&P.onCollapsed,"has-search-input":P.hasSearchInput}])},[A.createElementVNode("div",Vx,[P.mainIcon?(A.openBlock(),A.createBlock(ve,{key:0,class:"title-icon",size:"large",name:P.mainIcon.name,color:P.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",AS,A.toDisplayString(P.title),1),P.radioList?(A.openBlock(),A.createBlock(F,{key:1,class:"ml-9",modelValue:f.value,"onUpdate:modelValue":v[0]||(v[0]=p=>f.value=p),onChange:v[1]||(v[1]=p=>b(f.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(P.radioList,p=>(A.openBlock(),A.createBlock(m,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(P.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(k,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:p.name,color:p.color,onClick:u=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:p.name,color:p.color,size:p.size,onClick:u=>o(p.onClick)},null,8,["name","color","size","onClick"]))],64))),128))]),P.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:I.value&&P.onCollapsed}])},[A.createVNode(_,{modelValue:i.value,"onUpdate:modelValue":v[2]||(v[2]=p=>i.value=p),placeholder:P.searchPlaceholder,onInput:H,onKeyup:A.withKeys(O,["enter"])},{prefix:A.withCtx(()=>v[5]||(v[5]=[])),suffix:A.withCtx(()=>[A.createVNode(ve,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"small",onClick:O})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",eS,[P.formSlots?(A.openBlock(),A.createElementBlock("div",tS,[A.createVNode(A.unref(rt),{list:P.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),P.typeSwitch?(A.openBlock(),A.createElementBlock("div",nS,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="card"}]),onClick:v[3]||(v[3]=p=>T("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="table"}]),onClick:v[4]||(v[4]=p=>T("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),P.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:I.value}]),onClick:D},[A.createVNode(ve,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),P.btns&&P.btns.length>0?(A.openBlock(),A.createElementBlock("div",iS,[A.createVNode(A.unref(Nn),{btns:P.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),P.onCollapsed?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:P.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])],512),[[A.vShow,!I.value]])]),_:1}))],14,Xx)}}}),[["__scopeId","data-v-2844549a"]])},Symbol.toStringTag,{value:"Module"})),rS={key:0,class:"dropdown-icon-wrapper"},aS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Rn(),d=A.ref(!1),f=()=>{if(e.onDropdownChange){d.value=!d.value;try{t[e.onDropdownChange](i,d.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,D)=>{const I=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(I,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",rS,[A.createVNode(ve,{name:"icon-xialaliebiao",color:"#666666",onClick:f,class:A.normalizeClass({reversed:d.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",{key:1,class:"expansion-icon-wrapper",onClick:o},[A.createVNode(ve,{name:"icon-shuangxiangjiantou",color:"#666666"})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-4e826675"]])},Symbol.toStringTag,{value:"Module"})),sS={class:"content"},lS={class:"product-list"},cS={class:"attribute-list"},gS={key:0,class:"attribute-list-item"},dS={class:"product-title attribute-title"},uS={class:"attribute-item-list"},hS={class:"attribute-label"},pS={class:"attribute-value"},CS=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(bC,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",sS,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",lS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:d.label},A.toDisplayString(d.label),1))),128))]),A.createElementVNode("div",cS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:d.label},[d.children.length>0?(A.openBlock(),A.createElementBlock("div",gS,[A.createElementVNode("div",dS,A.toDisplayString(d.label),1),A.createElementVNode("div",uS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.children,f=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:f.label},[A.createElementVNode("div",hS,A.toDisplayString(f.label),1),A.createElementVNode("div",pS,A.toDisplayString(f.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),BS={key:0,class:"empty-content"},mS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.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},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var H,P;const e=n,t=A.ref(),i=A.ref([]),d=(H=e.columns.find(v=>v.position==="title"))==null?void 0:H.key,f=(P=e.columns.find(v=>v.position==="subTitle"))==null?void 0:P.key,o=e.columns.find(v=>v.position==="footer"),b=v=>{const m=[];return v.children&&v.children.length>0&&v.children.forEach(F=>{const k={label:F.PRODUCT_ITEM_NAME,children:[]};F.children&&F.children.length>0&&F.children.forEach(_=>{k.children.push({label:_.PRODUCT_ITEM_NAME,value:_.ACTION})}),m.push(k)}),m};function D(v){const m={},F=[];return v.forEach(k=>{m[k.PRODUCT_ITEM_ID]={...k,children:[]}}),v.forEach(k=>{const _=m[k.PRODUCT_ITEM_ID],B=k.PARENT_PRODUCT_ITEM_ID;B===0||!m[B]?F.push(_):m[B].children.push(_)}),F}const I=A.inject(Vn),S=I?I.translateFn:null;A.watchEffect(()=>{if(e.data){const v=D(e.data);t.value=v.map(m=>{const F={content:[]};return d&&(F.title=S?S(d,m):m[d],F.titleColor="var(--el-color-primary)"),f&&(F.subTitle=S?S(f,m):m[f]),o&&(F.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,m):m[o.key]}`}),m.children&&(F.product=b(m)),e.columns.forEach(k=>{k.position==="content"&&F.content.push({label:k.label,value:S?S(k.key,m):m[k.key]})}),F})}});let N=null;const T=A.ref(),O=A.ref(3);return A.onMounted(()=>{var v;i.value=(v=e.rowBtns)==null?void 0:v.map(m=>({icon:m.icon&&m.icon.name?m.icon.name:"icon-tishi",label:m.label,onClick:m.onClick})),N=new ResizeObserver(m=>{for(const F of m){const k=F.contentRect.width;O.value=Math.floor(k/330)||1}}),N.observe(T.value)}),A.onUnmounted(()=>{N&&T.value&&N.unobserve(T.value)}),(v,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:T,class:"card-list",style:A.normalizeStyle({"--columns":O.value,"--gap":v.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(F,k)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:k},[A.createVNode(CS,{data:F,btns:i.value,index:k},null,8,["data","btns","index"])]))),128))],4),!v.data||v.data.length===0?(A.openBlock(),A.createElementBlock("div",BS,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),m[0]||(m[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-708e193d"]])},Symbol.toStringTag,{value:"Module"})),ES={class:"progress"},QS={class:"timeline-content"},fS={class:"timeline-content__title"},IS={key:0,class:"empty-content"},wS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),d=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",ES,[A.createVNode(d,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(f,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(ve,{name:f.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",QS,[A.createElementVNode("div",fS,[A.createElementVNode("span",null,A.toDisplayString(f.title),1),A.createElementVNode("span",null,A.toDisplayString(f.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(f.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",IS,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-6b11ed96"]])},Symbol.toStringTag,{value:"Module"})),bS={class:"log-list"},yS={class:"title-part"},DS={class:"title"},vS={class:"sub-title"},kS={class:"content"},_S={key:0},MS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",bS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",yS,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((d=i.title)==null?void 0:d[0]),5),A.createElementVNode("div",DS,A.toDisplayString(i.title),1),A.createElementVNode("div",vS,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",kS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(f,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:f.style==="bold",normal:f.style==="normal"})},[A.createTextVNode(A.toDisplayString(f.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",_S," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-fe451915"]])},Symbol.toStringTag,{value:"Module"})),xS=["infinite-scroll-disabled"],SS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=Rn(),i=n,d=async()=>{try{await e[i.load](t)}catch(f){console.error(f)}};return(f,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":f.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(f.style)},[A.createVNode(A.unref(rt),{list:f.children},null,8,["list"])],12,xS)),[[b,d]])}}}),[["__scopeId","data-v-65b0b3cf"]])},Symbol.toStringTag,{value:"Module"}));mt.$options=Vn,mt.FormDesign=yC,mt.FormRender=wn,mt.PageRender=ag,mt.TableRender=rg,mt.Tree=wC,mt.default=uM,mt.findItemByName=ln,mt.provideRefManager=fC,mt.useFormInstance=Et,mt.useRuleContext=Rn,Object.defineProperties(mt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|