manifest
Version:
The backend for AI code editors
1 lines • 201 kB
JavaScript
(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[256],{921:xt=>{var nt=-1,j=1,Q=0;function St(f,T,g,L,x){if(f===T)return f?[[Q,f]]:[];if(null!=g){var E=function Xt(f,T,g){var L="number"==typeof g?{index:g,length:0}:g.oldRange,x="number"==typeof g?null:g.newRange,E=f.length,N=T.length;if(0===L.length&&(null===x||0===x.length)){var R=L.index,I=f.slice(0,R),C=f.slice(R),st=x?x.index:null,J=R+N-E;if(!(null!==st&&st!==J||J<0||J>N)){var rt=T.slice(0,J);if((at=T.slice(J))===C){var $=Math.min(R,J);if((_t=I.slice(0,$))===(Et=rt.slice(0,$)))return It(_t,I.slice($),rt.slice($),C)}}if(null===st||st===R){var ht=R,at=(rt=T.slice(0,ht),T.slice(ht));if(rt===I){var gt=Math.min(E-ht,N-ht);if((pt=C.slice(C.length-gt))===(yt=at.slice(at.length-gt)))return It(I,C.slice(0,C.length-gt),at.slice(0,at.length-gt),pt)}}}if(L.length>0&&x&&0===x.length){var _t=f.slice(0,L.index),pt=f.slice(L.index+L.length);if(!(N<($=_t.length)+(gt=pt.length))){var Et=T.slice(0,$),yt=T.slice(N-gt);if(_t===Et&&pt===yt)return It(_t,f.slice($,E-gt),T.slice($,N-gt),pt)}}return null}(f,T,g);if(E)return E}var N=P(f,T),R=f.substring(0,N);N=H(f=f.substring(N),T=T.substring(N));var I=f.substring(f.length-N),C=function ft(f,T){var g;if(!f)return[[j,T]];if(!T)return[[nt,f]];var L=f.length>T.length?f:T,x=f.length>T.length?T:f,E=L.indexOf(x);if(-1!==E)return g=[[j,L.substring(0,E)],[Q,x],[j,L.substring(E+x.length)]],f.length>T.length&&(g[0][0]=g[2][0]=nt),g;if(1===x.length)return[[nt,f],[j,T]];var N=function w(f,T){var g=f.length>T.length?f:T,L=f.length>T.length?T:f;if(g.length<4||2*L.length<g.length)return null;function x(at,$,_t){for(var ht,gt,pt,yt,Et=at.substring(_t,_t+Math.floor(at.length/4)),it=-1,dt="";-1!==(it=$.indexOf(Et,it+1));){var At=P(at.substring(_t),$.substring(it)),Rt=H(at.substring(0,_t),$.substring(0,it));dt.length<Rt+At&&(dt=$.substring(it-Rt,it)+$.substring(it,it+At),ht=at.substring(0,_t-Rt),gt=at.substring(_t+At),pt=$.substring(0,it-Rt),yt=$.substring(it+At))}return 2*dt.length>=at.length?[ht,gt,pt,yt,dt]:null}var R,I,C,st,J,E=x(g,L,Math.ceil(g.length/4)),N=x(g,L,Math.ceil(g.length/2));return E||N?(R=N?E&&E[4].length>N[4].length?E:N:E,f.length>T.length?(I=R[0],C=R[1],st=R[2],J=R[3]):(st=R[0],J=R[1],I=R[2],C=R[3]),[I,C,st,J,R[4]]):null}(f,T);if(N){var I=N[1],st=N[3],J=N[4],rt=St(N[0],N[2]),at=St(I,st);return rt.concat([[Q,J]],at)}return function X(f,T){for(var g=f.length,L=T.length,x=Math.ceil((g+L)/2),E=x,N=2*x,R=new Array(N),I=new Array(N),C=0;C<N;C++)R[C]=-1,I[C]=-1;R[E+1]=0,I[E+1]=0;for(var st=g-L,J=st%2!=0,rt=0,at=0,$=0,_t=0,Et=0;Et<x;Et++){for(var it=-Et+rt;it<=Et-at;it+=2){for(var dt=E+it,gt=(ht=it===-Et||it!==Et&&R[dt-1]<R[dt+1]?R[dt+1]:R[dt-1]+1)-it;ht<g&><L&&f.charAt(ht)===T.charAt(gt);)ht++,gt++;if(R[dt]=ht,ht>g)at+=2;else if(gt>L)rt+=2;else if(J&&(pt=E+st-it)>=0&&pt<N&&-1!==I[pt]&&ht>=(yt=g-I[pt]))return U(f,T,ht,gt)}for(var At=-Et+$;At<=Et-_t;At+=2){for(var yt,pt=E+At,Rt=(yt=At===-Et||At!==Et&&I[pt-1]<I[pt+1]?I[pt+1]:I[pt-1]+1)-At;yt<g&&Rt<L&&f.charAt(g-yt-1)===T.charAt(L-Rt-1);)yt++,Rt++;if(I[pt]=yt,yt>g)_t+=2;else if(Rt>L)$+=2;else if(!J){var ht;if((dt=E+st-At)>=0&&dt<N&&-1!==R[dt])if(gt=E+(ht=R[dt])-dt,ht>=(yt=g-yt))return U(f,T,ht,gt)}}}return[[nt,f],[j,T]]}(f,T)}(f=f.substring(0,f.length-N),T=T.substring(0,T.length-N));return R&&C.unshift([Q,R]),I&&C.push([Q,I]),k(C,x),L&&function z(f){for(var T=!1,g=[],L=0,x=null,E=0,N=0,R=0,I=0,C=0;E<f.length;)f[E][0]==Q?(g[L++]=E,N=I,R=C,I=0,C=0,x=f[E][1]):(f[E][0]==j?I+=f[E][1].length:C+=f[E][1].length,x&&x.length<=Math.max(N,R)&&x.length<=Math.max(I,C)&&(f.splice(g[L-1],0,[nt,x]),f[g[L-1]+1][0]=j,L--,E=--L>0?g[L-1]:-1,N=0,R=0,I=0,C=0,x=null,T=!0)),E++;for(T&&k(f),function G(f){function T(at,$){if(!at||!$)return 6;var _t=at.charAt(at.length-1),Et=$.charAt(0),it=_t.match(p),dt=Et.match(p),ht=it&&_t.match(m),gt=dt&&Et.match(m),pt=ht&&_t.match(_),yt=gt&&Et.match(_),At=pt&&at.match(A),Rt=yt&&$.match(K);return At||Rt?5:pt||yt?4:it&&!ht&>?3:ht||gt?2:it||dt?1:0}for(var g=1;g<f.length-1;){if(f[g-1][0]==Q&&f[g+1][0]==Q){var L=f[g-1][1],x=f[g][1],E=f[g+1][1],N=H(L,x);if(N){var R=x.substring(x.length-N);L=L.substring(0,L.length-N),x=R+x.substring(0,x.length-N),E=R+E}for(var I=L,C=x,st=E,J=T(L,x)+T(x,E);x.charAt(0)===E.charAt(0);){L+=x.charAt(0),x=x.substring(1)+E.charAt(0),E=E.substring(1);var rt=T(L,x)+T(x,E);rt>=J&&(J=rt,I=L,C=x,st=E)}f[g-1][1]!=I&&(I?f[g-1][1]=I:(f.splice(g-1,1),g--),f[g][1]=C,st?f[g+1][1]=st:(f.splice(g+1,1),g--))}g++}}(f),E=1;E<f.length;){if(f[E-1][0]==nt&&f[E][0]==j){var st=f[E-1][1],J=f[E][1],rt=F(st,J),at=F(J,st);rt>=at?(rt>=st.length/2||rt>=J.length/2)&&(f.splice(E,0,[Q,J.substring(0,rt)]),f[E-1][1]=st.substring(0,st.length-rt),f[E+1][1]=J.substring(rt),E++):(at>=st.length/2||at>=J.length/2)&&(f.splice(E,0,[Q,st.substring(0,at)]),f[E-1][0]=j,f[E-1][1]=J.substring(0,J.length-at),f[E+1][0]=nt,f[E+1][1]=st.substring(at),E++),E++}E++}}(C),C}function U(f,T,g,L){var x=f.substring(0,g),E=T.substring(0,L),N=f.substring(g),R=T.substring(L),I=St(x,E),C=St(N,R);return I.concat(C)}function P(f,T){if(!f||!T||f.charAt(0)!==T.charAt(0))return 0;for(var g=0,L=Math.min(f.length,T.length),x=L,E=0;g<x;)f.substring(E,x)==T.substring(E,x)?E=g=x:L=x,x=Math.floor((L-g)/2+g);return tt(f.charCodeAt(x-1))&&x--,x}function F(f,T){var g=f.length,L=T.length;if(0==g||0==L)return 0;g>L?f=f.substring(g-L):g<L&&(T=T.substring(0,g));var x=Math.min(g,L);if(f==T)return x;for(var E=0,N=1;;){var R=f.substring(x-N),I=T.indexOf(R);if(-1==I)return E;N+=I,(0==I||f.substring(x-N)==T.substring(0,N))&&(E=N,N++)}}function H(f,T){if(!f||!T||f.slice(-1)!==T.slice(-1))return 0;for(var g=0,L=Math.min(f.length,T.length),x=L,E=0;g<x;)f.substring(f.length-x,f.length-E)==T.substring(T.length-x,T.length-E)?E=g=x:L=x,x=Math.floor((L-g)/2+g);return et(f.charCodeAt(f.length-x))&&x--,x}var p=/[^a-zA-Z0-9]/,m=/\s/,_=/[\r\n]/,A=/\n\r?\n$/,K=/^\r?\n\r?\n/;function k(f,T){f.push([Q,""]);for(var R,g=0,L=0,x=0,E="",N="";g<f.length;)if(g<f.length-1&&!f[g][1])f.splice(g,1);else switch(f[g][0]){case j:x++,N+=f[g][1],g++;break;case nt:L++,E+=f[g][1],g++;break;case Q:var I=g-x-L-1;if(T){if(I>=0&&vt(f[I][1])){var C=f[I][1].slice(-1);if(f[I][1]=f[I][1].slice(0,-1),E=C+E,N=C+N,!f[I][1]){f.splice(I,1),g--;var st=I-1;f[st]&&f[st][0]===j&&(x++,N=f[st][1]+N,st--),f[st]&&f[st][0]===nt&&(L++,E=f[st][1]+E,st--),I=st}}lt(f[g][1])&&(C=f[g][1].charAt(0),f[g][1]=f[g][1].slice(1),E+=C,N+=C)}if(g<f.length-1&&!f[g][1]){f.splice(g,1);break}if(E.length>0||N.length>0){E.length>0&&N.length>0&&(0!==(R=P(N,E))&&(I>=0?f[I][1]+=N.substring(0,R):(f.splice(0,0,[Q,N.substring(0,R)]),g++),N=N.substring(R),E=E.substring(R)),0!==(R=H(N,E))&&(f[g][1]=N.substring(N.length-R)+f[g][1],N=N.substring(0,N.length-R),E=E.substring(0,E.length-R)));var J=x+L;0===E.length&&0===N.length?(f.splice(g-J,J),g-=J):0===E.length?(f.splice(g-J,J,[j,N]),g=g-J+1):0===N.length?(f.splice(g-J,J,[nt,E]),g=g-J+1):(f.splice(g-J,J,[nt,E],[j,N]),g=g-J+2)}0!==g&&f[g-1][0]===Q?(f[g-1][1]+=f[g][1],f.splice(g,1)):g++,x=0,L=0,E="",N=""}""===f[f.length-1][1]&&f.pop();var rt=!1;for(g=1;g<f.length-1;)f[g-1][0]===Q&&f[g+1][0]===Q&&(f[g][1].substring(f[g][1].length-f[g-1][1].length)===f[g-1][1]?(f[g][1]=f[g-1][1]+f[g][1].substring(0,f[g][1].length-f[g-1][1].length),f[g+1][1]=f[g-1][1]+f[g+1][1],f.splice(g-1,1),rt=!0):f[g][1].substring(0,f[g+1][1].length)==f[g+1][1]&&(f[g-1][1]+=f[g+1][1],f[g][1]=f[g][1].substring(f[g+1][1].length)+f[g+1][1],f.splice(g+1,1),rt=!0)),g++;rt&&k(f,T)}function tt(f){return f>=55296&&f<=56319}function et(f){return f>=56320&&f<=57343}function lt(f){return et(f.charCodeAt(0))}function vt(f){return tt(f.charCodeAt(f.length-1))}function It(f,T,g,L){return vt(f)||lt(L)?null:function Ot(f){for(var T=[],g=0;g<f.length;g++)f[g][1].length>0&&T.push(f[g]);return T}([[Q,f],[nt,T],[j,g],[Q,L]])}function Ht(f,T,g,L){return St(f,T,g,L,!0)}Ht.INSERT=j,Ht.DELETE=nt,Ht.EQUAL=Q,xt.exports=Ht},4158:(xt,nt,j)=>{xt=j.nmd(xt);var St="__lodash_hash_undefined__",ft=9007199254740991,X="[object Arguments]",P="[object Boolean]",F="[object Date]",w="[object Function]",z="[object GeneratorFunction]",p="[object Map]",m="[object Number]",_="[object Object]",A="[object Promise]",K="[object RegExp]",G="[object Set]",k="[object String]",tt="[object Symbol]",et="[object WeakMap]",lt="[object ArrayBuffer]",vt="[object DataView]",Ot="[object Float32Array]",It="[object Float64Array]",Xt="[object Int8Array]",Ht="[object Int16Array]",f="[object Int32Array]",T="[object Uint8Array]",g="[object Uint8ClampedArray]",L="[object Uint16Array]",x="[object Uint32Array]",N=/\w*$/,R=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,C={};C[X]=C["[object Array]"]=C[lt]=C[vt]=C[P]=C[F]=C[Ot]=C[It]=C[Xt]=C[Ht]=C[f]=C[p]=C[m]=C[_]=C[K]=C[G]=C[k]=C[tt]=C[T]=C[g]=C[L]=C[x]=!0,C["[object Error]"]=C[w]=C[et]=!1;var st="object"==typeof global&&global&&global.Object===Object&&global,J="object"==typeof self&&self&&self.Object===Object&&self,rt=st||J||Function("return this")(),at=nt&&!nt.nodeType&&nt,$=at&&xt&&!xt.nodeType&&xt,_t=$&&$.exports===at;function Et(l,c){return l.set(c[0],c[1]),l}function it(l,c){return l.add(c),l}function gt(l,c,h,b){var V=-1,D=l?l.length:0;for(b&&D&&(h=l[++V]);++V<D;)h=c(h,l[V],V,l);return h}function At(l){var c=!1;if(null!=l&&"function"!=typeof l.toString)try{c=!!(l+"")}catch{}return c}function Rt(l){var c=-1,h=Array(l.size);return l.forEach(function(b,V){h[++c]=[V,b]}),h}function Kt(l,c){return function(h){return l(c(h))}}function Tn(l){var c=-1,h=Array(l.size);return l.forEach(function(b){h[++c]=b}),h}var l,Yn=Array.prototype,Qn=Function.prototype,je=Object.prototype,sn=rt["__core-js_shared__"],Pe=(l=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",Nn=Qn.toString,Gt=je.hasOwnProperty,Ne=je.toString,Jn=RegExp("^"+Nn.call(Gt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),we=_t?rt.Buffer:void 0,Ue=rt.Symbol,rn=rt.Uint8Array,Vt=Kt(Object.getPrototypeOf,Object),se=Object.create,wn=je.propertyIsEnumerable,ts=Yn.splice,ln=Object.getOwnPropertySymbols,Fe=we?we.isBuffer:void 0,xn=Kt(Object.keys,Object),He=Qt(rt,"DataView"),xe=Qt(rt,"Map"),Yt=Qt(rt,"Promise"),$e=Qt(rt,"Set"),on=Qt(rt,"WeakMap"),Se=Qt(Object,"create"),an=jt(He),$t=jt(xe),cn=jt(Yt),ue=jt($e),un=jt(on),Wt=Ue?Ue.prototype:void 0,Sn=Wt?Wt.valueOf:void 0;function he(l){var c=-1,h=l?l.length:0;for(this.clear();++c<h;){var b=l[c];this.set(b[0],b[1])}}function kt(l){var c=-1,h=l?l.length:0;for(this.clear();++c<h;){var b=l[c];this.set(b[0],b[1])}}function Bt(l){var c=-1,h=l?l.length:0;for(this.clear();++c<h;){var b=l[c];this.set(b[0],b[1])}}function Pt(l){this.__data__=new kt(l)}function On(l,c,h){var b=l[c];(!Gt.call(l,c)||!Bn(b,h)||void 0===h&&!(c in l))&&(l[c]=h)}function Ge(l,c){for(var h=l.length;h--;)if(Bn(l[h][0],c))return h;return-1}function fn(l,c,h,b,V,D,ct){var ut;if(b&&(ut=D?b(l,V,D,ct):b(l)),void 0!==ut)return ut;if(!te(l))return l;var Lt=pn(l);if(Lt){if(ut=function Es(l){var c=l.length,h=l.constructor(c);return c&&"string"==typeof l[0]&&Gt.call(l,"index")&&(h.index=l.index,h.input=l.input),h}(l),!c)return function _s(l,c){var h=-1,b=l.length;for(c||(c=Array(b));++h<b;)c[h]=l[h];return c}(l,ut)}else{var mt=le(l),Mt=mt==w||mt==z;if(Dn(l))return function Ve(l,c){if(c)return l.slice();var h=new l.constructor(l.length);return l.copy(h),h}(l,c);if(mt==_||mt==X||Mt&&!D){if(At(l))return D?l:{};if(ut=function Jt(l){return"function"!=typeof l.constructor||Oe(l)?{}:function ms(l){return te(l)?se(l):{}}(Vt(l))}(Mt?{}:l),!c)return function As(l,c){return Le(l,ie(l),c)}(l,function re(l,c){return l&&Le(c,ke(c),l)}(ut,l))}else{if(!C[mt])return D?l:{};ut=function kn(l,c,h,b){var V=l.constructor;switch(c){case lt:return dn(l);case P:case F:return new V(+l);case vt:return function Zt(l,c){var h=c?dn(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.byteLength)}(l,b);case Ot:case It:case Xt:case Ht:case f:case T:case g:case L:case x:return function gn(l,c){var h=c?dn(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.length)}(l,b);case p:return function _e(l,c,h){return gt(c?h(Rt(l),!0):Rt(l),Et,new l.constructor)}(l,b,h);case m:case k:return new V(l);case K:return function In(l){var c=new l.constructor(l.source,N.exec(l));return c.lastIndex=l.lastIndex,c}(l);case G:return function We(l,c,h){return gt(c?h(Tn(l),!0):Tn(l),it,new l.constructor)}(l,b,h);case tt:return function vs(l){return Sn?Object(Sn.call(l)):{}}(l)}}(l,mt,fn,c)}}ct||(ct=new Pt);var Ut=ct.get(l);if(Ut)return Ut;if(ct.set(l,ut),!Lt)var Ct=h?function Us(l){return function bs(l,c,h){var b=c(l);return pn(l)?b:function ht(l,c){for(var h=-1,b=c.length,V=l.length;++h<b;)l[V+h]=c[h];return l}(b,h(l))}(l,ke,ie)}(l):ke(l);return function dt(l,c){for(var h=-1,b=l?l.length:0;++h<b&&!1!==c(l[h],h,l););}(Ct||l,function(Dt,Nt){Ct&&(Dt=l[Nt=Dt]),On(ut,Nt,fn(Dt,c,h,b,Nt,l,ct))}),ut}function dn(l){var c=new l.constructor(l.byteLength);return new rn(c).set(new rn(l)),c}function Le(l,c,h,b){h||(h={});for(var V=-1,D=c.length;++V<D;){var ct=c[V],ut=b?b(h[ct],l[ct],ct,h,l):void 0;On(h,ct,void 0===ut?l[ct]:ut)}return h}function Ce(l,c){var h=l.__data__;return function Rn(l){var c=typeof l;return"string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==l:null===l}(c)?h["string"==typeof c?"string":"hash"]:h.map}function Qt(l,c){var h=function yt(l,c){return l?.[c]}(l,c);return function qn(l){return!(!te(l)||function Ns(l){return!!Pe&&Pe in l}(l))&&(mn(l)||At(l)?Jn:R).test(jt(l))}(h)?h:void 0}he.prototype.clear=function es(){this.__data__=Se?Se(null):{}},he.prototype.delete=function ns(l){return this.has(l)&&delete this.__data__[l]},he.prototype.get=function ss(l){var c=this.__data__;if(Se){var h=c[l];return h===St?void 0:h}return Gt.call(c,l)?c[l]:void 0},he.prototype.has=function Ln(l){var c=this.__data__;return Se?void 0!==c[l]:Gt.call(c,l)},he.prototype.set=function hn(l,c){return this.__data__[l]=Se&&void 0===c?St:c,this},kt.prototype.clear=function rs(){this.__data__=[]},kt.prototype.delete=function is(l){var c=this.__data__,h=Ge(c,l);return!(h<0||(h==c.length-1?c.pop():ts.call(c,h,1),0))},kt.prototype.get=function ls(l){var c=this.__data__,h=Ge(c,l);return h<0?void 0:c[h][1]},kt.prototype.has=function os(l){return Ge(this.__data__,l)>-1},kt.prototype.set=function as(l,c){var h=this.__data__,b=Ge(h,l);return b<0?h.push([l,c]):h[b][1]=c,this},Bt.prototype.clear=function cs(){this.__data__={hash:new he,map:new(xe||kt),string:new he}},Bt.prototype.delete=function us(l){return Ce(this,l).delete(l)},Bt.prototype.get=function ye(l){return Ce(this,l).get(l)},Bt.prototype.has=function Cn(l){return Ce(this,l).has(l)},Bt.prototype.set=function hs(l,c){return Ce(this,l).set(l,c),this},Pt.prototype.clear=function fs(){this.__data__=new kt},Pt.prototype.delete=function ds(l){return this.__data__.delete(l)},Pt.prototype.get=function gs(l){return this.__data__.get(l)},Pt.prototype.has=function ze(l){return this.__data__.has(l)},Pt.prototype.set=function ps(l,c){var h=this.__data__;if(h instanceof kt){var b=h.__data__;if(!xe||b.length<199)return b.push([l,c]),this;h=this.__data__=new Bt(b)}return h.set(l,c),this};var ie=ln?Kt(ln,Object):function ws(){return[]},le=function ve(l){return Ne.call(l)};function Ts(l,c){return!!(c=c??ft)&&("number"==typeof l||I.test(l))&&l>-1&&l%1==0&&l<c}function Oe(l){var c=l&&l.constructor;return l===("function"==typeof c&&c.prototype||je)}function jt(l){if(null!=l){try{return Nn.call(l)}catch{}try{return l+""}catch{}}return""}function Bn(l,c){return l===c||l!=l&&c!=c}(He&&le(new He(new ArrayBuffer(1)))!=vt||xe&&le(new xe)!=p||Yt&&le(Yt.resolve())!=A||$e&&le(new $e)!=G||on&&le(new on)!=et)&&(le=function(l){var c=Ne.call(l),h=c==_?l.constructor:void 0,b=h?jt(h):void 0;if(b)switch(b){case an:return vt;case $t:return p;case cn:return A;case ue:return G;case un:return et}return c});var pn=Array.isArray;function Ie(l){return null!=l&&function jn(l){return"number"==typeof l&&l>-1&&l%1==0&&l<=ft}(l.length)&&!mn(l)}var Dn=Fe||function xs(){return!1};function mn(l){var c=te(l)?Ne.call(l):"";return c==w||c==z}function te(l){var c=typeof l;return!!l&&("object"==c||"function"==c)}function ke(l){return Ie(l)?function Ke(l,c){var h=pn(l)||function qe(l){return function Mn(l){return function Pn(l){return!!l&&"object"==typeof l}(l)&&Ie(l)}(l)&&Gt.call(l,"callee")&&(!wn.call(l,"callee")||Ne.call(l)==X)}(l)?function pt(l,c){for(var h=-1,b=Array(l);++h<l;)b[h]=c(h);return b}(l.length,String):[],b=h.length,V=!!b;for(var D in l)(c||Gt.call(l,D))&&(!V||"length"!=D&&!Ts(D,b))&&h.push(D);return h}(l):function ys(l){if(!Oe(l))return xn(l);var c=[];for(var h in Object(l))Gt.call(l,h)&&"constructor"!=h&&c.push(h);return c}(l)}xt.exports=function Ze(l){return fn(l,!0,!0)}},401:(xt,nt,j)=>{xt=j.nmd(xt);var St="__lodash_hash_undefined__",ft=1,X=2,U=9007199254740991,P="[object Arguments]",F="[object Array]",H="[object AsyncFunction]",w="[object Boolean]",z="[object Date]",p="[object Error]",m="[object Function]",_="[object GeneratorFunction]",A="[object Map]",K="[object Number]",G="[object Null]",k="[object Object]",tt="[object Promise]",et="[object Proxy]",lt="[object RegExp]",vt="[object Set]",Ot="[object String]",Xt="[object Undefined]",Ht="[object WeakMap]",f="[object ArrayBuffer]",T="[object DataView]",rt=/^\[object .+?Constructor\]$/,at=/^(?:0|[1-9]\d*)$/,$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$[P]=$[F]=$[f]=$[w]=$[T]=$[z]=$[p]=$[m]=$[A]=$[K]=$[k]=$[lt]=$[vt]=$[Ot]=$[Ht]=!1;var _t="object"==typeof global&&global&&global.Object===Object&&global,Et="object"==typeof self&&self&&self.Object===Object&&self,it=_t||Et||Function("return this")(),dt=nt&&!nt.nodeType&&nt,ht=dt&&xt&&!xt.nodeType&&xt,gt=ht&&ht.exports===dt,pt=gt&&_t.process,yt=function(){try{return pt&&pt.binding&&pt.binding("util")}catch{}}(),At=yt&&yt.isTypedArray;function Tn(l,c){for(var h=-1,b=null==l?0:l.length;++h<b;)if(c(l[h],h,l))return!0;return!1}function je(l,c){return l.has(c)}function Pe(l){var c=-1,h=Array(l.size);return l.forEach(function(b,V){h[++c]=[V,b]}),h}function Gt(l){var c=-1,h=Array(l.size);return l.forEach(function(b){h[++c]=b}),h}var l,Ne=Array.prototype,we=Object.prototype,Ue=it["__core-js_shared__"],rn=Function.prototype.toString,Vt=we.hasOwnProperty,se=(l=/[^.]+$/.exec(Ue&&Ue.keys&&Ue.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",wn=we.toString,ts=RegExp("^"+rn.call(Vt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ln=gt?it.Buffer:void 0,Fe=it.Symbol,xn=it.Uint8Array,He=we.propertyIsEnumerable,xe=Ne.splice,Yt=Fe?Fe.toStringTag:void 0,$e=Object.getOwnPropertySymbols,on=ln?ln.isBuffer:void 0,Se=function Nn(l,c){return function(h){return l(c(h))}}(Object.keys,Object),an=ie(it,"DataView"),$t=ie(it,"Map"),cn=ie(it,"Promise"),ue=ie(it,"Set"),un=ie(it,"WeakMap"),Wt=ie(Object,"create"),Sn=jt(an),he=jt($t),es=jt(cn),ns=jt(ue),ss=jt(un),Ln=Fe?Fe.prototype:void 0,hn=Ln?Ln.valueOf:void 0;function kt(l){var c=-1,h=null==l?0:l.length;for(this.clear();++c<h;){var b=l[c];this.set(b[0],b[1])}}function Bt(l){var c=-1,h=null==l?0:l.length;for(this.clear();++c<h;){var b=l[c];this.set(b[0],b[1])}}function Pt(l){var c=-1,h=null==l?0:l.length;for(this.clear();++c<h;){var b=l[c];this.set(b[0],b[1])}}function Ke(l){var c=-1,h=null==l?0:l.length;for(this.__data__=new Pt;++c<h;)this.add(l[c])}function re(l){var c=this.__data__=new Bt(l);this.size=c.size}function Ve(l,c){for(var h=l.length;h--;)if(Ze(l[h][0],c))return h;return-1}function Zt(l){return null==l?void 0===l?Xt:G:Yt&&Yt in Object(l)?function le(l){var c=Vt.call(l,Yt),h=l[Yt];try{l[Yt]=void 0;var b=!0}catch{}var V=wn.call(l);return b&&(c?l[Yt]=h:delete l[Yt]),V}(l):function Oe(l){return wn.call(l)}(l)}function _e(l){return te(l)&&Zt(l)==P}function In(l,c,h,b,V){return l===c||(null==l||null==c||!te(l)&&!te(c)?l!=l&&c!=c:function We(l,c,h,b,V,D){var ct=qe(l),ut=qe(c),Lt=ct?F:Jt(l),mt=ut?F:Jt(c),Mt=(Lt=Lt==P?k:Lt)==k,Ut=(mt=mt==P?k:mt)==k,Ct=Lt==mt;if(Ct&&Ie(l)){if(!Ie(c))return!1;ct=!0,Mt=!1}if(Ct&&!Mt)return D||(D=new re),ct||Pn(l)?Le(l,c,h,b,V,D):function As(l,c,h,b,V,D,ct){switch(h){case T:if(l.byteLength!=c.byteLength||l.byteOffset!=c.byteOffset)return!1;l=l.buffer,c=c.buffer;case f:return!(l.byteLength!=c.byteLength||!D(new xn(l),new xn(c)));case w:case z:case K:return Ze(+l,+c);case p:return l.name==c.name&&l.message==c.message;case lt:case Ot:return l==c+"";case A:var ut=Pe;case vt:if(ut||(ut=Gt),l.size!=c.size&&!(b&ft))return!1;var mt=ct.get(l);if(mt)return mt==c;b|=X,ct.set(l,c);var Mt=Le(ut(l),ut(c),b,V,D,ct);return ct.delete(l),Mt;case"[object Symbol]":if(hn)return hn.call(l)==hn.call(c)}return!1}(l,c,Lt,h,b,V,D);if(!(h&ft)){var Dt=Mt&&Vt.call(l,"__wrapped__"),Nt=Ut&&Vt.call(c,"__wrapped__");if(Dt||Nt){var Ae=Dt?l.value():l,fe=Nt?c.value():c;return D||(D=new re),V(Ae,fe,h,b,D)}}return!!Ct&&(D||(D=new re),function Us(l,c,h,b,V,D){var ct=h&ft,ut=Ce(l),Lt=ut.length;if(Lt!=Ce(c).length&&!ct)return!1;for(var Ut=Lt;Ut--;){var Ct=ut[Ut];if(!(ct?Ct in c:Vt.call(c,Ct)))return!1}var Dt=D.get(l);if(Dt&&D.get(c))return Dt==c;var Nt=!0;D.set(l,c),D.set(c,l);for(var Ae=ct;++Ut<Lt;){var fe=l[Ct=ut[Ut]],Ee=c[Ct];if(b)var Fs=ct?b(Ee,fe,Ct,c,l,D):b(fe,Ee,Ct,l,c,D);if(!(void 0===Fs?fe===Ee||V(fe,Ee,h,b,D):Fs)){Nt=!1;break}Ae||(Ae="constructor"==Ct)}if(Nt&&!Ae){var Re=l.constructor,Un=c.constructor;Re!=Un&&"constructor"in l&&"constructor"in c&&!("function"==typeof Re&&Re instanceof Re&&"function"==typeof Un&&Un instanceof Un)&&(Nt=!1)}return D.delete(l),D.delete(c),Nt}(l,c,h,b,V,D))}(l,c,h,b,In,V))}function Le(l,c,h,b,V,D){var ct=h&ft,ut=l.length,Lt=c.length;if(ut!=Lt&&!(ct&&Lt>ut))return!1;var mt=D.get(l);if(mt&&D.get(c))return mt==c;var Mt=-1,Ut=!0,Ct=h&X?new Ke:void 0;for(D.set(l,c),D.set(c,l);++Mt<ut;){var Dt=l[Mt],Nt=c[Mt];if(b)var Ae=ct?b(Nt,Dt,Mt,c,l,D):b(Dt,Nt,Mt,l,c,D);if(void 0!==Ae){if(Ae)continue;Ut=!1;break}if(Ct){if(!Tn(c,function(fe,Ee){if(!je(Ct,Ee)&&(Dt===fe||V(Dt,fe,h,b,D)))return Ct.push(Ee)})){Ut=!1;break}}else if(Dt!==Nt&&!V(Dt,Nt,h,b,D)){Ut=!1;break}}return D.delete(l),D.delete(c),Ut}function Ce(l){return function dn(l,c,h){var b=c(l);return qe(l)?b:function Kt(l,c){for(var h=-1,b=c.length,V=l.length;++h<b;)l[V+h]=c[h];return l}(b,h(l))}(l,ke,Es)}function Qt(l,c){var h=l.__data__;return function Ts(l){var c=typeof l;return"string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==l:null===l}(c)?h["string"==typeof c?"string":"hash"]:h.map}function ie(l,c){var h=function sn(l,c){return l?.[c]}(l,c);return function vs(l){return!(!jn(l)||function Rn(l){return!!se&&se in l}(l))&&(Dn(l)?ts:rt).test(jt(l))}(h)?h:void 0}kt.prototype.clear=function rs(){this.__data__=Wt?Wt(null):{},this.size=0},kt.prototype.delete=function is(l){var c=this.has(l)&&delete this.__data__[l];return this.size-=c?1:0,c},kt.prototype.get=function ls(l){var c=this.__data__;if(Wt){var h=c[l];return h===St?void 0:h}return Vt.call(c,l)?c[l]:void 0},kt.prototype.has=function os(l){var c=this.__data__;return Wt?void 0!==c[l]:Vt.call(c,l)},kt.prototype.set=function as(l,c){var h=this.__data__;return this.size+=this.has(l)?0:1,h[l]=Wt&&void 0===c?St:c,this},Bt.prototype.clear=function cs(){this.__data__=[],this.size=0},Bt.prototype.delete=function us(l){var c=this.__data__,h=Ve(c,l);return!(h<0||(h==c.length-1?c.pop():xe.call(c,h,1),--this.size,0))},Bt.prototype.get=function ye(l){var c=this.__data__,h=Ve(c,l);return h<0?void 0:c[h][1]},Bt.prototype.has=function Cn(l){return Ve(this.__data__,l)>-1},Bt.prototype.set=function hs(l,c){var h=this.__data__,b=Ve(h,l);return b<0?(++this.size,h.push([l,c])):h[b][1]=c,this},Pt.prototype.clear=function fs(){this.size=0,this.__data__={hash:new kt,map:new($t||Bt),string:new kt}},Pt.prototype.delete=function ds(l){var c=Qt(this,l).delete(l);return this.size-=c?1:0,c},Pt.prototype.get=function gs(l){return Qt(this,l).get(l)},Pt.prototype.has=function ze(l){return Qt(this,l).has(l)},Pt.prototype.set=function ps(l,c){var h=Qt(this,l),b=h.size;return h.set(l,c),this.size+=h.size==b?0:1,this},Ke.prototype.add=Ke.prototype.push=function On(l){return this.__data__.set(l,St),this},Ke.prototype.has=function Ge(l){return this.__data__.has(l)},re.prototype.clear=function fn(){this.__data__=new Bt,this.size=0},re.prototype.delete=function ms(l){var c=this.__data__,h=c.delete(l);return this.size=c.size,h},re.prototype.get=function bs(l){return this.__data__.get(l)},re.prototype.has=function ve(l){return this.__data__.has(l)},re.prototype.set=function qn(l,c){var h=this.__data__;if(h instanceof Bt){var b=h.__data__;if(!$t||b.length<199)return b.push([l,c]),this.size=++h.size,this;h=this.__data__=new Pt(b)}return h.set(l,c),this.size=h.size,this};var Es=$e?function(l){return null==l?[]:(l=Object(l),function Rt(l,c){for(var h=-1,b=null==l?0:l.length,V=0,D=[];++h<b;){var ct=l[h];c(ct,h,l)&&(D[V++]=ct)}return D}($e(l),function(c){return He.call(l,c)}))}:function ws(){return[]},Jt=Zt;function kn(l,c){return!!(c=c??U)&&("number"==typeof l||at.test(l))&&l>-1&&l%1==0&&l<c}function jt(l){if(null!=l){try{return rn.call(l)}catch{}try{return l+""}catch{}}return""}function Ze(l,c){return l===c||l!=l&&c!=c}(an&&Jt(new an(new ArrayBuffer(1)))!=T||$t&&Jt(new $t)!=A||cn&&Jt(cn.resolve())!=tt||ue&&Jt(new ue)!=vt||un&&Jt(new un)!=Ht)&&(Jt=function(l){var c=Zt(l),h=c==k?l.constructor:void 0,b=h?jt(h):"";if(b)switch(b){case Sn:return T;case he:return A;case es:return tt;case ns:return vt;case ss:return Ht}return c});var Bn=_e(function(){return arguments}())?_e:function(l){return te(l)&&Vt.call(l,"callee")&&!He.call(l,"callee")},qe=Array.isArray,Ie=on||function xs(){return!1};function Dn(l){if(!jn(l))return!1;var c=Zt(l);return c==m||c==_||c==H||c==et}function mn(l){return"number"==typeof l&&l>-1&&l%1==0&&l<=U}function jn(l){var c=typeof l;return null!=l&&("object"==c||"function"==c)}function te(l){return null!=l&&"object"==typeof l}var Pn=At?function Qn(l){return function(c){return l(c)}}(At):function gn(l){return te(l)&&mn(l.length)&&!!$[Zt(l)]};function ke(l){return function pn(l){return null!=l&&mn(l.length)&&!Dn(l)}(l)?function ys(l,c){var h=qe(l),b=!h&&Bn(l),V=!h&&!b&&Ie(l),D=!h&&!b&&!V&&Pn(l),ct=h||b||V||D,ut=ct?function Yn(l,c){for(var h=-1,b=Array(l);++h<l;)b[h]=c(h);return b}(l.length,String):[],Lt=ut.length;for(var mt in l)(c||Vt.call(l,mt))&&(!ct||!("length"==mt||V&&("offset"==mt||"parent"==mt)||D&&("buffer"==mt||"byteLength"==mt||"byteOffset"==mt)||kn(mt,Lt)))&&ut.push(mt);return ut}(l):function _s(l){if(!function Ns(l){var c=l&&l.constructor;return l===("function"==typeof c&&c.prototype||we)}(l))return Se(l);var c=[];for(var h in Object(l))Vt.call(l,h)&&"constructor"!=h&&c.push(h);return c}(l)}xt.exports=function Mn(l,c){return In(l,c)}},9215:(xt,nt,j)=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});const Q=j(4158),St=j(401);var ft,X;(X=ft||(ft={})).compose=function U(w={},z={},p=!1){"object"!=typeof w&&(w={}),"object"!=typeof z&&(z={});let m=Q(z);p||(m=Object.keys(m).reduce((_,A)=>(null!=m[A]&&(_[A]=m[A]),_),{}));for(const _ in w)void 0!==w[_]&&void 0===z[_]&&(m[_]=w[_]);return Object.keys(m).length>0?m:void 0},X.diff=function P(w={},z={}){"object"!=typeof w&&(w={}),"object"!=typeof z&&(z={});const p=Object.keys(w).concat(Object.keys(z)).reduce((m,_)=>(St(w[_],z[_])||(m[_]=void 0===z[_]?null:z[_]),m),{});return Object.keys(p).length>0?p:void 0},X.invert=function F(w={},z={}){w=w||{};const p=Object.keys(z).reduce((m,_)=>(z[_]!==w[_]&&void 0!==w[_]&&(m[_]=z[_]),m),{});return Object.keys(w).reduce((m,_)=>(w[_]!==z[_]&&void 0===z[_]&&(m[_]=null),m),p)},X.transform=function H(w,z,p=!1){if("object"!=typeof w)return z;if("object"!=typeof z)return;if(!p)return z;const m=Object.keys(z).reduce((_,A)=>(void 0===w[A]&&(_[A]=z[A]),_),{});return Object.keys(m).length>0?m:void 0},nt.default=ft},4395:(xt,nt,j)=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0}),nt.AttributeMap=nt.OpIterator=nt.Op=void 0;const Q=j(921),St=j(4158),ft=j(401),X=j(9215);nt.AttributeMap=X.default;const U=j(4854);nt.Op=U.default;const P=j(508);nt.OpIterator=P.default;const H=(z,p)=>{if("object"!=typeof z||null===z)throw new Error("cannot retain a "+typeof z);if("object"!=typeof p||null===p)throw new Error("cannot retain a "+typeof p);const m=Object.keys(z)[0];if(!m||m!==Object.keys(p)[0])throw new Error(`embed types not matched: ${m} != ${Object.keys(p)[0]}`);return[m,z[m],p[m]]};class w{constructor(p){this.ops=Array.isArray(p)?p:null!=p&&Array.isArray(p.ops)?p.ops:[]}static registerEmbed(p,m){this.handlers[p]=m}static unregisterEmbed(p){delete this.handlers[p]}static getHandler(p){const m=this.handlers[p];if(!m)throw new Error(`no handlers for embed type "${p}"`);return m}insert(p,m){const _={};return"string"==typeof p&&0===p.length?this:(_.insert=p,null!=m&&"object"==typeof m&&Object.keys(m).length>0&&(_.attributes=m),this.push(_))}delete(p){return p<=0?this:this.push({delete:p})}retain(p,m){if("number"==typeof p&&p<=0)return this;const _={retain:p};return null!=m&&"object"==typeof m&&Object.keys(m).length>0&&(_.attributes=m),this.push(_)}push(p){let m=this.ops.length,_=this.ops[m-1];if(p=St(p),"object"==typeof _){if("number"==typeof p.delete&&"number"==typeof _.delete)return this.ops[m-1]={delete:_.delete+p.delete},this;if("number"==typeof _.delete&&null!=p.insert&&(m-=1,_=this.ops[m-1],"object"!=typeof _))return this.ops.unshift(p),this;if(ft(p.attributes,_.attributes)){if("string"==typeof p.insert&&"string"==typeof _.insert)return this.ops[m-1]={insert:_.insert+p.insert},"object"==typeof p.attributes&&(this.ops[m-1].attributes=p.attributes),this;if("number"==typeof p.retain&&"number"==typeof _.retain)return this.ops[m-1]={retain:_.retain+p.retain},"object"==typeof p.attributes&&(this.ops[m-1].attributes=p.attributes),this}}return m===this.ops.length?this.ops.push(p):this.ops.splice(m,0,p),this}chop(){const p=this.ops[this.ops.length-1];return p&&"number"==typeof p.retain&&!p.attributes&&this.ops.pop(),this}filter(p){return this.ops.filter(p)}forEach(p){this.ops.forEach(p)}map(p){return this.ops.map(p)}partition(p){const m=[],_=[];return this.forEach(A=>{(p(A)?m:_).push(A)}),[m,_]}reduce(p,m){return this.ops.reduce(p,m)}changeLength(){return this.reduce((p,m)=>m.insert?p+U.default.length(m):m.delete?p-m.delete:p,0)}length(){return this.reduce((p,m)=>p+U.default.length(m),0)}slice(p=0,m=1/0){const _=[],A=new P.default(this.ops);let K=0;for(;K<m&&A.hasNext();){let G;K<p?G=A.next(p-K):(G=A.next(m-K),_.push(G)),K+=U.default.length(G)}return new w(_)}compose(p){const m=new P.default(this.ops),_=new P.default(p.ops),A=[],K=_.peek();if(null!=K&&"number"==typeof K.retain&&null==K.attributes){let k=K.retain;for(;"insert"===m.peekType()&&m.peekLength()<=k;)k-=m.peekLength(),A.push(m.next());K.retain-k>0&&_.next(K.retain-k)}const G=new w(A);for(;m.hasNext()||_.hasNext();)if("insert"===_.peekType())G.push(_.next());else if("delete"===m.peekType())G.push(m.next());else{const k=Math.min(m.peekLength(),_.peekLength()),tt=m.next(k),et=_.next(k);if(et.retain){const lt={};if("number"==typeof tt.retain)lt.retain="number"==typeof et.retain?k:et.retain;else if("number"==typeof et.retain)null==tt.retain?lt.insert=tt.insert:lt.retain=tt.retain;else{const Ot=null==tt.retain?"insert":"retain",[It,Xt,Ht]=H(tt[Ot],et.retain),f=w.getHandler(It);lt[Ot]={[It]:f.compose(Xt,Ht,"retain"===Ot)}}const vt=X.default.compose(tt.attributes,et.attributes,"number"==typeof tt.retain);if(vt&&(lt.attributes=vt),G.push(lt),!_.hasNext()&&ft(G.ops[G.ops.length-1],lt)){const Ot=new w(m.rest());return G.concat(Ot).chop()}}else"number"==typeof et.delete&&("number"==typeof tt.retain||"object"==typeof tt.retain&&null!==tt.retain)&&G.push(et)}return G.chop()}concat(p){const m=new w(this.ops.slice());return p.ops.length>0&&(m.push(p.ops[0]),m.ops=m.ops.concat(p.ops.slice(1))),m}diff(p,m){if(this.ops===p.ops)return new w;const _=[this,p].map(tt=>tt.map(et=>{if(null!=et.insert)return"string"==typeof et.insert?et.insert:"\0";throw new Error("diff() called "+(tt===p?"on":"with")+" non-document")}).join("")),A=new w,K=Q(_[0],_[1],m,!0),G=new P.default(this.ops),k=new P.default(p.ops);return K.forEach(tt=>{let et=tt[1].length;for(;et>0;){let lt=0;switch(tt[0]){case Q.INSERT:lt=Math.min(k.peekLength(),et),A.push(k.next(lt));break;case Q.DELETE:lt=Math.min(et,G.peekLength()),G.next(lt),A.delete(lt);break;case Q.EQUAL:lt=Math.min(G.peekLength(),k.peekLength(),et);const vt=G.next(lt),Ot=k.next(lt);ft(vt.insert,Ot.insert)?A.retain(lt,X.default.diff(vt.attributes,Ot.attributes)):A.push(Ot).delete(lt)}et-=lt}}),A.chop()}eachLine(p,m="\n"){const _=new P.default(this.ops);let A=new w,K=0;for(;_.hasNext();){if("insert"!==_.peekType())return;const G=_.peek(),k=U.default.length(G)-_.peekLength(),tt="string"==typeof G.insert?G.insert.indexOf(m,k)-k:-1;if(tt<0)A.push(_.next());else if(tt>0)A.push(_.next(tt));else{if(!1===p(A,_.next(1).attributes||{},K))return;K+=1,A=new w}}A.length()>0&&p(A,{},K)}invert(p){const m=new w;return this.reduce((_,A)=>{if(A.insert)m.delete(U.default.length(A));else{if("number"==typeof A.retain&&null==A.attributes)return m.retain(A.retain),_+A.retain;if(A.delete||"number"==typeof A.retain){const K=A.delete||A.retain;return p.slice(_,_+K).forEach(k=>{A.delete?m.push(k):A.retain&&A.attributes&&m.retain(U.default.length(k),X.default.invert(A.attributes,k.attributes))}),_+K}if("object"==typeof A.retain&&null!==A.retain){const K=p.slice(_,_+1),G=new P.default(K.ops).next(),[k,tt,et]=H(A.retain,G.insert),lt=w.getHandler(k);return m.retain({[k]:lt.invert(tt,et)},X.default.invert(A.attributes,G.attributes)),_+1}}return _},0),m.chop()}transform(p,m=!1){if(m=!!m,"number"==typeof p)return this.transformPosition(p,m);const _=p,A=new P.default(this.ops),K=new P.default(_.ops),G=new w;for(;A.hasNext()||K.hasNext();)if("insert"!==A.peekType()||!m&&"insert"===K.peekType())if("insert"===K.peekType())G.push(K.next());else{const k=Math.min(A.peekLength(),K.peekLength()),tt=A.next(k),et=K.next(k);if(tt.delete)continue;if(et.delete)G.push(et);else{const lt=tt.retain,vt=et.retain;let Ot="object"==typeof vt&&null!==vt?vt:k;if("object"==typeof lt&&null!==lt&&"object"==typeof vt&&null!==vt){const It=Object.keys(lt)[0];if(It===Object.keys(vt)[0]){const Xt=w.getHandler(It);Xt&&(Ot={[It]:Xt.transform(lt[It],vt[It],m)})}}G.retain(Ot,X.default.transform(tt.attributes,et.attributes,m))}}else G.retain(U.default.length(A.next()));return G.chop()}transformPosition(p,m=!1){m=!!m;const _=new P.default(this.ops);let A=0;for(;_.hasNext()&&A<=p;){const K=_.peekLength(),G=_.peekType();_.next(),"delete"!==G?("insert"===G&&(A<p||!m)&&(p+=K),A+=K):p-=Math.min(K,p-A)}return p}}w.Op=U.default,w.OpIterator=P.default,w.AttributeMap=X.default,w.handlers={},nt.default=w,xt.exports=w,xt.exports.default=w},4854:(xt,nt)=>{"use strict";var j;Object.defineProperty(nt,"__esModule",{value:!0}),(j||(j={})).length=function St(ft){return"number"==typeof ft.delete?ft.delete:"number"==typeof ft.retain?ft.retain:"object"==typeof ft.retain&&null!==ft.retain?1:"string"==typeof ft.insert?ft.insert.length:1},nt.default=j},508:(xt,nt,j)=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});const Q=j(4854);nt.default=class St{constructor(X){this.ops=X,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(X){X||(X=1/0);const U=this.ops[this.index];if(U){const P=this.offset,F=Q.default.length(U);if(X>=F-P?(X=F-P,this.index+=1,this.offset=0):this.offset+=X,"number"==typeof U.delete)return{delete:X};{const H={};return U.attributes&&(H.attributes=U.attributes),"number"==typeof U.retain?H.retain=X:"object"==typeof U.retain&&null!==U.retain?H.retain=U.retain:H.insert="string"==typeof U.insert?U.insert.substr(P,X):U.insert,H}}return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?Q.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const X=this.ops[this.index];return X?"number"==typeof X.delete?"delete":"number"==typeof X.retain||"object"==typeof X.retain&&null!==X.retain?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);{const X=this.offset,U=this.index,P=this.next(),F=this.ops.slice(this.index);return this.offset=X,this.index=U,[P].concat(F)}}return[]}}},9906:xt=>{"use strict";var nt=Object.prototype.hasOwnProperty,j="~";function Q(){}function St(P,F,H){this.fn=P,this.context=F,this.once=H||!1}function ft(P,F,H,w,z){if("function"!=typeof H)throw new TypeError("The listener must be a function");var p=new St(H,w||P,z),m=j?j+F:F;return P._events[m]?P._events[m].fn?P._events[m]=[P._events[m],p]:P._events[m].push(p):(P._events[m]=p,P._eventsCount++),P}function X(P,F){0==--P._eventsCount?P._events=new Q:delete P._events[F]}function U(){this._events=new Q,this._eventsCount=0}Object.create&&(Q.prototype=Object.create(null),(new Q).__proto__||(j=!1)),U.prototype.eventNames=function(){var H,w,F=[];if(0===this._eventsCount)return F;for(w in H=this._events)nt.call(H,w)&&F.push(j?w.slice(1):w);return Object.getOwnPropertySymbols?F.concat(Object.getOwnPropertySymbols(H)):F},U.prototype.listeners=function(F){var w=this._events[j?j+F:F];if(!w)return[];if(w.fn)return[w.fn];for(var z=0,p=w.length,m=new Array(p);z<p;z++)m[z]=w[z].fn;return m},U.prototype.listenerCount=function(F){var w=this._events[j?j+F:F];return w?w.fn?1:w.length:0},U.prototype.emit=function(F,H,w,z,p,m){var _=j?j+F:F;if(!this._events[_])return!1;var G,k,A=this._events[_],K=arguments.length;if(A.fn){switch(A.once&&this.removeListener(F,A.fn,void 0,!0),K){case 1:return A.fn.call(A.context),!0;case 2:return A.fn.call(A.context,H),!0;case 3:return A.fn.call(A.context,H,w),!0;case 4:return A.fn.call(A.context,H,w,z),!0;case 5:return A.fn.call(A.context,H,w,z,p),!0;case 6:return A.fn.call(A.context,H,w,z,p,m),!0}for(k=1,G=new Array(K-1);k<K;k++)G[k-1]=arguments[k];A.fn.apply(A.context,G)}else{var et,tt=A.length;for(k=0;k<tt;k++)switch(A[k].once&&this.removeListener(F,A[k].fn,void 0,!0),K){case 1:A[k].fn.call(A[k].context);break;case 2:A[k].fn.call(A[k].context,H);break;case 3:A[k].fn.call(A[k].context,H,w);break;case 4:A[k].fn.call(A[k].context,H,w,z);break;default:if(!G)for(et=1,G=new Array(K-1);et<K;et++)G[et-1]=arguments[et];A[k].fn.apply(A[k].context,G)}}return!0},U.prototype.on=function(F,H,w){return ft(this,F,H,w,!1)},U.prototype.once=function(F,H,w){return ft(this,F,H,w,!0)},U.prototype.removeListener=function(F,H,w,z){var p=j?j+F:F;if(!this._events[p])return this;if(!H)return X(this,p),this;var m=this._events[p];if(m.fn)m.fn===H&&(!z||m.once)&&(!w||m.context===w)&&X(this,p);else{for(var _=0,A=[],K=m.length;_<K;_++)(m[_].fn!==H||z&&!m[_].once||w&&m[_].context!==w)&&A.push(m[_]);A.length?this._events[p]=1===A.length?A[0]:A:X(this,p)}return this},U.prototype.removeAllListeners=function(F){var H;return F?this._events[H=j?j+F:F]&&X(this,H):(this._events=new Q,this._eventsCount=0),this},U.prototype.off=U.prototype.removeListener,U.prototype.addListener=U.prototype.on,U.prefixed=j,U.EventEmitter=U,xt.exports=U},256:(xt,nt,j)=>{"use strict";j.r(nt),j.d(nt,{Module:()=>me,Parchment:()=>Q,Range:()=>Je,default:()=>Ed});var Q={};j.r(Q),j.d(Q,{Attributor:()=>Te,AttributorStore:()=>Hs,BlockBlot:()=>qs,ClassAttributor:()=>de,ContainerBlot:()=>$s,EmbedBlot:()=>ee,InlineBlot:()=>dr,LeafBlot:()=>Ft,ParentBlot:()=>ge,Registry:()=>$n,Scope:()=>M,ScrollBlot:()=>pr,StyleAttributor:()=>Ye,TextBlot:()=>zs});const U=function X(s,e){return s===e||s!=s&&e!=e},F=function P(s,e){for(var t=s.length;t--;)if(U(s[t][0],e))return t;return-1};var w=Array.prototype.splice;function tt(s){var e=-1,t=null==s?0:s.length;for(this.clear();++e<t;){var n=s[e];this.set(n[0],n[1])}}tt.prototype.clear=function St(){this.__data__=[],this.size=0},tt.prototype.delete=function z(s){var e=this.__data__,t=F(e,s);return!(t<0||(t==e.length-1?e.pop():w.call(e,t,1),--this.size,0))},tt.prototype.get=function m(s){var e=this.__data__,t=F(e,s);return t<0?void 0:e[t][1]},tt.prototype.has=function A(s){return F(this.__data__,s)>-1},tt.prototype.set=function G(s,e){var t=this.__data__,n=F(t,s);return n<0?(++this.size,t.push([s,e])):t[n][1]=e,this};const et=tt,L="object"==typeof global&&global&&global.Object===Object&&global;var x="object"==typeof self&&self&&self.Object===Object&&self;const N=L||x||Function("return this")(),I=N.Symbol;var C=Object.prototype,st=C.hasOwnProperty,J=C.toString,rt=I?I.toStringTag:void 0;var Et=Object.prototype.toString;var pt=I?I.toStringTag:void 0;const At=function yt(s){return null==s?void 0===s?"[object Undefined]":"[object Null]":pt&&pt in Object(s)?function at(s){var e=st.call(s,rt),t=s[rt];try{s[rt]=void 0;var n=!0}catch{}var r=J.call(s);return n&&(e?s[rt]=t:delete s[rt]),r}(s):function it(s){return Et.call(s)}(s)},Kt=function Rt(s){var e=typeof s;return null!=s&&("object"==e||"function"==e)},Pe=function sn(s){if(!Kt(s))return!1;var e=At(s);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};var s,Nn=N["__core-js_shared__"],Ne=(s=/[^.]+$/.exec(Nn&&Nn.keys&&Nn.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";var rn=Function.prototype.toString;const se=function Vt(s){if(null!=s){try{return rn.call(s)}catch{}try{return s+""}catch{}}return""};var ts=/^\[object .+?Constructor\]$/,xe=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $e=function Yt(s){return!(!Kt(s)||function Jn(s){return!!Ne&&Ne in s}(s))&&(Pe(s)?xe:ts).test(se(s))},$t=function an(s,e){var t=function on(s,e){return s?.[e]}(s,e);return $e(t)?t:void 0},ue=$t(N,"Map"),Wt=$t(Object,"create");var hn=Object.prototype.hasOwnProperty;var ls=Object.prototype.hasOwnProperty;function ye(s){var e=-1,t=null==s?0:s.length;for(this.clear();++e<t;){var n=s[e];this.set(n[0],n[1])}}ye.prototype.clear=function Sn(){this.__data__=Wt?Wt(null):{},this.size=0},ye.prototype.delete=function es(s){var e=this.has(s)&&delete this.__data__[s];return this.size-=e?1:0,e},ye.prototype.get=function kt(s){var e=this.__data__;if(Wt){var t=e[s];return"__lodash_hash_undefined__"===t?void 0:t}return hn.call(e,s)?e[s]:void 0},ye.prototype.has=function os(s){var e=this.__data__;return Wt?void 0!==e[s]:ls.call(e,s)},ye.prototype.set=function cs(s,e){var t=this.__data__;return this.size+=this.has(s)?0:1,t[s]=Wt&&void 0===e?"__lodash_hash_undefined__":e,this};const Cn=ye,ze=function gs(s,e){var t=s.__data__;return function fs(s){var e=typeof s;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==s:null===s}(e)?t["string"==typeof e?"string":"hash"]:t.map};function ve(s){var e=-1,t=null==s?0:s.length;for(this.clear();++e<t;){var n=s[e];this.set(n[0],n[1])}}ve.prototype.clear=function hs(){this.size=0,this.__data__={hash:new Cn,map:new(ue||et),string:new Cn}},ve.prototype.delete=function ps(s){var e=ze(this,s).delete(s);return this.size-=e?1:0,e},ve.prototype.get=function On(s){return ze(this,s).get(s)},ve.prototype.has=function re(s){return ze(this,s).has(s)},ve.prototype.set=function ms(s,e){var t=ze(this,s),n=t.size;return t.set(s,e),this.size+=t.size==n?0:1,this};const qn=ve;function Zt(s){var e=this.__data__=new et(s);this.size=e.size}Zt.prototype.clear=function lt(){this.__data__=new et,this.size=0},Zt.prototype.delete=function Ot(s){var e=this.__data__,t=e.delete(s);return this.size=e.size,t},Zt.prototype.get=function Xt(s){return this.__data__.get(s)},Zt.prototype.has=function f(s){return this.__data__.has(s)},Zt.prototype.set=function Ve(s,e){var t=this.__data__;if(t instanceof et){var n=t.__data__;if(!ue||n.length<199)return n.push([s,e]),this.size=++t.size,this;t=this.__data__=new qn(n)}return t.set(s,e),this.size=t.size,this};const _e=Zt;var In=function(){try{var s=$t(Object,"defineProperty");return s({},"",{}),s}catch{}}();const We=In,gn=function vs(s,e,t){"__proto__"==e&&We?We(s,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):s[e]=t},Le=function _s(s,e,t){(void 0!==t&&!U(s[e],t)||void 0===t&&!(e in s))&&gn(s,e,t)};var Ce=function As(s){return function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var u=o[s?a:++r];if(!1===t(i[u],u,i))break}return e}}();const Qt=Ce;var ie="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ie&&"object"==typeof module&&module&&!module.nodeType&&module,Jt=le&&le.exports===ie?N.Buffer:void 0,kn=Jt?Jt.allocUnsafe:void 0;const Rn=function Ts(s,e){if(e)return s.slice();var t=s.length,n=kn?kn(t):new s.constructor(t);return s.copy(n),n},Oe=N.Uint8Array,Ze=function jt(s){var e=new s.constructor(s.byteLength);return new Oe(e).set(new Oe(s)),e},qe=function Bn(s,e){var t=e?Ze(s.buffer):s.buffer;return new s.constructor(t,s.byteOffset,s.length)},Ie=function pn(s,e){var t=-1,n=s.length;for(e||(e=Array(n));++t<n;)e[t]=s[t];return e};var Mn=Object.create,Dn=function(){function s(){}return function(e){if(!Kt(e))return{};if(Mn)return Mn(e);s.prototype=e;var t=new s;return s.prototype=void 0,t}}();const mn=Dn,te=function jn(s,e){return function(t){return s(e(t))}},ke=te(Object.getPrototypeOf,Object);var ws=Object.prototype;const l=function xs(s){var e=s&&s.constructor;return s===("function"==typeof e&&e.prototype||ws)},h=function c(s){return"function"!=typeof s.constructor||l(s)?{}:mn(ke(s))},V=function b(s){return null!=s&&"object"==typeof s},ut=function ct(s){return V(s)&&"[object Arguments]"==At(s)};var Lt=Object.prototype,mt=Lt.hasOwnProperty,Mt=Lt.propertyIsEnumerable,Ut=ut(function(){return arguments}())?ut:function(s){return V(s)&&mt.call(s,"callee")&&!Mt.call(s,"callee")};const Ct=Ut,Nt=Array.isArray,Ee=function fe(s){return"number"==typeof s&&s>-1&&s%1==0&&s<=9007199254740991},Re=function Fs(s){return null!=s&&Ee(s.length)&&!Pe(s)};var ti="object"==typeof exports&&exports&&!exports.nodeType&&exports,ei=ti&&"object"==typeof module&&module&&!module.nodeType&&module,ni=ei&&ei.exports===ti?N.Buffer:void 0;const Ss=(ni?ni.isBuffer:void 0)||function Rl(){return!1};var si=Function.prototype.toString,Hl=Object.prototype.hasOwnProperty,$l=si.call(Object);var wt={};wt["[object Float32Array]"]=wt["[object Float64Array]"]=wt["[object Int8Array]"]=wt["[object Int16Array]"]=wt["[object Int32Array]"]=wt["[object Uint8Array]"]=wt["[object Uint8ClampedArray]"]=wt["[object Uint16Array]"]=wt["[object Uint32Array]"]=!0,wt["[object Arguments]"]=wt["[object Array]"]=wt["[object ArrayBuffer]"]=wt["[object Boolean]"]=wt["[object DataView]"]=wt["[object Date]"]=wt["[object Error]"]=wt["[object Function]"]=wt["[object Map]"]=wt["[object Number]"]=wt["[object Object]"]=wt["[object RegExp]"]=wt["[object Set]"]=wt["[object String]"]=wt["[object WeakMap]"]=!1;const ar=function vo(s){return function(e){return s(e)}};var ri="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ls=ri&&"object"==typeof module&&module&&!module.nodeType&&module,cr=Ls&&Ls.exports===ri&&L.process;const Fn=function(){try{return Ls&&Ls.require&&Ls.require("util").types||cr&&cr.binding&&cr.binding("util")}catch{}}();var ii=Fn&&Fn.isTypedArray;const ur=ii?ar(ii):function bo(s){return V(s)&&Ee(s.length)&&!!wt[At(s)]},hr=function To(s,e){if(("constructor"!==e||"function"!=typeof s[e])&&"__proto__"!=e)return s[e]};var wo=Object.prototype.hasOwnProperty;const li=function xo(s,e,t){var n=s[e];(!wo.call(s,e)||!U(n,t)||void 0===t&&!(e in s))&&gn(s,e,t)},Cs=function So(s,e,t,n){var r=!t;t||(t={});for(var i=-1,o=e.length;++i<o;){var a=e[i],u=n?n(t[a],s[a],a,t,s):void 0;void 0===u&&(u=s[a]),r?gn(t,a,u):li(t,a,u)}return t};var qo=/^(?:0|[1-9]\d*)$/;const oi=function Io(s,e){var t=typeof s;return!!(e=e??9007199254740991)&&("number"==t||"symbol"!=t&&qo.test(s))&&s>-1&&s%1==0&&s<e};var Ro=Object.prototype.hasOwnProperty;const ai=function Bo(s,e){var t=Nt(s),n=!t&&Ct(s),r=!t&&!n&&Ss(s),i=!t&&!n&&!r&&ur(s),o=t||n||r||i,a=o?function Lo(s,e){for(var t=-1,n=Array(s);++t<s;)n[t]=e(t);return n}(s.length,String):[],u=a.length;for(var d in s)(e||Ro.call(s,d))&&(!o||!("length"==d||r&&("offset"==d||"parent"==d)||i&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||oi(d,u)))&&a.push(d);return a};var Po=Object.prototype.hasOwnProperty;const Fo=function Uo(s){if(!Kt(s))return function Mo(s){var e=[];if(null!=s)for(var t in Object(s))e.push(t);return e}(s);var e=l(s),t=[];for(var n in s)"constructor"==n&&(e||!Po.call(s,n))||t.push(n);return t},Os=function Ho(s){return Re(s)?ai(s,!0):Fo(s)},Go=function Ko(s,e,t,n,r,i,o){var a=hr(s,t),u=hr(e,t),d=o.get(u);if(d)Le(s,t,d);else{var v=i?i(a,u,t+"",s,e,o):void 0,S=void 0===v;if(S){var q=Nt(u),W=!q&&Ss(u),Y=!q&&!W&&ur(u);v=u,q||W||Y?Nt(a)?v=a:function Un(s){return V(s)&&Re(s)}(a)?v=Ie(a):W?(S=!1,v=Rn(u,!0)):Y?(S=!1,v=qe(u,!0)):v=[]:function zl(s){if(!V(s)||"[object Object]"!=At(s))return!1;var e=ke(s);if(null===e)return!0;var t=Hl.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&si.call(t)==$l}(u)||Ct(u)?(v=a,Ct(a)?v=function $o(s){return Cs(s,Os(s))}(a):(!Kt(a)||Pe(a))&&(v=h(u))):S=!1}S&&(o.set(u,v),r(v,u,n,i,o),o.delete(u)),Le(s,t,v)}},Vo=function ci(s,e,t,n,r){s!==e&&Qt(e,function(i,o){if(r||(r=new _e),Kt(i))Go(s,e,o,t,ci,n,r);else{var a=n?n(hr(s,o),i,o+"",s,e,r):void 0;void 0===a&&(a=i),Le(s,o,a)}},Os)},ui=function Wo(s){return s};var hi=Math.max;const ta=function Jo(s){return function(){return s}};var ea=We?function(s,e){return We(s,"toString",{configurable:!0,enumerable:!1,value:ta(e),writable:!0})}:ui,ia=Date.now,oa=function la(s){var e=0,t=0;return function(){var n=ia(),r=16-(n-t);if(t=n,r>0){if(++e>=800)return arguments[0]}else e=0;return s.apply(void 0,arguments)}}(ea);const aa=oa,ua=function ca(s,e){return aa(function Yo(s,e,t){return e=hi(void 0===e?s.length-1:e,0),function(){for(var n=arguments,r=-1,i=hi(n.length-e,0),o=Array(i);++r<i;)o[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=t(o),function Zo(s,e,t){switch(t.length){case 0:return s.call(e);case 1:return s.call(e,t[0]);case 2:return s.c