@ws-ui/store 0.2.6 → 0.2.8
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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +710 -709
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -31,7 +31,7 @@ __p += '`),Oe&&(B+=`' +
|
|
|
31
31
|
function print() { __p += __j.call(arguments, '') }
|
|
32
32
|
`:`;
|
|
33
33
|
`)+B+`return __p
|
|
34
|
-
}`;var be=Id(function(){return Pe(b,ee+"return "+B).apply(t,E)});if(be.source=B,ac(be))throw be;return be}function cE(n){return Fe(n).toLowerCase()}function uE(n){return Fe(n).toUpperCase()}function lE(n,o,c){if(n=Fe(n),n&&(c||o===t))return Wl(n);if(!n||!(o=Bt(o)))return n;var f=cr(n),g=cr(o),b=Ul(f,g),E=Hl(f,g)+1;return Vr(f,b,E).join("")}function fE(n,o,c){if(n=Fe(n),n&&(c||o===t))return n.slice(0,ql(n)+1);if(!n||!(o=Bt(o)))return n;var f=cr(n),g=Hl(f,cr(o))+1;return Vr(f,0,g).join("")}function dE(n,o,c){if(n=Fe(n),n&&(c||o===t))return n.replace(J,"");if(!n||!(o=Bt(o)))return n;var f=cr(n),g=Ul(f,cr(o));return Vr(f,g).join("")}function pE(n,o){var c=Ue,f=Ce;if(Ze(o)){var g="separator"in o?o.separator:g;c="length"in o?me(o.length):c,f="omission"in o?Bt(o.omission):f}n=Fe(n);var b=n.length;if(Pn(n)){var E=cr(n);b=E.length}if(c>=b)return n;var x=c-Dn(f);if(x<1)return f;var A=E?Vr(E,0,x).join(""):n.slice(0,x);if(g===t)return A+f;if(E&&(x+=A.length-x),oc(g)){if(n.slice(x).search(g)){var k,j=A;for(g.global||(g=Si(g.source,Fe(Kt.exec(g))+"g")),g.lastIndex=0;k=g.exec(j);)var B=k.index;A=A.slice(0,B===t?x:B)}}else if(n.indexOf(Bt(g),x)!=x){var V=A.lastIndexOf(g);V>-1&&(A=A.slice(0,V))}return A+f}function hE(n){return n=Fe(n),n&&Za.test(n)?n.replace(Xa,Hm):n}var gE=kn(function(n,o,c){return n+(c?" ":"")+o.toUpperCase()}),cc=$f("toUpperCase");function Fd(n,o,c){return n=Fe(n),o=c?t:o,o===t?km(n)?Ym(n):Am(n):n.match(o)||[]}var Id=_e(function(n,o){try{return kt(n,t,o)}catch(c){return ac(c)?c:new pe(c)}}),vE=xr(function(n,o){return Xt(o,function(c){c=yr(c),wr(n,c,rc(n[c],n))}),n});function mE(n){var o=n==null?0:n.length,c=re();return n=o?Ke(n,function(f){if(typeof f[1]!="function")throw new Zt(u);return[c(f[0]),f[1]]}):[],_e(function(f){for(var g=-1;++g<o;){var b=n[g];if(kt(b[0],this,f))return kt(b[1],this,f)}})}function yE(n){return Hy(er(n,v))}function uc(n){return function(){return n}}function bE(n,o){return n==null||n!==n?o:n}var _E=Lf(),SE=Lf(!0);function Lt(n){return n}function lc(n){return df(typeof n=="function"?n:er(n,v))}function EE(n){return hf(er(n,v))}function TE(n,o){return gf(n,er(o,v))}var wE=_e(function(n,o){return function(c){return ya(c,n,o)}}),CE=_e(function(n,o){return function(c){return ya(n,c,o)}});function fc(n,o,c){var f=dt(o),g=Co(o,f);c==null&&!(Ze(o)&&(g.length||!f.length))&&(c=o,o=n,n=this,g=Co(o,dt(o)));var b=!(Ze(c)&&"chain"in c)||!!c.chain,E=Rr(n);return Xt(g,function(x){var A=o[x];n[x]=A,E&&(n.prototype[x]=function(){var k=this.__chain__;if(b||k){var j=n(this.__wrapped__),B=j.__actions__=It(this.__actions__);return B.push({func:A,args:arguments,thisArg:n}),j.__chain__=k,j}return A.apply(n,Ur([this.value()],arguments))})}),n}function xE(){return gt._===this&&(gt._=Zm),this}function dc(){}function OE(n){return n=me(n),_e(function(o){return vf(o,n)})}var RE=Hi(Ke),AE=Hi(Ll),PE=Hi(hi);function $d(n){return Ji(n)?gi(yr(n)):sb(n)}function DE(n){return function(o){return n==null?t:mn(n,o)}}var FE=kf(),IE=kf(!0);function pc(){return[]}function hc(){return!1}function $E(){return{}}function ME(){return""}function LE(){return!0}function NE(n,o){if(n=me(n),n<1||n>rt)return[];var c=q,f=bt(n,q);o=re(o),n-=q;for(var g=yi(f,o);++c<n;)o(c);return g}function kE(n){return ve(n)?Ke(n,yr):Wt(n)?[n]:It(ed(Fe(n)))}function jE(n){var o=++Jm;return Fe(n)+o}var BE=Do(function(n,o){return n+o},0),WE=Gi("ceil"),UE=Do(function(n,o){return n/o},1),HE=Gi("floor");function GE(n){return n&&n.length?wo(n,Lt,Ai):t}function qE(n,o){return n&&n.length?wo(n,re(o,2),Ai):t}function YE(n){return jl(n,Lt)}function zE(n,o){return jl(n,re(o,2))}function VE(n){return n&&n.length?wo(n,Lt,Ii):t}function KE(n,o){return n&&n.length?wo(n,re(o,2),Ii):t}var JE=Do(function(n,o){return n*o},1),XE=Gi("round"),ZE=Do(function(n,o){return n-o},0);function QE(n){return n&&n.length?mi(n,Lt):0}function eT(n,o){return n&&n.length?mi(n,re(o,2)):0}return y.after=E_,y.ary=fd,y.assign=uS,y.assignIn=Cd,y.assignInWith=Go,y.assignWith=lS,y.at=fS,y.before=dd,y.bind=rc,y.bindAll=vE,y.bindKey=pd,y.castArray=$_,y.chain=cd,y.chunk=Hb,y.compact=Gb,y.concat=qb,y.cond=mE,y.conforms=yE,y.constant=uc,y.countBy=Q0,y.create=dS,y.curry=hd,y.curryRight=gd,y.debounce=vd,y.defaults=pS,y.defaultsDeep=hS,y.defer=T_,y.delay=w_,y.difference=Yb,y.differenceBy=zb,y.differenceWith=Vb,y.drop=Kb,y.dropRight=Jb,y.dropRightWhile=Xb,y.dropWhile=Zb,y.fill=Qb,y.filter=t_,y.flatMap=a_,y.flatMapDeep=o_,y.flatMapDepth=s_,y.flatten=ad,y.flattenDeep=e0,y.flattenDepth=t0,y.flip=C_,y.flow=_E,y.flowRight=SE,y.fromPairs=r0,y.functions=SS,y.functionsIn=ES,y.groupBy=i_,y.initial=a0,y.intersection=o0,y.intersectionBy=s0,y.intersectionWith=i0,y.invert=wS,y.invertBy=CS,y.invokeMap=u_,y.iteratee=lc,y.keyBy=l_,y.keys=dt,y.keysIn=Mt,y.map=ko,y.mapKeys=OS,y.mapValues=RS,y.matches=EE,y.matchesProperty=TE,y.memoize=Bo,y.merge=AS,y.mergeWith=xd,y.method=wE,y.methodOf=CE,y.mixin=fc,y.negate=Wo,y.nthArg=OE,y.omit=PS,y.omitBy=DS,y.once=x_,y.orderBy=f_,y.over=RE,y.overArgs=O_,y.overEvery=AE,y.overSome=PE,y.partial=nc,y.partialRight=md,y.partition=d_,y.pick=FS,y.pickBy=Od,y.property=$d,y.propertyOf=DE,y.pull=f0,y.pullAll=sd,y.pullAllBy=d0,y.pullAllWith=p0,y.pullAt=h0,y.range=FE,y.rangeRight=IE,y.rearg=R_,y.reject=g_,y.remove=g0,y.rest=A_,y.reverse=ec,y.sampleSize=m_,y.set=$S,y.setWith=MS,y.shuffle=y_,y.slice=v0,y.sortBy=S_,y.sortedUniq=T0,y.sortedUniqBy=w0,y.split=aE,y.spread=P_,y.tail=C0,y.take=x0,y.takeRight=O0,y.takeRightWhile=R0,y.takeWhile=A0,y.tap=G0,y.throttle=D_,y.thru=No,y.toArray=Ed,y.toPairs=Rd,y.toPairsIn=Ad,y.toPath=kE,y.toPlainObject=wd,y.transform=LS,y.unary=F_,y.union=P0,y.unionBy=D0,y.unionWith=F0,y.uniq=I0,y.uniqBy=$0,y.uniqWith=M0,y.unset=NS,y.unzip=tc,y.unzipWith=id,y.update=kS,y.updateWith=jS,y.values=Wn,y.valuesIn=BS,y.without=L0,y.words=Fd,y.wrap=I_,y.xor=N0,y.xorBy=k0,y.xorWith=j0,y.zip=B0,y.zipObject=W0,y.zipObjectDeep=U0,y.zipWith=H0,y.entries=Rd,y.entriesIn=Ad,y.extend=Cd,y.extendWith=Go,fc(y,y),y.add=BE,y.attempt=Id,y.camelCase=GS,y.capitalize=Pd,y.ceil=WE,y.clamp=WS,y.clone=M_,y.cloneDeep=N_,y.cloneDeepWith=k_,y.cloneWith=L_,y.conformsTo=j_,y.deburr=Dd,y.defaultTo=bE,y.divide=UE,y.endsWith=qS,y.eq=lr,y.escape=YS,y.escapeRegExp=zS,y.every=e_,y.find=r_,y.findIndex=rd,y.findKey=gS,y.findLast=n_,y.findLastIndex=nd,y.findLastKey=vS,y.floor=HE,y.forEach=ud,y.forEachRight=ld,y.forIn=mS,y.forInRight=yS,y.forOwn=bS,y.forOwnRight=_S,y.get=sc,y.gt=B_,y.gte=W_,y.has=TS,y.hasIn=ic,y.head=od,y.identity=Lt,y.includes=c_,y.indexOf=n0,y.inRange=US,y.invoke=xS,y.isArguments=_n,y.isArray=ve,y.isArrayBuffer=U_,y.isArrayLike=$t,y.isArrayLikeObject=nt,y.isBoolean=H_,y.isBuffer=Kr,y.isDate=G_,y.isElement=q_,y.isEmpty=Y_,y.isEqual=z_,y.isEqualWith=V_,y.isError=ac,y.isFinite=K_,y.isFunction=Rr,y.isInteger=yd,y.isLength=Uo,y.isMap=bd,y.isMatch=J_,y.isMatchWith=X_,y.isNaN=Z_,y.isNative=Q_,y.isNil=tS,y.isNull=eS,y.isNumber=_d,y.isObject=Ze,y.isObjectLike=tt,y.isPlainObject=wa,y.isRegExp=oc,y.isSafeInteger=rS,y.isSet=Sd,y.isString=Ho,y.isSymbol=Wt,y.isTypedArray=Bn,y.isUndefined=nS,y.isWeakMap=aS,y.isWeakSet=oS,y.join=c0,y.kebabCase=VS,y.last=rr,y.lastIndexOf=u0,y.lowerCase=KS,y.lowerFirst=JS,y.lt=sS,y.lte=iS,y.max=GE,y.maxBy=qE,y.mean=YE,y.meanBy=zE,y.min=VE,y.minBy=KE,y.stubArray=pc,y.stubFalse=hc,y.stubObject=$E,y.stubString=ME,y.stubTrue=LE,y.multiply=JE,y.nth=l0,y.noConflict=xE,y.noop=dc,y.now=jo,y.pad=XS,y.padEnd=ZS,y.padStart=QS,y.parseInt=eE,y.random=HS,y.reduce=p_,y.reduceRight=h_,y.repeat=tE,y.replace=rE,y.result=IS,y.round=XE,y.runInContext=O,y.sample=v_,y.size=b_,y.snakeCase=nE,y.some=__,y.sortedIndex=m0,y.sortedIndexBy=y0,y.sortedIndexOf=b0,y.sortedLastIndex=_0,y.sortedLastIndexBy=S0,y.sortedLastIndexOf=E0,y.startCase=oE,y.startsWith=sE,y.subtract=ZE,y.sum=QE,y.sumBy=eT,y.template=iE,y.times=NE,y.toFinite=Ar,y.toInteger=me,y.toLength=Td,y.toLower=cE,y.toNumber=nr,y.toSafeInteger=cS,y.toString=Fe,y.toUpper=uE,y.trim=lE,y.trimEnd=fE,y.trimStart=dE,y.truncate=pE,y.unescape=hE,y.uniqueId=jE,y.upperCase=gE,y.upperFirst=cc,y.each=ud,y.eachRight=ld,y.first=od,fc(y,function(){var n={};return vr(y,function(o,c){je.call(y.prototype,c)||(n[c]=o)}),n}(),{chain:!1}),y.VERSION=a,Xt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){y[n].placeholder=y}),Xt(["drop","take"],function(n,o){we.prototype[n]=function(c){c=c===t?1:ut(me(c),0);var f=this.__filtered__&&!o?new we(this):this.clone();return f.__filtered__?f.__takeCount__=bt(c,f.__takeCount__):f.__views__.push({size:bt(c,q),type:n+(f.__dir__<0?"Right":"")}),f},we.prototype[n+"Right"]=function(c){return this.reverse()[n](c).reverse()}}),Xt(["filter","map","takeWhile"],function(n,o){var c=o+1,f=c==De||c==Qe;we.prototype[n]=function(g){var b=this.clone();return b.__iteratees__.push({iteratee:re(g,3),type:c}),b.__filtered__=b.__filtered__||f,b}}),Xt(["head","last"],function(n,o){var c="take"+(o?"Right":"");we.prototype[n]=function(){return this[c](1).value()[0]}}),Xt(["initial","tail"],function(n,o){var c="drop"+(o?"":"Right");we.prototype[n]=function(){return this.__filtered__?new we(this):this[c](1)}}),we.prototype.compact=function(){return this.filter(Lt)},we.prototype.find=function(n){return this.filter(n).head()},we.prototype.findLast=function(n){return this.reverse().find(n)},we.prototype.invokeMap=_e(function(n,o){return typeof n=="function"?new we(this):this.map(function(c){return ya(c,n,o)})}),we.prototype.reject=function(n){return this.filter(Wo(re(n)))},we.prototype.slice=function(n,o){n=me(n);var c=this;return c.__filtered__&&(n>0||o<0)?new we(c):(n<0?c=c.takeRight(-n):n&&(c=c.drop(n)),o!==t&&(o=me(o),c=o<0?c.dropRight(-o):c.take(o-n)),c)},we.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},we.prototype.toArray=function(){return this.take(q)},vr(we.prototype,function(n,o){var c=/^(?:filter|find|map|reject)|While$/.test(o),f=/^(?:head|last)$/.test(o),g=y[f?"take"+(o=="last"?"Right":""):o],b=f||/^find/.test(o);g&&(y.prototype[o]=function(){var E=this.__wrapped__,x=f?[1]:arguments,A=E instanceof we,k=x[0],j=A||ve(E),B=function(Te){var Oe=g.apply(y,Ur([Te],x));return f&&V?Oe[0]:Oe};j&&c&&typeof k=="function"&&k.length!=1&&(A=j=!1);var V=this.__chain__,ee=!!this.__actions__.length,ae=b&&!V,be=A&&!ee;if(!b&&j){E=be?E:new we(this);var oe=n.apply(E,x);return oe.__actions__.push({func:No,args:[B],thisArg:t}),new Qt(oe,V)}return ae&&be?n.apply(this,x):(oe=this.thru(B),ae?f?oe.value()[0]:oe.value():oe)})}),Xt(["pop","push","shift","sort","splice","unshift"],function(n){var o=co[n],c=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",f=/^(?:pop|shift)$/.test(n);y.prototype[n]=function(){var g=arguments;if(f&&!this.__chain__){var b=this.value();return o.apply(ve(b)?b:[],g)}return this[c](function(E){return o.apply(ve(E)?E:[],g)})}}),vr(we.prototype,function(n,o){var c=y[o];if(c){var f=c.name+"";je.call(Mn,f)||(Mn[f]=[]),Mn[f].push({name:o,func:c})}}),Mn[Po(t,P).name]=[{name:"wrapper",func:t}],we.prototype.clone=hy,we.prototype.reverse=gy,we.prototype.value=vy,y.prototype.at=q0,y.prototype.chain=Y0,y.prototype.commit=z0,y.prototype.next=V0,y.prototype.plant=J0,y.prototype.reverse=X0,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=Z0,y.prototype.first=y.prototype.head,fa&&(y.prototype[fa]=K0),y},Fn=zm();dn?((dn.exports=Fn)._=Fn,li._=Fn):gt._=Fn}).call(Dr)})(hs,hs.exports);var Re=hs.exports;const u1=xs(Re),Rs=2e3,Iu={tabs:[],activeTab:"",recent:[],roles:{roles:{},privileges:{},flags:{touched:!1},selectedTab:"roles",forceLogin:!1},sharedCSS:{state:"loading",styles:[]},debugger:{meta:{state:Xr.DETACHED},list:[],sessions:[],expressions:[]},webforms:{templates:{selectedGroup:"",data:[]},components:[],inspector:{css:{active:!1},datasource:{active:!1}},datasources:{theme:"grey"},flags:{"sidebar.section.resizable":!0}}},bh="4DWS_PREFS",_h=e=>`APP_STATE_${e}`,Sh=()=>{var e,r;return((r=(e=window==null?void 0:window.$$datastores)==null?void 0:e.ds)==null?void 0:r.getBaseID())||""};function Eh(e){try{const r=Sh(),t=JSON.stringify(e);localStorage.setItem(_h(r),t)}catch(r){console.error(r)}}function Th(e){try{const r=JSON.stringify(e);localStorage.setItem(bh,r)}catch(r){console.error(r)}}function $u(){try{const e=localStorage.getItem(bh);if(e)return JSON.parse(e)}catch(e){console.error(e)}}function Xn(){const e=Sh(),r=localStorage.getItem(_h(e));if(r){const t=JSON.parse(r);return t.tabs=t.tabs.map(a=>({...a,flags:{...a.flags,enabled:!0}})),t}return Iu}function As(e){const{name:r,type:t,path:a}=e,s=a.split(".").at(-1);switch(t){case m.FileFolderType.WEBFORM:return`${r}`;case m.FileFolderType.METHOD:case m.FileFolderType.CLASS:return s?`${r}.${s}`:r;case m.FileFolderType.ROLES:return r;default:return`${r}.${t}`}}const wh=e=>{if(!e)return[];const r=new Map;return e.dataClasses.forEach(t=>{var i,u;const a=t.extraProperties||{},s={id:t.className,type:"table",position:{x:((i=a.position)==null?void 0:i.x)||0,y:((u=a.position)==null?void 0:u.y)||0},dragHandle:".custom-drag-handle",data:t};r.set(t.name,s)}),Array.from(r.values())};function Ch(e){return e?["json","4dmodel","webform","mform","qodoc"].includes(e.toLowerCase()):!1}function xh(e,r){return{...e,components:Object.entries(e.components||{}).reduce((t,[a,s])=>({...t,[a]:{...s,custom:Object.entries(s.custom).reduce((i,[u,l])=>u===`states:${r}`?i:{...i,[u]:l},{}),props:Object.entries(s.props).reduce((i,[u,l])=>{let d=l;return u==="events"&&(d=d.map(p=>{var h,v;return p.type==="simple-action"?{...p,state:{...p.state,states:(v=(h=p.state)==null?void 0:h.states)==null?void 0:v.filter(_=>_!==r)}}:p})),{...i,[u]:d}},{})}}),{}),metadata:{...e.metadata,states:e.metadata.states.filter(t=>t.id!==r)}}}const l1=(e,r)=>Re.isEqual(e,r);function f1(){this.__data__=[],this.size=0}var d1=f1;function p1(e,r){return e===r||e!==e&&r!==r}var h1=p1,g1=h1;function v1(e,r){for(var t=e.length;t--;)if(g1(e[t][0],r))return t;return-1}var Ps=v1,m1=Ps,y1=Array.prototype,b1=y1.splice;function _1(e){var r=this.__data__,t=m1(r,e);if(t<0)return!1;var a=r.length-1;return t==a?r.pop():b1.call(r,t,1),--this.size,!0}var S1=_1,E1=Ps;function T1(e){var r=this.__data__,t=E1(r,e);return t<0?void 0:r[t][1]}var w1=T1,C1=Ps;function x1(e){return C1(this.__data__,e)>-1}var O1=x1,R1=Ps;function A1(e,r){var t=this.__data__,a=R1(t,e);return a<0?(++this.size,t.push([e,r])):t[a][1]=r,this}var P1=A1,D1=d1,F1=S1,I1=w1,$1=O1,M1=P1;function Zn(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}Zn.prototype.clear=D1;Zn.prototype.delete=F1;Zn.prototype.get=I1;Zn.prototype.has=$1;Zn.prototype.set=M1;var Ds=Zn,L1=Ds;function N1(){this.__data__=new L1,this.size=0}var k1=N1;function j1(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}var B1=j1;function W1(e){return this.__data__.get(e)}var U1=W1;function H1(e){return this.__data__.has(e)}var G1=H1,q1=Os,Y1=Ha,z1="[object AsyncFunction]",V1="[object Function]",K1="[object GeneratorFunction]",J1="[object Proxy]";function X1(e){if(!Y1(e))return!1;var r=q1(e);return r==V1||r==K1||r==z1||r==J1}var Z1=X1,Q1=_r,eC=Q1["__core-js_shared__"],tC=eC,Cc=tC,ap=function(){var e=/[^.]+$/.exec(Cc&&Cc.keys&&Cc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function rC(e){return!!ap&&ap in e}var nC=rC,aC=Function.prototype,oC=aC.toString;function sC(e){if(e!=null){try{return oC.call(e)}catch{}try{return e+""}catch{}}return""}var Oh=sC,iC=Z1,cC=nC,uC=Ha,lC=Oh,fC=/[\\^$.*+?()[\]{}|]/g,dC=/^\[object .+?Constructor\]$/,pC=Function.prototype,hC=Object.prototype,gC=pC.toString,vC=hC.hasOwnProperty,mC=RegExp("^"+gC.call(vC).replace(fC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yC(e){if(!uC(e)||cC(e))return!1;var r=iC(e)?mC:dC;return r.test(lC(e))}var bC=yC;function _C(e,r){return e==null?void 0:e[r]}var SC=_C,EC=bC,TC=SC;function wC(e,r){var t=TC(e,r);return EC(t)?t:void 0}var Qn=wC,CC=Qn,xC=_r,OC=CC(xC,"Map"),Mu=OC,RC=Qn,AC=RC(Object,"create"),Fs=AC,op=Fs;function PC(){this.__data__=op?op(null):{},this.size=0}var DC=PC;function FC(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var IC=FC,$C=Fs,MC="__lodash_hash_undefined__",LC=Object.prototype,NC=LC.hasOwnProperty;function kC(e){var r=this.__data__;if($C){var t=r[e];return t===MC?void 0:t}return NC.call(r,e)?r[e]:void 0}var jC=kC,BC=Fs,WC=Object.prototype,UC=WC.hasOwnProperty;function HC(e){var r=this.__data__;return BC?r[e]!==void 0:UC.call(r,e)}var GC=HC,qC=Fs,YC="__lodash_hash_undefined__";function zC(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=qC&&r===void 0?YC:r,this}var VC=zC,KC=DC,JC=IC,XC=jC,ZC=GC,QC=VC;function ea(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}ea.prototype.clear=KC;ea.prototype.delete=JC;ea.prototype.get=XC;ea.prototype.has=ZC;ea.prototype.set=QC;var ex=ea,sp=ex,tx=Ds,rx=Mu;function nx(){this.size=0,this.__data__={hash:new sp,map:new(rx||tx),string:new sp}}var ax=nx;function ox(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var sx=ox,ix=sx;function cx(e,r){var t=e.__data__;return ix(r)?t[typeof r=="string"?"string":"hash"]:t.map}var Is=cx,ux=Is;function lx(e){var r=ux(this,e).delete(e);return this.size-=r?1:0,r}var fx=lx,dx=Is;function px(e){return dx(this,e).get(e)}var hx=px,gx=Is;function vx(e){return gx(this,e).has(e)}var mx=vx,yx=Is;function bx(e,r){var t=yx(this,e),a=t.size;return t.set(e,r),this.size+=t.size==a?0:1,this}var _x=bx,Sx=ax,Ex=fx,Tx=hx,wx=mx,Cx=_x;function ta(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}ta.prototype.clear=Sx;ta.prototype.delete=Ex;ta.prototype.get=Tx;ta.prototype.has=wx;ta.prototype.set=Cx;var Rh=ta,xx=Ds,Ox=Mu,Rx=Rh,Ax=200;function Px(e,r){var t=this.__data__;if(t instanceof xx){var a=t.__data__;if(!Ox||a.length<Ax-1)return a.push([e,r]),this.size=++t.size,this;t=this.__data__=new Rx(a)}return t.set(e,r),this.size=t.size,this}var Dx=Px,Fx=Ds,Ix=k1,$x=B1,Mx=U1,Lx=G1,Nx=Dx;function Ga(e){var r=this.__data__=new Fx(e);this.size=r.size}Ga.prototype.clear=Ix;Ga.prototype.delete=$x;Ga.prototype.get=Mx;Ga.prototype.has=Lx;Ga.prototype.set=Nx;var kx="__lodash_hash_undefined__";function jx(e){return this.__data__.set(e,kx),this}var Bx=jx;function Wx(e){return this.__data__.has(e)}var Ux=Wx,Hx=Rh,Gx=Bx,qx=Ux;function Jc(e){var r=-1,t=e==null?0:e.length;for(this.__data__=new Hx;++r<t;)this.add(e[r])}Jc.prototype.add=Jc.prototype.push=Gx;Jc.prototype.has=qx;var Yx=_r;Yx.Uint8Array;var ip=Du,cp=ip?ip.prototype:void 0;cp&&cp.valueOf;var zx=Os,Vx=Fu,Kx="[object Arguments]";function Jx(e){return Vx(e)&&zx(e)==Kx}var Xx=Jx,up=Xx,Zx=Fu,Ah=Object.prototype,Qx=Ah.hasOwnProperty,eO=Ah.propertyIsEnumerable;up(function(){return arguments}());var gs={exports:{}};function tO(){return!1}var rO=tO;gs.exports;(function(e,r){var t=_r,a=rO,s=r&&!r.nodeType&&r,i=s&&!0&&e&&!e.nodeType&&e,u=i&&i.exports===s,l=u?t.Buffer:void 0,d=l?l.isBuffer:void 0,p=d||a;e.exports=p})(gs,gs.exports);gs.exports;var vs={exports:{}};vs.exports;(function(e,r){var t=gh,a=r&&!r.nodeType&&r,s=a&&!0&&e&&!e.nodeType&&e,i=s&&s.exports===a,u=i&&t.process,l=function(){try{var d=s&&s.require&&s.require("util").types;return d||u&&u.binding&&u.binding("util")}catch{}}();e.exports=l})(vs,vs.exports);var nO=vs.exports,lp=nO;lp&&lp.isTypedArray;var aO=Qn,oO=_r,sO=aO(oO,"DataView"),iO=sO,cO=Qn,uO=_r,lO=cO(uO,"Promise"),fO=lO,dO=Qn,pO=_r,hO=dO(pO,"Set"),gO=hO,vO=Qn,mO=_r,yO=vO(mO,"WeakMap"),bO=yO,Xc=iO,Zc=Mu,Qc=fO,eu=gO,tu=bO,Ph=Os,ra=Oh,fp="[object Map]",_O="[object Object]",dp="[object Promise]",pp="[object Set]",hp="[object WeakMap]",gp="[object DataView]",SO=ra(Xc),EO=ra(Zc),TO=ra(Qc),wO=ra(eu),CO=ra(tu),Un=Ph;(Xc&&Un(new Xc(new ArrayBuffer(1)))!=gp||Zc&&Un(new Zc)!=fp||Qc&&Un(Qc.resolve())!=dp||eu&&Un(new eu)!=pp||tu&&Un(new tu)!=hp)&&(Un=function(e){var r=Ph(e),t=r==_O?e.constructor:void 0,a=t?ra(t):"";if(a)switch(a){case SO:return gp;case EO:return fp;case TO:return dp;case wO:return pp;case CO:return hp}return r});const xO="ROOT";iT(),sT();var vp;(function(e){e[e.HandlerDisabled=0]="HandlerDisabled",e[e.HandlerEnabled=1]="HandlerEnabled"})(vp||(vp={}));function Lu(e){return`Debugger/${e}`}function Dh(e,r){var a;const t=(a=r.name)==null?void 0:a.replace(/\.(4dm|4qs)$/,"");return`#${e} ${t}`}const OO=typeof process=="object"&&process&&process.platform==="win32";var RO=OO?{sep:"\\"}:{sep:"/"},AO=Fh;function Fh(e,r,t){e instanceof RegExp&&(e=mp(e,t)),r instanceof RegExp&&(r=mp(r,t));var a=Ih(e,r,t);return a&&{start:a[0],end:a[1],pre:t.slice(0,a[0]),body:t.slice(a[0]+e.length,a[1]),post:t.slice(a[1]+r.length)}}function mp(e,r){var t=r.match(e);return t?t[0]:null}Fh.range=Ih;function Ih(e,r,t){var a,s,i,u,l,d=t.indexOf(e),p=t.indexOf(r,d+1),h=d;if(d>=0&&p>0){if(e===r)return[d,p];for(a=[],i=t.length;h>=0&&!l;)h==d?(a.push(h),d=t.indexOf(e,h+1)):a.length==1?l=[a.pop(),p]:(s=a.pop(),s<i&&(i=s,u=p),p=t.indexOf(r,h+1)),h=d<p&&d>=0?d:p;a.length&&(l=[i,u])}return l}var $h=AO,PO=IO,Mh="\0SLASH"+Math.random()+"\0",Lh="\0OPEN"+Math.random()+"\0",Nu="\0CLOSE"+Math.random()+"\0",Nh="\0COMMA"+Math.random()+"\0",kh="\0PERIOD"+Math.random()+"\0";function xc(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function DO(e){return e.split("\\\\").join(Mh).split("\\{").join(Lh).split("\\}").join(Nu).split("\\,").join(Nh).split("\\.").join(kh)}function FO(e){return e.split(Mh).join("\\").split(Lh).join("{").split(Nu).join("}").split(Nh).join(",").split(kh).join(".")}function jh(e){if(!e)return[""];var r=[],t=$h("{","}",e);if(!t)return e.split(",");var a=t.pre,s=t.body,i=t.post,u=a.split(",");u[u.length-1]+="{"+s+"}";var l=jh(i);return i.length&&(u[u.length-1]+=l.shift(),u.push.apply(u,l)),r.push.apply(r,u),r}function IO(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),Ra(DO(e),!0).map(FO)):[]}function $O(e){return"{"+e+"}"}function MO(e){return/^-?0\d/.test(e)}function LO(e,r){return e<=r}function NO(e,r){return e>=r}function Ra(e,r){var t=[],a=$h("{","}",e);if(!a)return[e];var s=a.pre,i=a.post.length?Ra(a.post,!1):[""];if(/\$$/.test(a.pre))for(var u=0;u<i.length;u++){var l=s+"{"+a.body+"}"+i[u];t.push(l)}else{var d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body),p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body),h=d||p,v=a.body.indexOf(",")>=0;if(!h&&!v)return a.post.match(/,.*\}/)?(e=a.pre+"{"+a.body+Nu+a.post,Ra(e)):[e];var _;if(h)_=a.body.split(/\.\./);else if(_=jh(a.body),_.length===1&&(_=Ra(_[0],!1).map($O),_.length===1))return i.map(function(Ue){return a.pre+_[0]+Ue});var S;if(h){var w=xc(_[0]),T=xc(_[1]),D=Math.max(_[0].length,_[1].length),P=_.length==3?Math.abs(xc(_[2])):1,L=LO,I=T<w;I&&(P*=-1,L=NO);var N=_.some(MO);S=[];for(var R=w;L(R,T);R+=P){var z;if(p)z=String.fromCharCode(R),z==="\\"&&(z="");else if(z=String(R),N){var G=D-z.length;if(G>0){var Y=new Array(G+1).join("0");R<0?z="-"+Y+z.slice(1):z=Y+z}}S.push(z)}}else{S=[];for(var te=0;te<_.length;te++)S.push.apply(S,Ra(_[te],!1))}for(var te=0;te<S.length;te++)for(var u=0;u<i.length;u++){var l=s+S[te]+i[u];(!r||h||l)&&t.push(l)}}return t}const Gt=Bh=(e,r,t={})=>(ms(r),!t.nocomment&&r.charAt(0)==="#"?!1:new $s(r,t).match(e));var Bh=Gt;const ru=RO;Gt.sep=ru.sep;const dr=Symbol("globstar **");Gt.GLOBSTAR=dr;const kO=PO,yp={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},nu="[^/]",Oc=nu+"*?",jO="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",BO="(?:(?!(?:\\/|^)\\.).)*?",Wh=e=>e.split("").reduce((r,t)=>(r[t]=!0,r),{}),bp=Wh("().*{}+?[]^$\\!"),WO=Wh("[.("),_p=/\/+/;Gt.filter=(e,r={})=>(t,a,s)=>Gt(t,e,r);const Jr=(e,r={})=>{const t={};return Object.keys(e).forEach(a=>t[a]=e[a]),Object.keys(r).forEach(a=>t[a]=r[a]),t};Gt.defaults=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return Gt;const r=Gt,t=(a,s,i)=>r(a,s,Jr(e,i));return t.Minimatch=class extends r.Minimatch{constructor(s,i){super(s,Jr(e,i))}},t.Minimatch.defaults=a=>r.defaults(Jr(e,a)).Minimatch,t.filter=(a,s)=>r.filter(a,Jr(e,s)),t.defaults=a=>r.defaults(Jr(e,a)),t.makeRe=(a,s)=>r.makeRe(a,Jr(e,s)),t.braceExpand=(a,s)=>r.braceExpand(a,Jr(e,s)),t.match=(a,s,i)=>r.match(a,s,Jr(e,i)),t};Gt.braceExpand=(e,r)=>Uh(e,r);const Uh=(e,r={})=>(ms(e),r.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:kO(e)),UO=1024*64,ms=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>UO)throw new TypeError("pattern is too long")},Rc=Symbol("subparse");Gt.makeRe=(e,r)=>new $s(e,r||{}).makeRe();Gt.match=(e,r,t={})=>{const a=new $s(r,t);return e=e.filter(s=>a.match(s)),a.options.nonull&&!e.length&&e.push(r),e};const HO=e=>e.replace(/\\(.)/g,"$1"),GO=e=>e.replace(/\\([^-\]])/g,"$1"),qO=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),YO=e=>e.replace(/[[\]\\]/g,"\\$&");class $s{constructor(r,t){ms(r),t||(t={}),this.options=t,this.set=[],this.pattern=r,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){const r=this.pattern,t=this.options;if(!t.nocomment&&r.charAt(0)==="#"){this.comment=!0;return}if(!r){this.empty=!0;return}this.parseNegate();let a=this.globSet=this.braceExpand();t.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,a),a=this.globParts=a.map(s=>s.split(_p)),this.debug(this.pattern,a),a=a.map((s,i,u)=>s.map(this.parse,this)),this.debug(this.pattern,a),a=a.filter(s=>s.indexOf(!1)===-1),this.debug(this.pattern,a),this.set=a}parseNegate(){if(this.options.nonegate)return;const r=this.pattern;let t=!1,a=0;for(let s=0;s<r.length&&r.charAt(s)==="!";s++)t=!t,a++;a&&(this.pattern=r.slice(a)),this.negate=t}matchOne(r,t,a){var s=this.options;this.debug("matchOne",{this:this,file:r,pattern:t}),this.debug("matchOne",r.length,t.length);for(var i=0,u=0,l=r.length,d=t.length;i<l&&u<d;i++,u++){this.debug("matchOne loop");var p=t[u],h=r[i];if(this.debug(t,p,h),p===!1)return!1;if(p===dr){this.debug("GLOBSTAR",[t,p,h]);var v=i,_=u+1;if(_===d){for(this.debug("** at the end");i<l;i++)if(r[i]==="."||r[i]===".."||!s.dot&&r[i].charAt(0)===".")return!1;return!0}for(;v<l;){var S=r[v];if(this.debug(`
|
|
34
|
+
}`;var be=Id(function(){return Pe(b,ee+"return "+B).apply(t,E)});if(be.source=B,ac(be))throw be;return be}function cE(n){return Fe(n).toLowerCase()}function uE(n){return Fe(n).toUpperCase()}function lE(n,o,c){if(n=Fe(n),n&&(c||o===t))return Wl(n);if(!n||!(o=Bt(o)))return n;var f=cr(n),g=cr(o),b=Ul(f,g),E=Hl(f,g)+1;return Vr(f,b,E).join("")}function fE(n,o,c){if(n=Fe(n),n&&(c||o===t))return n.slice(0,ql(n)+1);if(!n||!(o=Bt(o)))return n;var f=cr(n),g=Hl(f,cr(o))+1;return Vr(f,0,g).join("")}function dE(n,o,c){if(n=Fe(n),n&&(c||o===t))return n.replace(J,"");if(!n||!(o=Bt(o)))return n;var f=cr(n),g=Ul(f,cr(o));return Vr(f,g).join("")}function pE(n,o){var c=Ue,f=Ce;if(Ze(o)){var g="separator"in o?o.separator:g;c="length"in o?me(o.length):c,f="omission"in o?Bt(o.omission):f}n=Fe(n);var b=n.length;if(Pn(n)){var E=cr(n);b=E.length}if(c>=b)return n;var x=c-Dn(f);if(x<1)return f;var A=E?Vr(E,0,x).join(""):n.slice(0,x);if(g===t)return A+f;if(E&&(x+=A.length-x),oc(g)){if(n.slice(x).search(g)){var k,j=A;for(g.global||(g=Si(g.source,Fe(Kt.exec(g))+"g")),g.lastIndex=0;k=g.exec(j);)var B=k.index;A=A.slice(0,B===t?x:B)}}else if(n.indexOf(Bt(g),x)!=x){var V=A.lastIndexOf(g);V>-1&&(A=A.slice(0,V))}return A+f}function hE(n){return n=Fe(n),n&&Za.test(n)?n.replace(Xa,Hm):n}var gE=kn(function(n,o,c){return n+(c?" ":"")+o.toUpperCase()}),cc=$f("toUpperCase");function Fd(n,o,c){return n=Fe(n),o=c?t:o,o===t?km(n)?Ym(n):Am(n):n.match(o)||[]}var Id=_e(function(n,o){try{return kt(n,t,o)}catch(c){return ac(c)?c:new pe(c)}}),vE=xr(function(n,o){return Xt(o,function(c){c=yr(c),wr(n,c,rc(n[c],n))}),n});function mE(n){var o=n==null?0:n.length,c=re();return n=o?Ke(n,function(f){if(typeof f[1]!="function")throw new Zt(u);return[c(f[0]),f[1]]}):[],_e(function(f){for(var g=-1;++g<o;){var b=n[g];if(kt(b[0],this,f))return kt(b[1],this,f)}})}function yE(n){return Hy(er(n,v))}function uc(n){return function(){return n}}function bE(n,o){return n==null||n!==n?o:n}var _E=Lf(),SE=Lf(!0);function Lt(n){return n}function lc(n){return df(typeof n=="function"?n:er(n,v))}function EE(n){return hf(er(n,v))}function TE(n,o){return gf(n,er(o,v))}var wE=_e(function(n,o){return function(c){return ya(c,n,o)}}),CE=_e(function(n,o){return function(c){return ya(n,c,o)}});function fc(n,o,c){var f=dt(o),g=Co(o,f);c==null&&!(Ze(o)&&(g.length||!f.length))&&(c=o,o=n,n=this,g=Co(o,dt(o)));var b=!(Ze(c)&&"chain"in c)||!!c.chain,E=Rr(n);return Xt(g,function(x){var A=o[x];n[x]=A,E&&(n.prototype[x]=function(){var k=this.__chain__;if(b||k){var j=n(this.__wrapped__),B=j.__actions__=It(this.__actions__);return B.push({func:A,args:arguments,thisArg:n}),j.__chain__=k,j}return A.apply(n,Ur([this.value()],arguments))})}),n}function xE(){return gt._===this&&(gt._=Zm),this}function dc(){}function OE(n){return n=me(n),_e(function(o){return vf(o,n)})}var RE=Hi(Ke),AE=Hi(Ll),PE=Hi(hi);function $d(n){return Ji(n)?gi(yr(n)):sb(n)}function DE(n){return function(o){return n==null?t:mn(n,o)}}var FE=kf(),IE=kf(!0);function pc(){return[]}function hc(){return!1}function $E(){return{}}function ME(){return""}function LE(){return!0}function NE(n,o){if(n=me(n),n<1||n>rt)return[];var c=q,f=bt(n,q);o=re(o),n-=q;for(var g=yi(f,o);++c<n;)o(c);return g}function kE(n){return ve(n)?Ke(n,yr):Wt(n)?[n]:It(ed(Fe(n)))}function jE(n){var o=++Jm;return Fe(n)+o}var BE=Do(function(n,o){return n+o},0),WE=Gi("ceil"),UE=Do(function(n,o){return n/o},1),HE=Gi("floor");function GE(n){return n&&n.length?wo(n,Lt,Ai):t}function qE(n,o){return n&&n.length?wo(n,re(o,2),Ai):t}function YE(n){return jl(n,Lt)}function zE(n,o){return jl(n,re(o,2))}function VE(n){return n&&n.length?wo(n,Lt,Ii):t}function KE(n,o){return n&&n.length?wo(n,re(o,2),Ii):t}var JE=Do(function(n,o){return n*o},1),XE=Gi("round"),ZE=Do(function(n,o){return n-o},0);function QE(n){return n&&n.length?mi(n,Lt):0}function eT(n,o){return n&&n.length?mi(n,re(o,2)):0}return y.after=E_,y.ary=fd,y.assign=uS,y.assignIn=Cd,y.assignInWith=Go,y.assignWith=lS,y.at=fS,y.before=dd,y.bind=rc,y.bindAll=vE,y.bindKey=pd,y.castArray=$_,y.chain=cd,y.chunk=Hb,y.compact=Gb,y.concat=qb,y.cond=mE,y.conforms=yE,y.constant=uc,y.countBy=Q0,y.create=dS,y.curry=hd,y.curryRight=gd,y.debounce=vd,y.defaults=pS,y.defaultsDeep=hS,y.defer=T_,y.delay=w_,y.difference=Yb,y.differenceBy=zb,y.differenceWith=Vb,y.drop=Kb,y.dropRight=Jb,y.dropRightWhile=Xb,y.dropWhile=Zb,y.fill=Qb,y.filter=t_,y.flatMap=a_,y.flatMapDeep=o_,y.flatMapDepth=s_,y.flatten=ad,y.flattenDeep=e0,y.flattenDepth=t0,y.flip=C_,y.flow=_E,y.flowRight=SE,y.fromPairs=r0,y.functions=SS,y.functionsIn=ES,y.groupBy=i_,y.initial=a0,y.intersection=o0,y.intersectionBy=s0,y.intersectionWith=i0,y.invert=wS,y.invertBy=CS,y.invokeMap=u_,y.iteratee=lc,y.keyBy=l_,y.keys=dt,y.keysIn=Mt,y.map=ko,y.mapKeys=OS,y.mapValues=RS,y.matches=EE,y.matchesProperty=TE,y.memoize=Bo,y.merge=AS,y.mergeWith=xd,y.method=wE,y.methodOf=CE,y.mixin=fc,y.negate=Wo,y.nthArg=OE,y.omit=PS,y.omitBy=DS,y.once=x_,y.orderBy=f_,y.over=RE,y.overArgs=O_,y.overEvery=AE,y.overSome=PE,y.partial=nc,y.partialRight=md,y.partition=d_,y.pick=FS,y.pickBy=Od,y.property=$d,y.propertyOf=DE,y.pull=f0,y.pullAll=sd,y.pullAllBy=d0,y.pullAllWith=p0,y.pullAt=h0,y.range=FE,y.rangeRight=IE,y.rearg=R_,y.reject=g_,y.remove=g0,y.rest=A_,y.reverse=ec,y.sampleSize=m_,y.set=$S,y.setWith=MS,y.shuffle=y_,y.slice=v0,y.sortBy=S_,y.sortedUniq=T0,y.sortedUniqBy=w0,y.split=aE,y.spread=P_,y.tail=C0,y.take=x0,y.takeRight=O0,y.takeRightWhile=R0,y.takeWhile=A0,y.tap=G0,y.throttle=D_,y.thru=No,y.toArray=Ed,y.toPairs=Rd,y.toPairsIn=Ad,y.toPath=kE,y.toPlainObject=wd,y.transform=LS,y.unary=F_,y.union=P0,y.unionBy=D0,y.unionWith=F0,y.uniq=I0,y.uniqBy=$0,y.uniqWith=M0,y.unset=NS,y.unzip=tc,y.unzipWith=id,y.update=kS,y.updateWith=jS,y.values=Wn,y.valuesIn=BS,y.without=L0,y.words=Fd,y.wrap=I_,y.xor=N0,y.xorBy=k0,y.xorWith=j0,y.zip=B0,y.zipObject=W0,y.zipObjectDeep=U0,y.zipWith=H0,y.entries=Rd,y.entriesIn=Ad,y.extend=Cd,y.extendWith=Go,fc(y,y),y.add=BE,y.attempt=Id,y.camelCase=GS,y.capitalize=Pd,y.ceil=WE,y.clamp=WS,y.clone=M_,y.cloneDeep=N_,y.cloneDeepWith=k_,y.cloneWith=L_,y.conformsTo=j_,y.deburr=Dd,y.defaultTo=bE,y.divide=UE,y.endsWith=qS,y.eq=lr,y.escape=YS,y.escapeRegExp=zS,y.every=e_,y.find=r_,y.findIndex=rd,y.findKey=gS,y.findLast=n_,y.findLastIndex=nd,y.findLastKey=vS,y.floor=HE,y.forEach=ud,y.forEachRight=ld,y.forIn=mS,y.forInRight=yS,y.forOwn=bS,y.forOwnRight=_S,y.get=sc,y.gt=B_,y.gte=W_,y.has=TS,y.hasIn=ic,y.head=od,y.identity=Lt,y.includes=c_,y.indexOf=n0,y.inRange=US,y.invoke=xS,y.isArguments=_n,y.isArray=ve,y.isArrayBuffer=U_,y.isArrayLike=$t,y.isArrayLikeObject=nt,y.isBoolean=H_,y.isBuffer=Kr,y.isDate=G_,y.isElement=q_,y.isEmpty=Y_,y.isEqual=z_,y.isEqualWith=V_,y.isError=ac,y.isFinite=K_,y.isFunction=Rr,y.isInteger=yd,y.isLength=Uo,y.isMap=bd,y.isMatch=J_,y.isMatchWith=X_,y.isNaN=Z_,y.isNative=Q_,y.isNil=tS,y.isNull=eS,y.isNumber=_d,y.isObject=Ze,y.isObjectLike=tt,y.isPlainObject=wa,y.isRegExp=oc,y.isSafeInteger=rS,y.isSet=Sd,y.isString=Ho,y.isSymbol=Wt,y.isTypedArray=Bn,y.isUndefined=nS,y.isWeakMap=aS,y.isWeakSet=oS,y.join=c0,y.kebabCase=VS,y.last=rr,y.lastIndexOf=u0,y.lowerCase=KS,y.lowerFirst=JS,y.lt=sS,y.lte=iS,y.max=GE,y.maxBy=qE,y.mean=YE,y.meanBy=zE,y.min=VE,y.minBy=KE,y.stubArray=pc,y.stubFalse=hc,y.stubObject=$E,y.stubString=ME,y.stubTrue=LE,y.multiply=JE,y.nth=l0,y.noConflict=xE,y.noop=dc,y.now=jo,y.pad=XS,y.padEnd=ZS,y.padStart=QS,y.parseInt=eE,y.random=HS,y.reduce=p_,y.reduceRight=h_,y.repeat=tE,y.replace=rE,y.result=IS,y.round=XE,y.runInContext=O,y.sample=v_,y.size=b_,y.snakeCase=nE,y.some=__,y.sortedIndex=m0,y.sortedIndexBy=y0,y.sortedIndexOf=b0,y.sortedLastIndex=_0,y.sortedLastIndexBy=S0,y.sortedLastIndexOf=E0,y.startCase=oE,y.startsWith=sE,y.subtract=ZE,y.sum=QE,y.sumBy=eT,y.template=iE,y.times=NE,y.toFinite=Ar,y.toInteger=me,y.toLength=Td,y.toLower=cE,y.toNumber=nr,y.toSafeInteger=cS,y.toString=Fe,y.toUpper=uE,y.trim=lE,y.trimEnd=fE,y.trimStart=dE,y.truncate=pE,y.unescape=hE,y.uniqueId=jE,y.upperCase=gE,y.upperFirst=cc,y.each=ud,y.eachRight=ld,y.first=od,fc(y,function(){var n={};return vr(y,function(o,c){je.call(y.prototype,c)||(n[c]=o)}),n}(),{chain:!1}),y.VERSION=a,Xt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){y[n].placeholder=y}),Xt(["drop","take"],function(n,o){we.prototype[n]=function(c){c=c===t?1:ut(me(c),0);var f=this.__filtered__&&!o?new we(this):this.clone();return f.__filtered__?f.__takeCount__=bt(c,f.__takeCount__):f.__views__.push({size:bt(c,q),type:n+(f.__dir__<0?"Right":"")}),f},we.prototype[n+"Right"]=function(c){return this.reverse()[n](c).reverse()}}),Xt(["filter","map","takeWhile"],function(n,o){var c=o+1,f=c==De||c==Qe;we.prototype[n]=function(g){var b=this.clone();return b.__iteratees__.push({iteratee:re(g,3),type:c}),b.__filtered__=b.__filtered__||f,b}}),Xt(["head","last"],function(n,o){var c="take"+(o?"Right":"");we.prototype[n]=function(){return this[c](1).value()[0]}}),Xt(["initial","tail"],function(n,o){var c="drop"+(o?"":"Right");we.prototype[n]=function(){return this.__filtered__?new we(this):this[c](1)}}),we.prototype.compact=function(){return this.filter(Lt)},we.prototype.find=function(n){return this.filter(n).head()},we.prototype.findLast=function(n){return this.reverse().find(n)},we.prototype.invokeMap=_e(function(n,o){return typeof n=="function"?new we(this):this.map(function(c){return ya(c,n,o)})}),we.prototype.reject=function(n){return this.filter(Wo(re(n)))},we.prototype.slice=function(n,o){n=me(n);var c=this;return c.__filtered__&&(n>0||o<0)?new we(c):(n<0?c=c.takeRight(-n):n&&(c=c.drop(n)),o!==t&&(o=me(o),c=o<0?c.dropRight(-o):c.take(o-n)),c)},we.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},we.prototype.toArray=function(){return this.take(q)},vr(we.prototype,function(n,o){var c=/^(?:filter|find|map|reject)|While$/.test(o),f=/^(?:head|last)$/.test(o),g=y[f?"take"+(o=="last"?"Right":""):o],b=f||/^find/.test(o);g&&(y.prototype[o]=function(){var E=this.__wrapped__,x=f?[1]:arguments,A=E instanceof we,k=x[0],j=A||ve(E),B=function(Te){var Oe=g.apply(y,Ur([Te],x));return f&&V?Oe[0]:Oe};j&&c&&typeof k=="function"&&k.length!=1&&(A=j=!1);var V=this.__chain__,ee=!!this.__actions__.length,ae=b&&!V,be=A&&!ee;if(!b&&j){E=be?E:new we(this);var oe=n.apply(E,x);return oe.__actions__.push({func:No,args:[B],thisArg:t}),new Qt(oe,V)}return ae&&be?n.apply(this,x):(oe=this.thru(B),ae?f?oe.value()[0]:oe.value():oe)})}),Xt(["pop","push","shift","sort","splice","unshift"],function(n){var o=co[n],c=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",f=/^(?:pop|shift)$/.test(n);y.prototype[n]=function(){var g=arguments;if(f&&!this.__chain__){var b=this.value();return o.apply(ve(b)?b:[],g)}return this[c](function(E){return o.apply(ve(E)?E:[],g)})}}),vr(we.prototype,function(n,o){var c=y[o];if(c){var f=c.name+"";je.call(Mn,f)||(Mn[f]=[]),Mn[f].push({name:o,func:c})}}),Mn[Po(t,P).name]=[{name:"wrapper",func:t}],we.prototype.clone=hy,we.prototype.reverse=gy,we.prototype.value=vy,y.prototype.at=q0,y.prototype.chain=Y0,y.prototype.commit=z0,y.prototype.next=V0,y.prototype.plant=J0,y.prototype.reverse=X0,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=Z0,y.prototype.first=y.prototype.head,fa&&(y.prototype[fa]=K0),y},Fn=zm();dn?((dn.exports=Fn)._=Fn,li._=Fn):gt._=Fn}).call(Dr)})(hs,hs.exports);var Re=hs.exports;const u1=xs(Re),Rs=2e3,Iu={tabs:[],activeTab:"",recent:[],roles:{roles:{},privileges:{},flags:{touched:!1},selectedTab:"roles",forceLogin:!1},sharedCSS:{state:"loading",styles:[]},debugger:{meta:{state:Xr.DETACHED},list:[],sessions:[],expressions:[]},webforms:{templates:{selectedGroup:"",data:[]},components:[],inspector:{css:{active:!1},datasource:{active:!1}},datasources:{theme:"grey"},flags:{"sidebar.section.resizable":!0}}},bh="4DWS_PREFS",_h=e=>`APP_STATE_${e}`,Sh=()=>{var e,r;return((r=(e=window==null?void 0:window.$$datastores)==null?void 0:e.ds)==null?void 0:r.getBaseID())||""};function Eh(e){try{const r=Sh(),t=JSON.stringify(e);localStorage.setItem(_h(r),t)}catch(r){console.error(r)}}function Th(e){try{const r=JSON.stringify(e);localStorage.setItem(bh,r)}catch(r){console.error(r)}}function $u(){try{const e=localStorage.getItem(bh);if(e)return JSON.parse(e)}catch(e){console.error(e)}}function Xn(){const e=Sh(),r=localStorage.getItem(_h(e));if(r){const t=JSON.parse(r);return t.tabs=t.tabs.map(a=>({...a,flags:{...a.flags,enabled:!0}})),t}return Iu}function As(e){const{name:r,type:t,path:a}=e,s=a.split(".").at(-1);switch(t){case m.FileFolderType.WEBFORM:return`${r}`;case m.FileFolderType.METHOD:case m.FileFolderType.CLASS:return s?`${r}.${s}`:r;case m.FileFolderType.ROLES:return r;default:return`${r}.${t}`}}const wh=e=>{if(!e)return[];const r=new Map;return e.dataClasses.forEach(t=>{var i,u;const a=t.extraProperties||{},s={id:t.className,type:"table",position:{x:((i=a.position)==null?void 0:i.x)||0,y:((u=a.position)==null?void 0:u.y)||0},dragHandle:".custom-drag-handle",data:t};r.set(t.name,s)}),Array.from(r.values())};function Ch(e){return e?["json","4dmodel","webform","mform","qodoc"].includes(e.toLowerCase()):!1}function xh(e,r){return{...e,components:Object.entries(e.components||{}).reduce((t,[a,s])=>({...t,[a]:{...s,custom:Object.entries(s.custom).reduce((i,[u,l])=>u===`states:${r}`?i:{...i,[u]:l},{}),props:Object.entries(s.props).reduce((i,[u,l])=>{let d=l;return u==="events"&&(d=d.map(p=>{var h,v;return p.type==="simple-action"?{...p,state:{...p.state,states:(v=(h=p.state)==null?void 0:h.states)==null?void 0:v.filter(_=>_!==r)}}:p})),{...i,[u]:d}},{})}}),{}),metadata:{...e.metadata,states:e.metadata.states.filter(t=>t.id!==r)}}}const l1=(e,r)=>Re.isEqual(e,r);function f1(){this.__data__=[],this.size=0}var d1=f1;function p1(e,r){return e===r||e!==e&&r!==r}var h1=p1,g1=h1;function v1(e,r){for(var t=e.length;t--;)if(g1(e[t][0],r))return t;return-1}var Ps=v1,m1=Ps,y1=Array.prototype,b1=y1.splice;function _1(e){var r=this.__data__,t=m1(r,e);if(t<0)return!1;var a=r.length-1;return t==a?r.pop():b1.call(r,t,1),--this.size,!0}var S1=_1,E1=Ps;function T1(e){var r=this.__data__,t=E1(r,e);return t<0?void 0:r[t][1]}var w1=T1,C1=Ps;function x1(e){return C1(this.__data__,e)>-1}var O1=x1,R1=Ps;function A1(e,r){var t=this.__data__,a=R1(t,e);return a<0?(++this.size,t.push([e,r])):t[a][1]=r,this}var P1=A1,D1=d1,F1=S1,I1=w1,$1=O1,M1=P1;function Zn(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}Zn.prototype.clear=D1;Zn.prototype.delete=F1;Zn.prototype.get=I1;Zn.prototype.has=$1;Zn.prototype.set=M1;var Ds=Zn,L1=Ds;function N1(){this.__data__=new L1,this.size=0}var k1=N1;function j1(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}var B1=j1;function W1(e){return this.__data__.get(e)}var U1=W1;function H1(e){return this.__data__.has(e)}var G1=H1,q1=Os,Y1=Ha,z1="[object AsyncFunction]",V1="[object Function]",K1="[object GeneratorFunction]",J1="[object Proxy]";function X1(e){if(!Y1(e))return!1;var r=q1(e);return r==V1||r==K1||r==z1||r==J1}var Z1=X1,Q1=_r,eC=Q1["__core-js_shared__"],tC=eC,Cc=tC,ap=function(){var e=/[^.]+$/.exec(Cc&&Cc.keys&&Cc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function rC(e){return!!ap&&ap in e}var nC=rC,aC=Function.prototype,oC=aC.toString;function sC(e){if(e!=null){try{return oC.call(e)}catch{}try{return e+""}catch{}}return""}var Oh=sC,iC=Z1,cC=nC,uC=Ha,lC=Oh,fC=/[\\^$.*+?()[\]{}|]/g,dC=/^\[object .+?Constructor\]$/,pC=Function.prototype,hC=Object.prototype,gC=pC.toString,vC=hC.hasOwnProperty,mC=RegExp("^"+gC.call(vC).replace(fC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yC(e){if(!uC(e)||cC(e))return!1;var r=iC(e)?mC:dC;return r.test(lC(e))}var bC=yC;function _C(e,r){return e==null?void 0:e[r]}var SC=_C,EC=bC,TC=SC;function wC(e,r){var t=TC(e,r);return EC(t)?t:void 0}var Qn=wC,CC=Qn,xC=_r,OC=CC(xC,"Map"),Mu=OC,RC=Qn,AC=RC(Object,"create"),Fs=AC,op=Fs;function PC(){this.__data__=op?op(null):{},this.size=0}var DC=PC;function FC(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var IC=FC,$C=Fs,MC="__lodash_hash_undefined__",LC=Object.prototype,NC=LC.hasOwnProperty;function kC(e){var r=this.__data__;if($C){var t=r[e];return t===MC?void 0:t}return NC.call(r,e)?r[e]:void 0}var jC=kC,BC=Fs,WC=Object.prototype,UC=WC.hasOwnProperty;function HC(e){var r=this.__data__;return BC?r[e]!==void 0:UC.call(r,e)}var GC=HC,qC=Fs,YC="__lodash_hash_undefined__";function zC(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=qC&&r===void 0?YC:r,this}var VC=zC,KC=DC,JC=IC,XC=jC,ZC=GC,QC=VC;function ea(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}ea.prototype.clear=KC;ea.prototype.delete=JC;ea.prototype.get=XC;ea.prototype.has=ZC;ea.prototype.set=QC;var ex=ea,sp=ex,tx=Ds,rx=Mu;function nx(){this.size=0,this.__data__={hash:new sp,map:new(rx||tx),string:new sp}}var ax=nx;function ox(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var sx=ox,ix=sx;function cx(e,r){var t=e.__data__;return ix(r)?t[typeof r=="string"?"string":"hash"]:t.map}var Is=cx,ux=Is;function lx(e){var r=ux(this,e).delete(e);return this.size-=r?1:0,r}var fx=lx,dx=Is;function px(e){return dx(this,e).get(e)}var hx=px,gx=Is;function vx(e){return gx(this,e).has(e)}var mx=vx,yx=Is;function bx(e,r){var t=yx(this,e),a=t.size;return t.set(e,r),this.size+=t.size==a?0:1,this}var _x=bx,Sx=ax,Ex=fx,Tx=hx,wx=mx,Cx=_x;function ta(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}ta.prototype.clear=Sx;ta.prototype.delete=Ex;ta.prototype.get=Tx;ta.prototype.has=wx;ta.prototype.set=Cx;var Rh=ta,xx=Ds,Ox=Mu,Rx=Rh,Ax=200;function Px(e,r){var t=this.__data__;if(t instanceof xx){var a=t.__data__;if(!Ox||a.length<Ax-1)return a.push([e,r]),this.size=++t.size,this;t=this.__data__=new Rx(a)}return t.set(e,r),this.size=t.size,this}var Dx=Px,Fx=Ds,Ix=k1,$x=B1,Mx=U1,Lx=G1,Nx=Dx;function Ga(e){var r=this.__data__=new Fx(e);this.size=r.size}Ga.prototype.clear=Ix;Ga.prototype.delete=$x;Ga.prototype.get=Mx;Ga.prototype.has=Lx;Ga.prototype.set=Nx;var kx="__lodash_hash_undefined__";function jx(e){return this.__data__.set(e,kx),this}var Bx=jx;function Wx(e){return this.__data__.has(e)}var Ux=Wx,Hx=Rh,Gx=Bx,qx=Ux;function Jc(e){var r=-1,t=e==null?0:e.length;for(this.__data__=new Hx;++r<t;)this.add(e[r])}Jc.prototype.add=Jc.prototype.push=Gx;Jc.prototype.has=qx;var Yx=_r;Yx.Uint8Array;var ip=Du,cp=ip?ip.prototype:void 0;cp&&cp.valueOf;var zx=Os,Vx=Fu,Kx="[object Arguments]";function Jx(e){return Vx(e)&&zx(e)==Kx}var Xx=Jx,up=Xx,Zx=Fu,Ah=Object.prototype,Qx=Ah.hasOwnProperty,eO=Ah.propertyIsEnumerable;up(function(){return arguments}());var gs={exports:{}};function tO(){return!1}var rO=tO;gs.exports;(function(e,r){var t=_r,a=rO,s=r&&!r.nodeType&&r,i=s&&!0&&e&&!e.nodeType&&e,u=i&&i.exports===s,l=u?t.Buffer:void 0,d=l?l.isBuffer:void 0,p=d||a;e.exports=p})(gs,gs.exports);gs.exports;var vs={exports:{}};vs.exports;(function(e,r){var t=gh,a=r&&!r.nodeType&&r,s=a&&!0&&e&&!e.nodeType&&e,i=s&&s.exports===a,u=i&&t.process,l=function(){try{var d=s&&s.require&&s.require("util").types;return d||u&&u.binding&&u.binding("util")}catch{}}();e.exports=l})(vs,vs.exports);var nO=vs.exports,lp=nO;lp&&lp.isTypedArray;var aO=Qn,oO=_r,sO=aO(oO,"DataView"),iO=sO,cO=Qn,uO=_r,lO=cO(uO,"Promise"),fO=lO,dO=Qn,pO=_r,hO=dO(pO,"Set"),gO=hO,vO=Qn,mO=_r,yO=vO(mO,"WeakMap"),bO=yO,Xc=iO,Zc=Mu,Qc=fO,eu=gO,tu=bO,Ph=Os,ra=Oh,fp="[object Map]",_O="[object Object]",dp="[object Promise]",pp="[object Set]",hp="[object WeakMap]",gp="[object DataView]",SO=ra(Xc),EO=ra(Zc),TO=ra(Qc),wO=ra(eu),CO=ra(tu),Un=Ph;(Xc&&Un(new Xc(new ArrayBuffer(1)))!=gp||Zc&&Un(new Zc)!=fp||Qc&&Un(Qc.resolve())!=dp||eu&&Un(new eu)!=pp||tu&&Un(new tu)!=hp)&&(Un=function(e){var r=Ph(e),t=r==_O?e.constructor:void 0,a=t?ra(t):"";if(a)switch(a){case SO:return gp;case EO:return fp;case TO:return dp;case wO:return pp;case CO:return hp}return r});typeof window<"u"&&(window.__CRAFTJS__||(window.__CRAFTJS__={}),window.__CRAFTJS__["@ws-ui/craftjs-utils"]="0.2.3");const xO="ROOT";iT(),sT();var vp;(function(e){e[e.HandlerDisabled=0]="HandlerDisabled",e[e.HandlerEnabled=1]="HandlerEnabled"})(vp||(vp={}));function Lu(e){return`Debugger/${e}`}function Dh(e,r){var a;const t=(a=r.name)==null?void 0:a.replace(/\.(4dm|4qs)$/,"");return`#${e} ${t}`}const OO=typeof process=="object"&&process&&process.platform==="win32";var RO=OO?{sep:"\\"}:{sep:"/"},AO=Fh;function Fh(e,r,t){e instanceof RegExp&&(e=mp(e,t)),r instanceof RegExp&&(r=mp(r,t));var a=Ih(e,r,t);return a&&{start:a[0],end:a[1],pre:t.slice(0,a[0]),body:t.slice(a[0]+e.length,a[1]),post:t.slice(a[1]+r.length)}}function mp(e,r){var t=r.match(e);return t?t[0]:null}Fh.range=Ih;function Ih(e,r,t){var a,s,i,u,l,d=t.indexOf(e),p=t.indexOf(r,d+1),h=d;if(d>=0&&p>0){if(e===r)return[d,p];for(a=[],i=t.length;h>=0&&!l;)h==d?(a.push(h),d=t.indexOf(e,h+1)):a.length==1?l=[a.pop(),p]:(s=a.pop(),s<i&&(i=s,u=p),p=t.indexOf(r,h+1)),h=d<p&&d>=0?d:p;a.length&&(l=[i,u])}return l}var $h=AO,PO=IO,Mh="\0SLASH"+Math.random()+"\0",Lh="\0OPEN"+Math.random()+"\0",Nu="\0CLOSE"+Math.random()+"\0",Nh="\0COMMA"+Math.random()+"\0",kh="\0PERIOD"+Math.random()+"\0";function xc(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function DO(e){return e.split("\\\\").join(Mh).split("\\{").join(Lh).split("\\}").join(Nu).split("\\,").join(Nh).split("\\.").join(kh)}function FO(e){return e.split(Mh).join("\\").split(Lh).join("{").split(Nu).join("}").split(Nh).join(",").split(kh).join(".")}function jh(e){if(!e)return[""];var r=[],t=$h("{","}",e);if(!t)return e.split(",");var a=t.pre,s=t.body,i=t.post,u=a.split(",");u[u.length-1]+="{"+s+"}";var l=jh(i);return i.length&&(u[u.length-1]+=l.shift(),u.push.apply(u,l)),r.push.apply(r,u),r}function IO(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),Ra(DO(e),!0).map(FO)):[]}function $O(e){return"{"+e+"}"}function MO(e){return/^-?0\d/.test(e)}function LO(e,r){return e<=r}function NO(e,r){return e>=r}function Ra(e,r){var t=[],a=$h("{","}",e);if(!a)return[e];var s=a.pre,i=a.post.length?Ra(a.post,!1):[""];if(/\$$/.test(a.pre))for(var u=0;u<i.length;u++){var l=s+"{"+a.body+"}"+i[u];t.push(l)}else{var d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body),p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body),h=d||p,v=a.body.indexOf(",")>=0;if(!h&&!v)return a.post.match(/,.*\}/)?(e=a.pre+"{"+a.body+Nu+a.post,Ra(e)):[e];var _;if(h)_=a.body.split(/\.\./);else if(_=jh(a.body),_.length===1&&(_=Ra(_[0],!1).map($O),_.length===1))return i.map(function(Ue){return a.pre+_[0]+Ue});var S;if(h){var w=xc(_[0]),T=xc(_[1]),D=Math.max(_[0].length,_[1].length),P=_.length==3?Math.abs(xc(_[2])):1,L=LO,I=T<w;I&&(P*=-1,L=NO);var N=_.some(MO);S=[];for(var R=w;L(R,T);R+=P){var z;if(p)z=String.fromCharCode(R),z==="\\"&&(z="");else if(z=String(R),N){var G=D-z.length;if(G>0){var Y=new Array(G+1).join("0");R<0?z="-"+Y+z.slice(1):z=Y+z}}S.push(z)}}else{S=[];for(var te=0;te<_.length;te++)S.push.apply(S,Ra(_[te],!1))}for(var te=0;te<S.length;te++)for(var u=0;u<i.length;u++){var l=s+S[te]+i[u];(!r||h||l)&&t.push(l)}}return t}const Gt=Bh=(e,r,t={})=>(ms(r),!t.nocomment&&r.charAt(0)==="#"?!1:new $s(r,t).match(e));var Bh=Gt;const ru=RO;Gt.sep=ru.sep;const dr=Symbol("globstar **");Gt.GLOBSTAR=dr;const kO=PO,yp={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},nu="[^/]",Oc=nu+"*?",jO="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",BO="(?:(?!(?:\\/|^)\\.).)*?",Wh=e=>e.split("").reduce((r,t)=>(r[t]=!0,r),{}),bp=Wh("().*{}+?[]^$\\!"),WO=Wh("[.("),_p=/\/+/;Gt.filter=(e,r={})=>(t,a,s)=>Gt(t,e,r);const Jr=(e,r={})=>{const t={};return Object.keys(e).forEach(a=>t[a]=e[a]),Object.keys(r).forEach(a=>t[a]=r[a]),t};Gt.defaults=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return Gt;const r=Gt,t=(a,s,i)=>r(a,s,Jr(e,i));return t.Minimatch=class extends r.Minimatch{constructor(s,i){super(s,Jr(e,i))}},t.Minimatch.defaults=a=>r.defaults(Jr(e,a)).Minimatch,t.filter=(a,s)=>r.filter(a,Jr(e,s)),t.defaults=a=>r.defaults(Jr(e,a)),t.makeRe=(a,s)=>r.makeRe(a,Jr(e,s)),t.braceExpand=(a,s)=>r.braceExpand(a,Jr(e,s)),t.match=(a,s,i)=>r.match(a,s,Jr(e,i)),t};Gt.braceExpand=(e,r)=>Uh(e,r);const Uh=(e,r={})=>(ms(e),r.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:kO(e)),UO=1024*64,ms=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>UO)throw new TypeError("pattern is too long")},Rc=Symbol("subparse");Gt.makeRe=(e,r)=>new $s(e,r||{}).makeRe();Gt.match=(e,r,t={})=>{const a=new $s(r,t);return e=e.filter(s=>a.match(s)),a.options.nonull&&!e.length&&e.push(r),e};const HO=e=>e.replace(/\\(.)/g,"$1"),GO=e=>e.replace(/\\([^-\]])/g,"$1"),qO=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),YO=e=>e.replace(/[[\]\\]/g,"\\$&");class $s{constructor(r,t){ms(r),t||(t={}),this.options=t,this.set=[],this.pattern=r,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){const r=this.pattern,t=this.options;if(!t.nocomment&&r.charAt(0)==="#"){this.comment=!0;return}if(!r){this.empty=!0;return}this.parseNegate();let a=this.globSet=this.braceExpand();t.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,a),a=this.globParts=a.map(s=>s.split(_p)),this.debug(this.pattern,a),a=a.map((s,i,u)=>s.map(this.parse,this)),this.debug(this.pattern,a),a=a.filter(s=>s.indexOf(!1)===-1),this.debug(this.pattern,a),this.set=a}parseNegate(){if(this.options.nonegate)return;const r=this.pattern;let t=!1,a=0;for(let s=0;s<r.length&&r.charAt(s)==="!";s++)t=!t,a++;a&&(this.pattern=r.slice(a)),this.negate=t}matchOne(r,t,a){var s=this.options;this.debug("matchOne",{this:this,file:r,pattern:t}),this.debug("matchOne",r.length,t.length);for(var i=0,u=0,l=r.length,d=t.length;i<l&&u<d;i++,u++){this.debug("matchOne loop");var p=t[u],h=r[i];if(this.debug(t,p,h),p===!1)return!1;if(p===dr){this.debug("GLOBSTAR",[t,p,h]);var v=i,_=u+1;if(_===d){for(this.debug("** at the end");i<l;i++)if(r[i]==="."||r[i]===".."||!s.dot&&r[i].charAt(0)===".")return!1;return!0}for(;v<l;){var S=r[v];if(this.debug(`
|
|
35
35
|
globstar while`,r,v,t,_,S),this.matchOne(r.slice(v),t.slice(_),a))return this.debug("globstar found match!",v,l,S),!0;if(S==="."||S===".."||!s.dot&&S.charAt(0)==="."){this.debug("dot detected!",r,v,t,_);break}this.debug("globstar swallow a segment, and continue"),v++}return!!(a&&(this.debug(`
|
|
36
36
|
>>> no match, partial?`,r,v,t,_),v===l))}var w;if(typeof p=="string"?(w=h===p,this.debug("string match",p,h,w)):(w=h.match(p),this.debug("pattern match",p,h,w)),!w)return!1}if(i===l&&u===d)return!0;if(i===l)return a;if(u===d)return i===l-1&&r[i]==="";throw new Error("wtf?")}braceExpand(){return Uh(this.pattern,this.options)}parse(r,t){ms(r);const a=this.options;if(r==="**")if(a.noglobstar)r="*";else return dr;if(r==="")return"";let s="",i=!1,u=!1;const l=[],d=[];let p,h=!1,v=-1,_=-1,S,w,T,D=r.charAt(0)===".",P=a.dot||D;const L=()=>D?"":P?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",I=G=>G.charAt(0)==="."?"":a.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",N=()=>{if(p){switch(p){case"*":s+=Oc,i=!0;break;case"?":s+=nu,i=!0;break;default:s+="\\"+p;break}this.debug("clearStateChar %j %j",p,s),p=!1}};for(let G=0,Y;G<r.length&&(Y=r.charAt(G));G++){if(this.debug("%s %s %s %j",r,G,s,Y),u){if(Y==="/")return!1;bp[Y]&&(s+="\\"),s+=Y,u=!1;continue}switch(Y){case"/":return!1;case"\\":if(h&&r.charAt(G+1)==="-"){s+=Y;continue}N(),u=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",r,G,s,Y),h){this.debug(" in class"),Y==="!"&&G===_+1&&(Y="^"),s+=Y;continue}this.debug("call clearStateChar %j",p),N(),p=Y,a.noext&&N();continue;case"(":{if(h){s+="(";continue}if(!p){s+="\\(";continue}const te={type:p,start:G-1,reStart:s.length,open:yp[p].open,close:yp[p].close};this.debug(this.pattern," ",te),l.push(te),s+=te.open,te.start===0&&te.type!=="!"&&(D=!0,s+=I(r.slice(G+1))),this.debug("plType %j %j",p,s),p=!1;continue}case")":{const te=l[l.length-1];if(h||!te){s+="\\)";continue}l.pop(),N(),i=!0,w=te,s+=w.close,w.type==="!"&&d.push(Object.assign(w,{reEnd:s.length}));continue}case"|":{const te=l[l.length-1];if(h||!te){s+="\\|";continue}N(),s+="|",te.start===0&&te.type!=="!"&&(D=!0,s+=I(r.slice(G+1)));continue}case"[":if(N(),h){s+="\\"+Y;continue}h=!0,_=G,v=s.length,s+=Y;continue;case"]":if(G===_+1||!h){s+="\\"+Y;continue}S=r.substring(_+1,G);try{RegExp("["+YO(GO(S))+"]"),s+=Y}catch{s=s.substring(0,v)+"(?:$.)"}i=!0,h=!1;continue;default:N(),bp[Y]&&!(Y==="^"&&h)&&(s+="\\"),s+=Y;break}}for(h&&(S=r.slice(_+1),T=this.parse(S,Rc),s=s.substring(0,v)+"\\["+T[0],i=i||T[1]),w=l.pop();w;w=l.pop()){let G;G=s.slice(w.reStart+w.open.length),this.debug("setting tail",s,w),G=G.replace(/((?:\\{2}){0,64})(\\?)\|/g,(te,Ue,Ce)=>(Ce||(Ce="\\"),Ue+Ue+Ce+"|")),this.debug(`tail=%j
|
|
37
37
|
%s`,G,G,w,s);const Y=w.type==="*"?Oc:w.type==="?"?nu:"\\"+w.type;i=!0,s=s.slice(0,w.reStart)+Y+"\\("+G}N(),u&&(s+="\\\\");const R=WO[s.charAt(0)];for(let G=d.length-1;G>-1;G--){const Y=d[G],te=s.slice(0,Y.reStart),Ue=s.slice(Y.reStart,Y.reEnd-8);let Ce=s.slice(Y.reEnd);const st=s.slice(Y.reEnd-8,Y.reEnd)+Ce,X=te.split(")").length,De=te.split("(").length-X;let it=Ce;for(let Ge=0;Ge<De;Ge++)it=it.replace(/\)[+*?]?/,"");Ce=it;const Qe=Ce===""&&t!==Rc?"(?:$|\\/)":"";s=te+Ue+Ce+Qe+st}if(s!==""&&i&&(s="(?=.)"+s),R&&(s=L()+s),t===Rc)return[s,i];if(a.nocase&&!i&&(i=r.toUpperCase()!==r.toLowerCase()),!i)return HO(r);const z=a.nocase?"i":"";try{return Object.assign(new RegExp("^"+s+"$",z),{_glob:r,_src:s})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const r=this.set;if(!r.length)return this.regexp=!1,this.regexp;const t=this.options,a=t.noglobstar?Oc:t.dot?jO:BO,s=t.nocase?"i":"";let i=r.map(u=>(u=u.map(l=>typeof l=="string"?qO(l):l===dr?dr:l._src).reduce((l,d)=>(l[l.length-1]===dr&&d===dr||l.push(d),l),[]),u.forEach((l,d)=>{l!==dr||u[d-1]===dr||(d===0?u.length>1?u[d+1]="(?:\\/|"+a+"\\/)?"+u[d+1]:u[d]=a:d===u.length-1?u[d-1]+="(?:\\/|"+a+")?":(u[d-1]+="(?:\\/|\\/"+a+"\\/)"+u[d+1],u[d+1]=dr))}),u.filter(l=>l!==dr).join("/"))).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,s)}catch{this.regexp=!1}return this.regexp}match(r,t=this.partial){if(this.debug("match",r,this.pattern),this.comment)return!1;if(this.empty)return r==="";if(r==="/"&&t)return!0;const a=this.options;ru.sep!=="/"&&(r=r.split(ru.sep).join("/")),r=r.split(_p),this.debug(this.pattern,"split",r);const s=this.set;this.debug(this.pattern,"set",s);let i;for(let u=r.length-1;u>=0&&(i=r[u],!i);u--);for(let u=0;u<s.length;u++){const l=s[u];let d=r;if(a.matchBase&&l.length===1&&(d=[i]),this.matchOne(d,l,t))return a.flipNegate?!0:!this.negate}return a.flipNegate?!1:this.negate}static defaults(r){return Gt.defaults(r).Minimatch}}Gt.Minimatch=$s;const Hh=xs(Bh),Gh=[{pattern:m.ROLES_TAB_PATH,editor:{key:"editors:roles"},supportedEditors:[{key:"editors:code",config:{language:"json",theme:"vs-dark"}}]},{pattern:m.MODEL_TAB_PATH,editor:{key:"editors:model"},supportedEditors:[{key:"editors:code",config:{language:"json",theme:"vs-dark"}}]},{pattern:"**/*.webform",editor:{key:"editors:webforms"},supportedEditors:[{key:"editors:code",config:{language:"json",theme:"vs-dark"}}]},{pattern:"**/*.qodoc",editor:{key:"editors:reports"},supportedEditors:[{key:"editors:code",config:{language:"json",theme:"vs-dark"}}]},{pattern:"Methods/*.4dm",editor:{key:"editors:code:method",config:{theme:"fd-dark",language:"4d"}}},{pattern:"Methods/*.4qs",editor:{key:"editors:code:method",config:{theme:"fd-dark",language:"4d"}}},{pattern:"Classes/*.4dm",editor:{key:"editors:code",config:{theme:"fd-dark",language:"4d"}}},{pattern:"Classes/*.4qs",editor:{key:"editors:code",config:{theme:"fd-dark",language:"4d"}}},{pattern:"**/*.+(json)",editor:{key:"editors:code",config:{language:"json"}}},{pattern:"**/*.+(js)",editor:{key:"editors:code",config:{language:"js"}}},{pattern:"**/*.+(css)",editor:{key:"editors:code",config:{language:"css"}}},{pattern:"**/*.+(txt)",editor:{key:"editors:code",config:{language:""}}},{pattern:"Debugger/*",editor:{key:"editors:code",config:{theme:"fd-dark",language:"4d"}}},{pattern:"**/*.+(png|jpeg|jpg|gif|svg)",editor:{key:"editors:img"}}],qh=[{pattern:"**/*.+(json|4DModel|WebForm)",type:"json"},{pattern:"**/*.+(4dm|txt|json|4qs)",type:"text"}];function Yh(e){const r=e.split("/");return r.pop(),r.join("/")}function xt(e){const r=Gh.find(({pattern:t})=>Hh(e,t,{nocase:!0}));return r||{pattern:"",editor:{key:"editors:unknown",config:{language:"text"}}}}function ku(e){const r=qh.find(({pattern:t})=>Hh(e,t,{nocase:!0}));return r?r.type:"text"}const En=()=>({dataclass:({name:e,qodly:r})=>({name:e,content:r?`extends DataClass
|