System.register([],(function(t){"use strict";return{execute:function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function r(t,e){return t(e={exports:{}},e.exports),e.exports}function i(t){return t&&t.default||t}function a(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var o,s,l=function(t){return t&&t.Math===Math&&t},u=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof e&&e)||function(){return this}()||e||Function("return this")(),h=function(t){try{return!!t()}catch(t){return!0}},f=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),d=f,A=Function.prototype,p=A.apply,g=A.call,m="object"==typeof Reflect&&Reflect.apply||(d?g.bind(p):function(){return g.apply(p,arguments)}),b=Function.prototype,v=b.call,y=d&&b.bind.bind(v,v),w=d?y:function(t){return function(){return v.apply(t,arguments)}},T=w,k=T({}.toString),C=T("".slice),E=function(t){return C(k(t),8,-1)},x="object"==typeof document&&document.all,_={all:x,IS_HTMLDDA:void 0===x&&void 0!==x},B=_.all,S=_.IS_HTMLDDA?function(t){return"function"==typeof t||t===B}:function(t){return"function"==typeof t},L=!h((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),I=Function.prototype.call,M=d?I.bind(I):function(){return I.apply(I,arguments)},O={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,D=N&&!O.call({1:2},1)?function(t){var e=N(this,t);return!!e&&e.enumerable}:O,F={f:D},P=Object,R=T("".split),Q=h((function(){return!P("z").propertyIsEnumerable(0)}))?function(t){return"String"===E(t)?R(t,""):P(t)}:P,U=function(t){return null==t},H=TypeError,j=Q,$=function(t){if(U(t))throw H("Can't call method on "+t);return t},K=S,G=_.all,z=_.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:K(t)||t===G}:function(t){return"object"==typeof t?null!==t:K(t)},X={},q=u,V=function(t){return K(t)?t:void 0},W=T({}.isPrototypeOf),Y="undefined"!=typeof navigator&&String(navigator.userAgent)||"",J=q.process,Z=q.Deno,tt=J&&J.versions||Z&&Z.version,et=tt&&tt.v8;et&&(s=(o=et.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!s&&Y&&(!(o=Y.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=Y.match(/Chrome\/(\d+)/))&&(s=+o[1]);var nt=s,rt=q.String,it=!!Object.getOwnPropertySymbols&&!h((function(){var t=Symbol("symbol detection");return!rt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&nt&&nt<41})),at=it,ot=at&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,st=function(t,e){return arguments.length<2?V(X[t])||V(q[t]):X[t]&&X[t][e]||q[t]&&q[t][e]},ct=W,lt=ot,ut=Object,ht=lt?function(t){return"symbol"==typeof t}:function(t){var e=st("Symbol");return K(e)&&ct(e.prototype,ut(t))},ft=String,dt=function(t){try{return ft(t)}catch(t){return"Object"}},At=TypeError,pt=function(t){if(K(t))return t;throw At(dt(t)+" is not a function")},gt=M,mt=z,bt=TypeError,vt=Object.defineProperty,yt=function(t,e){try{vt(q,t,{value:e,configurable:!0,writable:!0})}catch(n){q[t]=e}return e},wt="__core-js_shared__",Tt=q[wt]||yt(wt,{}),kt=!0,Ct=Tt,Et=r((function(t){(t.exports=function(t,e){return Ct[t]||(Ct[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.32.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),xt=Object,_t=function(t){return xt($(t))},Bt=T({}.hasOwnProperty),St=Object.hasOwn||function(t,e){return Bt(_t(t),e)},Lt=0,It=Math.random(),Mt=T(1..toString),Ot=Et,Nt=St,Dt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Mt(++Lt+It,36)},Ft=q.Symbol,Pt=Ot("wks"),Rt=lt?Ft.for||Ft:Ft&&Ft.withoutSetter||Dt,Qt=ht,Ut=function(t,e){var n=t[e];return U(n)?void 0:pt(n)},Ht=function(t,e){var n,r;if("string"===e&&K(n=t.toString)&&!mt(r=gt(n,t)))return r;if(K(n=t.valueOf)&&!mt(r=gt(n,t)))return r;if("string"!==e&&K(n=t.toString)&&!mt(r=gt(n,t)))return r;throw bt("Can't convert object to primitive value")},jt=function(t){return Nt(Pt,t)||(Pt[t]=at&&Nt(Ft,t)?Ft[t]:Rt("Symbol."+t)),Pt[t]},$t=TypeError,Kt=jt("toPrimitive"),Gt=function(t,e){if(!mt(t)||Qt(t))return t;var n,r=Ut(t,Kt);if(r){if(void 0===e&&(e="default"),n=gt(r,t,e),!mt(n)||Qt(n))return n;throw $t("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ht(t,e)},zt=q.document,Xt=mt(zt)&&mt(zt.createElement),qt=L,Vt=function(t){return Xt?zt.createElement(t):{}},Wt=!qt&&!h((function(){return 7!==Object.defineProperty(Vt("div"),"a",{get:function(){return 7}}).a})),Yt=F,Jt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Zt=function(t){return j($(t))},te=function(t){var e=Gt(t,"string");return Qt(e)?e:e+""},ee=Wt,ne=Object.getOwnPropertyDescriptor,re={f:qt?ne:function(t,e){if(t=Zt(t),e=te(e),ee)try{return ne(t,e)}catch(t){}if(Nt(t,e))return Jt(!gt(Yt.f,t,e),t[e])}},ie=/#|\.prototype\./,ae=function(t,e){var n=se[oe(t)];return n===le||n!==ce&&(K(e)?h(e):!!e)},oe=ae.normalize=function(t){return String(t).replace(ie,".").toLowerCase()},se=ae.data={},ce=ae.NATIVE="N",le=ae.POLYFILL="P",ue=ae,he=function(t){if("Function"===E(t))return T(t)},fe=he(he.bind),de=qt&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ae=String,pe=TypeError,ge=de,me=function(t){if(mt(t))return t;throw pe(Ae(t)+" is not an object")},be=TypeError,ve=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,we="enumerable",Te="configurable",ke="writable",Ce={f:qt?ge?function(t,e,n){if(me(t),e=te(e),me(n),"function"==typeof t&&"prototype"===e&&"value"in n&&ke in n&&!n[ke]){var r=ye(t,e);r&&r[ke]&&(t[e]=n.value,n={configurable:Te in n?n[Te]:r[Te],enumerable:we in n?n[we]:r[we],writable:!1})}return ve(t,e,n)}:ve:function(t,e,n){if(me(t),e=te(e),me(n),ee)try{return ve(t,e,n)}catch(t){}if("get"in n||"set"in n)throw be("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Ee=qt?function(t,e,n){return Ce.f(t,e,Jt(1,n))}:function(t,e,n){return t[e]=n,t},xe=m,_e=re,Be=ue,Se=function(t,e){return pt(t),void 0===e?t:d?fe(t,e):function(){return t.apply(e,arguments)}},Le=Ee,Ie=_e.f,Me=function(t){var e=function(n,r,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,i)}return xe(t,this,arguments)};return e.prototype=t.prototype,e},Oe=T([].slice),Ne=Function,De=T([].concat),Fe=T([].join),Pe={},Re=d?Ne.bind:function(t){var e=pt(this),n=e.prototype,r=Oe(arguments,1),i=function(){var n=De(r,Oe(arguments));return this instanceof i?function(t,e,n){if(!Nt(Pe,e)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";Pe[e]=Ne("C,a","return new C("+Fe(r,",")+")")}return Pe[e](t,n)}(e,n.length,n):e.apply(t,n)};return mt(n)&&(i.prototype=n),i},Qe={};Qe[jt("toStringTag")]="z";var Ue="[object z]"===String(Qe),He=jt("toStringTag"),je=Object,$e="Arguments"===E(function(){return arguments}()),Ke=Ue?E:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=je(t),He))?n:$e?E(e):"Object"===(r=E(e))&&K(e.callee)?"Arguments":r},Ge=T(Function.toString);K(Ct.inspectSource)||(Ct.inspectSource=function(t){return Ge(t)});var ze=Ct.inspectSource,Xe=Ke,qe=ze,Ve=function(){},We=[],Ye=st("Reflect","construct"),Je=/^\s*(?:class|function)\b/,Ze=T(Je.exec),tn=!Je.exec(Ve),en=function(t){if(!K(t))return!1;try{return Ye(Ve,We,t),!0}catch(t){return!1}},nn=function(t){if(!K(t))return!1;switch(Xe(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return tn||!!Ze(Je,qe(t))}catch(t){return!0}};nn.sham=!0;var rn,an=!Ye||h((function(){var t;return en(en.call)||!en(Object)||!en((function(){t=!0}))||t}))?nn:en,on=an,sn=TypeError,cn=Math.ceil,ln=Math.floor,un=Math.trunc||function(t){var e=+t;return(e>0?ln:cn)(e)},hn=un,fn=function(t){var e=+t;return e!=e||0===e?0:hn(e)},dn=Math.max,An=Math.min,pn=Math.min,gn=function(t){return t>0?pn(fn(t),9007199254740991):0},mn=function(t,e){var n=fn(t);return n<0?dn(n+e,0):An(n,e)},bn=function(t){return gn(t.length)},vn=function(t){return function(e,n,r){var i,a=Zt(e),o=bn(a),s=mn(r,o);if(t&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}},yn={includes:vn(!0),indexOf:vn(!1)},wn={},Tn=yn.indexOf,kn=T([].push),Cn=function(t,e){var n,r=Zt(t),i=0,a=[];for(n in r)!Nt(wn,n)&&Nt(r,n)&&kn(a,n);for(;e.length>i;)Nt(r,n=e[i++])&&(~Tn(a,n)||kn(a,n));return a},En=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xn=Object.keys||function(t){return Cn(t,En)},_n=qt&&!ge?Object.defineProperties:function(t,e){me(t);for(var n,r=Zt(e),i=xn(e),a=i.length,o=0;a>o;)Ce.f(t,n=i[o++],r[n]);return t},Bn={f:_n},Sn=st("document","documentElement"),Ln=Ot("keys"),In=Bn,Mn=Sn,On=function(t){return Ln[t]||(Ln[t]=Dt(t))},Nn="prototype",Dn="script",Fn=On("IE_PROTO"),Pn=function(){},Rn=function(t){return"<"+Dn+">"+t+"</"+Dn+">"},Qn=function(t){t.write(Rn("")),t.close();var e=t.parentWindow.Object;return t=null,e},Un=function(){try{rn=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Un="undefined"!=typeof document?document.domain&&rn?Qn(rn):(e=Vt("iframe"),n="java"+Dn+":",e.style.display="none",Mn.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Rn("document.F=Object")),t.close(),t.F):Qn(rn);for(var r=En.length;r--;)delete Un[Nn][En[r]];return Un()};wn[Fn]=!0;var Hn=Object.create||function(t,e){var n;return null!==t?(Pn[Nn]=me(t),n=new Pn,Pn[Nn]=null,n[Fn]=t):n=Un(),void 0===e?n:In.f(n,e)},jn=function(t,e){var n,r,i,a,o,s,c,l,u,h=t.target,f=t.global,d=t.stat,A=t.proto,p=f?q:d?q[h]:(q[h]||{}).prototype,g=f?X:X[h]||Le(X,h,{})[h],m=g.prototype;for(a in e)r=!(n=Be(f?a:h+(d?".":"#")+a,t.forced))&&p&&Nt(p,a),s=g[a],r&&(c=t.dontCallGetSet?(u=Ie(p,a))&&u.value:p[a]),o=r&&c?c:e[a],r&&typeof s==typeof o||(l=t.bind&&r?Se(o,q):t.wrap&&r?Me(o):A&&K(o)?he(o):o,(t.sham||o&&o.sham||s&&s.sham)&&Le(l,"sham",!0),Le(g,a,l),A&&(Nt(X,i=h+"Prototype")||Le(X,i,{}),Le(X[i],a,o),t.real&&m&&(n||!m[a])&&Le(m,a,o)))},$n=Re,Kn=function(t){if(on(t))return t;throw sn(dt(t)+" is not a constructor")},Gn=Hn,zn=st("Reflect","construct"),Xn=Object.prototype,qn=[].push,Vn=h((function(){function t(){}return!(zn((function(){}),[],t)instanceof t)})),Wn=!h((function(){zn((function(){}))})),Yn=Vn||Wn;jn({target:"Reflect",stat:!0,forced:Yn,sham:Yn},{construct:function(t,e){Kn(t),me(e);var n=arguments.length<3?t:Kn(arguments[2]);if(Wn&&!Vn)return zn(t,e,n);if(t===n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return xe(qn,r,e),new(xe($n,t,r))}var i=n.prototype,a=Gn(mt(i)?i:Xn),o=xe(t,a,e);return mt(o)?o:a}});var Jn=X.Reflect.construct,Zn=Jn,tr=h((function(){xn(1)}));jn({target:"Object",stat:!0,forced:tr},{keys:function(t){return xn(_t(t))}});var er,nr,rr,ir=X.Object.keys,ar=ir,or=String,sr=En.concat("length","prototype"),cr={f:Object.getOwnPropertyNames||function(t){return Cn(t,sr)}},lr=function(t,e,n){var r=te(e);r in t?Ce.f(t,r,Jt(0,n)):t[r]=n},ur=Array,hr=Math.max,fr=cr,dr=function(t,e,n){for(var r=bn(t),i=mn(e,r),a=mn(void 0===n?r:n,r),o=ur(hr(a-i,0)),s=0;i<a;i++,s++)lr(o,s,t[i]);return o.length=s,o},Ar=fr.f,pr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],gr={f:function(t){return pr&&"Window"===E(t)?function(t){try{return Ar(t)}catch(t){return dr(pr)}}(t):Ar(Zt(t))}},mr={f:Object.getOwnPropertySymbols},br={f:jt},vr=Ce.f,yr=function(t,e,n,r){return r&&r.enumerable?t[e]=n:Le(t,e,n),t},wr=Ue?{}.toString:function(){return"[object "+Xe(this)+"]"},Tr=Ce.f,kr=jt("toStringTag"),Cr=q.WeakMap,Er=K(Cr)&&/native code/.test(String(Cr)),xr="Object already initialized",_r=q.TypeError,Br=q.WeakMap;if(Er||Ct.state){var Sr=Ct.state||(Ct.state=new Br);Sr.get=Sr.get,Sr.has=Sr.has,Sr.set=Sr.set,er=function(t,e){if(Sr.has(t))throw _r(xr);return e.facade=t,Sr.set(t,e),e},nr=function(t){return Sr.get(t)||{}},rr=function(t){return Sr.has(t)}}else{var Lr=On("state");wn[Lr]=!0,er=function(t,e){if(Nt(t,Lr))throw _r(xr);return e.facade=t,Le(t,Lr,e),e},nr=function(t){return Nt(t,Lr)?t[Lr]:{}},rr=function(t){return Nt(t,Lr)}}var Ir={set:er,get:nr,has:rr,enforce:function(t){return rr(t)?nr(t):er(t,{})},getterFor:function(t){return function(e){var n;if(!mt(e)||(n=nr(e)).type!==t)throw _r("Incompatible receiver, "+t+" required");return n}}},Mr=Array.isArray||function(t){return"Array"===E(t)},Or=jt("species"),Nr=Array,Dr=function(t){var e;return Mr(t)&&(e=t.constructor,(on(e)&&(e===Nr||Mr(e.prototype))||mt(e)&&null===(e=e[Or]))&&(e=void 0)),void 0===e?Nr:e},Fr=function(t,e){return new(Dr(t))(0===e?0:e)},Pr=T([].push),Rr=function(t){var e=1===t,n=2===t,r=3===t,i=4===t,a=6===t,o=7===t,s=5===t||a;return function(c,l,u,h){for(var f,d,A=_t(c),p=j(A),g=Se(l,u),m=bn(p),b=0,v=h||Fr,y=e?v(c,m):n||o?v(c,0):void 0;m>b;b++)if((s||b in p)&&(d=g(f=p[b],b,A),t))if(e)y[b]=d;else if(d)switch(t){case 3:return!0;case 5:return f;case 6:return b;case 2:Pr(y,f)}else switch(t){case 4:return!1;case 7:Pr(y,f)}return a?-1:r||i?i:y}},Qr={forEach:Rr(0),map:Rr(1),filter:Rr(2),some:Rr(3),every:Rr(4),find:Rr(5),findIndex:Rr(6),filterReject:Rr(7)},Ur=function(t){if("Symbol"===Xe(t))throw TypeError("Cannot convert a Symbol value to a string");return or(t)},Hr=gr,jr=mr,$r=function(t,e,n){return Ce.f(t,e,n)},Kr=function(t){var e=X.Symbol||(X.Symbol={});Nt(e,t)||vr(e,t,{value:br.f(t)})},Gr=function(){var t=st("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=jt("toPrimitive");e&&!e[r]&&yr(e,r,(function(t){return gt(n,this)}),{arity:1})},zr=function(t,e,n,r){if(t){var i=n?t:t.prototype;Nt(i,kr)||Tr(i,kr,{configurable:!0,value:e}),r&&!Ue&&Le(i,"toString",wr)}},Xr=Ir,qr=Qr,Vr=qr.forEach,Wr=On("hidden"),Yr="Symbol",Jr="prototype",Zr=Xr.set,ti=Xr.getterFor(Yr),ei=Object[Jr],ni=q.Symbol,ri=ni&&ni[Jr],ii=q.TypeError,ai=q.QObject,oi=_e.f,si=Ce.f,ci=Hr.f,li=Yt.f,ui=T([].push),hi=Ot("symbols"),fi=Ot("op-symbols"),di=Ot("wks"),Ai=!ai||!ai[Jr]||!ai[Jr].findChild,pi=qt&&h((function(){return 7!==Gn(si({},"a",{get:function(){return si(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=oi(ei,e);r&&delete ei[e],si(t,e,n),r&&t!==ei&&si(ei,e,r)}:si,gi=function(t,e){var n=hi[t]=Gn(ri);return Zr(n,{type:Yr,tag:t,description:e}),qt||(n.description=e),n},mi=function(t,e,n){t===ei&&mi(fi,e,n),me(t);var r=te(e);return me(n),Nt(hi,r)?(n.enumerable?(Nt(t,Wr)&&t[Wr][r]&&(t[Wr][r]=!1),n=Gn(n,{enumerable:Jt(0,!1)})):(Nt(t,Wr)||si(t,Wr,Jt(1,{})),t[Wr][r]=!0),pi(t,r,n)):si(t,r,n)},bi=function(t,e){me(t);var n=Zt(e),r=xn(n).concat(Ti(n));return Vr(r,(function(e){qt&&!gt(vi,n,e)||mi(t,e,n[e])})),t},vi=function(t){var e=te(t),n=gt(li,this,e);return!(this===ei&&Nt(hi,e)&&!Nt(fi,e))&&(!(n||!Nt(this,e)||!Nt(hi,e)||Nt(this,Wr)&&this[Wr][e])||n)},yi=function(t,e){var n=Zt(t),r=te(e);if(n!==ei||!Nt(hi,r)||Nt(fi,r)){var i=oi(n,r);return!i||!Nt(hi,r)||Nt(n,Wr)&&n[Wr][r]||(i.enumerable=!0),i}},wi=function(t){var e=ci(Zt(t)),n=[];return Vr(e,(function(t){Nt(hi,t)||Nt(wn,t)||ui(n,t)})),n},Ti=function(t){var e=t===ei,n=ci(e?fi:Zt(t)),r=[];return Vr(n,(function(t){!Nt(hi,t)||e&&!Nt(ei,t)||ui(r,hi[t])})),r};at||(ni=function(){if(ct(ri,this))throw ii("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Ur(arguments[0]):void 0,e=Dt(t),n=function(t){this===ei&>(n,fi,t),Nt(this,Wr)&&Nt(this[Wr],e)&&(this[Wr][e]=!1),pi(this,e,Jt(1,t))};return qt&&Ai&&pi(ei,e,{configurable:!0,set:n}),gi(e,t)},ri=ni[Jr],yr(ri,"toString",(function(){return ti(this).tag})),yr(ni,"withoutSetter",(function(t){return gi(Dt(t),t)})),Yt.f=vi,Ce.f=mi,In.f=bi,_e.f=yi,fr.f=Hr.f=wi,jr.f=Ti,br.f=function(t){return gi(jt(t),t)},qt&&$r(ri,"description",{configurable:!0,get:function(){return ti(this).description}})),jn({global:!0,constructor:!0,wrap:!0,forced:!at,sham:!at},{Symbol:ni}),Vr(xn(di),(function(t){Kr(t)})),jn({target:Yr,stat:!0,forced:!at},{useSetter:function(){Ai=!0},useSimple:function(){Ai=!1}}),jn({target:"Object",stat:!0,forced:!at,sham:!qt},{create:function(t,e){return void 0===e?Gn(t):bi(Gn(t),e)},defineProperty:mi,defineProperties:bi,getOwnPropertyDescriptor:yi}),jn({target:"Object",stat:!0,forced:!at},{getOwnPropertyNames:wi}),Gr(),zr(ni,Yr),wn[Wr]=!0;var ki=at&&!!Symbol.for&&!!Symbol.keyFor,Ci=Ot("string-to-symbol-registry"),Ei=Ot("symbol-to-string-registry");jn({target:"Symbol",stat:!0,forced:!ki},{for:function(t){var e=Ur(t);if(Nt(Ci,e))return Ci[e];var n=st("Symbol")(e);return Ci[e]=n,Ei[n]=e,n}});var xi=Ot("symbol-to-string-registry");jn({target:"Symbol",stat:!0,forced:!ki},{keyFor:function(t){if(!Qt(t))throw TypeError(dt(t)+" is not a symbol");if(Nt(xi,t))return xi[t]}});var _i=T([].push),Bi=function(t){if(K(t))return t;if(Mr(t)){for(var e=t.length,n=[],r=0;r<e;r++){var i=t[r];"string"==typeof i?_i(n,i):"number"!=typeof i&&"Number"!==E(i)&&"String"!==E(i)||_i(n,Ur(i))}var a=n.length,o=!0;return function(t,e){if(o)return o=!1,e;if(Mr(this))return e;for(var r=0;r<a;r++)if(n[r]===t)return e}}},Si=String,Li=st("JSON","stringify"),Ii=T(/./.exec),Mi=T("".charAt),Oi=T("".charCodeAt),Ni=T("".replace),Di=T(1..toString),Fi=/[\uD800-\uDFFF]/g,Pi=/^[\uD800-\uDBFF]$/,Ri=/^[\uDC00-\uDFFF]$/,Qi=!at||h((function(){var t=st("Symbol")("stringify detection");return"[null]"!==Li([t])||"{}"!==Li({a:t})||"{}"!==Li(Object(t))})),Ui=h((function(){return'"\\udf06\\ud834"'!==Li("\udf06\ud834")||'"\\udead"'!==Li("\udead")})),Hi=function(t,e){var n=Oe(arguments),r=Bi(e);if(K(r)||void 0!==t&&!Qt(t))return n[1]=function(t,e){if(K(r)&&(e=gt(r,this,Si(t),e)),!Qt(e))return e},xe(Li,null,n)},ji=function(t,e,n){var r=Mi(n,e-1),i=Mi(n,e+1);return Ii(Pi,t)&&!Ii(Ri,i)||Ii(Ri,t)&&!Ii(Pi,r)?"\\u"+Di(Oi(t,0),16):t};Li&&jn({target:"JSON",stat:!0,arity:3,forced:Qi||Ui},{stringify:function(t,e,n){var r=Oe(arguments),i=xe(Qi?Hi:Li,null,r);return Ui&&"string"==typeof i?Ni(i,Fi,ji):i}});var $i=!at||h((function(){jr.f(1)}));jn({target:"Object",stat:!0,forced:$i},{getOwnPropertySymbols:function(t){var e=jr.f;return e?e(_t(t)):[]}});var Ki=X.Object.getOwnPropertySymbols,Gi=Ki,zi=jt("species"),Xi=function(t){return nt>=51||!h((function(){var e=[];return(e.constructor={})[zi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},qi=qr.filter,Vi=Xi("filter");jn({target:"Array",proto:!0,forced:!Vi},{filter:function(t){return qi(this,t,arguments.length>1?arguments[1]:void 0)}});var Wi=function(t){return X[t+"Prototype"]},Yi=Wi("Array").filter,Ji=Array.prototype,Zi=function(t){var e=t.filter;return t===Ji||ct(Ji,t)&&e===Ji.filter?Yi:e},ta=Zi,ea=_e.f,na=!qt||h((function(){ea(1)}));jn({target:"Object",stat:!0,forced:na,sham:!qt},{getOwnPropertyDescriptor:function(t,e){return ea(Zt(t),e)}});var ra,ia,aa,oa=r((function(t){var e=X.Object,n=t.exports=function(t,n){return e.getOwnPropertyDescriptor(t,n)};e.getOwnPropertyDescriptor.sham&&(n.sham=!0)})),sa=oa,ca=sa,la=Function.prototype,ua=qt&&Object.getOwnPropertyDescriptor,ha=Nt(la,"name"),fa={EXISTS:ha,PROPER:ha&&"something"===function(){}.name,CONFIGURABLE:ha&&(!qt||qt&&ua(la,"name").configurable)},da=!h((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Aa=On("IE_PROTO"),pa=Object,ga=pa.prototype,ma=da?pa.getPrototypeOf:function(t){var e=_t(t);if(Nt(e,Aa))return e[Aa];var n=e.constructor;return K(n)&&e instanceof n?n.prototype:e instanceof pa?ga:null},ba=ma,va=jt("iterator"),ya=!1;[].keys&&("next"in(aa=[].keys())?(ia=ba(ba(aa)))!==Object.prototype&&(ra=ia):ya=!0);var wa=!mt(ra)||h((function(){var t={};return ra[va].call(t)!==t}));ra=wa?{}:Gn(ra),K(ra[va])||yr(ra,va,(function(){return this}));var Ta={IteratorPrototype:ra,BUGGY_SAFARI_ITERATORS:ya},ka={},Ca=Ta.IteratorPrototype,Ea=function(){return this},xa=String,_a=TypeError,Ba=function(t,e,n){try{return T(pt(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}},Sa=function(t){if("object"==typeof t||K(t))return t;throw _a("Can't set "+xa(t)+" as a prototype")},La=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Ba(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return me(n),Sa(r),e?t(n,r):n.__proto__=r,n}}():void 0),Ia=fa,Ma=function(t,e,n,r){var i=e+" Iterator";return t.prototype=Gn(Ca,{next:Jt(+!r,n)}),zr(t,i,!1,!0),ka[i]=Ea,t},Oa=La,Na=Ia.PROPER,Da=Ta.BUGGY_SAFARI_ITERATORS,Fa=jt("iterator"),Pa="keys",Ra="values",Qa="entries",Ua=function(){return this},Ha=function(){},ja=function(t,e,n,r,i,a,o){Ma(n,e,r);var s,c,l,u=function(t){if(t===i&&p)return p;if(!Da&&t in d)return d[t];switch(t){case Pa:case Ra:case Qa:return function(){return new n(this,t)}}return function(){return new n(this)}},h=e+" Iterator",f=!1,d=t.prototype,A=d[Fa]||d["@@iterator"]||i&&d[i],p=!Da&&A||u(i),g="Array"===e&&d.entries||A;if(g&&(s=ba(g.call(new t)))!==Object.prototype&&s.next&&(zr(s,h,!0,!0),ka[h]=Ua),Na&&i===Ra&&A&&A.name!==Ra&&(f=!0,p=function(){return gt(A,this)}),i)if(c={values:u(Ra),keys:a?p:u(Pa),entries:u(Qa)},o)for(l in c)(Da||f||!(l in d))&&yr(d,l,c[l]);else jn({target:e,proto:!0,forced:Da||f},c);return o&&d[Fa]!==p&&yr(d,Fa,p,{name:i}),ka[e]=p,c},$a=function(t,e){return{value:t,done:e}},Ka=(Ce.f,"Array Iterator"),Ga=Xr.set,za=Xr.getterFor(Ka);ja(Array,"Array",(function(t,e){Ga(this,{type:Ka,target:Zt(t),index:0,kind:e})}),(function(){var t=za(this),e=t.target,n=t.kind,r=t.index++;if(!e||r>=e.length)return t.target=void 0,$a(void 0,!0);switch(n){case"keys":return $a(r,!1);case"values":return $a(e[r],!1)}return $a([r,e[r]],!1)}),"values");ka.Arguments=ka.Array;Ha(),Ha(),Ha();var Xa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},qa=jt("toStringTag");for(var Va in Xa){var Wa=q[Va],Ya=Wa&&Wa.prototype;Ya&&Xe(Ya)!==qa&&Le(Ya,qa,Va),ka[Va]=ka.Array}var Ja=function(t,e){var n=[][t];return!!n&&h((function(){n.call(null,e||function(){return 1},1)}))},Za=qr.forEach,to=Ja("forEach")?[].forEach:function(t){return Za(this,t,arguments.length>1?arguments[1]:void 0)};jn({target:"Array",proto:!0,forced:[].forEach!==to},{forEach:to});var eo=Wi("Array").forEach,no=Array.prototype,ro={DOMTokenList:!0,NodeList:!0},io=function(t){var e=t.forEach;return t===no||ct(no,t)&&e===no.forEach||Nt(ro,Xe(t))?eo:e},ao=io,oo=T([].concat),so=st("Reflect","ownKeys")||function(t){var e=fr.f(me(t)),n=jr.f;return n?oo(e,n(t)):e},co=so;jn({target:"Object",stat:!0,sham:!qt},{getOwnPropertyDescriptors:function(t){for(var e,n,r=Zt(t),i=_e.f,a=co(r),o={},s=0;a.length>s;)void 0!==(n=i(r,e=a[s++]))&&lr(o,e,n);return o}});var lo=X.Object.getOwnPropertyDescriptors,uo=In.f;jn({target:"Object",stat:!0,forced:Object.defineProperties!==uo,sham:!qt},{defineProperties:uo});var ho=r((function(t){var e=X.Object,n=t.exports=function(t,n){return e.defineProperties(t,n)};e.defineProperties.sham&&(n.sham=!0)})),fo=ho,Ao=fo,po=Ce.f;jn({target:"Object",stat:!0,forced:Object.defineProperty!==po,sham:!qt},{defineProperty:po});var go=r((function(t){var e=X.Object,n=t.exports=function(t,n,r){return e.defineProperty(t,n,r)};e.defineProperty.sham&&(n.sham=!0)})),mo=go;function bo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var vo=go,yo=vo,wo=TypeError,To=function(t){if(t>9007199254740991)throw wo("Maximum allowed index exceeded");return t},ko=jt("isConcatSpreadable"),Co=nt>=51||!h((function(){var t=[];return t[ko]=!1,t.concat()[0]!==t})),Eo=function(t){if(!mt(t))return!1;var e=t[ko];return void 0!==e?!!e:Mr(t)},xo=!Co||!Xi("concat");jn({target:"Array",proto:!0,arity:1,forced:xo},{concat:function(t){var e,n,r,i,a,o=_t(this),s=Fr(o,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(Eo(a=-1===e?o:arguments[e]))for(i=bn(a),To(c+i),n=0;n<i;n++,c++)n in a&&lr(s,c,a[n]);else To(c+1),lr(s,c++,a);return s.length=c,s}}),Kr("asyncIterator"),Kr("hasInstance"),Kr("isConcatSpreadable"),Kr("iterator"),Kr("match"),Kr("matchAll"),Kr("replace"),Kr("search"),Kr("species"),Kr("split"),Kr("toPrimitive"),Gr(),Kr("toStringTag"),zr(st("Symbol"),"Symbol"),Kr("unscopables"),zr(q.JSON,"JSON",!0);var _o=X.Symbol,Bo=Ce.f,So=jt("metadata"),Lo=Function.prototype;void 0===Lo[So]&&Bo(Lo,So,{value:null}),Kr("asyncDispose"),Kr("dispose"),Kr("metadata");var Io=_o,Mo=Io,Oo=st("Symbol"),No=Oo.keyFor,Do=T(Oo.prototype.valueOf),Fo=Oo.isRegisteredSymbol||function(t){try{return void 0!==No(Do(t))}catch(t){return!1}};jn({target:"Symbol",stat:!0},{isRegisteredSymbol:Fo});for(var Po=st("Symbol"),Ro=Po.isWellKnownSymbol,Qo=st("Object","getOwnPropertyNames"),Uo=T(Po.prototype.valueOf),Ho=Ot("wks"),jo=0,$o=Qo(Po),Ko=$o.length;jo<Ko;jo++)try{var Go=$o[jo];Qt(Po[Go])&&jt(Go)}catch(t){}var zo=function(t){if(Ro&&Ro(t))return!0;try{for(var e=Uo(t),n=0,r=Qo(Ho),i=r.length;n<i;n++)if(Ho[r[n]]==e)return!0}catch(t){}return!1};jn({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:zo}),Kr("matcher"),Kr("observable"),jn({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Fo}),jn({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:zo}),Kr("metadataKey"),Kr("patternMatch"),Kr("replaceAll");var Xo=Mo,qo=Xo,Vo=T("".charAt),Wo=T("".charCodeAt),Yo=T("".slice),Jo=function(t){return function(e,n){var r,i,a=Ur($(e)),o=fn(n),s=a.length;return o<0||o>=s?t?"":void 0:(r=Wo(a,o))<55296||r>56319||o+1===s||(i=Wo(a,o+1))<56320||i>57343?t?Vo(a,o):r:t?Yo(a,o,o+2):i-56320+(r-55296<<10)+65536}},Zo={codeAt:Jo(!1),charAt:Jo(!0)},ts=Zo.charAt,es="String Iterator",ns=Xr.set,rs=Xr.getterFor(es);ja(String,"String",(function(t){ns(this,{type:es,string:Ur(t),index:0})}),(function(){var t,e=rs(this),n=e.string,r=e.index;return r>=n.length?$a(void 0,!0):(t=ts(n,r),e.index+=t.length,$a(t,!1))}));var is=br.f("iterator"),as=is,os=as;function ss(t){return ss="function"==typeof qo&&"symbol"==typeof os?function(t){return typeof t}:function(t){return t&&"function"==typeof qo&&t.constructor===qo&&t!==qo.prototype?"symbol":typeof t},ss(t)}var cs=br.f("toPrimitive");function ls(t){var e=function(t,e){if("object"!==ss(t)||null===t)return t;var n=t[cs];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==ss(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ss(e)?e:String(e)}function us(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),yo(t,ls(r.key),r)}}function hs(t,e,n){return e&&us(t.prototype,e),n&&us(t,n),yo(t,"prototype",{writable:!1}),t}function fs(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}jn({target:"Object",stat:!0,sham:!qt},{create:Gn});var ds=X.Object,As=function(t,e){return ds.create(t,e)},ps=As,gs=ps;jn({target:"Object",stat:!0},{setPrototypeOf:Oa});var ms=X.Object.setPrototypeOf,bs=ms;jn({target:"Function",proto:!0,forced:Function.bind!==$n},{bind:$n});var vs=Wi("Function").bind,ys=Function.prototype,ws=function(t){var e=t.bind;return t===ys||ct(ys,t)&&e===ys.bind?vs:e},Ts=ws,ks=Ts;function Cs(t,e){var n;return Cs=bs?ks(n=bs).call(n):function(t,e){return t.__proto__=e,t},Cs(t,e)}function Es(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=gs(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),yo(t,"prototype",{writable:!1}),e&&Cs(t,e)}function xs(t,e){if(e&&("object"===ss(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return fs(t)}var _s=h((function(){ba(1)}));jn({target:"Object",stat:!0,forced:_s,sham:!da},{getPrototypeOf:function(t){return ba(_t(t))}});var Bs=X.Object.getPrototypeOf,Ss=Bs,Ls=Ss;function Is(t){var e;return Is=bs?ks(e=Ls).call(e):function(t){return t.__proto__||Ls(t)},Is(t)}function Ms(t,e,n){return(e=ls(e))in t?yo(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Os=Wi("Array").concat,Ns=Array.prototype,Ds=function(t){var e=t.concat;return t===Ns||ct(Ns,t)&&e===Ns.concat?Os:e},Fs=Ds,Ps=Ts,Rs="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,Qs=TypeError,Us=Rs,Hs=function(t,e){if(t<e)throw Qs("Not enough arguments");return t},js=q.Function,$s=/MSIE .\./.test(Y)||Us&&function(){var t=q.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),Ks=function(t,e){var n=e?2:1;return $s?function(r,i){var a=Hs(arguments.length,1)>n,o=K(r)?r:js(r),s=a?Oe(arguments,n):[],c=a?function(){xe(o,this,s)}:o;return e?t(c,i):t(c)}:t},Gs=Ks(q.setInterval,!0);jn({global:!0,bind:!0,forced:q.setInterval!==Gs},{setInterval:Gs});var zs=Ks(q.setTimeout,!0);jn({global:!0,bind:!0,forced:q.setTimeout!==zs},{setTimeout:zs});var Xs=X.setTimeout;var qs=function(){this.__data__=[],this.size=0};var Vs=function(t,e){return t===e||t!=t&&e!=e};var Ws=function(t,e){for(var n=t.length;n--;)if(Vs(t[n][0],e))return n;return-1},Ys=Array.prototype.splice;var Js=function(t){var e=this.__data__,n=Ws(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ys.call(e,n,1),--this.size,!0)};var Zs=function(t){var e=this.__data__,n=Ws(e,t);return n<0?void 0:e[n][1]};var tc=function(t){return Ws(this.__data__,t)>-1};var ec=function(t,e){var n=this.__data__,r=Ws(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function nc(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}nc.prototype.clear=qs,nc.prototype.delete=Js,nc.prototype.get=Zs,nc.prototype.has=tc,nc.prototype.set=ec;var rc=nc;var ic=function(){this.__data__=new rc,this.size=0};var ac=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var oc=function(t){return this.__data__.get(t)};var sc=function(t){return this.__data__.has(t)},cc="object"==typeof e&&e&&e.Object===Object&&e,lc="object"==typeof self&&self&&self.Object===Object&&self,uc=cc||lc||Function("return this")(),hc=uc.Symbol,fc=Object.prototype,dc=fc.hasOwnProperty,Ac=fc.toString,pc=hc?hc.toStringTag:void 0;var gc=function(t){var e=dc.call(t,pc),n=t[pc];try{t[pc]=void 0;var r=!0}catch(t){}var i=Ac.call(t);return r&&(e?t[pc]=n:delete t[pc]),i},mc=Object.prototype.toString;var bc=function(t){return mc.call(t)},vc=hc?hc.toStringTag:void 0;var yc=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":vc&&vc in Object(t)?gc(t):bc(t)};var wc=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var Tc=function(t){if(!wc(t))return!1;var e=yc(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},kc=uc["__core-js_shared__"],Cc=function(){var t=/[^.]+$/.exec(kc&&kc.keys&&kc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var Ec=function(t){return!!Cc&&Cc in t},xc=Function.prototype.toString;var _c=function(t){if(null!=t){try{return xc.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Bc=/^\[object .+?Constructor\]$/,Sc=Function.prototype,Lc=Object.prototype,Ic=Sc.toString,Mc=Lc.hasOwnProperty,Oc=RegExp("^"+Ic.call(Mc).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Nc=function(t){return!(!wc(t)||Ec(t))&&(Tc(t)?Oc:Bc).test(_c(t))};var Dc=function(t,e){return null==t?void 0:t[e]};var Fc=function(t,e){var n=Dc(t,e);return Nc(n)?n:void 0},Pc=Fc(uc,"Map"),Rc=Fc(Object,"create");var Qc=function(){this.__data__=Rc?Rc(null):{},this.size=0};var Uc=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Hc=Object.prototype.hasOwnProperty;var jc=function(t){var e=this.__data__;if(Rc){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Hc.call(e,t)?e[t]:void 0},$c=Object.prototype.hasOwnProperty;var Kc=function(t){var e=this.__data__;return Rc?void 0!==e[t]:$c.call(e,t)};var Gc=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Rc&&void 0===e?"__lodash_hash_undefined__":e,this};function zc(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}zc.prototype.clear=Qc,zc.prototype.delete=Uc,zc.prototype.get=jc,zc.prototype.has=Kc,zc.prototype.set=Gc;var Xc=zc;var qc=function(){this.size=0,this.__data__={hash:new Xc,map:new(Pc||rc),string:new Xc}};var Vc=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Wc=function(t,e){var n=t.__data__;return Vc(e)?n["string"==typeof e?"string":"hash"]:n.map};var Yc=function(t){var e=Wc(this,t).delete(t);return this.size-=e?1:0,e};var Jc=function(t){return Wc(this,t).get(t)};var Zc=function(t){return Wc(this,t).has(t)};var tl=function(t,e){var n=Wc(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function el(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}el.prototype.clear=qc,el.prototype.delete=Yc,el.prototype.get=Jc,el.prototype.has=Zc,el.prototype.set=tl;var nl=el;var rl=function(t,e){var n=this.__data__;if(n instanceof rc){var r=n.__data__;if(!Pc||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new nl(r)}return n.set(t,e),this.size=n.size,this};function il(t){var e=this.__data__=new rc(t);this.size=e.size}il.prototype.clear=ic,il.prototype.delete=ac,il.prototype.get=oc,il.prototype.has=sc,il.prototype.set=rl;var al=il,ol=function(){try{var t=Fc(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),sl=ol;var cl=function(t,e,n){"__proto__"==e&&sl?sl(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var ll=function(t,e,n){(void 0!==n&&!Vs(t[e],n)||void 0===n&&!(e in t))&&cl(t,e,n)};var ul=function(t){return function(e,n,r){for(var i=-1,a=Object(e),o=r(e),s=o.length;s--;){var c=o[t?s:++i];if(!1===n(a[c],c,a))break}return e}},hl=ul(),fl=r((function(t,e){var n=e&&!e.nodeType&&e,r=n&&t&&!t.nodeType&&t,i=r&&r.exports===n?uc.Buffer:void 0,a=i?i.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=a?a(n):new t.constructor(n);return t.copy(r),r}})),dl=uc.Uint8Array;var Al=function(t){var e=new t.constructor(t.byteLength);return new dl(e).set(new dl(t)),e};var pl=function(t,e){var n=e?Al(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var gl=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e},ml=Object.create,bl=function(){function t(){}return function(e){if(!wc(e))return{};if(ml)return ml(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),vl=bl;var yl=function(t,e){return function(n){return t(e(n))}},wl=yl(Object.getPrototypeOf,Object),Tl=Object.prototype;var kl=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Tl)};var Cl=function(t){return"function"!=typeof t.constructor||kl(t)?{}:vl(wl(t))};var El=function(t){return null!=t&&"object"==typeof t};var xl=function(t){return El(t)&&"[object Arguments]"==yc(t)},_l=Object.prototype,Bl=_l.hasOwnProperty,Sl=_l.propertyIsEnumerable,Ll=xl(function(){return arguments}())?xl:function(t){return El(t)&&Bl.call(t,"callee")&&!Sl.call(t,"callee")},Il=Ll,Ml=Array.isArray;var Ol=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Nl=function(t){return null!=t&&Ol(t.length)&&!Tc(t)};var Dl=function(t){return El(t)&&Nl(t)};var Fl=function(){return!1},Pl=r((function(t,e){var n=e&&!e.nodeType&&e,r=n&&t&&!t.nodeType&&t,i=r&&r.exports===n?uc.Buffer:void 0,a=(i?i.isBuffer:void 0)||Fl;t.exports=a})),Rl=Function.prototype,Ql=Object.prototype,Ul=Rl.toString,Hl=Ql.hasOwnProperty,jl=Ul.call(Object);var $l=function(t){if(!El(t)||"[object Object]"!=yc(t))return!1;var e=wl(t);if(null===e)return!0;var n=Hl.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ul.call(n)==jl},Kl={};Kl["[object Float32Array]"]=Kl["[object Float64Array]"]=Kl["[object Int8Array]"]=Kl["[object Int16Array]"]=Kl["[object Int32Array]"]=Kl["[object Uint8Array]"]=Kl["[object Uint8ClampedArray]"]=Kl["[object Uint16Array]"]=Kl["[object Uint32Array]"]=!0,Kl["[object Arguments]"]=Kl["[object Array]"]=Kl["[object ArrayBuffer]"]=Kl["[object Boolean]"]=Kl["[object DataView]"]=Kl["[object Date]"]=Kl["[object Error]"]=Kl["[object Function]"]=Kl["[object Map]"]=Kl["[object Number]"]=Kl["[object Object]"]=Kl["[object RegExp]"]=Kl["[object Set]"]=Kl["[object String]"]=Kl["[object WeakMap]"]=!1;var Gl=function(t){return El(t)&&Ol(t.length)&&!!Kl[yc(t)]};var zl=function(t){return function(e){return t(e)}},Xl=r((function(t,e){var n=e&&!e.nodeType&&e,r=n&&t&&!t.nodeType&&t,i=r&&r.exports===n&&cc.process,a=function(){try{var t=r&&r.require&&r.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=a})),ql=Xl&&Xl.isTypedArray,Vl=ql?zl(ql):Gl;var Wl=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},Yl=Object.prototype.hasOwnProperty;var Jl=function(t,e,n){var r=t[e];Yl.call(t,e)&&Vs(r,n)&&(void 0!==n||e in t)||cl(t,e,n)};var Zl=function(t,e,n,r){var i=!n;n||(n={});for(var a=-1,o=e.length;++a<o;){var s=e[a],c=r?r(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),i?cl(n,s,c):Jl(n,s,c)}return n};var tu=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r},eu=/^(?:0|[1-9]\d*)$/;var nu=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&eu.test(t))&&t>-1&&t%1==0&&t<e},ru=Object.prototype.hasOwnProperty;var iu=function(t,e){var n=Ml(t),r=!n&&Il(t),i=!n&&!r&&Pl(t),a=!n&&!r&&!i&&Vl(t),o=n||r||i||a,s=o?tu(t.length,String):[],c=s.length;for(var l in t)!e&&!ru.call(t,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||nu(l,c))||s.push(l);return s};var au=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},ou=Object.prototype.hasOwnProperty;var su=function(t){if(!wc(t))return au(t);var e=kl(t),n=[];for(var r in t)("constructor"!=r||!e&&ou.call(t,r))&&n.push(r);return n};var cu=function(t){return Nl(t)?iu(t,!0):su(t)};var lu=function(t){return Zl(t,cu(t))};var uu=function(t,e,n,r,i,a,o){var s=Wl(t,n),c=Wl(e,n),l=o.get(c);if(l)ll(t,n,l);else{var u=a?a(s,c,n+"",t,e,o):void 0,h=void 0===u;if(h){var f=Ml(c),d=!f&&Pl(c),A=!f&&!d&&Vl(c);u=c,f||d||A?Ml(s)?u=s:Dl(s)?u=gl(s):d?(h=!1,u=fl(c,!0)):A?(h=!1,u=pl(c,!0)):u=[]:$l(c)||Il(c)?(u=s,Il(s)?u=lu(s):wc(s)&&!Tc(s)||(u=Cl(c))):h=!1}h&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),ll(t,n,u)}};var hu=function t(e,n,r,i,a){e!==n&&hl(n,(function(o,s){if(a||(a=new al),wc(o))uu(e,n,s,r,t,i,a);else{var c=i?i(Wl(e,s),o,s+"",e,n,a):void 0;void 0===c&&(c=o),ll(e,s,c)}}),cu)};var fu=function(t){return t};var du=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},Au=Math.max;var pu=function(t,e,n){return e=Au(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,a=Au(r.length-e,0),o=Array(a);++i<a;)o[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(o),du(t,this,s)}};var gu=function(t){return function(){return t}},mu=sl?function(t,e){return sl(t,"toString",{configurable:!0,enumerable:!1,value:gu(e),writable:!0})}:fu,bu=mu,vu=Date.now;var yu=function(t){var e=0,n=0;return function(){var r=vu(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},wu=yu(bu);var Tu=function(t,e){return wu(pu(t,e,fu),t+"")};var ku=function(t,e,n){if(!wc(n))return!1;var r=typeof e;return!!("number"==r?Nl(n)&&nu(e,n.length):"string"==r&&e in n)&&Vs(n[e],t)};var Cu=function(t){return Tu((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,o&&ku(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var s=n[r];s&&t(e,s,r,a)}return e}))},Eu=Cu((function(t,e,n,r){hu(t,e,n,r)})),xu=Eu,_u=Ki,Bu=yn.indexOf,Su=he([].indexOf),Lu=!!Su&&1/Su([1],1,-0)<0,Iu=Lu||!Ja("indexOf");jn({target:"Array",proto:!0,forced:Iu},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Lu?Su(this,t,e)||0:Bu(this,t,e)}});var Mu=Wi("Array").indexOf,Ou=Array.prototype,Nu=function(t){var e=t.indexOf;return t===Ou||ct(Ou,t)&&e===Ou.indexOf?Mu:e},Du=Nu,Fu=Du,Pu=ir;function Ru(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},a=Pu(t);for(r=0;r<a.length;r++)n=a[r],Fu(e).call(e,n)>=0||(i[n]=t[n]);return i}(t,e);if(_u){var a=_u(t);for(r=0;r<a.length;r++)n=a[r],Fu(e).call(e,n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var Qu=Object.assign,Uu=Object.defineProperty,Hu=T([].concat),ju=!Qu||h((function(){if(qt&&1!==Qu({b:1},Qu(Uu({},"a",{enumerable:!0,get:function(){Uu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!==Qu({},t)[n]||xn(Qu({},e)).join("")!==r}))?function(t,e){for(var n=_t(t),r=arguments.length,i=1,a=jr.f,o=Yt.f;r>i;)for(var s,c=j(arguments[i++]),l=a?Hu(xn(c),a(c)):xn(c),u=l.length,h=0;u>h;)s=l[h++],qt&&!gt(o,c,s)||(n[s]=c[s]);return n}:Qu,$u=ju;jn({target:"Object",stat:!0,arity:2,forced:Object.assign!==$u},{assign:$u});var Ku=X.Object.assign,Gu=Ku,zu="\t\n\v\f\r \u2028\u2029\ufeff",Xu=T("".replace),qu=RegExp("^["+zu+"]+"),Vu=RegExp("(^|[^"+zu+"])["+zu+"]+$"),Wu=function(t){return function(e){var n=Ur($(e));return 1&t&&(n=Xu(n,qu,"")),2&t&&(n=Xu(n,Vu,"$1")),n}},Yu={start:Wu(1),end:Wu(2),trim:Wu(3)},Ju=Ia.PROPER,Zu=Yu,th=Zu.trim;jn({target:"String",proto:!0,forced:function(t){return h((function(){return!!zu[t]()||" "!==" "[t]()||Ju&&zu[t].name!==t}))}("trim")},{trim:function(){return th(this)}});var eh=Wi("String").trim,nh=String.prototype,rh=function(t){var e=t.trim;return"string"==typeof t||t===nh||ct(nh,t)&&e===nh.trim?eh:e},ih=rh,ah=function(t,e,n){var r,i;me(t);try{if(!(r=Ut(t,"return"))){if("throw"===e)throw n;return n}r=gt(r,t)}catch(t){i=!0,r=t}if("throw"===e)throw n;if(i)throw r;return me(r),n},oh=jt("iterator"),sh=Array.prototype,ch=jt("iterator"),lh=function(t){if(!U(t))return Ut(t,ch)||Ut(t,"@@iterator")||ka[Xe(t)]},uh=TypeError,hh=function(t,e,n,r){try{return r?e(me(n)[0],n[1]):e(n)}catch(e){ah(t,"throw",e)}},fh=function(t){return void 0!==t&&(ka.Array===t||sh[oh]===t)},dh=function(t,e){var n=arguments.length<2?lh(t):e;if(pt(n))return me(gt(n,t));throw uh(dt(t)+" is not iterable")},Ah=Array,ph=jt("iterator"),gh=!1;try{var mh=0,bh={next:function(){return{done:!!mh++}},return:function(){gh=!0}};bh[ph]=function(){return this},Array.from(bh,(function(){throw 2}))}catch(t){}var vh=function(t){var e=_t(t),n=on(this),r=arguments.length,i=r>1?arguments[1]:void 0,a=void 0!==i;a&&(i=Se(i,r>2?arguments[2]:void 0));var o,s,c,l,u,h,f=lh(e),d=0;if(!f||this===Ah&&fh(f))for(o=bn(e),s=n?new this(o):Ah(o);o>d;d++)h=a?i(e[d],d):e[d],lr(s,d,h);else for(u=(l=dh(e,f)).next,s=n?new this:[];!(c=gt(u,l)).done;d++)h=a?hh(l,i,[c.value,d],!0):c.value,lr(s,d,h);return s.length=d,s},yh=function(t,e){if(!e&&!gh)return!1;var n=!1;try{var r={};r[ph]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},wh=!yh((function(t){Array.from(t)}));jn({target:"Array",stat:!0,forced:wh},{from:vh});var Th=X.Array.from,kh=Th,Ch=jt("match"),Eh=function(t){var e;return mt(t)&&(void 0!==(e=t[Ch])?!!e:"RegExp"===E(t))},xh=TypeError,_h=jt("match"),Bh=function(t){if(Eh(t))throw xh("The method doesn't accept regular expressions");return t},Sh=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[_h]=!1,"/./"[t](e)}catch(t){}}return!1},Lh=(_e.f,he("".startsWith)),Ih=he("".slice),Mh=Math.min,Oh=Sh("startsWith");jn({target:"String",proto:!0,forced:!Oh},{startsWith:function(t){var e=Ur($(this));Bh(t);var n=gn(Mh(arguments.length>1?arguments[1]:void 0,e.length)),r=Ur(t);return Lh?Lh(e,r,n):Ih(e,n,n+r.length)===r}});var Nh=Wi("String").startsWith,Dh=String.prototype,Fh=function(t){var e=t.startsWith;return"string"==typeof t||t===Dh||ct(Dh,t)&&e===Dh.startsWith?Nh:e},Ph=Fh,Rh=qr.find,Qh="find",Uh=!0;Qh in[]&&Array(1)[Qh]((function(){Uh=!1})),jn({target:"Array",proto:!0,forced:Uh},{find:function(t){return Rh(this,t,arguments.length>1?arguments[1]:void 0)}}),Ha();var Hh=Wi("Array").find,jh=Array.prototype,$h=function(t){var e=t.find;return t===jh||ct(jh,t)&&e===jh.find?Hh:e},Kh=$h,Gh=r((function(t,e){t.exports=function(){var t=navigator.userAgent,e=navigator.platform,n=/gecko\/\d/i.test(t),r=/MSIE \d/.test(t),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),a=/Edge\/(\d+)/.exec(t),o=r||i||a,s=o&&(r?document.documentMode||6:+(a||i)[1]),c=!a&&/WebKit\//.test(t),l=c&&/Qt\/\d+\.\d+/.test(t),u=!a&&/Chrome\//.test(t),h=/Opera\//.test(t),f=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),A=/PhantomJS/.test(t),p=!a&&/AppleWebKit/.test(t)&&/Mobile\/\w+/.test(t),g=/Android/.test(t),m=p||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),b=p||/Mac/.test(e),v=/\bCrOS\b/.test(t),y=/win/i.test(e),w=h&&t.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(h=!1,c=!0);var T=b&&(l||h&&(null==w||w<12.11)),k=n||o&&s>=9;function C(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}var E,x=function(t,e){var n=t.className,r=C(e).exec(n);if(r){var i=n.slice(r.index+r[0].length);t.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function _(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function B(t,e){return _(t).appendChild(e)}function S(t,e,n,r){var i=document.createElement(t);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof e)i.appendChild(document.createTextNode(e));else if(e)for(var a=0;a<e.length;++a)i.appendChild(e[a]);return i}function L(t,e,n,r){var i=S(t,e,n,r);return i.setAttribute("role","presentation"),i}function I(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function M(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function O(t,e){var n=t.className;C(e).test(n)||(t.className+=(n?" ":"")+e)}function N(t,e){for(var n=t.split(" "),r=0;r<n.length;r++)n[r]&&!C(n[r]).test(e)&&(e+=" "+n[r]);return e}E=document.createRange?function(t,e,n,r){var i=document.createRange();return i.setEnd(r||t,n),i.setStart(t,e),i}:function(t,e,n){var r=document.body.createTextRange();try{r.moveToElementText(t.parentNode)}catch(t){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",e),r};var D=function(t){t.select()};function F(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function P(t,e,n){for(var r in e||(e={}),t)!t.hasOwnProperty(r)||!1===n&&e.hasOwnProperty(r)||(e[r]=t[r]);return e}function R(t,e,n,r,i){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var a=r||0,o=i||0;;){var s=t.indexOf("\t",a);if(s<0||s>=e)return o+(e-a);o+=s-a,o+=n-o%n,a=s+1}}p?D=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:o&&(D=function(t){try{t.select()}catch(t){}});var Q=function(){this.id=null,this.f=null,this.time=0,this.handler=F(this.onTimeout,this)};function U(t,e){for(var n=0;n<t.length;++n)if(t[n]==e)return n;return-1}Q.prototype.onTimeout=function(t){t.id=0,t.time<=+new Date?t.f():setTimeout(t.handler,t.time-+new Date)},Q.prototype.set=function(t,e){this.f=e;var n=+new Date+t;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,t),this.time=n)};var H=50,j={toString:function(){return"CodeMirror.Pass"}},$={scroll:!1},K={origin:"*mouse"},G={origin:"+move"};function z(t,e,n){for(var r=0,i=0;;){var a=t.indexOf("\t",r);-1==a&&(a=t.length);var o=a-r;if(a==t.length||i+o>=e)return r+Math.min(o,e-i);if(i+=a-r,r=a+1,(i+=n-i%n)>=e)return r}}var X=[""];function q(t){for(;X.length<=t;)X.push(V(X)+" ");return X[t]}function V(t){return t[t.length-1]}function W(t,e){for(var n=[],r=0;r<t.length;r++)n[r]=e(t[r],r);return n}function Y(t,e,n){for(var r=0,i=n(e);r<t.length&&n(t[r])<=i;)r++;t.splice(r,0,e)}function J(){}function Z(t,e){var n;return Object.create?n=Object.create(t):(J.prototype=t,n=new J),e&&P(e,n),n}var tt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function et(t){return/\w/.test(t)||t>""&&(t.toUpperCase()!=t.toLowerCase()||tt.test(t))}function nt(t,e){return e?!!(e.source.indexOf("\\w")>-1&&et(t))||e.test(t):et(t)}function rt(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}var it=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function at(t){return t.charCodeAt(0)>=768&&it.test(t)}function ot(t,e,n){for(;(n<0?e>0:e<t.length)&&at(t.charAt(e));)e+=n;return e}function st(t,e,n){for(var r=e>n?-1:1;;){if(e==n)return e;var i=(e+n)/2,a=r<0?Math.ceil(i):Math.floor(i);if(a==e)return t(a)?e:n;t(a)?n=a:e=a+r}}function ct(t,e,n,r){if(!t)return r(e,n,"ltr",0);for(var i=!1,a=0;a<t.length;++a){var o=t[a];(o.from<n&&o.to>e||e==n&&o.to==e)&&(r(Math.max(o.from,e),Math.min(o.to,n),1==o.level?"rtl":"ltr",a),i=!0)}i||r(e,n,"ltr")}var lt=null;function ut(t,e,n){var r;lt=null;for(var i=0;i<t.length;++i){var a=t[i];if(a.from<e&&a.to>e)return i;a.to==e&&(a.from!=a.to&&"before"==n?r=i:lt=i),a.from==e&&(a.from!=a.to&&"before"!=n?r=i:lt=i)}return null!=r?r:lt}var ht=function(){var t="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",e="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?t.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?e.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function c(t,e,n){this.level=t,this.from=e,this.to=n}return function(t,e){var l="ltr"==e?"L":"R";if(0==t.length||"ltr"==e&&!r.test(t))return!1;for(var u=t.length,h=[],f=0;f<u;++f)h.push(n(t.charCodeAt(f)));for(var d=0,A=l;d<u;++d){var p=h[d];"m"==p?h[d]=A:A=p}for(var g=0,m=l;g<u;++g){var b=h[g];"1"==b&&"r"==m?h[g]="n":a.test(b)&&(m=b,"r"==b&&(h[g]="R"))}for(var v=1,y=h[0];v<u-1;++v){var w=h[v];"+"==w&&"1"==y&&"1"==h[v+1]?h[v]="1":","!=w||y!=h[v+1]||"1"!=y&&"n"!=y||(h[v]=y),y=w}for(var T=0;T<u;++T){var k=h[T];if(","==k)h[T]="N";else if("%"==k){var C=void 0;for(C=T+1;C<u&&"%"==h[C];++C);for(var E=T&&"!"==h[T-1]||C<u&&"1"==h[C]?"1":"N",x=T;x<C;++x)h[x]=E;T=C-1}}for(var _=0,B=l;_<u;++_){var S=h[_];"L"==B&&"1"==S?h[_]="L":a.test(S)&&(B=S)}for(var L=0;L<u;++L)if(i.test(h[L])){var I=void 0;for(I=L+1;I<u&&i.test(h[I]);++I);for(var M="L"==(L?h[L-1]:l),O=M==("L"==(I<u?h[I]:l))?M?"L":"R":l,N=L;N<I;++N)h[N]=O;L=I-1}for(var D,F=[],P=0;P<u;)if(o.test(h[P])){var R=P;for(++P;P<u&&o.test(h[P]);++P);F.push(new c(0,R,P))}else{var Q=P,U=F.length,H="rtl"==e?1:0;for(++P;P<u&&"L"!=h[P];++P);for(var j=Q;j<P;)if(s.test(h[j])){Q<j&&(F.splice(U,0,new c(1,Q,j)),U+=H);var $=j;for(++j;j<P&&s.test(h[j]);++j);F.splice(U,0,new c(2,$,j)),U+=H,Q=j}else++j;Q<P&&F.splice(U,0,new c(1,Q,P))}return"ltr"==e&&(1==F[0].level&&(D=t.match(/^\s+/))&&(F[0].from=D[0].length,F.unshift(new c(0,0,D[0].length))),1==V(F).level&&(D=t.match(/\s+$/))&&(V(F).to-=D[0].length,F.push(new c(0,u-D[0].length,u)))),"rtl"==e?F.reverse():F}}();function ft(t,e){var n=t.order;return null==n&&(n=t.order=ht(t.text,e)),n}var dt=[],At=function(t,e,n){if(t.addEventListener)t.addEventListener(e,n,!1);else if(t.attachEvent)t.attachEvent("on"+e,n);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||dt).concat(n)}};function pt(t,e){return t._handlers&&t._handlers[e]||dt}function gt(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var r=t._handlers,i=r&&r[e];if(i){var a=U(i,n);a>-1&&(r[e]=i.slice(0,a).concat(i.slice(a+1)))}}}function mt(t,e){var n=pt(t,e);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function bt(t,e,n){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),mt(t,n||e.type,t,e),Ct(e)||e.codemirrorIgnore}function vt(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var n=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),r=0;r<e.length;++r)-1==U(n,e[r])&&n.push(e[r])}function yt(t,e){return pt(t,e).length>0}function wt(t){t.prototype.on=function(t,e){At(this,t,e)},t.prototype.off=function(t,e){gt(this,t,e)}}function Tt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function kt(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function Ct(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Et(t){Tt(t),kt(t)}function xt(t){return t.target||t.srcElement}function _t(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),b&&t.ctrlKey&&1==e&&(e=3),e}var Bt,St,Lt=function(){if(o&&s<9)return!1;var t=S("div");return"draggable"in t||"dragDrop"in t}();function It(t){if(null==Bt){var e=S("span","");B(t,S("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(Bt=e.offsetWidth<=1&&e.offsetHeight>2&&!(o&&s<8))}var n=Bt?S("span",""):S("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Mt(t){if(null!=St)return St;var e=B(t,document.createTextNode("AخA")),n=E(e,0,1).getBoundingClientRect(),r=E(e,1,2).getBoundingClientRect();return _(t),!(!n||n.left==n.right)&&(St=r.right-n.right<3)}var Ot,Nt=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,n=[],r=t.length;e<=r;){var i=t.indexOf("\n",e);-1==i&&(i=t.length);var a=t.slice(e,"\r"==t.charAt(i-1)?i-1:i),o=a.indexOf("\r");-1!=o?(n.push(a.slice(0,o)),e+=o+1):(n.push(a),e=i+1)}return n}:function(t){return t.split(/\r\n?|\n/)},Dt=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Ft="oncopy"in(Ot=S("div"))||(Ot.setAttribute("oncopy","return;"),"function"==typeof Ot.oncopy),Pt=null;function Rt(t){if(null!=Pt)return Pt;var e=B(t,S("span","x")),n=e.getBoundingClientRect(),r=E(e,0,1).getBoundingClientRect();return Pt=Math.abs(n.left-r.left)>1}var Qt={},Ut={};function Ht(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),Qt[t]=e}function jt(t,e){Ut[t]=e}function $t(t){if("string"==typeof t&&Ut.hasOwnProperty(t))t=Ut[t];else if(t&&"string"==typeof t.name&&Ut.hasOwnProperty(t.name)){var e=Ut[t.name];"string"==typeof e&&(e={name:e}),(t=Z(e,t)).name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return $t("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return $t("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Kt(t,e){e=$t(e);var n=Qt[e.name];if(!n)return Kt(t,"text/plain");var r=n(t,e);if(Gt.hasOwnProperty(e.name)){var i=Gt[e.name];for(var a in i)i.hasOwnProperty(a)&&(r.hasOwnProperty(a)&&(r["_"+a]=r[a]),r[a]=i[a])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var o in e.modeProps)r[o]=e.modeProps[o];return r}var Gt={};function zt(t,e){P(e,Gt.hasOwnProperty(t)?Gt[t]:Gt[t]={})}function Xt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var r in e){var i=e[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function qt(t,e){for(var n;t.innerMode&&(n=t.innerMode(e))&&n.mode!=t;)e=n.state,t=n.mode;return n||{mode:t,state:e}}function Vt(t,e,n){return!t.startState||t.startState(e,n)}var Wt=function(t,e,n){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Yt(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var r=0;;++r){var i=n.children[r],a=i.chunkSize();if(e<a){n=i;break}e-=a}return n.lines[e]}function Jt(t,e,n){var r=[],i=e.line;return t.iter(e.line,n.line+1,(function(t){var a=t.text;i==n.line&&(a=a.slice(0,n.ch)),i==e.line&&(a=a.slice(e.ch)),r.push(a),++i})),r}function Zt(t,e,n){var r=[];return t.iter(e,n,(function(t){r.push(t.text)})),r}function te(t,e){var n=e-t.height;if(n)for(var r=t;r;r=r.parent)r.height+=n}function ee(t){if(null==t.parent)return null;for(var e=t.parent,n=U(e.lines,t),r=e.parent;r;e=r,r=r.parent)for(var i=0;r.children[i]!=e;++i)n+=r.children[i].chunkSize();return n+e.first}function ne(t,e){var n=t.first;t:do{for(var r=0;r<t.children.length;++r){var i=t.children[r],a=i.height;if(e<a){t=i;continue t}e-=a,n+=i.chunkSize()}return n}while(!t.lines);for(var o=0;o<t.lines.length;++o){var s=t.lines[o].height;if(e<s)break;e-=s}return n+o}function re(t,e){return e>=t.first&&e<t.first+t.size}function ie(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function ae(t,e,n){if(void 0===n&&(n=null),!(this instanceof ae))return new ae(t,e,n);this.line=t,this.ch=e,this.sticky=n}function oe(t,e){return t.line-e.line||t.ch-e.ch}function se(t,e){return t.sticky==e.sticky&&0==oe(t,e)}function ce(t){return ae(t.line,t.ch)}function le(t,e){return oe(t,e)<0?e:t}function ue(t,e){return oe(t,e)<0?t:e}function he(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function fe(t,e){if(e.line<t.first)return ae(t.first,0);var n=t.first+t.size-1;return e.line>n?ae(n,Yt(t,n).text.length):de(e,Yt(t,e.line).text.length)}function de(t,e){var n=t.ch;return null==n||n>e?ae(t.line,e):n<0?ae(t.line,0):t}function Ae(t,e){for(var n=[],r=0;r<e.length;r++)n[r]=fe(t,e[r]);return n}Wt.prototype.eol=function(){return this.pos>=this.string.length},Wt.prototype.sol=function(){return this.pos==this.lineStart},Wt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Wt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Wt.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},Wt.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},Wt.prototype.eatSpace=function(){for(var t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t},Wt.prototype.skipToEnd=function(){this.pos=this.string.length},Wt.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},Wt.prototype.backUp=function(t){this.pos-=t},Wt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Wt.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Wt.prototype.match=function(t,e,n){if("string"!=typeof t){var r=this.string.slice(this.pos).match(t);return r&&r.index>0?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}var i=function(t){return n?t.toLowerCase():t};if(i(this.string.substr(this.pos,t.length))==i(t))return!1!==e&&(this.pos+=t.length),!0},Wt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Wt.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}},Wt.prototype.lookAhead=function(t){var e=this.lineOracle;return e&&e.lookAhead(t)},Wt.prototype.baseToken=function(){var t=this.lineOracle;return t&&t.baseToken(this.pos)};var pe=function(t,e){this.state=t,this.lookAhead=e},ge=function(t,e,n,r){this.state=e,this.doc=t,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function me(t,e,n,r){var i=[t.state.modeGen],a={};xe(t,e.text,t.doc.mode,n,(function(t,e){return i.push(t,e)}),a,r);for(var o=n.state,s=function(r){n.baseTokens=i;var s=t.state.overlays[r],c=1,l=0;n.state=!0,xe(t,e.text,s.mode,n,(function(t,e){for(var n=c;l<t;){var r=i[c];r>t&&i.splice(c,1,t,i[c+1],r),c+=2,l=Math.min(t,r)}if(e)if(s.opaque)i.splice(n,c-n,t,"overlay "+e),c=n+2;else for(;n<c;n+=2){var a=i[n+1];i[n+1]=(a?a+" ":"")+"overlay "+e}}),a),n.state=o,n.baseTokens=null,n.baseTokenPos=1},c=0;c<t.state.overlays.length;++c)s(c);return{styles:i,classes:a.bgClass||a.textClass?a:null}}function be(t,e,n){if(!e.styles||e.styles[0]!=t.state.modeGen){var r=ve(t,ee(e)),i=e.text.length>t.options.maxHighlightLength&&Xt(t.doc.mode,r.state),a=me(t,e,r);i&&(r.state=i),e.stateAfter=r.save(!i),e.styles=a.styles,a.classes?e.styleClasses=a.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.highlightFrontier&&(t.doc.modeFrontier=Math.max(t.doc.modeFrontier,++t.doc.highlightFrontier))}return e.styles}function ve(t,e,n){var r=t.doc,i=t.display;if(!r.mode.startState)return new ge(r,!0,e);var a=_e(t,e,n),o=a>r.first&&Yt(r,a-1).stateAfter,s=o?ge.fromSaved(r,o,a):new ge(r,Vt(r.mode),a);return r.iter(a,e,(function(n){ye(t,n.text,s);var r=s.line;n.stateAfter=r==e-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function ye(t,e,n,r){var i=t.doc.mode,a=new Wt(e,t.options.tabSize,n);for(a.start=a.pos=r||0,""==e&&we(i,n.state);!a.eol();)Te(i,a,n.state),a.start=a.pos}function we(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var n=qt(t,e);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function Te(t,e,n,r){for(var i=0;i<10;i++){r&&(r[0]=qt(t,n).mode);var a=t.token(e,n);if(e.pos>e.start)return a}throw new Error("Mode "+t.name+" failed to advance stream.")}ge.prototype.lookAhead=function(t){var e=this.doc.getLine(this.line+t);return null!=e&&t>this.maxLookAhead&&(this.maxLookAhead=t),e},ge.prototype.baseToken=function(t){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=t;)this.baseTokenPos+=2;var e=this.baseTokens[this.baseTokenPos+1];return{type:e&&e.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-t}},ge.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ge.fromSaved=function(t,e,n){return e instanceof pe?new ge(t,Xt(t.mode,e.state),n,e.lookAhead):new ge(t,Xt(t.mode,e),n)},ge.prototype.save=function(t){var e=!1!==t?Xt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pe(e,this.maxLookAhead):e};var ke=function(t,e,n){this.start=t.start,this.end=t.pos,this.string=t.current(),this.type=e||null,this.state=n};function Ce(t,e,n,r){var i,a,o=t.doc,s=o.mode,c=Yt(o,(e=fe(o,e)).line),l=ve(t,e.line,n),u=new Wt(c.text,t.options.tabSize,l);for(r&&(a=[]);(r||u.pos<e.ch)&&!u.eol();)u.start=u.pos,i=Te(s,u,l.state),r&&a.push(new ke(u,i,Xt(o.mode,l.state)));return r?a:new ke(u,i,l.state)}function Ee(t,e){if(t)for(;;){var n=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;t=t.slice(0,n.index)+t.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==e[r]?e[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(e[r])||(e[r]+=" "+n[2])}return t}function xe(t,e,n,r,i,a,o){var s=n.flattenSpans;null==s&&(s=t.options.flattenSpans);var c,l=0,u=null,h=new Wt(e,t.options.tabSize,r),f=t.options.addModeClass&&[null];for(""==e&&Ee(we(n,r.state),a);!h.eol();){if(h.pos>t.options.maxHighlightLength?(s=!1,o&&ye(t,e,r,h.pos),h.pos=e.length,c=null):c=Ee(Te(n,h,r.state,f),a),f){var d=f[0].name;d&&(c="m-"+(c?d+" "+c:d))}if(!s||u!=c){for(;l<h.start;)i(l=Math.min(h.start,l+5e3),u);u=c}h.start=h.pos}for(;l<h.pos;){var A=Math.min(h.pos,l+5e3);i(A,u),l=A}}function _e(t,e,n){for(var r,i,a=t.doc,o=n?-1:e-(t.doc.mode.innerMode?1e3:100),s=e;s>o;--s){if(s<=a.first)return a.first;var c=Yt(a,s-1),l=c.stateAfter;if(l&&(!n||s+(l instanceof pe?l.lookAhead:0)<=a.modeFrontier))return s;var u=R(c.text,null,t.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Be(t,e){if(t.modeFrontier=Math.min(t.modeFrontier,e),!(t.highlightFrontier<e-10)){for(var n=t.first,r=e-1;r>n;r--){var i=Yt(t,r).stateAfter;if(i&&(!(i instanceof pe)||r+i.lookAhead<e)){n=r+1;break}}t.highlightFrontier=Math.min(t.highlightFrontier,n)}}var Se=!1,Le=!1;function Ie(){Se=!0}function Me(){Le=!0}function Oe(t,e,n){this.marker=t,this.from=e,this.to=n}function Ne(t,e){if(t)for(var n=0;n<t.length;++n){var r=t[n];if(r.marker==e)return r}}function De(t,e){for(var n,r=0;r<t.length;++r)t[r]!=e&&(n||(n=[])).push(t[r]);return n}function Fe(t,e){t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],e.marker.attachLine(t)}function Pe(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var a=t[i],o=a.marker;if(null==a.from||(o.inclusiveLeft?a.from<=e:a.from<e)||a.from==e&&"bookmark"==o.type&&(!n||!a.marker.insertLeft)){var s=null==a.to||(o.inclusiveRight?a.to>=e:a.to>e);(r||(r=[])).push(new Oe(o,a.from,s?null:a.to))}}return r}function Re(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var a=t[i],o=a.marker;if(null==a.to||(o.inclusiveRight?a.to>=e:a.to>e)||a.from==e&&"bookmark"==o.type&&(!n||a.marker.insertLeft)){var s=null==a.from||(o.inclusiveLeft?a.from<=e:a.from<e);(r||(r=[])).push(new Oe(o,s?null:a.from-e,null==a.to?null:a.to-e))}}return r}function Qe(t,e){if(e.full)return null;var n=re(t,e.from.line)&&Yt(t,e.from.line).markedSpans,r=re(t,e.to.line)&&Yt(t,e.to.line).markedSpans;if(!n&&!r)return null;var i=e.from.ch,a=e.to.ch,o=0==oe(e.from,e.to),s=Pe(n,i,o),c=Re(r,a,o),l=1==e.text.length,u=V(e.text).length+(l?i:0);if(s)for(var h=0;h<s.length;++h){var f=s[h];if(null==f.to){var d=Ne(c,f.marker);d?l&&(f.to=null==d.to?null:d.to+u):f.to=i}}if(c)for(var A=0;A<c.length;++A){var p=c[A];null!=p.to&&(p.to+=u),null==p.from?Ne(s,p.marker)||(p.from=u,l&&(s||(s=[])).push(p)):(p.from+=u,l&&(s||(s=[])).push(p))}s&&(s=Ue(s)),c&&c!=s&&(c=Ue(c));var g=[s];if(!l){var m,b=e.text.length-2;if(b>0&&s)for(var v=0;v<s.length;++v)null==s[v].to&&(m||(m=[])).push(new Oe(s[v].marker,null,null));for(var y=0;y<b;++y)g.push(m);g.push(c)}return g}function Ue(t){for(var e=0;e<t.length;++e){var n=t[e];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function He(t,e,n){var r=null;if(t.iter(e.line,n.line+1,(function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var n=t.markedSpans[e].marker;!n.readOnly||r&&-1!=U(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:e,to:n}],a=0;a<r.length;++a)for(var o=r[a],s=o.find(0),c=0;c<i.length;++c){var l=i[c];if(!(oe(l.to,s.from)<0||oe(l.from,s.to)>0)){var u=[c,1],h=oe(l.from,s.from),f=oe(l.to,s.to);(h<0||!o.inclusiveLeft&&!h)&&u.push({from:l.from,to:s.from}),(f>0||!o.inclusiveRight&&!f)&&u.push({from:s.to,to:l.to}),i.splice.apply(i,u),c+=u.length-3}}return i}function je(t){var e=t.markedSpans;if(e){for(var n=0;n<e.length;++n)e[n].marker.detachLine(t);t.markedSpans=null}}function $e(t,e){if(e){for(var n=0;n<e.length;++n)e[n].marker.attachLine(t);t.markedSpans=e}}function Ke(t){return t.inclusiveLeft?-1:0}function Ge(t){return t.inclusiveRight?1:0}function ze(t,e){var n=t.lines.length-e.lines.length;if(0!=n)return n;var r=t.find(),i=e.find(),a=oe(r.from,i.from)||Ke(t)-Ke(e);if(a)return-a;var o=oe(r.to,i.to)||Ge(t)-Ge(e);return o||e.id-t.id}function Xe(t,e){var n,r=Le&&t.markedSpans;if(r)for(var i=void 0,a=0;a<r.length;++a)(i=r[a]).marker.collapsed&&null==(e?i.from:i.to)&&(!n||ze(n,i.marker)<0)&&(n=i.marker);return n}function qe(t){return Xe(t,!0)}function Ve(t){return Xe(t,!1)}function We(t,e){var n,r=Le&&t.markedSpans;if(r)for(var i=0;i<r.length;++i){var a=r[i];a.marker.collapsed&&(null==a.from||a.from<e)&&(null==a.to||a.to>e)&&(!n||ze(n,a.marker)<0)&&(n=a.marker)}return n}function Ye(t,e,n,r,i){var a=Yt(t,e),o=Le&&a.markedSpans;if(o)for(var s=0;s<o.length;++s){var c=o[s];if(c.marker.collapsed){var l=c.marker.find(0),u=oe(l.from,n)||Ke(c.marker)-Ke(i),h=oe(l.to,r)||Ge(c.marker)-Ge(i);if(!(u>=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?oe(l.to,n)>=0:oe(l.to,n)>0)||u>=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?oe(l.from,r)<=0:oe(l.from,r)<0)))return!0}}}function Je(t){for(var e;e=qe(t);)t=e.find(-1,!0).line;return t}function Ze(t){for(var e;e=Ve(t);)t=e.find(1,!0).line;return t}function tn(t){for(var e,n;e=Ve(t);)t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function en(t,e){var n=Yt(t,e),r=Je(n);return n==r?e:ee(r)}function nn(t,e){if(e>t.lastLine())return e;var n,r=Yt(t,e);if(!rn(t,r))return e;for(;n=Ve(r);)r=n.find(1,!0).line;return ee(r)+1}function rn(t,e){var n=Le&&e.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&an(t,e,r))return!0}}function an(t,e,n){if(null==n.to){var r=n.marker.find(1,!0);return an(t,r.line,Ne(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==e.text.length)return!0;for(var i=void 0,a=0;a<e.markedSpans.length;++a)if((i=e.markedSpans[a]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&an(t,e,i))return!0}function on(t){for(var e=0,n=(t=Je(t)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==t)break;e+=i.height}for(var a=n.parent;a;a=(n=a).parent)for(var o=0;o<a.children.length;++o){var s=a.children[o];if(s==n)break;e+=s.height}return e}function sn(t){if(0==t.height)return 0;for(var e,n=t.text.length,r=t;e=qe(r);){var i=e.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=t;e=Ve(r);){var a=e.find(0,!0);n-=r.text.length-a.from.ch,n+=(r=a.to.line).text.length-a.to.ch}return n}function cn(t){var e=t.display,n=t.doc;e.maxLine=Yt(n,n.first),e.maxLineLength=sn(e.maxLine),e.maxLineChanged=!0,n.iter((function(t){var n=sn(t);n>e.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)}))}var ln=function(t,e,n){this.text=t,$e(this,e),this.height=n?n(this):1};function un(t,e,n,r){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),je(t),$e(t,n);var i=r?r(t):1;i!=t.height&&te(t,i)}function hn(t){t.parent=null,je(t)}ln.prototype.lineNo=function(){return ee(this)},wt(ln);var fn={},dn={};function An(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?dn:fn;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function pn(t,e){var n=L("span",null,null,c?"padding-right: .1px":null),r={pre:L("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:t.getOption("lineWrapping")};e.measure={};for(var i=0;i<=(e.rest?e.rest.length:0);i++){var a=i?e.rest[i-1]:e.line,o=void 0;r.pos=0,r.addToken=mn,Mt(t.display.measure)&&(o=ft(a,t.doc.direction))&&(r.addToken=vn(r.addToken,o)),r.map=[],wn(a,r,be(t,a,e!=t.display.externalMeasured&&ee(a))),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=N(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=N(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(It(t.display.measure))),0==i?(e.measure.map=r.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(r.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(c){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return mt(t,"renderLine",t,e.line,r.pre),r.pre.className&&(r.textClass=N(r.pre.className,r.textClass||"")),r}function gn(t){var e=S("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function mn(t,e,n,r,i,a,c){if(e){var l,u=t.splitSpaces?bn(e,t.trailingSpace):e,h=t.cm.state.specialChars,f=!1;if(h.test(e)){l=document.createDocumentFragment();for(var d=0;;){h.lastIndex=d;var A=h.exec(e),p=A?A.index-d:e.length-d;if(p){var g=document.createTextNode(u.slice(d,d+p));o&&s<9?l.appendChild(S("span",[g])):l.appendChild(g),t.map.push(t.pos,t.pos+p,g),t.col+=p,t.pos+=p}if(!A)break;d+=p+1;var m=void 0;if("\t"==A[0]){var b=t.cm.options.tabSize,v=b-t.col%b;(m=l.appendChild(S("span",q(v),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),t.col+=v}else"\r"==A[0]||"\n"==A[0]?((m=l.appendChild(S("span","\r"==A[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",A[0]),t.col+=1):((m=t.cm.options.specialCharPlaceholder(A[0])).setAttribute("cm-text",A[0]),o&&s<9?l.appendChild(S("span",[m])):l.appendChild(m),t.col+=1);t.map.push(t.pos,t.pos+1,m),t.pos++}}else t.col+=e.length,l=document.createTextNode(u),t.map.push(t.pos,t.pos+e.length,l),o&&s<9&&(f=!0),t.pos+=e.length;if(t.trailingSpace=32==u.charCodeAt(e.length-1),n||r||i||f||a||c){var y=n||"";r&&(y+=r),i&&(y+=i);var w=S("span",[l],y,a);if(c)for(var T in c)c.hasOwnProperty(T)&&"style"!=T&&"class"!=T&&w.setAttribute(T,c[T]);return t.content.appendChild(w)}t.content.appendChild(l)}}function bn(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,r="",i=0;i<t.length;i++){var a=t.charAt(i);" "!=a||!n||i!=t.length-1&&32!=t.charCodeAt(i+1)||(a=" "),r+=a,n=" "==a}return r}function vn(t,e){return function(n,r,i,a,o,s,c){i=i?i+" cm-force-border":"cm-force-border";for(var l=n.pos,u=l+r.length;;){for(var h=void 0,f=0;f<e.length&&!((h=e[f]).to>l&&h.from<=l);f++);if(h.to>=u)return t(n,r,i,a,o,s,c);t(n,r.slice(0,h.to-l),i,a,null,s,c),a=null,r=r.slice(h.to-l),l=h.to}}}function yn(t,e,n,r){var i=!r&&n.widgetNode;i&&t.map.push(t.pos,t.pos+e,i),!r&&t.cm.display.input.needsContentAttribute&&(i||(i=t.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(t.cm.display.input.setUneditable(i),t.content.appendChild(i)),t.pos+=e,t.trailingSpace=!1}function wn(t,e,n){var r=t.markedSpans,i=t.text,a=0;if(r)for(var o,s,c,l,u,h,f,d=i.length,A=0,p=1,g="",m=0;;){if(m==A){c=l=u=s="",f=null,h=null,m=1/0;for(var b=[],v=void 0,y=0;y<r.length;++y){var w=r[y],T=w.marker;if("bookmark"==T.type&&w.from==A&&T.widgetNode)b.push(T);else if(w.from<=A&&(null==w.to||w.to>A||T.collapsed&&w.to==A&&w.from==A)){if(null!=w.to&&w.to!=A&&m>w.to&&(m=w.to,l=""),T.className&&(c+=" "+T.className),T.css&&(s=(s?s+";":"")+T.css),T.startStyle&&w.from==A&&(u+=" "+T.startStyle),T.endStyle&&w.to==m&&(v||(v=[])).push(T.endStyle,w.to),T.title&&((f||(f={})).title=T.title),T.attributes)for(var k in T.attributes)(f||(f={}))[k]=T.attributes[k];T.collapsed&&(!h||ze(h.marker,T)<0)&&(h=w)}else w.from>A&&m>w.from&&(m=w.from)}if(v)for(var C=0;C<v.length;C+=2)v[C+1]==m&&(l+=" "+v[C]);if(!h||h.from==A)for(var E=0;E<b.length;++E)yn(e,0,b[E]);if(h&&(h.from||0)==A){if(yn(e,(null==h.to?d+1:h.to)-A,h.marker,null==h.from),null==h.to)return;h.to==A&&(h=!1)}}if(A>=d)break;for(var x=Math.min(d,m);;){if(g){var _=A+g.length;if(!h){var B=_>x?g.slice(0,x-A):g;e.addToken(e,B,o?o+c:c,u,A+B.length==m?l:"",s,f)}if(_>=x){g=g.slice(x-A),A=x;break}A=_,u=""}g=i.slice(a,a=n[p++]),o=An(n[p++],e.cm.options)}}else for(var S=1;S<n.length;S+=2)e.addToken(e,i.slice(a,a=n[S]),An(n[S+1],e.cm.options))}function Tn(t,e,n){this.line=e,this.rest=tn(e),this.size=this.rest?ee(V(this.rest))-n+1:1,this.node=this.text=null,this.hidden=rn(t,e)}function kn(t,e,n){for(var r,i=[],a=e;a<n;a=r){var o=new Tn(t.doc,Yt(t.doc,a),a);r=a+o.size,i.push(o)}return i}var Cn=null;function En(t){Cn?Cn.ops.push(t):t.ownsGroup=Cn={ops:[t],delayedCallbacks:[]}}function xn(t){var e=t.delayedCallbacks,n=0;do{for(;n<e.length;n++)e[n].call(null);for(var r=0;r<t.ops.length;r++){var i=t.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<e.length)}function _n(t,e){var n=t.ownsGroup;if(n)try{xn(n)}finally{Cn=null,e(n)}}var Bn=null;function Sn(t,e){var n=pt(t,e);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);Cn?r=Cn.delayedCallbacks:Bn?r=Bn:(r=Bn=[],setTimeout(Ln,0));for(var a=function(t){r.push((function(){return n[t].apply(null,i)}))},o=0;o<n.length;++o)a(o)}}function Ln(){var t=Bn;Bn=null;for(var e=0;e<t.length;++e)t[e]()}function In(t,e,n,r){for(var i=0;i<e.changes.length;i++){var a=e.changes[i];"text"==a?Dn(t,e):"gutter"==a?Pn(t,e,n,r):"class"==a?Fn(t,e):"widget"==a&&Rn(t,e,r)}e.changes=null}function Mn(t){return t.node==t.text&&(t.node=S("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),o&&s<8&&(t.node.style.zIndex=2)),t.node}function On(t,e){var n=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),e.background)n?e.background.className=n:(e.background.parentNode.removeChild(e.background),e.background=null);else if(n){var r=Mn(e);e.background=r.insertBefore(S("div",null,n),r.firstChild),t.display.input.setUneditable(e.background)}}function Nn(t,e){var n=t.display.externalMeasured;return n&&n.line==e.line?(t.display.externalMeasured=null,e.measure=n.measure,n.built):pn(t,e)}function Dn(t,e){var n=e.text.className,r=Nn(t,e);e.text==e.node&&(e.node=r.pre),e.text.parentNode.replaceChild(r.pre,e.text),e.text=r.pre,r.bgClass!=e.bgClass||r.textClass!=e.textClass?(e.bgClass=r.bgClass,e.textClass=r.textClass,Fn(t,e)):n&&(e.text.className=n)}function Fn(t,e){On(t,e),e.line.wrapClass?Mn(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var n=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=n||""}function Pn(t,e,n,r){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var i=Mn(e);e.gutterBackground=S("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),i.insertBefore(e.gutterBackground,e.text)}var a=e.line.gutterMarkers;if(t.options.lineNumbers||a){var o=Mn(e),s=e.gutter=S("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(t.display.input.setUneditable(s),o.insertBefore(s,e.text),e.line.gutterClass&&(s.className+=" "+e.line.gutterClass),!t.options.lineNumbers||a&&a["CodeMirror-linenumbers"]||(e.lineNumber=s.appendChild(S("div",ie(t.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),a)for(var c=0;c<t.display.gutterSpecs.length;++c){var l=t.display.gutterSpecs[c].className,u=a.hasOwnProperty(l)&&a[l];u&&s.appendChild(S("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[l]+"px; width: "+r.gutterWidth[l]+"px"))}}}function Rn(t,e,n){e.alignable&&(e.alignable=null);for(var r=C("CodeMirror-linewidget"),i=e.node.firstChild,a=void 0;i;i=a)a=i.nextSibling,r.test(i.className)&&e.node.removeChild(i);Un(t,e,n)}function Qn(t,e,n,r){var i=Nn(t,e);return e.text=e.node=i.pre,i.bgClass&&(e.bgClass=i.bgClass),i.textClass&&(e.textClass=i.textClass),Fn(t,e),Pn(t,e,n,r),Un(t,e,r),e.node}function Un(t,e,n){if(Hn(t,e.line,e,n,!0),e.rest)for(var r=0;r<e.rest.length;r++)Hn(t,e.rest[r],e,n,!1)}function Hn(t,e,n,r,i){if(e.widgets)for(var a=Mn(n),o=0,s=e.widgets;o<s.length;++o){var c=s[o],l=S("div",[c.node],"CodeMirror-linewidget"+(c.className?" "+c.className:""));c.handleMouseEvents||l.setAttribute("cm-ignore-events","true"),jn(c,l,n,r),t.display.input.setUneditable(l),i&&c.above?a.insertBefore(l,n.gutter||n.text):a.appendChild(l),Sn(c,"redraw")}}function jn(t,e,n,r){if(t.noHScroll){(n.alignable||(n.alignable=[])).push(e);var i=r.wrapperWidth;e.style.left=r.fixedPos+"px",t.coverGutter||(i-=r.gutterTotalWidth,e.style.paddingLeft=r.gutterTotalWidth+"px"),e.style.width=i+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-r.gutterTotalWidth+"px"))}function $n(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!I(document.body,t.node)){var n="position: relative;";t.coverGutter&&(n+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(n+="width: "+e.display.wrapper.clientWidth+"px;"),B(e.display.measure,S("div",[t.node],null,n))}return t.height=t.node.parentNode.offsetHeight}function Kn(t,e){for(var n=xt(e);n!=t.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==t.sizer&&n!=t.mover)return!0}function Gn(t){return t.lineSpace.offsetTop}function zn(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function Xn(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=B(t.measure,S("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(t.cachedPaddingH=r),r}function qn(t){return H-t.display.nativeBarWidth}function Vn(t){return t.display.scroller.clientWidth-qn(t)-t.display.barWidth}function Wn(t){return t.display.scroller.clientHeight-qn(t)-t.display.barHeight}function Yn(t,e,n){var r=t.options.lineWrapping,i=r&&Vn(t);if(!e.measure.heights||r&&e.measure.width!=i){var a=e.measure.heights=[];if(r){e.measure.width=i;for(var o=e.text.firstChild.getClientRects(),s=0;s<o.length-1;s++){var c=o[s],l=o[s+1];Math.abs(c.bottom-l.bottom)>2&&a.push((c.bottom+l.top)/2-n.top)}}a.push(n.bottom-n.top)}}function Jn(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var r=0;r<t.rest.length;r++)if(t.rest[r]==e)return{map:t.measure.maps[r],cache:t.measure.caches[r]};for(var i=0;i<t.rest.length;i++)if(ee(t.rest[i])>n)return{map:t.measure.maps[i],cache:t.measure.caches[i],before:!0}}function Zn(t,e){var n=ee(e=Je(e)),r=t.display.externalMeasured=new Tn(t.doc,e,n);r.lineN=n;var i=r.built=pn(t,r);return r.text=i.pre,B(t.display.lineMeasure,i.pre),r}function tr(t,e,n,r){return rr(t,nr(t,e),n,r)}function er(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[Fr(t,e)];var n=t.display.externalMeasured;return n&&e>=n.lineN&&e<n.lineN+n.size?n:void 0}function nr(t,e){var n=ee(e),r=er(t,n);r&&!r.text?r=null:r&&r.changes&&(In(t,r,n,Ir(t)),t.curOp.forceUpdate=!0),r||(r=Zn(t,e));var i=Jn(r,e,n);return{line:e,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function rr(t,e,n,r,i){e.before&&(n=-1);var a,o=n+(r||"");return e.cache.hasOwnProperty(o)?a=e.cache[o]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(Yn(t,e.view,e.rect),e.hasHeights=!0),(a=cr(t,e,n,r)).bogus||(e.cache[o]=a)),{left:a.left,right:a.right,top:i?a.rtop:a.top,bottom:i?a.rbottom:a.bottom}}var ir,ar={left:0,right:0,top:0,bottom:0};function or(t,e,n){for(var r,i,a,o,s,c,l=0;l<t.length;l+=3)if(s=t[l],c=t[l+1],e<s?(i=0,a=1,o="left"):e<c?a=1+(i=e-s):(l==t.length-3||e==c&&t[l+3]>e)&&(i=(a=c-s)-1,e>=c&&(o="right")),null!=i){if(r=t[l+2],s==c&&n==(r.insertLeft?"left":"right")&&(o=n),"left"==n&&0==i)for(;l&&t[l-2]==t[l-3]&&t[l-1].insertLeft;)r=t[2+(l-=3)],o="left";if("right"==n&&i==c-s)for(;l<t.length-3&&t[l+3]==t[l+4]&&!t[l+5].insertLeft;)r=t[(l+=3)+2],o="right";break}return{node:r,start:i,end:a,collapse:o,coverStart:s,coverEnd:c}}function sr(t,e){var n=ar;if("left"==e)for(var r=0;r<t.length&&(n=t[r]).left==n.right;r++);else for(var i=t.length-1;i>=0&&(n=t[i]).left==n.right;i--);return n}function cr(t,e,n,r){var i,a=or(e.map,n,r),c=a.node,l=a.start,u=a.end,h=a.collapse;if(3==c.nodeType){for(var f=0;f<4;f++){for(;l&&at(e.line.text.charAt(a.coverStart+l));)--l;for(;a.coverStart+u<a.coverEnd&&at(e.line.text.charAt(a.coverStart+u));)++u;if((i=o&&s<9&&0==l&&u==a.coverEnd-a.coverStart?c.parentNode.getBoundingClientRect():sr(E(c,l,u).getClientRects(),r)).left||i.right||0==l)break;u=l,l-=1,h="right"}o&&s<11&&(i=lr(t.display.measure,i))}else{var d;l>0&&(h=r="right"),i=t.options.lineWrapping&&(d=c.getClientRects()).length>1?d["right"==r?d.length-1:0]:c.getBoundingClientRect()}if(o&&s<9&&!l&&(!i||!i.left&&!i.right)){var A=c.parentNode.getClientRects()[0];i=A?{left:A.left,right:A.left+Lr(t.display),top:A.top,bottom:A.bottom}:ar}for(var p=i.top-e.rect.top,g=i.bottom-e.rect.top,m=(p+g)/2,b=e.view.measure.heights,v=0;v<b.length-1&&!(m<b[v]);v++);var y=v?b[v-1]:0,w=b[v],T={left:("right"==h?i.right:i.left)-e.rect.left,right:("left"==h?i.left:i.right)-e.rect.left,top:y,bottom:w};return i.left||i.right||(T.bogus=!0),t.options.singleCursorHeightPerLine||(T.rtop=p,T.rbottom=g),T}function lr(t,e){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Rt(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*r,bottom:e.bottom*r}}function ur(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function hr(t){t.display.externalMeasure=null,_(t.display.lineMeasure);for(var e=0;e<t.display.view.length;e++)ur(t.display.view[e])}function fr(t){hr(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function dr(){return u&&g?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Ar(){return u&&g?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function pr(t){var e=0;if(t.widgets)for(var n=0;n<t.widgets.length;++n)t.widgets[n].above&&(e+=$n(t.widgets[n]));return e}function gr(t,e,n,r,i){if(!i){var a=pr(e);n.top+=a,n.bottom+=a}if("line"==r)return n;r||(r="local");var o=on(e);if("local"==r?o+=Gn(t.display):o-=t.display.viewOffset,"page"==r||"window"==r){var s=t.display.lineSpace.getBoundingClientRect();o+=s.top+("window"==r?0:Ar());var c=s.left+("window"==r?0:dr());n.left+=c,n.right+=c}return n.top+=o,n.bottom+=o,n}function mr(t,e,n){if("div"==n)return e;var r=e.left,i=e.top;if("page"==n)r-=dr(),i-=Ar();else if("local"==n||!n){var a=t.display.sizer.getBoundingClientRect();r+=a.left,i+=a.top}var o=t.display.lineSpace.getBoundingClientRect();return{left:r-o.left,top:i-o.top}}function br(t,e,n,r,i){return r||(r=Yt(t.doc,e.line)),gr(t,r,tr(t,r,e.ch,i),n)}function vr(t,e,n,r,i,a){function o(e,o){var s=rr(t,i,e,o?"right":"left",a);return o?s.left=s.right:s.right=s.left,gr(t,r,s,n)}r=r||Yt(t.doc,e.line),i||(i=nr(t,r));var s=ft(r,t.doc.direction),c=e.ch,l=e.sticky;if(c>=r.text.length?(c=r.text.length,l="before"):c<=0&&(c=0,l="after"),!s)return o("before"==l?c-1:c,"before"==l);function u(t,e,n){return o(n?t-1:t,1==s[e].level!=n)}var h=ut(s,c,l),f=lt,d=u(c,h,"before"==l);return null!=f&&(d.other=u(c,f,"before"!=l)),d}function yr(t,e){var n=0;e=fe(t.doc,e),t.options.lineWrapping||(n=Lr(t.display)*e.ch);var r=Yt(t.doc,e.line),i=on(r)+Gn(t.display);return{left:n,right:n,top:i,bottom:i+r.height}}function wr(t,e,n,r,i){var a=ae(t,e,n);return a.xRel=i,r&&(a.outside=r),a}function Tr(t,e,n){var r=t.doc;if((n+=t.display.viewOffset)<0)return wr(r.first,0,null,-1,-1);var i=ne(r,n),a=r.first+r.size-1;if(i>a)return wr(r.first+r.size-1,Yt(r,a).text.length,null,1,1);e<0&&(e=0);for(var o=Yt(r,i);;){var s=xr(t,o,i,e,n),c=We(o,s.ch+(s.xRel>0||s.outside>0?1:0));if(!c)return s;var l=c.find(1);if(l.line==i)return l;o=Yt(r,i=l.line)}}function kr(t,e,n,r){r-=pr(e);var i=e.text.length,a=st((function(e){return rr(t,n,e-1).bottom<=r}),i,0);return{begin:a,end:i=st((function(e){return rr(t,n,e).top>r}),a,i)}}function Cr(t,e,n,r){return n||(n=nr(t,e)),kr(t,e,n,gr(t,e,rr(t,n,r),"line").top)}function Er(t,e,n,r){return!(t.bottom<=n)&&(t.top>n||(r?t.left:t.right)>e)}function xr(t,e,n,r,i){i-=on(e);var a=nr(t,e),o=pr(e),s=0,c=e.text.length,l=!0,u=ft(e,t.doc.direction);if(u){var h=(t.options.lineWrapping?Br:_r)(t,e,n,a,u,r,i);s=(l=1!=h.level)?h.from:h.to-1,c=l?h.to:h.from-1}var f,d,A=null,p=null,g=st((function(e){var n=rr(t,a,e);return n.top+=o,n.bottom+=o,!!Er(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(A=e,p=n),!0)}),s,c),m=!1;if(p){var b=r-p.left<p.right-r,v=b==l;g=A+(v?0:1),d=v?"after":"before",f=b?p.left:p.right}else{l||g!=c&&g!=s||g++,d=0==g?"after":g==e.text.length?"before":rr(t,a,g-(l?1:0)).bottom+o<=i==l?"after":"before";var y=vr(t,ae(n,g,d),"line",e,a);f=y.left,m=i<y.top?-1:i>=y.bottom?1:0}return wr(n,g=ot(e.text,g,1),d,m,r-f)}function _r(t,e,n,r,i,a,o){var s=st((function(s){var c=i[s],l=1!=c.level;return Er(vr(t,ae(n,l?c.to:c.from,l?"before":"after"),"line",e,r),a,o,!0)}),0,i.length-1),c=i[s];if(s>0){var l=1!=c.level,u=vr(t,ae(n,l?c.from:c.to,l?"after":"before"),"line",e,r);Er(u,a,o,!0)&&u.top>o&&(c=i[s-1])}return c}function Br(t,e,n,r,i,a,o){var s=kr(t,e,r,o),c=s.begin,l=s.end;/\s/.test(e.text.charAt(l-1))&&l--;for(var u=null,h=null,f=0;f<i.length;f++){var d=i[f];if(!(d.from>=l||d.to<=c)){var A=rr(t,r,1!=d.level?Math.min(l,d.to)-1:Math.max(c,d.from)).right,p=A<a?a-A+1e9:A-a;(!u||h>p)&&(u=d,h=p)}}return u||(u=i[i.length-1]),u.from<c&&(u={from:c,to:u.to,level:u.level}),u.to>l&&(u={from:u.from,to:l,level:u.level}),u}function Sr(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==ir){ir=S("pre",null,"CodeMirror-line-like");for(var e=0;e<49;++e)ir.appendChild(document.createTextNode("x")),ir.appendChild(S("br"));ir.appendChild(document.createTextNode("x"))}B(t.measure,ir);var n=ir.offsetHeight/50;return n>3&&(t.cachedTextHeight=n),_(t.measure),n||1}function Lr(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=S("span","xxxxxxxxxx"),n=S("pre",[e],"CodeMirror-line-like");B(t.measure,n);var r=e.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(t.cachedCharWidth=i),i||10}function Ir(t){for(var e=t.display,n={},r={},i=e.gutters.clientLeft,a=e.gutters.firstChild,o=0;a;a=a.nextSibling,++o){var s=t.display.gutterSpecs[o].className;n[s]=a.offsetLeft+a.clientLeft+i,r[s]=a.clientWidth}return{fixedPos:Mr(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function Mr(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Or(t){var e=Sr(t.display),n=t.options.lineWrapping,r=n&&Math.max(5,t.display.scroller.clientWidth/Lr(t.display)-3);return function(i){if(rn(t.doc,i))return 0;var a=0;if(i.widgets)for(var o=0;o<i.widgets.length;o++)i.widgets[o].height&&(a+=i.widgets[o].height);return n?a+(Math.ceil(i.text.length/r)||1)*e:a+e}}function Nr(t){var e=t.doc,n=Or(t);e.iter((function(t){var e=n(t);e!=t.height&&te(t,e)}))}function Dr(t,e,n,r){var i=t.display;if(!n&&"true"==xt(e).getAttribute("cm-not-content"))return null;var a,o,s=i.lineSpace.getBoundingClientRect();try{a=e.clientX-s.left,o=e.clientY-s.top}catch(t){return null}var c,l=Tr(t,a,o);if(r&&l.xRel>0&&(c=Yt(t.doc,l.line).text).length==l.ch){var u=R(c,c.length,t.options.tabSize)-c.length;l=ae(l.line,Math.max(0,Math.round((a-Xn(t.display).left)/Lr(t.display))-u))}return l}function Fr(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var n=t.display.view,r=0;r<n.length;r++)if((e-=n[r].size)<0)return r}function Pr(t,e,n,r){null==e&&(e=t.doc.first),null==n&&(n=t.doc.first+t.doc.size),r||(r=0);var i=t.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>e)&&(i.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=i.viewTo)Le&&en(t.doc,e)<i.viewTo&&Qr(t);else if(n<=i.viewFrom)Le&&nn(t.doc,n+r)>i.viewFrom?Qr(t):(i.viewFrom+=r,i.viewTo+=r);else if(e<=i.viewFrom&&n>=i.viewTo)Qr(t);else if(e<=i.viewFrom){var a=Ur(t,n,n+r,1);a?(i.view=i.view.slice(a.index),i.viewFrom=a.lineN,i.viewTo+=r):Qr(t)}else if(n>=i.viewTo){var o=Ur(t,e,e,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):Qr(t)}else{var s=Ur(t,e,e,-1),c=Ur(t,n,n+r,1);s&&c?(i.view=i.view.slice(0,s.index).concat(kn(t,s.lineN,c.lineN)).concat(i.view.slice(c.index)),i.viewTo+=r):Qr(t)}var l=i.externalMeasured;l&&(n<l.lineN?l.lineN+=r:e<l.lineN+l.size&&(i.externalMeasured=null))}function Rr(t,e,n){t.curOp.viewChanged=!0;var r=t.display,i=t.display.externalMeasured;if(i&&e>=i.lineN&&e<i.lineN+i.size&&(r.externalMeasured=null),!(e<r.viewFrom||e>=r.viewTo)){var a=r.view[Fr(t,e)];if(null!=a.node){var o=a.changes||(a.changes=[]);-1==U(o,n)&&o.push(n)}}}function Qr(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function Ur(t,e,n,r){var i,a=Fr(t,e),o=t.display.view;if(!Le||n==t.doc.first+t.doc.size)return{index:a,lineN:n};for(var s=t.display.viewFrom,c=0;c<a;c++)s+=o[c].size;if(s!=e){if(r>0){if(a==o.length-1)return null;i=s+o[a].size-e,a++}else i=s-e;e+=i,n+=i}for(;en(t.doc,n)!=n;){if(a==(r<0?0:o.length-1))return null;n+=r*o[a-(r<0?1:0)].size,a+=r}return{index:a,lineN:n}}function Hr(t,e,n){var r=t.display;0==r.view.length||e>=r.viewTo||n<=r.viewFrom?(r.view=kn(t,e,n),r.viewFrom=e):(r.viewFrom>e?r.view=kn(t,e,r.viewFrom).concat(r.view):r.viewFrom<e&&(r.view=r.view.slice(Fr(t,e))),r.viewFrom=e,r.viewTo<n?r.view=r.view.concat(kn(t,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Fr(t,n)))),r.viewTo=n}function jr(t){for(var e=t.display.view,n=0,r=0;r<e.length;r++){var i=e[r];i.hidden||i.node&&!i.changes||++n}return n}function $r(t){t.display.input.showSelection(t.display.input.prepareSelection())}function Kr(t,e){void 0===e&&(e=!0);for(var n=t.doc,r={},i=r.cursors=document.createDocumentFragment(),a=r.selection=document.createDocumentFragment(),o=0;o<n.sel.ranges.length;o++)if(e||o!=n.sel.primIndex){var s=n.sel.ranges[o];if(!(s.from().line>=t.display.viewTo||s.to().line<t.display.viewFrom)){var c=s.empty();(c||t.options.showCursorWhenSelecting)&&Gr(t,s.head,i),c||Xr(t,s,a)}}return r}function Gr(t,e,n){var r=vr(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),i=n.appendChild(S("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*t.options.cursorHeight+"px",r.other){var a=n.appendChild(S("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=r.other.left+"px",a.style.top=r.other.top+"px",a.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function zr(t,e){return t.top-e.top||t.left-e.left}function Xr(t,e,n){var r=t.display,i=t.doc,a=document.createDocumentFragment(),o=Xn(t.display),s=o.left,c=Math.max(r.sizerWidth,Vn(t)-r.sizer.offsetLeft)-o.right,l="ltr"==i.direction;function u(t,e,n,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),a.appendChild(S("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?c-t:n)+"px;\n height: "+(r-e)+"px"))}function h(e,n,r){var a,o,h=Yt(i,e),f=h.text.length;function d(n,r){return br(t,ae(e,n),"div",h,r)}function A(e,n,r){var i=Cr(t,h,null,e),a="ltr"==n==("after"==r)?"left":"right";return d("after"==r?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1),a)[a]}var p=ft(h,i.direction);return ct(p,n||0,null==r?f:r,(function(t,e,i,h){var g="ltr"==i,m=d(t,g?"left":"right"),b=d(e-1,g?"right":"left"),v=null==n&&0==t,y=null==r&&e==f,w=0==h,T=!p||h==p.length-1;if(b.top-m.top<=3){var k=(l?y:v)&&T,C=(l?v:y)&&w?s:(g?m:b).left,E=k?c:(g?b:m).right;u(C,m.top,E-C,m.bottom)}else{var x,_,B,S;g?(x=l&&v&&w?s:m.left,_=l?c:A(t,i,"before"),B=l?s:A(e,i,"after"),S=l&&y&&T?c:b.right):(x=l?A(t,i,"before"):s,_=!l&&v&&w?c:m.right,B=!l&&y&&T?s:b.left,S=l?A(e,i,"after"):c),u(x,m.top,_-x,m.bottom),m.bottom<b.top&&u(s,m.bottom,null,b.top),u(B,b.top,S-B,b.bottom)}(!a||zr(m,a)<0)&&(a=m),zr(b,a)<0&&(a=b),(!o||zr(m,o)<0)&&(o=m),zr(b,o)<0&&(o=b)})),{start:a,end:o}}var f=e.from(),d=e.to();if(f.line==d.line)h(f.line,f.ch,d.ch);else{var A=Yt(i,f.line),p=Yt(i,d.line),g=Je(A)==Je(p),m=h(f.line,f.ch,g?A.text.length+1:null).end,b=h(d.line,g?0:null,d.ch).start;g&&(m.top<b.top-2?(u(m.right,m.top,null,m.bottom),u(s,b.top,b.left,b.bottom)):u(m.right,m.top,b.left-m.right,m.bottom)),m.bottom<b.top&&u(s,m.bottom,null,b.top)}n.appendChild(a)}function qr(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var n=!0;e.cursorDiv.style.visibility="",t.options.cursorBlinkRate>0?e.blinker=setInterval((function(){t.hasFocus()||Jr(t),e.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function Vr(t){t.state.focused||(t.display.input.focus(),Yr(t))}function Wr(t){t.state.delayingBlurEvent=!0,setTimeout((function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,Jr(t))}),100)}function Yr(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(mt(t,"focus",t,e),t.state.focused=!0,O(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),c&&setTimeout((function(){return t.display.input.reset(!0)}),20)),t.display.input.receivedFocus()),qr(t))}function Jr(t,e){t.state.delayingBlurEvent||(t.state.focused&&(mt(t,"blur",t,e),t.state.focused=!1,x(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout((function(){t.state.focused||(t.display.shift=!1)}),150))}function Zr(t){for(var e=t.display,n=e.lineDiv.offsetTop,r=0;r<e.view.length;r++){var i=e.view[r],a=t.options.lineWrapping,c=void 0,l=0;if(!i.hidden){if(o&&s<8){var u=i.node.offsetTop+i.node.offsetHeight;c=u-n,n=u}else{var h=i.node.getBoundingClientRect();c=h.bottom-h.top,!a&&i.text.firstChild&&(l=i.text.firstChild.getBoundingClientRect().right-h.left-1)}var f=i.line.height-c;if((f>.005||f<-.005)&&(te(i.line,c),ti(i.line),i.rest))for(var d=0;d<i.rest.length;d++)ti(i.rest[d]);if(l>t.display.sizerWidth){var A=Math.ceil(l/Lr(t.display));A>t.display.maxLineLength&&(t.display.maxLineLength=A,t.display.maxLine=i.line,t.display.maxLineChanged=!0)}}}}function ti(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e){var n=t.widgets[e],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function ei(t,e,n){var r=n&&null!=n.top?Math.max(0,n.top):t.scroller.scrollTop;r=Math.floor(r-Gn(t));var i=n&&null!=n.bottom?n.bottom:r+t.wrapper.clientHeight,a=ne(e,r),o=ne(e,i);if(n&&n.ensure){var s=n.ensure.from.line,c=n.ensure.to.line;s<a?(a=s,o=ne(e,on(Yt(e,s))+t.wrapper.clientHeight)):Math.min(c,e.lastLine())>=o&&(a=ne(e,on(Yt(e,c))-t.wrapper.clientHeight),o=c)}return{from:a,to:Math.max(o,a+1)}}function ni(t,e){if(!bt(t,"scrollCursorIntoView")){var n=t.display,r=n.sizer.getBoundingClientRect(),i=null;if(e.top+r.top<0?i=!0:e.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!A){var a=S("div","",null,"position: absolute;\n top: "+(e.top-n.viewOffset-Gn(t.display))+"px;\n height: "+(e.bottom-e.top+qn(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(a),a.scrollIntoView(i),t.display.lineSpace.removeChild(a)}}}function ri(t,e,n,r){var i;null==r&&(r=0),t.options.lineWrapping||e!=n||(n="before"==(e=e.ch?ae(e.line,"before"==e.sticky?e.ch-1:e.ch,"after"):e).sticky?ae(e.line,e.ch+1,"before"):e);for(var a=0;a<5;a++){var o=!1,s=vr(t,e),c=n&&n!=e?vr(t,n):s,l=ai(t,i={left:Math.min(s.left,c.left),top:Math.min(s.top,c.top)-r,right:Math.max(s.left,c.left),bottom:Math.max(s.bottom,c.bottom)+r}),u=t.doc.scrollTop,h=t.doc.scrollLeft;if(null!=l.scrollTop&&(fi(t,l.scrollTop),Math.abs(t.doc.scrollTop-u)>1&&(o=!0)),null!=l.scrollLeft&&(Ai(t,l.scrollLeft),Math.abs(t.doc.scrollLeft-h)>1&&(o=!0)),!o)break}return i}function ii(t,e){var n=ai(t,e);null!=n.scrollTop&&fi(t,n.scrollTop),null!=n.scrollLeft&&Ai(t,n.scrollLeft)}function ai(t,e){var n=t.display,r=Sr(t.display);e.top<0&&(e.top=0);var i=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,a=Wn(t),o={};e.bottom-e.top>a&&(e.bottom=e.top+a);var s=t.doc.height+zn(n),c=e.top<r,l=e.bottom>s-r;if(e.top<i)o.scrollTop=c?0:e.top;else if(e.bottom>i+a){var u=Math.min(e.top,(l?s:e.bottom)-a);u!=i&&(o.scrollTop=u)}var h=t.options.fixedGutter?0:n.gutters.offsetWidth,f=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft-h,d=Vn(t)-n.gutters.offsetWidth,A=e.right-e.left>d;return A&&(e.right=e.left+d),e.left<10?o.scrollLeft=0:e.left<f?o.scrollLeft=Math.max(0,e.left+h-(A?0:10)):e.right>d+f-3&&(o.scrollLeft=e.right+(A?0:10)-d),o}function oi(t,e){null!=e&&(ui(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function si(t){ui(t);var e=t.getCursor();t.curOp.scrollToPos={from:e,to:e,margin:t.options.cursorScrollMargin}}function ci(t,e,n){null==e&&null==n||ui(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function li(t,e){ui(t),t.curOp.scrollToPos=e}function ui(t){var e=t.curOp.scrollToPos;e&&(t.curOp.scrollToPos=null,hi(t,yr(t,e.from),yr(t,e.to),e.margin))}function hi(t,e,n,r){var i=ai(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-r,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+r});ci(t,i.scrollLeft,i.scrollTop)}function fi(t,e){Math.abs(t.doc.scrollTop-e)<2||(n||$i(t,{top:e}),di(t,e,!0),n&&$i(t),Di(t,100))}function di(t,e,n){e=Math.max(0,Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e)),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function Ai(t,e,n,r){e=Math.max(0,Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth)),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!r||(t.doc.scrollLeft=e,Xi(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function pi(t){var e=t.display,n=e.gutters.offsetWidth,r=Math.round(t.doc.height+zn(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+qn(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}var gi=function(t,e,n){this.cm=n;var r=this.vert=S("div",[S("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=S("div",[S("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,t(r),t(i),At(r,"scroll",(function(){r.clientHeight&&e(r.scrollTop,"vertical")})),At(i,"scroll",(function(){i.clientWidth&&e(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,o&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};gi.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var i=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var a=t.viewWidth-t.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+a)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:e?r:0}},gi.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},gi.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},gi.prototype.zeroWidthHack=function(){var t=b&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Q,this.disableVert=new Q},gi.prototype.enableZeroWidthBar=function(t,e,n){function r(){var i=t.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=t?t.style.pointerEvents="none":e.set(1e3,r)}t.style.pointerEvents="auto",e.set(1e3,r)},gi.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var mi=function(){};function bi(t,e){e||(e=pi(t));var n=t.display.barWidth,r=t.display.barHeight;vi(t,e);for(var i=0;i<4&&n!=t.display.barWidth||r!=t.display.barHeight;i++)n!=t.display.barWidth&&t.options.lineWrapping&&Zr(t),vi(t,pi(t)),n=t.display.barWidth,r=t.display.barHeight}function vi(t,e){var n=t.display,r=n.scrollbars.update(e);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}mi.prototype.update=function(){return{bottom:0,right:0}},mi.prototype.setScrollLeft=function(){},mi.prototype.setScrollTop=function(){},mi.prototype.clear=function(){};var yi={native:gi,null:mi};function wi(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&x(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new yi[t.options.scrollbarStyle]((function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),At(e,"mousedown",(function(){t.state.focused&&setTimeout((function(){return t.display.input.focus()}),0)})),e.setAttribute("cm-not-content","true")}),(function(e,n){"horizontal"==n?Ai(t,e):fi(t,e)}),t),t.display.scrollbars.addClass&&O(t.display.wrapper,t.display.scrollbars.addClass)}var Ti=0;function ki(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ti},En(t.curOp)}function Ci(t){var e=t.curOp;e&&_n(e,(function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;Ei(t)}))}function Ei(t){for(var e=t.ops,n=0;n<e.length;n++)xi(e[n]);for(var r=0;r<e.length;r++)_i(e[r]);for(var i=0;i<e.length;i++)Bi(e[i]);for(var a=0;a<e.length;a++)Si(e[a]);for(var o=0;o<e.length;o++)Li(e[o])}function xi(t){var e=t.cm,n=e.display;Ri(e),t.updateMaxLine&&cn(e),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new Pi(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function _i(t){t.updatedDisplay=t.mustUpdate&&Hi(t.cm,t.update)}function Bi(t){var e=t.cm,n=e.display;t.updatedDisplay&&Zr(e),t.barMeasure=pi(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=tr(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+qn(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-Vn(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection())}function Si(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&Ai(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var n=t.focus&&t.focus==M();t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,n),(t.updatedDisplay||t.startHeight!=e.doc.height)&&bi(e,t.barMeasure),t.updatedDisplay&&zi(e,t.barMeasure),t.selectionChanged&&qr(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),n&&Vr(t.cm)}function Li(t){var e=t.cm,n=e.display,r=e.doc;t.updatedDisplay&&ji(e,t.update),null==n.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=t.scrollTop&&di(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&Ai(e,t.scrollLeft,!0,!0),t.scrollToPos&&ni(e,ri(e,fe(r,t.scrollToPos.from),fe(r,t.scrollToPos.to),t.scrollToPos.margin));var i=t.maybeHiddenMarkers,a=t.maybeUnhiddenMarkers;if(i)for(var o=0;o<i.length;++o)i[o].lines.length||mt(i[o],"hide");if(a)for(var s=0;s<a.length;++s)a[s].lines.length&&mt(a[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&mt(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function Ii(t,e){if(t.curOp)return e();ki(t);try{return e()}finally{Ci(t)}}function Mi(t,e){return function(){if(t.curOp)return e.apply(t,arguments);ki(t);try{return e.apply(t,arguments)}finally{Ci(t)}}}function Oi(t){return function(){if(this.curOp)return t.apply(this,arguments);ki(this);try{return t.apply(this,arguments)}finally{Ci(this)}}}function Ni(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);ki(e);try{return t.apply(this,arguments)}finally{Ci(e)}}}function Di(t,e){t.doc.highlightFrontier<t.display.viewTo&&t.state.highlight.set(e,F(Fi,t))}function Fi(t){var e=t.doc;if(!(e.highlightFrontier>=t.display.viewTo)){var n=+new Date+t.options.workTime,r=ve(t,e.highlightFrontier),i=[];e.iter(r.line,Math.min(e.first+e.size,t.display.viewTo+500),(function(a){if(r.line>=t.display.viewFrom){var o=a.styles,s=a.text.length>t.options.maxHighlightLength?Xt(e.mode,r.state):null,c=me(t,a,r,!0);s&&(r.state=s),a.styles=c.styles;var l=a.styleClasses,u=c.classes;u?a.styleClasses=u:l&&(a.styleClasses=null);for(var h=!o||o.length!=a.styles.length||l!=u&&(!l||!u||l.bgClass!=u.bgClass||l.textClass!=u.textClass),f=0;!h&&f<o.length;++f)h=o[f]!=a.styles[f];h&&i.push(r.line),a.stateAfter=r.save(),r.nextLine()}else a.text.length<=t.options.maxHighlightLength&&ye(t,a.text,r),a.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return Di(t,t.options.workDelay),!0})),e.highlightFrontier=r.line,e.modeFrontier=Math.max(e.modeFrontier,r.line),i.length&&Ii(t,(function(){for(var e=0;e<i.length;e++)Rr(t,i[e],"text")}))}}var Pi=function(t,e,n){var r=t.display;this.viewport=e,this.visible=ei(r,t.doc,e),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Vn(t),this.force=n,this.dims=Ir(t),this.events=[]};function Ri(t){var e=t.display;!e.scrollbarsClipped&&e.scroller.offsetWidth&&(e.nativeBarWidth=e.scroller.offsetWidth-e.scroller.clientWidth,e.heightForcer.style.height=qn(t)+"px",e.sizer.style.marginBottom=-e.nativeBarWidth+"px",e.sizer.style.borderRightWidth=qn(t)+"px",e.scrollbarsClipped=!0)}function Qi(t){if(t.hasFocus())return null;var e=M();if(!e||!I(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&I(t.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Ui(t){if(t&&t.activeElt&&t.activeElt!=M()&&(t.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(t.activeElt.nodeName)&&t.anchorNode&&I(document.body,t.anchorNode)&&I(document.body,t.focusNode))){var e=window.getSelection(),n=document.createRange();n.setEnd(t.anchorNode,t.anchorOffset),n.collapse(!1),e.removeAllRanges(),e.addRange(n),e.extend(t.focusNode,t.focusOffset)}}function Hi(t,e){var n=t.display,r=t.doc;if(e.editorIsHidden)return Qr(t),!1;if(!e.force&&e.visible.from>=n.viewFrom&&e.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==jr(t))return!1;qi(t)&&(Qr(t),e.dims=Ir(t));var i=r.first+r.size,a=Math.max(e.visible.from-t.options.viewportMargin,r.first),o=Math.min(i,e.visible.to+t.options.viewportMargin);n.viewFrom<a&&a-n.viewFrom<20&&(a=Math.max(r.first,n.viewFrom)),n.viewTo>o&&n.viewTo-o<20&&(o=Math.min(i,n.viewTo)),Le&&(a=en(t.doc,a),o=nn(t.doc,o));var s=a!=n.viewFrom||o!=n.viewTo||n.lastWrapHeight!=e.wrapperHeight||n.lastWrapWidth!=e.wrapperWidth;Hr(t,a,o),n.viewOffset=on(Yt(t.doc,n.viewFrom)),t.display.mover.style.top=n.viewOffset+"px";var c=jr(t);if(!s&&0==c&&!e.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var l=Qi(t);return c>4&&(n.lineDiv.style.display="none"),Ki(t,n.updateLineNumbers,e.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Ui(l),_(n.cursorDiv),_(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=e.wrapperHeight,n.lastWrapWidth=e.wrapperWidth,Di(t,400)),n.updateLineNumbers=null,!0}function ji(t,e){for(var n=e.viewport,r=!0;;r=!1){if(r&&t.options.lineWrapping&&e.oldDisplayWidth!=Vn(t))r&&(e.visible=ei(t.display,t.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(t.doc.height+zn(t.display)-Wn(t),n.top)}),e.visible=ei(t.display,t.doc,n),e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)break;if(!Hi(t,e))break;Zr(t);var i=pi(t);$r(t),bi(t,i),zi(t,i),e.force=!1}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function $i(t,e){var n=new Pi(t,e);if(Hi(t,n)){Zr(t),ji(t,n);var r=pi(t);$r(t),bi(t,r),zi(t,r),n.finish()}}function Ki(t,e,n){var r=t.display,i=t.options.lineNumbers,a=r.lineDiv,o=a.firstChild;function s(e){var n=e.nextSibling;return c&&b&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var l=r.view,u=r.viewFrom,h=0;h<l.length;h++){var f=l[h];if(f.hidden);else if(f.node&&f.node.parentNode==a){for(;o!=f.node;)o=s(o);var d=i&&null!=e&&e<=u&&f.lineNumber;f.changes&&(U(f.changes,"gutter")>-1&&(d=!1),In(t,f,u,n)),d&&(_(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(ie(t.options,u)))),o=f.node.nextSibling}else{var A=Qn(t,f,u,n);a.insertBefore(A,o)}u+=f.size}for(;o;)o=s(o)}function Gi(t){var e=t.gutters.offsetWidth;t.sizer.style.marginLeft=e+"px"}function zi(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+qn(t)+"px"}function Xi(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=Mr(e)-e.scroller.scrollLeft+t.doc.scrollLeft,i=e.gutters.offsetWidth,a=r+"px",o=0;o<n.length;o++)if(!n[o].hidden){t.options.fixedGutter&&(n[o].gutter&&(n[o].gutter.style.left=a),n[o].gutterBackground&&(n[o].gutterBackground.style.left=a));var s=n[o].alignable;if(s)for(var c=0;c<s.length;c++)s[c].style.left=a}t.options.fixedGutter&&(e.gutters.style.left=r+i+"px")}}function qi(t){if(!t.options.lineNumbers)return!1;var e=t.doc,n=ie(t.options,e.first+e.size-1),r=t.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(S("div",[S("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),a=i.firstChild.offsetWidth,o=i.offsetWidth-a;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(a,r.lineGutter.offsetWidth-o)+1,r.lineNumWidth=r.lineNumInnerWidth+o,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Gi(t.display),!0}return!1}function Vi(t,e){for(var n=[],r=!1,i=0;i<t.length;i++){var a=t[i],o=null;if("string"!=typeof a&&(o=a.style,a=a.className),"CodeMirror-linenumbers"==a){if(!e)continue;r=!0}n.push({className:a,style:o})}return e&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function Wi(t){var e=t.gutters,n=t.gutterSpecs;_(e),t.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],a=i.className,o=i.style,s=e.appendChild(S("div",null,"CodeMirror-gutter "+a));o&&(s.style.cssText=o),"CodeMirror-linenumbers"==a&&(t.lineGutter=s,s.style.width=(t.lineNumWidth||1)+"px")}e.style.display=n.length?"":"none",Gi(t)}function Yi(t){Wi(t.display),Pr(t),Xi(t)}function Ji(t,e,r,i){var a=this;this.input=r,a.scrollbarFiller=S("div",null,"CodeMirror-scrollbar-filler"),a.scrollbarFiller.setAttribute("cm-not-content","true"),a.gutterFiller=S("div",null,"CodeMirror-gutter-filler"),a.gutterFiller.setAttribute("cm-not-content","true"),a.lineDiv=L("div",null,"CodeMirror-code"),a.selectionDiv=S("div",null,null,"position: relative; z-index: 1"),a.cursorDiv=S("div",null,"CodeMirror-cursors"),a.measure=S("div",null,"CodeMirror-measure"),a.lineMeasure=S("div",null,"CodeMirror-measure"),a.lineSpace=L("div",[a.measure,a.lineMeasure,a.selectionDiv,a.cursorDiv,a.lineDiv],null,"position: relative; outline: none");var l=L("div",[a.lineSpace],"CodeMirror-lines");a.mover=S("div",[l],null,"position: relative"),a.sizer=S("div",[a.mover],"CodeMirror-sizer"),a.sizerWidth=null,a.heightForcer=S("div",null,null,"position: absolute; height: "+H+"px; width: 1px;"),a.gutters=S("div",null,"CodeMirror-gutters"),a.lineGutter=null,a.scroller=S("div",[a.sizer,a.heightForcer,a.gutters],"CodeMirror-scroll"),a.scroller.setAttribute("tabIndex","-1"),a.wrapper=S("div",[a.scrollbarFiller,a.gutterFiller,a.scroller],"CodeMirror"),o&&s<8&&(a.gutters.style.zIndex=-1,a.scroller.style.paddingRight=0),c||n&&m||(a.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(a.wrapper):t(a.wrapper)),a.viewFrom=a.viewTo=e.first,a.reportedViewFrom=a.reportedViewTo=e.first,a.view=[],a.renderedView=null,a.externalMeasured=null,a.viewOffset=0,a.lastWrapHeight=a.lastWrapWidth=0,a.updateLineNumbers=null,a.nativeBarWidth=a.barHeight=a.barWidth=0,a.scrollbarsClipped=!1,a.lineNumWidth=a.lineNumInnerWidth=a.lineNumChars=null,a.alignWidgets=!1,a.cachedCharWidth=a.cachedTextHeight=a.cachedPaddingH=null,a.maxLine=null,a.maxLineLength=0,a.maxLineChanged=!1,a.wheelDX=a.wheelDY=a.wheelStartX=a.wheelStartY=null,a.shift=!1,a.selForContextMenu=null,a.activeTouch=null,a.gutterSpecs=Vi(i.gutters,i.lineNumbers),Wi(a),r.init(a)}Pi.prototype.signal=function(t,e){yt(t,e)&&this.events.push(arguments)},Pi.prototype.finish=function(){for(var t=0;t<this.events.length;t++)mt.apply(null,this.events[t])};var Zi=0,ta=null;function ea(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function na(t){var e=ea(t);return e.x*=ta,e.y*=ta,e}function ra(t,e){var r=ea(e),i=r.x,a=r.y,o=t.display,s=o.scroller,l=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&l||a&&u){if(a&&b&&c)t:for(var f=e.target,d=o.view;f!=s;f=f.parentNode)for(var A=0;A<d.length;A++)if(d[A].node==f){t.display.currentWheelTarget=f;break t}if(i&&!n&&!h&&null!=ta)return a&&u&&fi(t,Math.max(0,s.scrollTop+a*ta)),Ai(t,Math.max(0,s.scrollLeft+i*ta)),(!a||a&&u)&&Tt(e),void(o.wheelStartX=null);if(a&&null!=ta){var p=a*ta,g=t.doc.scrollTop,m=g+o.wrapper.clientHeight;p<0?g=Math.max(0,g+p-50):m=Math.min(t.doc.height,m+p+50),$i(t,{top:g,bottom:m})}Zi<20&&(null==o.wheelStartX?(o.wheelStartX=s.scrollLeft,o.wheelStartY=s.scrollTop,o.wheelDX=i,o.wheelDY=a,setTimeout((function(){if(null!=o.wheelStartX){var t=s.scrollLeft-o.wheelStartX,e=s.scrollTop-o.wheelStartY,n=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(ta=(ta*Zi+n)/(Zi+1),++Zi)}}),200)):(o.wheelDX+=i,o.wheelDY+=a))}}o?ta=-.53:n?ta=15:u?ta=-.7:f&&(ta=-1/3);var ia=function(t,e){this.ranges=t,this.primIndex=e};ia.prototype.primary=function(){return this.ranges[this.primIndex]},ia.prototype.equals=function(t){if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var e=0;e<this.ranges.length;e++){var n=this.ranges[e],r=t.ranges[e];if(!se(n.anchor,r.anchor)||!se(n.head,r.head))return!1}return!0},ia.prototype.deepCopy=function(){for(var t=[],e=0;e<this.ranges.length;e++)t[e]=new aa(ce(this.ranges[e].anchor),ce(this.ranges[e].head));return new ia(t,this.primIndex)},ia.prototype.somethingSelected=function(){for(var t=0;t<this.ranges.length;t++)if(!this.ranges[t].empty())return!0;return!1},ia.prototype.contains=function(t,e){e||(e=t);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(oe(e,r.from())>=0&&oe(t,r.to())<=0)return n}return-1};var aa=function(t,e){this.anchor=t,this.head=e};function oa(t,e,n){var r=t&&t.options.selectionsMayTouch,i=e[n];e.sort((function(t,e){return oe(t.from(),e.from())})),n=U(e,i);for(var a=1;a<e.length;a++){var o=e[a],s=e[a-1],c=oe(s.to(),o.from());if(r&&!o.empty()?c>0:c>=0){var l=ue(s.from(),o.from()),u=le(s.to(),o.to()),h=s.empty()?o.from()==o.head:s.from()==s.head;a<=n&&--n,e.splice(--a,2,new aa(h?u:l,h?l:u))}}return new ia(e,n)}function sa(t,e){return new ia([new aa(t,e||t)],0)}function ca(t){return t.text?ae(t.from.line+t.text.length-1,V(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function la(t,e){if(oe(t,e.from)<0)return t;if(oe(t,e.to)<=0)return ca(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=ca(e).ch-e.to.ch),ae(n,r)}function ua(t,e){for(var n=[],r=0;r<t.sel.ranges.length;r++){var i=t.sel.ranges[r];n.push(new aa(la(i.anchor,e),la(i.head,e)))}return oa(t.cm,n,t.sel.primIndex)}function ha(t,e,n){return t.line==e.line?ae(n.line,t.ch-e.ch+n.ch):ae(n.line+(t.line-e.line),t.ch)}function fa(t,e,n){for(var r=[],i=ae(t.first,0),a=i,o=0;o<e.length;o++){var s=e[o],c=ha(s.from,i,a),l=ha(ca(s),i,a);if(i=s.to,a=l,"around"==n){var u=t.sel.ranges[o],h=oe(u.head,u.anchor)<0;r[o]=new aa(h?l:c,h?c:l)}else r[o]=new aa(c,c)}return new ia(r,t.sel.primIndex)}function da(t){t.doc.mode=Kt(t.options,t.doc.modeOption),Aa(t)}function Aa(t){t.doc.iter((function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)})),t.doc.modeFrontier=t.doc.highlightFrontier=t.doc.first,Di(t,100),t.state.modeGen++,t.curOp&&Pr(t)}function pa(t,e){return 0==e.from.ch&&0==e.to.ch&&""==V(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function ga(t,e,n,r){function i(t){return n?n[t]:null}function a(t,n,i){un(t,n,i,r),Sn(t,"change",t,e)}function o(t,e){for(var n=[],a=t;a<e;++a)n.push(new ln(l[a],i(a),r));return n}var s=e.from,c=e.to,l=e.text,u=Yt(t,s.line),h=Yt(t,c.line),f=V(l),d=i(l.length-1),A=c.line-s.line;if(e.full)t.insert(0,o(0,l.length)),t.remove(l.length,t.size-l.length);else if(pa(t,e)){var p=o(0,l.length-1);a(h,h.text,d),A&&t.remove(s.line,A),p.length&&t.insert(s.line,p)}else if(u==h)if(1==l.length)a(u,u.text.slice(0,s.ch)+f+u.text.slice(c.ch),d);else{var g=o(1,l.length-1);g.push(new ln(f+u.text.slice(c.ch),d,r)),a(u,u.text.slice(0,s.ch)+l[0],i(0)),t.insert(s.line+1,g)}else if(1==l.length)a(u,u.text.slice(0,s.ch)+l[0]+h.text.slice(c.ch),i(0)),t.remove(s.line+1,A);else{a(u,u.text.slice(0,s.ch)+l[0],i(0)),a(h,f+h.text.slice(c.ch),d);var m=o(1,l.length-1);A>1&&t.remove(s.line+1,A-1),t.insert(s.line+1,m)}Sn(t,"change",t,e)}function ma(t,e,n){function r(t,i,a){if(t.linked)for(var o=0;o<t.linked.length;++o){var s=t.linked[o];if(s.doc!=i){var c=a&&s.sharedHist;n&&!c||(e(s.doc,c),r(s.doc,t,c))}}}r(t,null,!0)}function ba(t,e){if(e.cm)throw new Error("This document is already in use.");t.doc=e,e.cm=t,Nr(t),da(t),va(t),t.options.lineWrapping||cn(t),t.options.mode=e.modeOption,Pr(t)}function va(t){("rtl"==t.doc.direction?O:x)(t.display.lineDiv,"CodeMirror-rtl")}function ya(t){Ii(t,(function(){va(t),Pr(t)}))}function wa(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function Ta(t,e){var n={from:ce(e.from),to:ca(e),text:Jt(t,e.from,e.to)};return Sa(t,n,e.from.line,e.to.line+1),ma(t,(function(t){return Sa(t,n,e.from.line,e.to.line+1)}),!0),n}function ka(t){for(;t.length&&V(t).ranges;)t.pop()}function Ca(t,e){return e?(ka(t.done),V(t.done)):t.done.length&&!V(t.done).ranges?V(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),V(t.done)):void 0}function Ea(t,e,n,r){var i=t.history;i.undone.length=0;var a,o,s=+new Date;if((i.lastOp==r||i.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&i.lastModTime>s-(t.cm?t.cm.options.historyEventDelay:500)||"*"==e.origin.charAt(0)))&&(a=Ca(i,i.lastOp==r)))o=V(a.changes),0==oe(e.from,e.to)&&0==oe(e.from,o.to)?o.to=ca(e):a.changes.push(Ta(t,e));else{var c=V(i.done);for(c&&c.ranges||Ba(t.sel,i.done),a={changes:[Ta(t,e)],generation:i.generation},i.done.push(a);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=e.origin,o||mt(t,"historyAdded")}function xa(t,e,n,r){var i=e.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function _a(t,e,n,r){var i=t.history,a=r&&r.origin;n==i.lastSelOp||a&&i.lastSelOrigin==a&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==a||xa(t,a,V(i.done),e))?i.done[i.done.length-1]=e:Ba(e,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=a,i.lastSelOp=n,r&&!1!==r.clearRedo&&ka(i.undone)}function Ba(t,e){var n=V(e);n&&n.ranges&&n.equals(t)||e.push(t)}function Sa(t,e,n,r){var i=e["spans_"+t.id],a=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,r),(function(n){n.markedSpans&&((i||(i=e["spans_"+t.id]={}))[a]=n.markedSpans),++a}))}function La(t){if(!t)return null;for(var e,n=0;n<t.length;++n)t[n].marker.explicitlyCleared?e||(e=t.slice(0,n)):e&&e.push(t[n]);return e?e.length?e:null:t}function Ia(t,e){var n=e["spans_"+t.id];if(!n)return null;for(var r=[],i=0;i<e.text.length;++i)r.push(La(n[i]));return r}function Ma(t,e){var n=Ia(t,e),r=Qe(t,e);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var a=n[i],o=r[i];if(a&&o)t:for(var s=0;s<o.length;++s){for(var c=o[s],l=0;l<a.length;++l)if(a[l].marker==c.marker)continue t;a.push(c)}else o&&(n[i]=o)}return n}function Oa(t,e,n){for(var r=[],i=0;i<t.length;++i){var a=t[i];if(a.ranges)r.push(n?ia.prototype.deepCopy.call(a):a);else{var o=a.changes,s=[];r.push({changes:s});for(var c=0;c<o.length;++c){var l=o[c],u=void 0;if(s.push({from:l.from,to:l.to,text:l.text}),e)for(var h in l)(u=h.match(/^spans_(\d+)$/))&&U(e,Number(u[1]))>-1&&(V(s)[h]=l[h],delete l[h])}}}return r}function Na(t,e,n,r){if(r){var i=t.anchor;if(n){var a=oe(e,i)<0;a!=oe(n,i)<0?(i=e,e=n):a!=oe(e,n)<0&&(e=n)}return new aa(i,e)}return new aa(n||e,e)}function Da(t,e,n,r,i){null==i&&(i=t.cm&&(t.cm.display.shift||t.extend)),Ha(t,new ia([Na(t.sel.primary(),e,n,i)],0),r)}function Fa(t,e,n){for(var r=[],i=t.cm&&(t.cm.display.shift||t.extend),a=0;a<t.sel.ranges.length;a++)r[a]=Na(t.sel.ranges[a],e[a],null,i);Ha(t,oa(t.cm,r,t.sel.primIndex),n)}function Pa(t,e,n,r){var i=t.sel.ranges.slice(0);i[e]=n,Ha(t,oa(t.cm,i,t.sel.primIndex),r)}function Ra(t,e,n,r){Ha(t,sa(e,n),r)}function Qa(t,e,n){var r={ranges:e.ranges,update:function(e){this.ranges=[];for(var n=0;n<e.length;n++)this.ranges[n]=new aa(fe(t,e[n].anchor),fe(t,e[n].head))},origin:n&&n.origin};return mt(t,"beforeSelectionChange",t,r),t.cm&&mt(t.cm,"beforeSelectionChange",t.cm,r),r.ranges!=e.ranges?oa(t.cm,r.ranges,r.ranges.length-1):e}function Ua(t,e,n){var r=t.history.done,i=V(r);i&&i.ranges?(r[r.length-1]=e,ja(t,e,n)):Ha(t,e,n)}function Ha(t,e,n){ja(t,e,n),_a(t,t.sel,t.cm?t.cm.curOp.id:NaN,n)}function ja(t,e,n){(yt(t,"beforeSelectionChange")||t.cm&&yt(t.cm,"beforeSelectionChange"))&&(e=Qa(t,e,n));var r=n&&n.bias||(oe(e.primary().head,t.sel.primary().head)<0?-1:1);$a(t,Ga(t,e,r,!0)),n&&!1===n.scroll||!t.cm||si(t.cm)}function $a(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=1,t.cm.curOp.selectionChanged=!0,vt(t.cm)),Sn(t,"cursorActivity",t))}function Ka(t){$a(t,Ga(t,t.sel,null,!1))}function Ga(t,e,n,r){for(var i,a=0;a<e.ranges.length;a++){var o=e.ranges[a],s=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[a],c=Xa(t,o.anchor,s&&s.anchor,n,r),l=Xa(t,o.head,s&&s.head,n,r);(i||c!=o.anchor||l!=o.head)&&(i||(i=e.ranges.slice(0,a)),i[a]=new aa(c,l))}return i?oa(t.cm,i,e.primIndex):e}function za(t,e,n,r,i){var a=Yt(t,e.line);if(a.markedSpans)for(var o=0;o<a.markedSpans.length;++o){var s=a.markedSpans[o],c=s.marker,l="selectLeft"in c?!c.selectLeft:c.inclusiveLeft,u="selectRight"in c?!c.selectRight:c.inclusiveRight;if((null==s.from||(l?s.from<=e.ch:s.from<e.ch))&&(null==s.to||(u?s.to>=e.ch:s.to>e.ch))){if(i&&(mt(c,"beforeCursorEnter"),c.explicitlyCleared)){if(a.markedSpans){--o;continue}break}if(!c.atomic)continue;if(n){var h=c.find(r<0?1:-1),f=void 0;if((r<0?u:l)&&(h=qa(t,h,-r,h&&h.line==e.line?a:null)),h&&h.line==e.line&&(f=oe(h,n))&&(r<0?f<0:f>0))return za(t,h,e,r,i)}var d=c.find(r<0?-1:1);return(r<0?l:u)&&(d=qa(t,d,r,d.line==e.line?a:null)),d?za(t,d,e,r,i):null}}return e}function Xa(t,e,n,r,i){var a=r||1,o=za(t,e,n,a,i)||!i&&za(t,e,n,a,!0)||za(t,e,n,-a,i)||!i&&za(t,e,n,-a,!0);return o||(t.cantEdit=!0,ae(t.first,0))}function qa(t,e,n,r){return n<0&&0==e.ch?e.line>t.first?fe(t,ae(e.line-1)):null:n>0&&e.ch==(r||Yt(t,e.line)).text.length?e.line<t.first+t.size-1?ae(e.line+1,0):null:new ae(e.line,e.ch+n)}function Va(t){t.setSelection(ae(t.firstLine(),0),ae(t.lastLine()),$)}function Wa(t,e,n){var r={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(e,n,i,a){e&&(r.from=fe(t,e)),n&&(r.to=fe(t,n)),i&&(r.text=i),void 0!==a&&(r.origin=a)}),mt(t,"beforeChange",t,r),t.cm&&mt(t.cm,"beforeChange",t.cm,r),r.canceled?(t.cm&&(t.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Ya(t,e,n){if(t.cm){if(!t.cm.curOp)return Mi(t.cm,Ya)(t,e,n);if(t.cm.state.suppressEdits)return}if(!(yt(t,"beforeChange")||t.cm&&yt(t.cm,"beforeChange"))||(e=Wa(t,e,!0))){var r=Se&&!n&&He(t,e.from,e.to);if(r)for(var i=r.length-1;i>=0;--i)Ja(t,{from:r[i].from,to:r[i].to,text:i?[""]:e.text,origin:e.origin});else Ja(t,e)}}function Ja(t,e){if(1!=e.text.length||""!=e.text[0]||0!=oe(e.from,e.to)){var n=ua(t,e);Ea(t,e,n,t.cm?t.cm.curOp.id:NaN),eo(t,e,n,Qe(t,e));var r=[];ma(t,(function(t,n){n||-1!=U(r,t.history)||(oo(t.history,e),r.push(t.history)),eo(t,e,null,Qe(t,e))}))}}function Za(t,e,n){var r=t.cm&&t.cm.state.suppressEdits;if(!r||n){for(var i,a=t.history,o=t.sel,s="undo"==e?a.done:a.undone,c="undo"==e?a.undone:a.done,l=0;l<s.length&&(i=s[l],n?!i.ranges||i.equals(t.sel):i.ranges);l++);if(l!=s.length){for(a.lastOrigin=a.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(Ba(i,c),n&&!i.equals(t.sel))return void Ha(t,i,{clearRedo:!1});o=i}var u=[];Ba(o,c),c.push({changes:u,generation:a.generation}),a.generation=i.generation||++a.maxGeneration;for(var h=yt(t,"beforeChange")||t.cm&&yt(t.cm,"beforeChange"),f=function(n){var r=i.changes[n];if(r.origin=e,h&&!Wa(t,r,!1))return s.length=0,{};u.push(Ta(t,r));var a=n?ua(t,r):V(s);eo(t,r,a,Ma(t,r)),!n&&t.cm&&t.cm.scrollIntoView({from:r.from,to:ca(r)});var o=[];ma(t,(function(t,e){e||-1!=U(o,t.history)||(oo(t.history,r),o.push(t.history)),eo(t,r,null,Ma(t,r))}))},d=i.changes.length-1;d>=0;--d){var A=f(d);if(A)return A.v}}}}function to(t,e){if(0!=e&&(t.first+=e,t.sel=new ia(W(t.sel.ranges,(function(t){return new aa(ae(t.anchor.line+e,t.anchor.ch),ae(t.head.line+e,t.head.ch))})),t.sel.primIndex),t.cm)){Pr(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,r=n.viewFrom;r<n.viewTo;r++)Rr(t.cm,r,"gutter")}}function eo(t,e,n,r){if(t.cm&&!t.cm.curOp)return Mi(t.cm,eo)(t,e,n,r);if(e.to.line<t.first)to(t,e.text.length-1-(e.to.line-e.from.line));else if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var i=e.text.length-1-(t.first-e.from.line);to(t,i),e={from:ae(t.first,0),to:ae(e.to.line+i,e.to.ch),text:[V(e.text)],origin:e.origin}}var a=t.lastLine();e.to.line>a&&(e={from:e.from,to:ae(a,Yt(t,a).text.length),text:[e.text[0]],origin:e.origin}),e.removed=Jt(t,e.from,e.to),n||(n=ua(t,e)),t.cm?no(t.cm,e,r):ga(t,e,r),ja(t,n,$),t.cantEdit&&Xa(t,ae(t.firstLine(),0))&&(t.cantEdit=!1)}}function no(t,e,n){var r=t.doc,i=t.display,a=e.from,o=e.to,s=!1,c=a.line;t.options.lineWrapping||(c=ee(Je(Yt(r,a.line))),r.iter(c,o.line+1,(function(t){if(t==i.maxLine)return s=!0,!0}))),r.sel.contains(e.from,e.to)>-1&&vt(t),ga(r,e,n,Or(t)),t.options.lineWrapping||(r.iter(c,a.line+e.text.length,(function(t){var e=sn(t);e>i.maxLineLength&&(i.maxLine=t,i.maxLineLength=e,i.maxLineChanged=!0,s=!1)})),s&&(t.curOp.updateMaxLine=!0)),Be(r,a.line),Di(t,400);var l=e.text.length-(o.line-a.line)-1;e.full?Pr(t):a.line!=o.line||1!=e.text.length||pa(t.doc,e)?Pr(t,a.line,o.line+1,l):Rr(t,a.line,"text");var u=yt(t,"changes"),h=yt(t,"change");if(h||u){var f={from:a,to:o,text:e.text,removed:e.removed,origin:e.origin};h&&Sn(t,"change",t,f),u&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(f)}t.display.selForContextMenu=null}function ro(t,e,n,r,i){var a;r||(r=n),oe(r,n)<0&&(n=(a=[r,n])[0],r=a[1]),"string"==typeof e&&(e=t.splitLines(e)),Ya(t,{from:n,to:r,text:e,origin:i})}function io(t,e,n,r){n<t.line?t.line+=r:e<t.line&&(t.line=e,t.ch=0)}function ao(t,e,n,r){for(var i=0;i<t.length;++i){var a=t[i],o=!0;if(a.ranges){a.copied||((a=t[i]=a.deepCopy()).copied=!0);for(var s=0;s<a.ranges.length;s++)io(a.ranges[s].anchor,e,n,r),io(a.ranges[s].head,e,n,r)}else{for(var c=0;c<a.changes.length;++c){var l=a.changes[c];if(n<l.from.line)l.from=ae(l.from.line+r,l.from.ch),l.to=ae(l.to.line+r,l.to.ch);else if(e<=l.to.line){o=!1;break}}o||(t.splice(0,i+1),i=0)}}}function oo(t,e){var n=e.from.line,r=e.to.line,i=e.text.length-(r-n)-1;ao(t.done,n,r,i),ao(t.undone,n,r,i)}function so(t,e,n,r){var i=e,a=e;return"number"==typeof e?a=Yt(t,he(t,e)):i=ee(e),null==i?null:(r(a,i)&&t.cm&&Rr(t.cm,i,n),a)}function co(t){this.lines=t,this.parent=null;for(var e=0,n=0;n<t.length;++n)t[n].parent=this,e+=t[n].height;this.height=e}function lo(t){this.children=t;for(var e=0,n=0,r=0;r<t.length;++r){var i=t[r];e+=i.chunkSize(),n+=i.height,i.parent=this}this.size=e,this.height=n,this.parent=null}aa.prototype.from=function(){return ue(this.anchor,this.head)},aa.prototype.to=function(){return le(this.anchor,this.head)},aa.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},co.prototype={chunkSize:function(){return this.lines.length},removeInner:function(t,e){for(var n=t,r=t+e;n<r;++n){var i=this.lines[n];this.height-=i.height,hn(i),Sn(i,"delete")}this.lines.splice(t,e)},collapse:function(t){t.push.apply(t,this.lines)},insertInner:function(t,e,n){this.height+=n,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var r=0;r<e.length;++r)e[r].parent=this},iterN:function(t,e,n){for(var r=t+e;t<r;++t)if(n(this.lines[t]))return!0}},lo.prototype={chunkSize:function(){return this.size},removeInner:function(t,e){this.size-=e;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(t<i){var a=Math.min(e,i-t),o=r.height;if(r.removeInner(t,a),this.height-=o-r.height,i==a&&(this.children.splice(n--,1),r.parent=null),0==(e-=a))break;t=0}else t-=i}if(this.size-e<25&&(this.children.length>1||!(this.children[0]instanceof co))){var s=[];this.collapse(s),this.children=[new co(s)],this.children[0].parent=this}},collapse:function(t){for(var e=0;e<this.children.length;++e)this.children[e].collapse(t)},insertInner:function(t,e,n){this.size+=e.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],a=i.chunkSize();if(t<=a){if(i.insertInner(t,e,n),i.lines&&i.lines.length>50){for(var o=i.lines.length%25+25,s=o;s<i.lines.length;){var c=new co(i.lines.slice(s,s+=25));i.height-=c.height,this.children.splice(++r,0,c),c.parent=this}i.lines=i.lines.slice(0,o),this.maybeSpill()}break}t-=a}},maybeSpill:function(){if(!(this.children.length<=10)){var t=this;do{var e=new lo(t.children.splice(t.children.length-5,5));if(t.parent){t.size-=e.size,t.height-=e.height;var n=U(t.parent.children,t);t.parent.children.splice(n+1,0,e)}else{var r=new lo(t.children);r.parent=t,t.children=[r,e],t=r}e.parent=t.parent}while(t.children.length>10);t.parent.maybeSpill()}},iterN:function(t,e,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],a=i.chunkSize();if(t<a){var o=Math.min(e,a-t);if(i.iterN(t,o,n))return!0;if(0==(e-=o))break;t=0}else t-=a}}};var uo=function(t,e,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=t,this.node=e};function ho(t,e,n){on(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&oi(t,n)}function fo(t,e,n,r){var i=new uo(t,n,r),a=t.cm;return a&&i.noHScroll&&(a.display.alignWidgets=!0),so(t,e,"widget",(function(e){var n=e.widgets||(e.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=e,a&&!rn(t,e)){var r=on(e)<t.scrollTop;te(e,e.height+$n(i)),r&&oi(a,i.height),a.curOp.forceUpdate=!0}return!0})),a&&Sn(a,"lineWidgetAdded",a,i,"number"==typeof e?e:ee(e)),i}uo.prototype.clear=function(){var t=this.doc.cm,e=this.line.widgets,n=this.line,r=ee(n);if(null!=r&&e){for(var i=0;i<e.length;++i)e[i]==this&&e.splice(i--,1);e.length||(n.widgets=null);var a=$n(this);te(n,Math.max(0,n.height-a)),t&&(Ii(t,(function(){ho(t,n,-a),Rr(t,r,"widget")})),Sn(t,"lineWidgetCleared",t,this,r))}},uo.prototype.changed=function(){var t=this,e=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=$n(this)-e;i&&(rn(this.doc,r)||te(r,r.height+i),n&&Ii(n,(function(){n.curOp.forceUpdate=!0,ho(n,r,i),Sn(n,"lineWidgetChanged",n,t,ee(r))})))},wt(uo);var Ao=0,po=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++Ao};function go(t,e,n,r,i){if(r&&r.shared)return bo(t,e,n,r,i);if(t.cm&&!t.cm.curOp)return Mi(t.cm,go)(t,e,n,r,i);var a=new po(t,i),o=oe(e,n);if(r&&P(r,a,!1),o>0||0==o&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=L("span",[a.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(Ye(t,e.line,e,n,a)||e.line!=n.line&&Ye(t,n.line,e,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");Me()}a.addToHistory&&Ea(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var s,c=e.line,l=t.cm;if(t.iter(c,n.line+1,(function(t){l&&a.collapsed&&!l.options.lineWrapping&&Je(t)==l.display.maxLine&&(s=!0),a.collapsed&&c!=e.line&&te(t,0),Fe(t,new Oe(a,c==e.line?e.ch:null,c==n.line?n.ch:null)),++c})),a.collapsed&&t.iter(e.line,n.line+1,(function(e){rn(t,e)&&te(e,0)})),a.clearOnEnter&&At(a,"beforeCursorEnter",(function(){return a.clear()})),a.readOnly&&(Ie(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),a.collapsed&&(a.id=++Ao,a.atomic=!0),l){if(s&&(l.curOp.updateMaxLine=!0),a.collapsed)Pr(l,e.line,n.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var u=e.line;u<=n.line;u++)Rr(l,u,"text");a.atomic&&Ka(l.doc),Sn(l,"markerAdded",l,a)}return a}po.prototype.clear=function(){if(!this.explicitlyCleared){var t=this.doc.cm,e=t&&!t.curOp;if(e&&ki(t),yt(this,"clear")){var n=this.find();n&&Sn(this,"clear",n.from,n.to)}for(var r=null,i=null,a=0;a<this.lines.length;++a){var o=this.lines[a],s=Ne(o.markedSpans,this);t&&!this.collapsed?Rr(t,ee(o),"text"):t&&(null!=s.to&&(i=ee(o)),null!=s.from&&(r=ee(o))),o.markedSpans=De(o.markedSpans,s),null==s.from&&this.collapsed&&!rn(this.doc,o)&&t&&te(o,Sr(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var c=0;c<this.lines.length;++c){var l=Je(this.lines[c]),u=sn(l);u>t.display.maxLineLength&&(t.display.maxLine=l,t.display.maxLineLength=u,t.display.maxLineChanged=!0)}null!=r&&t&&this.collapsed&&Pr(t,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Ka(t.doc)),t&&Sn(t,"markerCleared",t,this,r,i),e&&Ci(t),this.parent&&this.parent.clear()}},po.prototype.find=function(t,e){var n,r;null==t&&"bookmark"==this.type&&(t=1);for(var i=0;i<this.lines.length;++i){var a=this.lines[i],o=Ne(a.markedSpans,this);if(null!=o.from&&(n=ae(e?a:ee(a),o.from),-1==t))return n;if(null!=o.to&&(r=ae(e?a:ee(a),o.to),1==t))return r}return n&&{from:n,to:r}},po.prototype.changed=function(){var t=this,e=this.find(-1,!0),n=this,r=this.doc.cm;e&&r&&Ii(r,(function(){var i=e.line,a=ee(e.line),o=er(r,a);if(o&&(ur(o),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!rn(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var c=$n(n)-s;c&&te(i,i.height+c)}Sn(r,"markerChanged",r,t)}))},po.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=U(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},po.prototype.detachLine=function(t){if(this.lines.splice(U(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},wt(po);var mo=function(t,e){this.markers=t,this.primary=e;for(var n=0;n<t.length;++n)t[n].parent=this};function bo(t,e,n,r,i){(r=P(r)).shared=!1;var a=[go(t,e,n,r,i)],o=a[0],s=r.widgetNode;return ma(t,(function(t){s&&(r.widgetNode=s.cloneNode(!0)),a.push(go(t,fe(t,e),fe(t,n),r,i));for(var c=0;c<t.linked.length;++c)if(t.linked[c].isParent)return;o=V(a)})),new mo(a,o)}function vo(t){return t.findMarks(ae(t.first,0),t.clipPos(ae(t.lastLine())),(function(t){return t.parent}))}function yo(t,e){for(var n=0;n<e.length;n++){var r=e[n],i=r.find(),a=t.clipPos(i.from),o=t.clipPos(i.to);if(oe(a,o)){var s=go(t,a,o,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function wo(t){for(var e=function(e){var n=t[e],r=[n.primary.doc];ma(n.primary.doc,(function(t){return r.push(t)}));for(var i=0;i<n.markers.length;i++){var a=n.markers[i];-1==U(r,a.doc)&&(a.parent=null,n.markers.splice(i--,1))}},n=0;n<t.length;n++)e(n)}mo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var t=0;t<this.markers.length;++t)this.markers[t].clear();Sn(this,"clear")}},mo.prototype.find=function(t,e){return this.primary.find(t,e)},wt(mo);var To=0,ko=function(t,e,n,r,i){if(!(this instanceof ko))return new ko(t,e,n,r,i);null==n&&(n=0),lo.call(this,[new co([new ln("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var a=ae(n,0);this.sel=sa(a),this.history=new wa(null),this.id=++To,this.modeOption=e,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),ga(this,{from:a,to:a,text:t}),Ha(this,sa(a),$)};ko.prototype=Z(lo.prototype,{constructor:ko,iter:function(t,e,n){n?this.iterN(t-this.first,e-t,n):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var n=0,r=0;r<e.length;++r)n+=e[r].height;this.insertInner(t-this.first,e,n)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=Zt(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:Ni((function(t){var e=ae(this.first,0),n=this.first+this.size-1;Ya(this,{from:e,to:ae(n,Yt(this,n).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&ci(this.cm,0,0),Ha(this,sa(e),$)})),replaceRange:function(t,e,n,r){ro(this,t,e=fe(this,e),n=n?fe(this,n):e,r)},getRange:function(t,e,n){var r=Jt(this,fe(this,t),fe(this,e));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(re(this,t))return Yt(this,t)},getLineNumber:function(t){return ee(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=Yt(this,t)),Je(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return fe(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ni((function(t,e,n){Ra(this,fe(this,"number"==typeof t?ae(t,e||0):t),null,n)})),setSelection:Ni((function(t,e,n){Ra(this,fe(this,t),fe(this,e||t),n)})),extendSelection:Ni((function(t,e,n){Da(this,fe(this,t),e&&fe(this,e),n)})),extendSelections:Ni((function(t,e){Fa(this,Ae(this,t),e)})),extendSelectionsBy:Ni((function(t,e){Fa(this,Ae(this,W(this.sel.ranges,t)),e)})),setSelections:Ni((function(t,e,n){if(t.length){for(var r=[],i=0;i<t.length;i++)r[i]=new aa(fe(this,t[i].anchor),fe(this,t[i].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),Ha(this,oa(this.cm,r,e),n)}})),addSelection:Ni((function(t,e,n){var r=this.sel.ranges.slice(0);r.push(new aa(fe(this,t),fe(this,e||t))),Ha(this,oa(this.cm,r,r.length-1),n)})),getSelection:function(t){for(var e,n=this.sel.ranges,r=0;r<n.length;r++){var i=Jt(this,n[r].from(),n[r].to());e=e?e.concat(i):i}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Jt(this,n[r].from(),n[r].to());!1!==t&&(i=i.join(t||this.lineSeparator())),e[r]=i}return e},replaceSelection:function(t,e,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=t;this.replaceSelections(r,e,n||"+input")},replaceSelections:Ni((function(t,e,n){for(var r=[],i=this.sel,a=0;a<i.ranges.length;a++){var o=i.ranges[a];r[a]={from:o.from(),to:o.to(),text:this.splitLines(t[a]),origin:n}}for(var s=e&&"end"!=e&&fa(this,r,e),c=r.length-1;c>=0;c--)Ya(this,r[c]);s?Ua(this,s):this.cm&&si(this.cm)})),undo:Ni((function(){Za(this,"undo")})),redo:Ni((function(){Za(this,"redo")})),undoSelection:Ni((function(){Za(this,"undo",!0)})),redoSelection:Ni((function(){Za(this,"redo",!0)})),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,r=0;r<t.done.length;r++)t.done[r].ranges||++e;for(var i=0;i<t.undone.length;i++)t.undone[i].ranges||++n;return{undo:e,redo:n}},clearHistory:function(){var t=this;this.history=new wa(this.history.maxGeneration),ma(this,(function(e){return e.history=t.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:Oa(this.history.done),undone:Oa(this.history.undone)}},setHistory:function(t){var e=this.history=new wa(this.history.maxGeneration);e.done=Oa(t.done.slice(0),null,!0),e.undone=Oa(t.undone.slice(0),null,!0)},setGutterMarker:Ni((function(t,e,n){return so(this,t,"gutter",(function(t){var r=t.gutterMarkers||(t.gutterMarkers={});return r[e]=n,!n&&rt(r)&&(t.gutterMarkers=null),!0}))})),clearGutter:Ni((function(t){var e=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[t]&&so(e,n,"gutter",(function(){return n.gutterMarkers[t]=null,rt(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(t){var e;if("number"==typeof t){if(!re(this,t))return null;if(e=t,!(t=Yt(this,t)))return null}else if(null==(e=ee(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:Ni((function(t,e,n){return so(this,t,"gutter"==e?"gutter":"class",(function(t){var r="text"==e?"textClass":"background"==e?"bgClass":"gutter"==e?"gutterClass":"wrapClass";if(t[r]){if(C(n).test(t[r]))return!1;t[r]+=" "+n}else t[r]=n;return!0}))})),removeLineClass:Ni((function(t,e,n){return so(this,t,"gutter"==e?"gutter":"class",(function(t){var r="text"==e?"textClass":"background"==e?"bgClass":"gutter"==e?"gutterClass":"wrapClass",i=t[r];if(!i)return!1;if(null==n)t[r]=null;else{var a=i.match(C(n));if(!a)return!1;var o=a.index+a[0].length;t[r]=i.slice(0,a.index)+(a.index&&o!=i.length?" ":"")+i.slice(o)||null}return!0}))})),addLineWidget:Ni((function(t,e,n){return fo(this,t,e,n)})),removeLineWidget:function(t){t.clear()},markText:function(t,e,n){return go(this,fe(this,t),fe(this,e),n,n&&n.type||"range")},setBookmark:function(t,e){var n={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return go(this,t=fe(this,t),t,n,"bookmark")},findMarksAt:function(t){var e=[],n=Yt(this,(t=fe(this,t)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=t.ch)&&(null==i.to||i.to>=t.ch)&&e.push(i.marker.parent||i.marker)}return e},findMarks:function(t,e,n){t=fe(this,t),e=fe(this,e);var r=[],i=t.line;return this.iter(t.line,e.line+1,(function(a){var o=a.markedSpans;if(o)for(var s=0;s<o.length;s++){var c=o[s];null!=c.to&&i==t.line&&t.ch>=c.to||null==c.from&&i!=t.line||null!=c.from&&i==e.line&&c.from>=e.ch||n&&!n(c.marker)||r.push(c.marker.parent||c.marker)}++i})),r},getAllMarks:function(){var t=[];return this.iter((function(e){var n=e.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&t.push(n[r].marker)})),t},posFromIndex:function(t){var e,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var a=i.text.length+r;if(a>t)return e=t,!0;t-=a,++n})),fe(this,ae(n,e))},indexFromPos:function(t){var e=(t=fe(this,t)).ch;if(t.line<this.first||t.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,t.line,(function(t){e+=t.text.length+n})),e},copy:function(t){var e=new ko(Zt(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t||(t={});var e=this.first,n=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<n&&(n=t.to);var r=new ko(Zt(this,e,n),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:t.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],yo(r,vo(this)),r},unlinkDoc:function(t){if(t instanceof Ps&&(t=t.doc),this.linked)for(var e=0;e<this.linked.length;++e)if(this.linked[e].doc==t){this.linked.splice(e,1),t.unlinkDoc(this),wo(vo(this));break}if(t.history==this.history){var n=[t.id];ma(t,(function(t){return n.push(t.id)}),!0),t.history=new wa(null),t.history.done=Oa(this.history.done,n),t.history.undone=Oa(this.history.undone,n)}},iterLinkedDocs:function(t){ma(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):Nt(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Ni((function(t){"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter((function(t){return t.order=null})),this.cm&&ya(this.cm))}))}),ko.prototype.eachLine=ko.prototype.iter;var Co=0;function Eo(t){var e=this;if(Bo(e),!bt(e,t)&&!Kn(e.display,t)){Tt(t),o&&(Co=+new Date);var n=Dr(e,t,!0),r=t.dataTransfer.files;if(n&&!e.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,a=Array(i),s=0,c=function(){++s==i&&Mi(e,(function(){var t={from:n=fe(e.doc,n),to:n,text:e.doc.splitLines(a.filter((function(t){return null!=t})).join(e.doc.lineSeparator())),origin:"paste"};Ya(e.doc,t),Ua(e.doc,sa(fe(e.doc,n),fe(e.doc,ca(t))))}))()},l=function(t,n){if(e.options.allowDropFileTypes&&-1==U(e.options.allowDropFileTypes,t.type))c();else{var r=new FileReader;r.onerror=function(){return c()},r.onload=function(){var t=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(t)||(a[n]=t),c()},r.readAsText(t)}},u=0;u<r.length;u++)l(r[u],u);else{if(e.state.draggingText&&e.doc.sel.contains(n)>-1)return e.state.draggingText(t),void setTimeout((function(){return e.display.input.focus()}),20);try{var h=t.dataTransfer.getData("Text");if(h){var f;if(e.state.draggingText&&!e.state.draggingText.copy&&(f=e.listSelections()),ja(e.doc,sa(n,n)),f)for(var d=0;d<f.length;++d)ro(e.doc,"",f[d].anchor,f[d].head,"drag");e.replaceSelection(h,"around","paste"),e.display.input.focus()}}catch(t){}}}}function xo(t,e){if(o&&(!t.state.draggingText||+new Date-Co<100))Et(e);else if(!bt(t,e)&&!Kn(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!f)){var n=S("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),h&&n.parentNode.removeChild(n)}}function _o(t,e){var n=Dr(t,e);if(n){var r=document.createDocumentFragment();Gr(t,n,r),t.display.dragCursor||(t.display.dragCursor=S("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),B(t.display.dragCursor,r)}}function Bo(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function So(t){if(document.getElementsByClassName){for(var e=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<e.length;r++){var i=e[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var e=0;e<n.length;e++)t(n[e])}))}}var Lo=!1;function Io(){Lo||(Mo(),Lo=!0)}function Mo(){var t;At(window,"resize",(function(){null==t&&(t=setTimeout((function(){t=null,So(Oo)}),100))})),At(window,"blur",(function(){return So(Jr)}))}function Oo(t){var e=t.display;e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize()}for(var No={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Do=0;Do<10;Do++)No[Do+48]=No[Do+96]=String(Do);for(var Fo=65;Fo<=90;Fo++)No[Fo]=String.fromCharCode(Fo);for(var Po=1;Po<=12;Po++)No[Po+111]=No[Po+63235]="F"+Po;var Ro={};function Qo(t){var e,n,r,i,a=t.split(/-(?!$)/);t=a[a.length-1];for(var o=0;o<a.length-1;o++){var s=a[o];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))e=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return e&&(t="Alt-"+t),n&&(t="Ctrl-"+t),i&&(t="Cmd-"+t),r&&(t="Shift-"+t),t}function Uo(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete t[n];continue}for(var i=W(n.split(" "),Qo),a=0;a<i.length;a++){var o=void 0,s=void 0;a==i.length-1?(s=i.join(" "),o=r):(s=i.slice(0,a+1).join(" "),o="...");var c=e[s];if(c){if(c!=o)throw new Error("Inconsistent bindings for "+s)}else e[s]=o}delete t[n]}for(var l in e)t[l]=e[l];return t}function Ho(t,e,n,r){var i=(e=Go(e)).call?e.call(t,r):e[t];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return Ho(t,e.fallthrough,n,r);for(var a=0;a<e.fallthrough.length;a++){var o=Ho(t,e.fallthrough[a],n,r);if(o)return o}}}function jo(t){var e="string"==typeof t?t:No[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function $o(t,e,n){var r=t;return e.altKey&&"Alt"!=r&&(t="Alt-"+t),(T?e.metaKey:e.ctrlKey)&&"Ctrl"!=r&&(t="Ctrl-"+t),(T?e.ctrlKey:e.metaKey)&&"Mod"!=r&&(t="Cmd-"+t),!n&&e.shiftKey&&"Shift"!=r&&(t="Shift-"+t),t}function Ko(t,e){if(h&&34==t.keyCode&&t.char)return!1;var n=No[t.keyCode];return null!=n&&!t.altGraphKey&&(3==t.keyCode&&t.code&&(n=t.code),$o(n,t,e))}function Go(t){return"string"==typeof t?Ro[t]:t}function zo(t,e){for(var n=t.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var a=e(n[i]);r.length&&oe(a.from,V(r).to)<=0;){var o=r.pop();if(oe(o.from,a.from)<0){a.from=o.from;break}}r.push(a)}Ii(t,(function(){for(var e=r.length-1;e>=0;e--)ro(t.doc,"",r[e].from,r[e].to,"+delete");si(t)}))}function Xo(t,e,n){var r=ot(t.text,e+n,n);return r<0||r>t.text.length?null:r}function qo(t,e,n){var r=Xo(t,e.ch,n);return null==r?null:new ae(e.line,r,n<0?"after":"before")}function Vo(t,e,n,r,i){if(t){"rtl"==e.doc.direction&&(i=-i);var a=ft(n,e.doc.direction);if(a){var o,s=i<0?V(a):a[0],c=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==e.doc.direction){var l=nr(e,n);o=i<0?n.text.length-1:0;var u=rr(e,l,o).top;o=st((function(t){return rr(e,l,t).top==u}),i<0==(1==s.level)?s.from:s.to-1,o),"before"==c&&(o=Xo(n,o,1))}else o=i<0?s.to:s.from;return new ae(r,o,c)}}return new ae(r,i<0?n.text.length:0,i<0?"before":"after")}function Wo(t,e,n,r){var i=ft(e,t.doc.direction);if(!i)return qo(e,n,r);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var a=ut(i,n.ch,n.sticky),o=i[a];if("ltr"==t.doc.direction&&o.level%2==0&&(r>0?o.to>n.ch:o.from<n.ch))return qo(e,n,r);var s,c=function(t,n){return Xo(e,t instanceof ae?t.ch:t,n)},l=function(n){return t.options.lineWrapping?(s=s||nr(t,e),Cr(t,e,s,n)):{begin:0,end:e.text.length}},u=l("before"==n.sticky?c(n,-1):n.ch);if("rtl"==t.doc.direction||1==o.level){var h=1==o.level==r<0,f=c(n,h?1:-1);if(null!=f&&(h?f<=o.to&&f<=u.end:f>=o.from&&f>=u.begin)){var d=h?"before":"after";return new ae(n.line,f,d)}}var A=function(t,e,r){for(var a=function(t,e){return e?new ae(n.line,c(t,1),"before"):new ae(n.line,t,"after")};t>=0&&t<i.length;t+=e){var o=i[t],s=e>0==(1!=o.level),l=s?r.begin:c(r.end,-1);if(o.from<=l&&l<o.to)return a(l,s);if(l=s?o.from:c(o.to,-1),r.begin<=l&&l<r.end)return a(l,s)}},p=A(a+r,r,u);if(p)return p;var g=r>0?u.end:c(u.begin,-1);return null==g||r>0&&g==e.text.length||!(p=A(r>0?0:i.length-1,r,l(g)))?null:p}Ro.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ro.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ro.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ro.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ro.default=b?Ro.macDefault:Ro.pcDefault;var Yo={selectAll:Va,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),$)},killLine:function(t){return zo(t,(function(e){if(e.empty()){var n=Yt(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line<t.lastLine()?{from:e.head,to:ae(e.head.line+1,0)}:{from:e.head,to:ae(e.head.line,n)}}return{from:e.from(),to:e.to()}}))},deleteLine:function(t){return zo(t,(function(e){return{from:ae(e.from().line,0),to:fe(t.doc,ae(e.to().line+1,0))}}))},delLineLeft:function(t){return zo(t,(function(t){return{from:ae(t.from().line,0),to:t.from()}}))},delWrappedLineLeft:function(t){return zo(t,(function(e){var n=t.charCoords(e.head,"div").top+5;return{from:t.coordsChar({left:0,top:n},"div"),to:e.from()}}))},delWrappedLineRight:function(t){return zo(t,(function(e){var n=t.charCoords(e.head,"div").top+5,r=t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div");return{from:e.from(),to:r}}))},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(ae(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(ae(t.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy((function(e){return Jo(t,e.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy((function(e){return ts(t,e.head)}),{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy((function(e){return Zo(t,e.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy((function(e){var n=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div")}),G)},goLineLeft:function(t){return t.extendSelectionsBy((function(e){var n=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:n},"div")}),G)},goLineLeftSmart:function(t){return t.extendSelectionsBy((function(e){var n=t.cursorCoords(e.head,"div").top+5,r=t.coordsChar({left:0,top:n},"div");return r.ch<t.getLine(r.line).search(/\S/)?ts(t,e.head):r}),G)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"codepoint")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],n=t.listSelections(),r=t.options.tabSize,i=0;i<n.length;i++){var a=n[i].from(),o=R(t.getLine(a.line),a.ch,r);e.push(q(r-o%r))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(t){return Ii(t,(function(){for(var e=t.listSelections(),n=[],r=0;r<e.length;r++)if(e[r].empty()){var i=e[r].head,a=Yt(t.doc,i.line).text;if(a)if(i.ch==a.length&&(i=new ae(i.line,i.ch-1)),i.ch>0)i=new ae(i.line,i.ch+1),t.replaceRange(a.charAt(i.ch-1)+a.charAt(i.ch-2),ae(i.line,i.ch-2),i,"+transpose");else if(i.line>t.doc.first){var o=Yt(t.doc,i.line-1).text;o&&(i=new ae(i.line,1),t.replaceRange(a.charAt(0)+t.doc.lineSeparator()+o.charAt(o.length-1),ae(i.line-1,o.length-1),i,"+transpose"))}n.push(new aa(i,i))}t.setSelections(n)}))},newlineAndIndent:function(t){return Ii(t,(function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var r=0;r<e.length;r++)t.indentLine(e[r].from().line,null,!0);si(t)}))},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}};function Jo(t,e){var n=Yt(t.doc,e),r=Je(n);return r!=n&&(e=ee(r)),Vo(!0,t,r,e,1)}function Zo(t,e){var n=Yt(t.doc,e),r=Ze(n);return r!=n&&(e=ee(r)),Vo(!0,t,n,e,-1)}function ts(t,e){var n=Jo(t,e.line),r=Yt(t.doc,n.line),i=ft(r,t.doc.direction);if(!i||0==i[0].level){var a=Math.max(n.ch,r.text.search(/\S/)),o=e.line==n.line&&e.ch<=a&&e.ch;return ae(n.line,o?0:a,n.sticky)}return n}function es(t,e,n){if("string"==typeof e&&!(e=Yo[e]))return!1;t.display.input.ensurePolled();var r=t.display.shift,i=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),i=e(t)!=j}finally{t.display.shift=r,t.state.suppressEdits=!1}return i}function ns(t,e,n){for(var r=0;r<t.state.keyMaps.length;r++){var i=Ho(e,t.state.keyMaps[r],n,t);if(i)return i}return t.options.extraKeys&&Ho(e,t.options.extraKeys,n,t)||Ho(e,t.options.keyMap,n,t)}var rs=new Q;function is(t,e,n,r){var i=t.state.keySeq;if(i){if(jo(e))return"handled";if(/\'$/.test(e)?t.state.keySeq=null:rs.set(50,(function(){t.state.keySeq==i&&(t.state.keySeq=null,t.display.input.reset())})),as(t,i+" "+e,n,r))return!0}return as(t,e,n,r)}function as(t,e,n,r){var i=ns(t,e,r);return"multi"==i&&(t.state.keySeq=e),"handled"==i&&Sn(t,"keyHandled",t,e,n),"handled"!=i&&"multi"!=i||(Tt(n),qr(t)),!!i}function os(t,e){var n=Ko(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?is(t,"Shift-"+n,e,(function(e){return es(t,e,!0)}))||is(t,n,e,(function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return es(t,e)})):is(t,n,e,(function(e){return es(t,e)})))}function ss(t,e,n){return is(t,"'"+n+"'",e,(function(e){return es(t,e,!0)}))}var cs=null;function ls(t){var e=this;if(!(t.target&&t.target!=e.display.input.getField()||(e.curOp.focus=M(),bt(e,t)))){o&&s<11&&27==t.keyCode&&(t.returnValue=!1);var r=t.keyCode;e.display.shift=16==r||t.shiftKey;var i=os(e,t);h&&(cs=i?r:null,i||88!=r||Ft||!(b?t.metaKey:t.ctrlKey)||e.replaceSelection("",null,"cut")),n&&!b&&!i&&46==r&&t.shiftKey&&!t.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(e.display.lineDiv.className)||us(e)}}function us(t){var e=t.display.lineDiv;function n(t){18!=t.keyCode&&t.altKey||(x(e,"CodeMirror-crosshair"),gt(document,"keyup",n),gt(document,"mouseover",n))}O(e,"CodeMirror-crosshair"),At(document,"keyup",n),At(document,"mouseover",n)}function hs(t){16==t.keyCode&&(this.doc.sel.shift=!1),bt(this,t)}function fs(t){var e=this;if(!(t.target&&t.target!=e.display.input.getField()||Kn(e.display,t)||bt(e,t)||t.ctrlKey&&!t.altKey||b&&t.metaKey)){var n=t.keyCode,r=t.charCode;if(h&&n==cs)return cs=null,void Tt(t);if(!h||t.which&&!(t.which<10)||!os(e,t)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(ss(e,t,i)||e.display.input.onKeyPress(t))}}}var ds,As,ps=400,gs=function(t,e,n){this.time=t,this.pos=e,this.button=n};function ms(t,e){var n=+new Date;return As&&As.compare(n,t,e)?(ds=As=null,"triple"):ds&&ds.compare(n,t,e)?(As=new gs(n,t,e),ds=null,"double"):(ds=new gs(n,t,e),As=null,"single")}function bs(t){var e=this,n=e.display;if(!(bt(e,t)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=t.shiftKey,Kn(n,t))c||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!_s(e,t)){var r=Dr(e,t),i=_t(t),a=r?ms(r,i):"single";window.focus(),1==i&&e.state.selectingText&&e.state.selectingText(t),r&&vs(e,i,r,a,t)||(1==i?r?ws(e,r,a,t):xt(t)==n.scroller&&Tt(t):2==i?(r&&Da(e.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(k?e.display.input.onContextMenu(t):Wr(e)))}}function vs(t,e,n,r,i){var a="Click";return"double"==r?a="Double"+a:"triple"==r&&(a="Triple"+a),is(t,$o(a=(1==e?"Left":2==e?"Middle":"Right")+a,i),i,(function(e){if("string"==typeof e&&(e=Yo[e]),!e)return!1;var r=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),r=e(t,n)!=j}finally{t.state.suppressEdits=!1}return r}))}function ys(t,e,n){var r=t.getOption("configureMouse"),i=r?r(t,e,n):{};if(null==i.unit){var a=v?n.shiftKey&&n.metaKey:n.altKey;i.unit=a?"rectangle":"single"==e?"char":"double"==e?"word":"line"}return(null==i.extend||t.doc.extend)&&(i.extend=t.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=b?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(b?n.altKey:n.ctrlKey)),i}function ws(t,e,n,r){o?setTimeout(F(Vr,t),0):t.curOp.focus=M();var i,a=ys(t,n,r),s=t.doc.sel;t.options.dragDrop&&Lt&&!t.isReadOnly()&&"single"==n&&(i=s.contains(e))>-1&&(oe((i=s.ranges[i]).from(),e)<0||e.xRel>0)&&(oe(i.to(),e)>0||e.xRel<0)?Ts(t,r,e,a):Cs(t,r,e,a)}function Ts(t,e,n,r){var i=t.display,a=!1,l=Mi(t,(function(e){c&&(i.scroller.draggable=!1),t.state.draggingText=!1,gt(i.wrapper.ownerDocument,"mouseup",l),gt(i.wrapper.ownerDocument,"mousemove",u),gt(i.scroller,"dragstart",h),gt(i.scroller,"drop",l),a||(Tt(e),r.addNew||Da(t.doc,n,null,null,r.extend),c&&!f||o&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(t){a=a||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},h=function(){return a=!0};c&&(i.scroller.draggable=!0),t.state.draggingText=l,l.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),At(i.wrapper.ownerDocument,"mouseup",l),At(i.wrapper.ownerDocument,"mousemove",u),At(i.scroller,"dragstart",h),At(i.scroller,"drop",l),Wr(t),setTimeout((function(){return i.input.focus()}),20)}function ks(t,e,n){if("char"==n)return new aa(e,e);if("word"==n)return t.findWordAt(e);if("line"==n)return new aa(ae(e.line,0),fe(t.doc,ae(e.line+1,0)));var r=n(t,e);return new aa(r.from,r.to)}function Cs(t,e,n,r){var i=t.display,a=t.doc;Tt(e);var o,s,c=a.sel,l=c.ranges;if(r.addNew&&!r.extend?(s=a.sel.contains(n),o=s>-1?l[s]:new aa(n,n)):(o=a.sel.primary(),s=a.sel.primIndex),"rectangle"==r.unit)r.addNew||(o=new aa(n,n)),n=Dr(t,e,!0,!0),s=-1;else{var u=ks(t,n,r.unit);o=r.extend?Na(o,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=l.length,Ha(a,oa(t,l.concat([o]),s),{scroll:!1,origin:"*mouse"})):l.length>1&&l[s].empty()&&"char"==r.unit&&!r.extend?(Ha(a,oa(t,l.slice(0,s).concat(l.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),c=a.sel):Pa(a,s,o,K):(s=0,Ha(a,new ia([o],0),K),c=a.sel);var h=n;function f(e){if(0!=oe(h,e))if(h=e,"rectangle"==r.unit){for(var i=[],l=t.options.tabSize,u=R(Yt(a,n.line).text,n.ch,l),f=R(Yt(a,e.line).text,e.ch,l),d=Math.min(u,f),A=Math.max(u,f),p=Math.min(n.line,e.line),g=Math.min(t.lastLine(),Math.max(n.line,e.line));p<=g;p++){var m=Yt(a,p).text,b=z(m,d,l);d==A?i.push(new aa(ae(p,b),ae(p,b))):m.length>b&&i.push(new aa(ae(p,b),ae(p,z(m,A,l))))}i.length||i.push(new aa(n,n)),Ha(a,oa(t,c.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var v,y=o,w=ks(t,e,r.unit),T=y.anchor;oe(w.anchor,T)>0?(v=w.head,T=ue(y.from(),w.anchor)):(v=w.anchor,T=le(y.to(),w.head));var k=c.ranges.slice(0);k[s]=Es(t,new aa(fe(a,T),v)),Ha(a,oa(t,k,s),K)}}var d=i.wrapper.getBoundingClientRect(),A=0;function p(e){var n=++A,o=Dr(t,e,!0,"rectangle"==r.unit);if(o)if(0!=oe(o,h)){t.curOp.focus=M(),f(o);var s=ei(i,a);(o.line>=s.to||o.line<s.from)&&setTimeout(Mi(t,(function(){A==n&&p(e)})),150)}else{var c=e.clientY<d.top?-20:e.clientY>d.bottom?20:0;c&&setTimeout(Mi(t,(function(){A==n&&(i.scroller.scrollTop+=c,p(e))})),50)}}function g(e){t.state.selectingText=!1,A=1/0,e&&(Tt(e),i.input.focus()),gt(i.wrapper.ownerDocument,"mousemove",m),gt(i.wrapper.ownerDocument,"mouseup",b),a.history.lastSelOrigin=null}var m=Mi(t,(function(t){0!==t.buttons&&_t(t)?p(t):g(t)})),b=Mi(t,g);t.state.selectingText=b,At(i.wrapper.ownerDocument,"mousemove",m),At(i.wrapper.ownerDocument,"mouseup",b)}function Es(t,e){var n=e.anchor,r=e.head,i=Yt(t.doc,n.line);if(0==oe(n,r)&&n.sticky==r.sticky)return e;var a=ft(i);if(!a)return e;var o=ut(a,n.ch,n.sticky),s=a[o];if(s.from!=n.ch&&s.to!=n.ch)return e;var c,l=o+(s.from==n.ch==(1!=s.level)?0:1);if(0==l||l==a.length)return e;if(r.line!=n.line)c=(r.line-n.line)*("ltr"==t.doc.direction?1:-1)>0;else{var u=ut(a,r.ch,r.sticky),h=u-o||(r.ch-n.ch)*(1==s.level?-1:1);c=u==l-1||u==l?h<0:h>0}var f=a[l+(c?-1:0)],d=c==(1==f.level),A=d?f.from:f.to,p=d?"after":"before";return n.ch==A&&n.sticky==p?e:new aa(new ae(n.line,A,p),r)}function xs(t,e,n,r){var i,a;if(e.touches)i=e.touches[0].clientX,a=e.touches[0].clientY;else try{i=e.clientX,a=e.clientY}catch(t){return!1}if(i>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&Tt(e);var o=t.display,s=o.lineDiv.getBoundingClientRect();if(a>s.bottom||!yt(t,n))return Ct(e);a-=s.top-o.viewOffset;for(var c=0;c<t.display.gutterSpecs.length;++c){var l=o.gutters.childNodes[c];if(l&&l.getBoundingClientRect().right>=i)return mt(t,n,t,ne(t.doc,a),t.display.gutterSpecs[c].className,e),Ct(e)}}function _s(t,e){return xs(t,e,"gutterClick",!0)}function Bs(t,e){Kn(t.display,e)||Ss(t,e)||bt(t,e,"contextmenu")||k||t.display.input.onContextMenu(e)}function Ss(t,e){return!!yt(t,"gutterContextMenu")&&xs(t,e,"gutterContextMenu",!1)}function Ls(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fr(t)}gs.prototype.compare=function(t,e,n){return this.time+ps>t&&0==oe(e,this.pos)&&n==this.button};var Is={toString:function(){return"CodeMirror.Init"}},Ms={},Os={};function Ns(t){var e=t.optionHandlers;function n(n,r,i,a){t.defaults[n]=r,i&&(e[n]=a?function(t,e,n){n!=Is&&i(t,e,n)}:i)}t.defineOption=n,t.Init=Is,n("value","",(function(t,e){return t.setValue(e)}),!0),n("mode",null,(function(t,e){t.doc.modeOption=e,da(t)}),!0),n("indentUnit",2,da,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(t){Aa(t),fr(t),Pr(t)}),!0),n("lineSeparator",null,(function(t,e){if(t.doc.lineSep=e,e){var n=[],r=t.doc.first;t.doc.iter((function(t){for(var i=0;;){var a=t.text.indexOf(e,i);if(-1==a)break;i=a+e.length,n.push(ae(r,a))}r++}));for(var i=n.length-1;i>=0;i--)ro(t.doc,e,n[i],ae(n[i].line,n[i].ch+e.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Is&&t.refresh()})),n("specialCharPlaceholder",gn,(function(t){return t.refresh()}),!0),n("electricChars",!0),n("inputStyle",m?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(t,e){return t.getInputField().spellcheck=e}),!0),n("autocorrect",!1,(function(t,e){return t.getInputField().autocorrect=e}),!0),n("autocapitalize",!1,(function(t,e){return t.getInputField().autocapitalize=e}),!0),n("rtlMoveVisually",!y),n("wholeLineUpdateBefore",!0),n("theme","default",(function(t){Ls(t),Yi(t)}),!0),n("keyMap","default",(function(t,e,n){var r=Go(e),i=n!=Is&&Go(n);i&&i.detach&&i.detach(t,r),r.attach&&r.attach(t,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Fs,!0),n("gutters",[],(function(t,e){t.display.gutterSpecs=Vi(e,t.options.lineNumbers),Yi(t)}),!0),n("fixedGutter",!0,(function(t,e){t.display.gutters.style.left=e?Mr(t.display)+"px":"0",t.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(t){return bi(t)}),!0),n("scrollbarStyle","native",(function(t){wi(t),bi(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(t,e){t.display.gutterSpecs=Vi(t.options.gutters,e),Yi(t)}),!0),n("firstLineNumber",1,Yi,!0),n("lineNumberFormatter",(function(t){return t}),Yi,!0),n("showCursorWhenSelecting",!1,$r,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(t,e){"nocursor"==e&&(Jr(t),t.display.input.blur()),t.display.input.readOnlyChanged(e)})),n("screenReaderLabel",null,(function(t,e){e=""===e?null:e,t.display.input.screenReaderLabelChanged(e)})),n("disableInput",!1,(function(t,e){e||t.display.input.reset()}),!0),n("dragDrop",!0,Ds),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,$r,!0),n("singleCursorHeightPerLine",!0,$r,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Aa,!0),n("addModeClass",!1,Aa,!0),n("pollInterval",100),n("undoDepth",200,(function(t,e){return t.doc.history.undoDepth=e})),n("historyEventDelay",1250),n("viewportMargin",10,(function(t){return t.refresh()}),!0),n("maxHighlightLength",1e4,Aa,!0),n("moveInputWithCursor",!0,(function(t,e){e||t.display.input.resetPosition()})),n("tabindex",null,(function(t,e){return t.display.input.getField().tabIndex=e||""})),n("autofocus",null),n("direction","ltr",(function(t,e){return t.doc.setDirection(e)}),!0),n("phrases",null)}function Ds(t,e,n){if(!e!=!(n&&n!=Is)){var r=t.display.dragFunctions,i=e?At:gt;i(t.display.scroller,"dragstart",r.start),i(t.display.scroller,"dragenter",r.enter),i(t.display.scroller,"dragover",r.over),i(t.display.scroller,"dragleave",r.leave),i(t.display.scroller,"drop",r.drop)}}function Fs(t){t.options.lineWrapping?(O(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(x(t.display.wrapper,"CodeMirror-wrap"),cn(t)),Nr(t),Pr(t),fr(t),setTimeout((function(){return bi(t)}),100)}function Ps(t,e){var n=this;if(!(this instanceof Ps))return new Ps(t,e);this.options=e=e?P(e):{},P(Ms,e,!1);var r=e.value;"string"==typeof r?r=new ko(r,e.mode,null,e.lineSeparator,e.direction):e.mode&&(r.modeOption=e.mode),this.doc=r;var i=new Ps.inputStyles[e.inputStyle](this),a=this.display=new Ji(t,r,i,e);for(var l in a.wrapper.CodeMirror=this,Ls(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),wi(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Q,keySeq:null,specialChars:null},e.autofocus&&!m&&a.input.focus(),o&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Rs(this),Io(),ki(this),this.curOp.forceUpdate=!0,ba(this,r),e.autofocus&&!m||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Yr(n)}),20):Jr(this),Os)Os.hasOwnProperty(l)&&Os[l](this,e[l],Is);qi(this),e.finishInit&&e.finishInit(this);for(var u=0;u<Qs.length;++u)Qs[u](this);Ci(this),c&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(a.lineDiv).textRendering&&(a.lineDiv.style.textRendering="auto")}function Rs(t){var e=t.display;At(e.scroller,"mousedown",Mi(t,bs)),At(e.scroller,"dblclick",o&&s<11?Mi(t,(function(e){if(!bt(t,e)){var n=Dr(t,e);if(n&&!_s(t,e)&&!Kn(t.display,e)){Tt(e);var r=t.findWordAt(n);Da(t.doc,r.anchor,r.head)}}})):function(e){return bt(t,e)||Tt(e)}),At(e.scroller,"contextmenu",(function(e){return Bs(t,e)})),At(e.input.getField(),"contextmenu",(function(n){e.scroller.contains(n.target)||Bs(t,n)}));var n,r={end:0};function i(){e.activeTouch&&(n=setTimeout((function(){return e.activeTouch=null}),1e3),(r=e.activeTouch).end=+new Date)}function a(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function c(t,e){if(null==e.left)return!0;var n=e.left-t.left,r=e.top-t.top;return n*n+r*r>400}At(e.scroller,"touchstart",(function(i){if(!bt(t,i)&&!a(i)&&!_s(t,i)){e.input.ensurePolled(),clearTimeout(n);var o=+new Date;e.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(e.activeTouch.left=i.touches[0].pageX,e.activeTouch.top=i.touches[0].pageY)}})),At(e.scroller,"touchmove",(function(){e.activeTouch&&(e.activeTouch.moved=!0)})),At(e.scroller,"touchend",(function(n){var r=e.activeTouch;if(r&&!Kn(e,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,o=t.coordsChar(e.activeTouch,"page");a=!r.prev||c(r,r.prev)?new aa(o,o):!r.prev.prev||c(r,r.prev.prev)?t.findWordAt(o):new aa(ae(o.line,0),fe(t.doc,ae(o.line+1,0))),t.setSelection(a.anchor,a.head),t.focus(),Tt(n)}i()})),At(e.scroller,"touchcancel",i),At(e.scroller,"scroll",(function(){e.scroller.clientHeight&&(fi(t,e.scroller.scrollTop),Ai(t,e.scroller.scrollLeft,!0),mt(t,"scroll",t))})),At(e.scroller,"mousewheel",(function(e){return ra(t,e)})),At(e.scroller,"DOMMouseScroll",(function(e){return ra(t,e)})),At(e.wrapper,"scroll",(function(){return e.wrapper.scrollTop=e.wrapper.scrollLeft=0})),e.dragFunctions={enter:function(e){bt(t,e)||Et(e)},over:function(e){bt(t,e)||(_o(t,e),Et(e))},start:function(e){return xo(t,e)},drop:Mi(t,Eo),leave:function(e){bt(t,e)||Bo(t)}};var l=e.input.getField();At(l,"keyup",(function(e){return hs.call(t,e)})),At(l,"keydown",Mi(t,ls)),At(l,"keypress",Mi(t,fs)),At(l,"focus",(function(e){return Yr(t,e)})),At(l,"blur",(function(e){return Jr(t,e)}))}Ps.defaults=Ms,Ps.optionHandlers=Os;var Qs=[];function Us(t,e,n,r){var i,a=t.doc;null==n&&(n="add"),"smart"==n&&(a.mode.indent?i=ve(t,e).state:n="prev");var o=t.options.tabSize,s=Yt(a,e),c=R(s.text,null,o);s.stateAfter&&(s.stateAfter=null);var l,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((l=a.mode.indent(i,s.text.slice(u.length),s.text))==j||l>150)){if(!r)return;n="prev"}}else l=0,n="not";"prev"==n?l=e>a.first?R(Yt(a,e-1).text,null,o):0:"add"==n?l=c+t.options.indentUnit:"subtract"==n?l=c-t.options.indentUnit:"number"==typeof n&&(l=c+n),l=Math.max(0,l);var h="",f=0;if(t.options.indentWithTabs)for(var d=Math.floor(l/o);d;--d)f+=o,h+="\t";if(f<l&&(h+=q(l-f)),h!=u)return ro(a,h,ae(e,0),ae(e,u.length),"+input"),s.stateAfter=null,!0;for(var A=0;A<a.sel.ranges.length;A++){var p=a.sel.ranges[A];if(p.head.line==e&&p.head.ch<u.length){var g=ae(e,u.length);Pa(a,A,new aa(g,g));break}}}Ps.defineInitHook=function(t){return Qs.push(t)};var Hs=null;function js(t){Hs=t}function $s(t,e,n,r,i){var a=t.doc;t.display.shift=!1,r||(r=a.sel);var o=+new Date-200,s="paste"==i||t.state.pasteIncoming>o,c=Nt(e),l=null;if(s&&r.ranges.length>1)if(Hs&&Hs.text.join("\n")==e){if(r.ranges.length%Hs.text.length==0){l=[];for(var u=0;u<Hs.text.length;u++)l.push(a.splitLines(Hs.text[u]))}}else c.length==r.ranges.length&&t.options.pasteLinesPerSelection&&(l=W(c,(function(t){return[t]})));for(var h=t.curOp.updateInput,f=r.ranges.length-1;f>=0;f--){var d=r.ranges[f],A=d.from(),p=d.to();d.empty()&&(n&&n>0?A=ae(A.line,A.ch-n):t.state.overwrite&&!s?p=ae(p.line,Math.min(Yt(a,p.line).text.length,p.ch+V(c).length)):s&&Hs&&Hs.lineWise&&Hs.text.join("\n")==c.join("\n")&&(A=p=ae(A.line,0)));var g={from:A,to:p,text:l?l[f%l.length]:c,origin:i||(s?"paste":t.state.cutIncoming>o?"cut":"+input")};Ya(t.doc,g),Sn(t,"inputRead",t,g)}e&&!s&&Gs(t,e),si(t),t.curOp.updateInput<2&&(t.curOp.updateInput=h),t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=-1}function Ks(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||Ii(e,(function(){return $s(e,n,0,null,"paste")})),!0}function Gs(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var a=t.getModeAt(i.head),o=!1;if(a.electricChars){for(var s=0;s<a.electricChars.length;s++)if(e.indexOf(a.electricChars.charAt(s))>-1){o=Us(t,i.head.line,"smart");break}}else a.electricInput&&a.electricInput.test(Yt(t.doc,i.head.line).text.slice(0,i.head.ch))&&(o=Us(t,i.head.line,"smart"));o&&Sn(t,"electricInput",t,i.head.line)}}}function zs(t){for(var e=[],n=[],r=0;r<t.doc.sel.ranges.length;r++){var i=t.doc.sel.ranges[r].head.line,a={anchor:ae(i,0),head:ae(i+1,0)};n.push(a),e.push(t.getRange(a.anchor,a.head))}return{text:e,ranges:n}}function Xs(t,e,n,r){t.setAttribute("autocorrect",n?"":"off"),t.setAttribute("autocapitalize",r?"":"off"),t.setAttribute("spellcheck",!!e)}function qs(){var t=S("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=S("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return c?t.style.width="1000px":t.setAttribute("wrap","off"),p&&(t.style.border="1px solid black"),Xs(t),e}function Vs(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,n){var r=this.options,i=r[t];r[t]==n&&"mode"!=t||(r[t]=n,e.hasOwnProperty(t)&&Mi(this,e[t])(this,n,i),mt(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](Go(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;n<e.length;++n)if(e[n]==t||e[n].name==t)return e.splice(n,1),!0},addOverlay:Oi((function(e,n){var r=e.token?e:t.getMode(this.options,e);if(r.startState)throw new Error("Overlays may not be stateful.");Y(this.state.overlays,{mode:r,modeSpec:e,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(t){return t.priority})),this.state.modeGen++,Pr(this)})),removeOverlay:Oi((function(t){for(var e=this.state.overlays,n=0;n<e.length;++n){var r=e[n].modeSpec;if(r==t||"string"==typeof t&&r.name==t)return e.splice(n,1),this.state.modeGen++,void Pr(this)}})),indentLine:Oi((function(t,e,n){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),re(this.doc,t)&&Us(this,t,e,n)})),indentSelection:Oi((function(t){for(var e=this.doc.sel.ranges,n=-1,r=0;r<e.length;r++){var i=e[r];if(i.empty())i.head.line>n&&(Us(this,i.head.line,t,!0),n=i.head.line,r==this.doc.sel.primIndex&&si(this));else{var a=i.from(),o=i.to(),s=Math.max(n,a.line);n=Math.min(this.lastLine(),o.line-(o.ch?0:1))+1;for(var c=s;c<n;++c)Us(this,c,t);var l=this.doc.sel.ranges;0==a.ch&&e.length==l.length&&l[r].from().ch>0&&Pa(this.doc,r,new aa(a,l[r].to()),$)}}})),getTokenAt:function(t,e){return Ce(this,t,e)},getLineTokens:function(t,e){return Ce(this,ae(t),e,!0)},getTokenTypeAt:function(t){t=fe(this.doc,t);var e,n=be(this,Yt(this.doc,t.line)),r=0,i=(n.length-1)/2,a=t.ch;if(0==a)e=n[2];else for(;;){var o=r+i>>1;if((o?n[2*o-1]:0)>=a)i=o;else{if(!(n[2*o+1]<a)){e=n[2*o+2];break}r=o+1}}var s=e?e.indexOf("overlay "):-1;return s<0?e:0==s?null:e.slice(0,s-1)},getModeAt:function(e){var n=this.doc.mode;return n.innerMode?t.innerMode(n,this.getTokenAt(e).state).mode:n},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var r=[];if(!n.hasOwnProperty(e))return r;var i=n[e],a=this.getModeAt(t);if("string"==typeof a[e])i[a[e]]&&r.push(i[a[e]]);else if(a[e])for(var o=0;o<a[e].length;o++){var s=i[a[e][o]];s&&r.push(s)}else a.helperType&&i[a.helperType]?r.push(i[a.helperType]):i[a.name]&&r.push(i[a.name]);for(var c=0;c<i._global.length;c++){var l=i._global[c];l.pred(a,this)&&-1==U(r,l.val)&&r.push(l.val)}return r},getStateAfter:function(t,e){var n=this.doc;return ve(this,(t=he(n,null==t?n.first+n.size-1:t))+1,e).state},cursorCoords:function(t,e){var n=this.doc.sel.primary();return vr(this,null==t?n.head:"object"==typeof t?fe(this.doc,t):t?n.from():n.to(),e||"page")},charCoords:function(t,e){return br(this,fe(this.doc,t),e||"page")},coordsChar:function(t,e){return Tr(this,(t=mr(this,t,e||"page")).left,t.top)},lineAtHeight:function(t,e){return t=mr(this,{top:t,left:0},e||"page").top,ne(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,n){var r,i=!1;if("number"==typeof t){var a=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:t>a&&(t=a,i=!0),r=Yt(this.doc,t)}else r=t;return gr(this,r,{top:0,left:0},e||"page",n||i).top+(i?this.doc.height-on(r):0)},defaultTextHeight:function(){return Sr(this.display)},defaultCharWidth:function(){return Lr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,r,i){var a=this.display,o=(t=vr(this,fe(this.doc,t))).bottom,s=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),a.sizer.appendChild(e),"over"==r)o=t.top;else if("above"==r||"near"==r){var c=Math.max(a.wrapper.clientHeight,this.doc.height),l=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==r||t.bottom+e.offsetHeight>c)&&t.top>e.offsetHeight?o=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=c&&(o=t.bottom),s+e.offsetWidth>l&&(s=l-e.offsetWidth)}e.style.top=o+"px",e.style.left=e.style.right="","right"==i?(s=a.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(a.sizer.clientWidth-e.offsetWidth)/2),e.style.left=s+"px"),n&&ii(this,{left:s,top:o,right:s+e.offsetWidth,bottom:o+e.offsetHeight})},triggerOnKeyDown:Oi(ls),triggerOnKeyPress:Oi(fs),triggerOnKeyUp:hs,triggerOnMouseDown:Oi(bs),execCommand:function(t){if(Yo.hasOwnProperty(t))return Yo[t].call(null,this)},triggerElectric:Oi((function(t){Gs(this,t)})),findPosH:function(t,e,n,r){var i=1;e<0&&(i=-1,e=-e);for(var a=fe(this.doc,t),o=0;o<e&&!(a=Ws(this.doc,a,i,n,r)).hitSide;++o);return a},moveH:Oi((function(t,e){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Ws(n.doc,r.head,t,e,n.options.rtlMoveVisually):t<0?r.from():r.to()}),G)})),deleteH:Oi((function(t,e){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):zo(this,(function(n){var i=Ws(r,n.head,t,e,!1);return t<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(t,e,n,r){var i=1,a=r;e<0&&(i=-1,e=-e);for(var o=fe(this.doc,t),s=0;s<e;++s){var c=vr(this,o,"div");if(null==a?a=c.left:c.left=a,(o=Ys(this,c,i,n)).hitSide)break}return o},moveV:Oi((function(t,e){var n=this,r=this.doc,i=[],a=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(o){if(a)return t<0?o.from():o.to();var s=vr(n,o.head,"div");null!=o.goalColumn&&(s.left=o.goalColumn),i.push(s.left);var c=Ys(n,s,t,e);return"page"==e&&o==r.sel.primary()&&oi(n,br(n,c,"div").top-s.top),c}),G),i.length)for(var o=0;o<r.sel.ranges.length;o++)r.sel.ranges[o].goalColumn=i[o]})),findWordAt:function(t){var e=Yt(this.doc,t.line).text,n=t.ch,r=t.ch;if(e){var i=this.getHelper(t,"wordChars");"before"!=t.sticky&&r!=e.length||!n?++r:--n;for(var a=e.charAt(n),o=nt(a,i)?function(t){return nt(t,i)}:/\s/.test(a)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!nt(t)};n>0&&o(e.charAt(n-1));)--n;for(;r<e.length&&o(e.charAt(r));)++r}return new aa(ae(t.line,n),ae(t.line,r))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?O(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),mt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==M()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Oi((function(t,e){ci(this,t,e)})),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-qn(this)-this.display.barHeight,width:t.scrollWidth-qn(this)-this.display.barWidth,clientHeight:Wn(this),clientWidth:Vn(this)}},scrollIntoView:Oi((function(t,e){null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:ae(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?li(this,t):hi(this,t.from,t.to,t.margin)})),setSize:Oi((function(t,e){var n=this,r=function(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t};null!=t&&(this.display.wrapper.style.width=r(t)),null!=e&&(this.display.wrapper.style.height=r(e)),this.options.lineWrapping&&hr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){Rr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,mt(this,"refresh",this)})),operation:function(t){return Ii(this,t)},startOperation:function(){return ki(this)},endOperation:function(){return Ci(this)},refresh:Oi((function(){var t=this.display.cachedTextHeight;Pr(this),this.curOp.forceUpdate=!0,fr(this),ci(this,this.doc.scrollLeft,this.doc.scrollTop),Gi(this.display),(null==t||Math.abs(t-Sr(this.display))>.5||this.options.lineWrapping)&&Nr(this),mt(this,"refresh",this)})),swapDoc:Oi((function(t){var e=this.doc;return e.cm=null,this.state.selectingText&&this.state.selectingText(),ba(this,t),fr(this),this.display.input.reset(),ci(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,Sn(this,"swapDoc",this,e),e})),phrase:function(t){var e=this.options.phrases;return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:t},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},wt(t),t.registerHelper=function(e,r,i){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][r]=i},t.registerGlobalHelper=function(e,r,i,a){t.registerHelper(e,r,a),n[e]._global.push({pred:i,val:a})}}function Ws(t,e,n,r,i){var a=e,o=n,s=Yt(t,e.line),c=i&&"rtl"==t.direction?-n:n;function l(){var n=e.line+c;return!(n<t.first||n>=t.first+t.size)&&(e=new ae(n,e.ch,e.sticky),s=Yt(t,n))}function u(a){var o;if("codepoint"==r){var u=s.text.charCodeAt(e.ch+(r>0?0:-1));o=isNaN(u)?null:new ae(e.line,Math.max(0,Math.min(s.text.length,e.ch+n*(u>=55296&&u<56320?2:1))),-n)}else o=i?Wo(t.cm,s,e,n):qo(s,e,n);if(null==o){if(a||!l())return!1;e=Vo(i,t.cm,s,e.line,c)}else e=o;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var h=null,f="group"==r,d=t.cm&&t.cm.getHelper(e,"wordChars"),A=!0;!(n<0)||u(!A);A=!1){var p=s.text.charAt(e.ch)||"\n",g=nt(p,d)?"w":f&&"\n"==p?"n":!f||/\s/.test(p)?null:"p";if(!f||A||g||(g="s"),h&&h!=g){n<0&&(n=1,u(),e.sticky="after");break}if(g&&(h=g),n>0&&!u(!A))break}var m=Xa(t,e,a,o,!0);return se(a,m)&&(m.hitSide=!0),m}function Ys(t,e,n,r){var i,a,o=t.doc,s=e.left;if("page"==r){var c=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(c-.5*Sr(t.display),3);i=(n>0?e.bottom:e.top)+n*l}else"line"==r&&(i=n>0?e.bottom+3:e.top-3);for(;(a=Tr(t,s,i)).outside;){if(n<0?i<=0:i>=o.height){a.hitSide=!0;break}i+=5*n}return a}var Js=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Q,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Zs(t,e){var n=er(t,e.line);if(!n||n.hidden)return null;var r=Yt(t.doc,e.line),i=Jn(n,r,e.line),a=ft(r,t.doc.direction),o="left";a&&(o=ut(a,e.ch)%2?"right":"left");var s=or(i.map,e.ch,o);return s.offset="right"==s.collapse?s.end:s.start,s}function tc(t){for(var e=t;e;e=e.parentNode)if(/CodeMirror-gutter-wrapper/.test(e.className))return!0;return!1}function ec(t,e){return e&&(t.bad=!0),t}function nc(t,e,n,r,i){var a="",o=!1,s=t.doc.lineSeparator(),c=!1;function l(t){return function(e){return e.id==t}}function u(){o&&(a+=s,c&&(a+=s),o=c=!1)}function h(t){t&&(u(),a+=t)}function f(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(n)return void h(n);var a,d=e.getAttribute("cm-marker");if(d){var A=t.findMarks(ae(r,0),ae(i+1,0),l(+d));return void(A.length&&(a=A[0].find(0))&&h(Jt(t.doc,a.from,a.to).join(s)))}if("false"==e.getAttribute("contenteditable"))return;var p=/^(pre|div|p|li|table|br)$/i.test(e.nodeName);if(!/^br$/i.test(e.nodeName)&&0==e.textContent.length)return;p&&u();for(var g=0;g<e.childNodes.length;g++)f(e.childNodes[g]);/^(pre|p)$/i.test(e.nodeName)&&(c=!0),p&&(o=!0)}else 3==e.nodeType&&h(e.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;f(e),e!=n;)e=e.nextSibling,c=!1;return a}function rc(t,e,n){var r;if(e==t.display.lineDiv){if(!(r=t.display.lineDiv.childNodes[n]))return ec(t.clipPos(ae(t.display.viewTo-1)),!0);e=null,n=0}else for(r=e;;r=r.parentNode){if(!r||r==t.display.lineDiv)return null;if(r.parentNode&&r.parentNode==t.display.lineDiv)break}for(var i=0;i<t.display.view.length;i++){var a=t.display.view[i];if(a.node==r)return ic(a,e,n)}}function ic(t,e,n){var r=t.text.firstChild,i=!1;if(!e||!I(r,e))return ec(ae(ee(t.line),0),!0);if(e==r&&(i=!0,e=r.childNodes[n],n=0,!e)){var a=t.rest?V(t.rest):t.line;return ec(ae(ee(a),a.text.length),i)}var o=3==e.nodeType?e:null,s=e;for(o||1!=e.childNodes.length||3!=e.firstChild.nodeType||(o=e.firstChild,n&&(n=o.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var c=t.measure,l=c.maps;function u(e,n,r){for(var i=-1;i<(l?l.length:0);i++)for(var a=i<0?c.map:l[i],o=0;o<a.length;o+=3){var s=a[o+2];if(s==e||s==n){var u=ee(i<0?t.line:t.rest[i]),h=a[o]+r;return(r<0||s!=e)&&(h=a[o+(r?1:0)]),ae(u,h)}}}var h=u(o,s,n);if(h)return ec(h,i);for(var f=s.nextSibling,d=o?o.nodeValue.length-n:0;f;f=f.nextSibling){if(h=u(f,f.firstChild,0))return ec(ae(h.line,h.ch-d),i);d+=f.textContent.length}for(var A=s.previousSibling,p=n;A;A=A.previousSibling){if(h=u(A,A.firstChild,-1))return ec(ae(h.line,h.ch+p),i);p+=A.textContent.length}}Js.prototype.init=function(t){var e=this,n=this,r=n.cm,i=n.div=t.lineDiv;function a(t){for(var e=t.target;e;e=e.parentNode){if(e==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(e.className))break}return!1}function o(t){if(a(t)&&!bt(r,t)){if(r.somethingSelected())js({lineWise:!1,text:r.getSelections()}),"cut"==t.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var e=zs(r);js({lineWise:!0,text:e.text}),"cut"==t.type&&r.operation((function(){r.setSelections(e.ranges,0,$),r.replaceSelection("",null,"cut")}))}if(t.clipboardData){t.clipboardData.clearData();var o=Hs.text.join("\n");if(t.clipboardData.setData("Text",o),t.clipboardData.getData("Text")==o)return void t.preventDefault()}var s=qs(),c=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),c.value=Hs.text.join("\n");var l=document.activeElement;D(c),setTimeout((function(){r.display.lineSpace.removeChild(s),l.focus(),l==i&&n.showPrimarySelection()}),50)}}Xs(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),At(i,"paste",(function(t){!a(t)||bt(r,t)||Ks(t,r)||s<=11&&setTimeout(Mi(r,(function(){return e.updateFromDOM()})),20)})),At(i,"compositionstart",(function(t){e.composing={data:t.data,done:!1}})),At(i,"compositionupdate",(function(t){e.composing||(e.composing={data:t.data,done:!1})})),At(i,"compositionend",(function(t){e.composing&&(t.data!=e.composing.data&&e.readFromDOMSoon(),e.composing.done=!0)})),At(i,"touchstart",(function(){return n.forceCompositionEnd()})),At(i,"input",(function(){e.composing||e.readFromDOMSoon()})),At(i,"copy",o),At(i,"cut",o)},Js.prototype.screenReaderLabelChanged=function(t){t?this.div.setAttribute("aria-label",t):this.div.removeAttribute("aria-label")},Js.prototype.prepareSelection=function(){var t=Kr(this.cm,!1);return t.focus=document.activeElement==this.div,t},Js.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},Js.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Js.prototype.showPrimarySelection=function(){var t=this.getSelection(),e=this.cm,r=e.doc.sel.primary(),i=r.from(),a=r.to();if(e.display.viewTo==e.display.viewFrom||i.line>=e.display.viewTo||a.line<e.display.viewFrom)t.removeAllRanges();else{var o=rc(e,t.anchorNode,t.anchorOffset),s=rc(e,t.focusNode,t.focusOffset);if(!o||o.bad||!s||s.bad||0!=oe(ue(o,s),i)||0!=oe(le(o,s),a)){var c=e.display.view,l=i.line>=e.display.viewFrom&&Zs(e,i)||{node:c[0].measure.map[2],offset:0},u=a.line<e.display.viewTo&&Zs(e,a);if(!u){var h=c[c.length-1].measure,f=h.maps?h.maps[h.maps.length-1]:h.map;u={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(l&&u){var d,A=t.rangeCount&&t.getRangeAt(0);try{d=E(l.node,l.offset,u.offset,u.node)}catch(t){}d&&(!n&&e.state.focused?(t.collapse(l.node,l.offset),d.collapsed||(t.removeAllRanges(),t.addRange(d))):(t.removeAllRanges(),t.addRange(d)),A&&null==t.anchorNode?t.addRange(A):n&&this.startGracePeriod()),this.rememberSelection()}else t.removeAllRanges()}}},Js.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation((function(){return t.cm.curOp.selectionChanged=!0}))}),20)},Js.prototype.showMultipleSelections=function(t){B(this.cm.display.cursorDiv,t.cursors),B(this.cm.display.selectionDiv,t.selection)},Js.prototype.rememberSelection=function(){var t=this.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},Js.prototype.selectionInEditor=function(){var t=this.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return I(this.div,e)},Js.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Js.prototype.blur=function(){this.div.blur()},Js.prototype.getField=function(){return this.div},Js.prototype.supportsTouch=function(){return!0},Js.prototype.receivedFocus=function(){var t=this;function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}this.selectionInEditor()?this.pollSelection():Ii(this.cm,(function(){return t.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,e)},Js.prototype.selectionChanged=function(){var t=this.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},Js.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var t=this.getSelection(),e=this.cm;if(g&&u&&this.cm.display.gutterSpecs.length&&tc(t.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=rc(e,t.anchorNode,t.anchorOffset),r=rc(e,t.focusNode,t.focusOffset);n&&r&&Ii(e,(function(){Ha(e.doc,sa(n,r),$),(n.bad||r.bad)&&(e.curOp.selectionChanged=!0)}))}}},Js.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t,e,n,r=this.cm,i=r.display,a=r.doc.sel.primary(),o=a.from(),s=a.to();if(0==o.ch&&o.line>r.firstLine()&&(o=ae(o.line-1,Yt(r.doc,o.line-1).length)),s.ch==Yt(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=ae(s.line+1,0)),o.line<i.viewFrom||s.line>i.viewTo-1)return!1;o.line==i.viewFrom||0==(t=Fr(r,o.line))?(e=ee(i.view[0].line),n=i.view[0].node):(e=ee(i.view[t].line),n=i.view[t-1].node.nextSibling);var c,l,u=Fr(r,s.line);if(u==i.view.length-1?(c=i.viewTo-1,l=i.lineDiv.lastChild):(c=ee(i.view[u+1].line)-1,l=i.view[u+1].node.previousSibling),!n)return!1;for(var h=r.doc.splitLines(nc(r,n,l,e,c)),f=Jt(r.doc,ae(e,0),ae(c,Yt(r.doc,c).text.length));h.length>1&&f.length>1;)if(V(h)==V(f))h.pop(),f.pop(),c--;else{if(h[0]!=f[0])break;h.shift(),f.shift(),e++}for(var d=0,A=0,p=h[0],g=f[0],m=Math.min(p.length,g.length);d<m&&p.charCodeAt(d)==g.charCodeAt(d);)++d;for(var b=V(h),v=V(f),y=Math.min(b.length-(1==h.length?d:0),v.length-(1==f.length?d:0));A<y&&b.charCodeAt(b.length-A-1)==v.charCodeAt(v.length-A-1);)++A;if(1==h.length&&1==f.length&&e==o.line)for(;d&&d>o.ch&&b.charCodeAt(b.length-A-1)==v.charCodeAt(v.length-A-1);)d--,A++;h[h.length-1]=b.slice(0,b.length-A).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var w=ae(e,d),T=ae(c,f.length?V(f).length-A:0);return h.length>1||h[0]||oe(w,T)?(ro(r.doc,h,w,T,"+input"),!0):void 0},Js.prototype.ensurePolled=function(){this.forceCompositionEnd()},Js.prototype.reset=function(){this.forceCompositionEnd()},Js.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Js.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()}),80))},Js.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||Ii(this.cm,(function(){return Pr(t.cm)}))},Js.prototype.setUneditable=function(t){t.contentEditable="false"},Js.prototype.onKeyPress=function(t){0==t.charCode||this.composing||(t.preventDefault(),this.cm.isReadOnly()||Mi(this.cm,$s)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Js.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Js.prototype.onContextMenu=function(){},Js.prototype.resetPosition=function(){},Js.prototype.needsContentAttribute=!0;var ac=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new Q,this.hasSelection=!1,this.composing=null};function oc(t,e){if((e=e?P(e):{}).value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var n=M();e.autofocus=n==t||null!=t.getAttribute("autofocus")&&n==document.body}function r(){t.value=s.getValue()}var i;if(t.form&&(At(t.form,"submit",r),!e.leaveSubmitMethodAlone)){var a=t.form;i=a.submit;try{var o=a.submit=function(){r(),a.submit=i,a.submit(),a.submit=o}}catch(t){}}e.finishInit=function(n){n.save=r,n.getTextArea=function(){return t},n.toTextArea=function(){n.toTextArea=isNaN,r(),t.parentNode.removeChild(n.getWrapperElement()),t.style.display="",t.form&&(gt(t.form,"submit",r),e.leaveSubmitMethodAlone||"function"!=typeof t.form.submit||(t.form.submit=i))}},t.style.display="none";var s=Ps((function(e){return t.parentNode.insertBefore(e,t.nextSibling)}),e);return s}function sc(t){t.off=gt,t.on=At,t.wheelEventPixels=na,t.Doc=ko,t.splitLines=Nt,t.countColumn=R,t.findColumn=z,t.isWordChar=et,t.Pass=j,t.signal=mt,t.Line=ln,t.changeEnd=ca,t.scrollbarModel=yi,t.Pos=ae,t.cmpPos=oe,t.modes=Qt,t.mimeModes=Ut,t.resolveMode=$t,t.getMode=Kt,t.modeExtensions=Gt,t.extendMode=zt,t.copyState=Xt,t.startState=Vt,t.innerMode=qt,t.commands=Yo,t.keyMap=Ro,t.keyName=Ko,t.isModifierKey=jo,t.lookupKey=Ho,t.normalizeKeyMap=Uo,t.StringStream=Wt,t.SharedTextMarker=mo,t.TextMarker=po,t.LineWidget=uo,t.e_preventDefault=Tt,t.e_stopPropagation=kt,t.e_stop=Et,t.addClass=O,t.contains=I,t.rmClass=x,t.keyNames=No}ac.prototype.init=function(t){var e=this,n=this,r=this.cm;this.createField(t);var i=this.textarea;function a(t){if(!bt(r,t)){if(r.somethingSelected())js({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var e=zs(r);js({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,$):(n.prevInput="",i.value=e.text.join("\n"),D(i))}"cut"==t.type&&(r.state.cutIncoming=+new Date)}}t.wrapper.insertBefore(this.wrapper,t.wrapper.firstChild),p&&(i.style.width="0px"),At(i,"input",(function(){o&&s>=9&&e.hasSelection&&(e.hasSelection=null),n.poll()})),At(i,"paste",(function(t){bt(r,t)||Ks(t,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),At(i,"cut",a),At(i,"copy",a),At(t.scroller,"paste",(function(e){if(!Kn(t,e)&&!bt(r,e)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var a=new Event("paste");a.clipboardData=e.clipboardData,i.dispatchEvent(a)}})),At(t.lineSpace,"selectstart",(function(e){Kn(t,e)||Tt(e)})),At(i,"compositionstart",(function(){var t=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}})),At(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},ac.prototype.createField=function(t){this.wrapper=qs(),this.textarea=this.wrapper.firstChild},ac.prototype.screenReaderLabelChanged=function(t){t?this.textarea.setAttribute("aria-label",t):this.textarea.removeAttribute("aria-label")},ac.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,r=Kr(t);if(t.options.moveInputWithCursor){var i=vr(t,n.sel.primary().head,"div"),a=e.wrapper.getBoundingClientRect(),o=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,i.top+o.top-a.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,i.left+o.left-a.left))}return r},ac.prototype.showSelection=function(t){var e=this.cm.display;B(e.cursorDiv,t.cursors),B(e.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},ac.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e=this.cm;if(e.somethingSelected()){this.prevInput="";var n=e.getSelection();this.textarea.value=n,e.state.focused&&D(this.textarea),o&&s>=9&&(this.hasSelection=n)}else t||(this.prevInput=this.textarea.value="",o&&s>=9&&(this.hasSelection=null))}},ac.prototype.getField=function(){return this.textarea},ac.prototype.supportsTouch=function(){return!1},ac.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!m||M()!=this.textarea))try{this.textarea.focus()}catch(t){}},ac.prototype.blur=function(){this.textarea.blur()},ac.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ac.prototype.receivedFocus=function(){this.slowPoll()},ac.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){t.poll(),t.cm.state.focused&&t.slowPoll()}))},ac.prototype.fastPoll=function(){var t=!1,e=this;function n(){e.poll()||t?(e.pollingFast=!1,e.slowPoll()):(t=!0,e.polling.set(60,n))}e.pollingFast=!0,e.polling.set(20,n)},ac.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||Dt(n)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var i=n.value;if(i==r&&!e.somethingSelected())return!1;if(o&&s>=9&&this.hasSelection===i||b&&/[\uf700-\uf7ff]/.test(i))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var a=i.charCodeAt(0);if(8203!=a||r||(r=""),8666==a)return this.reset(),this.cm.execCommand("undo")}for(var c=0,l=Math.min(r.length,i.length);c<l&&r.charCodeAt(c)==i.charCodeAt(c);)++c;return Ii(e,(function(){$s(e,i.slice(c),r.length-c,null,t.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=i,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},ac.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ac.prototype.onKeyPress=function(){o&&s>=9&&(this.hasSelection=null),this.fastPoll()},ac.prototype.onContextMenu=function(t){var e=this,n=e.cm,r=n.display,i=e.textarea;e.contextMenuPending&&e.contextMenuPending();var a=Dr(n,t),l=r.scroller.scrollTop;if(a&&!h){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(a)&&Mi(n,Ha)(n.doc,sa(a),$);var u,f=i.style.cssText,d=e.wrapper.style.cssText,A=e.wrapper.offsetParent.getBoundingClientRect();if(e.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-A.top-5)+"px; left: "+(t.clientX-A.left-5)+"px;\n z-index: 1000; background: "+(o?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",c&&(u=window.scrollY),r.input.focus(),c&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=e.prevInput=" "),e.contextMenuPending=m,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),o&&s>=9&&g(),k){Et(t);var p=function(){gt(window,"mouseup",p),setTimeout(m,20)};At(window,"mouseup",p)}else setTimeout(m,50)}function g(){if(null!=i.selectionStart){var t=n.somethingSelected(),a=""+(t?i.value:"");i.value="⇚",i.value=a,e.prevInput=t?"":"",i.selectionStart=1,i.selectionEnd=a.length,r.selForContextMenu=n.doc.sel}}function m(){if(e.contextMenuPending==m&&(e.contextMenuPending=!1,e.wrapper.style.cssText=d,i.style.cssText=f,o&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),null!=i.selectionStart)){(!o||o&&s<9)&&g();var t=0,a=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==e.prevInput?Mi(n,Va)(n):t++<10?r.detectingSelectAll=setTimeout(a,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(a,200)}}},ac.prototype.readOnlyChanged=function(t){t||this.reset(),this.textarea.disabled="nocursor"==t,this.textarea.readOnly=!!t},ac.prototype.setUneditable=function(){},ac.prototype.needsContentAttribute=!1,Ns(Ps),Vs(Ps);var cc="iter insert remove copy getEditor constructor".split(" ");for(var lc in ko.prototype)ko.prototype.hasOwnProperty(lc)&&U(cc,lc)<0&&(Ps.prototype[lc]=function(t){return function(){return t.apply(this.doc,arguments)}}(ko.prototype[lc]));return wt(ko),Ps.inputStyles={textarea:ac,contenteditable:Js},Ps.defineMode=function(t){Ps.defaults.mode||"null"==t||(Ps.defaults.mode=t),Ht.apply(this,arguments)},Ps.defineMIME=jt,Ps.defineMode("null",(function(){return{token:function(t){return t.skipToEnd()}}})),Ps.defineMIME("text/plain","null"),Ps.defineExtension=function(t,e){Ps.prototype[t]=e},Ps.defineDocExtension=function(t,e){ko.prototype[t]=e},Ps.fromTextArea=oc,sc(Ps),Ps.version="5.58.2",Ps}()}));r((function(t,e){var n,r,i;r={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},i={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},(n=Gh).defineMode("xml",(function(t,e){var a,o,s=t.indentUnit,c={},l=e.htmlMode?r:i;for(var u in l)c[u]=l[u];for(var u in e)c[u]=e[u];function h(t,e){function n(n){return e.tokenize=n,n(t,e)}var r=t.next();return"<"==r?t.eat("!")?t.eat("[")?t.match("CDATA[")?n(A("atom","]]>")):null:t.match("--")?n(A("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),n(p(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=A("meta","?>"),"meta"):(a=t.eat("/")?"closeTag":"openTag",e.tokenize=f,"tag bracket"):"&"==r?(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error":(t.eatWhile(/[^&<]/),null)}function f(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=h,a=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return a="equals",null;if("<"==n){e.tokenize=h,e.state=v,e.tagName=e.tagStart=null;var r=e.tokenize(t,e);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=d(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function d(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=f;break}return"string"};return e.isInAttribute=!0,e}function A(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=h;break}n.next()}return t}}function p(t){return function(e,n){for(var r;null!=(r=e.next());){if("<"==r)return n.tokenize=p(t+1),n.tokenize(e,n);if(">"==r){if(1==t){n.tokenize=h;break}return n.tokenize=p(t-1),n.tokenize(e,n)}}return"meta"}}function g(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(c.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function m(t){t.context&&(t.context=t.context.prev)}function b(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!c.contextGrabbers.hasOwnProperty(n)||!c.contextGrabbers[n].hasOwnProperty(e))return;m(t)}}function v(t,e,n){return"openTag"==t?(n.tagStart=e.column(),y):"closeTag"==t?w:v}function y(t,e,n){return"word"==t?(n.tagName=e.current(),o="tag",C):c.allowMissingTagName&&"endTag"==t?(o="tag bracket",C(t,e,n)):(o="error",y)}function w(t,e,n){if("word"==t){var r=e.current();return n.context&&n.context.tagName!=r&&c.implicitlyClosed.hasOwnProperty(n.context.tagName)&&m(n),n.context&&n.context.tagName==r||!1===c.matchClosing?(o="tag",T):(o="tag error",k)}return c.allowMissingTagName&&"endTag"==t?(o="tag bracket",T(t,e,n)):(o="error",k)}function T(t,e,n){return"endTag"!=t?(o="error",T):(m(n),v)}function k(t,e,n){return o="error",T(t,e,n)}function C(t,e,n){if("word"==t)return o="attribute",E;if("endTag"==t||"selfcloseTag"==t){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||c.autoSelfClosers.hasOwnProperty(r)?b(n,r):(b(n,r),n.context=new g(n,r,i==n.indented)),v}return o="error",C}function E(t,e,n){return"equals"==t?x:(c.allowMissing||(o="error"),C(t,e,n))}function x(t,e,n){return"string"==t?_:"word"==t&&c.allowUnquoted?(o="string",C):(o="error",C(t,e,n))}function _(t,e,n){return"string"==t?_:C(t,e,n)}return h.isInText=!0,{startState:function(t){var e={tokenize:h,state:v,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;a=null;var n=e.tokenize(t,e);return(n||a)&&"comment"!=n&&(o=null,e.state=e.state(a||n,t,e),o&&(n="error"==o?n+" error":o)),n},indent:function(t,e,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return n.Pass;if(t.tokenize!=f&&t.tokenize!=h)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==c.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(e))return 0;var a=e&&/^<(\/)?([\w_:\.-]*)/.exec(e);if(a&&a[1])for(;i;){if(i.tagName==a[2]){i=i.prev;break}if(!c.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(a)for(;i;){var o=c.contextGrabbers[i.tagName];if(!o||!o.hasOwnProperty(a[2]))break;i=i.prev}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(t){t.state==x&&(t.state=C)},xmlCurrentTag:function(t){return t.tagName?{name:t.tagName,close:"closeTag"==t.type}:null},xmlCurrentContext:function(t){for(var e=[],n=t.context;n;n=n.prev)n.tagName&&e.push(n.tagName);return e.reverse()}}})),n.defineMIME("text/xml","xml"),n.defineMIME("application/xml","xml"),n.mimeModes.hasOwnProperty("text/html")||n.defineMIME("text/html",{name:"xml",htmlMode:!0})})),r((function(t,e){!function(t){t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var e=0;e<t.modeInfo.length;e++){var n=t.modeInfo[e];n.mimes&&(n.mime=n.mimes[0])}t.findModeByMIME=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.mime==e)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==e)return r}return/\+xml$/.test(e)?t.findModeByMIME("application/xml"):/\+json$/.test(e)?t.findModeByMIME("application/json"):void 0},t.findModeByExtension=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==e)return r}},t.findModeByFileName=function(e){for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.file&&r.file.test(e))return r}var i=e.lastIndexOf("."),a=i>-1&&e.substring(i+1,e.length);if(a)return t.findModeByExtension(a)},t.findModeByName=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.name.toLowerCase()==e)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==e)return r}}}(Gh)})),r((function(t,e){var n;(n=Gh).defineMode("markdown",(function(t,e){var r=n.getMode(t,"text/html"),i="null"==r.name;function a(e){if(n.findModeByName){var r=n.findModeByName(e);r&&(e=r.mime||r.mimes[0])}var i=n.getMode(t,e);return"null"==i.name?null:i}void 0===e.highlightFormatting&&(e.highlightFormatting=!1),void 0===e.maxBlockquoteDepth&&(e.maxBlockquoteDepth=0),void 0===e.taskLists&&(e.taskLists=!1),void 0===e.strikethrough&&(e.strikethrough=!1),void 0===e.emoji&&(e.emoji=!1),void 0===e.fencedCodeBlockHighlighting&&(e.fencedCodeBlockHighlighting=!0),void 0===e.fencedCodeBlockDefaultMode&&(e.fencedCodeBlockDefaultMode="text/plain"),void 0===e.xml&&(e.xml=!0),void 0===e.tokenTypeOverrides&&(e.tokenTypeOverrides={});var o={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in o)o.hasOwnProperty(s)&&e.tokenTypeOverrides[s]&&(o[s]=e.tokenTypeOverrides[s]);var c=/^([*\-_])(?:\s*\1){2,}\s*$/,l=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,h=e.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,f=/^ {0,3}(?:\={1,}|-{2,})\s*$/,d=/^[^#!\[\]*_\\<>` "'(~:]+/,A=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,p=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,m=" ";function b(t,e,n){return e.f=e.inline=n,n(t,e)}function v(t,e,n){return e.f=e.block=n,n(t,e)}function y(t){return!t||!/\S/.test(t.string)}function w(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==k){var e=i;if(!e){var a=n.innerMode(r,t.htmlState);e="xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText}e&&(t.f=_,t.block=T,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function T(t,r){var i=t.column()===r.indentation,s=y(r.prevLine.stream),d=r.indentedCode,g=r.prevLine.hr,m=!1!==r.list,v=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var w=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,m)){for(r.list=null;w<r.listStack[r.listStack.length-1];)r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=w-r.listStack[r.listStack.length-1])}var T=!(s||g||r.prevLine.header||m&&d||r.prevLine.fencedCodeEnd),k=(!1===r.list||g||s)&&r.indentation<=v&&t.match(c),x=null;if(r.indentationDiff>=4&&(d||r.prevLine.fencedCodeEnd||r.prevLine.header||s))return t.skipToEnd(),r.indentedCode=!0,o.code;if(t.eatSpace())return null;if(i&&r.indentation<=v&&(x=t.match(h))&&x[1].length<=6)return r.quote=0,r.header=x[1].length,r.thisLine.header=!0,e.highlightFormatting&&(r.formatting="header"),r.f=r.inline,E(r);if(r.indentation<=v&&t.eat(">"))return r.quote=i?1:r.quote+1,e.highlightFormatting&&(r.formatting="quote"),t.eatSpace(),E(r);if(!k&&!r.setext&&i&&r.indentation<=v&&(x=t.match(l))){var _=x[1]?"ol":"ul";return r.indentation=w+t.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,e.taskLists&&t.match(u,!1)&&(r.taskList=!0),r.f=r.inline,e.highlightFormatting&&(r.formatting=["list","list-"+_]),E(r)}return i&&r.indentation<=v&&(x=t.match(A,!0))?(r.quote=0,r.fencedEndRE=new RegExp(x[1]+"+ *$"),r.localMode=e.fencedCodeBlockHighlighting&&a(x[2]||e.fencedCodeBlockDefaultMode),r.localMode&&(r.localState=n.startState(r.localMode)),r.f=r.block=C,e.highlightFormatting&&(r.formatting="code-block"),r.code=-1,E(r)):r.setext||!(T&&m||r.quote||!1!==r.list||r.code||k||p.test(t.string))&&(x=t.lookAhead(1))&&(x=x.match(f))?(r.setext?(r.header=r.setext,r.setext=0,t.skipToEnd(),e.highlightFormatting&&(r.formatting="header")):(r.header="="==x[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,E(r)):k?(t.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,o.hr):"["===t.peek()?b(t,r,M):b(t,r,r.inline)}function k(t,e){var a=r.token(t,e.htmlState);if(!i){var o=n.innerMode(r,e.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||e.md_inside&&t.current().indexOf(">")>-1)&&(e.f=_,e.block=T,e.htmlState=null)}return a}function C(t,n){var r,i=n.listStack[n.listStack.length-1]||0,a=n.indentation<i,s=i+3;return n.fencedEndRE&&n.indentation<=s&&(a||t.match(n.fencedEndRE))?(e.highlightFormatting&&(n.formatting="code-block"),a||(r=E(n)),n.localMode=n.localState=null,n.block=T,n.f=_,n.fencedEndRE=null,n.code=0,n.thisLine.fencedCodeEnd=!0,a?v(t,n,n.block):r):n.localMode?n.localMode.token(t,n.localState):(t.skipToEnd(),o.code)}function E(t){var n=[];if(t.formatting){n.push(o.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var r=0;r<t.formatting.length;r++)n.push(o.formatting+"-"+t.formatting[r]),"header"===t.formatting[r]&&n.push(o.formatting+"-"+t.formatting[r]+"-"+t.header),"quote"===t.formatting[r]&&(!e.maxBlockquoteDepth||e.maxBlockquoteDepth>=t.quote?n.push(o.formatting+"-"+t.formatting[r]+"-"+t.quote):n.push("error"))}if(t.taskOpen)return n.push("meta"),n.length?n.join(" "):null;if(t.taskClosed)return n.push("property"),n.length?n.join(" "):null;if(t.linkHref?n.push(o.linkHref,"url"):(t.strong&&n.push(o.strong),t.em&&n.push(o.em),t.strikethrough&&n.push(o.strikethrough),t.emoji&&n.push(o.emoji),t.linkText&&n.push(o.linkText),t.code&&n.push(o.code),t.image&&n.push(o.image),t.imageAltText&&n.push(o.imageAltText,"link"),t.imageMarker&&n.push(o.imageMarker)),t.header&&n.push(o.header,o.header+"-"+t.header),t.quote&&(n.push(o.quote),!e.maxBlockquoteDepth||e.maxBlockquoteDepth>=t.quote?n.push(o.quote+"-"+t.quote):n.push(o.quote+"-"+e.maxBlockquoteDepth)),!1!==t.list){var i=(t.listStack.length-1)%3;i?1===i?n.push(o.list2):n.push(o.list3):n.push(o.list1)}return t.trailingSpaceNewLine?n.push("trailing-space-new-line"):t.trailingSpace&&n.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),n.length?n.join(" "):null}function x(t,e){if(t.match(d,!0))return E(e)}function _(t,i){var a=i.text(t,i);if(void 0!==a)return a;if(i.list)return i.list=null,E(i);if(i.taskList)return" "===t.match(u,!0)[1]?i.taskOpen=!0:i.taskClosed=!0,e.highlightFormatting&&(i.formatting="task"),i.taskList=!1,E(i);if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return e.highlightFormatting&&(i.formatting="header"),E(i);var s=t.next();if(i.linkTitle){i.linkTitle=!1;var c=s;"("===s&&(c=")");var l="^\\s*(?:[^"+(c=(c+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+c;if(t.match(new RegExp(l),!0))return o.linkHref}if("`"===s){var h=i.formatting;e.highlightFormatting&&(i.formatting="code"),t.eatWhile("`");var f=t.current().length;if(0!=i.code||i.quote&&1!=f){if(f==i.code){var d=E(i);return i.code=0,d}return i.formatting=h,E(i)}return i.code=f,E(i)}if(i.code)return E(i);if("\\"===s&&(t.next(),e.highlightFormatting)){var A=E(i),p=o.formatting+"-escape";return A?A+" "+p:p}if("!"===s&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,e.highlightFormatting&&(i.formatting="image"),E(i);if("["===s&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,e.highlightFormatting&&(i.formatting="image"),E(i);if("]"===s&&i.imageAltText){e.highlightFormatting&&(i.formatting="image");var A=E(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=S,A}if("["===s&&!i.image)return i.linkText&&t.match(/^.*?\]/)||(i.linkText=!0,e.highlightFormatting&&(i.formatting="link")),E(i);if("]"===s&&i.linkText){e.highlightFormatting&&(i.formatting="link");var A=E(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?S:_,A}if("<"===s&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return i.f=i.inline=B,e.highlightFormatting&&(i.formatting="link"),(A=E(i))?A+=" ":A="",A+o.linkInline;if("<"===s&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return i.f=i.inline=B,e.highlightFormatting&&(i.formatting="link"),(A=E(i))?A+=" ":A="",A+o.linkEmail;if(e.xml&&"<"===s&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var m=t.string.indexOf(">",t.pos);if(-1!=m){var b=t.string.substring(t.start,m);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(b)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=n.startState(r),v(t,i,k)}if(e.xml&&"<"===s&&t.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===s||"_"===s){for(var y=1,w=1==t.pos?" ":t.string.charAt(t.pos-2);y<3&&t.eat(s);)y++;var T=t.peek()||" ",C=!/\s/.test(T)&&(!g.test(T)||/\s/.test(w)||g.test(w)),x=!/\s/.test(w)&&(!g.test(w)||/\s/.test(T)||g.test(T)),L=null,I=null;if(y%2&&(i.em||!C||"*"!==s&&x&&!g.test(w)?i.em!=s||!x||"*"!==s&&C&&!g.test(T)||(L=!1):L=!0),y>1&&(i.strong||!C||"*"!==s&&x&&!g.test(w)?i.strong!=s||!x||"*"!==s&&C&&!g.test(T)||(I=!1):I=!0),null!=I||null!=L)return e.highlightFormatting&&(i.formatting=null==L?"strong":null==I?"em":"strong em"),!0===L&&(i.em=s),!0===I&&(i.strong=s),d=E(i),!1===L&&(i.em=!1),!1===I&&(i.strong=!1),d}else if(" "===s&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return E(i);t.backUp(1)}if(e.strikethrough)if("~"===s&&t.eatWhile(s)){if(i.strikethrough)return e.highlightFormatting&&(i.formatting="strikethrough"),d=E(i),i.strikethrough=!1,d;if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,e.highlightFormatting&&(i.formatting="strikethrough"),E(i)}else if(" "===s&&t.match(/^~~/,!0)){if(" "===t.peek())return E(i);t.backUp(2)}if(e.emoji&&":"===s&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,e.highlightFormatting&&(i.formatting="emoji");var M=E(i);return i.emoji=!1,M}return" "===s&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),E(i)}function B(t,n){if(">"===t.next()){n.f=n.inline=_,e.highlightFormatting&&(n.formatting="link");var r=E(n);return r?r+=" ":r="",r+o.linkInline}return t.match(/^[^>]+/,!0),o.linkInline}function S(t,n){if(t.eatSpace())return null;var r=t.next();return"("===r||"["===r?(n.f=n.inline=I("("===r?")":"]"),e.highlightFormatting&&(n.formatting="link-string"),n.linkHref=!0,E(n)):"error"}var L={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function I(t){return function(n,r){if(n.next()===t){r.f=r.inline=_,e.highlightFormatting&&(r.formatting="link-string");var i=E(r);return r.linkHref=!1,i}return n.match(L[t]),r.linkHref=!0,E(r)}}function M(t,n){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(n.f=O,t.next(),e.highlightFormatting&&(n.formatting="link"),n.linkText=!0,E(n)):b(t,n,_)}function O(t,n){if(t.match(/^\]:/,!0)){n.f=n.inline=N,e.highlightFormatting&&(n.formatting="link");var r=E(n);return n.linkText=!1,r}return t.match(/^([^\]\\]|\\.)+/,!0),o.linkText}function N(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=_,o.linkHref+" url")}var D={startState:function(){return{f:T,prevLine:{stream:null},thisLine:{stream:null},block:T,htmlState:null,indentation:0,inline:_,text:x,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&n.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?n.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine.stream){if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0))return w(e),null;if(e.prevLine=e.thisLine,e.thisLine={stream:t},e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,!e.localState&&(e.f=e.block,e.f!=k)){var n=t.match(/^\s*/,!0)[0].replace(/\t/g,m).length;if(e.indentation=n,e.indentationDiff=null,n>0)return null}}return e.f(t,e)},innerMode:function(t){return t.block==k?{state:t.htmlState,mode:r}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:D}},indent:function(t,e,i){return t.block==k&&r.indent?r.indent(t.htmlState,e,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,e,i):n.Pass},blankLine:w,getType:E,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return D}),"xml"),n.defineMIME("text/markdown","markdown"),n.defineMIME("text/x-markdown","markdown")})),r((function(t,e){var n;(n=Gh).overlayMode=function(t,e,r){return{startState:function(){return{base:n.startState(t),overlay:n.startState(e),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:n.copyState(t,r.base),overlay:n.copyState(e,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(n,i){return(n!=i.streamSeen||Math.min(i.basePos,i.overlayPos)<n.start)&&(i.streamSeen=n,i.basePos=i.overlayPos=n.start),n.start==i.basePos&&(i.baseCur=t.token(n,i.base),i.basePos=n.pos),n.start==i.overlayPos&&(n.pos=n.start,i.overlayCur=e.token(n,i.overlay),i.overlayPos=n.pos),n.pos=Math.min(i.basePos,i.overlayPos),null==i.overlayCur?i.baseCur:null!=i.baseCur&&i.overlay.combineTokens||r&&null==i.overlay.combineTokens?i.baseCur+" "+i.overlayCur:i.overlayCur},indent:t.indent&&function(e,n,r){return t.indent(e.base,n,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(n){var i,a;return t.blankLine&&(i=t.blankLine(n.base)),e.blankLine&&(a=e.blankLine(n.overlay)),null==a?i:r&&null!=i?i+" "+a:a}}}}));r((function(t,e){var n,r;r=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i,(n=Gh).defineMode("gfm",(function(t,e){var i=0;function a(t){return t.code=!1,null}var o={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(t){return{code:t.code,codeBlock:t.codeBlock,ateSpace:t.ateSpace}},token:function(t,n){if(n.combineTokens=null,n.codeBlock)return t.match(/^```+/)?(n.codeBlock=!1,null):(t.skipToEnd(),null);if(t.sol()&&(n.code=!1),t.sol()&&t.match(/^```+/))return t.skipToEnd(),n.codeBlock=!0,null;if("`"===t.peek()){t.next();var a=t.pos;t.eatWhile("`");var o=1+t.pos-a;return n.code?o===i&&(n.code=!1):(i=o,n.code=!0),null}if(n.code)return t.next(),null;if(t.eatSpace())return n.ateSpace=!0,null;if((t.sol()||n.ateSpace)&&(n.ateSpace=!1,!1!==e.gitHubSpice)){if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return t.match(r)&&"]("!=t.string.slice(t.start-2,t.start)&&(0==t.start||/\W/.test(t.string.charAt(t.start-1)))?(n.combineTokens=!0,"link"):(t.next(),null)},blankLine:a},s={taskLists:!0,strikethrough:!0,emoji:!0};for(var c in e)s[c]=e[c];return s.name="markdown",n.overlayMode(n.getMode(t,s),o)}),"markdown"),n.defineMIME("text/x-gfm","gfm")})),r((function(t,e){!function(t){var e=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,n=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,r=/[*+-]\s/;function i(t,n){var r=n.line,i=0,a=0,o=e.exec(t.getLine(r)),s=o[1];do{var c=r+(i+=1),l=t.getLine(c),u=e.exec(l);if(u){var h=u[1],f=parseInt(o[3],10)+i-a,d=parseInt(u[3],10),A=d;if(s!==h||isNaN(d)){if(s.length>h.length)return;if(s.length<h.length&&1===i)return;a+=1}else f===d&&(A=d+1),f>d&&(A=f+1),t.replaceRange(l.replace(e,h+A+u[4]+u[5]),{line:c,ch:0},{line:c,ch:l.length})}}while(u)}t.commands.newlineAndIndentContinueMarkdownList=function(a){if(a.getOption("disableInput"))return t.Pass;for(var o=a.listSelections(),s=[],c=0;c<o.length;c++){var l=o[c].head,u=a.getStateAfter(l.line),h=t.innerMode(a.getMode(),u);if("markdown"!==h.mode.name)return void a.execCommand("newlineAndIndent");var f=!1!==(u=h.state).list,d=0!==u.quote,A=a.getLine(l.line),p=e.exec(A),g=/^\s*$/.test(A.slice(0,l.ch));if(!o[c].empty()||!f&&!d||!p||g)return void a.execCommand("newlineAndIndent");if(n.test(A)){var m=d&&/>\s*$/.test(A),b=!/>\s*$/.test(A);(m||b)&&a.replaceRange("",{line:l.line,ch:0},{line:l.line,ch:l.ch+1}),s[c]="\n"}else{var v=p[1],y=p[5],w=!(r.test(p[2])||p[2].indexOf(">")>=0),T=w?parseInt(p[3],10)+1+p[4]:p[2].replace("x"," ");s[c]="\n"+v+T+y,w&&i(a,l)}}a.replaceSelections(s)}}(Gh)}));r((function(t,e){!function(t){var e=t.Pos;function n(t,e){return t.line-e.line||t.ch-e.ch}var r="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=new RegExp("<(/?)(["+r+"]["+r+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function a(t,e,n,r){this.line=e,this.ch=n,this.cm=t,this.text=t.getLine(e),this.min=r?Math.max(r.from,t.firstLine()):t.firstLine(),this.max=r?Math.min(r.to-1,t.lastLine()):t.lastLine()}function o(t,n){var r=t.cm.getTokenTypeAt(e(t.line,n));return r&&/\btag\b/.test(r)}function s(t){if(!(t.line>=t.max))return t.ch=0,t.text=t.cm.getLine(++t.line),!0}function c(t){if(!(t.line<=t.min))return t.text=t.cm.getLine(--t.line),t.ch=t.text.length,!0}function l(t){for(;;){var e=t.text.indexOf(">",t.ch);if(-1==e){if(s(t))continue;return}if(o(t,e+1)){var n=t.text.lastIndexOf("/",e),r=n>-1&&!/\S/.test(t.text.slice(n+1,e));return t.ch=e+1,r?"selfClose":"regular"}t.ch=e+1}}function u(t){for(;;){var e=t.ch?t.text.lastIndexOf("<",t.ch-1):-1;if(-1==e){if(c(t))continue;return}if(o(t,e+1)){i.lastIndex=e,t.ch=e;var n=i.exec(t.text);if(n&&n.index==e)return n}else t.ch=e}}function h(t){for(;;){i.lastIndex=t.ch;var e=i.exec(t.text);if(!e){if(s(t))continue;return}if(o(t,e.index+1))return t.ch=e.index+e[0].length,e;t.ch=e.index+1}}function f(t){for(;;){var e=t.ch?t.text.lastIndexOf(">",t.ch-1):-1;if(-1==e){if(c(t))continue;return}if(o(t,e+1)){var n=t.text.lastIndexOf("/",e),r=n>-1&&!/\S/.test(t.text.slice(n+1,e));return t.ch=e+1,r?"selfClose":"regular"}t.ch=e}}function d(t,n){for(var r=[];;){var i,a=h(t),o=t.line,s=t.ch-(a?a[0].length:0);if(!a||!(i=l(t)))return;if("selfClose"!=i)if(a[1]){for(var c=r.length-1;c>=0;--c)if(r[c]==a[2]){r.length=c;break}if(c<0&&(!n||n==a[2]))return{tag:a[2],from:e(o,s),to:e(t.line,t.ch)}}else r.push(a[2])}}function A(t,n){for(var r=[];;){var i=f(t);if(!i)return;if("selfClose"!=i){var a=t.line,o=t.ch,s=u(t);if(!s)return;if(s[1])r.push(s[2]);else{for(var c=r.length-1;c>=0;--c)if(r[c]==s[2]){r.length=c;break}if(c<0&&(!n||n==s[2]))return{tag:s[2],from:e(t.line,t.ch),to:e(a,o)}}}else u(t)}}t.registerHelper("fold","xml",(function(t,r){for(var i=new a(t,r.line,0);;){var o=h(i);if(!o||i.line!=r.line)return;var s=l(i);if(!s)return;if(!o[1]&&"selfClose"!=s){var c=e(i.line,i.ch),u=d(i,o[2]);return u&&n(u.from,c)>0?{from:c,to:u.from}:null}}})),t.findMatchingTag=function(t,r,i){var o=new a(t,r.line,r.ch,i);if(-1!=o.text.indexOf(">")||-1!=o.text.indexOf("<")){var s=l(o),c=s&&e(o.line,o.ch),h=s&&u(o);if(s&&h&&!(n(o,r)>0)){var f={from:e(o.line,o.ch),to:c,tag:h[2]};return"selfClose"==s?{open:f,close:null,at:"open"}:h[1]?{open:A(o,h[2]),close:f,at:"close"}:{open:f,close:d(o=new a(t,c.line,c.ch,i),h[2]),at:"open"}}}},t.findEnclosingTag=function(t,e,n,r){for(var i=new a(t,e.line,e.ch,n);;){var o=A(i,r);if(!o)break;var s=d(new a(t,e.line,e.ch,n),o.tag);if(s)return{open:o,close:s}}},t.scanForClosingTag=function(t,e,n,r){return d(new a(t,e.line,e.ch,r?{from:0,to:r}:null),n)}}(Gh)}));r((function(t,e){!function(t){t.defineOption("autoCloseTags",!1,(function(e,n,i){if(i!=t.Init&&i&&e.removeKeyMap("autoCloseTags"),n){var o={name:"autoCloseTags"};"object"==typeof n&&!1===n.whenClosing||(o["'/'"]=function(t){return a(t)}),"object"==typeof n&&!1===n.whenOpening||(o["'>'"]=function(t){return r(t)}),e.addKeyMap(o)}}));var e=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],n=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function r(r){if(r.getOption("disableInput"))return t.Pass;for(var i=r.listSelections(),a=[],c=r.getOption("autoCloseTags"),l=0;l<i.length;l++){if(!i[l].empty())return t.Pass;var u=i[l].head,h=r.getTokenAt(u),f=t.innerMode(r.getMode(),h.state),d=f.state,A=f.mode.xmlCurrentTag&&f.mode.xmlCurrentTag(d),p=A&&A.name;if(!p)return t.Pass;var g="html"==f.mode.configuration,m="object"==typeof c&&c.dontCloseTags||g&&e,b="object"==typeof c&&c.indentTags||g&&n;h.end>u.ch&&(p=p.slice(0,p.length-h.end+u.ch));var v=p.toLowerCase();if(!p||"string"==h.type&&(h.end!=u.ch||!/[\"\']/.test(h.string.charAt(h.string.length-1))||1==h.string.length)||"tag"==h.type&&A.close||h.string.indexOf("/")==u.ch-h.start-1||m&&o(m,v)>-1||s(r,f.mode.xmlCurrentContext&&f.mode.xmlCurrentContext(d)||[],p,u,!0))return t.Pass;var y="object"==typeof c&&c.emptyTags;if(y&&o(y,p)>-1)a[l]={text:"/>",newPos:t.Pos(u.line,u.ch+2)};else{var w=b&&o(b,v)>-1;a[l]={indent:w,text:">"+(w?"\n\n":"")+"</"+p+">",newPos:w?t.Pos(u.line+1,0):t.Pos(u.line,u.ch+1)}}}var T="object"==typeof c&&c.dontIndentOnAutoClose;for(l=i.length-1;l>=0;l--){var k=a[l];r.replaceRange(k.text,i[l].head,i[l].anchor,"+insert");var C=r.listSelections().slice(0);C[l]={head:k.newPos,anchor:k.newPos},r.setSelections(C),!T&&k.indent&&(r.indentLine(k.newPos.line,null,!0),r.indentLine(k.newPos.line+1,null,!0))}}function i(e,n){for(var r=e.listSelections(),i=[],a=n?"/":"</",o=e.getOption("autoCloseTags"),c="object"==typeof o&&o.dontIndentOnSlash,l=0;l<r.length;l++){if(!r[l].empty())return t.Pass;var u=r[l].head,h=e.getTokenAt(u),f=t.innerMode(e.getMode(),h.state),d=f.state;if(n&&("string"==h.type||"<"!=h.string.charAt(0)||h.start!=u.ch-1))return t.Pass;var A,p="xml"!=f.mode.name&&"htmlmixed"==e.getMode().name;if(p&&"javascript"==f.mode.name)A=a+"script";else if(p&&"css"==f.mode.name)A=a+"style";else{var g=f.mode.xmlCurrentContext&&f.mode.xmlCurrentContext(d);if(!g||g.length&&s(e,g,g[g.length-1],u))return t.Pass;A=a+g[g.length-1]}">"!=e.getLine(u.line).charAt(h.end)&&(A+=">"),i[l]=A}if(e.replaceSelections(i),r=e.listSelections(),!c)for(l=0;l<r.length;l++)(l==r.length-1||r[l].head.line<r[l+1].head.line)&&e.indentLine(r[l].head.line)}function a(e){return e.getOption("disableInput")?t.Pass:i(e,!0)}function o(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;++n)if(t[n]==e)return n;return-1}function s(e,n,r,i,a){if(!t.scanForClosingTag)return!1;var o=Math.min(e.lastLine()+1,i.line+500),s=t.scanForClosingTag(e,i,null,o);if(!s||s.tag!=r)return!1;for(var c=a?1:0,l=n.length-1;l>=0&&n[l]==r;l--)++c;for(i=s.to,l=1;l<c;l++){var u=t.scanForClosingTag(e,i,null,o);if(!u||u.tag!=r)return!1;i=u.to}return!0}t.commands.closeTag=function(t){return i(t)}}(Gh)})),r((function(t,e){!function(t){function e(t){t.state.tagHit&&t.state.tagHit.clear(),t.state.tagOther&&t.state.tagOther.clear(),t.state.tagHit=t.state.tagOther=null}function n(n){n.state.failedTagMatch=!1,n.operation((function(){if(e(n),!n.somethingSelected()){var r=n.getCursor(),i=n.getViewport();i.from=Math.min(i.from,r.line),i.to=Math.max(r.line+1,i.to);var a=t.findMatchingTag(n,r,i);if(a){if(n.state.matchBothTags){var o="open"==a.at?a.open:a.close;o&&(n.state.tagHit=n.markText(o.from,o.to,{className:"CodeMirror-matchingtag"}))}var s="close"==a.at?a.open:a.close;s?n.state.tagOther=n.markText(s.from,s.to,{className:"CodeMirror-matchingtag"}):n.state.failedTagMatch=!0}}}))}function r(t){t.state.failedTagMatch&&n(t)}t.defineOption("matchTags",!1,(function(i,a,o){o&&o!=t.Init&&(i.off("cursorActivity",n),i.off("viewportChange",r),e(i)),a&&(i.state.matchBothTags="object"==typeof a&&a.bothTags,i.on("cursorActivity",n),i.on("viewportChange",r),n(i))})),t.commands.toMatchingTag=function(e){var n=t.findMatchingTag(e,e.getCursor());if(n){var r="close"==n.at?n.open:n.close;r&&e.extendSelection(r.to,r.from)}}}(Gh)}));r((function(t,e){!function(t){var e,n,r=t.Pos;function i(t){var e=t.flags;return null!=e?e:(t.ignoreCase?"i":"")+(t.global?"g":"")+(t.multiline?"m":"")}function a(t,e){for(var n=i(t),r=n,a=0;a<e.length;a++)-1==r.indexOf(e.charAt(a))&&(r+=e.charAt(a));return n==r?t:new RegExp(t.source,r)}function o(t){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(t.source)}function s(t,e,n){e=a(e,"g");for(var i=n.line,o=n.ch,s=t.lastLine();i<=s;i++,o=0){e.lastIndex=o;var c=t.getLine(i),l=e.exec(c);if(l)return{from:r(i,l.index),to:r(i,l.index+l[0].length),match:l}}}function c(t,e,n){if(!o(e))return s(t,e,n);e=a(e,"gm");for(var i,c=1,l=n.line,u=t.lastLine();l<=u;){for(var h=0;h<c&&!(l>u);h++){var f=t.getLine(l++);i=null==i?f:i+"\n"+f}c*=2,e.lastIndex=n.ch;var d=e.exec(i);if(d){var A=i.slice(0,d.index).split("\n"),p=d[0].split("\n"),g=n.line+A.length-1,m=A[A.length-1].length;return{from:r(g,m),to:r(g+p.length-1,1==p.length?m+p[0].length:p[p.length-1].length),match:d}}}}function l(t,e,n){for(var r,i=0;i<=t.length;){e.lastIndex=i;var a=e.exec(t);if(!a)break;var o=a.index+a[0].length;if(o>t.length-n)break;(!r||o>r.index+r[0].length)&&(r=a),i=a.index+1}return r}function u(t,e,n){e=a(e,"g");for(var i=n.line,o=n.ch,s=t.firstLine();i>=s;i--,o=-1){var c=t.getLine(i),u=l(c,e,o<0?0:c.length-o);if(u)return{from:r(i,u.index),to:r(i,u.index+u[0].length),match:u}}}function h(t,e,n){if(!o(e))return u(t,e,n);e=a(e,"gm");for(var i,s=1,c=t.getLine(n.line).length-n.ch,h=n.line,f=t.firstLine();h>=f;){for(var d=0;d<s&&h>=f;d++){var A=t.getLine(h--);i=null==i?A:A+"\n"+i}s*=2;var p=l(i,e,c);if(p){var g=i.slice(0,p.index).split("\n"),m=p[0].split("\n"),b=h+g.length,v=g[g.length-1].length;return{from:r(b,v),to:r(b+m.length-1,1==m.length?v+m[0].length:m[m.length-1].length),match:p}}}}function f(t,e,n,r){if(t.length==e.length)return n;for(var i=0,a=n+Math.max(0,t.length-e.length);;){if(i==a)return i;var o=i+a>>1,s=r(t.slice(0,o)).length;if(s==n)return o;s>n?a=o:i=o+1}}function d(t,i,a,o){if(!i.length)return null;var s=o?e:n,c=s(i).split(/\r|\n\r?/);t:for(var l=a.line,u=a.ch,h=t.lastLine()+1-c.length;l<=h;l++,u=0){var d=t.getLine(l).slice(u),A=s(d);if(1==c.length){var p=A.indexOf(c[0]);if(-1==p)continue t;return a=f(d,A,p,s)+u,{from:r(l,f(d,A,p,s)+u),to:r(l,f(d,A,p+c[0].length,s)+u)}}var g=A.length-c[0].length;if(A.slice(g)==c[0]){for(var m=1;m<c.length-1;m++)if(s(t.getLine(l+m))!=c[m])continue t;var b=t.getLine(l+c.length-1),v=s(b),y=c[c.length-1];if(v.slice(0,y.length)==y)return{from:r(l,f(d,A,g,s)+u),to:r(l+c.length-1,f(b,v,y.length,s))}}}}function A(t,i,a,o){if(!i.length)return null;var s=o?e:n,c=s(i).split(/\r|\n\r?/);t:for(var l=a.line,u=a.ch,h=t.firstLine()-1+c.length;l>=h;l--,u=-1){var d=t.getLine(l);u>-1&&(d=d.slice(0,u));var A=s(d);if(1==c.length){var p=A.lastIndexOf(c[0]);if(-1==p)continue t;return{from:r(l,f(d,A,p,s)),to:r(l,f(d,A,p+c[0].length,s))}}var g=c[c.length-1];if(A.slice(0,g.length)==g){var m=1;for(a=l-c.length+1;m<c.length-1;m++)if(s(t.getLine(a+m))!=c[m])continue t;var b=t.getLine(l+1-c.length),v=s(b);if(v.slice(v.length-c[0].length)==c[0])return{from:r(l+1-c.length,f(b,v,b.length-c[0].length,s)),to:r(l,f(d,A,g.length,s))}}}}function p(t,e,n,i){var o;this.atOccurrence=!1,this.doc=t,n=n?t.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof i?o=i.caseFold:(o=i,i=null),"string"==typeof e?(null==o&&(o=!1),this.matches=function(n,r){return(n?A:d)(t,e,r,o)}):(e=a(e,"gm"),i&&!1===i.multiline?this.matches=function(n,r){return(n?u:s)(t,e,r)}:this.matches=function(n,r){return(n?h:c)(t,e,r)})}String.prototype.normalize?(e=function(t){return t.normalize("NFD").toLowerCase()},n=function(t){return t.normalize("NFD")}):(e=function(t){return t.toLowerCase()},n=function(t){return t}),p.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(e){for(var n=this.matches(e,this.doc.clipPos(e?this.pos.from:this.pos.to));n&&0==t.cmpPos(n.from,n.to);)e?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(e,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(e,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var i=r(e?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(e,n){if(this.atOccurrence){var i=t.splitLines(e);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},t.defineExtension("getSearchCursor",(function(t,e,n){return new p(this.doc,t,e,n)})),t.defineDocExtension("getSearchCursor",(function(t,e,n){return new p(this,t,e,n)})),t.defineExtension("selectMatches",(function(e,n){for(var r=[],i=this.getSearchCursor(e,this.getCursor("from"),n);i.findNext()&&!(t.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(Gh)}));r((function(t,e){!function(t){function e(t){t.state.placeholder&&(t.state.placeholder.parentNode.removeChild(t.state.placeholder),t.state.placeholder=null)}function n(t){e(t);var n=t.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=t.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var r=t.getOption("placeholder");"string"==typeof r&&(r=document.createTextNode(r)),n.appendChild(r),t.display.lineSpace.insertBefore(n,t.display.lineSpace.firstChild)}function r(t){setTimeout((function(){var r=!1,i=t.getInputField();"TEXTAREA"==i.nodeName?r=!i.value:1==t.lineCount()&&(r=!/[^\u200b]/.test(i.querySelector(".CodeMirror-line").textContent)),r?n(t):e(t)}),20)}function i(t){o(t)&&n(t)}function a(t){var r=t.getWrapperElement(),i=o(t);r.className=r.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?n(t):e(t)}function o(t){return 1===t.lineCount()&&""===t.getLine(0)}t.defineOption("placeholder","",(function(n,o,s){var c=s&&s!=t.Init;if(o&&!c)n.on("blur",i),n.on("change",a),n.on("swapDoc",a),t.on(n.getInputField(),"compositionupdate",n.state.placeholderCompose=function(){r(n)}),a(n);else if(!o&&c){n.off("blur",i),n.off("change",a),n.off("swapDoc",a),t.off(n.getInputField(),"compositionupdate",n.state.placeholderCompose),e(n);var l=n.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}o&&!n.hasFocus()&&i(n)}))}(Gh)}));r((function(t,e){!function(t){var e=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=t.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function i(t){return t&&t.bracketRegex||/[(){}[\]]/}function a(t,e,a){var s=t.getLineHandle(e.line),c=e.ch-1,l=a&&a.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var u=i(a),h=!l&&c>=0&&u.test(s.text.charAt(c))&&r[s.text.charAt(c)]||u.test(s.text.charAt(c+1))&&r[s.text.charAt(++c)];if(!h)return null;var f=">"==h.charAt(1)?1:-1;if(a&&a.strict&&f>0!=(c==e.ch))return null;var d=t.getTokenTypeAt(n(e.line,c+1)),A=o(t,n(e.line,c+(f>0?1:0)),f,d||null,a);return null==A?null:{from:n(e.line,c),to:A&&A.pos,match:A&&A.ch==h.charAt(0),forward:f>0}}function o(t,e,a,o,s){for(var c=s&&s.maxScanLineLength||1e4,l=s&&s.maxScanLines||1e3,u=[],h=i(s),f=a>0?Math.min(e.line+l,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-l),d=e.line;d!=f;d+=a){var A=t.getLine(d);if(A){var p=a>0?0:A.length-1,g=a>0?A.length:-1;if(!(A.length>c))for(d==e.line&&(p=e.ch-(a<0?1:0));p!=g;p+=a){var m=A.charAt(p);if(h.test(m)&&(void 0===o||t.getTokenTypeAt(n(d,p+1))==o)){var b=r[m];if(b&&">"==b.charAt(1)==a>0)u.push(m);else{if(!u.length)return{pos:n(d,p),ch:m};u.pop()}}}}}return d-a!=(a>0?t.lastLine():t.firstLine())&&null}function s(t,r,i){for(var o=t.state.matchBrackets.maxHighlightLineLength||1e3,s=[],c=t.listSelections(),l=0;l<c.length;l++){var u=c[l].empty()&&a(t,c[l].head,i);if(u&&t.getLine(u.from.line).length<=o){var h=u.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";s.push(t.markText(u.from,n(u.from.line,u.from.ch+1),{className:h})),u.to&&t.getLine(u.to.line).length<=o&&s.push(t.markText(u.to,n(u.to.line,u.to.ch+1),{className:h}))}}if(s.length){e&&t.state.focused&&t.focus();var f=function(){t.operation((function(){for(var t=0;t<s.length;t++)s[t].clear()}))};if(!r)return f;setTimeout(f,800)}}function c(t){t.operation((function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=s(t,!1,t.state.matchBrackets)}))}t.defineOption("matchBrackets",!1,(function(e,n,r){function i(t){t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)}r&&r!=t.Init&&(e.off("cursorActivity",c),e.off("focus",c),e.off("blur",i),i(e)),n&&(e.state.matchBrackets="object"==typeof n?n:{},e.on("cursorActivity",c),e.on("focus",c),e.on("blur",i))})),t.defineExtension("matchBrackets",(function(){s(this,!0)})),t.defineExtension("findMatchingBracket",(function(t,e,n){return(n||"boolean"==typeof e)&&(n?(n.strict=e,e=n):e=e?{strict:!0}:null),a(this,t,e)})),t.defineExtension("scanForBracket",(function(t,e,n,r){return o(this,t,e,n,r)}))}(Gh)}));r((function(t,e){!function(t){var e=t.commands,n=t.Pos;function r(e,r,i){if(i<0&&0==r.ch)return e.clipPos(n(r.line-1));var a=e.getLine(r.line);if(i>0&&r.ch>=a.length)return e.clipPos(n(r.line+1,0));for(var o,s="start",c=r.ch,l=c,u=i<0?0:a.length,h=0;l!=u;l+=i,h++){var f=a.charAt(i<0?l-1:l),d="_"!=f&&t.isWordChar(f)?"w":"o";if("w"==d&&f.toUpperCase()==f&&(d="W"),"start"==s)"o"!=d?(s="in",o=d):c=l+i;else if("in"==s&&o!=d){if("w"==o&&"W"==d&&i<0&&l--,"W"==o&&"w"==d&&i>0){if(l==c+1){o="w";continue}l--}break}}return n(r.line,l)}function i(t,e){t.extendSelectionsBy((function(n){return t.display.shift||t.doc.extend||n.empty()?r(t.doc,n.head,e):e<0?n.from():n.to()}))}function a(e,r){if(e.isReadOnly())return t.Pass;e.operation((function(){for(var t=e.listSelections().length,i=[],a=-1,o=0;o<t;o++){var s=e.listSelections()[o].head;if(!(s.line<=a)){var c=n(s.line+(r?0:1),0);e.replaceRange("\n",c,null,"+insertLine"),e.indentLine(c.line,null,!0),i.push({head:c,anchor:c}),a=s.line+1}}e.setSelections(i)})),e.execCommand("indentAuto")}function o(e,r){for(var i=r.ch,a=i,o=e.getLine(r.line);i&&t.isWordChar(o.charAt(i-1));)--i;for(;a<o.length&&t.isWordChar(o.charAt(a));)++a;return{from:n(r.line,i),to:n(r.line,a),word:o.slice(i,a)}}function s(t,e){for(var n=t.listSelections(),r=[],i=0;i<n.length;i++){var a=n[i],o=t.findPosV(a.anchor,e,"line",a.anchor.goalColumn),s=t.findPosV(a.head,e,"line",a.head.goalColumn);o.goalColumn=null!=a.anchor.goalColumn?a.anchor.goalColumn:t.cursorCoords(a.anchor,"div").left,s.goalColumn=null!=a.head.goalColumn?a.head.goalColumn:t.cursorCoords(a.head,"div").left;var c={anchor:o,head:s};r.push(a),r.push(c)}t.setSelections(r)}function c(e,n,r){for(var i=0;i<e.length;i++)if(0==t.cmpPos(e[i].from(),n)&&0==t.cmpPos(e[i].to(),r))return!0;return!1}e.goSubwordLeft=function(t){i(t,-1)},e.goSubwordRight=function(t){i(t,1)},e.scrollLineUp=function(t){var e=t.getScrollInfo();if(!t.somethingSelected()){var n=t.lineAtHeight(e.top+e.clientHeight,"local");t.getCursor().line>=n&&t.execCommand("goLineUp")}t.scrollTo(null,e.top-t.defaultTextHeight())},e.scrollLineDown=function(t){var e=t.getScrollInfo();if(!t.somethingSelected()){var n=t.lineAtHeight(e.top,"local")+1;t.getCursor().line<=n&&t.execCommand("goLineDown")}t.scrollTo(null,e.top+t.defaultTextHeight())},e.splitSelectionByLine=function(t){for(var e=t.listSelections(),r=[],i=0;i<e.length;i++)for(var a=e[i].from(),o=e[i].to(),s=a.line;s<=o.line;++s)o.line>a.line&&s==o.line&&0==o.ch||r.push({anchor:s==a.line?a:n(s,0),head:s==o.line?o:n(s)});t.setSelections(r,0)},e.singleSelectionTop=function(t){var e=t.listSelections()[0];t.setSelection(e.anchor,e.head,{scroll:!1})},e.selectLine=function(t){for(var e=t.listSelections(),r=[],i=0;i<e.length;i++){var a=e[i];r.push({anchor:n(a.from().line,0),head:n(a.to().line+1,0)})}t.setSelections(r)},e.insertLineAfter=function(t){return a(t,!1)},e.insertLineBefore=function(t){return a(t,!0)},e.selectNextOccurrence=function(e){var r=e.getCursor("from"),i=e.getCursor("to"),a=e.state.sublimeFindFullWord==e.doc.sel;if(0==t.cmpPos(r,i)){var s=o(e,r);if(!s.word)return;e.setSelection(s.from,s.to),a=!0}else{var l=e.getRange(r,i),u=a?new RegExp("\\b"+l+"\\b"):l,h=e.getSearchCursor(u,i),f=h.findNext();if(f||(f=(h=e.getSearchCursor(u,n(e.firstLine(),0))).findNext()),!f||c(e.listSelections(),h.from(),h.to()))return;e.addSelection(h.from(),h.to())}a&&(e.state.sublimeFindFullWord=e.doc.sel)},e.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),i=n.getCursor("head");e.selectNextOccurrence(n),0!=t.cmpPos(r,i)&&n.doc.setSelections(n.doc.listSelections().filter((function(t){return t.anchor!=r||t.head!=i})))},e.addCursorToPrevLine=function(t){s(t,-1)},e.addCursorToNextLine=function(t){s(t,1)};var l="(){}[]";function u(e){for(var r=e.listSelections(),i=[],a=0;a<r.length;a++){var o=r[a],s=o.head,c=e.scanForBracket(s,-1);if(!c)return!1;for(;;){var u=e.scanForBracket(s,1);if(!u)return!1;if(u.ch==l.charAt(l.indexOf(c.ch)+1)){var h=n(c.pos.line,c.pos.ch+1);if(0!=t.cmpPos(h,o.from())||0!=t.cmpPos(u.pos,o.to())){i.push({anchor:h,head:u.pos});break}if(!(c=e.scanForBracket(c.pos,-1)))return!1}s=n(u.pos.line,u.pos.ch+1)}}return e.setSelections(i),!0}function h(t){return t?/\bpunctuation\b/.test(t)?t:void 0:null}function f(e,r){if(e.isReadOnly())return t.Pass;for(var i,a=e.listSelections(),o=[],s=0;s<a.length;s++){var c=a[s];if(!c.empty()){for(var l=c.from().line,u=c.to().line;s<a.length-1&&a[s+1].from().line==u;)u=a[++s].to().line;a[s].to().ch||u--,o.push(l,u)}}o.length?i=!0:o.push(e.firstLine(),e.lastLine()),e.operation((function(){for(var t=[],a=0;a<o.length;a+=2){var s=o[a],c=o[a+1],l=n(s,0),u=n(c),h=e.getRange(l,u,!1);r?h.sort():h.sort((function(t,e){var n=t.toUpperCase(),r=e.toUpperCase();return n!=r&&(t=n,e=r),t<e?-1:t==e?0:1})),e.replaceRange(h,l,u),i&&t.push({anchor:l,head:n(c+1,0)})}i&&e.setSelections(t,0)}))}function d(e,n){e.operation((function(){for(var r=e.listSelections(),i=[],a=[],s=0;s<r.length;s++)(l=r[s]).empty()?(i.push(s),a.push("")):a.push(n(e.getRange(l.from(),l.to())));var c;for(e.replaceSelections(a,"around","case"),s=i.length-1;s>=0;s--){var l=r[i[s]];if(!(c&&t.cmpPos(l.head,c)>0)){var u=o(e,l.head);c=u.from,e.replaceRange(n(u.word),u.from,u.to)}}}))}function A(e){var n=e.getCursor("from"),r=e.getCursor("to");if(0==t.cmpPos(n,r)){var i=o(e,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:e.getRange(n,r),word:i}}function p(t,e){var r=A(t);if(r){var i=r.query,a=t.getSearchCursor(i,e?r.to:r.from);(e?a.findNext():a.findPrevious())?t.setSelection(a.from(),a.to()):(a=t.getSearchCursor(i,e?n(t.firstLine(),0):t.clipPos(n(t.lastLine()))),(e?a.findNext():a.findPrevious())?t.setSelection(a.from(),a.to()):r.word&&t.setSelection(r.from,r.to))}}e.selectScope=function(t){u(t)||t.execCommand("selectAll")},e.selectBetweenBrackets=function(e){if(!u(e))return t.Pass},e.goToBracket=function(e){e.extendSelectionsBy((function(r){var i=e.scanForBracket(r.head,1,h(e.getTokenTypeAt(r.head)));if(i&&0!=t.cmpPos(i.pos,r.head))return i.pos;var a=e.scanForBracket(r.head,-1,h(e.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return a&&n(a.pos.line,a.pos.ch+1)||r.head}))},e.swapLineUp=function(e){if(e.isReadOnly())return t.Pass;for(var r=e.listSelections(),i=[],a=e.firstLine()-1,o=[],s=0;s<r.length;s++){var c=r[s],l=c.from().line-1,u=c.to().line;o.push({anchor:n(c.anchor.line-1,c.anchor.ch),head:n(c.head.line-1,c.head.ch)}),0!=c.to().ch||c.empty()||--u,l>a?i.push(l,u):i.length&&(i[i.length-1]=u),a=u}e.operation((function(){for(var t=0;t<i.length;t+=2){var r=i[t],a=i[t+1],s=e.getLine(r);e.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),a>e.lastLine()?e.replaceRange("\n"+s,n(e.lastLine()),null,"+swapLine"):e.replaceRange(s+"\n",n(a,0),null,"+swapLine")}e.setSelections(o),e.scrollIntoView()}))},e.swapLineDown=function(e){if(e.isReadOnly())return t.Pass;for(var r=e.listSelections(),i=[],a=e.lastLine()+1,o=r.length-1;o>=0;o--){var s=r[o],c=s.to().line+1,l=s.from().line;0!=s.to().ch||s.empty()||c--,c<a?i.push(c,l):i.length&&(i[i.length-1]=l),a=l}e.operation((function(){for(var t=i.length-2;t>=0;t-=2){var r=i[t],a=i[t+1],o=e.getLine(r);r==e.lastLine()?e.replaceRange("",n(r-1),n(r),"+swapLine"):e.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),e.replaceRange(o+"\n",n(a,0),null,"+swapLine")}e.scrollIntoView()}))},e.toggleCommentIndented=function(t){t.toggleComment({indent:!0})},e.joinLines=function(t){for(var e=t.listSelections(),r=[],i=0;i<e.length;i++){for(var a=e[i],o=a.from(),s=o.line,c=a.to().line;i<e.length-1&&e[i+1].from().line==c;)c=e[++i].to().line;r.push({start:s,end:c,anchor:!a.empty()&&o})}t.operation((function(){for(var e=0,i=[],a=0;a<r.length;a++){for(var o,s=r[a],c=s.anchor&&n(s.anchor.line-e,s.anchor.ch),l=s.start;l<=s.end;l++){var u=l-e;l==s.end&&(o=n(u,t.getLine(u).length+1)),u<t.lastLine()&&(t.replaceRange(" ",n(u),n(u+1,/^\s*/.exec(t.getLine(u+1))[0].length)),++e)}i.push({anchor:c||o,head:o})}t.setSelections(i,0)}))},e.duplicateLine=function(t){t.operation((function(){for(var e=t.listSelections().length,r=0;r<e;r++){var i=t.listSelections()[r];i.empty()?t.replaceRange(t.getLine(i.head.line)+"\n",n(i.head.line,0)):t.replaceRange(t.getRange(i.from(),i.to()),i.from())}t.scrollIntoView()}))},e.sortLines=function(t){f(t,!0)},e.sortLinesInsensitive=function(t){f(t,!1)},e.nextBookmark=function(t){var e=t.state.sublimeBookmarks;if(e)for(;e.length;){var n=e.shift(),r=n.find();if(r)return e.push(n),t.setSelection(r.from,r.to)}},e.prevBookmark=function(t){var e=t.state.sublimeBookmarks;if(e)for(;e.length;){e.unshift(e.pop());var n=e[e.length-1].find();if(n)return t.setSelection(n.from,n.to);e.pop()}},e.toggleBookmark=function(t){for(var e=t.listSelections(),n=t.state.sublimeBookmarks||(t.state.sublimeBookmarks=[]),r=0;r<e.length;r++){for(var i=e[r].from(),a=e[r].to(),o=e[r].empty()?t.findMarksAt(i):t.findMarks(i,a),s=0;s<o.length;s++)if(o[s].sublimeBookmark){o[s].clear();for(var c=0;c<n.length;c++)n[c]==o[s]&&n.splice(c--,1);break}s==o.length&&n.push(t.markText(i,a,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},e.clearBookmarks=function(t){var e=t.state.sublimeBookmarks;if(e)for(var n=0;n<e.length;n++)e[n].clear();e.length=0},e.selectBookmarks=function(t){var e=t.state.sublimeBookmarks,n=[];if(e)for(var r=0;r<e.length;r++){var i=e[r].find();i?n.push({anchor:i.from,head:i.to}):e.splice(r--,0)}n.length&&t.setSelections(n,0)},e.smartBackspace=function(e){if(e.somethingSelected())return t.Pass;e.operation((function(){for(var r=e.listSelections(),i=e.getOption("indentUnit"),a=r.length-1;a>=0;a--){var o=r[a].head,s=e.getRange({line:o.line,ch:0},o),c=t.countColumn(s,null,e.getOption("tabSize")),l=e.findPosH(o,-1,"char",!1);if(s&&!/\S/.test(s)&&c%i==0){var u=new n(o.line,t.findColumn(s,c-i,i));u.ch!=o.ch&&(l=u)}e.replaceRange("",l,o,"+delete")}}))},e.delLineRight=function(t){t.operation((function(){for(var e=t.listSelections(),r=e.length-1;r>=0;r--)t.replaceRange("",e[r].anchor,n(e[r].to().line),"+delete");t.scrollIntoView()}))},e.upcaseAtCursor=function(t){d(t,(function(t){return t.toUpperCase()}))},e.downcaseAtCursor=function(t){d(t,(function(t){return t.toLowerCase()}))},e.setSublimeMark=function(t){t.state.sublimeMark&&t.state.sublimeMark.clear(),t.state.sublimeMark=t.setBookmark(t.getCursor())},e.selectToSublimeMark=function(t){var e=t.state.sublimeMark&&t.state.sublimeMark.find();e&&t.setSelection(t.getCursor(),e)},e.deleteToSublimeMark=function(e){var n=e.state.sublimeMark&&e.state.sublimeMark.find();if(n){var r=e.getCursor(),i=n;if(t.cmpPos(r,i)>0){var a=i;i=r,r=a}e.state.sublimeKilled=e.getRange(r,i),e.replaceRange("",r,i)}},e.swapWithSublimeMark=function(t){var e=t.state.sublimeMark&&t.state.sublimeMark.find();e&&(t.state.sublimeMark.clear(),t.state.sublimeMark=t.setBookmark(t.getCursor()),t.setCursor(e))},e.sublimeYank=function(t){null!=t.state.sublimeKilled&&t.replaceSelection(t.state.sublimeKilled,null,"paste")},e.showInCenter=function(t){var e=t.cursorCoords(null,"local");t.scrollTo(null,(e.top+e.bottom)/2-t.getScrollInfo().clientHeight/2)},e.findUnder=function(t){p(t,!0)},e.findUnderPrevious=function(t){p(t,!1)},e.findAllUnder=function(t){var e=A(t);if(e){for(var n=t.getSearchCursor(e.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=e.from.line&&n.from().ch<=e.from.ch&&i++;t.setSelections(r,i)}};var g=t.keyMap;g.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},t.normalizeKeyMap(g.macSublime),g.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},t.normalizeKeyMap(g.pcSublime);var m=g.default==g.macDefault;g.sublime=m?g.macSublime:g.pcSublime}(Gh)})),r((function(t,e){!function(t){var e;function n(t){var n=this;function o(t){n.searchBox=t.querySelector(".ace_search_form"),n.replaceBox=t.querySelector(".ace_replace_form"),n.searchOptions=t.querySelector(".ace_search_options"),n.regExpOption=t.querySelector("[action=toggleRegexpMode]"),n.caseSensitiveOption=t.querySelector("[action=toggleCaseSensitive]"),n.wholeWordOption=t.querySelector("[action=toggleWholeWords]"),n.searchInput=n.searchBox.querySelector(".ace_search_field"),n.replaceInput=n.replaceBox.querySelector(".ace_search_field")}function s(){var t=n.element=w();y(),o(t),c(),t.addEventListener("mousedown",(function(t){setTimeout((function(){n.activeInput.focus()}),0),t.stopPropagation()})),t.addEventListener("click",(function(t){var e=(t.target||t.srcElement).getAttribute("action");e&&n[e]?n[e]():n.commands[e]&&n.commands[e](),t.stopPropagation()})),n.searchInput.addEventListener("input",(function(){n.$onChange.schedule(20)})),n.searchInput.addEventListener("focus",(function(){n.activeInput=n.searchInput})),n.replaceInput.addEventListener("focus",(function(){n.activeInput=n.replaceInput})),n.$onChange=i((function(){n.find(!1,!1)}))}function c(){var t=n,e={"Ctrl-F|Cmd-F|Ctrl-H|Command-Alt-F":function(){var e=t.isReplace=!t.isReplace;t.replaceBox.style.display=e?"":"none",t[e?"replaceInput":"searchInput"].focus()},"Ctrl-G|Cmd-G":function(){t.findNext()},"Ctrl-Shift-G|Cmd-Shift-G":function(){t.findPrev()},Esc:function(){setTimeout((function(){t.hide()}))},Enter:function(){t.activeInput===t.replaceInput&&t.replace(),t.findNext()},"Shift-Enter":function(){t.activeInput===t.replaceInput&&t.replace(),t.findPrev()},"Alt-Enter":function(){t.activeInput===t.replaceInput&&t.replaceAll(),t.findAll()},Tab:function(){n.activeInput===n.replaceInput?n.searchInput.focus():n.replaceInput.focus()}};n.element.addEventListener("keydown",(function(t){Object.keys(e).some((function(n){var r=a(n,t);return r&&(t.stopPropagation(),t.preventDefault(),e[n](t)),r}))}))}function l(e,i,a){if(!e)return b(t),void v();var o,s,c,h,f,d,A,p=e,g=i,m=!0,y=g.caseSensitive,w=g.regExp,T=g.wholeWord;w&&(p=p.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")),T&&(p=y?p=RegExp("\\b"+p+"\\b"):RegExp("\\b"+p+"\\b","i")),w&&(p=RegExp(p)),b(t),u(t,p,y),v(),A=g.backwards?g.skipCurrent?"from":"to":g.skipCurrent?"to":"from",d=t.getCursor(A),h=(c=t.getSearchCursor(p,d,!y)).findNext.bind(c),f=c.findPrevious.bind(c),c.matches.bind(c),g.backwards&&!f()?(m=h())&&(t.setCursor(t.doc.size-1,0),l(e,i,a),o=!0):g.backwards||h()||(m=f())&&(t.setCursor(0,0),l(e,i,a),o=!0),s=!m&&n.searchInput.value,r(n.searchBox,"ace_nomatch",s),!o&&m&&a(c)}function u(t,e,n){var r=m(t),i=e;i&&i!==r.queryText&&(d(t,r,i,n),r.posFrom=r.posTo=t.getCursor())}function h(t){return t.replace(/\\([nrt\\])/g,(function(t,e){return"n"==e?"\n":"r"==e?"\r":"t"==e?"\t":"\\"==e?"\\":t}))}function f(t){var e=("object"==typeof t?t.toString():t).match(/^\/(.*)\/([a-z]*)$/);if(e)try{t=new RegExp(e[1],-1==e[2].indexOf("i")?"":"i")}catch(t){}else t=h(t);return("string"==typeof t?""==t:t.test(""))&&(t=/x^/),t}function d(t,e,n,r){e.queryText=n,e.query=f(n),t.removeOverlay(e.overlay,A(e.query,r)),e.overlay=p(e.query,A(e.query,r)),t.addOverlay(e.overlay),t.showMatchesOnScrollbar&&(e.annotate&&(e.annotate.clear(),e.annotate=null),e.annotate=t.showMatchesOnScrollbar(e.query,A(e.query,r)))}function A(t,e){return"string"==typeof t&&!e}function p(t,e){return"string"==typeof t?t=new RegExp(t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),e?"gi":"g"):t.global||(t=new RegExp(t.source,t.ignoreCase?"gi":"g")),{token:function(e){t.lastIndex=e.pos;var n=t.exec(e.string);if(n&&n.index==e.pos)return e.pos+=n[0].length||1,"searching";n?e.pos=n.index:e.skipToEnd()}}}function g(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function m(t){return t.state.search||(t.state.search=new g)}function b(t){t.operation((function(){var e=m(t);e.lastQuery=e.query,e.query&&(e.query=e.queryText=null,t.removeOverlay(e.overlay),e.annotate&&(e.annotate.clear(),e.annotate=null))}))}function v(){var e,r=n.searchInput.value,i=[];r&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),e=n.caseSensitiveOption.checked?RegExp(r,"g"):RegExp(r,"gi"),n.wholeWordOption.checked&&(e=n.caseSensitiveOption.checked?RegExp("\\b"+r+"\\b","g"):RegExp("\\b"+r+"\\b","gi")),n.regExpOption.checked&&(e=RegExp(r,"gi")),i=t.getValue().match(e));var a=i?i.length:0,o=t.display.wrapper.parentElement.querySelector(".ace_search_counter");o&&(o.innerText=a+" matches found."),0===a&&t.setSelection({ch:0,line:0},{ch:0,line:0})}function y(){var t=document.createElement("style"),e=[".ace_search {","color: black;","background-color: #ddd;","border: 1px solid #cbcbcb;","border-top: 0 none;","max-width: 325px;","overflow: hidden;","margin: 0;","padding: 4px;","padding-right: 6px;","padding-bottom: 0;","position: absolute;","top: 0px;","z-index: 99;","white-space: normal;","font-size: 12px;","}",".ace_search.left {","border-left: 0 none;","border-radius: 0px 0px 5px 0px;","left: 0;","}",".ace_search.right {","border-radius: 0px 0px 0px 5px;","border-right: 0 none;","right: 0;","}",".ace_search_form, .ace_replace_form {","border-radius: 3px;","border: 1px solid #cbcbcb;","float: left;","margin-bottom: 4px;","overflow: hidden;","}",".ace_search_form.ace_nomatch {","outline: 1px solid red;","}",".ace_search_field {","background-color: white;","border-right: 1px solid #cbcbcb;","border: 0 none;","-webkit-box-sizing: border-box;","-moz-box-sizing: border-box;","box-sizing: border-box;","float: left;","height: 22px;","outline: 0;","padding: 0 7px;","width: 238px;","margin: 0;","}",".ace_searchbtn,",".ace_replacebtn {","background: #fff;","border: 0 none;","border-left: 1px solid #dcdcdc;","cursor: pointer;","float: left;","height: 22px;","padding: 0 5px;","margin: 0;","position: relative;","}",".ace_searchbtn:last-child,",".ace_replacebtn:last-child {","border-top-right-radius: 3px;","border-bottom-right-radius: 3px;","}",".ace_searchbtn:disabled {","background: none;","cursor: default;","}",".ace_searchbtn {","background-position: 50% 50%;","background-repeat: no-repeat;","width: 27px;","}",".ace_searchbtn.prev {","background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=); ","}",".ace_searchbtn.next {","background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=); ","}",".ace_searchbtn_close {","background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;","border-radius: 50%;","border: 0 none;","color: #656565;","cursor: pointer;","float: right;","font: 16px/16px Arial;","height: 14px;","margin: 5px 1px 9px 5px;","padding: 0;","text-align: center;","width: 14px;","}",".ace_searchbtn_close:hover {","background-color: #656565;","background-position: 50% 100%;","color: white;","}",".ace_replacebtn.prev {","width: 54px","}",".ace_replacebtn.next {","width: 27px","}",".ace_button {","margin-left: 2px;","cursor: pointer;","-webkit-user-select: none;","-moz-user-select: none;","-o-user-select: none;","-ms-user-select: none;","user-select: none;","overflow: hidden;","opacity: 0.7;","border: 1px solid rgba(100,100,100,0.23);","padding: 1px;","-moz-box-sizing: border-box;","box-sizing: border-box;","color: black;","}",".ace_button:hover {","background-color: #eee;","opacity:1;","}",".ace_button:active {","background-color: #ddd;","}",".ace_button.checked {","border-color: #3399ff;","opacity:1;","}",".ace_search_options{","clear: both;","margin: 4px 0;","text-align: right;","-webkit-user-select: none;","-moz-user-select: none;","-o-user-select: none;","-ms-user-select: none;","user-select: none;","}",".replace_toggle{","float: left;","margin-top: -2px;","padding: 0 5px;"," }",".ace_search_counter{","float: left;","font-family: arial;","padding: 0 8px;","}","button svg,path {","pointer-events: none;","}"].join("");t.setAttribute("data-name","js-searchbox"),t.textContent=e,document.head.appendChild(t)}function w(){var e,n=t.getWrapperElement(),r=document.createElement("div"),i=['<div class="ace_search right">','<button type="button" action="hide" class="ace_searchbtn_close"></button>','<div class="ace_search_form">','<input class="ace_search_field" placeholder="Search for" spellcheck="false"></input>','<button type="button" action="findNext" class="ace_searchbtn next"></button>','<button type="button" action="findPrev" class="ace_searchbtn prev"></button>',"</div>",'<div class="ace_replace_form">','<input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input>','<button type="button" action="replaceAndFindNext" title="Replace" class="ace_replacebtn">','<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">','<path fill-rule="evenodd" clip-rule="evenodd" d="M3.221 3.739L5.482 6.008L7.7 3.784L7 3.084L5.988 4.091L5.98 2.491C5.97909 2.35567 6.03068 2.22525 6.12392 2.12716C6.21716 2.02908 6.3448 1.97095 6.48 1.965H8V1H6.48C6.28496 1.00026 6.09189 1.03902 5.91186 1.11405C5.73183 1.18908 5.56838 1.29892 5.43088 1.43725C5.29338 1.57558 5.18455 1.73969 5.11061 1.92018C5.03667 2.10066 4.99908 2.29396 5 2.489V4.1L3.927 3.033L3.221 3.739ZM9.89014 5.53277H9.90141C10.0836 5.84426 10.3521 6 10.707 6C11.0995 6 11.4131 5.83236 11.6479 5.49708C11.8826 5.1618 12 4.71728 12 4.16353C12 3.65304 11.8995 3.2507 11.6986 2.95652C11.4977 2.66234 11.2113 2.51525 10.8394 2.51525C10.4338 2.51525 10.1211 2.70885 9.90141 3.09604H9.89014V1H9V5.91888H9.89014V5.53277ZM9.87606 4.47177V4.13108C9.87606 3.88449 9.93427 3.6844 10.0507 3.53082C10.169 3.37724 10.3174 3.30045 10.4958 3.30045C10.6854 3.30045 10.831 3.37833 10.9324 3.53407C11.0357 3.68765 11.0873 3.9018 11.0873 4.17651C11.0873 4.50746 11.031 4.76379 10.9183 4.94549C10.8075 5.12503 10.6507 5.2148 10.4479 5.2148C10.2808 5.2148 10.1437 5.14449 10.0366 5.00389C9.92958 4.86329 9.87606 4.68592 9.87606 4.47177ZM9 12.7691C8.74433 12.923 8.37515 13 7.89247 13C7.32855 13 6.87216 12.8225 6.5233 12.4674C6.17443 12.1124 6 11.6543 6 11.0931C6 10.4451 6.18638 9.93484 6.55914 9.5624C6.93429 9.18747 7.43489 9.00001 8.06093 9.00001C8.49343 9.00001 8.80645 9.0596 9 9.17878V10.1769C8.76344 9.99319 8.4994 9.90132 8.20789 9.90132C7.88292 9.90132 7.62485 10.0006 7.43369 10.1993C7.24492 10.3954 7.15054 10.6673 7.15054 11.0149C7.15054 11.3526 7.24134 11.6183 7.42294 11.8119C7.60454 12.0031 7.85424 12.0987 8.17204 12.0987C8.454 12.0987 8.72999 12.0068 9 11.8231V12.7691ZM4 7L3 8V14L4 15H11L12 14V8L11 7H4ZM4 8H5H10H11V9V13V14H10H5H4V13V9V8Z" fill="#656565"/>',"</svg></button>",'<button type="button" action="replaceAll" title="Replace All" class="ace_replacebtn">','<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">','<path fill-rule="evenodd" clip-rule="evenodd" d="M11.6009 2.67683C11.7474 2.36708 11.9559 2.2122 12.2263 2.2122C12.4742 2.2122 12.6651 2.32987 12.7991 2.56522C12.933 2.80056 13 3.12243 13 3.53082C13 3.97383 12.9218 4.32944 12.7653 4.59766C12.6088 4.86589 12.3997 5 12.138 5C11.9014 5 11.7224 4.87541 11.6009 4.62622H11.5934V4.93511H11V1H11.5934V2.67683H11.6009ZM11.584 3.77742C11.584 3.94873 11.6197 4.09063 11.6911 4.20311C11.7624 4.3156 11.8538 4.37184 11.9653 4.37184C12.1005 4.37184 12.205 4.30002 12.2789 4.15639C12.354 4.01103 12.3915 3.80597 12.3915 3.54121C12.3915 3.32144 12.3571 3.15012 12.2883 3.02726C12.2207 2.90266 12.1236 2.84036 11.9972 2.84036C11.8782 2.84036 11.7793 2.9018 11.7005 3.02466C11.6228 3.14752 11.584 3.30759 11.584 3.50487V3.77742ZM4.11969 7.695L2 5.56781L2.66188 4.90594L3.66781 5.90625V4.39594C3.66695 4.21309 3.70219 4.03187 3.7715 3.86266C3.84082 3.69346 3.94286 3.53961 4.07176 3.40992C4.20066 3.28023 4.3539 3.17727 4.52268 3.10692C4.69146 3.03658 4.87246 3.00024 5.05531 3H7.39906V3.90469H5.05531C4.92856 3.91026 4.8089 3.96476 4.72149 4.05672C4.63408 4.14868 4.58571 4.27094 4.58656 4.39781L4.59406 5.89781L5.54281 4.95375L6.19906 5.61L4.11969 7.695ZM9.3556 4.93017H10V3.22067C10 2.40689 9.68534 2 9.05603 2C8.92098 2 8.77083 2.02421 8.6056 2.07263C8.44181 2.12104 8.3125 2.17691 8.21767 2.24022V2.90503C8.45474 2.70205 8.70474 2.60056 8.96767 2.60056C9.22917 2.60056 9.35991 2.75698 9.35991 3.06983L8.76078 3.17318C8.25359 3.25885 8 3.57914 8 4.13408C8 4.39665 8.06106 4.60708 8.18319 4.76536C8.30675 4.92179 8.47557 5 8.68966 5C8.97989 5 9.19899 4.83985 9.34698 4.51955H9.3556V4.93017ZM9.35991 3.57542V3.76816C9.35991 3.9432 9.31968 4.08845 9.23922 4.20391C9.15876 4.3175 9.0546 4.3743 8.92672 4.3743C8.83477 4.3743 8.76149 4.34264 8.7069 4.27933C8.65374 4.21415 8.62716 4.13128 8.62716 4.03073C8.62716 3.80912 8.73779 3.6797 8.95905 3.64246L9.35991 3.57542ZM7 12.9302H6.3556V12.5196H6.34698C6.19899 12.8399 5.97989 13 5.68966 13C5.47557 13 5.30675 12.9218 5.18319 12.7654C5.06106 12.6071 5 12.3966 5 12.1341C5 11.5791 5.25359 11.2588 5.76078 11.1732L6.35991 11.0698C6.35991 10.757 6.22917 10.6006 5.96767 10.6006C5.70474 10.6006 5.45474 10.702 5.21767 10.905V10.2402C5.3125 10.1769 5.44181 10.121 5.6056 10.0726C5.77083 10.0242 5.92098 10 6.05603 10C6.68534 10 7 10.4069 7 11.2207V12.9302ZM6.35991 11.7682V11.5754L5.95905 11.6425C5.73779 11.6797 5.62716 11.8091 5.62716 12.0307C5.62716 12.1313 5.65374 12.2142 5.7069 12.2793C5.76149 12.3426 5.83477 12.3743 5.92672 12.3743C6.0546 12.3743 6.15876 12.3175 6.23922 12.2039C6.31968 12.0885 6.35991 11.9432 6.35991 11.7682ZM9.26165 13C9.58343 13 9.82955 12.9423 10 12.8268V12.1173C9.81999 12.2551 9.636 12.324 9.44803 12.324C9.23616 12.324 9.06969 12.2523 8.94863 12.1089C8.82756 11.9637 8.76702 11.7644 8.76702 11.5112C8.76702 11.2505 8.82995 11.0466 8.95579 10.8994C9.08323 10.7505 9.25528 10.676 9.47192 10.676C9.66627 10.676 9.84229 10.7449 10 10.8827V10.1341C9.87097 10.0447 9.66229 10 9.37395 10C8.95659 10 8.62286 10.1406 8.37276 10.4218C8.12425 10.7011 8 11.0838 8 11.5698C8 11.9907 8.11629 12.3343 8.34887 12.6006C8.58144 12.8669 8.8857 13 9.26165 13ZM2 9L3 8H12L13 9V14L12 15H3L2 14V9ZM3 9V14H12V9H3ZM6 7L7 6H14L15 7V12L14 13V12V7H7H6Z" fill="#656565"/>',"</svg></button>","</div>",'<div class="ace_search_options">','<span action="toggleReplace" class="ace_button replace_toggle">+</span>','<span class="ace_search_counter">0 matches found.</span>','<span action="toggleRegexpMode" title="RegExp Search"></span>','<span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span>','<span action="toggleWholeWords" title="Whole Word Search"></span>',"</div>","</div>"].join("");return r.innerHTML=i,e=r.firstChild,n.appendChild(e),e}s(),this.commands={toggleRegexpMode:function(){n.regExpOption.checked=!n.regExpOption.checked,n.$syncOptions()},toggleCaseSensitive:function(){n.caseSensitiveOption.checked=!n.caseSensitiveOption.checked,n.$syncOptions()},toggleWholeWords:function(){n.wholeWordOption.checked=!n.wholeWordOption.checked,n.$syncOptions()}},this.$syncOptions=function(){r(this.regExpOption,"checked",this.regExpOption.checked),r(this.wholeWordOption,"checked",this.wholeWordOption.checked),r(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.find(!1,!1)},this.find=function(e,n){l(this.searchInput.value,{skipCurrent:e,backwards:n,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked},(function(e){var n=e.matches(!1,e.from());t.setSelection(n.from,n.to)}))},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var e=this.searchInput.value,n=this.searchInput.value;r(this.searchBox,"ace_nomatch",n),t.showMatchesOnScrollbar&&t.showMatchesOnScrollbar(e),this.hide()},this.replace=function(){var e=t.getOption("readOnly"),n=!!t.getSelection();!e&&n&&t.replaceSelection(this.replaceInput.value,"start"),v()},this.replaceAndFindNext=function(){t.getOption("readOnly")||(this.replace(),this.findNext())},this.replaceAll=function(){var e,n,r=this.searchInput.value,i=this.replaceInput.value,a=RegExp(r,this.caseSensitiveOption.checked?"g":"gi");this.wholeWordOption.checked&&!this.regExpOption.checked&&(a=this.caseSensitiveOption.checked?RegExp("\\b"+r+"\\b","g"):RegExp("\\b"+r+"\\b","gi")),!t.getOption("readOnly")&&t.getSelection()&&(n=t.getCursor(),e=(e=t.getValue()).replace(a,i),t.setValue(e),t.setCursor(n)),v()},this.toggleReplace=function(){var e=t.display.wrapper;"+"===e.parentElement.querySelector("[action=toggleReplace]").innerText?(e.parentElement.querySelector("[action=toggleReplace]").innerText="-",this.replaceBox.style.display="",this.isReplace=!0):(e.parentElement.querySelector("[action=toggleReplace]").innerText="+",this.replaceBox.style.display="none",this.isReplace=!1)},this.hide=function(){b(t);var n=t.getWrapperElement();e=null,n.removeChild(this.element),t.focus()},this.isVisible=function(){return""===this.element.style.display},this.show=function(t,e){this.element.style.display="",e||(this.replaceBox.style.display=e?"":"none"),this.isReplace=e,t&&(this.searchInput.value=t,this.find(!1,!1)),this.searchInput.focus(),this.searchInput.select()},this.isFocused=function(){var t=document.activeElement;return t===this.searchInput||t===this.replaceInput}}function r(t,e,n){t.classList[n?"add":"remove"](e)}function i(t,e){var n,r=function(){n=null,t()},i=function(t){n||(n=setTimeout(r,t||e))};return i.delay=function(t){n&&clearTimeout(n),n=setTimeout(r,t||e)},i.schedule=i,i.call=function(){this.cancel(),t()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}function a(t,e){var n,r={BACKSPACE:8,TAB:9,ENTER:13,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,UP:38,DOWN:40,INSERT:45,DELETE:46,INSERT_MAC:96,ASTERISK:106,PLUS:107,MINUS:109,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,SLASH:191,TRA:192,BACKSLASH:220};return o(t,e),n=t.split("|").some((function(t){var n;return n=t.split("-").some((function(t){var n;switch(t){case"Ctrl":n=e.ctrlKey;break;case"Shift":n=e.shiftKey;break;case"Alt":n=e.altKey;break;case"Cmd":n=e.metaKey;break;default:1===t.length?n=e.keyCode===t.charCodeAt(0):Object.keys(r).some((function(i){t.toUpperCase()===i&&(n=e.keyCode===r[i])}))}return!n})),!n})),n}function o(t,e){if("string"!=typeof t)throw Error("str should be string!");if("object"!=typeof e)throw Error("event should be object!")}t.defineOption("searchbox",!1,(function(r){r.addKeyMap({"Ctrl-F":function(){var t=r.display.wrapper;e&&t.parentElement.contains(e.searchBox)||(e=new n(r));var i=!1;t.parentElement.querySelector("[action=toggleReplace]")&&(i="-"===t.parentElement.querySelector("[action=toggleReplace]").innerText),e.show(r.getSelection(),i)},Esc:function(){if(!e||!e.isVisible())return t.Pass;e.hide(),"undefined"!=typeof event&&event.stopPropagation()},"Cmd-F":function(){var t=r.display.wrapper;e&&t.parentElement.contains(e.searchBox)||(e=new n(r));var i=!1;t.parentElement.querySelector("[action=toggleReplace]")&&(i="-"===t.parentElement.querySelector("[action=toggleReplace]").innerText),e.show(r.getSelection(),i)}})}))}(Gh)}));r((function(t,e){!function(t){function e(t,e){function n(t){clearTimeout(r.doRedraw),r.doRedraw=setTimeout((function(){r.redraw()}),t)}this.cm=t,this.options=e,this.buttonHeight=e.scrollButtonHeight||t.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=t.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var r=this;t.on("refresh",this.resizeHandler=function(){clearTimeout(r.doUpdate),r.doUpdate=setTimeout((function(){r.computeScale()&&n(20)}),100)}),t.on("markerAdded",this.resizeHandler),t.on("markerCleared",this.resizeHandler),!1!==e.listenForChanges&&t.on("changes",this.changeHandler=function(){n(250)})}t.defineExtension("annotateScrollbar",(function(t){return"string"==typeof t&&(t={className:t}),new e(this,t)})),t.defineOption("scrollButtonHeight",0),e.prototype.computeScale=function(){var t=this.cm,e=(t.getWrapperElement().clientHeight-t.display.barHeight-2*this.buttonHeight)/t.getScrollerElement().scrollHeight;if(e!=this.hScale)return this.hScale=e,!0},e.prototype.update=function(t){this.annotations=t,this.redraw()},e.prototype.redraw=function(t){!1!==t&&this.computeScale();var e=this.cm,n=this.hScale,r=document.createDocumentFragment(),i=this.annotations,a=e.getOption("lineWrapping"),o=a&&1.5*e.defaultTextHeight(),s=null,c=null;function l(t,n){if(s!=t.line){s=t.line,c=e.getLineHandle(t.line);var r=e.getLineHandleVisualStart(c);r!=c&&(s=e.getLineNumber(r),c=r)}return c.widgets&&c.widgets.length||a&&c.height>o?e.charCoords(t,"local")[n?"top":"bottom"]:e.heightAtLine(c,"local")+(n?0:c.height)}var u=e.lastLine();if(e.display.barWidth)for(var h,f=0;f<i.length;f++){var d=i[f];if(!(d.to.line>u)){for(var A=h||l(d.from,!0)*n,p=l(d.to,!1)*n;f<i.length-1&&!(i[f+1].to.line>u)&&!((h=l(i[f+1].from,!0)*n)>p+.9);)p=l((d=i[++f]).to,!1)*n;if(p!=A){var g=Math.max(p-A,3),m=r.appendChild(document.createElement("div"));m.style.cssText="position: absolute; right: 0px; width: "+Math.max(e.display.barWidth-1,2)+"px; top: "+(A+this.buttonHeight)+"px; height: "+g+"px",m.className=this.options.className,d.id&&m.setAttribute("annotation-id",d.id)}}}this.div.textContent="",this.div.appendChild(r)},e.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}}(Gh)}));r((function(t,e){!function(t){function e(t,e,n,r){this.cm=t,this.options=r;var i={listenForChanges:!1};for(var a in r)i[a]=r[a];i.className||(i.className="CodeMirror-search-match"),this.annotation=t.annotateScrollbar(i),this.query=e,this.caseFold=n,this.gap={from:t.firstLine(),to:t.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var o=this;t.on("change",this.changeHandler=function(t,e){o.onChange(e)})}t.defineExtension("showMatchesOnScrollbar",(function(t,n,r){return"string"==typeof r&&(r={className:r}),r||(r={}),new e(this,t,n,r)}));var n=1e3;function r(t,e,n){return t<=e?t:Math.max(e,t+n)}e.prototype.findMatches=function(){if(this.gap){for(var e=0;e<this.matches.length&&!((a=this.matches[e]).from.line>=this.gap.to);e++)a.to.line>=this.gap.from&&this.matches.splice(e--,1);for(var r=this.cm.getSearchCursor(this.query,t.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),i=this.options&&this.options.maxMatches||n;r.findNext();){var a;if((a={from:r.from(),to:r.to()}).from.line>=this.gap.to)break;if(this.matches.splice(e++,0,a),this.matches.length>i)break}this.gap=null}},e.prototype.onChange=function(e){var n=e.from.line,i=t.changeEnd(e).line,a=i-e.to.line;if(this.gap?(this.gap.from=Math.min(r(this.gap.from,n,a),e.from.line),this.gap.to=Math.max(r(this.gap.to,n,a),e.from.line)):this.gap={from:e.from.line,to:i+1},a)for(var o=0;o<this.matches.length;o++){var s=this.matches[o],c=r(s.from.line,n,a);c!=s.from.line&&(s.from=t.Pos(c,s.from.ch));var l=r(s.to.line,n,a);l!=s.to.line&&(s.to=t.Pos(l,s.to.ch))}clearTimeout(this.update);var u=this;this.update=setTimeout((function(){u.updateAfterChange()}),250)},e.prototype.updateAfterChange=function(){this.findMatches(),this.annotation.update(this.matches)},e.prototype.clear=function(){this.cm.off("change",this.changeHandler),this.annotation.clear()}}(Gh)})),jn({target:"Array",stat:!0},{isArray:Mr});var zh=X.Array.isArray,Xh=zh;function qh(t){if(Xh(t))return t}var Vh=lh,Wh=Vh,Yh=TypeError,Jh=Object.getOwnPropertyDescriptor,Zh=qt&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(Mr(t)&&!Jh(t,"length").writable)throw Yh("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},tf=Zh,ef=h((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();jn({target:"Array",proto:!0,arity:1,forced:ef},{push:function(t){var e=_t(this),n=bn(e),r=arguments.length;To(n+r);for(var i=0;i<r;i++)e[n]=arguments[i],n++;return tf(e,n),n}});var nf=Wi("Array").push,rf=Array.prototype,af=function(t){var e=t.push;return t===rf||ct(rf,t)&&e===rf.push?nf:e},of=af,sf=of;var cf=Xi("slice"),lf=jt("species"),uf=Array,hf=Math.max;jn({target:"Array",proto:!0,forced:!cf},{slice:function(t,e){var n,r,i,a=Zt(this),o=bn(a),s=mn(t,o),c=mn(void 0===e?o:e,o);if(Mr(a)&&(n=a.constructor,(on(n)&&(n===uf||Mr(n.prototype))||mt(n)&&null===(n=n[lf]))&&(n=void 0),n===uf||void 0===n))return Oe(a,s,c);for(r=new(void 0===n?uf:n)(hf(c-s,0)),i=0;s<c;s++,i++)s in a&&lr(r,i,a[s]);return r.length=i,r}});var ff=Wi("Array").slice,df=Array.prototype,Af=function(t){var e=t.slice;return t===df||ct(df,t)&&e===df.slice?ff:e},pf=Af,gf=pf,mf=Th;function bf(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function vf(t,e){var n;if(t){if("string"==typeof t)return bf(t,e);var r=gf(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?mf(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bf(t,e):void 0}}function yf(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wf(t,e){return qh(t)||function(t,e){var n=null==t?null:void 0!==qo&&Wh(t)||t["@@iterator"];if(null!=n){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(sf(s).call(s,r.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}(t,e)||vf(t,e)||yf()}var Tf=Du,kf=As,Cf=Af,Ef=Zu.trim,xf=q.parseInt,_f=q.Symbol,Bf=_f&&_f.iterator,Sf=/^[+-]?0x/i,Lf=T(Sf.exec),If=8!==xf(zu+"08")||22!==xf(zu+"0x16")||Bf&&!h((function(){xf(Object(Bf))}))?function(t,e){var n=Ef(Ur(t));return xf(n,e>>>0||(Lf(Sf,n)?16:10))}:xf;jn({global:!0,forced:parseInt!==If},{parseInt:If});var Mf=X.parseInt,Of={run:function(t){var e,n="<div>".concat(t,"</div>");this.tagParser.formatEngine=this.mdFormatEngine,n=n.replace(/<!--[\s\S]*?-->/g,"");var r=this.htmlParser.parseHtml(n);return r=this.paragraphStyleClear(r),ih(e=this.$dealHtml(r).replace(/\n{3,}/g,"\n\n\n").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&")).call(e,"\n")},$dealHtml:function(t){for(var e="",n=0;n<t.length;n++){var r=t[n];"tag"===r.type?e=this.$handleTagObject(r,e):"text"===r.type&&r.content.length>0&&(e+=r.content.replace(/ /g," ").replace(/[\n]+/g,"\n").replace(/^[ \t\n]+\n\s*$/,"\n"))}return e},$handleTagObject:function(t,e){var n,r=e;t.attrs.class&&/(ch-icon-square|ch-icon-check)/.test(t.attrs.class)?Tf(n=t.attrs.class).call(n,"ch-icon-check")>=0?r+="[x]":r+="[ ]":t.attrs.class&&/cherry-code-preview-lang-select/.test(t.attrs.class)?r+="":r+=this.$dealTag(t);return r},$dealTag:function(t){var e=this,n="";return t.children&&(n=e.$dealHtml(t.children)),"style"===t.name?"":"code"===t.name||"pre"===t.name?e.tagParser.codeParser(t,e.$dealCodeTag(t),"pre"===t.name):"function"==typeof e.tagParser["".concat(t.name,"Parser")]?e.tagParser["".concat(t.name,"Parser")](t,n):n},$dealCodeTag:function(t){if(t.children.length<0)return"";for(var e="",n=0;n<t.children.length;n++){var r=t.children[n];"text"!==r.type?("li"===r.name&&(e+="\n"),"br"===r.name&&(e+="\n"),e+=this.$dealCodeTag(r)):e+=r.content}return e},htmlParser:{attrRE:/([\w-]+)|['"]{1}([^'"]*)['"]{1}/g,lookup:{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,video:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},tagRE:/<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>/g,empty:kf?kf(null):{},parseTags:function(t){var e,n=this,r=0,i={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return t.replace(this.attrRE,(function(a){r%2?e=a:0===r?((n.lookup[a]||"/"===t.charAt(t.length-2))&&(i.voidElement=!0),i.name=a):i.attrs[e]=a.replace(/['"]/g,""),r+=1})),i},parseHtml:function(t,e){var n=this,r=e||{};r.components||(r.components=this.empty);var i,a=[],o=-1,s=[],c={},l=!1;return t.replace(this.tagRE,(function(e,u){if(l){if(e!=="</".concat(i.name,">"))return;l=!1}var h,f="/"!==e.charAt(1),d=u+e.length,A=t.charAt(d);f&&(o+=1,"tag"===(i=n.parseTags(e)).type&&r.components[i.name]&&(i.type="component",l=!0),i.voidElement||l||!A||"<"===A||i.children.push({type:"text",content:Cf(t).call(t,d,Tf(t).call(t,"<",d))}),c[i.tagName]=i,0===o&&a.push(i),(h=s[o-1])&&h.children.push(i),s[o]=i),f&&!i.voidElement||(o-=1,!l&&"<"!==A&&A&&s[o]&&s[o].children.push({type:"text",content:Cf(t).call(t,d,Tf(t).call(t,"<",d))}))})),a}},tagParser:{formatEngine:{},pParser:function(t,e){var n=e;return/\n$/.test(n)?n:"".concat(n,"\n")},divParser:function(t,e){var n=e;return/\n$/.test(n)?n:"".concat(n,"\n")},spanParser:function(t,e){var n=e.replace(/\t/g,"").replace(/\n/g," ");return t.attrs&&t.attrs.style,n},codeParser:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.formatEngine.convertCode(e,n)},brParser:function(t,e){return this.formatEngine.convertBr(e,"\n")},imgParser:function(t,e){return t.attrs&&"tapd-graph"===t.attrs["data-control"]?this.formatEngine.convertGraph(t.attrs.title,t.attrs.src,t.attrs["data-origin-xml"],t):t.attrs&&t.attrs.src?this.formatEngine.convertImg(t.attrs.alt,t.attrs.src):void 0},videoParser:function(t,e){if(t.attrs&&t.attrs.src)return this.formatEngine.convertVideo(e,t.attrs.src,t.attrs.poster,t.attrs.title)},bParser:function(t,e){for(var n=e.split("\n"),r=[],i=0;i<n.length;i++)r.push(this.formatEngine.convertB(n[i]));return r.join("\n")},iParser:function(t,e){for(var n=e.split("\n"),r=[],i=0;i<n.length;i++)r.push(this.formatEngine.convertI(n[i]));return r.join("\n")},strikeParser:function(t,e){for(var n=e.split("\n"),r=[],i=0;i<n.length;i++)r.push(this.formatEngine.convertStrike(n[i]));return r.join("\n")},delParser:function(t,e){for(var n=e.split("\n"),r=[],i=0;i<n.length;i++)r.push(this.formatEngine.convertDel(n[i]));return r.join("\n")},uParser:function(t,e){for(var n=e.split("\n"),r=[],i=0;i<n.length;i++)r.push(this.formatEngine.convertU(n[i]));return r.join("\n")},aParser:function(t,e){return t.attrs&&t.attrs.href?this.formatEngine.convertA(e,t.attrs.href):""},supParser:function(t,e){return this.formatEngine.convertSup(e)},subParser:function(t,e){return this.formatEngine.convertSub(e)},tdParser:function(t,e){return this.formatEngine.convertTd(e)},trParser:function(t,e){return this.formatEngine.convertTr(e)},thParser:function(t,e){return this.formatEngine.convertTh(e)},theadParser:function(t,e){return this.formatEngine.convertThead(e)},tableParser:function(t,e){return this.formatEngine.convertTable(e)},liParser:function(t,e){return this.formatEngine.convertLi(e)},ulParser:function(t,e){return this.formatEngine.convertUl(e)},olParser:function(t,e){return this.formatEngine.convertOl(e)},strongParser:function(t,e){return this.formatEngine.convertStrong(e)},hrParser:function(t,e){return this.formatEngine.convertHr(e)},h1Parser:function(t,e){return this.formatEngine.convertH1(e)},h2Parser:function(t,e){return this.formatEngine.convertH2(e)},h3Parser:function(t,e){return this.formatEngine.convertH3(e)},h4Parser:function(t,e){return this.formatEngine.convertH4(e)},h5Parser:function(t,e){return this.formatEngine.convertH5(e)},h6Parser:function(t,e){return this.formatEngine.convertH6(e)},blockquoteParser:function(t,e){return this.formatEngine.convertBlockquote(e.replace(/\n+/g,"\n"))},addressParser:function(t,e){return this.formatEngine.convertAddress(e.replace(/\n+/g,"\n"))},styleParser:{colorAttrParser:function(t){var e=t.match(/color:\s*(#[a-zA-Z0-9]{3,6});/);return e&&e[1]?e[1]:""},sizeAttrParser:function(t){var e=t.match(/font-size:\s*([a-zA-Z0-9-]+?);/);if(e&&e[1]){var n,r=0;if(/[0-9]+px/.test(e[1]))r=ih(n=e[1].replace(/px/,"")).call(n);else switch(e[1]){case"x-small":r=10;break;case"small":r=12;break;case"medium":r=16;break;case"large":r=18;break;case"x-large":r=24;break;case"xx-large":r=32;break;default:r=""}return r>0?r:""}return""},bgColorAttrParser:function(t){var e=t.match(/background-color:\s*([^;]+?);/);if(e&&e[1]){var n="";if(/rgb\([ 0-9]+,[ 0-9]+,[ 0-9]+\)/.test(e[1])){var r,i,a,o,s,c=e[1].match(/rgb\(([ 0-9]+),([ 0-9]+),([ 0-9]+)\)/);if(c[1]&&c[2]&&c[3])c[1]=Mf(ih(r=c[1]).call(r),10),c[2]=Mf(ih(i=c[2]).call(i),10),c[3]=Mf(ih(a=c[3]).call(a),10),n=Fs(o=Fs(s="#".concat(c[1].toString(16))).call(s,c[2].toString(16))).call(o,c[3].toString(16))}else{n=wf(e,2)[1]}return n}return""}}},mdFormatEngine:{convertColor:function(t,e){var n,r=ih(t).call(t);return!r||/\n/.test(r)?r:e?Fs(n="!!".concat(e," ")).call(n,r,"!!"):r},convertSize:function(t,e){var n,r=ih(t).call(t);return!r||/\n/.test(r)?r:e?Fs(n="!".concat(e," ")).call(n,r,"!"):r},convertBgColor:function(t,e){var n,r=ih(t).call(t);return!r||/\n/.test(r)?r:e?Fs(n="!!!".concat(e," ")).call(n,r,"!!!"):r},convertBr:function(t,e){return t+e},convertCode:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return/\n/.test(t)||e?"```\n".concat(t.replace(/\n+$/,""),"\n```"):"`".concat(t.replace(/`/g,"\\`"),"`")},convertB:function(t){return/^\s*$/.test(t)?"":"**".concat(t,"**")},convertI:function(t){return/^\s*$/.test(t)?"":"*".concat(t,"*")},convertU:function(t){return/^\s*$/.test(t)?"":" /".concat(t,"/ ")},convertImg:function(t,e){var n,r=t&&t.length>0?t:"image";return Fs(n="![".concat(r,"](")).call(n,e,")")},convertGraph:function(t,e,n,r){var i,a,o,s=t&&t.length>0?t:"graph",c="";if(r)try{var l,u=r.attrs;ao(l=ar(u)).call(l,(function(t){var e;Object.prototype.hasOwnProperty.call(u,t)&&(Tf(t).call(t,"data-graph-")>=0&&u[t]&&(c+=Fs(e=" ".concat(t,"=")).call(e,u[t])))}))}catch(t){}return Fs(i=Fs(a=Fs(o="![".concat(s,"](")).call(o,e,"){data-control=tapd-graph data-origin-xml=")).call(a,n)).call(i,c,"}")},convertVideo:function(t,e,n,r){var i,a,o=r&&r.length>0?r:"video";return Fs(i=Fs(a="!video[".concat(o,"](")).call(a,e,"){poster=")).call(i,n,"}")},convertA:function(t,e){var n;if(t===e)return"".concat(t," ");var r=ih(t).call(t);return r?Fs(n="[".concat(r,"](")).call(n,e,")"):r},convertSup:function(t){return"^".concat(ih(t).call(t).replace(/\^/g,"\\^"),"^")},convertSub:function(t){return"^^".concat(ih(t).call(t).replace(/\^\^/g,"\\^\\^"),"^^")},convertTd:function(t){return"~|".concat(ih(t).call(t).replace(/\n{1,}/g,"<br>")," ~|")},convertTh:function(t){return"~|".concat(ih(t).call(t).replace(/\n{1,}/g,"<br>")," ~|")},convertTr:function(t){return"".concat(t.replace(/\n/g,""),"\n")},convertThead:function(t){return"".concat(t.replace(/~\|~\|/g,"~|").replace(/~\|/g,"|"),"|:--|\n")},convertTable:function(t){var e="\n".concat(t.replace(/~\|~\|/g,"~|").replace(/~\|/g,"|"),"\n").replace(/\n{2,}/g,"\n");return/\|:--\|/.test(e)?e:"\n| |\n|:--|".concat(e)},convertLi:function(t){return"- ".concat(t.replace(/^\n/,"").replace(/\n+$/,"").replace(/\n+/g,"\n\t"),"\n")},convertUl:function(t){return"".concat(t,"\n")},convertOl:function(t){for(var e=t.split("\n"),n=1,r=0;r<e.length;r++)/^- /.test(e[r])&&(e[r]=e[r].replace(/^- /,"".concat(n,". ")),n+=1);var i=e.join("\n");return"".concat(i,"\n")},convertStrong:function(t){return/^\s*$/.test(t)?"":"**".concat(t,"**")},convertStrike:function(t){return/^\s*$/.test(t)?"":"~~".concat(t,"~~")},convertDel:function(t){return/^\s*$/.test(t)?"":"~~".concat(t,"~~")},convertHr:function(t){return/^\s*$/.test(t)?"\n\n----\n":"\n\n----\n".concat(t)},convertH1:function(t){return"# ".concat(ih(t).call(t).replace(/\n+$/,""),"\n\n")},convertH2:function(t){return"## ".concat(ih(t).call(t).replace(/\n+$/,""),"\n\n")},convertH3:function(t){return"### ".concat(ih(t).call(t).replace(/\n+$/,""),"\n\n")},convertH4:function(t){return"#### ".concat(ih(t).call(t).replace(/\n+$/,""),"\n\n")},convertH5:function(t){return"##### ".concat(ih(t).call(t).replace(/\n+$/,""),"\n\n")},convertH6:function(t){return"###### ".concat(ih(t).call(t).replace(/\n+$/,""),"\n\n")},convertBlockquote:function(t){return">".concat(ih(t).call(t),"\n\n")},convertAddress:function(t){return">".concat(ih(t).call(t),"\n\n")}},paragraphStyleClear:function(t){for(var e=0;e<t[0].children.length;e++){for(var n=[t[0].children[e]],r=[];n.length;){var i=n.shift(),a=this.notEmptyTagCount(i);if(1===a)r.push(i);else if(a>1)for(var o=0;o<i.children.length;o++)n.push(i.children[o]);else 1===r.length&&this.clearChildColorAttrs(r.pop()),r=[]}1===r.length&&this.clearChildColorAttrs(r.pop())}return t},notEmptyTagCount:function(t){if(!t||t.voidElement||"tag"===t.type&&!t.children.length||"text"===t.type&&!t.content.replace(/(\r|\n|\s)+/g,""))return 0;if(t.children&&t.children.length){for(var e=0,n=0;n<t.children.length;n++)e+=this.notEmptyTagCount(t.children[n]);return e}return 1},clearChildColorAttrs:function(t){var e=this;this.forEachHtmlParsedItems(t,(function(t){e.clearSelfNodeColorAttrs(t)}))},clearSelfNodeColorAttrs:function(t){if(t.attrs&&t.attrs.style){for(var e=t.attrs.style.split(";"),n=[],r=0;r<e.length;r++){var i;e[r]&&-1===Tf(i=e[r]).call(i,"color")&&n.push(e[r])}n.length?t.attrs.style="".concat(n.join(";"),";"):delete t.attrs.style}},forEachHtmlParsedItems:function(t,e){if(t&&(e(t),t.children&&t.children.length))for(var n=0;n<t.children.length;n++)this.forEachHtmlParsedItems(t.children[n],e)}},Nf=Of;var Df=Ku;function Ff(){var t;return Ff=Df?ks(t=Df).call(t):function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ff.apply(this,arguments)}var Pf=Zu.trim,Rf=T("".charAt),Qf=q.parseFloat,Uf=q.Symbol,Hf=Uf&&Uf.iterator,jf=1/Qf(zu+"-0")!=-1/0||Hf&&!h((function(){Qf(Object(Hf))}))?function(t){var e=Pf(Ur(t)),n=Qf(e);return 0===n&&"-"===Rf(e,0)?-0:n}:Qf;jn({global:!0,forced:parseFloat!==jf},{parseFloat:jf});var $f=X.parseFloat;function Kf(t,e){var n=$f(t),r=$f(e);return r>=0?n:n>=0?n+r:Math.min(n,r)}function Gf(t){var e=t.previousElementSibling,n=t.nextElementSibling;if(!e){var r=getComputedStyle(t),i=t.getBoundingClientRect();if(!n)return{height:Math.max($f(r.marginTop)+i.height+$f(r.marginBottom),0),offsetTop:t.offsetTop-Math.abs($f(r.marginTop))};var a=getComputedStyle(n),o=Kf(r.marginBottom,a.marginTop);return{height:Math.max($f(r.marginTop)+i.height+o,0),offsetTop:t.offsetTop-Math.abs($f(r.marginTop))}}var s=getComputedStyle(t),c=t.getBoundingClientRect(),l=function(t,e){var n=$f(t),r=$f(e);return r<0?0:n>=0?Math.max(r-n,0):r}(getComputedStyle(e).marginBottom,s.marginTop);if(!n)return{height:Math.max(l+c.height+$f(s.marginBottom),0),offsetTop:t.offsetTop-Math.abs($f(s.marginTop))};var u=getComputedStyle(n),h=Kf(s.marginBottom,u.marginTop);return{height:Math.max(l+c.height+h,0),offsetTop:t.offsetTop-Math.abs(l)}}function zf(t,e){if(!t||!t.tagName)return"";var n,r,i=document.createElement("div");return i.appendChild(t.cloneNode(!1)),n=i.innerHTML,e&&(r=Tf(n).call(n,">")+1,n=n.substring(0,r)+t.innerHTML+n.substring(r)),i=null,n}function Xf(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createElement(t);(i.className=n,void 0!==r)&&ao(e=ar(r)).call(e,(function(t){var e=r[t];if(Ph(t).call(t,"data-")){var n=t.replace(/^data-/,"");i.dataset[n]=e}else i.setAttribute(t,e)}));return i}var qf={showSwitchBtnAfterPasteHtml:function(t,e,n,r,i){ih(r).call(r)!==ih(i).call(i)&&(this.init(t,e,n,r,i),this.setSelection(),this.bindListener(),this.initBubble(),this.showBubble(),"text"===this.getTypeFromLocalStorage()&&this.switchTextClick())},init:function(t,e,n,r,i){this.$cherry=t,this.html=r,this.md=i,this.codemirror=n,this.currentCursor=e,this.locale=t.locale},getTypeFromLocalStorage:function(){return"undefined"==typeof localStorage?"md":localStorage.getItem("cherry-paste-type")||"md"},setTypeToLocalStorage:function(t){"undefined"!=typeof localStorage&&localStorage.setItem("cherry-paste-type",t)},setSelection:function(){var t=this.codemirror.getCursor(),e=Ff({},(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(t),t)),n=this.currentCursor;this.codemirror.setSelection(n,e)},bindListener:function(){var t=this;if(this.hasBindListener)return!0;this.hasBindListener=!0,this.codemirror.on("beforeSelectionChange",(function(e,n){t.hideBubble()})),this.codemirror.on("beforeChange",(function(e,n){t.hideBubble()})),this.codemirror.on("scroll",(function(e){t.updatePositionWhenScroll()}))},isHidden:function(){return"none"===this.bubbleDom.style.display},toggleBubbleDisplay:function(){this.isHidden()?this.bubbleDom.style.display="":this.bubbleDom.style.display="none"},hideBubble:function(){if(this.noHide)return!0;this.isHidden()||this.toggleBubbleDisplay()},updatePositionWhenScroll:function(){if(!this.isHidden()){var t=this.bubbleDom.dataset.scrollTop-this.getScrollTop();this.bubbleDom.style.marginTop="".concat(t,"px")}},getScrollTop:function(){return this.codemirror.getScrollInfo().top},showBubble:function(){var t=this.getLastSelectedPosition().top;this.isHidden()&&(this.toggleBubbleDisplay(),this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=this.getScrollTop()),t>this.codemirror.getWrapperElement().clientHeight-this.bubbleDom.getBoundingClientRect().height-15?(this.bubbleDom.style.top="",this.bubbleDom.style.bottom="".concat(15,"px")):(this.bubbleDom.style.top="".concat(t,"px"),this.bubbleDom.style.bottom="")},initBubble:function(){var t,e;if(this.bubbleDom)return this.bubbleDom.setAttribute("data-type","md"),!0;var n=Xf("div","cherry-bubble cherry-bubble--centered cherry-switch-paste");n.style.display="none";var r=Xf("span","cherry-toolbar-button cherry-text-btn",{title:this.locale.pastePlain});r.innerText="TEXT";var i=Xf("span","cherry-toolbar-button cherry-md-btn",{title:this.locale.pasteMarkdown});i.innerText="Markdown";var a=Xf("span","switch-btn--bg");this.bubbleDom=n,this.switchText=r,this.switchMd=i,this.switchBG=a,this.bubbleDom.appendChild(r),this.bubbleDom.appendChild(i),this.bubbleDom.appendChild(a),this.bubbleDom.setAttribute("data-type","md"),this.codemirror.getWrapperElement().appendChild(this.bubbleDom),this.switchMd.addEventListener("click",Ps(t=this.switchMDClick).call(t,this)),this.switchText.addEventListener("click",Ps(e=this.switchTextClick).call(e,this))},switchMDClick:function(t){this.setTypeToLocalStorage("md"),"md"!==this.bubbleDom.getAttribute("data-type")&&(this.noHide=!0,this.bubbleDom.setAttribute("data-type","md"),this.codemirror.doc.replaceSelection(this.md),this.setSelection(),this.showBubble(),this.noHide=!1)},switchTextClick:function(t){this.setTypeToLocalStorage("text"),"text"!==this.bubbleDom.getAttribute("data-type")&&(this.noHide=!0,this.bubbleDom.setAttribute("data-type","text"),this.codemirror.doc.replaceSelection(this.html),this.setSelection(),this.showBubble(),this.noHide=!1)},getLastSelectedPosition:function(){var t=kh(this.codemirror.getWrapperElement().getElementsByClassName("CodeMirror-selected")),e=0,n=0;if(t.length<=0)return this.hideBubble(),{};for(var r=0;r<t.length;r++){var i=t[r].getBoundingClientRect(),a=i.left+i.width/2,o=i.top+i.height;o>n&&a>=e&&(n=o),a>e&&(e=a)}return{top:n}}},Vf=qf;function Wf(t,e,n,r){return t.addEventListener?(t.addEventListener(e,n,r),!0):t.attachEvent?t.attachEvent("on".concat(e),n):void(t["on".concat(e)]=n)}function Yf(t,e,n,r){if(t.removeEventListener)t.removeEventListener(e,n,r);else{if(t.detachEvent)return t.detachEvent("on".concat(e),n);t["on".concat(e)]=null}}var Jf=new Proxy({},{get:function(t,e,n){return function(){}}});var Zf=new(function(){function t(){var e;bo(this,t),Ms(this,"Events",{previewerClose:"previewer:close",previewerOpen:"previewer:open",editorClose:"editor:close",editorOpen:"editor:open",toolbarHide:"toolbar:hide",toolbarShow:"toolbar:show",cleanAllSubMenus:"cleanAllSubMenus"}),Ms(this,"emitter",{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(t){t(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}})}return hs(t,[{key:"on",value:function(t,e,n){var r;this.emitter.on(Fs(r="".concat(t,":")).call(r,e),n)}},{key:"emit",value:function(t,e){var n;this.emitter.emit(Fs(n="".concat(t,":")).call(n,e))}}]),t}());function td(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"image",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"*",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=document.createElement("input");i.type="file",i.id="fileUpload",i.value="",i.style.display="none",i.accept=n,i.addEventListener("change",(function(n){var i=wf(n.target.files,1)[0];t.options.fileUpload(i,(function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof n&&n){if(r)return r(i.name,n,a);var o,s="";if("image"===e)s=Fs(o="![".concat(i.name,"](")).call(o,n,")");else if("video"===e){var c;s=Fs(c="!video[".concat(i.name,"](")).call(c,n,")")}else if("audio"===e){var l;s=Fs(l="!audio[".concat(i.name,"](")).call(l,n,")")}else{var u;s=Fs(u="[".concat(i.name,"](")).call(u,n,")")}t.editor.doc.replaceSelection(s)}}))})),i.click()}function ed(t){var e=[];return t.isBorder&&e.push("#B"),t.isShadow&&e.push("#S"),t.isRadius&&e.push("#R"),t.width&&e.push("#".concat(t.width)),t.height&&(t.width||e.push("#auto"),e.push("#".concat(t.height))),e.join(" ")}function nd(t,e,n){var r,i,a,o,s=e.name?e.name:n.name,c="",l="";/video/i.test(n.type)&&(c="!video",l=e.poster?"{poster=".concat(e.poster,"}"):""),/audio/i.test(n.type)&&(c="!audio"),/image/i.test(n.type)&&(c="!");var u=c?ed(e):"";return Fs(r=Fs(i=Fs(a=Fs(o="".concat(c,"[")).call(o,s)).call(a,u,"](")).call(i,t,")")).call(r,l)}function rd(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function id(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=rd(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=rd(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}function ad(t,e,n){var r=t.begin+t.content+t.end;return n&&(r=r.replace(/\[\\h\]/g,sd).replace(/\\h/g,sd)),new RegExp(r,e||"g")}function od(){try{return new RegExp("(?<=.)"),!0}catch(t){}return!1}var sd="[ \\t\\u00a0]",cd="(?:[^\\n]*?\\S[^\\n]*?)",ld="[\\u0021-\\u002F\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e]",ud="[\\u0021-\\u002F\\u003a-\\u0040\\u005b\\u005d\\u005e\\u0060\\u007b-\\u007e \\t\\n!“”¥‘’(),。—:;《》?【】「」·~|]",hd=new RegExp([/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+/.source,"@",/[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*/.source].join("")),fd=new RegExp("^".concat(hd.source,"$")),dd=new RegExp('(?:\\S+(?::\\S*)?@)?(?:(?:1\\d\\d|2[01]\\d|22[0-3]|[1-9]\\d?)(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:1\\d\\d|2[0-4]\\d|25[0-4]|[1-9]\\d?))|(?![-_])(?:[-\\w\\xa1-\\xff]{0,63}[^-_]\\.)+(?:[a-zA-Z\\xa1-\\xff]{2,}\\.?))(?::\\d{2,5})?(?:[/?#][^\\s<>\\x00-\\x1f"\\(\\)]*)?'),Ad=new RegExp("(?:\\/\\/)".concat(dd.source)),pd=new RegExp("^".concat(dd.source,"$")),gd=new RegExp("^".concat(Ad.source,"$")),md=/([ \t]*)([*+-][ ](\[[ x]\])?|[a-z0-9I一二三四五六七八九十零]+\.)([^\r\n]*)/;function bd(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n={begin:"(?:^|\\n)(\\n*)",content:["(\\h*\\|[^\\n]+\\|?\\h*)","\\n","(?:(?:\\h*\\|\\h*:?[-]{1,}:?\\h*)+\\|?\\h*)","((\\n\\h*\\|[^\\n]+\\|?\\h*)*)"].join(""),end:"(?=$|\\n)"};n.reg=ad(n,"g",!0);var r={begin:"(?:^|\\n)(\\n*)",content:["(\\|?[^\\n|]+(\\|[^\\n|]+)+\\|?)","\\n","(?:\\|?\\h*:?[-]{1,}:?[\\h]*(?:\\|[\\h]*:?[-]{1,}:?\\h*)+\\|?)","((\\n\\|?([^\\n|]+(\\|[^\\n|]*)+)\\|?)*)"].join(""),end:"(?=$|\\n)"};return r.reg=ad(r,"g",!0),!1===e?{strict:n,loose:r}:ad({begin:"",content:Fs(t="(?:".concat(n.begin+n.content+n.end,"|")).call(t,r.begin+r.content+r.end,")"),end:""},"g",!0)}function vd(){var t={begin:/(?:^|\n)(\n*((?:>[\t ]*)*)(?:[^\S\n]*))(`{3,})([^`]*?)\n/,content:/([\w\W]*?)/,end:/[^\S\n]*\3[ \t]*(?=$|\n+)/,reg:new RegExp("")};return t.reg=new RegExp(t.begin.source+t.content.source+t.end.source,"g"),id(id({},t),{},{begin:t.begin.source,content:t.content.source,end:t.end.source})}function yd(t,e){var n=t||"Item 1\n Item 1.1\nItem 2";n=n.replace(/^\n+/,"").replace(/\n+$/,"");var r="1.";switch(e){case"ol":r="1.";break;case"ul":r="-";break;case"checklist":r="- [x]"}if(n=n.replace(/^(\s*)([0-9a-zA-Z]+\.|- \[x\]|- \[ \]|-) /gm,"$1"),"1."===r){var i={};n=n.replace(/^(\s*)(\S[\s\S]*?)$/gm,(function(t,e,n){var r,a,o,s=(null===(r=e.match(/[ \t]/g))||void 0===r?void 0:r.length)||0;return i[s]=i[s]?i[s]+1:1,Fs(a=Fs(o="".concat(e)).call(o,i[s],". ")).call(a,n)}))}else n=n.replace(/^(\s*)(\S[\s\S]*?)$/gm,"$1".concat(r," $2"));return n}function wd(){var t={begin:/(?:^|\n)(\n*(?:[^\S\n]*)):::([^:][^\n]+?)\s*\n/,content:/([\w\W]*?)/,end:/\n[ \t]*:::[ \t]*(?=$|\n+)/};return t.reg=new RegExp(t.begin.source+t.content.source+t.end.source,"g"),t}function Td(){var t={begin:/(?:^|\n)(\n*(?:[^\S\n]*))\+\+\+([-]{0,1})\s+([^\n]+)\n/,content:/([\w\W]+?)/,end:/\n[ \t]*\+\+\+[ \t]*(?=$|\n+)/};return t.reg=new RegExp(t.begin.source+t.content.source+t.end.source,"g"),t}var kd=/(!\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,)([^)]+)\)/g,Cd=/(!\[[^\n]*?\]\([^)]+\)\{[^}]* data-xml=)([^}]+)\}/g,Ed=/(!\[[^\n]*?\]\(data:image\/[a-z]{1,10};base64,[^)]+\)\{data-type=drawio data-xml=[^}]+\})/g,xd=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(vd().reg,(function(t){return t.replace(/^.*$/gm,"/n")})).replace(/(`+)(.+?(?:\n.+?)*?)\1/g,(function(t){return t.replace(/[![\]()]/g,".")}))};function _d(t){(function(t){var e=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)/,n=/^(\s*)([I一二三四五六七八九十]+)\.(\s+)$/;if(t.getOption("disableInput"))return!1;for(var r=t.listSelections(),i=[],a=0;a<r.length;a++){var o=r[a].head,s=t.getLine(o.line),c=e.exec(s),l=/^\s*$/.test(Cf(s).call(s,0,o.ch));if(!r[a].empty()||l||!c)return;if(n.test(s))t.replaceRange("",{line:o.line,ch:0},{line:o.line,ch:o.ch+1}),i[a]="\n";else{var u,h=c[1],f=c[3];i[a]=Fs(u="\n".concat(h,"I.")).call(u,f)}}return t.replaceSelections(i),!0})(t)||t.execCommand("newlineAndIndentContinueMarkdownList")}var Bd=["codemirror"],Sd=function(){function t(e){var n=this;bo(this,t),Ms(this,"dealBigData",(function(){n.noChange?n.noChange=!1:(n.formatBigData2Mark(kd,"cm-url base64"),n.formatBigData2Mark(Cd,"cm-url drawio"))})),Ms(this,"formatBigData2Mark",(function(t,e){for(var r=n.editor,i=r.getSearchCursor(t),a=i.findNext();!1!==a;a=i.findNext()){var o,s,c=i.from();if(c){var l=null!==(o=a[2])&&void 0!==o?o:"",u=c.ch+(null===(s=a[1])||void 0===s?void 0:s.length),h=u+l.length,f=c.line,d={line:f,ch:u},A={line:f,ch:h};if(!(r.findMarks(d,A).length>0)){var p=Xf("span","cm-string ".concat(e),{title:l});p.textContent=l,n.noChange=!0,r.markText(d,A,{replacedWith:p,atomic:!0})}}}})),Ms(this,"onKeyup",(function(t,e){var r=e.getCursor().line;n.previewer.highlightLine(r+1)})),Ms(this,"onScroll",(function(t){if(Zf.emit(n.instanceId,Zf.Events.cleanAllSubMenus),n.disableScrollListener)n.disableScrollListener=!1;else{var e=t.getScrollerElement();if(e.scrollTop<=0)n.previewer.scrollToLineNum(0);else if(e.scrollTop+e.clientHeight>=e.scrollHeight-20)n.previewer.scrollToLineNum(null);else{var r=t.getScrollInfo().top,i=t.lineAtHeight(r,"local"),a=t.charCoords({line:i,ch:0},"local"),o=t.getLineHandle(i).height,s=100*(r-(a.bottom-o))/o/100;n.previewer.scrollToLineNum(i+1,s)}}})),Ms(this,"onMouseDown",(function(t,e){Zf.emit(n.instanceId,Zf.Events.cleanAllSubMenus);var r=t.getCursor().line,i=Math.abs(e.y-t.getWrapperElement().getBoundingClientRect().y);n.previewer.scrollToLineNumWithOffset(r+1,i)})),Ms(this,"onCursorActivity",(function(){n.refreshWritingStatus()})),this.options={id:"code",name:"code",autoSave2Textarea:!1,editorDom:document.createElement("div"),wrapperDom:null,autoScrollByCursor:!0,convertWhenPaste:!0,codemirror:{lineNumbers:!1,cursorHeight:.85,indentUnit:4,tabSize:4,mode:"gfm",lineWrapping:!0,indentWithTabs:!0,autofocus:!0,theme:"default",autoCloseTags:!0,extraKeys:{Enter:_d},matchTags:{bothTags:!0},placeholder:"",keyMap:"sublime"},toolbars:{},onKeydown:function(){},onChange:function(){},onFocus:function(){},onBlur:function(){},onPaste:this.onPaste,onScroll:this.onScroll},this.animation={};var r=e.codemirror,i=Ru(e,Bd);r&&Gu(this.options.codemirror,r),Gu(this.options,i),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId()}return hs(t,[{key:"onPaste",value:function(t,e){var n=t.clipboardData;n?this.handlePaste(t,n,e):(n=window.clipboardData,this.handlePaste(t,n,e))}},{key:"handlePaste",value:function(t,e,n){for(var r,i=this,a=e.items,o=e.types||[],s=n.getDoc(),c=function(){var e=a[l];if(e&&"file"===e.kind&&e.type.match(/^image\//i)){var n=e.getAsFile();i.options.fileUpload(n,(function(t,e){if("string"==typeof t){var r=nd(t,e,n);s.replaceSelection(r)}})),t.preventDefault()}},l=0;l<o.length;l++)c();var u=e.getData("text/plain"),h=e.getData("Text/Html");if(!h||!this.options.convertWhenPaste)return!0;var f=h.replace(/<(html|head|body|!)/g,"");if((null===(r=f.match(/<[a-zA-Z]/g))||void 0===r?void 0:r.length)<=1&&/<img/.test(f))return!0;var d=document.createElement("DIV");d.innerHTML=h,h=d.innerHTML;var A=Nf.run(h);if("string"==typeof A&&ih(A).call(A).length>0){var p=n.listSelections();if(n.getSelections().length<=1&&p[0]&&p[0].anchor){var g={};g.line=p[0].anchor.line,g.ch=p[0].anchor.ch,s.replaceSelection(A),Vf.showSwitchBtnAfterPasteHtml(this.$cherry,g,n,u,A)}else s.replaceSelection(A);t.preventDefault()}d=null}},{key:"init",value:function(t){var e=this,n=this.options.editorDom.querySelector("#".concat(this.options.id));if(!(n instanceof HTMLTextAreaElement))throw new Error("The specific element is not a textarea.");var r=Gh.fromTextArea(n,this.options.codemirror);r.addOverlay({name:"invisibles",token:function(t){var e,n=0,r=" "===t.peek();if(r){for(;r&&n<Number.MAX_VALUE;)n+=1,t.next(),r=" "===t.peek();e="whitespace whitespace-".concat(n)}else{for(;!t.eol();)t.next();e=""}return e}}),this.previewer=t,this.disableScrollListener=!1,this.options.value&&r.setOption("value",this.options.value),r.on("blur",(function(t,n){e.options.onBlur(n,t)})),r.on("focus",(function(t,n){e.options.onFocus(n,t)})),r.on("change",(function(t,n){e.options.onChange(n,t),e.dealBigData(),e.options.autoSave2Textarea&&t.save()})),r.on("keydown",(function(t,n){e.options.onKeydown(n,t)})),r.on("keyup",(function(t,n){e.onKeyup(n,t)})),r.on("paste",(function(t,n){e.options.onPaste.call(e,n,t)})),this.options.autoScrollByCursor&&r.on("mousedown",(function(t,n){Xs((function(){e.onMouseDown(t,n)}))})),r.on("drop",(function(t,n){var r=n.dataTransfer.files||[];r&&r.length>0&&Xs((function(){for(var n=function(n){var i=r[n],a=i.type||"";if(""===a||/^text/i.test(a))return 1;e.options.fileUpload(i,(function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof r){t.setSelection(t.getCursor());var o=nd(r,a,i),s=n>0?"\n".concat(o," "):"".concat(o," ");t.replaceSelection(s),e.dealBigData()}}))},i=0;i<r.length;i++)n(i)}),50)})),r.on("scroll",(function(t){e.options.onScroll(t),"focus"===e.options.writingStyle&&e.refreshWritingStatus()})),r.on("cursorActivity",(function(){e.onCursorActivity()})),Wf(this.getEditorDom(),"wheel",(function(){e.disableScrollListener=!1,cancelAnimationFrame(e.animation.timer),e.animation.timer=0}),!1),this.editor=r,"normal"!==this.options.writingStyle&&this.initWritingStyle()}},{key:"jumpToLine",value:function(t,e,n){var r=this;if(null===t)return cancelAnimationFrame(this.animation.timer),this.disableScrollListener=!0,this.editor.scrollIntoView({line:this.editor.lineCount()-1,ch:1}),void(this.animation.timer=0);var i=this.editor.charCoords({line:t,ch:0},"local"),a=i.top;if(a+=(this.editor.charCoords({line:t+e,ch:0},"local").top-i.top)*n,this.animation.destinationTop=Math.ceil(a-15),!this.animation.timer){this.animation.timer=requestAnimationFrame((function t(){var e=r.editor.getScrollInfo().top,n=r.animation.destinationTop-e,i=Math.ceil(Math.min(Math.abs(n),Math.max(1,Math.abs(n)/(100/16.7))));if(n>0){if(e>=r.animation.destinationTop)return void(r.animation.timer=0);r.disableScrollListener=!0,r.editor.scrollTo(null,e+i)}else{if(!(n<0))return void(r.animation.timer=0);if(e<=r.animation.destinationTop||e<=0)return void(r.animation.timer=0);r.disableScrollListener=!0,r.editor.scrollTo(null,e-i)}e===r.editor.getScrollInfo().top||i>=Math.abs(n)?r.animation.timer=0:r.animation.timer=requestAnimationFrame(t)}))}}},{key:"scrollToLineNum",value:function(t,e,n){if(null!==t){var r=Math.max(0,t);this.jumpToLine(r,e,n),Jf.log("滚动预览区域,左侧应scroll to ",r)}else this.jumpToLine(null)}},{key:"getEditorDom",value:function(){return this.options.editorDom}},{key:"addListener",value:function(t,e){this.editor.on(t,e)}},{key:"initWritingStyle",value:function(){var t,e,n=this.options.writingStyle,r="cherry-editor-writing-style--".concat(n),i=this.getEditorDom();ao(t=ta(e=kh(i.classList)).call(e,(function(t){return Ph(t).call(t,"cherry-editor-writing-style--")}))).call(t,(function(t){return i.classList.remove(t)})),"normal"!==n&&(i.classList.add(r),this.refreshWritingStatus())}},{key:"refreshWritingStatus",value:function(){var t,e,n=this.options.writingStyle,r="cherry-editor-writing-style--".concat(n),i=document.querySelector("#cherry-editor-writing-style")||document.createElement("style");i.id="cherry-editor-writing-style",Kh(t=kh(document.head.childNodes)).call(t,(function(t){return t===i}))||document.head.appendChild(i);var a=i.sheet;if(ao(e=kh(Array(a.cssRules.length))).call(e,(function(){return a.deleteRule(0)})),"focus"===n){var o,s,c=this.getEditorDom().getBoundingClientRect(),l=this.editor.charCoords(this.editor.getCursor()),u=l.top,h=l.bottom,f=u-c.top,d=c.height-(h-c.top);a.insertRule(Fs(o=".".concat(r,"::before { height: ")).call(o,f>0?f:0,"px; }"),0),a.insertRule(Fs(s=".".concat(r,"::after { height: ")).call(s,d>0?d:0,"px; }"),0)}if("typewriter"===n){var A,p,g=this.editor.getScrollInfo().clientHeight/2;a.insertRule(Fs(A=".".concat(r," .CodeMirror-lines::before { height: ")).call(A,g,"px; }"),0),a.insertRule(Fs(p=".".concat(r," .CodeMirror-lines::after { height: ")).call(p,g,"px; }"),0),this.editor.scrollTo(null,this.editor.cursorCoords(null,"local").top-g)}}},{key:"setWritingStyle",value:function(t){this.options.writingStyle=t,this.initWritingStyle()}}]),t}(),Ld=qr.findIndex,Id="findIndex",Md=!0;Id in[]&&Array(1)[Id]((function(){Md=!1})),jn({target:"Array",proto:!0,forced:Md},{findIndex:function(t){return Ld(this,t,arguments.length>1?arguments[1]:void 0)}}),Ha();var Od=Wi("Array").findIndex,Nd=Array.prototype,Dd=function(t){var e=t.findIndex;return t===Nd||ct(Nd,t)&&e===Nd.findIndex?Od:e},Fd=Dd,Pd=TypeError,Rd=function(t,e){if(!delete t[e])throw Pd("Cannot delete property "+dt(e)+" of "+dt(t))},Qd=Xi("splice"),Ud=Math.max,Hd=Math.min;jn({target:"Array",proto:!0,forced:!Qd},{splice:function(t,e){var n,r,i,a,o,s,c=_t(this),l=bn(c),u=mn(t,l),h=arguments.length;for(0===h?n=r=0:1===h?(n=0,r=l-u):(n=h-2,r=Hd(Ud(fn(e),0),l-u)),To(l+n-r),i=Fr(c,r),a=0;a<r;a++)(o=u+a)in c&&lr(i,a,c[o]);if(i.length=r,n<r){for(a=u;a<l-r;a++)s=a+n,(o=a+r)in c?c[s]=c[o]:Rd(c,s);for(a=l;a>l-r+n;a--)Rd(c,a-1)}else if(n>r)for(a=l-r;a>u;a--)s=a+n-1,(o=a+r-1)in c?c[s]=c[o]:Rd(c,s);for(a=0;a<n;a++)c[a+u]=arguments[a+2];return tf(c,l-r+n),i}});var jd=Wi("Array").splice,$d=Array.prototype,Kd=function(t){var e=t.splice;return t===$d||ct($d,t)&&e===$d.splice?jd:e},Gd=Kd,zd=!1,Xd={SEN:"sentence",PAR:"paragraph",DEFAULT:"sentence"},qd=t("SyntaxHookBase",function(){function t(e){bo(this,t),Ms(this,"$engine",void 0),Ms(this,"$locale",void 0),this.RULE=this.rule(e)}return hs(t,[{key:"getType",value:function(){return this.constructor.HOOK_TYPE||Xd.DEFAULT}},{key:"getName",value:function(){return this.constructor.HOOK_NAME}},{key:"afterInit",value:function(t){"function"==typeof t&&t()}},{key:"setLocale",value:function(t){this.$locale=t}},{key:"beforeMakeHtml",value:function(t){return t}},{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){return t}},{key:"onKeyDown",value:function(t,e){}},{key:"getOnKeyDown",value:function(){return this.onKeyDown||!1}},{key:"getAttributesTest",value:function(){return/^(color|fontSize|font-size|id|title|class|target|underline|line-through|overline|sub|super)$/}},{key:"$testAttributes",value:function(t,e){this.getAttributesTest().test(t)&&e()}},{key:"getAttributes",value:function(t){return{attrs:{},str:t}}},{key:"test",value:function(t){return!!this.RULE.reg&&this.RULE.reg.test(t)}},{key:"rule",value:function(t){return{begin:"",end:"",content:"",reg:new RegExp("")}}},{key:"mounted",value:function(){}}],[{key:"getMathJaxConfig",value:function(){return zd}},{key:"setMathJaxConfig",value:function(t){zd=t}}]),t}());Ms(qd,"HOOK_NAME","default"),Ms(qd,"HOOK_TYPE",Xd.DEFAULT);var Vd=qr.map,Wd=Xi("map");jn({target:"Array",proto:!0,forced:!Wd},{map:function(t){return Vd(this,t,arguments.length>1?arguments[1]:void 0)}});var Yd=Wi("Array").map,Jd=Array.prototype,Zd=function(t){var e=t.map;return t===Jd||ct(Jd,t)&&e===Jd.map?Yd:e},tA=Zd;function eA(t,e){var n,r,i,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return/^\n/.test(t)?a?(null!==(n=null===(r=t.match(/^\n+/g))||void 0===r||null===(i=r[0])||void 0===i?void 0:i.length)&&void 0!==n?n:0)>1?"\n\n".concat(e):"\n".concat(e):"\n\n".concat(e):e}function nA(t,e){var n=(t.match(/\n/g)||[]).length;return""!==t&&(n-=2),n+e}var rA=zh;function iA(t,e){if(rA(e))return e}function aA(t){return"undefined"!=typeof localStorage&&null!==localStorage.getItem("cherry-".concat(t))}function oA(){var t="false";return"undefined"!=typeof localStorage&&(t=localStorage.getItem("cherry-classicBr")),"true"===t}function sA(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e="default";if("undefined"!=typeof localStorage){var n=localStorage.getItem("cherry-theme");n&&(e=n)}return t?"theme__".concat(e):e}function cA(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=(e||sA()).replace(/^.*theme__/,""),r=" theme__".concat(n);t.wrapperDom.className=t.wrapperDom.className.replace(/ theme__[^ $]+?( |$)/g,"")+r,t.previewer.getDomContainer().className=t.previewer.getDomContainer().className.replace(/ theme__[^ $]+?( |$)/g,"")+r,function(t){"undefined"!=typeof localStorage&&localStorage.setItem("cherry-theme",t)}(n)}var lA=RangeError,uA=String.fromCharCode,hA=String.fromCodePoint,fA=T([].join),dA=!!hA&&1!==hA.length;jn({target:"String",stat:!0,arity:1,forced:dA},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;r>i;){if(e=+arguments[i++],mn(e,1114111)!==e)throw lA(e+" is not a valid code point");n[i]=e<65536?uA(e):uA(55296+((e-=65536)>>10),e%1024+56320)}return fA(n,"")}});var AA,pA,gA=X.String.fromCodePoint;function mA(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function bA(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=mA(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=mA(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}var vA={"<":"<",">":">","&":"&",'"':""","'":"'"},yA={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},wA=bA(bA(bA(bA(bA(bA({},{34:""",38:"&",39:"'",60:"<",62:">"}),{192:"À",193:"Á",194:"Â",195:"Ã",196:"Ä",197:"Å",198:"Æ",199:"Ç",200:"È",201:"É",202:"Ê",203:"Ë",204:"Ì",205:"Í",206:"Î",207:"Ï",208:"Ð",209:"Ñ",210:"Ò",211:"Ó",212:"Ô",213:"Õ",214:"Ö",216:"Ø",217:"Ù",218:"Ú",219:"Û",220:"Ü",221:"Ý",222:"Þ",223:"ß",224:"à",225:"á",226:"â",227:"ã",228:"ä",229:"å",230:"æ",231:"ç",232:"è",233:"é",234:"ê",235:"ë",236:"ì",237:"í",238:"î",239:"ï",240:"ð",241:"ñ",242:"ò",243:"ó",244:"ô",245:"õ",246:"ö",248:"ø",249:"ù",250:"ú",251:"û",252:"ü",253:"ý",254:"þ",255:"ÿ"}),{160:" ",161:"¡",162:"¢",163:"£",164:"¤",165:"¥",166:"¦",167:"§",168:"¨",169:"©",170:"ª",171:"«",172:"¬",173:"­",174:"®",175:"¯",176:"°",177:"±",178:"²",179:"³",180:"´",181:"µ",182:"¶",184:"¸",185:"¹",186:"º",187:"»",188:"¼",189:"½",190:"¾",191:"¿",215:"×",247:"÷"}),{8704:"∀",8706:"∂",8707:"∃",8709:"∅",8711:"∇",8712:"∈",8713:"∉",8715:"∋",8719:"∏",8721:"∑",8722:"−",8727:"∗",8730:"√",8733:"∝",8734:"∞",8736:"∠",8743:"∧",8744:"∨",8745:"∩",8746:"∪",8747:"∫",8756:"∴",8764:"∼",8773:"≅",8776:"≈",8800:"≠",8801:"≡",8804:"≤",8805:"≥",8834:"⊂",8835:"⊃",8836:"⊄",8838:"⊆",8839:"⊇",8853:"⊕",8855:"⊗",8869:"⊥",8901:"⋅"}),{913:"Α",914:"Β",915:"Γ",916:"Δ",917:"Ε",918:"Ζ",919:"Η",920:"Θ",921:"Ι",922:"Κ",923:"Λ",924:"Μ",925:"Ν",926:"Ξ",927:"Ο",928:"Π",929:"Ρ",931:"Σ",932:"Τ",933:"Υ",934:"Φ",935:"Χ",936:"Ψ",937:"Ω",945:"α",946:"β",947:"γ",948:"δ",949:"ε",950:"ζ",951:"η",952:"θ",953:"ι",954:"κ",955:"λ",956:"μ",957:"ν",958:"ξ",959:"ο",960:"π",961:"ρ",962:"ς",963:"σ",964:"τ",965:"υ",966:"φ",967:"χ",968:"ψ",969:"ω",977:"ϑ",978:"ϒ",982:"ϖ"}),{338:"Œ",339:"œ",352:"Š",353:"š",376:"Ÿ",402:"ƒ",710:"ˆ",732:"˜",8194:" ",8195:" ",8201:" ",8204:"‌",8205:"‍",8206:"‎",8207:"‏",8211:"–",8212:"—",8216:"‘",8217:"’",8218:"‚",8220:"“",8221:"”",8222:"„",8224:"†",8225:"‡",8226:"•",8230:"…",8240:"‰",8242:"′",8243:"″",8249:"‹",8250:"›",8254:"‾",8364:"€",8482:"™",8592:"←",8593:"↑",8594:"→",8595:"↓",8596:"↔",8629:"↵",8968:"⌈",8969:"⌉",8970:"⌊",8971:"⌋",9674:"◊",9824:"♠",9827:"♣",9829:"♥",9830:"♦"}),TA=ar(wA),kA=tA(TA).call(TA,(function(t){return wA[t].replace(/^&(\w+);$/g,(function(t,e){return e.toLowerCase()}))})),CA=function(t){return"string"!=typeof t||t.length<=0},EA=function(t){try{var e=gA(t);return!CA(e)}catch(t){return!1}};var xA=["h1|h2|h3|h4|h5|h6","ul|ol|li|dd|dl|dt","table|thead|tbody|tfoot|col|colgroup|th|td|tr","div|article|section|footer|aside|details|summary|code|audio|video|canvas|figure","address|center|cite|p|pre|blockquote|marquee|caption|figcaption|track|source|output|svg"].join("|"),_A=["span|a|link|b|s|i|del|u|em|strong|sup|sub|kbd","nav|font|bdi|samp|map|area|small|time|bdo|var|wbr|meter|dfn","ruby|rt|rp|mark|q|progress|input|textarea|select|ins"].join("|"),BA=new RegExp(Fs(AA=Fs(pA="^(".concat(xA,"|")).call(pA,_A,"|")).call(AA,"br|img|hr",")( |$|/)"),"i");function SA(t,e){return"string"!=typeof t?"":e?t.replace(/[<>&]/g,(function(t){return vA[t]||t})):t.replace(/[<>&"']/g,(function(t){return vA[t]||t}))}function LA(t,e){if("string"!=typeof t)return"";var n=IA(t);return n=function(t){return"string"!=typeof t?"":t.replace(/&(\w+);?/g,(function(t,e){return yA[e]||t}))}(n),SA(n,e)}function IA(t){return t.replace(/&#(\d+);?/g,(function(t,e){return wA[e]||t}))}function MA(t){var e=function(t){return t.replace(/&#x([0-9a-f]+);?/gi,(function(t,e){var n=Mf("0x".concat(e),16);try{return gA(n)}catch(e){return t}}))}(function(t){return t.replace(/&#(\d+);?/g,(function(t,e){try{return gA(e)}catch(e){return t}}))}(t)).match(/^\s*([\w\W]+?)(?=:)/i);if(!e)return!0;var n=["javascript","data"],r=e[1].replace(/[\s]/g,"");return-1===Tf(n).call(n,r.toLowerCase())}function OA(t){return encodeURI(t).replace(/%25/g,"%")}function NA(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var DA=0,FA=function(t){Es(n,t);var e=NA(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{needCache:!1},i=r.needCache,a=r.defaultCache,o=void 0===a?{}:a;return bo(this,n),(t=e.call(this,{})).needCache=!!i,t.sign="",i&&(t.cache=o||{},t.cacheKey="~~C".concat(DA),DA+=1),t}return hs(n,[{key:"initBrReg",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.classicBr=aA("classicBr")?oA():t,this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(t){var e=t.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?e:this.joinRawHtml(e).replace(/\n/g,"<br>").replace(/\r/g,"\n")}},{key:"joinRawHtml",value:function(t){if(!this.removeBrAfterBlock){var e,n,r,i,a=null!==(e=null===(n=this.$engine.htmlWhiteListAppend)||void 0===n?void 0:n.split("|"))&&void 0!==e?e:[];a=ta(r=tA(a).call(a,(function(t){return/[a-z-]+/gi.test(t)?t:null}))).call(r,(function(t){return null!==t}));var o=Fs(a).call(a,xA).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(o,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(o,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(Fs(i="<\\/(".concat(o,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(i,o,")(>| [^>]*?>)"),"ig")}return t.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"</$1>").replace(this.removeNewlinesBetweenTags,"</$1>\r$2<$3$4")}},{key:"toHtml",value:function(t,e){return t}},{key:"makeHtml",value:function(t,e){return e(t).html}},{key:"afterMakeHtml",value:function(t){return this.restoreCache(t)}},{key:"isContainsCache",value:function(t,e){if(e){var r=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(t),i=new RegExp("~~C\\d+I".concat(n.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(t);return r&&!i}return new RegExp("~~C\\d+I(?!".concat(n.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(t)}},{key:"$splitHtmlByCache",value:function(t){var e=new RegExp("\\n*~~C\\d+I(?!".concat(n.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:t.match(e),contents:t.split(e)}}},{key:"makeExcludingCached",value:function(t,e){for(var n=this.$splitHtmlByCache(t),r=n.caches,i=n.contents,a=tA(i).call(i,e),o="",s=0;s<a.length;s++){var c;if(o+=a[s],r&&r[s])o+=ih(c=r[s]).call(c)}return o}},{key:"getCacheWithSpace",value:function(t,e){var n,r,i,a,o,s,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=null!==(n=null===(r=e.match(/^\n+/))||void 0===r?void 0:r[0])&&void 0!==n?n:"",u=null!==(i=null===(a=e.match(/\n+$/))||void 0===a?void 0:a[0])&&void 0!==i?i:"";return c?eA(e,t):Fs(o=Fs(s="".concat(l)).call(s,t)).call(o,u)}},{key:"getLineCount",value:function(t){var e,r,i,a=t,o=null!==(e=null===(r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").match(/^\n+/g))||void 0===r||null===(i=r[0])||void 0===i?void 0:i.length)&&void 0!==e?e:0;o=1===o?1:0,a=a.replace(/^\n+/g,"");var s=new RegExp("\n*~~C\\d+I(?:".concat(n.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),c=0;return a=a.replace(s,(function(t,e){return c+=Mf(e,10),t.replace(/^\n+/g,"")})),o+c+(a.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.needCache){var a=r||this.$engine.md5(t);return this.cache[a]={content:t,using:!0},Fs(e=Fs(n="".concat(this.cacheKey,"I")).call(n,a,"_L")).call(e,i,"$")}}},{key:"popCache",value:function(t){if(this.needCache)return this.cache[t].content||""}},{key:"resetCache",value:function(){if(this.needCache){for(var t=0,e=ar(this.cache);t<e.length;t++){var n=e[t];this.cache[n].using||delete this.cache[n]}for(var r=0,i=ar(this.cache);r<i.length;r++){var a=i[r];this.cache[a].using=!1}}}},{key:"restoreCache",value:function(t){var e,r=this;if(!this.needCache)return t;var i=new RegExp(Fs(e="".concat(this.cacheKey,"I((?:")).call(e,n.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+)\\$"),"g"),a=t.replace(i,(function(t,e){return r.popCache(e.replace(/_L\d+$/,""))}));return this.resetCache(),a}},{key:"checkCache",value:function(t,e){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.sign=this.$engine.md5(t),this.cache[this.sign]?(this.cache[this.sign].using=!0,Fs(n=Fs(r="".concat(this.cacheKey,"I")).call(r,this.sign,"_L")).call(n,i,"$")):this.toHtml(t,e)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(t){return!1}}]),n}(qd);Ms(FA,"HOOK_TYPE",Xd.PAR),Ms(FA,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),Ms(FA,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var PA=h((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})),RA=Object.isExtensible,QA=h((function(){RA(1)}))||PA?function(t){return!!mt(t)&&((!PA||"ArrayBuffer"!==E(t))&&(!RA||RA(t)))}:RA,UA=!h((function(){return Object.isExtensible(Object.preventExtensions({}))})),HA=QA,jA=UA,$A=r((function(t){var e=Ce.f,n=!1,r=Dt("meta"),i=0,a=function(t){e(t,r,{value:{objectID:"O"+i++,weakData:{}}})},o=t.exports={enable:function(){o.enable=function(){},n=!0;var t=fr.f,e=T([].splice),i={};i[r]=1,t(i).length&&(fr.f=function(n){for(var i=t(n),a=0,o=i.length;a<o;a++)if(i[a]===r){e(i,a,1);break}return i},jn({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Hr.f}))},fastKey:function(t,e){if(!mt(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Nt(t,r)){if(!HA(t))return"F";if(!e)return"E";a(t)}return t[r].objectID},getWeakData:function(t,e){if(!Nt(t,r)){if(!HA(t))return!0;if(!e)return!1;a(t)}return t[r].weakData},onFreeze:function(t){return jA&&n&&HA(t)&&!Nt(t,r)&&a(t),t}};wn[r]=!0}));$A.enable,$A.fastKey,$A.getWeakData,$A.onFreeze;var KA=TypeError,GA=function(t,e){this.stopped=t,this.result=e},zA=GA.prototype,XA=TypeError,qA=$A,VA=function(t,e,n){var r,i,a,o,s,c,l,u=n&&n.that,h=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),p=Se(e,u),g=function(t){return r&&ah(r,"normal",t),new GA(!0,t)},m=function(t){return h?(me(t),A?p(t[0],t[1],g):p(t[0],t[1])):A?p(t,g):p(t)};if(f)r=t.iterator;else if(d)r=t;else{if(!(i=lh(t)))throw KA(dt(t)+" is not iterable");if(fh(i)){for(a=0,o=bn(t);o>a;a++)if((s=m(t[a]))&&ct(zA,s))return s;return new GA(!1)}r=dh(t,i)}for(c=f?t.next:r.next;!(l=gt(c,r)).done;){try{s=m(l.value)}catch(t){ah(r,"throw",t)}if("object"==typeof s&&s&&ct(zA,s))return s}return new GA(!1)},WA=function(t,e){if(ct(e,t))return t;throw XA("Incorrect invocation")},YA=Ce.f,JA=qr.forEach,ZA=Xr.set,tp=Xr.getterFor,ep=jt("species"),np=function(t,e,n){for(var r in e)n&&n.unsafe&&t[r]?t[r]=e[r]:yr(t,r,e[r],n);return t},rp=function(t){var e=st(t);qt&&e&&!e[ep]&&$r(e,ep,{configurable:!0,get:function(){return this}})},ip=qA.fastKey,ap=Xr.set,op=Xr.getterFor,sp={getConstructor:function(t,e,n,r){var i=t((function(t,i){WA(t,a),ap(t,{type:e,index:Gn(null),first:void 0,last:void 0,size:0}),qt||(t.size=0),U(i)||VA(i,t[r],{that:t,AS_ENTRIES:n})})),a=i.prototype,o=op(e),s=function(t,e,n){var r,i,a=o(t),s=c(t,e);return s?s.value=n:(a.last=s={index:i=ip(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=s),r&&(r.next=s),qt?a.size++:t.size++,"F"!==i&&(a.index[i]=s)),t},c=function(t,e){var n,r=o(t),i=ip(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key===e)return n};return np(a,{clear:function(){for(var t=o(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,qt?t.size=0:this.size=0},delete:function(t){var e=this,n=o(e),r=c(e,t);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first===r&&(n.first=i),n.last===r&&(n.last=a),qt?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=o(this),r=Se(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),np(a,n?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),qt&&$r(a,"size",{configurable:!0,get:function(){return o(this).size}}),i},setStrong:function(t,e,n){var r=e+" Iterator",i=op(e),a=op(r);ja(t,e,(function(t,e){ap(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=a(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?$a("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=void 0,$a(void 0,!0))}),n?"entries":"values",!n,!0),rp(e)}},cp=function(t,e,n){var r,i=-1!==t.indexOf("Map"),a=-1!==t.indexOf("Weak"),o=i?"set":"add",s=q[t],c=s&&s.prototype,l={};if(qt&&K(s)&&(a||c.forEach&&!h((function(){(new s).entries().next()})))){r=e((function(e,n){ZA(WA(e,u),{type:t,collection:new s}),U(n)||VA(n,e[o],{that:e,AS_ENTRIES:i})}));var u=r.prototype,f=tp(t);JA(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"===t||"set"===t;!(t in c)||a&&"clear"===t||Le(u,t,(function(n,r){var i=f(this).collection;if(!e&&a&&!mt(n))return"get"===t&&void 0;var o=i[t](0===n?0:n,r);return e?this:o}))})),a||YA(u,"size",{configurable:!0,get:function(){return f(this).collection.size}})}else r=n.getConstructor(e,t,i,o),qA.enable();return zr(r,t,!1,!0),l[t]=r,jn({global:!0,forced:!0},l),a||n.setStrong(r,t,i),r};cp("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),sp);var lp=X.Map,up=function(t,e){return 1===e?function(e,n){return e[t](n)}:function(e,n,r){return e[t](n,r)}},hp=st("Map"),fp={Map:hp,set:up("set",2),get:up("get",1),has:up("has",1),remove:up("delete",1),proto:hp.prototype},dp=fp.Map,Ap=fp.has,pp=fp.get,gp=fp.set,mp=T([].push);jn({target:"Map",stat:!0,forced:kt},{groupBy:function(t,e){$(t),pt(e);var n=new dp,r=0;return VA(t,(function(t){var i=e(t,r++);Ap(n,i)?mp(pp(n,i),t):gp(n,i,[t])})),n}});var bp=lp,vp=bp,yp=[].push,wp=function(t){var e,n,r,i,a=arguments.length,o=a>1?arguments[1]:void 0;return Kn(this),(e=void 0!==o)&&pt(o),U(t)?new this:(n=[],e?(r=0,i=Se(o,a>2?arguments[2]:void 0),VA(t,(function(t){gt(yp,n,i(t,r++))}))):VA(t,yp,{that:n}),new this(n))};jn({target:"Map",stat:!0,forced:!0},{from:wp});var Tp=function(){return new this(Oe(arguments))};jn({target:"Map",stat:!0,forced:!0},{of:Tp});var kp=function(t){if("object"==typeof t&&"size"in t&&"has"in t&&"get"in t&&"set"in t&&"delete"in t&&"entries"in t)return t;throw TypeError(dt(t)+" is not a map")},Cp=fp.remove;jn({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=kp(this),n=!0,r=0,i=arguments.length;r<i;r++)t=Cp(e,arguments[r]),n=n&&t;return!!n}});var Ep=fp.get,xp=fp.has,_p=fp.set;jn({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var n,r,i=kp(this);return xp(i,t)?(n=Ep(i,t),"update"in e&&(n=e.update(n,t,i),_p(i,t,n)),n):(r=e.insert(t,i),_p(i,t,r),r)}});var Bp=function(t,e,n){for(var r,i,a=n?t:t.iterator,o=t.next;!(r=gt(o,a)).done;)if(void 0!==(i=e(r.value)))return i},Sp=function(t,e,n){return n?Bp(t.entries(),(function(t){return e(t[1],t[0])}),!0):t.forEach(e)};jn({target:"Map",proto:!0,real:!0,forced:!0},{every:function(t){var e=kp(this),n=Se(t,arguments.length>1?arguments[1]:void 0);return!1!==Sp(e,(function(t,r){if(!n(t,r,e))return!1}),!0)}});var Lp=fp.Map,Ip=fp.set;jn({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=kp(this),n=Se(t,arguments.length>1?arguments[1]:void 0),r=new Lp;return Sp(e,(function(t,i){n(t,i,e)&&Ip(r,i,t)})),r}}),jn({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=kp(this),n=Se(t,arguments.length>1?arguments[1]:void 0),r=Sp(e,(function(t,r){if(n(t,r,e))return{value:t}}),!0);return r&&r.value}}),jn({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=kp(this),n=Se(t,arguments.length>1?arguments[1]:void 0),r=Sp(e,(function(t,r){if(n(t,r,e))return{key:r}}),!0);return r&&r.key}});var Mp=function(t,e){return t===e||t!=t&&e!=e};jn({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===Sp(kp(this),(function(e){if(Mp(e,t))return!0}),!0)}});var Op=fp.Map;jn({target:"Map",stat:!0,forced:!0},{keyBy:function(t,e){var n=new(K(this)?this:Op);pt(e);var r=pt(n.set);return VA(t,(function(t){gt(r,n,e(t),t)})),n}}),jn({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=Sp(kp(this),(function(e,n){if(e===t)return{key:n}}),!0);return e&&e.key}});var Np=fp.Map,Dp=fp.set;jn({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=kp(this),n=Se(t,arguments.length>1?arguments[1]:void 0),r=new Np;return Sp(e,(function(t,i){Dp(r,n(t,i,e),t)})),r}});var Fp=fp.Map,Pp=fp.set;jn({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=kp(this),n=Se(t,arguments.length>1?arguments[1]:void 0),r=new Fp;return Sp(e,(function(t,i){Pp(r,i,n(t,i,e))})),r}});var Rp=fp.set;jn({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=kp(this),n=arguments.length,r=0;r<n;)VA(arguments[r++],(function(t,n){Rp(e,t,n)}),{AS_ENTRIES:!0});return e}});var Qp=TypeError;jn({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=kp(this),n=arguments.length<2,r=n?void 0:arguments[1];if(pt(t),Sp(e,(function(i,a){n?(n=!1,r=i):r=t(r,i,a,e)})),n)throw Qp("Reduce of empty map with no initial value");return r}}),jn({target:"Map",proto:!0,real:!0,forced:!0},{some:function(t){var e=kp(this),n=Se(t,arguments.length>1?arguments[1]:void 0);return!0===Sp(e,(function(t,r){if(n(t,r,e))return!0}),!0)}});var Up=TypeError,Hp=fp.get,jp=fp.has,$p=fp.set;jn({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var n=kp(this),r=arguments.length;pt(e);var i=jp(n,t);if(!i&&r<3)throw Up("Updating absent value");var a=i?Hp(n,t):pt(r>2?arguments[2]:void 0)(t,n);return $p(n,t,e(a,t,n)),n}});var Kp=TypeError,Gp=function(t,e){var n,r=me(this),i=pt(r.get),a=pt(r.has),o=pt(r.set),s=arguments.length>2?arguments[2]:void 0;if(!K(e)&&!K(s))throw Kp("At least one callback required");return gt(a,r,t)?(n=gt(i,r,t),K(e)&&(n=e(n),gt(o,r,t,n))):K(s)&&(n=s(),gt(o,r,t,n)),n};jn({target:"Map",proto:!0,real:!0,forced:!0},{upsert:Gp}),jn({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:Gp});var zp=vp;var Xp=Jn;function qp(t,e,n){var r;(function(){if("undefined"==typeof Reflect||!Xp)return!1;if(Xp.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Xp(Boolean,[],(function(){}))),!0}catch(t){return!1}})()?qp=ks(r=Xp).call(r):qp=function(t,e,n){var r=[null];sf(r).apply(r,e);var i=new(ks(Function).apply(t,r));return n&&Cs(i,n.prototype),i};return qp.apply(null,arguments)}function Vp(t){var e="function"==typeof zp?new zp:void 0;return Vp=function(t){if(null===t||!function(t){var e;return-1!==Fu(e=Function.toString.call(t)).call(e,"[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return qp(t,arguments,Is(this).constructor)}return n.prototype=gs(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Cs(n,t)},Vp(t)}function Wp(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Yp=function(t,e){if(!rA(t)&&ss(t)!==e.name.toLowerCase()||!rA(t)&&"array"===e.name.toLowerCase())throw new TypeError("parameter given must be ".concat(e.name));return!0},Jp=function(t,e){if(!(t instanceof e))throw new Error("the hook does not correctly inherit");return!0},Zp=function(t){if("object"!==ss(t))throw new Error("the hook must be a instance, not a class");return!0},tg=function(t){Es(n,t);var e=Wp(n);function n(t,r){var i;return bo(this,n),(i=e.call(this,t)).name="Error",i.stack=i.buildStackTrace(r),i}return hs(n,[{key:"buildStackTrace",value:function(t){var e,n=t&&t.stack?t.stack:"";return Fs(e="".concat(this.stack,"\nCaused By: ")).call(e,n)}}]),n}(Vp(Error));function eg(t,e,n){var r,i;if(-1===t)Jf.warn(Fs(r=Fs(i="Duplicate hook name [".concat(e.HOOK_NAME,"] found, hook [")).call(i,e.toString(),"] ")).call(r,isNaN(n)?"":"at index [".concat(n,"] "),"will not take effect."));else if(-2===t){var a;Jf.warn(Fs(a="Hook [".concat(e.toString(),"] ")).call(a,isNaN(n)?"":"at index [".concat(n,"] "),"is not a valid hook, and will not take effect."))}}function ng(t){return rg(t)||ig(t)}function rg(t){return Object.prototype.isPrototypeOf.call(qd,t)}function ig(t){return Object.prototype.isPrototypeOf.call(FA,t)}function ag(t){return ng(t)&&!0===(null==t?void 0:t.Cherry$$CUSTOM)}var og=function(){function t(e,n,r){bo(this,t),this.$locale=r.locale,this.hookList={},this.hookNameList={},Yp(e,Array),this.registerInternalHooks(e,n),this.registerCustomHooks(n.engine.customSyntax,n)}return hs(t,[{key:"registerInternalHooks",value:function(t,e){var n=this;ao(t).call(t,(function(t,r){eg(n.register(t,e),t,r)}))}},{key:"registerCustomHooks",value:function(t,e){var n=this;if(t){var r=ar(t);ao(r).call(r,(function(r){var i,a,o,s,c={},l=t[r];if(rg(l))a=l;else{if(!rg(s=null==(o=l)?void 0:o.syntaxClass)&&!ig(s))return;a=l.syntaxClass,c.force=Boolean(l.force),l.before?c.before=l.before:l.after&&(c.after=l.after)}ng(a)?(mo(a,"Cherry$$CUSTOM",{enumerable:!1,configurable:!1,writable:!1,value:!0}),i=n.register(a,e,c)):i=-2,eg(i,a,void 0)}))}}},{key:"getHookList",value:function(){return this.hookList}},{key:"getHookNameList",value:function(){return this.hookNameList}},{key:"register",value:function(t,e,n){var r,i,a=this,o=e.externals,s=e.engine,c=s.syntax;if(ng(t)){i=t.HOOK_NAME;var l=(null==c?void 0:c[i])||{};(r=new t({externals:o,config:l,globalConfig:s.global})).afterInit((function(){r.setLocale(a.$locale)}))}else{if("function"!=typeof t)return-2;if(!(r=t(e))||!ng(r.constructor))return-2;i=r.getName()}if(!1!==c[i]||ag(t)){var u=r.getType();if(this.hookNameList[i]){var h;if(!ag(t))return-1;if(!n.force)return-1;var f=this.hookNameList[i].type;this.hookList[f]=ta(h=this.hookList[f]).call(h,(function(t){return t.getName()!==i}))}if(this.hookNameList[i]={type:u},this.hookList[u]=this.hookList[u]||[],ag(t)){var d,A,p,g=-1;if(n.before){if(-1===(g=Fd(d=this.hookList[u]).call(d,(function(t){return t.getName()===n.before}))))Jf.warn(Fs(A="Cannot find hook named [".concat(n.before,"],\n custom hook [")).call(A,i,"] will append to the end of the hooks."))}else if(n.after){var m,b;-1===(g=Fd(m=this.hookList[u]).call(m,(function(t){return t.getName()===n.after})))?Jf.warn(Fs(b="Cannot find hook named [".concat(n.after,"],\n custom hook [")).call(b,i,"] will append to the end of the hooks.")):g+=1}if(g<0||g>=this.hookList[u].length)this.hookList[u].push(r);else Gd(p=this.hookList[u]).call(p,g,0,r)}else this.hookList[u].push(r)}}}]),t}();function sg(t){if(void 0!==qo&&null!=Wh(t)||null!=t["@@iterator"])return mf(t)}function cg(t){return function(t){if(Xh(t))return bf(t)}(t)||sg(t)||vf(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lg(t){return qh(t)||sg(t)||vf(t)||yf()}function ug(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function hg(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=ug(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=ug(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}function fg(t,e,n){var r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;if(!e)return t;e.lastIndex=0;for(var o=0,s=[];null!==(r=e.exec(t));){var c={begin:r.index,length:r[0].length};if(i&&r.index===o-a){var l,u=lg(r),h=u[0],f=Cf(u).call(u,2);s.push({begin:c.begin+a,length:c.length-a,replacedText:n.apply(void 0,Fs(l=[Cf(h).call(h,a),""]).call(l,cg(f)))})}else s.push(hg(hg({},c),{},{replacedText:n.apply(void 0,cg(r))}));o=e.lastIndex,e.lastIndex-=a}return e.lastIndex=0,function(t,e){if(!e.length)return t;var n=[],r=0;return ao(e).call(e,(function(i,a){n.push(Cf(t).call(t,r,i.begin)),n.push(i.replacedText),r=i.begin+i.length,a===e.length-1&&n.push(Cf(t).call(t,r))})),n.join("")}(t,s)}function dg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Ag=function(t){Es(n,t);var e=dg(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"toHtml",value:function(t,e,n,r){var i,a;return Fs(i=Fs(a="".concat(e,'<span style="color:')).call(a,n,'">')).call(i,r,"</span>")}},{key:"makeHtml",value:function(t){return od()?t.replace(this.RULE.reg,this.toHtml):fg(t,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var t={begin:od()?"((?<!\\\\))!!":"(^|[^\\\\])!!",end:"!!",content:"(#[0-9a-zA-Z]{3,6}|[a-z]{3,20})[\\s]([\\w\\W]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);function pg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Ag,"HOOK_NAME","fontColor");var gg=function(t){Es(n,t);var e=pg(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"toHtml",value:function(t,e,n,r){var i,a;return Fs(i=Fs(a="".concat(e,'<span style="background-color:')).call(a,n,'">')).call(i,r,"</span>")}},{key:"makeHtml",value:function(t){return od()?t.replace(this.RULE.reg,this.toHtml):fg(t,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var t={begin:od()?"((?<!\\\\))!!!":"(^|[^\\\\])!!!",end:"!!!",content:"(#[0-9a-zA-Z]{3,6}|[a-z]{3,10})[\\s]([\\w\\W]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);function mg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(gg,"HOOK_NAME","bgColor");var bg=function(t){Es(n,t);var e=mg(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"toHtml",value:function(t,e,n,r){var i,a;return Fs(i=Fs(a="".concat(e,'<span style="font-size:')).call(a,n,'px;line-height:1em;">')).call(i,r,"</span>")}},{key:"makeHtml",value:function(t){return this.test(t)?od()?t.replace(this.RULE.reg,this.toHtml):fg(t,this.RULE.reg,this.toHtml,!0,1):t}},{key:"rule",value:function(){var t={begin:od()?"((?<!\\\\))!":"(^|[^\\\\])!",end:"!",content:"([0-9]{1,2})[\\s]([\\w\\W]*?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);function vg(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function yg(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=vg(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=vg(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}function wg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(bg,"HOOK_NAME","fontSize");var Tg=function(t){Es(n,t);var e=wg(n);function n(){var t,r=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{config:void 0}).config;return bo(this,n),t=e.call(this,{config:r}),r?(t.needWhitespace=!!r.needWhitespace,t):xs(t)}return hs(n,[{key:"makeHtml",value:function(t){return this.test(t)?t.replace(this.RULE.reg,"$1<del>$2</del>"):t}},{key:"rule",value:function(){var t={};return(t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{config:void 0}).config.needWhitespace?yg(yg({},t),{},{begin:"(^|[\\s])\\~T\\~T",end:"\\~T\\~T(?=\\s|$)",content:"([\\w\\W]+?)"}):yg(yg({},t),{},{begin:"(^|[^\\\\])\\~T\\~T",end:"\\~T\\~T",content:"([\\w\\W]+?)"})).reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);function kg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Tg,"HOOK_NAME","strikethrough");var Cg=function(t){Es(n,t);var e=kg(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"toHtml",value:function(t,e,n){var r;return Fs(r="".concat(e,"<sup>")).call(r,n,"</sup>")}},{key:"makeHtml",value:function(t){return od()?t.replace(this.RULE.reg,this.toHtml):fg(t,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var t={begin:od()?"((?<!\\\\))\\^":"(^|[^\\\\])\\^",end:"\\^",content:"([\\w\\W]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);function Eg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Cg,"HOOK_NAME","sup");var xg=function(t){Es(n,t);var e=Eg(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"toHtml",value:function(t,e,n){var r;return Fs(r="".concat(e,"<sub>")).call(r,n,"</sub>")}},{key:"makeHtml",value:function(t){return od()?t.replace(this.RULE.reg,this.toHtml):fg(t,this.RULE.reg,this.toHtml,!0,1)}},{key:"rule",value:function(){var t={begin:od()?"((?<!\\\\))\\^\\^":"(^|[^\\\\])\\^\\^",end:"\\^\\^",content:"([\\w\\W]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);Ms(xg,"HOOK_NAME","sub");var _g=r((function(t){var n=function(t){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof a?new a(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(e,n){var r,a;switch(n=n||{},i.util.type(e)){case"Object":if(a=i.util.objId(e),n[a])return n[a];for(var o in r={},n[a]=r,e)e.hasOwnProperty(o)&&(r[o]=t(e[o],n));return r;case"Array":return a=i.util.objId(e),n[a]?n[a]:(r=[],n[a]=r,e.forEach((function(e,i){r[i]=t(e,n)})),r);default:return e}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var r="no-"+e;t;){var i=t.classList;if(i.contains(e))return!0;if(i.contains(r))return!1;t=t.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(t,e){var n=i.util.clone(i.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){var a=(r=r||i.languages)[t],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==e)for(var c in n)n.hasOwnProperty(c)&&(o[c]=n[c]);n.hasOwnProperty(s)||(o[s]=a[s])}var l=r[t];return r[t]=o,i.languages.DFS(i.languages,(function(e,n){n===l&&e!=t&&(this[e]=o)})),o},DFS:function t(e,n,r,a){a=a||{};var o=i.util.objId;for(var s in e)if(e.hasOwnProperty(s)){n.call(e,s,e[s],r||s);var c=e[s],l=i.util.type(c);"Object"!==l||a[o(c)]?"Array"!==l||a[o(c)]||(a[o(c)]=!0,t(c,n,s,a)):(a[o(c)]=!0,t(c,n,null,a))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var r={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var a,o=0;a=r.elements[o++];)i.highlightElement(a,!0===e,r.callback)},highlightElement:function(e,n,r){var a=i.util.getLanguage(e),o=i.languages[a];i.util.setLanguage(e,a);var s=e.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,a);var c={element:e,language:a,grammar:o,code:e.textContent};function l(t){c.highlightedCode=t,i.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,i.hooks.run("after-highlight",c),i.hooks.run("complete",c),r&&r.call(c.element)}if(i.hooks.run("before-sanity-check",c),(s=c.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!c.code)return i.hooks.run("complete",c),void(r&&r.call(c.element));if(i.hooks.run("before-highlight",c),c.grammar)if(n&&t.Worker){var u=new Worker(i.filename);u.onmessage=function(t){l(t.data)},u.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(i.highlight(c.code,c.grammar,c.language));else l(i.util.encode(c.code))},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),a.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var i=new c;return l(i,i.head,t),s(t,i,e,i.head,0),function(t){var e=[],n=t.head.next;for(;n!==t.tail;)e.push(n.value),n=n.next;return e}(i)},hooks:{all:{},add:function(t,e){var n=i.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=i.hooks.all[t];if(n&&n.length)for(var r,a=0;r=n[a++];)r(e)}},Token:a};function a(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length}function o(t,e,n,r){t.lastIndex=e;var i=t.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(t,e,n,r,c,h){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var d=n[f];d=Array.isArray(d)?d:[d];for(var A=0;A<d.length;++A){if(h&&h.cause==f+","+A)return;var p=d[A],g=p.inside,m=!!p.lookbehind,b=!!p.greedy,v=p.alias;if(b&&!p.pattern.global){var y=p.pattern.toString().match(/[imsuy]*$/)[0];p.pattern=RegExp(p.pattern.source,y+"g")}for(var w=p.pattern||p,T=r.next,k=c;T!==e.tail&&!(h&&k>=h.reach);k+=T.value.length,T=T.next){var C=T.value;if(e.length>t.length)return;if(!(C instanceof a)){var E,x=1;if(b){if(!(E=o(w,k,t,m))||E.index>=t.length)break;var _=E.index,B=E.index+E[0].length,S=k;for(S+=T.value.length;_>=S;)S+=(T=T.next).value.length;if(k=S-=T.value.length,T.value instanceof a)continue;for(var L=T;L!==e.tail&&(S<B||"string"==typeof L.value);L=L.next)x++,S+=L.value.length;x--,C=t.slice(k,S),E.index-=k}else if(!(E=o(w,0,C,m)))continue;_=E.index;var I=E[0],M=C.slice(0,_),O=C.slice(_+I.length),N=k+C.length;h&&N>h.reach&&(h.reach=N);var D=T.prev;if(M&&(D=l(e,D,M),k+=M.length),u(e,D,x),T=l(e,D,new a(f,g?i.tokenize(I,g):I,v,I)),O&&l(e,T,O),x>1){var F={cause:f+","+A,reach:N};s(t,e,n,T.prev,k,F),h&&F.reach>h.reach&&(h.reach=F.reach)}}}}}}function c(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function l(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}function u(t,e,n){for(var r=e.next,i=0;i<n&&r!==t.tail;i++)r=r.next;e.next=r,r.prev=e,t.length-=i}if(t.Prism=i,a.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var r="";return e.forEach((function(e){r+=t(e,n)})),r}var a={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},o=e.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run("wrap",a);var s="";for(var c in a.attributes)s+=" "+c+'="'+(a.attributes[c]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},!t.document)return t.addEventListener?(i.disableWorkerMessageHandler||t.addEventListener("message",(function(e){var n=JSON.parse(e.data),r=n.language,a=n.code,o=n.immediateClose;t.postMessage(i.highlight(a,i.languages[r],r)),o&&t.close()}),!1),i):i;var h=i.util.currentScript();function f(){i.manual||i.highlightAll()}if(h&&(i.filename=h.src,h.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&h&&h.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=n),void 0!==e&&(e.Prism=n)}));Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean,function(t){function e(t,e){return t.replace(/<<(\d+)>>/g,(function(t,n){return"(?:"+e[+n]+")"}))}function n(t,n,r){return RegExp(e(t,n),r||"")}function r(t,e){for(var n=0;n<e;n++)t=t.replace(/<<self>>/g,(function(){return"(?:"+t+")"}));return t.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",o="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function c(t){return"\\b(?:"+t.trim().replace(/ /g,"|")+")\\b"}var l=c(a),u=RegExp(c(i+" "+a+" "+o+" "+s)),h=c(a+" "+o+" "+s),f=c(i+" "+a+" "+s),d=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),A=r(/\((?:[^()]|<<self>>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,g=e(/<<0>>(?:\s*<<1>>)?/.source,[p,d]),m=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[h,g]),b=/\[\s*(?:,\s*)*\]/.source,v=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,b]),y=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,A,b]),w=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[y]),T=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,m,b]),k={keyword:u,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,E=/"(?:\\.|[^\\"\r\n])*"/.source,x=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[x]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,T]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,g]),lookbehind:!0,inside:k},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:k},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:k},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[T,f,p]),inside:k}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[A]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[T,m]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[T]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,d]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(d),alias:"class-name",inside:k}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,g,p,T,u.source,A,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,A]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:u,"class-name":{pattern:RegExp(T),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var _=E+"|"+C,B=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[_]),S=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[B]),2),L=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,I=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,S]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[L,I]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[L]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[S]),inside:t.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var M=/:[^}\r\n]+/.source,O=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[B]),2),N=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,M]),D=r(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[_]),2),F=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[D,M]);function P(e,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[e]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,M]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:P(N,O)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:P(F,D)}],char:{pattern:RegExp(C),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(Prism),function(t){var e=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return e.source}));t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return e.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:e,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(t,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Prism.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(t){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism),function(t){var e=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};t.languages.dart=t.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:e,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),t.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.dart}}},string:/[\s\S]+/}},string:void 0}),t.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),t.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism),function(t){t.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var e={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(e).forEach((function(n){var r=e[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),t.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(t.languages.diff,"PREFIXES",{value:e})}(Prism),function(t){var e=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,(function(){return e})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,(function(){return r})),a={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(t,e){return t=t.replace(/<OPT>/g,(function(){return i})).replace(/<SP>/g,(function(){return n})),RegExp(t,e)}t.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},t.languages.dockerfile=t.languages.docker}(Prism),Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},Prism.languages.glsl=Prism.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/}),Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"],Prism.languages["go-mod"]=Prism.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/},function(t){var e=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+e.source+")?|"+e.source+"(?:[ \t]+"+n.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(t,e){e=(e||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return t}));return RegExp(n,e)}t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+i+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml}(Prism),function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(t){return t=t.replace(/<inner>/g,(function(){return e})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+t+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+a+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+a+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(e){["url","bold","italic","strike","code-snippet"].forEach((function(n){e!==n&&(t.languages.markdown[e].inside.content.inside[n]=t.languages.markdown[n])}))})),t.hooks.add("after-tokenize",(function(t){"markdown"!==t.language&&"md"!==t.language||function t(e){if(e&&"string"!=typeof e)for(var n=0,r=e.length;n<r;n++){var i=e[n];if("code"===i.type){var a=i.content[1],o=i.content[3];if(a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content){var s=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),c="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());o.alias?"string"==typeof o.alias?o.alias=[o.alias,c]:o.alias.push(c):o.alias=[c]}}else t(i.content)}}(t.tokens)})),t.hooks.add("wrap",(function(e){if("code-block"===e.type){for(var n="",r=0,i=e.classes.length;r<i;r++){var a=e.classes[r],l=/language-(.+)/.exec(a);if(l){n=l[1];break}}var u=t.languages[n];if(u)e.content=t.highlight(function(t){var e=t.replace(o,"");return e=e.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(t,e){var n;if("#"===(e=e.toLowerCase())[0])return n="x"===e[1]?parseInt(e.slice(2),16):Number(e.slice(1)),c(n);var r=s[e];return r||t})),e}(e.content),u,n);else if(n&&"none"!==n&&t.plugins.autoloader){var h="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());e.attributes.id=h,t.plugins.autoloader.loadLanguages(n,(function(){var e=document.getElementById(h);e&&(e.innerHTML=t.highlight(e.textContent,t.languages[n],n))}))}}}));var o=RegExp(t.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;t.languages.md=t.languages.markdown}(Prism),Prism.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Prism.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},Prism.hooks.add("after-tokenize",(function(t){if("graphql"===t.language)for(var e=t.tokens.filter((function(t){return"string"!=typeof t&&"comment"!==t.type&&"scalar"!==t.type})),n=0;n<e.length;){var r=e[n++];if("keyword"===r.type&&"mutation"===r.content){var i=[];if(h(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var a=f(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var o=u(0);"variable"===o.type&&(d(o,"variable-input"),i.push(o.content))}n=a+1}if(h(["punctuation","property-query"])&&"{"===u(0).content&&(n++,d(u(0),"property-mutation"),i.length>0)){var s=f(/^\{$/,/^\}$/);if(-1===s)continue;for(var c=n;c<s;c++){var l=e[c];"variable"===l.type&&i.indexOf(l.content)>=0&&d(l,"variable-input")}}}}function u(t){return e[n+t]}function h(t,e){e=e||0;for(var n=0;n<t.length;n++){var r=u(n+e);if(!r||r.type!==t[n])return!1}return!0}function f(t,r){for(var i=1,a=n;a<e.length;a++){var o=e[a],s=o.content;if("punctuation"===o.type&&"string"==typeof s)if(t.test(s))i++;else if(r.test(s)&&0===--i)return a}return-1}function d(t,e){var n=t.alias;n?Array.isArray(n)||(t.alias=n=[n]):t.alias=n=[],n.push(e)}})),function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.languages.ruby}(Prism),function(t){var e={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",i=RegExp(r+"-"+r),a={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};t.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:i,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":e,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":e,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":a}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(Prism),Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,function(t){function e(t,e){return"___"+t.toUpperCase()+e+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,a){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(i,(function(t){if("function"==typeof a&&!a(t))return t;for(var i,s=o.length;-1!==n.code.indexOf(i=e(r,s));)++s;return o[s]=t,i})),n.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=t.languages[r];var i=0,a=Object.keys(n.tokenStack);!function o(s){for(var c=0;c<s.length&&!(i>=a.length);c++){var l=s[c];if("string"==typeof l||l.content&&"string"==typeof l.content){var u=a[i],h=n.tokenStack[u],f="string"==typeof l?l:l.content,d=e(r,u),A=f.indexOf(d);if(A>-1){++i;var p=f.substring(0,A),g=new t.Token(r,t.tokenize(h,n.grammar),"language-"+r,h),m=f.substring(A+d.length),b=[];p&&b.push.apply(b,o([p])),b.push(g),m&&b.push.apply(b,o([m])),"string"==typeof l?s.splice.apply(s,[c,1].concat(b)):l.content=b}}else l.content&&o(l.content)}return s}(n.tokens)}}}})}(Prism),Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.languages.scss,function(t){t.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:t.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:t.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:t.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:t.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:t.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:t.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var e=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,i=e.length;r<i;r++){var a=e[r];a="string"==typeof a?{filter:a,language:a}:a,t.languages[a.language]&&(n["filter-"+a.filter]={pattern:RegExp("((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+".replace("{{filter_name}}",(function(){return a.filter}))),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[a.language,"language-"+a.language],inside:t.languages[a.language]}}})}t.languages.insertBefore("haml","filter",n)}(Prism),Prism.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/},function(t){var e=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:e,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return e.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json,function(t){var e=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;t.languages.json5=t.languages.extend("json",{property:[{pattern:RegExp(e.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:e,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/},function(t){var e=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(e=e.map((function(t){return t.replace("$","\\$")}))).join("|")+")\\b";t.languages.mongodb=t.languages.extend("javascript",{}),t.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),t.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},t.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(Prism),function(t){var e=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:e}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:e}},punctuation:/[{};]/}}(Prism),Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec,Prism.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},Prism.languages.pascal.asm.inside=Prism.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),Prism.languages.objectpascal=Prism.languages.pascal,function(t){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];t.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",(function(e){if(/<\?/.test(e.code)){t.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}})),t.hooks.add("after-tokenize",(function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"php")}))}(Prism),function(t){var e=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;t.languages.protobuf=t.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),t.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:e}},builtin:e,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(Prism),Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/},function(t){for(var e=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)e=e.replace(/<self>/g,(function(){return e}));e=e.replace(/<self>/g,(function(){return/[^\s\S]/.source})),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+e),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string}(Prism),Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),t.languages.ts=t.languages.typescript}(Prism),function(t){var e=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(t,e){return t=t.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return i})),RegExp(t,e)}i=a(i).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var o=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(o).join(""):""},s=function(e){for(var n=[],r=0;r<e.length;r++){var i=e[r],a=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var c=o(i);r<e.length-1&&("string"==typeof e[r+1]||"plain-text"===e[r+1].type)&&(c+=o(e[r+1]),e.splice(r+1,1)),r>0&&("string"==typeof e[r-1]||"plain-text"===e[r-1].type)&&(c=o(e[r-1])+c,e.splice(r-1,1),r--),e[r]=new t.Token("plain-text",c,null,c)}i.content&&"string"!=typeof i.content&&s(i.content)}};t.hooks.add("after-tokenize",(function(t){"jsx"!==t.language&&"tsx"!==t.language||s(t.tokens)}))}(Prism),function(t){var e=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",e),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var n=t.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(Prism),function(t){t.languages.sass=t.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete t.languages.sass.atrule;var e=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];t.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:e,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:e,operator:n,important:t.languages.sass.important}}}),delete t.languages.sass.property,delete t.languages.sass.important,t.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(Prism),function(t){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=t.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,o=0;o<i.length;o++)a[i[o]]=t.languages.bash[i[o]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach((function(t){t.inside.interpolation.inside=Prism.languages.swift})),Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var Bg="cherry-code-preview-lang-select",Sg=["javascript","typescript","html","css","shell","python","golang","java","c","c++","c#","php","ruby","swift","kotlin","scala","rust","dart","elixir","haskell","lua","perl","r","sql"];function Lg(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ig(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}_g.manual=!0;var Mg={figure:"figure"},Og=function(t){Es(n,t);var e=Ig(n);function n(t){var r;t.externals;var i,a=t.config;(bo(this,n),r=e.call(this,{needCache:!0}),n.inlineCodeCache={},r.codeCache={},r.customLang=[],r.customParser={},r.wrap=a.wrap,r.lineNumber=a.lineNumber,r.copyCode=a.copyCode,r.editCode=a.editCode,r.mermaid=a.mermaid,r.indentedCodeBlock=void 0===a.indentedCodeBlock||a.indentedCodeBlock,r.INLINE_CODE_REGEX=/(`+)(.+?(?:\n.+?)*?)\1/g,a&&a.customRenderer)&&(r.customLang=tA(i=ar(a.customRenderer)).call(i,(function(t){return t.toLowerCase()})),r.customParser=function(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=Lg(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=Lg(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}({},a.customRenderer));return r.customHighlighter=a.highlighter,r}return hs(n,[{key:"$codeCache",value:function(t,e){return t&&e&&(this.codeCache[t]=e),this.codeCache[t]?this.codeCache[t]:(this.codeCache.length>40&&(this.codeCache.length=0),!1)}},{key:"parseCustomLanguage",value:function(t,e,n){var r,i,a,o,s,c=this.customParser[t];if(!c||"function"!=typeof c.render)return!1;var l=c.render(e,n.sign,this.$engine,this.mermaid);if(!l)return!1;var u=Mg[c.constructor.TYPE]||"div";return Fs(r=Fs(i=Fs(a=Fs(o=Fs(s="<".concat(u,' data-sign="')).call(s,n.sign,'" data-type="')).call(o,t,'" data-lines="')).call(a,n.lines,'">')).call(i,l,"</")).call(r,u,">")}},{key:"fillTag",value:function(t){var e=[];return tA(t).call(t,(function(t){if(!t)return"";for(var n=t;e.length;){var r,i=e.pop();n=Fs(r="".concat(i)).call(r,n)}var a=n.match(/<span class="(.+?)">|<\/span>/g),o=0;if(!a)return n;for(;a.length;){var s=a.pop();/<\/span>/.test(s)?o+=1:o?o-=1:e.unshift(s.match(/<span class="(.+?)">/)[0])}for(var c=0;c<e.length;c++)n="".concat(n,"</span>");return n}))}},{key:"renderLineNumber",value:function(t){if(!this.lineNumber)return t;var e=t.split("\n");return e.pop(),e=this.fillTag(e),'<span class="code-line">'.concat(e.join('</span>\n<span class="code-line">'),"</span>")}},{key:"isInternalCustomLangCovered",value:function(t){var e;return-1!==Tf(e=this.customLang).call(e,t)}},{key:"computeLines",value:function(t,e,n){var r=e,i=this.getLineCount(t,r);return{sign:this.$engine.md5(t.replace(/^\n+/,"")+i),lines:i}}},{key:"appendMermaid",value:function(t,e){var n=t,r=e;if(/^flow([ ](TD|LR))?$/i.test(r)&&!this.isInternalCustomLangCovered(r)){var i,a=r.match(/^flow(?:[ ](TD|LR))?$/i)||[];n=Fs(i="graph ".concat(a[1]||"TD","\n")).call(i,n),r="mermaid"}return/^seq$/i.test(r)&&!this.isInternalCustomLangCovered(r)&&(n="sequenceDiagram\n".concat(n),r="mermaid"),"mermaid"===r&&(n=n.replace(/(^[\s]*)stateDiagram-v2\n/,"$1stateDiagram\n")),[n,r]}},{key:"wrapCode",value:function(t,e){var n,r;return Fs(n=Fs(r='<code class="language-'.concat(e)).call(r,this.wrap?" wrap":"",'">')).call(n,t,"</code>")}},{key:"renderCodeBlock",value:function(t,e,n,r){var i,a,o,s,c,l,u=t,h=e;return this.customHighlighter?u=this.customHighlighter(u,h):(h&&_g.languages[h]||(h="javascript"),u=_g.highlight(u,_g.languages[h],h),u=this.renderLineNumber(u)),u=Fs(i=Fs(a=Fs(o=Fs(s=Fs(c=Fs(l='<div data-sign="'.concat(n,'" data-type="codeBlock" data-lines="')).call(l,r,'">\n ')).call(c,function(t){var e=tA(Sg).call(Sg,(function(e){var n,r;return t===e?Fs(r='<option value="'.concat(e,'" selected="selected">')).call(r,e,"</option>"):Fs(n='<option value="'.concat(e,'">')).call(n,e,"</option>")}));return'<select id="code-preview-lang-select" style="display:none;" class="'.concat(Bg,'">\n <option value="" selected disabled hidden>Choose here</option>\n ').concat(e.join(""),"\n </select>")}(e),"\n ")).call(s,this.editCode?'<div class="cherry-edit-code-block" style="display:none;"><i class="ch-icon ch-icon-edit" title="edit"></i></div>':"","\n ")).call(o,this.copyCode?'<div class="cherry-copy-code-block" style="display:none;"><i class="ch-icon ch-icon-copy" title="copy"></i></div>':"",'\n <pre class="language-')).call(a,h,'">')).call(i,this.wrapCode(u,h),"</pre>\n </div>"),u}},{key:"$getIndentedCodeReg",value:function(){return new RegExp("(?:^|\\n\\s*\\n)(?: {4}|\\t)"+"([\\s\\S]+?)"+"(?=$|\\n( {0,3}[^ \\t\\n]|\\n[^ \\t\\n]))","g")}},{key:"$getIndentCodeBlock",value:function(t){var e=this;return this.indentedCodeBlock?this.$recoverCodeInIndent(t).replace(this.$getIndentedCodeReg(),(function(t,n){var r,i,a=(t.match(/\n/g)||[]).length,o=e.$engine.md5(t),s=Fs(r=Fs(i='<pre data-sign="'.concat(o,'" data-lines="')).call(i,a,'"><code>')).call(r,SA(n.replace(/\n( {4}|\t)/g,"\n")),"</code></pre>");return eA(t,e.pushCache(s,o,a))})):t}},{key:"$replaceCodeInIndent",value:function(t){return this.indentedCodeBlock?t.replace(this.$getIndentedCodeReg(),(function(t){return t.replace(/`/g,"~~~IndentCode")})):t}},{key:"$recoverCodeInIndent",value:function(t){return this.indentedCodeBlock?t.replace(this.$getIndentedCodeReg(),(function(t){return t.replace(/~~~IndentCode/g,"`")})):t}},{key:"beforeMakeHtml",value:function(t,e,n){var r=this,i=t;return i=(i=this.$replaceCodeInIndent(i)).replace(this.RULE.reg,(function(t,e,n,i,a,o){var s,c,l;function u(t){if(n){var e=new RegExp("^\n*",""),r=t.match(e)[0];t=r+n+t.replace(e,(function(t){return""}))}return t}var h=o,f=r.computeLines(t,e,o),d=f.sign,A=f.lines,p=r.$codeCache(d);if(p&&""!==p)return u(r.getCacheWithSpace(r.pushCache(p,d,A),t));h=(h=(h=r.$recoverCodeInIndent(h)).replace(/~D/g,"$")).replace(/~T/g,"~");var g=null!==(s=null==e||null===(c=e.match(/[ ]/g))||void 0===c?void 0:c.length)&&void 0!==s?s:0;if(g>0){var m=new RegExp("(^|\\n)[ ]{1,".concat(g,"}"),"g");h=h.replace(m,"$1")}if(n){var b=new RegExp("(^|\\n)".concat(n),"g");h=h.replace(b,"$1")}var v=ih(a).call(a);if(/^(math|katex|latex)$/i.test(v)&&!r.isInternalCustomLangCovered(v)){var y,w=t.match(/^\s*/g);return Fs(y="".concat(w,"~D~D\n")).call(y,h,"~D~D")}var T=wf(r.appendMermaid(h,v),2);return h=T[0],v=T[1],-1!==Tf(l=r.customLang).call(l,v.toLowerCase())&&(p=r.parseCustomLanguage(v,h,{lines:A,sign:d}))&&""!==p?(r.$codeCache(d,p),r.getCacheWithSpace(r.pushCache(p,d,A),t)):(h=h.replace(/~X/g,"\\`"),p=(p=r.renderCodeBlock(h,v,d,A)).replace(/\\/g,"\\\\"),p=r.$codeCache(d,p),u(r.getCacheWithSpace(r.pushCache(p,d,A),t)))})),i=i.replace(bd(!0),(function(t){var e;return tA(e=t.split("|")).call(e,(function(t){return r.makeInlineCode(t)})).join("|").replace(/`/g,"\\`")})),i=this.makeInlineCode(i),i=this.$getIndentCodeBlock(i)}},{key:"makeInlineCode",value:function(t){var e=this,r=t;return this.INLINE_CODE_REGEX.test(r)&&(r=(r=r.replace(/\\`/g,"~~not~inlineCode")).replace(this.INLINE_CODE_REGEX,(function(t,r,i){if("`"===ih(i).call(i))return t;var a=i.replace(/~~not~inlineCode/g,"\\`");a=(a=e.$replaceSpecialChar(a)).replace(/\\/g,"\\\\");var o="<code>".concat(SA(a),"</code>"),s=e.$engine.md5(o);return n.inlineCodeCache[s]=o,"~~CODE".concat(s,"$")})),r=r.replace(/~~not~inlineCode/g,"\\`")),r}},{key:"makeHtml",value:function(t){return t}},{key:"$replaceSpecialChar",value:function(t){var e=t.replace(/~Q/g,"\\~");return e=(e=(e=(e=e.replace(/~Y/g,"\\!")).replace(/~Z/g,"\\#")).replace(/~&/g,"\\&")).replace(/~K/g,"\\/")}},{key:"rule",value:function(){return vd()}},{key:"mounted",value:function(t){}}]),n}(FA);function Ng(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Og,"HOOK_NAME","codeBlock"),Ms(Og,"inlineCodeCache",{});var Dg=function(t){Es(n,t);var e=Ng(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){var e=t;return ar(Og.inlineCodeCache).length>0&&(e=e.replace(/~~CODE([0-9a-zA-Z]+)\$/g,(function(t,e){return Og.inlineCodeCache[e]})),Og.inlineCodeCache={}),e}},{key:"rule",value:function(){var t={begin:"(`+)[ ]*",end:"[ ]*\\1",content:"(.+?(?:\\n.+?)*?)"};return t.reg=ad(t,"g"),t}}]),n}(FA);Ms(Dg,"HOOK_NAME","inlineCode");var Fg=r((function(t){!function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=n.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var n=[],r=0;r<t.length;r+=3)for(var i=t[r]<<16|t[r+1]<<8|t[r+2],a=0;a<4;a++)8*r+6*a<=8*t.length?n.push(e.charAt(i>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&n.push((e.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|e.indexOf(t.charAt(r))>>>6-2*i);return n}};t.exports=n}()})),Pg={utf8:{stringToBytes:function(t){return Pg.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(Pg.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}},Rg=Pg,Qg=function(t){return null!=t&&(Ug(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&Ug(t.slice(0,0))}(t)||!!t._isBuffer)};function Ug(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var Hg=r((function(t){!function(){var e=Fg,n=Rg.utf8,r=Qg,i=Rg.bin,a=function(t,o){t.constructor==String?t=o&&"binary"===o.encoding?i.stringToBytes(t):n.stringToBytes(t):r(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var s=e.bytesToWords(t),c=8*t.length,l=1732584193,u=-271733879,h=-1732584194,f=271733878,d=0;d<s.length;d++)s[d]=16711935&(s[d]<<8|s[d]>>>24)|4278255360&(s[d]<<24|s[d]>>>8);s[c>>>5]|=128<<c%32,s[14+(c+64>>>9<<4)]=c;var A=a._ff,p=a._gg,g=a._hh,m=a._ii;for(d=0;d<s.length;d+=16){var b=l,v=u,y=h,w=f;l=A(l,u,h,f,s[d+0],7,-680876936),f=A(f,l,u,h,s[d+1],12,-389564586),h=A(h,f,l,u,s[d+2],17,606105819),u=A(u,h,f,l,s[d+3],22,-1044525330),l=A(l,u,h,f,s[d+4],7,-176418897),f=A(f,l,u,h,s[d+5],12,1200080426),h=A(h,f,l,u,s[d+6],17,-1473231341),u=A(u,h,f,l,s[d+7],22,-45705983),l=A(l,u,h,f,s[d+8],7,1770035416),f=A(f,l,u,h,s[d+9],12,-1958414417),h=A(h,f,l,u,s[d+10],17,-42063),u=A(u,h,f,l,s[d+11],22,-1990404162),l=A(l,u,h,f,s[d+12],7,1804603682),f=A(f,l,u,h,s[d+13],12,-40341101),h=A(h,f,l,u,s[d+14],17,-1502002290),l=p(l,u=A(u,h,f,l,s[d+15],22,1236535329),h,f,s[d+1],5,-165796510),f=p(f,l,u,h,s[d+6],9,-1069501632),h=p(h,f,l,u,s[d+11],14,643717713),u=p(u,h,f,l,s[d+0],20,-373897302),l=p(l,u,h,f,s[d+5],5,-701558691),f=p(f,l,u,h,s[d+10],9,38016083),h=p(h,f,l,u,s[d+15],14,-660478335),u=p(u,h,f,l,s[d+4],20,-405537848),l=p(l,u,h,f,s[d+9],5,568446438),f=p(f,l,u,h,s[d+14],9,-1019803690),h=p(h,f,l,u,s[d+3],14,-187363961),u=p(u,h,f,l,s[d+8],20,1163531501),l=p(l,u,h,f,s[d+13],5,-1444681467),f=p(f,l,u,h,s[d+2],9,-51403784),h=p(h,f,l,u,s[d+7],14,1735328473),l=g(l,u=p(u,h,f,l,s[d+12],20,-1926607734),h,f,s[d+5],4,-378558),f=g(f,l,u,h,s[d+8],11,-2022574463),h=g(h,f,l,u,s[d+11],16,1839030562),u=g(u,h,f,l,s[d+14],23,-35309556),l=g(l,u,h,f,s[d+1],4,-1530992060),f=g(f,l,u,h,s[d+4],11,1272893353),h=g(h,f,l,u,s[d+7],16,-155497632),u=g(u,h,f,l,s[d+10],23,-1094730640),l=g(l,u,h,f,s[d+13],4,681279174),f=g(f,l,u,h,s[d+0],11,-358537222),h=g(h,f,l,u,s[d+3],16,-722521979),u=g(u,h,f,l,s[d+6],23,76029189),l=g(l,u,h,f,s[d+9],4,-640364487),f=g(f,l,u,h,s[d+12],11,-421815835),h=g(h,f,l,u,s[d+15],16,530742520),l=m(l,u=g(u,h,f,l,s[d+2],23,-995338651),h,f,s[d+0],6,-198630844),f=m(f,l,u,h,s[d+7],10,1126891415),h=m(h,f,l,u,s[d+14],15,-1416354905),u=m(u,h,f,l,s[d+5],21,-57434055),l=m(l,u,h,f,s[d+12],6,1700485571),f=m(f,l,u,h,s[d+3],10,-1894986606),h=m(h,f,l,u,s[d+10],15,-1051523),u=m(u,h,f,l,s[d+1],21,-2054922799),l=m(l,u,h,f,s[d+8],6,1873313359),f=m(f,l,u,h,s[d+15],10,-30611744),h=m(h,f,l,u,s[d+6],15,-1560198380),u=m(u,h,f,l,s[d+13],21,1309151649),l=m(l,u,h,f,s[d+4],6,-145523070),f=m(f,l,u,h,s[d+11],10,-1120210379),h=m(h,f,l,u,s[d+2],15,718787259),u=m(u,h,f,l,s[d+9],21,-343485551),l=l+b>>>0,u=u+v>>>0,h=h+y>>>0,f=f+w>>>0}return e.endian([l,u,h,f])};a._ff=function(t,e,n,r,i,a,o){var s=t+(e&n|~e&r)+(i>>>0)+o;return(s<<a|s>>>32-a)+e},a._gg=function(t,e,n,r,i,a,o){var s=t+(e&r|n&~r)+(i>>>0)+o;return(s<<a|s>>>32-a)+e},a._hh=function(t,e,n,r,i,a,o){var s=t+(e^n^r)+(i>>>0)+o;return(s<<a|s>>>32-a)+e},a._ii=function(t,e,n,r,i,a,o){var s=t+(n^(e|~r))+(i>>>0)+o;return(s<<a|s>>>32-a)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,n){if(null==t)throw new Error("Illegal argument "+t);var r=e.wordsToBytes(a(t,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):e.bytesToHex(r)}}()})),jg={},$g=/^cherry-inner:\/\/([0-9a-f]+)$/i;var Kg=function(){function t(){bo(this,t)}return hs(t,null,[{key:"isInnerLink",value:function(t){return $g.test(t)}},{key:"set",value:function(t){var e=Hg(t);return jg[e]=t,"cherry-inner://".concat(e)}},{key:"get",value:function(t){var e,n=wf(null!==(e=t.match($g))&&void 0!==e?e:[],2)[1];if(n)return jg[n]}},{key:"replace",value:function(t,e){var n,r=wf(null!==(n=t.match($g))&&void 0!==n?n:[],2)[1];if(r)return jg[r]=e,t}},{key:"restoreAll",value:function(e){var n=e.replace(/cherry-inner:\/\/([0-9a-f]+)/gi,(function(e){return t.get(e)||e}));return n}},{key:"clear",value:function(){jg={}}}]),t}();function Gg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var zg=function(t){Es(n,t);var e=Gg(n);function n(t){var r,i=t.config,a=t.globalConfig;return bo(this,n),(r=e.call(this,{config:i})).urlProcessor=a.urlProcessor,r.target=i.target?'target="'.concat(i.target,'"'):i.openNewPage?'target="_blank"':"",r.rel=i.rel?'rel="'.concat(i.rel,'"'):"",r}return hs(n,[{key:"checkBrackets",value:function(t){for(var e=[],n="[".concat(t,"]"),r=function(t){return 1&Cf(n).call(n,0,t).match(/\\*$/)[0].length},i=n.length-1;n[i]&&(i!==n.length-1||!r(i));i--)if("]"!==n[i]||r(i)||e.push("]"),"["===n[i]&&!r(i)&&(e.pop(),!e.length))return{isValid:!0,coreText:Cf(n).call(n,i+1,n.length-1),extraLeadingChar:Cf(n).call(n,0,i)};return{isValid:!1,coreText:t,extraLeadingChar:""}}},{key:"toHtml",value:function(t,e,n,r,i,a,o){var s=void 0===r?"ref":"url",c="";if("ref"===s)return t;if("url"===s){var l,u=this.checkBrackets(n),h=u.isValid,f=u.coreText,d=u.extraLeadingChar;if(!h)return t;c=i&&""!==ih(i).call(i)?' title="'.concat(SA(i.replace(/["']/g,"")),'"'):"",o?c+=' target="'.concat(o.replace(/{target\s*=\s*(.*?)}/,"$1"),'"'):this.target&&(c+=" ".concat(this.target));var A,p,g,m,b=ih(r).call(r).replace(/~1D/g,"~D"),v=f.replace(/~1D/g,"~D");return MA(b)?(b=OA(b=this.urlProcessor(b,"link")),Fs(A=Fs(p=Fs(g=Fs(m="".concat(e+d,'<a href="')).call(m,Kg.set(b),'" ')).call(g,this.rel," ")).call(p,c,">")).call(A,v,"</a>")):Fs(l="".concat(e+d,"<span>")).call(l,n,"</span>")}return t}},{key:"toStdMarkdown",value:function(t){return t}},{key:"makeHtml",value:function(t){var e,n,r=t.replace(this.RULE.reg,(function(t){return t.replace(/~D/g,"~1D")}));od()?r=r.replace(this.RULE.reg,Ps(e=this.toHtml).call(e,this)):r=fg(r,this.RULE.reg,Ps(n=this.toHtml).call(n,this),!0,1);return r=r.replace(this.RULE.reg,(function(t){return t.replace(/~1D/g,"~D")})),r}},{key:"rule",value:function(){var t={begin:od()?"((?<!\\\\))":"(^|[^\\\\])",content:["\\[([^\\n]*?)\\]","[ \\t]*","".concat("(?:\\(([^\\s)]+)(?:[ \\t]((?:\".*?\")|(?:'.*?')))?\\)|\\[(").concat(cd,")\\]")+")","(\\{target\\s*=\\s*(_blank|_parent|_self|_top)\\})?"].join(""),end:""};return t.reg=ad(t,"g"),t}}]),n}(qd);Ms(zg,"HOOK_NAME","link");var Xg=RangeError,qg=function(t){var e=Ur($(this)),n="",r=fn(t);if(r<0||r===1/0)throw Xg("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n};jn({target:"String",proto:!0},{repeat:qg});var Vg=Wi("String").repeat,Wg=String.prototype,Yg=function(t){var e=t.repeat;return"string"==typeof t||t===Wg||ct(Wg,t)&&e===Wg.repeat?Vg:e},Jg=Yg;function Zg(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var tm=function(t){Es(n,t);var e=Zg(n);function n(){var t,r=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{config:void 0}).config;return bo(this,n),t=e.call(this,{config:r}),r?(t.allowWhitespace=!!r.allowWhitespace,t):xs(t)}return hs(n,[{key:"makeHtml",value:function(t,e){var n=function(t,n,r,i){var a,o,s,c=r.length%2==1?"em":"strong",l=Math.floor(r.length/2),u=Jg("<strong>").call("<strong>",l),h=Jg("</strong>").call("</strong>",l);return"em"===c&&(u+="<em>",h="</em>".concat(h)),Fs(a=Fs(o=Fs(s="".concat(n)).call(s,u)).call(o,e(i).html.replace(/_/g,"~U"))).call(a,h)},r=t;return r=(r=this.allowWhitespace?(r=(r=r.replace(/(^|\n[\s]*)(\*)([^\s*](?:.*?)(?:(?:\n.*?)*?))\*/g,n)).replace(/(^|\n[\s]*)(\*{2,})((?:.*?)(?:(?:\n.*?)*?))\2/g,n)).replace(/([^\n*\\\s][ ]*)(\*+)((?:.*?)(?:(?:\n.*?)*?))\2/g,n):r.replace(this.RULE.asterisk.reg,n)).replace(this.RULE.underscore.reg,(function(t,n,r,i,a,o){var s,c,l;if(""===ih(i).call(i))return t;var u=r.length%2==1?"em":"strong",h=Math.floor(r.length/2),f=Jg("<strong>").call("<strong>",h),d=Jg("</strong>").call("</strong>",h),A=e(i).html;return"em"===u&&(f+="<em>",d="</em>".concat(d)),Fs(s=Fs(c=Fs(l="".concat(n)).call(l,f)).call(c,A)).call(s,d)})),r.replace(/~U/g,"_")}},{key:"test",value:function(t,e){return this.RULE[e].reg&&this.RULE[e].reg.test(t)}},{key:"rule",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{config:void 0}).config,e=!!t&&!!t.allowWhitespace,n=function(t,e){var n,r,i,a="[^".concat(e,"\\s]");return t?"(?:.*?)(?:(?:\\n.*?)*?)":Fs(n=Fs(r=Fs(i="(".concat(a,"|")).call(i,a,"(.*?(\n")).call(r,a,".*)*)")).call(n,a,")")},r={begin:"(^|[^\\\\])([*]+)",content:"(".concat(n(e,"*"),")"),end:"\\2"},i={begin:"(^|".concat(ud,")(_+)"),content:"(".concat(n(e,"_"),")"),end:"\\2(?=".concat(ud,"|$)")};return r.reg=ad(r,"g"),i.reg=ad(i,"g"),{asterisk:r,underscore:i}}}]),n}(qd);function em(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(tm,"HOOK_NAME","fontEmphasis");var nm=function(t){Es(n,t);var e=em(n);function n(t){var r;return bo(this,n),(r=e.call(this)).initBrReg(t.globalConfig.classicBr),r}return hs(n,[{key:"makeHtml",value:function(t,e){var n=this;return this.test(t)?t.replace(this.RULE.reg,(function(t,r,i){var a;if(n.isContainsCache(t,!0))return t;var o,s=function(t){var r,i,a,o,s,c;if(""===ih(t).call(t))return"";var l=e(t),u=l.sign,h=l.html,f="p";new RegExp("<(".concat(xA,")[^>]*>"),"i").test(h)&&(f="div");var d=n.getLineCount(t,t);return Fs(r=Fs(i=Fs(a=Fs(o=Fs(s=Fs(c="<".concat(f,' data-sign="')).call(c,u)).call(s,d,'" data-type="')).call(o,f,'" data-lines="')).call(a,d,'">')).call(i,n.$cleanParagraph(h),"</")).call(r,f,">")};return n.isContainsCache(i)?n.makeExcludingCached(Fs(o="".concat(r)).call(o,i),s):s(Fs(a="".concat(r)).call(a,i))})):t}},{key:"rule",value:function(){var t={begin:"(?:^|\\n)(\\n*)",end:"(?=\\s*$|\\n\\n)",content:"([\\s\\S]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(FA);Ms(nm,"HOOK_NAME","normalParagraph");var rm=function(t){return void 0!==t&&(Nt(t,"value")||Nt(t,"writable"))};jn({target:"Reflect",stat:!0},{get:function t(e,n){var r,i,a=arguments.length<3?e:arguments[2];return me(e)===a?e[n]:(r=_e.f(e,n))?rm(r)?r.value:void 0===r.get?void 0:gt(r.get,a):mt(i=ba(e))?t(i,n,a):void 0}});var im=X.Reflect.get,am=sa;function om(){var t;"undefined"!=typeof Reflect&&im?om=ks(t=im).call(t):om=function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Is(t)););return t}(t,e);if(r){var i=am(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}};return om.apply(this,arguments)}function sm(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var cm="atx",lm="setext",um=/[\s\-_]/,hm=/[A-Za-z]/,fm=/[0-9]/,dm=function(t){Es(n,t);var e=sm(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{config:void 0,externals:void 0};r.externals;var i=r.config;return bo(this,n),(t=e.call(this,{needCache:!0})).strict=!i||!!i.strict,t.RULE=t.rule(),t.headerIDCache=[],t.headerIDCounter={},t.config=i||{},t}return hs(n,[{key:"$parseTitleText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"string"!=typeof t?"":t.replace(/<.*?>/g,"").replace(/</g,"<").replace(/>/g,">")}},{key:"$generateId",value:function(t){for(var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.length,r="",i=0;i<n;i++){var a=t.charAt(i);if(hm.test(a))r+=e?a.toLowerCase():a;else if(fm.test(a))r+=a;else if(um.test(a))r+=r.length<1||"-"!==r.charAt(r.length-1)?"-":"";else if(a.charCodeAt(0)>255)try{r+=encodeURIComponent(a)}catch(t){}}return r}},{key:"generateIDNoDup",value:function(t){var e,n=t.replace(/</g,"<").replace(/>/g,">"),r=this.$generateId(n,!0),i=Tf(e=this.headerIDCache).call(e,r);if(-1!==i)this.headerIDCounter[i]+=1,r+="-".concat(this.headerIDCounter[i]+1);else{var a=this.headerIDCache.push(r);this.headerIDCounter[a-1]=1}return r}},{key:"$wrapHeader",value:function(t,e,n,r){var i,a,o,s,c,l,u,h=r(ih(t).call(t)),f=h.html,d=f.match(/\s+\{#([A-Za-z0-9-]+)\}$/);null!==d&&(f=f.substring(0,d.index),u=wf(d,2)[1]);var A=this.$parseTitleText(f);if(!u){u=this.generateIDNoDup(A.replace(/~fn#([0-9]+)#/g,""))}var p="safe_".concat(u),g=this.$engine.md5(Fs(i=Fs(a=Fs(o="".concat(e,"-")).call(o,h.sign,"-")).call(a,u,"-")).call(i,n));return{html:[Fs(s=Fs(c=Fs(l="<h".concat(e,' id="')).call(l,p,'" data-sign="')).call(c,g,'" data-lines="')).call(s,n,'">'),this.$getAnchor(u),"".concat(f),"</h".concat(e,">")].join(""),sign:"".concat(g)}}},{key:"$getAnchor",value:function(t){return"none"===(this.config.anchorStyle||"default")?"":'<a class="anchor" href="#'.concat(t,'"></a>')}},{key:"beforeMakeHtml",value:function(t){var e=this,n=t;return this.test(n,cm)&&(n=n.replace(this.RULE[cm].reg,(function(t,n,r,i){return""===ih(i).call(i)?t:e.getCacheWithSpace(e.pushCache(t),t,!0)}))),this.test(n,lm)&&(n=n.replace(this.RULE[lm].reg,(function(t,n,r){return""===ih(r).call(r)||e.isContainsCache(r)?t:e.getCacheWithSpace(e.pushCache(t),t,!0)}))),n}},{key:"makeHtml",value:function(t,e){var n=this,r=this.restoreCache(t);return this.test(r,cm)&&(r=r.replace(this.RULE[cm].reg,(function(t,r,i,a){var o=nA(r,n.getLineCount(t.replace(/^\n+/,""))),s=a.replace(/\s+#+\s*$/,""),c=n.$wrapHeader(s,i.length,o,e),l=c.html,u=c.sign;return n.getCacheWithSpace(n.pushCache(l,u,o),t,!0)}))),this.test(r,lm)&&(r=r.replace(this.RULE[lm].reg,(function(t,r,i,a){if(n.isContainsCache(i))return t;var o=nA(r,n.getLineCount(t.replace(/^\n+/,""))),s="-"===a[0]?2:1,c=n.$wrapHeader(i,s,o,e),l=c.html,u=c.sign;return n.getCacheWithSpace(n.pushCache(l,u,o),t,!0)}))),r}},{key:"afterMakeHtml",value:function(t){var e=om(Is(n.prototype),"afterMakeHtml",this).call(this,t);return this.headerIDCache=[],this.headerIDCounter={},e}},{key:"test",value:function(t,e){return this.RULE[e].reg&&this.RULE[e].reg.test(t)}},{key:"rule",value:function(){var t={begin:"(?:^|\\n)(\\n*)",content:["(?:\\h*","(.+)",")\\n","(?:\\h*","([=]+|[-]+)",")"].join(""),end:"(?=$|\\n)"};t.reg=ad(t,"g",!0);var e={begin:"(?:^|\\n)(\\n*)(?:\\h*(#{1,6}))",content:"(.+?)",end:"(?=$|\\n)"};return this.strict&&(e.begin+="(?=\\h+)"),e.reg=ad(e,"g",!0),{setext:t,atx:e}}}]),n}(FA);function Am(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(dm,"HOOK_NAME","header");var pm=function(t){Es(n,t);var e=Am(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"rule",value:function(){return{begin:"",content:"",end:"",reg:new RegExp("")}}},{key:"beforeMakeHtml",value:function(t){return t.replace(/\\\n/g,"\\ \n")}},{key:"afterMakeHtml",value:function(t){var e=t.replace(/~Q/g,"~");return e=(e=(e=(e=(e=e.replace(/~X/g,"`")).replace(/~Y/g,"!")).replace(/~Z/g,"#")).replace(/~&/g,"&")).replace(/~K/g,"/")}}]),n}(qd);Ms(pm,"HOOK_NAME","transfer");var gm=TypeError,mm=function(t){return function(e,n,r,i){pt(n);var a=_t(e),o=j(a),s=bn(a),c=t?s-1:0,l=t?-1:1;if(r<2)for(;;){if(c in o){i=o[c],c+=l;break}if(c+=l,t?c<0:s<=c)throw gm("Reduce of empty array with no initial value")}for(;t?c>=0:s>c;c+=l)c in o&&(i=n(i,o[c],c,a));return i}},bm={left:mm(!1),right:mm(!0)},vm="process"===E(q.process),ym=bm.left,wm=!vm&&nt>79&&nt<83||!Ja("reduce");jn({target:"Array",proto:!0,forced:wm},{reduce:function(t){var e=arguments.length;return ym(this,t,e,e>1?arguments[1]:void 0)}});var Tm=Wi("Array").reduce,km=Array.prototype,Cm=function(t){var e=t.reduce;return t===km||ct(km,t)&&e===km.reduce?Tm:e},Em=Cm;function xm(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function _m(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=xm(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=xm(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}function Bm(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Sm="loose",Lm="strict",Im=function(t){Es(n,t);var e=Bm(n);function n(t){var r,i=t.externals,a=t.config;bo(this,n),r=e.call(this,{needCache:!0});var o=a.enableChart,s=a.chartRenderEngine,c=a.externals,l=a.chartEngineOptions,u=void 0===l?{}:l;if(r.chartRenderEngine=null,!0===o)try{r.chartRenderEngine=new s(_m(_m({},i&&c instanceof Array&&Em(c).call(c,(function(t,e){return delete u[e],_m(_m({},t),{},Ms({},e,i[e]))}),{})),{},{renderer:"svg",width:500,height:300},u))}catch(t){console.warn(t)}return r}return hs(n,[{key:"$extendColumns",value:function(t,e){var n=e-t.length;return n<1?t:Fs(t).call(t,Jg(" |").call(" |",n).split("|",n))}},{key:"$parseChartOptions",value:function(t){if(!this.chartRenderEngine)return null;var e=/^[ ]*:(\w+):(?:[ ]*{(.*?)}[ ]*)?$/;if(!e.test(t))return null;var n=wf(t.match(e),3),r=n[1],i=n[2];return{type:r,options:i?i.split(/\s*,\s*/):["x","y"]}}},{key:"$parseColumnAlignRules",value:function(t){var e=["U","L","R","C"];return{textAlignRules:tA(t).call(t,(function(t){var n=ih(t).call(t),r=0;return/^:/.test(n)&&(r+=1),/:$/.test(n)&&(r+=2),e[r]})),COLUMN_ALIGN_MAP:{L:"left",R:"right",C:"center"}}}},{key:"$parseTable",value:function(t,e,n){var r,i,a,o,s,c,l=this,u=0,h=tA(t).call(t,(function(t,e){var n=t.replace(/\\\|/g,"~CS").split("|");return""===n[0]&&n.shift(),""===n[n.length-1]&&n.pop(),1!==e&&(u=Math.max(u,n.length)),n})),f=this.$parseColumnAlignRules(h[1]),d=f.textAlignRules,A=f.COLUMN_ALIGN_MAP,p={header:[],rows:[],colLength:u,rowLength:h.length-2},g=this.$parseChartOptions(h[0][0]),m=this.$engine.md5(h[0][0]);g&&(h[0][0]="");var b=tA(r=this.$extendColumns(h[0],u)).call(r,(function(t,n){var r,i;p.header.push(t.replace(/~CS/g,"\\|"));var a=e(ih(r=t.replace(/~CS/g,"\\|")).call(r)).html;return Fs(i="~CTH".concat(d[n]||"U"," ")).call(i,a," ~CTH$")})).join(""),v=Em(h).call(h,(function(t,n,r){var i;if(r<=1)return t;var a=r-2;p.rows[a]=[];var o=tA(i=l.$extendColumns(n,u)).call(i,(function(t,n){var r,i;p.rows[a].push(t.replace(/~CS/g,"\\|"));var o=e(ih(r=t.replace(/~CS/g,"\\|")).call(r)).html;return Fs(i="~CTD".concat(d[n]||"U"," ")).call(i,o," ~CTD$")}));return t.push("~CTR".concat(o.join(""),"~CTR$")),t}),[]).join(""),y=this.$renderTable(A,b,v,n);if(!g)return y;var w=this.chartRenderEngine.render(g.type,g.options,p),T=Fs(i=Fs(a=Fs(o=Fs(s='<figure id="table_chart_'.concat(m,"_")).call(s,y.sign,'"\n data-sign="table_chart_')).call(o,m,"_")).call(a,y.sign,'" data-lines="0">')).call(i,w,"</figure>");return{html:Fs(c="".concat(T)).call(c,y.html),sign:m+y.sign}}},{key:"$testHeadEmpty",value:function(t){var e=t.replace(/ /g,"").replace(/\s/g,"").replace(/(~CTH\$|~CTHU|~CTHL|~CTHR|~CTHC)/g,"");return(null==e?void 0:e.length)>0}},{key:"$renderTable",value:function(t,e,n,r){var i,a,o,s,c=this.$testHeadEmpty(e)?Fs(i="~CTHD".concat(e,"~CTHD$~CTBD")).call(i,n,"~CTBD$"):"~CTBD".concat(n,"~CTBD$"),l=this.$engine.md5(c),u=c.replace(/~CTHD\$/g,"</thead>").replace(/~CTHD/g,"<thead>").replace(/~CTBD\$/g,"</tbody>").replace(/~CTBD/g,"</tbody>").replace(/~CTR\$/g,"</tr>").replace(/~CTR/g,"<tr>").replace(/[ ]?~CTH\$/g,"</th>").replace(/[ ]?~CTD\$/g,"</td>").replace(/~CT(D|H)(L|R|C|U)[ ]?/g,(function(e,n,r){var i="<t".concat(n);return i+="U"===r?">":' align="'.concat(t[r],'">')})).replace(/\\\|/g,"|");return{html:Fs(a=Fs(o=Fs(s='<div class="cherry-table-container" data-sign="'.concat(l)).call(s,r,'" data-lines="')).call(o,r,'">\n <table class="cherry-table">')).call(a,u,"</table></div>"),sign:l}}},{key:"makeHtml",value:function(t,e){var n=this,r=t;return this.test(r,Lm)&&(r=r.replace(this.RULE[Lm].reg,(function(t,r){var i,a=n.getLineCount(t,r),o=tA(i=ih(t).call(t).split(/\n/)).call(i,(function(t){var e;return ih(e=String(t)).call(e)})),s=n.$parseTable(o,e,a),c=s.html,l=s.sign;return n.getCacheWithSpace(n.pushCache(c,l,a),t)}))),this.test(r,Sm)&&(r=r.replace(this.RULE[Sm].reg,(function(t,r){var i,a=n.getLineCount(t,r),o=tA(i=ih(t).call(t).split(/\n/)).call(i,(function(t){var e;return ih(e=String(t)).call(e)})),s=n.$parseTable(o,e,a),c=s.html,l=s.sign;return n.getCacheWithSpace(n.pushCache(c,l,a),t)}))),r}},{key:"test",value:function(t,e){return this.RULE[e].reg&&this.RULE[e].reg.test(t)}},{key:"rule",value:function(){return bd()}}]),n}(FA);function Mm(){return"object"===("undefined"==typeof window?"undefined":ss(window))}function Om(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Im,"HOOK_NAME","table");var Nm=function(t){Es(n,t);var e=Om(n);function n(t){var r;return bo(this,n),(r=e.call(this,{needCache:!0})).classicBr=aA("classicBr")?oA():t.globalConfig.classicBr,r}return hs(n,[{key:"beforeMakeHtml",value:function(t){var e=this;return this.test(t)?t.replace(this.RULE.reg,(function(t,n,r){var i,a;if(0===r)return t;var o,s,c=null!==(i=null===(a=n.match(/\n/g))||void 0===a?void 0:a.length)&&void 0!==i?i:0,l="br".concat(c),u="";Mm()?u=e.classicBr?Fs(o='<span data-sign="'.concat(l,'" data-type="br" data-lines="')).call(o,c,'"></span>'):Fs(s='<p data-sign="'.concat(l,'" data-type="br" data-lines="')).call(s,c,'"> </p>'):u=e.classicBr?"":"<br/>";var h=e.pushCache(u,l,c);return"\n\n".concat(h,"\n")})):t}},{key:"makeHtml",value:function(t,e){return t}},{key:"rule",value:function(){var t={begin:"(?:\\n)",end:"",content:"((?:\\h*\\n){2,})"};return t.reg=ad(t,"g",!0),t}}]),n}(FA);function Dm(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Nm,"HOOK_NAME","br");var Fm=function(t){Es(n,t);var e=Dm(n);function n(){return bo(this,n),e.call(this,{needCache:!0})}return hs(n,[{key:"beforeMakeHtml",value:function(t){var e=this;return t.replace(this.RULE.reg,(function(t,n){var r,i=(n.match(/\n/g)||[]).length+1,a="hr".concat(i);return eA(t,e.pushCache(Fs(r='<hr data-sign="'.concat(a,'" data-lines="')).call(r,i,'" />'),a))}))}},{key:"makeHtml",value:function(t,e){return t}},{key:"rule",value:function(){var t={begin:"(?:^|\\n)(\\n*)[ ]*",end:"(?=$|\\n)",content:"((?:-[ \\t]*){3,}|(?:\\*[ \\t]*){3,}|(?:_[ \\t]*){3,})"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(FA);Ms(Fm,"HOOK_NAME","hr");var Pm={processExtendAttributesInAlt:function(t){var e=t.match(/#([0-9]+(px|em|pt|pc|in|mm|cm|ex|%)|auto)/g);if(!e)return"";var n="",r=wf(e,2),i=r[0],a=r[1];return i&&(n=' width="'.concat(i.replace(/[ #]*/g,""),'"')),a&&(n+=' height="'.concat(a.replace(/[ #]*/g,""),'"')),n},processExtendStyleInAlt:function(t){var e=this.$getAlignment(t),n="",r=t.match(/#(border|shadow|radius|B|S|R)/g);if(r)for(var i=0;i<r.length;i++)switch(r[i]){case"#border":case"#B":e+="border:1px solid #888888;padding: 2px;box-sizing: border-box;",n+=" cherry-img-border";break;case"#shadow":case"#S":e+="box-shadow:0 2px 15px -5px rgb(0 0 0 / 50%);",n+=" cherry-img-shadow";break;case"#radius":case"#R":e+="border-radius: 15px;",n+=" cherry-img-radius"}return{extendStyles:e,extendClasses:n}},$getAlignment:function(t){var e=t.match(/#(center|right|left|float-right|float-left)/i);if(!e)return"";switch(wf(e,2)[1]){case"center":return"transform:translateX(-50%);margin-left:50%;display:block;";case"right":return"transform:translateX(-100%);margin-left:100%;margin-right:-100%;display:block;";case"left":return"transform:translateX(0);margin-left:0;display:block;";case"float-right":return"float:right;transform:translateX(0);margin-left:0;display:block;";case"float-left":return"float:left;transform:translateX(0);margin-left:0;display:block;"}}},Rm=Pm;function Qm(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function Um(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Hm=function(t,e,n,r,i,a,o,s,c){var l=void 0===i?"ref":"url",u="";if("ref"===l)return e;if("url"===l){var h,f,d,A,p,g,m,b,v=Rm.processExtendAttributesInAlt(r),y=Rm.processExtendStyleInAlt(r),w=y.extendStyles,T=y.extendClasses;w&&(w=' style="'.concat(w,'" ')),T&&(T=' class="'.concat(T,'" ')),u=a&&""!==ih(a).call(a)?' title="'.concat(LA(a),'"'):"",o&&(u+=" poster=".concat(OA(o)));var k=c.urlProcessor(i,t),C=Fs(h=Fs(f=Fs(d=Fs(A=Fs(p=Fs(g=Fs(m="<".concat(t,' src="')).call(m,Kg.set(OA(k)),'"')).call(g,u," ")).call(p,v," ")).call(A,w," ")).call(d,T,' controls="controls">')).call(f,LA(r||""),"</")).call(h,t,">");return Fs(b="".concat(n)).call(b,s.videoWrapper?s.videoWrapper(i):C)}return e},jm=function(t){Es(n,t);var e=Um(n);function n(t){var r,i=t.config,a=t.globalConfig;return bo(this,n),(r=e.call(this,null)).urlProcessor=a.urlProcessor,r.extendMedia={tag:["video","audio"],replacer:{video:function(t,e,n,r,o,s){return Hm("video",t,e,n,r,o,s,i,a)},audio:function(t,e,n,r,o,s){return Hm("audio",t,e,n,r,o,s,i,a)}}},r.RULE=r.rule(r.extendMedia),r}return hs(n,[{key:"toHtml",value:function(t,e,n,r,i,a,o){var s=void 0===r?"ref":"url",c="";if("ref"===s)return t;if("url"===s){var l,u,h,f,d,A,p,g,m=Rm.processExtendAttributesInAlt(n),b=Rm.processExtendStyleInAlt(n),v=b.extendStyles,y=b.extendClasses;v&&(v=' style="'.concat(v,'" ')),y&&(y=' class="'.concat(y,'" ')),c=i&&""!==ih(i).call(i)?' title="'.concat(LA(i.replace(/["']/g,"")),'"'):"";var w,T="src",k=this.$engine.$cherry.options;if(k.callback&&k.callback.beforeImageMounted){var C=k.callback.beforeImageMounted(T,r);T=C.srcProp||T,w=C.src||r}var E=o?o.replace(/[{}]/g,"").replace(/([^=\s]+)=([^\s]+)/g,'$1="$2"').replace(/&/g,"&"):"";return Fs(l=Fs(u=Fs(h=Fs(f=Fs(d=Fs(A=Fs(p=Fs(g="".concat(e,"<img ")).call(g,T,'="')).call(p,Kg.set(OA(this.urlProcessor(w,"image"))),'" ')).call(A,m," ")).call(d,v," ")).call(f,y,' alt="')).call(h,LA(n||""),'"')).call(u,c," ")).call(l,E,"/>")}return t}},{key:"toMediaHtml",value:function(t,e,n,r,i,a,o,s,c){var l,u;if(!this.extendMedia.replacer[n])return t;for(var h=arguments.length,f=new Array(h>9?h-9:0),d=9;d<h;d++)f[d-9]=arguments[d];return(l=this.extendMedia.replacer[n]).call.apply(l,Fs(u=[this,t,e,r,i,a,c]).call(u,f))}},{key:"makeHtml",value:function(t){var e,n,r,i,a=t;this.test(a)&&(a=od()?a.replace(this.RULE.reg,Ps(e=this.toHtml).call(e,this)):fg(a,this.RULE.reg,Ps(n=this.toHtml).call(n,this),!0,1));this.testMedia(a)&&(a=od()?a.replace(this.RULE.regExtend,Ps(r=this.toMediaHtml).call(r,this)):fg(a,this.RULE.regExtend,Ps(i=this.toMediaHtml).call(i,this),!0,1));return a}},{key:"testMedia",value:function(t){return this.RULE.regExtend&&this.RULE.regExtend.test(t)}},{key:"rule",value:function(t){var e={begin:od()?"((?<!\\\\))!":"(^|[^\\\\])!",content:["\\[([^\\n]*?)\\]","[ \\t]*","".concat('(?:\\(([^"][^\\s]+?)(?:[ \\t]((?:".*?")|(?:\'.*?\')))?\\)|\\[(').concat(cd,")\\]")+")"].join(""),end:"({[^{}]+?})?"};if(t){var n=function(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=Qm(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=Qm(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}({},e);n.begin=od()?"((?<!\\\\))!(".concat(t.tag.join("|"),")"):"(^|[^\\\\])!(".concat(t.tag.join("|"),")"),n.end="({poster=(.*)})?",e.regExtend=ad(n,"g")}return e.reg=ad(e,"g"),e}}]),n}(qd);function $m(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function Km(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=$m(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=$m(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}function Gm(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(jm,"HOOK_NAME","image");function zm(t){var e;if("object"!==ss(t)&&ar(t).length<1)return"";var n=[""];return ao(e=ar(t)).call(e,(function(e){var r;n.push(Fs(r="".concat(e,'="')).call(r,t[e],'"'))})),n.join(" ")}function Xm(t,e){for(var n=/^(\t|[ ])/,r=t;n.test(r);)e.space+="\t"===r[0]?4:1,r=r.replace(n,"");return r}function qm(t,e){var n=/^((([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]*?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/;return n.test(t)?t.replace(n,(function(t,n,r,i,a){return e.type=r.search(/[*+-]/g)>-1?"ul":"ol",e.listStyle=function(t){return/^[a-z]/.test(t)?"lower-greek":/^[一二三四五六七八九十]/.test(t)?"cjk-ideographic":/^I/.test(t)?"upper-roman":/^\+/.test(t)?"circle":/^\*/.test(t)?"square":"default"}(r),e.start=Number(r.replace(".",""))?Number(r.replace(".","")):1,a})):(e.type="blank",t)}var Vm=hs((function t(){bo(this,t),this.index=0,this.space=0,this.type="",this.start=1,this.listStyle="",this.strs=[],this.children=[],this.lines=0})),Wm=function(t){Es(n,t);var e=Gm(n);function n(t){var r,i=t.config;return bo(this,n),(r=e.call(this,{needCache:!0})).config=i||{},r.tree=[],r.emptyLines=0,r.indentSpace=Math.max(r.config.indentSpace,2),r}return hs(n,[{key:"addNode",value:function(t,e,n,r){"blank"===t.type?this.tree[r].strs.push(t.strs[0]):(this.tree[n].children.push(e),this.tree[e]=Km(Km({},t),{},{parent:n}))}},{key:"buildTree",value:function(t,e){var n=t.split("\n");this.tree=[],n.unshift("");for(var r=t.match(/\n*$/g)[0].length,i=0;i<n.length-r;i++){var a=new Vm;if(n[i]=Xm(n[i],a),n[i]=qm(n[i],a),a.strs.push(e(n[i]).html),a.index=i,0!==i){for(var o=i-1;!this.tree[o];)o-=1;if("blank"===a.type)this.addNode(a,i,this.tree[o].parent,o);else{for(;!this.tree[o]||this.tree[o].space>a.space;)o-=1;var s=a.space,c=this.tree[o].space;s<c+this.indentSpace?this.config.listNested&&this.tree[o].type!==a.type?this.addNode(a,i,o):this.addNode(a,i,this.tree[o].parent):s<c+this.indentSpace+4?this.addNode(a,i,o):(a.type="blank",this.addNode(a,i,this.tree[o].parent,o))}}else a.space=-2,this.tree.push(a)}}},{key:"renderSubTree",value:function(t,e,n){var r,i,a,o=this,s=0,c={},l=Em(e).call(e,(function(e,n){var r,i,a,c=o.tree[n],l={},u="<p>".concat(c.strs.join("<br>"),"</p>");c.lines+=o.getLineCount(c.strs.join("\n"));var h=c.children.length?o.renderTree(n):"";t.lines+=c.lines,s+=c.lines;return/<span class="ch-icon ch-icon-(square|check)"><\/span>/.test(u)&&(l.class="check-list-item"),Fs(r=Fs(i=Fs(a="".concat(e,"<li")).call(a,zm(l),">")).call(i,u)).call(r,h,"</li>")}),"");return void 0===t.parent&&(c["data-lines"]=0===t.index?s+this.emptyLines:s,c["data-sign"]=this.sign),e[0]&&"ol"===n&&(c.start=this.tree[e[0]].start),c.class="cherry-list__".concat(this.tree[e[0]].listStyle),Fs(r=Fs(i=Fs(a="<".concat(n)).call(a,zm(c),">")).call(i,l,"</")).call(r,n,">")}},{key:"renderTree",value:function(t){var e=this,n=0,r=this.tree[t],i=r.children;return Em(i).call(i,(function(t,a,o){if(0===o)return t;if(e.tree[i[o]].type===e.tree[i[o-1]].type)return t;var s=e.renderSubTree(r,Cf(i).call(i,n,o),e.tree[i[o-1]].type);return n=o,t+s}),"")+(i.length?this.renderSubTree(r,Cf(i).call(i,n,i.length),this.tree[i[i.length-1]].type):"")}},{key:"toHtml",value:function(t,e){var n,r;this.emptyLines=null!==(n=null===(r=t.match(/^\n\n/))||void 0===r?void 0:r.length)&&void 0!==n?n:0;var i=t.replace(/~0$/g,"").replace(/^\n+/,"");this.buildTree(function(t){return t.replace(/^((?:|[\t ]+)[*+-]\s+)\[(\s|x)\]/gm,(function(t,e,n){var r,i=/\s/.test(n)?'<span class="ch-icon ch-icon-square"></span>':'<span class="ch-icon ch-icon-check"></span>';return Fs(r="".concat(e)).call(r,i)}))}(i),e);var a=this.renderTree(0);return this.pushCache(a,this.sign,this.$getLineNum(t))}},{key:"$getLineNum",value:function(t){var e,n,r,i,a=null!==(e=null===(n=t.match(/^\n\n/))||void 0===n?void 0:n.length)&&void 0!==e?e:0;return null!==(r=null===(i=t.replace(/^\n+/,"").replace(/\n+$/,"\n").match(/\n/g))||void 0===i?void 0:i.length)&&void 0!==r?r:0+a}},{key:"makeHtml",value:function(t,e){var n=this,r="".concat(t,"~0");return this.test(r)&&(r=r.replace(this.RULE.reg,(function(t){return n.getCacheWithSpace(n.checkCache(t,e,n.$getLineNum(t)),t)}))),r=r.replace(/~0$/g,"")}},{key:"rule",value:function(){var t={begin:"(?:^|\n)(\n*)(([ ]{0,3}([*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)",content:"([^\\r]+?)",end:"(~0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.]|[a-z]\\.|[I一二三四五六七八九十]+\\.)[ \\t]+)))"};return t.reg=new RegExp(t.begin+t.content+t.end,"gm"),t}}]),n}(FA);function Ym(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}function Jm(t){for(var e=/^(\t|[ ]{1,4})/,n=t,r=0;e.test(n);)n=n.replace(/^(\t|[ ]{1,4})/g,""),r+=1;return r}Ms(Wm,"HOOK_NAME","list");var Zm=function(t){Es(n,t);var e=Ym(n);function n(){return bo(this,n),e.call(this,{needCache:!0})}return hs(n,[{key:"handleMatch",value:function(t,e){var n=this;return t.replace(this.RULE.reg,(function(t,r,i){for(var a,o,s=e(i),c=s.sign,l=s.html,u=n.signWithCache(l)||c,h=n.getLineCount(t,r),f=/^(([ \t]{0,3}([*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)([^\r]+?)($|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.]|[a-z]\.|[I一二三四五六七八九十]+\.)[ \t]+)))/,d=Jm(r),A=l.split("\n"),p=/^[>\s]+/,g=/>/g,m=1,b=0,v=Fs(a=Fs(o='<blockquote data-sign="'.concat(u,"_")).call(o,h,'" data-lines="')).call(a,h,'">'),y=0;A[y];y++){if(0!==y){var w=Jm(A[y]);if(w<=d&&f.test(A[y]))break;d=w}var T=A[y].replace(p,(function(t){var e=t.match(g);return b=e&&e.length>m?e.length:m,""}));if(m===b&&0!==y&&(v+="<br>"),m<b)v+=Jg("<blockquote>").call("<blockquote>",b-m),m=b;v+=T}return v+=Jg("</blockquote>").call("</blockquote>",m),n.getCacheWithSpace(n.pushCache(v,u,h),t)}))}},{key:"makeHtml",value:function(t,e){return this.test(t)?this.handleMatch(t,e):t}},{key:"rule",value:function(){var t={begin:"(?:^|\\n)(\\s*)",content:["(",">(?:.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))(?:>*.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))*(?:>*.+?)","|",">(?:.+?)",")"].join(""),end:"(?=(\\n)|$)"};return t.reg=ad(t,"g"),t}}]),n}(FA);function tb(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Zm,"HOOK_NAME","blockquote");var eb=function(t){Es(n,t);var e=tb(n);function n(t){var r,i=t.config,a=t.globalConfig;return bo(this,n),(r=e.call(this,{config:i})).urlProcessor=a.urlProcessor,r.enableShortLink=!!i.enableShortLink,r.shortLinkLength=i.shortLinkLength,r.target=i.target?'target="'.concat(i.target,'"'):i.openNewPage?'target="_blank"':"",r.rel=i.rel?'rel="'.concat(i.rel,'"'):"",r}return hs(n,[{key:"isLinkInHtmlAttribute",value:function(t,e,n){for(var r,i=new RegExp(["<","([a-zA-Z][a-zA-Z0-9-]*)","(",["\\s+[a-zA-Z_:][a-zA-Z0-9_.:-]*","(",["\\s*=\\s*","(",["([^\\s\"'=<>`]+)","('[^']*')",'("[^"]*")'].join("|"),")"].join(""),")?"].join(""),")*","\\s*[/]?>"].join(""),"g");null!==(r=i.exec(t))&&!(r.index>e+n);)if(r.index<e&&r.index+r[0].length>=e+n)return!0;return!1}},{key:"isLinkInATag",value:function(t,e,n){for(var r,i=/<a.*>[^<]*<\/a>/g;null!==(r=i.exec(t))&&!(r.index>e+n);)if(r.index<e&&r.index+r[0].length>=e+n)return!0;return!1}},{key:"makeHtml",value:function(t,e){var n=this;return this.test(t)&&(hd.test(t)||dd.test(t))?t.replace(this.RULE.reg,(function(t,e,r,i,a,o,s){var c,l,u;if(n.isLinkInHtmlAttribute(s,o,r.length+i.length)||n.isLinkInATag(s,o,r.length+i.length))return t;var h=r.toLowerCase(),f="",d="",A=!0;if(("<"!==e&&"<"!==e||">"!==a&&">"!==a)&&(f=e,d=a,A=!1),""===ih(i).call(i)||!A&&""===h&&!/www\./.test(i))return t;switch(h){case"javascript:":return t;case"mailto:":var p,g,m,b,v,y;return fd.test(i)?Fs(p=Fs(g=Fs(m=Fs(b=Fs(v="".concat(f,'<a href="')).call(v,OA(Fs(y="".concat(h)).call(y,i)),'" ')).call(b,n.target," ")).call(m,n.rel,">")).call(g,LA(i),"</a>")).call(p,d):t;case"":var w,T,k,C,E,x,_,B,S,L;if(f===d||!A)return fd.test(i)?Fs(w=Fs(T=Fs(k=Fs(C=Fs(E="".concat(f,'<a href="mailto:')).call(E,OA(i),'" ')).call(C,n.target," ")).call(k,n.rel,">")).call(T,LA(i),"</a>")).call(w,d):pd.test(i)?Fs(x=Fs(_="".concat(f)).call(_,n.renderLink("//".concat(i),i))).call(x,d):t;if(A)return fd.test(i)?Fs(B=Fs(S=Fs(L='<a href="mailto:'.concat(OA(i),'" ')).call(L,n.target," ")).call(S,n.rel,">")).call(B,LA(i),"</a>"):gd.test(i)||pd.test(i)?n.renderLink(i):t;default:return gd.test(i)?Fs(c=Fs(l="".concat(f)).call(l,n.renderLink(Fs(u="".concat(h)).call(u,i)))).call(c,d):t}return t})):t}},{key:"rule",value:function(){var t,e={begin:"(<?)",content:["((?:[a-z][a-z0-9+.-]{1,31}:)?)",Fs(t="((?:".concat(Ad.source,")|(?:")).call(t,hd.source,"))")].join(""),end:"(>?)"};return e.reg=ad(e,"ig"),e}},{key:"renderLink",value:function(t,e){var n,r,i,a,o=e;if("string"!=typeof o)if(this.enableShortLink){var s,c=t.replace(/^https?:\/\//i,"");o=Fs(s="".concat(c.substring(0,this.shortLinkLength))).call(s,c.length>this.shortLinkLength?"...":"")}else o=t;var l=this.urlProcessor(t,"autolink");return Fs(n=Fs(r=Fs(i=Fs(a="<a ".concat(this.target," ")).call(a,this.rel,' title="')).call(i,LA(t).replace(/_/g,"\\_"),'" href="')).call(r,OA(l).replace(/_/g,"\\_"),'">')).call(n,LA(o).replace(/_/g,"\\_"),"</a>")}}]),n}(qd);function nb(){var t,e,n,r;Mm()&&(this.katex=null!==(t=null===(e=this.externals)||void 0===e?void 0:e.katex)&&void 0!==t?t:window.katex,this.MathJax=null!==(n=null===(r=this.externals)||void 0===r?void 0:r.MathJax)&&void 0!==n?n:window.MathJax)}Ms(eb,"HOOK_NAME","autoLink");var rb=["&","<",">",'"',"'"],ib=function(t){var e=t.replace(new RegExp(ld,"g"),(function(t){return-1!==Tf(rb).call(rb,t)?SA(t):"\\".concat(t)}));return e};function ab(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var ob=function(t){Es(n,t);var e=ab(n);function n(t){var r,i,a=t.config;return bo(this,n),Ms(fs(i=e.call(this,{needCache:!0})),"engine","MathJax"),Ms(fs(i),"katex",void 0),Ms(fs(i),"MathJax",void 0),i.engine=Mm()?null!==(r=a.engine)&&void 0!==r?r:"MathJax":"node",i}return hs(n,[{key:"toHtml",value:function(t,e,n,r){var i,a,o;Ps(nb).call(nb,this)("engine");var s=t.replace(/^[ \f\r\t\v]*/,"").replace(/\s*$/,""),c=e.replace(/^[ \f\r\t\v]*\n/,""),l=this.$engine.md5(t),u=this.getLineCount(s,c);if(/\n/.test(e)||(u-=1),/\n\s*$/.test(t)||(u-=1),u=u>0?u:0,"katex"===this.engine){var h,f,d=this.katex.renderToString(r,{throwOnError:!1,displayMode:!0}),A=Fs(h=Fs(f='<div data-sign="'.concat(l,'" class="Cherry-Math" data-type="mathBlock"\n data-lines="')).call(f,u,'">')).call(h,d,"</div>");return n+this.getCacheWithSpace(this.pushCache(A,l,u),t)}if(null!==(i=this.MathJax)&&void 0!==i&&i.tex2svg){var p,g,m=zf(this.MathJax.tex2svg(r),!0),b=Fs(p=Fs(g='<div data-sign="'.concat(l,'" class="Cherry-Math" data-type="mathBlock"\n data-lines="')).call(g,u,'">')).call(p,m,"</div>");return n+this.getCacheWithSpace(this.pushCache(b,l,u),t)}var v=Fs(a=Fs(o='<div data-sign="'.concat(l,'" class="Cherry-Math" data-type="mathBlock"\n data-lines="')).call(o,u,'">$$')).call(a,ib(r),"$$</div>");return n+this.getCacheWithSpace(this.pushCache(v,l,u),t)}},{key:"beforeMakeHtml",value:function(t){var e,n;return od()?t.replace(this.RULE.reg,Ps(n=this.toHtml).call(n,this)):fg(t,this.RULE.reg,Ps(e=this.toHtml).call(e,this),!0,1)}},{key:"makeHtml",value:function(t){return t}},{key:"rule",value:function(){var t={begin:od()?"(\\s*)((?<!\\\\))~D~D\\s*":"(\\s*)(^|[^\\\\])~D~D\\s*",content:"([\\w\\W]*?)",end:"(\\s*)~D~D(?:\\s{0,1})"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(FA);function sb(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(ob,"HOOK_NAME","mathBlock");var cb=function(t){Es(n,t);var e=sb(n);function n(t){var r,i,a=t.config;return bo(this,n),Ms(fs(i=e.call(this,{needCache:!0})),"engine","MathJax"),Ms(fs(i),"katex",void 0),Ms(fs(i),"MathJax",void 0),i.engine=Mm()?null!==(r=a.engine)&&void 0!==r?r:"MathJax":"node",i}return hs(n,[{key:"toHtml",value:function(t,e,n){var r,i,a,o;if(!n)return t;Ps(nb).call(nb,this)("engine");var s=n.match(/\n/g),c=s?s.length+2:2,l=this.$engine.md5(t);if("katex"===this.engine&&null!==(r=this.katex)&&void 0!==r&&r.renderToString){var u,h,f=this.katex.renderToString(n,{throwOnError:!1}),d=Fs(u=Fs(h="".concat(e,'<span class="Cherry-InlineMath" data-type="mathBlock" data-lines="')).call(h,c,'">')).call(u,f,"</span>");return this.pushCache(d,FA.IN_PARAGRAPH_CACHE_KEY_PREFIX+l)}if(null!==(i=this.MathJax)&&void 0!==i&&i.tex2svg){var A,p,g=zf(this.MathJax.tex2svg(n,{em:12,ex:6,display:!1}),!0),m=Fs(A=Fs(p="".concat(e,'<span class="Cherry-InlineMath" data-type="mathBlock" data-lines="')).call(p,c,'">')).call(A,g,"</span>");return this.pushCache(m,FA.IN_PARAGRAPH_CACHE_KEY_PREFIX+l)}var b=Fs(a=Fs(o="".concat(e,'<span class="Cherry-InlineMath" data-type="mathBlock"\n data-lines="')).call(o,c,'">$')).call(a,ib(n),"$</span>");return this.pushCache(b,FA.IN_PARAGRAPH_CACHE_KEY_PREFIX+l)}},{key:"beforeMakeHtml",value:function(t){var e=this,n=t;return n=n.replace(bd(!0),(function(t){var n;return tA(n=t.split("|")).call(n,(function(t){return e.makeInlineMath(t)})).join("|").replace(/\\~D/g,"~D").replace(/~D/g,"\\~D")})),this.makeInlineMath(n)}},{key:"makeInlineMath",value:function(t){var e,n;return this.test(t)?od()?t.replace(this.RULE.reg,Ps(n=this.toHtml).call(n,this)):fg(t,this.RULE.reg,Ps(e=this.toHtml).call(e,this),!0,1):t}},{key:"makeHtml",value:function(t){return t}},{key:"rule",value:function(){var t={begin:od()?"((?<!\\\\))~D\\n?":"(^|[^\\\\])~D\\n?",content:"(.*?)\\n?",end:"~D"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(FA);Ms(cb,"HOOK_NAME","inlineMath");var lb=function(t){for(var e=_t(this),n=bn(e),r=arguments.length,i=mn(r>1?arguments[1]:void 0,n),a=r>2?arguments[2]:void 0,o=void 0===a?n:mn(a,n);o>i;)e[i++]=t;return e};jn({target:"Array",proto:!0},{fill:lb}),Ha();var ub=Wi("Array").fill,hb=Array.prototype,fb=function(t){var e=t.fill;return t===hb||ct(hb,t)&&e===hb.fill?ub:e},db=fb;function Ab(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}function pb(t){return t}var gb={tocStyle:"plain",tocNodeClass:"toc-li",tocContainerClass:"toc",tocTitleClass:"toc-title",linkProcessor:pb},mb='<p data-sign="empty-toc" data-lines="1"> </p>',bb=function(t){Es(n,t);var e=Ab(n);function n(t){var r,i;t.externals;var a=t.config;return bo(this,n),Ms(fs(i=e.call(this,{needCache:!0})),"tocStyle","nested"),Ms(fs(i),"tocNodeClass","toc-li"),Ms(fs(i),"tocContainerClass","toc"),Ms(fs(i),"tocTitleClass","toc-title"),Ms(fs(i),"linkProcessor",pb),Ms(fs(i),"baseLevel",1),Ms(fs(i),"isFirstTocToken",!0),Ms(fs(i),"allowMultiToc",!1),ao(r=ar(gb)).call(r,(function(t){i[t]=a[t]||gb[t]})),i}return hs(n,[{key:"beforeMakeHtml",value:function(t){var e=this,n=t;return this.test(n,"extend")&&(n=n.replace(this.RULE.extend.reg,(function(t,n,r){var i;if(!e.allowMultiToc&&!e.isFirstTocToken)return Fs(i="\n".concat(n)).call(i,mb);var a=e.pushCache(t);return e.isFirstTocToken=!1,eA(t,a)}))),this.test(n,"standard")&&(n=n.replace(this.RULE.standard.reg,(function(t,n,r){var i;return e.allowMultiToc||e.isFirstTocToken?(e.isFirstTocToken=!1,eA(t,e.pushCache(t))):Fs(i="\n".concat(n)).call(i,mb)}))),n}},{key:"makeHtml",value:function(t){return t}},{key:"$makeLevel",value:function(t){for(var e="",n=this.baseLevel;n<t;n++)e+=" ";return e}},{key:"$makeTocItem",value:function(t,e){var n,r,i,a,o,s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c="";e&&(c=this.$makeLevel(t.level));var l=this.linkProcessor("#".concat(t.id).replace(/safe_/g,""));return Fs(n=Fs(r=Fs(i=Fs(a=Fs(o='<li class="'.concat(this.tocNodeClass,'">')).call(o,c,'<a href="')).call(a,l,'" class="level-')).call(i,t.level,'">')).call(r,t.text,"</a>")).call(n,s?"</li>":"")}},{key:"$makePlainToc",value:function(t){var e=this,n=tA(t).call(t,(function(t){return e.$makeTocItem(t,!0)}));return n.join("")}},{key:"$makeNestedToc",value:function(t){var e,n,r=this,i=0,a=db(e=new Array(7)).call(e,!1),o=db(n=new Array(7)).call(n,!1),s="";ao(t).call(t,(function(t){var e=t.level;if(0===i){for(var n=e;n>=r.baseLevel;n--)s+="<ul>",o[n]=!0;return s+=r.$makeTocItem(t,!1,!1),a[e]=!0,void(i=e)}if(e<i){for(var c=i;c>=e;c--)a[c]&&(s+="</li>",a[c]=!1),o[c]&&c>e&&(s+="</ul>",o[c]=!1);a[e]=!0,s+=r.$makeTocItem(t,!1,!1),i=e}else if(e===i)a[i]&&(s+="</li>"),s+=r.$makeTocItem(t,!1,!1),a[e]=!0,o[e]=!0;else{for(var l=i+1;l<=e;l++)s+="<ul>",o[l]=!0;a[e]=!0,s+=r.$makeTocItem(t,!1,!1),i=e}}));for(var c=i;c>=this.baseLevel;c--)a[c]&&(s+="</li>",a[c]=!1),o[c]&&(s+="</ul>",o[c]=!1);return s}},{key:"$makeToc",value:function(t,e,n){var r,i,a,o=nA(n,1),s=Fs(r=Fs(i=Fs(a='<dir class="'.concat(this.tocContainerClass,'" data-sign="')).call(a,e,"-")).call(i,o,'" data-lines="')).call(r,o,'">');return s+='<p class="'.concat(this.tocTitleClass,'">目录</p>'),t.length<=0?"":(this.baseLevel=Math.min.apply(Math,cg(tA(t).call(t,(function(t){return t.level})))),"nested"===this.tocStyle?s+=this.$makeNestedToc(t):s+=this.$makePlainToc(t),s+="</dir>")}},{key:"afterMakeHtml",value:function(t){var e=this,r=om(Is(n.prototype),"afterMakeHtml",this).call(this,t),i=[],a="";return r.replace(/<h([1-6])[^>]*? id="([^"]+?)"[^>]*?>(?:<a[^/]+?\/a>|)(.+?)<\/h\1>/g,(function(t,e,n,r){var o,s=r.replace(/~fn#[0-9]+#/g,"");i.push({level:+e,id:n,text:s}),a+=Fs(o="".concat(e)).call(o,n)})),a=this.$engine.md5(a),r=r.replace(/(?:^|\n)(\[\[|\[|【【)(toc|TOC)(\]\]|\]|】】)([<~])/,(function(t){return t.replace(/(\]\]|\]|】】)([<~])/,"$1\n$2")})),r=(r=r.replace(this.RULE.extend.reg,(function(t,n){return e.$makeToc(i,a,n)}))).replace(this.RULE.standard.reg,(function(t,n){return e.$makeToc(i,a,n)})),this.isFirstTocToken=!0,r}},{key:"test",value:function(t,e){return!!this.RULE[e].reg&&this.RULE[e].reg.test(t)}},{key:"rule",value:function(){var t={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*((?:【【|\\[\\[)(?:toc|TOC)(?:\\]\\]|】】))[ ]*"};t.reg=new RegExp(t.begin+t.content+t.end,"g");var e={begin:"(?:^|\\n)(\\n*)",end:"(?=$|\\n)",content:"[ ]*(\\[(?:toc|TOC)\\])[ ]*"};return e.reg=new RegExp(e.begin+e.content+e.end,"g"),{extend:t,standard:e}}}]),n}(FA);function vb(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(bb,"HOOK_NAME","toc");var yb=function(t){Es(n,t);var e=vb(n);function n(t){var r;return t.externals,t.config,bo(this,n),(r=e.call(this)).footnoteCache={},r.footnoteMap={},r.footnote=[],r}return hs(n,[{key:"$cleanCache",value:function(){this.footnoteCache={},this.footnoteMap={},this.footnote=[]}},{key:"pushFootnoteCache",value:function(t,e){this.footnoteCache[t]=e}},{key:"getFootnoteCache",value:function(t){return this.footnoteCache[t]||null}},{key:"pushFootNote",value:function(t,e){var n,r,i,a,o,s;if(this.footnoteMap[t])return this.footnoteMap[t];var c=this.footnote.length+1,l={};l.fn=Fs(n=Fs(r=Fs(i='<sup><a href="#fn:'.concat(c,'" id="fnref:')).call(i,c,'" title="')).call(r,t,'" class="footnote">[')).call(n,c,"]</a></sup>"),l.fnref=Fs(a=Fs(o=Fs(s='<a href="#fnref:'.concat(c,'" id="fn:')).call(s,c,'" title="')).call(o,t,'" class="footnote-ref">[')).call(a,c,"]</a>"),l.num=c,l.note=ih(e).call(e),this.footnote.push(l);var u="\0~fn#".concat(c-1,"#\0");return this.footnoteMap[t]=u,u}},{key:"getFootNote",value:function(){return this.footnote}},{key:"formatFootNote",value:function(){var t,e=this.getFootNote();if(e.length<=0)return"";var n=tA(e).call(e,(function(t){var e;return Fs(e='<div class="one-footnote">\n'.concat(t.fnref)).call(e,t.note,"\n</div>")})).join(""),r=this.$engine.md5(n);return n=Fs(t='<div class="footnote" data-sign="'.concat(r,'" data-lines="0"><div class="footnote-title">脚注</div>')).call(t,n,"</div>")}},{key:"beforeMakeHtml",value:function(t){var e=this,n=t;return this.test(n)&&(n=n.replace(this.RULE.reg,(function(t,n,r,i){return e.pushFootnoteCache(r,i),(t.match(/\n/g)||[]).join("")})),n=n.replace(/\[\^([^\]]+?)\](?!:)/g,(function(t,n){var r=e.getFootnoteCache(n);return r?e.pushFootNote(n,r):t})),n+=this.formatFootNote()),n}},{key:"makeHtml",value:function(t,e){return t}},{key:"afterMakeHtml",value:function(t){var e=this.getFootNote(),n=t.replace(/\0~fn#([0-9]+)#\0/g,(function(t,n){return e[n].fn}));return this.$cleanCache(),n}},{key:"rule",value:function(){var t={begin:"(^|\\n)[ \t]*",content:["\\[\\^([^\\]]+?)\\]:\\h*","([\\s\\S]+?)"].join(""),end:"(?=\\s*$|\\n\\n)"};return t.reg=ad(t,"g",!0),t}}]),n}(FA);function wb(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(yb,"HOOK_NAME","footnote");var Tb=function(t){Es(n,t);var e=wb(n);function n(t){var r;return t.externals,t.config,bo(this,n),(r=e.call(this)).commentCache={},r}return hs(n,[{key:"$cleanCache",value:function(){this.commentCache={}}},{key:"pushCommentReferenceCache",value:function(t,e){var n,r=lg(e.split(/[ ]+/g)),i=r[0],a=Cf(r).call(r,1),o=Kg.set(i);this.commentCache["".concat(t).toLowerCase()]=Fs(n=[o]).call(n,cg(a)).join(" ")}},{key:"getCommentReferenceCache",value:function(t){return this.commentCache["".concat(t).toLowerCase()]||null}},{key:"beforeMakeHtml",value:function(t){var e=this,n=t;if(this.test(n)){n=n.replace(this.RULE.reg,(function(t,n,r,i){var a;return e.pushCommentReferenceCache(r,i),(null!==(a=t.match(/\n/g))&&void 0!==a?a:[]).join("")}));n=n.replace(/(\[[^\]\n]+?\])?(?:\[([^\]\n]+?)\])/g,(function(t,n,r){var i,a,o=e.getCommentReferenceCache(r);return o?n?Fs(a="".concat(n,"(")).call(a,o,")"):Fs(i="[".concat(r,"](")).call(i,o,")"):t})),this.$cleanCache()}return n}},{key:"makeHtml",value:function(t,e){return t}},{key:"afterMakeHtml",value:function(t){return Kg.restoreAll(t)}},{key:"rule",value:function(){var t={begin:"(^|\\n)[ \t]*",content:["\\[([^^][^\\]]*?)\\]:\\h*","([^\\n]+?)"].join(""),end:"(?=$|\\n)"};return t.reg=ad(t,"g",!0),t}}]),n}(FA);Ms(Tb,"HOOK_NAME","commentReference");var kb=qr.some,Cb=Ja("some");jn({target:"Array",proto:!0,forced:!Cb},{some:function(t){return kb(this,t,arguments.length>1?arguments[1]:void 0)}});var Eb=Wi("Array").some,xb=Array.prototype,_b=function(t){var e=t.some;return t===xb||ct(xb,t)&&e===xb.some?Eb:e},Bb=_b,Sb=r((function(t,e){t.exports=function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,n){return e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(t,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function r(t,i,a){return r=n()?Reflect.construct:function(t,n,r){var i=[null];i.push.apply(i,n);var a=new(Function.bind.apply(t,i));return r&&e(a,r.prototype),a},r.apply(null,arguments)}function i(t){return a(t)||o(t)||s(t)||l()}function a(t){if(Array.isArray(t))return c(t)}function o(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function s(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=Object.hasOwnProperty,h=Object.setPrototypeOf,f=Object.isFrozen,d=Object.getPrototypeOf,A=Object.getOwnPropertyDescriptor,p=Object.freeze,g=Object.seal,m=Object.create,b="undefined"!=typeof Reflect&&Reflect,v=b.apply,y=b.construct;v||(v=function(t,e,n){return t.apply(e,n)}),p||(p=function(t){return t}),g||(g=function(t){return t}),y||(y=function(t,e){return r(t,i(e))});var w=M(Array.prototype.forEach),T=M(Array.prototype.pop),k=M(Array.prototype.push),C=M(String.prototype.toLowerCase),E=M(String.prototype.toString),x=M(String.prototype.match),_=M(String.prototype.replace),B=M(String.prototype.indexOf),S=M(String.prototype.trim),L=M(RegExp.prototype.test),I=O(TypeError);function M(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return v(t,e,r)}}function O(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return y(t,n)}}function N(t,e,n){var r;n=null!==(r=n)&&void 0!==r?r:C,h&&h(t,null);for(var i=e.length;i--;){var a=e[i];if("string"==typeof a){var o=n(a);o!==a&&(f(e)||(e[i]=o),a=o)}t[a]=!0}return t}function D(t){var e,n=m(null);for(e in t)!0===v(u,t,[e])&&(n[e]=t[e]);return n}function F(t,e){for(;null!==t;){var n=A(t,e);if(n){if(n.get)return M(n.get);if("function"==typeof n.value)return M(n.value)}t=d(t)}function r(t){return console.warn("fallback value for",t),null}return r}var P=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Q=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=p(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),H=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),j=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=p(["#text"]),K=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),G=p(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=p(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),X=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=g(/<%[\w\W]*|[\w\W]*%>/gm),W=g(/\${[\w\W]*}/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),J=g(/^aria-[\-\w]+$/),Z=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tt=g(/^(?:\w+script|data):/i),et=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nt=g(/^html$/i),rt=function(){return"undefined"==typeof window?null:window},it=function(e,n){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function at(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rt(),n=function(t){return at(t)};if(n.version="2.4.7",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,a=e.document,o=e.DocumentFragment,s=e.HTMLTemplateElement,c=e.Node,l=e.Element,u=e.NodeFilter,h=e.NamedNodeMap,f=void 0===h?e.NamedNodeMap||e.MozNamedAttrMap:h,d=e.HTMLFormElement,A=e.DOMParser,g=e.trustedTypes,m=l.prototype,b=F(m,"cloneNode"),v=F(m,"nextSibling"),y=F(m,"childNodes"),M=F(m,"parentNode");if("function"==typeof s){var O=a.createElement("template");O.content&&O.content.ownerDocument&&(a=O.content.ownerDocument)}var ot=it(g,r),st=ot?ot.createHTML(""):"",ct=a,lt=ct.implementation,ut=ct.createNodeIterator,ht=ct.createDocumentFragment,ft=ct.getElementsByTagName,dt=r.importNode,At={};try{At=D(a).documentMode?a.documentMode:{}}catch(t){}var pt={};n.isSupported="function"==typeof M&<&&void 0!==lt.createHTMLDocument&&9!==At;var gt,mt,bt=q,vt=V,yt=W,wt=Y,Tt=J,kt=tt,Ct=et,Et=Z,xt=null,_t=N({},[].concat(i(P),i(R),i(Q),i(H),i($))),Bt=null,St=N({},[].concat(i(K),i(G),i(z),i(X))),Lt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),It=null,Mt=null,Ot=!0,Nt=!0,Dt=!1,Ft=!0,Pt=!1,Rt=!1,Qt=!1,Ut=!1,Ht=!1,jt=!1,$t=!1,Kt=!0,Gt=!1,zt="user-content-",Xt=!0,qt=!1,Vt={},Wt=null,Yt=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Jt=null,Zt=N({},["audio","video","img","source","image","track"]),te=null,ee=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ne="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",ie="http://www.w3.org/1999/xhtml",ae=ie,oe=!1,se=null,ce=N({},[ne,re,ie],E),le=["application/xhtml+xml","text/html"],ue="text/html",he=null,fe=a.createElement("form"),de=function(t){return t instanceof RegExp||t instanceof Function},Ae=function(e){he&&he===e||(e&&"object"===t(e)||(e={}),e=D(e),gt=gt=-1===le.indexOf(e.PARSER_MEDIA_TYPE)?ue:e.PARSER_MEDIA_TYPE,mt="application/xhtml+xml"===gt?E:C,xt="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS,mt):_t,Bt="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR,mt):St,se="ALLOWED_NAMESPACES"in e?N({},e.ALLOWED_NAMESPACES,E):ce,te="ADD_URI_SAFE_ATTR"in e?N(D(ee),e.ADD_URI_SAFE_ATTR,mt):ee,Jt="ADD_DATA_URI_TAGS"in e?N(D(Zt),e.ADD_DATA_URI_TAGS,mt):Zt,Wt="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS,mt):Yt,It="FORBID_TAGS"in e?N({},e.FORBID_TAGS,mt):{},Mt="FORBID_ATTR"in e?N({},e.FORBID_ATTR,mt):{},Vt="USE_PROFILES"in e&&e.USE_PROFILES,Ot=!1!==e.ALLOW_ARIA_ATTR,Nt=!1!==e.ALLOW_DATA_ATTR,Dt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ft=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Pt=e.SAFE_FOR_TEMPLATES||!1,Rt=e.WHOLE_DOCUMENT||!1,Ht=e.RETURN_DOM||!1,jt=e.RETURN_DOM_FRAGMENT||!1,$t=e.RETURN_TRUSTED_TYPE||!1,Ut=e.FORCE_BODY||!1,Kt=!1!==e.SANITIZE_DOM,Gt=e.SANITIZE_NAMED_PROPS||!1,Xt=!1!==e.KEEP_CONTENT,qt=e.IN_PLACE||!1,Et=e.ALLOWED_URI_REGEXP||Et,ae=e.NAMESPACE||ie,Lt=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&de(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Lt.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&de(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Lt.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Lt.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(Nt=!1),jt&&(Ht=!0),Vt&&(xt=N({},i($)),Bt=[],!0===Vt.html&&(N(xt,P),N(Bt,K)),!0===Vt.svg&&(N(xt,R),N(Bt,G),N(Bt,X)),!0===Vt.svgFilters&&(N(xt,Q),N(Bt,G),N(Bt,X)),!0===Vt.mathMl&&(N(xt,H),N(Bt,z),N(Bt,X))),e.ADD_TAGS&&(xt===_t&&(xt=D(xt)),N(xt,e.ADD_TAGS,mt)),e.ADD_ATTR&&(Bt===St&&(Bt=D(Bt)),N(Bt,e.ADD_ATTR,mt)),e.ADD_URI_SAFE_ATTR&&N(te,e.ADD_URI_SAFE_ATTR,mt),e.FORBID_CONTENTS&&(Wt===Yt&&(Wt=D(Wt)),N(Wt,e.FORBID_CONTENTS,mt)),Xt&&(xt["#text"]=!0),Rt&&N(xt,["html","head","body"]),xt.table&&(N(xt,["tbody"]),delete It.tbody),p&&p(e),he=e)},pe=N({},["mi","mo","mn","ms","mtext"]),ge=N({},["foreignobject","desc","title","annotation-xml"]),me=N({},["title","style","font","a","script"]),be=N({},R);N(be,Q),N(be,U);var ve=N({},H);N(ve,j);var ye=function(t){var e=M(t);e&&e.tagName||(e={namespaceURI:ae,tagName:"template"});var n=C(t.tagName),r=C(e.tagName);return!!se[t.namespaceURI]&&(t.namespaceURI===re?e.namespaceURI===ie?"svg"===n:e.namespaceURI===ne?"svg"===n&&("annotation-xml"===r||pe[r]):Boolean(be[n]):t.namespaceURI===ne?e.namespaceURI===ie?"math"===n:e.namespaceURI===re?"math"===n&&ge[r]:Boolean(ve[n]):t.namespaceURI===ie?!(e.namespaceURI===re&&!ge[r])&&!(e.namespaceURI===ne&&!pe[r])&&!ve[n]&&(me[n]||!be[n]):!("application/xhtml+xml"!==gt||!se[t.namespaceURI]))},we=function(t){k(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=st}catch(e){t.remove()}}},Te=function(t,e){try{k(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){k(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Bt[t])if(Ht||jt)try{we(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},ke=function(t){var e,n;if(Ut)t="<remove></remove>"+t;else{var r=x(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===gt&&ae===ie&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var i=ot?ot.createHTML(t):t;if(ae===ie)try{e=(new A).parseFromString(i,gt)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(ae,"template",null);try{e.documentElement.innerHTML=oe?st:i}catch(t){}}var o=e.body||e.documentElement;return t&&n&&o.insertBefore(a.createTextNode(n),o.childNodes[0]||null),ae===ie?ft.call(e,Rt?"html":"body")[0]:Rt?e.documentElement:o},Ce=function(t){return ut.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},Ee=function(t){return t instanceof d&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof f)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},xe=function(e){return"object"===t(c)?e instanceof c:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},_e=function(t,e,r){pt[t]&&w(pt[t],(function(t){t.call(n,e,r,he)}))},Be=function(t){var e;if(_e("beforeSanitizeElements",t,null),Ee(t))return we(t),!0;if(L(/[\u0080-\uFFFF]/,t.nodeName))return we(t),!0;var r=mt(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:r,allowedTags:xt}),t.hasChildNodes()&&!xe(t.firstElementChild)&&(!xe(t.content)||!xe(t.content.firstElementChild))&&L(/<[/\w]/g,t.innerHTML)&&L(/<[/\w]/g,t.textContent))return we(t),!0;if("select"===r&&L(/<template/i,t.innerHTML))return we(t),!0;if(!xt[r]||It[r]){if(!It[r]&&Le(r)){if(Lt.tagNameCheck instanceof RegExp&&L(Lt.tagNameCheck,r))return!1;if(Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(r))return!1}if(Xt&&!Wt[r]){var i=M(t)||t.parentNode,a=y(t)||t.childNodes;if(a&&i)for(var o=a.length-1;o>=0;--o)i.insertBefore(b(a[o],!0),v(t))}return we(t),!0}return t instanceof l&&!ye(t)?(we(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!L(/<\/no(script|embed|frames)/i,t.innerHTML)?(Pt&&3===t.nodeType&&(e=t.textContent,e=_(e,bt," "),e=_(e,vt," "),e=_(e,yt," "),t.textContent!==e&&(k(n.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1):(we(t),!0)},Se=function(t,e,n){if(Kt&&("id"===e||"name"===e)&&(n in a||n in fe))return!1;if(Nt&&!Mt[e]&&L(wt,e));else if(Ot&&L(Tt,e));else if(!Bt[e]||Mt[e]){if(!(Le(t)&&(Lt.tagNameCheck instanceof RegExp&&L(Lt.tagNameCheck,t)||Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(t))&&(Lt.attributeNameCheck instanceof RegExp&&L(Lt.attributeNameCheck,e)||Lt.attributeNameCheck instanceof Function&&Lt.attributeNameCheck(e))||"is"===e&&Lt.allowCustomizedBuiltInElements&&(Lt.tagNameCheck instanceof RegExp&&L(Lt.tagNameCheck,n)||Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(n))))return!1}else if(te[e]);else if(L(Et,_(n,Ct,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==B(n,"data:")||!Jt[t])if(Dt&&!L(kt,_(n,Ct,"")));else if(n)return!1;return!0},Le=function(t){return t.indexOf("-")>0},Ie=function(e){var r,i,a,o;_e("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Bt};for(o=s.length;o--;){var l=r=s[o],u=l.name,h=l.namespaceURI;if(i="value"===u?r.value:S(r.value),a=mt(u),c.attrName=a,c.attrValue=i,c.keepAttr=!0,c.forceKeepAttr=void 0,_e("uponSanitizeAttribute",e,c),i=c.attrValue,!c.forceKeepAttr&&(Te(u,e),c.keepAttr))if(Ft||!L(/\/>/i,i)){Pt&&(i=_(i,bt," "),i=_(i,vt," "),i=_(i,yt," "));var f=mt(e.nodeName);if(Se(f,a,i)){if(!Gt||"id"!==a&&"name"!==a||(Te(u,e),i=zt+i),ot&&"object"===t(g)&&"function"==typeof g.getAttributeType)if(h);else switch(g.getAttributeType(f,a)){case"TrustedHTML":i=ot.createHTML(i);break;case"TrustedScriptURL":i=ot.createScriptURL(i)}try{h?e.setAttributeNS(h,u,i):e.setAttribute(u,i),T(n.removed)}catch(t){}}}else Te(u,e)}_e("afterSanitizeAttributes",e,null)}},Me=function t(e){var n,r=Ce(e);for(_e("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)_e("uponSanitizeShadowNode",n,null),Be(n)||(n.content instanceof o&&t(n.content),Ie(n));_e("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(i){var a,s,l,u,h,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((oe=!i)&&(i="\x3c!--\x3e"),"string"!=typeof i&&!xe(i)){if("function"!=typeof i.toString)throw I("toString is not a function");if("string"!=typeof(i=i.toString()))throw I("dirty is not a string, aborting")}if(!n.isSupported){if("object"===t(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof i)return e.toStaticHTML(i);if(xe(i))return e.toStaticHTML(i.outerHTML)}return i}if(Qt||Ae(f),n.removed=[],"string"==typeof i&&(qt=!1),qt){if(i.nodeName){var d=mt(i.nodeName);if(!xt[d]||It[d])throw I("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof c)1===(s=(a=ke("\x3c!----\x3e")).ownerDocument.importNode(i,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else{if(!Ht&&!Pt&&!Rt&&-1===i.indexOf("<"))return ot&&$t?ot.createHTML(i):i;if(!(a=ke(i)))return Ht?null:$t?st:""}a&&Ut&&we(a.firstChild);for(var A=Ce(qt?i:a);l=A.nextNode();)3===l.nodeType&&l===u||Be(l)||(l.content instanceof o&&Me(l.content),Ie(l),u=l);if(u=null,qt)return i;if(Ht){if(jt)for(h=ht.call(a.ownerDocument);a.firstChild;)h.appendChild(a.firstChild);else h=a;return(Bt.shadowroot||Bt.shadowrootmod)&&(h=dt.call(r,h,!0)),h}var p=Rt?a.outerHTML:a.innerHTML;return Rt&&xt["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&L(nt,a.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+p),Pt&&(p=_(p,bt," "),p=_(p,vt," "),p=_(p,yt," ")),ot&&$t?ot.createHTML(p):p},n.setConfig=function(t){Ae(t),Qt=!0},n.clearConfig=function(){he=null,Qt=!1},n.isValidAttribute=function(t,e,n){he||Ae({});var r=mt(t),i=mt(e);return Se(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&(pt[t]=pt[t]||[],k(pt[t],e))},n.removeHook=function(t){if(pt[t])return T(pt[t])},n.removeHooks=function(t){pt[t]&&(pt[t]=[])},n.removeAllHooks=function(){pt={}},n}var ot=at();return ot}()})),Lb=Sb(window);function Ib(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Mb=function(t){Es(n,t);var e=Ib(n);function n(){return bo(this,n),e.call(this,{needCache:!0})}return hs(n,[{key:"isAutoLinkTag",value:function(t){var e=[/^<([a-z][a-z0-9+.-]{1,31}:\/\/[^<> `]+)>$/i,/^<(mailto:[^<> `]+)>$/i,/^<([^()<>[\]:'@\\,"\s`]+@[^()<>[\]:'@\\,"\s`.]+\.[^()<>[\]:'@\\,"\s`]+)>$/i];return Bb(e).call(e,(function(e){return e.test(t)}))}},{key:"isHtmlComment",value:function(t){return/^<!--.*?-->$/.test(t)}},{key:"beforeMakeHtml",value:function(t,e){var n=this;this.$engine.htmlWhiteListAppend?(this.htmlWhiteListAppend=new RegExp("^(".concat(this.$engine.htmlWhiteListAppend,")( |$|/)"),"i"),this.htmlWhiteList=this.$engine.htmlWhiteListAppend.split("|")):(this.htmlWhiteListAppend=!1,this.htmlWhiteList=[]);var r=t;return r=function(t){if("string"!=typeof t)return"";var e=t.replace(/&(\w+);?/g,(function(t,e){return-1===Tf(t).call(t,";")||-1===Tf(kA).call(kA,e.toLowerCase())?t.replace(/&/g,"&"):t}));return e=e.replace(/&#(?!x)(\d*);?/gi,(function(t,e){return CA(e)||-1===Tf(t).call(t,";")||e.lenth>7||!EA(e)?t.replace(/&/g,"&"):t})),e=e.replace(/&#x([0-9a-f]*);?/gi,(function(t,e){if(CA(e))return t.replace(/&/g,"&");var n="0x".concat(e),r=Mf(n,16);return isNaN(r)||-1===Tf(t).call(t,";")||e.lenth>6||!EA(n)?t.replace(/&/g,"&"):t})),e}(r=IA(r)),r=(r=(r=r.replace(/<[/]?(.*?)>/g,(function(t,e){return BA.test(e)||n.isAutoLinkTag(t)||n.isHtmlComment(t)||!1!==n.htmlWhiteListAppend&&n.htmlWhiteListAppend.test(e)?t.replace(/</g,"$#60;").replace(/>/g,"$#62;"):t.replace(/</g,"<").replace(/>/g,">")}))).replace(/<(?=\/?(\w|\n|$))/g,"<")).replace(/\$#60;/g,"<").replace(/\$#62;/g,">")}},{key:"makeHtml",value:function(t,e){return t}},{key:"afterMakeHtml",value:function(t){var e=t,n={ALLOW_UNKNOWN_PROTOCOLS:!0,ADD_ATTR:["target"]};if(!1!==this.htmlWhiteListAppend){var r;if(n.ADD_TAGS=this.htmlWhiteList,(this.htmlWhiteListAppend.test("style")||this.htmlWhiteListAppend.test("ALL"))&&(e=e.replace(/<style(>| [^>]*>).*?<\/style>/gi,(function(t){return t.replace(/<br>/gi,"")}))),this.htmlWhiteListAppend.test("iframe")||this.htmlWhiteListAppend.test("ALL"))n.ADD_ATTR=Fs(r=n.ADD_ATTR).call(r,["align","frameborder","height","longdesc","marginheight","marginwidth","name","sandbox","scrolling","seamless","src","srcdoc","width"]),n.SANITIZE_DOM=!1,e=e.replace(/<iframe(>| [^>]*>).*?<\/iframe>/gi,(function(t){return t.replace(/<br>/gi,"").replace(/\n/g,"")}));if(this.htmlWhiteListAppend.test("script")||this.htmlWhiteListAppend.test("ALL"))return e=e.replace(/<script(>| [^>]*>).*?<\/script>/gi,(function(t){return t.replace(/<br>/gi,"")})),e}return Mm()||(n.FORBID_ATTR=["data-sign","data-lines"]),Lb.sanitize(e,n)}}]),n}(FA);Ms(Mb,"HOOK_NAME","htmlBlock");var Ob={"+1":"1f44d","-1":"1f44e",100:"1f4af",1234:"1f522","1st_place_medal":"1f947","2nd_place_medal":"1f948","3rd_place_medal":"1f949","8ball":"1f3b1",a:"1f170",ab:"1f18e",abacus:"1f9ee",abc:"1f524",abcd:"1f521",accept:"1f251",adhesive_bandage:"1fa79",adult:"1f9d1",aerial_tramway:"1f6a1",afghanistan:"1f1e6-1f1eb",airplane:"2708",aland_islands:"1f1e6-1f1fd",alarm_clock:"23f0",albania:"1f1e6-1f1f1",alembic:"2697",algeria:"1f1e9-1f1ff",alien:"1f47d",ambulance:"1f691",american_samoa:"1f1e6-1f1f8",amphora:"1f3fa",anchor:"2693",andorra:"1f1e6-1f1e9",angel:"1f47c",anger:"1f4a2",angola:"1f1e6-1f1f4",angry:"1f620",anguilla:"1f1e6-1f1ee",anguished:"1f627",ant:"1f41c",antarctica:"1f1e6-1f1f6",antigua_barbuda:"1f1e6-1f1ec",apple:"1f34e",aquarius:"2652",argentina:"1f1e6-1f1f7",aries:"2648",armenia:"1f1e6-1f1f2",arrow_backward:"25c0",arrow_double_down:"23ec",arrow_double_up:"23eb",arrow_down:"2b07",arrow_down_small:"1f53d",arrow_forward:"25b6",arrow_heading_down:"2935",arrow_heading_up:"2934",arrow_left:"2b05",arrow_lower_left:"2199",arrow_lower_right:"2198",arrow_right:"27a1",arrow_right_hook:"21aa",arrow_up:"2b06",arrow_up_down:"2195",arrow_up_small:"1f53c",arrow_upper_left:"2196",arrow_upper_right:"2197",arrows_clockwise:"1f503",arrows_counterclockwise:"1f504",art:"1f3a8",articulated_lorry:"1f69b",artificial_satellite:"1f6f0",artist:"1f9d1-1f3a8",aruba:"1f1e6-1f1fc",ascension_island:"1f1e6-1f1e8",asterisk:"002a-20e3",astonished:"1f632",astronaut:"1f9d1-1f680",athletic_shoe:"1f45f",atm:"1f3e7",atom_symbol:"269b",australia:"1f1e6-1f1fa",austria:"1f1e6-1f1f9",auto_rickshaw:"1f6fa",avocado:"1f951",axe:"1fa93",azerbaijan:"1f1e6-1f1ff",b:"1f171",baby:"1f476",baby_bottle:"1f37c",baby_chick:"1f424",baby_symbol:"1f6bc",back:"1f519",bacon:"1f953",badger:"1f9a1",badminton:"1f3f8",bagel:"1f96f",baggage_claim:"1f6c4",baguette_bread:"1f956",bahamas:"1f1e7-1f1f8",bahrain:"1f1e7-1f1ed",balance_scale:"2696",bald_man:"1f468-1f9b2",bald_woman:"1f469-1f9b2",ballet_shoes:"1fa70",balloon:"1f388",ballot_box:"1f5f3",ballot_box_with_check:"2611",bamboo:"1f38d",banana:"1f34c",bangbang:"203c",bangladesh:"1f1e7-1f1e9",banjo:"1fa95",bank:"1f3e6",bar_chart:"1f4ca",barbados:"1f1e7-1f1e7",barber:"1f488",baseball:"26be",basket:"1f9fa",basketball:"1f3c0",basketball_man:"26f9-2642",basketball_woman:"26f9-2640",bat:"1f987",bath:"1f6c0",bathtub:"1f6c1",battery:"1f50b",beach_umbrella:"1f3d6",bear:"1f43b",bearded_person:"1f9d4",bed:"1f6cf",bee:"1f41d",beer:"1f37a",beers:"1f37b",beetle:"1f41e",beginner:"1f530",belarus:"1f1e7-1f1fe",belgium:"1f1e7-1f1ea",belize:"1f1e7-1f1ff",bell:"1f514",bellhop_bell:"1f6ce",benin:"1f1e7-1f1ef",bento:"1f371",bermuda:"1f1e7-1f1f2",beverage_box:"1f9c3",bhutan:"1f1e7-1f1f9",bicyclist:"1f6b4",bike:"1f6b2",biking_man:"1f6b4-2642",biking_woman:"1f6b4-2640",bikini:"1f459",billed_cap:"1f9e2",biohazard:"2623",bird:"1f426",birthday:"1f382",black_circle:"26ab",black_flag:"1f3f4",black_heart:"1f5a4",black_joker:"1f0cf",black_large_square:"2b1b",black_medium_small_square:"25fe",black_medium_square:"25fc",black_nib:"2712",black_small_square:"25aa",black_square_button:"1f532",blond_haired_man:"1f471-2642",blond_haired_person:"1f471",blond_haired_woman:"1f471-2640",blonde_woman:"1f471-2640",blossom:"1f33c",blowfish:"1f421",blue_book:"1f4d8",blue_car:"1f699",blue_heart:"1f499",blue_square:"1f7e6",blush:"1f60a",boar:"1f417",boat:"26f5",bolivia:"1f1e7-1f1f4",bomb:"1f4a3",bone:"1f9b4",book:"1f4d6",bookmark:"1f516",bookmark_tabs:"1f4d1",books:"1f4da",boom:"1f4a5",boot:"1f462",bosnia_herzegovina:"1f1e7-1f1e6",botswana:"1f1e7-1f1fc",bouncing_ball_man:"26f9-2642",bouncing_ball_person:"26f9",bouncing_ball_woman:"26f9-2640",bouquet:"1f490",bouvet_island:"1f1e7-1f1fb",bow:"1f647",bow_and_arrow:"1f3f9",bowing_man:"1f647-2642",bowing_woman:"1f647-2640",bowl_with_spoon:"1f963",bowling:"1f3b3",boxing_glove:"1f94a",boy:"1f466",brain:"1f9e0",brazil:"1f1e7-1f1f7",bread:"1f35e",breast_feeding:"1f931",bricks:"1f9f1",bride_with_veil:"1f470",bridge_at_night:"1f309",briefcase:"1f4bc",british_indian_ocean_territory:"1f1ee-1f1f4",british_virgin_islands:"1f1fb-1f1ec",broccoli:"1f966",broken_heart:"1f494",broom:"1f9f9",brown_circle:"1f7e4",brown_heart:"1f90e",brown_square:"1f7eb",brunei:"1f1e7-1f1f3",bug:"1f41b",building_construction:"1f3d7",bulb:"1f4a1",bulgaria:"1f1e7-1f1ec",bullettrain_front:"1f685",bullettrain_side:"1f684",burkina_faso:"1f1e7-1f1eb",burrito:"1f32f",burundi:"1f1e7-1f1ee",bus:"1f68c",business_suit_levitating:"1f574",busstop:"1f68f",bust_in_silhouette:"1f464",busts_in_silhouette:"1f465",butter:"1f9c8",butterfly:"1f98b",cactus:"1f335",cake:"1f370",calendar:"1f4c6",call_me_hand:"1f919",calling:"1f4f2",cambodia:"1f1f0-1f1ed",camel:"1f42b",camera:"1f4f7",camera_flash:"1f4f8",cameroon:"1f1e8-1f1f2",camping:"1f3d5",canada:"1f1e8-1f1e6",canary_islands:"1f1ee-1f1e8",cancer:"264b",candle:"1f56f",candy:"1f36c",canned_food:"1f96b",canoe:"1f6f6",cape_verde:"1f1e8-1f1fb",capital_abcd:"1f520",capricorn:"2651",car:"1f697",card_file_box:"1f5c3",card_index:"1f4c7",card_index_dividers:"1f5c2",caribbean_netherlands:"1f1e7-1f1f6",carousel_horse:"1f3a0",carrot:"1f955",cartwheeling:"1f938",cat:"1f431",cat2:"1f408",cayman_islands:"1f1f0-1f1fe",cd:"1f4bf",central_african_republic:"1f1e8-1f1eb",ceuta_melilla:"1f1ea-1f1e6",chad:"1f1f9-1f1e9",chains:"26d3",chair:"1fa91",champagne:"1f37e",chart:"1f4b9",chart_with_downwards_trend:"1f4c9",chart_with_upwards_trend:"1f4c8",checkered_flag:"1f3c1",cheese:"1f9c0",cherries:"1f352",cherry_blossom:"1f338",chess_pawn:"265f",chestnut:"1f330",chicken:"1f414",child:"1f9d2",children_crossing:"1f6b8",chile:"1f1e8-1f1f1",chipmunk:"1f43f",chocolate_bar:"1f36b",chopsticks:"1f962",christmas_island:"1f1e8-1f1fd",christmas_tree:"1f384",church:"26ea",cinema:"1f3a6",circus_tent:"1f3aa",city_sunrise:"1f307",city_sunset:"1f306",cityscape:"1f3d9",cl:"1f191",clamp:"1f5dc",clap:"1f44f",clapper:"1f3ac",classical_building:"1f3db",climbing:"1f9d7",climbing_man:"1f9d7-2642",climbing_woman:"1f9d7-2640",clinking_glasses:"1f942",clipboard:"1f4cb",clipperton_island:"1f1e8-1f1f5",clock1:"1f550",clock10:"1f559",clock1030:"1f565",clock11:"1f55a",clock1130:"1f566",clock12:"1f55b",clock1230:"1f567",clock130:"1f55c",clock2:"1f551",clock230:"1f55d",clock3:"1f552",clock330:"1f55e",clock4:"1f553",clock430:"1f55f",clock5:"1f554",clock530:"1f560",clock6:"1f555",clock630:"1f561",clock7:"1f556",clock730:"1f562",clock8:"1f557",clock830:"1f563",clock9:"1f558",clock930:"1f564",closed_book:"1f4d5",closed_lock_with_key:"1f510",closed_umbrella:"1f302",cloud:"2601",cloud_with_lightning:"1f329",cloud_with_lightning_and_rain:"26c8",cloud_with_rain:"1f327",cloud_with_snow:"1f328",clown_face:"1f921",clubs:"2663",cn:"1f1e8-1f1f3",coat:"1f9e5",cocktail:"1f378",coconut:"1f965",cocos_islands:"1f1e8-1f1e8",coffee:"2615",coffin:"26b0",cold_face:"1f976",cold_sweat:"1f630",collision:"1f4a5",colombia:"1f1e8-1f1f4",comet:"2604",comoros:"1f1f0-1f1f2",compass:"1f9ed",computer:"1f4bb",computer_mouse:"1f5b1",confetti_ball:"1f38a",confounded:"1f616",confused:"1f615",congo_brazzaville:"1f1e8-1f1ec",congo_kinshasa:"1f1e8-1f1e9",congratulations:"3297",construction:"1f6a7",construction_worker:"1f477",construction_worker_man:"1f477-2642",construction_worker_woman:"1f477-2640",control_knobs:"1f39b",convenience_store:"1f3ea",cook:"1f9d1-1f373",cook_islands:"1f1e8-1f1f0",cookie:"1f36a",cool:"1f192",cop:"1f46e",copyright:"00a9",corn:"1f33d",costa_rica:"1f1e8-1f1f7",cote_divoire:"1f1e8-1f1ee",couch_and_lamp:"1f6cb",couple:"1f46b",couple_with_heart:"1f491",couple_with_heart_man_man:"1f468-2764-1f468",couple_with_heart_woman_man:"1f469-2764-1f468",couple_with_heart_woman_woman:"1f469-2764-1f469",couplekiss:"1f48f",couplekiss_man_man:"1f468-2764-1f48b-1f468",couplekiss_man_woman:"1f469-2764-1f48b-1f468",couplekiss_woman_woman:"1f469-2764-1f48b-1f469",cow:"1f42e",cow2:"1f404",cowboy_hat_face:"1f920",crab:"1f980",crayon:"1f58d",credit_card:"1f4b3",crescent_moon:"1f319",cricket:"1f997",cricket_game:"1f3cf",croatia:"1f1ed-1f1f7",crocodile:"1f40a",croissant:"1f950",crossed_fingers:"1f91e",crossed_flags:"1f38c",crossed_swords:"2694",crown:"1f451",cry:"1f622",crying_cat_face:"1f63f",crystal_ball:"1f52e",cuba:"1f1e8-1f1fa",cucumber:"1f952",cup_with_straw:"1f964",cupcake:"1f9c1",cupid:"1f498",curacao:"1f1e8-1f1fc",curling_stone:"1f94c",curly_haired_man:"1f468-1f9b1",curly_haired_woman:"1f469-1f9b1",curly_loop:"27b0",currency_exchange:"1f4b1",curry:"1f35b",cursing_face:"1f92c",custard:"1f36e",customs:"1f6c3",cut_of_meat:"1f969",cyclone:"1f300",cyprus:"1f1e8-1f1fe",czech_republic:"1f1e8-1f1ff",dagger:"1f5e1",dancer:"1f483",dancers:"1f46f",dancing_men:"1f46f-2642",dancing_women:"1f46f-2640",dango:"1f361",dark_sunglasses:"1f576",dart:"1f3af",dash:"1f4a8",date:"1f4c5",de:"1f1e9-1f1ea",deaf_man:"1f9cf-2642",deaf_person:"1f9cf",deaf_woman:"1f9cf-2640",deciduous_tree:"1f333",deer:"1f98c",denmark:"1f1e9-1f1f0",department_store:"1f3ec",derelict_house:"1f3da",desert:"1f3dc",desert_island:"1f3dd",desktop_computer:"1f5a5",detective:"1f575",diamond_shape_with_a_dot_inside:"1f4a0",diamonds:"2666",diego_garcia:"1f1e9-1f1ec",disappointed:"1f61e",disappointed_relieved:"1f625",diving_mask:"1f93f",diya_lamp:"1fa94",dizzy:"1f4ab",dizzy_face:"1f635",djibouti:"1f1e9-1f1ef",dna:"1f9ec",do_not_litter:"1f6af",dog:"1f436",dog2:"1f415",dollar:"1f4b5",dolls:"1f38e",dolphin:"1f42c",dominica:"1f1e9-1f1f2",dominican_republic:"1f1e9-1f1f4",door:"1f6aa",doughnut:"1f369",dove:"1f54a",dragon:"1f409",dragon_face:"1f432",dress:"1f457",dromedary_camel:"1f42a",drooling_face:"1f924",drop_of_blood:"1fa78",droplet:"1f4a7",drum:"1f941",duck:"1f986",dumpling:"1f95f",dvd:"1f4c0","e-mail":"1f4e7",eagle:"1f985",ear:"1f442",ear_of_rice:"1f33e",ear_with_hearing_aid:"1f9bb",earth_africa:"1f30d",earth_americas:"1f30e",earth_asia:"1f30f",ecuador:"1f1ea-1f1e8",egg:"1f95a",eggplant:"1f346",egypt:"1f1ea-1f1ec",eight:"0038-20e3",eight_pointed_black_star:"2734",eight_spoked_asterisk:"2733",eject_button:"23cf",el_salvador:"1f1f8-1f1fb",electric_plug:"1f50c",elephant:"1f418",elf:"1f9dd",elf_man:"1f9dd-2642",elf_woman:"1f9dd-2640",email:"2709",end:"1f51a",england:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",envelope:"2709",envelope_with_arrow:"1f4e9",equatorial_guinea:"1f1ec-1f1f6",eritrea:"1f1ea-1f1f7",es:"1f1ea-1f1f8",estonia:"1f1ea-1f1ea",ethiopia:"1f1ea-1f1f9",eu:"1f1ea-1f1fa",euro:"1f4b6",european_castle:"1f3f0",european_post_office:"1f3e4",european_union:"1f1ea-1f1fa",evergreen_tree:"1f332",exclamation:"2757",exploding_head:"1f92f",expressionless:"1f611",eye:"1f441",eye_speech_bubble:"1f441-1f5e8",eyeglasses:"1f453",eyes:"1f440",face_with_head_bandage:"1f915",face_with_thermometer:"1f912",facepalm:"1f926",facepunch:"1f44a",factory:"1f3ed",factory_worker:"1f9d1-1f3ed",fairy:"1f9da",fairy_man:"1f9da-2642",fairy_woman:"1f9da-2640",falafel:"1f9c6",falkland_islands:"1f1eb-1f1f0",fallen_leaf:"1f342",family:"1f46a",family_man_boy:"1f468-1f466",family_man_boy_boy:"1f468-1f466-1f466",family_man_girl:"1f468-1f467",family_man_girl_boy:"1f468-1f467-1f466",family_man_girl_girl:"1f468-1f467-1f467",family_man_man_boy:"1f468-1f468-1f466",family_man_man_boy_boy:"1f468-1f468-1f466-1f466",family_man_man_girl:"1f468-1f468-1f467",family_man_man_girl_boy:"1f468-1f468-1f467-1f466",family_man_man_girl_girl:"1f468-1f468-1f467-1f467",family_man_woman_boy:"1f468-1f469-1f466",family_man_woman_boy_boy:"1f468-1f469-1f466-1f466",family_man_woman_girl:"1f468-1f469-1f467",family_man_woman_girl_boy:"1f468-1f469-1f467-1f466",family_man_woman_girl_girl:"1f468-1f469-1f467-1f467",family_woman_boy:"1f469-1f466",family_woman_boy_boy:"1f469-1f466-1f466",family_woman_girl:"1f469-1f467",family_woman_girl_boy:"1f469-1f467-1f466",family_woman_girl_girl:"1f469-1f467-1f467",family_woman_woman_boy:"1f469-1f469-1f466",family_woman_woman_boy_boy:"1f469-1f469-1f466-1f466",family_woman_woman_girl:"1f469-1f469-1f467",family_woman_woman_girl_boy:"1f469-1f469-1f467-1f466",family_woman_woman_girl_girl:"1f469-1f469-1f467-1f467",farmer:"1f9d1-1f33e",faroe_islands:"1f1eb-1f1f4",fast_forward:"23e9",fax:"1f4e0",fearful:"1f628",feet:"1f43e",female_detective:"1f575-2640",female_sign:"2640",ferris_wheel:"1f3a1",ferry:"26f4",field_hockey:"1f3d1",fiji:"1f1eb-1f1ef",file_cabinet:"1f5c4",file_folder:"1f4c1",film_projector:"1f4fd",film_strip:"1f39e",finland:"1f1eb-1f1ee",fire:"1f525",fire_engine:"1f692",fire_extinguisher:"1f9ef",firecracker:"1f9e8",firefighter:"1f9d1-1f692",fireworks:"1f386",first_quarter_moon:"1f313",first_quarter_moon_with_face:"1f31b",fish:"1f41f",fish_cake:"1f365",fishing_pole_and_fish:"1f3a3",fist:"270a",fist_left:"1f91b",fist_oncoming:"1f44a",fist_raised:"270a",fist_right:"1f91c",five:"0035-20e3",flags:"1f38f",flamingo:"1f9a9",flashlight:"1f526",flat_shoe:"1f97f",fleur_de_lis:"269c",flight_arrival:"1f6ec",flight_departure:"1f6eb",flipper:"1f42c",floppy_disk:"1f4be",flower_playing_cards:"1f3b4",flushed:"1f633",flying_disc:"1f94f",flying_saucer:"1f6f8",fog:"1f32b",foggy:"1f301",foot:"1f9b6",football:"1f3c8",footprints:"1f463",fork_and_knife:"1f374",fortune_cookie:"1f960",fountain:"26f2",fountain_pen:"1f58b",four:"0034-20e3",four_leaf_clover:"1f340",fox_face:"1f98a",fr:"1f1eb-1f1f7",framed_picture:"1f5bc",free:"1f193",french_guiana:"1f1ec-1f1eb",french_polynesia:"1f1f5-1f1eb",french_southern_territories:"1f1f9-1f1eb",fried_egg:"1f373",fried_shrimp:"1f364",fries:"1f35f",frog:"1f438",frowning:"1f626",frowning_face:"2639",frowning_man:"1f64d-2642",frowning_person:"1f64d",frowning_woman:"1f64d-2640",fu:"1f595",fuelpump:"26fd",full_moon:"1f315",full_moon_with_face:"1f31d",funeral_urn:"26b1",gabon:"1f1ec-1f1e6",gambia:"1f1ec-1f1f2",game_die:"1f3b2",garlic:"1f9c4",gb:"1f1ec-1f1e7",gear:"2699",gem:"1f48e",gemini:"264a",genie:"1f9de",genie_man:"1f9de-2642",genie_woman:"1f9de-2640",georgia:"1f1ec-1f1ea",ghana:"1f1ec-1f1ed",ghost:"1f47b",gibraltar:"1f1ec-1f1ee",gift:"1f381",gift_heart:"1f49d",giraffe:"1f992",girl:"1f467",globe_with_meridians:"1f310",gloves:"1f9e4",goal_net:"1f945",goat:"1f410",goggles:"1f97d",golf:"26f3",golfing:"1f3cc",golfing_man:"1f3cc-2642",golfing_woman:"1f3cc-2640",gorilla:"1f98d",grapes:"1f347",greece:"1f1ec-1f1f7",green_apple:"1f34f",green_book:"1f4d7",green_circle:"1f7e2",green_heart:"1f49a",green_salad:"1f957",green_square:"1f7e9",greenland:"1f1ec-1f1f1",grenada:"1f1ec-1f1e9",grey_exclamation:"2755",grey_question:"2754",grimacing:"1f62c",grin:"1f601",grinning:"1f600",guadeloupe:"1f1ec-1f1f5",guam:"1f1ec-1f1fa",guard:"1f482",guardsman:"1f482-2642",guardswoman:"1f482-2640",guatemala:"1f1ec-1f1f9",guernsey:"1f1ec-1f1ec",guide_dog:"1f9ae",guinea:"1f1ec-1f1f3",guinea_bissau:"1f1ec-1f1fc",guitar:"1f3b8",gun:"1f52b",guyana:"1f1ec-1f1fe",haircut:"1f487",haircut_man:"1f487-2642",haircut_woman:"1f487-2640",haiti:"1f1ed-1f1f9",hamburger:"1f354",hammer:"1f528",hammer_and_pick:"2692",hammer_and_wrench:"1f6e0",hamster:"1f439",hand:"270b",hand_over_mouth:"1f92d",handbag:"1f45c",handball_person:"1f93e",handshake:"1f91d",hankey:"1f4a9",hash:"0023-20e3",hatched_chick:"1f425",hatching_chick:"1f423",headphones:"1f3a7",health_worker:"1f9d1-2695",hear_no_evil:"1f649",heard_mcdonald_islands:"1f1ed-1f1f2",heart:"2764",heart_decoration:"1f49f",heart_eyes:"1f60d",heart_eyes_cat:"1f63b",heartbeat:"1f493",heartpulse:"1f497",hearts:"2665",heavy_check_mark:"2714",heavy_division_sign:"2797",heavy_dollar_sign:"1f4b2",heavy_exclamation_mark:"2757",heavy_heart_exclamation:"2763",heavy_minus_sign:"2796",heavy_multiplication_x:"2716",heavy_plus_sign:"2795",hedgehog:"1f994",helicopter:"1f681",herb:"1f33f",hibiscus:"1f33a",high_brightness:"1f506",high_heel:"1f460",hiking_boot:"1f97e",hindu_temple:"1f6d5",hippopotamus:"1f99b",hocho:"1f52a",hole:"1f573",honduras:"1f1ed-1f1f3",honey_pot:"1f36f",honeybee:"1f41d",hong_kong:"1f1ed-1f1f0",horse:"1f434",horse_racing:"1f3c7",hospital:"1f3e5",hot_face:"1f975",hot_pepper:"1f336",hotdog:"1f32d",hotel:"1f3e8",hotsprings:"2668",hourglass:"231b",hourglass_flowing_sand:"23f3",house:"1f3e0",house_with_garden:"1f3e1",houses:"1f3d8",hugs:"1f917",hungary:"1f1ed-1f1fa",hushed:"1f62f",ice_cream:"1f368",ice_cube:"1f9ca",ice_hockey:"1f3d2",ice_skate:"26f8",icecream:"1f366",iceland:"1f1ee-1f1f8",id:"1f194",ideograph_advantage:"1f250",imp:"1f47f",inbox_tray:"1f4e5",incoming_envelope:"1f4e8",india:"1f1ee-1f1f3",indonesia:"1f1ee-1f1e9",infinity:"267e",information_desk_person:"1f481",information_source:"2139",innocent:"1f607",interrobang:"2049",iphone:"1f4f1",iran:"1f1ee-1f1f7",iraq:"1f1ee-1f1f6",ireland:"1f1ee-1f1ea",isle_of_man:"1f1ee-1f1f2",israel:"1f1ee-1f1f1",it:"1f1ee-1f1f9",izakaya_lantern:"1f3ee",jack_o_lantern:"1f383",jamaica:"1f1ef-1f1f2",japan:"1f5fe",japanese_castle:"1f3ef",japanese_goblin:"1f47a",japanese_ogre:"1f479",jeans:"1f456",jersey:"1f1ef-1f1ea",jigsaw:"1f9e9",jordan:"1f1ef-1f1f4",joy:"1f602",joy_cat:"1f639",joystick:"1f579",jp:"1f1ef-1f1f5",judge:"1f9d1-2696",juggling_person:"1f939",kaaba:"1f54b",kangaroo:"1f998",kazakhstan:"1f1f0-1f1ff",kenya:"1f1f0-1f1ea",key:"1f511",keyboard:"2328",keycap_ten:"1f51f",kick_scooter:"1f6f4",kimono:"1f458",kiribati:"1f1f0-1f1ee",kiss:"1f48b",kissing:"1f617",kissing_cat:"1f63d",kissing_closed_eyes:"1f61a",kissing_heart:"1f618",kissing_smiling_eyes:"1f619",kite:"1fa81",kiwi_fruit:"1f95d",kneeling_man:"1f9ce-2642",kneeling_person:"1f9ce",kneeling_woman:"1f9ce-2640",knife:"1f52a",koala:"1f428",koko:"1f201",kosovo:"1f1fd-1f1f0",kr:"1f1f0-1f1f7",kuwait:"1f1f0-1f1fc",kyrgyzstan:"1f1f0-1f1ec",lab_coat:"1f97c",label:"1f3f7",lacrosse:"1f94d",lantern:"1f3ee",laos:"1f1f1-1f1e6",large_blue_circle:"1f535",large_blue_diamond:"1f537",large_orange_diamond:"1f536",last_quarter_moon:"1f317",last_quarter_moon_with_face:"1f31c",latin_cross:"271d",latvia:"1f1f1-1f1fb",laughing:"1f606",leafy_green:"1f96c",leaves:"1f343",lebanon:"1f1f1-1f1e7",ledger:"1f4d2",left_luggage:"1f6c5",left_right_arrow:"2194",left_speech_bubble:"1f5e8",leftwards_arrow_with_hook:"21a9",leg:"1f9b5",lemon:"1f34b",leo:"264c",leopard:"1f406",lesotho:"1f1f1-1f1f8",level_slider:"1f39a",liberia:"1f1f1-1f1f7",libra:"264e",libya:"1f1f1-1f1fe",liechtenstein:"1f1f1-1f1ee",light_rail:"1f688",link:"1f517",lion:"1f981",lips:"1f444",lipstick:"1f484",lithuania:"1f1f1-1f1f9",lizard:"1f98e",llama:"1f999",lobster:"1f99e",lock:"1f512",lock_with_ink_pen:"1f50f",lollipop:"1f36d",loop:"27bf",lotion_bottle:"1f9f4",lotus_position:"1f9d8",lotus_position_man:"1f9d8-2642",lotus_position_woman:"1f9d8-2640",loud_sound:"1f50a",loudspeaker:"1f4e2",love_hotel:"1f3e9",love_letter:"1f48c",love_you_gesture:"1f91f",low_brightness:"1f505",luggage:"1f9f3",luxembourg:"1f1f1-1f1fa",lying_face:"1f925",m:"24c2",macau:"1f1f2-1f1f4",macedonia:"1f1f2-1f1f0",madagascar:"1f1f2-1f1ec",mag:"1f50d",mag_right:"1f50e",mage:"1f9d9",mage_man:"1f9d9-2642",mage_woman:"1f9d9-2640",magnet:"1f9f2",mahjong:"1f004",mailbox:"1f4eb",mailbox_closed:"1f4ea",mailbox_with_mail:"1f4ec",mailbox_with_no_mail:"1f4ed",malawi:"1f1f2-1f1fc",malaysia:"1f1f2-1f1fe",maldives:"1f1f2-1f1fb",male_detective:"1f575-2642",male_sign:"2642",mali:"1f1f2-1f1f1",malta:"1f1f2-1f1f9",man:"1f468",man_artist:"1f468-1f3a8",man_astronaut:"1f468-1f680",man_cartwheeling:"1f938-2642",man_cook:"1f468-1f373",man_dancing:"1f57a",man_facepalming:"1f926-2642",man_factory_worker:"1f468-1f3ed",man_farmer:"1f468-1f33e",man_firefighter:"1f468-1f692",man_health_worker:"1f468-2695",man_in_manual_wheelchair:"1f468-1f9bd",man_in_motorized_wheelchair:"1f468-1f9bc",man_in_tuxedo:"1f935",man_judge:"1f468-2696",man_juggling:"1f939-2642",man_mechanic:"1f468-1f527",man_office_worker:"1f468-1f4bc",man_pilot:"1f468-2708",man_playing_handball:"1f93e-2642",man_playing_water_polo:"1f93d-2642",man_scientist:"1f468-1f52c",man_shrugging:"1f937-2642",man_singer:"1f468-1f3a4",man_student:"1f468-1f393",man_teacher:"1f468-1f3eb",man_technologist:"1f468-1f4bb",man_with_gua_pi_mao:"1f472",man_with_probing_cane:"1f468-1f9af",man_with_turban:"1f473-2642",mandarin:"1f34a",mango:"1f96d",mans_shoe:"1f45e",mantelpiece_clock:"1f570",manual_wheelchair:"1f9bd",maple_leaf:"1f341",marshall_islands:"1f1f2-1f1ed",martial_arts_uniform:"1f94b",martinique:"1f1f2-1f1f6",mask:"1f637",massage:"1f486",massage_man:"1f486-2642",massage_woman:"1f486-2640",mate:"1f9c9",mauritania:"1f1f2-1f1f7",mauritius:"1f1f2-1f1fa",mayotte:"1f1fe-1f1f9",meat_on_bone:"1f356",mechanic:"1f9d1-1f527",mechanical_arm:"1f9be",mechanical_leg:"1f9bf",medal_military:"1f396",medal_sports:"1f3c5",medical_symbol:"2695",mega:"1f4e3",melon:"1f348",memo:"1f4dd",men_wrestling:"1f93c-2642",menorah:"1f54e",mens:"1f6b9",mermaid:"1f9dc-2640",merman:"1f9dc-2642",merperson:"1f9dc",metal:"1f918",metro:"1f687",mexico:"1f1f2-1f1fd",microbe:"1f9a0",micronesia:"1f1eb-1f1f2",microphone:"1f3a4",microscope:"1f52c",middle_finger:"1f595",milk_glass:"1f95b",milky_way:"1f30c",minibus:"1f690",minidisc:"1f4bd",mobile_phone_off:"1f4f4",moldova:"1f1f2-1f1e9",monaco:"1f1f2-1f1e8",money_mouth_face:"1f911",money_with_wings:"1f4b8",moneybag:"1f4b0",mongolia:"1f1f2-1f1f3",monkey:"1f412",monkey_face:"1f435",monocle_face:"1f9d0",monorail:"1f69d",montenegro:"1f1f2-1f1ea",montserrat:"1f1f2-1f1f8",moon:"1f314",moon_cake:"1f96e",morocco:"1f1f2-1f1e6",mortar_board:"1f393",mosque:"1f54c",mosquito:"1f99f",motor_boat:"1f6e5",motor_scooter:"1f6f5",motorcycle:"1f3cd",motorized_wheelchair:"1f9bc",motorway:"1f6e3",mount_fuji:"1f5fb",mountain:"26f0",mountain_bicyclist:"1f6b5",mountain_biking_man:"1f6b5-2642",mountain_biking_woman:"1f6b5-2640",mountain_cableway:"1f6a0",mountain_railway:"1f69e",mountain_snow:"1f3d4",mouse:"1f42d",mouse2:"1f401",movie_camera:"1f3a5",moyai:"1f5ff",mozambique:"1f1f2-1f1ff",mrs_claus:"1f936",muscle:"1f4aa",mushroom:"1f344",musical_keyboard:"1f3b9",musical_note:"1f3b5",musical_score:"1f3bc",mute:"1f507",myanmar:"1f1f2-1f1f2",nail_care:"1f485",name_badge:"1f4db",namibia:"1f1f3-1f1e6",national_park:"1f3de",nauru:"1f1f3-1f1f7",nauseated_face:"1f922",nazar_amulet:"1f9ff",necktie:"1f454",negative_squared_cross_mark:"274e",nepal:"1f1f3-1f1f5",nerd_face:"1f913",netherlands:"1f1f3-1f1f1",neutral_face:"1f610",new:"1f195",new_caledonia:"1f1f3-1f1e8",new_moon:"1f311",new_moon_with_face:"1f31a",new_zealand:"1f1f3-1f1ff",newspaper:"1f4f0",newspaper_roll:"1f5de",next_track_button:"23ed",ng:"1f196",ng_man:"1f645-2642",ng_woman:"1f645-2640",nicaragua:"1f1f3-1f1ee",niger:"1f1f3-1f1ea",nigeria:"1f1f3-1f1ec",night_with_stars:"1f303",nine:"0039-20e3",niue:"1f1f3-1f1fa",no_bell:"1f515",no_bicycles:"1f6b3",no_entry:"26d4",no_entry_sign:"1f6ab",no_good:"1f645",no_good_man:"1f645-2642",no_good_woman:"1f645-2640",no_mobile_phones:"1f4f5",no_mouth:"1f636",no_pedestrians:"1f6b7",no_smoking:"1f6ad","non-potable_water":"1f6b1",norfolk_island:"1f1f3-1f1eb",north_korea:"1f1f0-1f1f5",northern_mariana_islands:"1f1f2-1f1f5",norway:"1f1f3-1f1f4",nose:"1f443",notebook:"1f4d3",notebook_with_decorative_cover:"1f4d4",notes:"1f3b6",nut_and_bolt:"1f529",o:"2b55",o2:"1f17e",ocean:"1f30a",octopus:"1f419",oden:"1f362",office:"1f3e2",office_worker:"1f9d1-1f4bc",oil_drum:"1f6e2",ok:"1f197",ok_hand:"1f44c",ok_man:"1f646-2642",ok_person:"1f646",ok_woman:"1f646-2640",old_key:"1f5dd",older_adult:"1f9d3",older_man:"1f474",older_woman:"1f475",om:"1f549",oman:"1f1f4-1f1f2",on:"1f51b",oncoming_automobile:"1f698",oncoming_bus:"1f68d",oncoming_police_car:"1f694",oncoming_taxi:"1f696",one:"0031-20e3",one_piece_swimsuit:"1fa71",onion:"1f9c5",open_book:"1f4d6",open_file_folder:"1f4c2",open_hands:"1f450",open_mouth:"1f62e",open_umbrella:"2602",ophiuchus:"26ce",orange:"1f34a",orange_book:"1f4d9",orange_circle:"1f7e0",orange_heart:"1f9e1",orange_square:"1f7e7",orangutan:"1f9a7",orthodox_cross:"2626",otter:"1f9a6",outbox_tray:"1f4e4",owl:"1f989",ox:"1f402",oyster:"1f9aa",package:"1f4e6",page_facing_up:"1f4c4",page_with_curl:"1f4c3",pager:"1f4df",paintbrush:"1f58c",pakistan:"1f1f5-1f1f0",palau:"1f1f5-1f1fc",palestinian_territories:"1f1f5-1f1f8",palm_tree:"1f334",palms_up_together:"1f932",panama:"1f1f5-1f1e6",pancakes:"1f95e",panda_face:"1f43c",paperclip:"1f4ce",paperclips:"1f587",papua_new_guinea:"1f1f5-1f1ec",parachute:"1fa82",paraguay:"1f1f5-1f1fe",parasol_on_ground:"26f1",parking:"1f17f",parrot:"1f99c",part_alternation_mark:"303d",partly_sunny:"26c5",partying_face:"1f973",passenger_ship:"1f6f3",passport_control:"1f6c2",pause_button:"23f8",paw_prints:"1f43e",peace_symbol:"262e",peach:"1f351",peacock:"1f99a",peanuts:"1f95c",pear:"1f350",pen:"1f58a",pencil:"1f4dd",pencil2:"270f",penguin:"1f427",pensive:"1f614",people_holding_hands:"1f9d1-1f91d-1f9d1",performing_arts:"1f3ad",persevere:"1f623",person_bald:"1f9d1-1f9b2",person_curly_hair:"1f9d1-1f9b1",person_fencing:"1f93a",person_in_manual_wheelchair:"1f9d1-1f9bd",person_in_motorized_wheelchair:"1f9d1-1f9bc",person_red_hair:"1f9d1-1f9b0",person_white_hair:"1f9d1-1f9b3",person_with_probing_cane:"1f9d1-1f9af",person_with_turban:"1f473",peru:"1f1f5-1f1ea",petri_dish:"1f9eb",philippines:"1f1f5-1f1ed",phone:"260e",pick:"26cf",pie:"1f967",pig:"1f437",pig2:"1f416",pig_nose:"1f43d",pill:"1f48a",pilot:"1f9d1-2708",pinching_hand:"1f90f",pineapple:"1f34d",ping_pong:"1f3d3",pirate_flag:"1f3f4-2620",pisces:"2653",pitcairn_islands:"1f1f5-1f1f3",pizza:"1f355",place_of_worship:"1f6d0",plate_with_cutlery:"1f37d",play_or_pause_button:"23ef",pleading_face:"1f97a",point_down:"1f447",point_left:"1f448",point_right:"1f449",point_up:"261d",point_up_2:"1f446",poland:"1f1f5-1f1f1",police_car:"1f693",police_officer:"1f46e",policeman:"1f46e-2642",policewoman:"1f46e-2640",poodle:"1f429",poop:"1f4a9",popcorn:"1f37f",portugal:"1f1f5-1f1f9",post_office:"1f3e3",postal_horn:"1f4ef",postbox:"1f4ee",potable_water:"1f6b0",potato:"1f954",pouch:"1f45d",poultry_leg:"1f357",pound:"1f4b7",pout:"1f621",pouting_cat:"1f63e",pouting_face:"1f64e",pouting_man:"1f64e-2642",pouting_woman:"1f64e-2640",pray:"1f64f",prayer_beads:"1f4ff",pregnant_woman:"1f930",pretzel:"1f968",previous_track_button:"23ee",prince:"1f934",princess:"1f478",printer:"1f5a8",probing_cane:"1f9af",puerto_rico:"1f1f5-1f1f7",punch:"1f44a",purple_circle:"1f7e3",purple_heart:"1f49c",purple_square:"1f7ea",purse:"1f45b",pushpin:"1f4cc",put_litter_in_its_place:"1f6ae",qatar:"1f1f6-1f1e6",question:"2753",rabbit:"1f430",rabbit2:"1f407",raccoon:"1f99d",racehorse:"1f40e",racing_car:"1f3ce",radio:"1f4fb",radio_button:"1f518",radioactive:"2622",rage:"1f621",railway_car:"1f683",railway_track:"1f6e4",rainbow:"1f308",rainbow_flag:"1f3f3-1f308",raised_back_of_hand:"1f91a",raised_eyebrow:"1f928",raised_hand:"270b",raised_hand_with_fingers_splayed:"1f590",raised_hands:"1f64c",raising_hand:"1f64b",raising_hand_man:"1f64b-2642",raising_hand_woman:"1f64b-2640",ram:"1f40f",ramen:"1f35c",rat:"1f400",razor:"1fa92",receipt:"1f9fe",record_button:"23fa",recycle:"267b",red_car:"1f697",red_circle:"1f534",red_envelope:"1f9e7",red_haired_man:"1f468-1f9b0",red_haired_woman:"1f469-1f9b0",red_square:"1f7e5",registered:"00ae",relaxed:"263a",relieved:"1f60c",reminder_ribbon:"1f397",repeat:"1f501",repeat_one:"1f502",rescue_worker_helmet:"26d1",restroom:"1f6bb",reunion:"1f1f7-1f1ea",revolving_hearts:"1f49e",rewind:"23ea",rhinoceros:"1f98f",ribbon:"1f380",rice:"1f35a",rice_ball:"1f359",rice_cracker:"1f358",rice_scene:"1f391",right_anger_bubble:"1f5ef",ring:"1f48d",ringed_planet:"1fa90",robot:"1f916",rocket:"1f680",rofl:"1f923",roll_eyes:"1f644",roll_of_paper:"1f9fb",roller_coaster:"1f3a2",romania:"1f1f7-1f1f4",rooster:"1f413",rose:"1f339",rosette:"1f3f5",rotating_light:"1f6a8",round_pushpin:"1f4cd",rowboat:"1f6a3",rowing_man:"1f6a3-2642",rowing_woman:"1f6a3-2640",ru:"1f1f7-1f1fa",rugby_football:"1f3c9",runner:"1f3c3",running:"1f3c3",running_man:"1f3c3-2642",running_shirt_with_sash:"1f3bd",running_woman:"1f3c3-2640",rwanda:"1f1f7-1f1fc",sa:"1f202",safety_pin:"1f9f7",safety_vest:"1f9ba",sagittarius:"2650",sailboat:"26f5",sake:"1f376",salt:"1f9c2",samoa:"1f1fc-1f1f8",san_marino:"1f1f8-1f1f2",sandal:"1f461",sandwich:"1f96a",santa:"1f385",sao_tome_principe:"1f1f8-1f1f9",sari:"1f97b",sassy_man:"1f481-2642",sassy_woman:"1f481-2640",satellite:"1f4e1",satisfied:"1f606",saudi_arabia:"1f1f8-1f1e6",sauna_man:"1f9d6-2642",sauna_person:"1f9d6",sauna_woman:"1f9d6-2640",sauropod:"1f995",saxophone:"1f3b7",scarf:"1f9e3",school:"1f3eb",school_satchel:"1f392",scientist:"1f9d1-1f52c",scissors:"2702",scorpion:"1f982",scorpius:"264f",scotland:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",scream:"1f631",scream_cat:"1f640",scroll:"1f4dc",seat:"1f4ba",secret:"3299",see_no_evil:"1f648",seedling:"1f331",selfie:"1f933",senegal:"1f1f8-1f1f3",serbia:"1f1f7-1f1f8",service_dog:"1f415-1f9ba",seven:"0037-20e3",seychelles:"1f1f8-1f1e8",shallow_pan_of_food:"1f958",shamrock:"2618",shark:"1f988",shaved_ice:"1f367",sheep:"1f411",shell:"1f41a",shield:"1f6e1",shinto_shrine:"26e9",ship:"1f6a2",shirt:"1f455",poo:"1f4a9",shoe:"1f45e",shopping:"1f6cd",shopping_cart:"1f6d2",shorts:"1fa73",shower:"1f6bf",shrimp:"1f990",shrug:"1f937",shushing_face:"1f92b",sierra_leone:"1f1f8-1f1f1",signal_strength:"1f4f6",singapore:"1f1f8-1f1ec",singer:"1f9d1-1f3a4",sint_maarten:"1f1f8-1f1fd",six:"0036-20e3",six_pointed_star:"1f52f",skateboard:"1f6f9",ski:"1f3bf",skier:"26f7",skull:"1f480",skull_and_crossbones:"2620",skunk:"1f9a8",sled:"1f6f7",sleeping:"1f634",sleeping_bed:"1f6cc",sleepy:"1f62a",slightly_frowning_face:"1f641",slightly_smiling_face:"1f642",slot_machine:"1f3b0",sloth:"1f9a5",slovakia:"1f1f8-1f1f0",slovenia:"1f1f8-1f1ee",small_airplane:"1f6e9",small_blue_diamond:"1f539",small_orange_diamond:"1f538",small_red_triangle:"1f53a",small_red_triangle_down:"1f53b",smile:"1f604",smile_cat:"1f638",smiley:"1f603",smiley_cat:"1f63a",smiling_face_with_three_hearts:"1f970",smiling_imp:"1f608",smirk:"1f60f",smirk_cat:"1f63c",smoking:"1f6ac",snail:"1f40c",snake:"1f40d",sneezing_face:"1f927",snowboarder:"1f3c2",snowflake:"2744",snowman:"26c4",snowman_with_snow:"2603",soap:"1f9fc",sob:"1f62d",soccer:"26bd",socks:"1f9e6",softball:"1f94e",solomon_islands:"1f1f8-1f1e7",somalia:"1f1f8-1f1f4",soon:"1f51c",sos:"1f198",sound:"1f509",south_africa:"1f1ff-1f1e6",south_georgia_south_sandwich_islands:"1f1ec-1f1f8",south_sudan:"1f1f8-1f1f8",space_invader:"1f47e",spades:"2660",spaghetti:"1f35d",sparkle:"2747",sparkler:"1f387",sparkles:"2728",sparkling_heart:"1f496",speak_no_evil:"1f64a",speaker:"1f508",speaking_head:"1f5e3",speech_balloon:"1f4ac",speedboat:"1f6a4",spider:"1f577",spider_web:"1f578",spiral_calendar:"1f5d3",spiral_notepad:"1f5d2",sponge:"1f9fd",spoon:"1f944",squid:"1f991",sri_lanka:"1f1f1-1f1f0",st_barthelemy:"1f1e7-1f1f1",st_helena:"1f1f8-1f1ed",st_kitts_nevis:"1f1f0-1f1f3",st_lucia:"1f1f1-1f1e8",st_martin:"1f1f2-1f1eb",st_pierre_miquelon:"1f1f5-1f1f2",st_vincent_grenadines:"1f1fb-1f1e8",stadium:"1f3df",standing_man:"1f9cd-2642",standing_person:"1f9cd",standing_woman:"1f9cd-2640",star:"2b50",star2:"1f31f",star_and_crescent:"262a",star_of_david:"2721",star_struck:"1f929",stars:"1f320",station:"1f689",statue_of_liberty:"1f5fd",steam_locomotive:"1f682",stethoscope:"1fa7a",stew:"1f372",stop_button:"23f9",stop_sign:"1f6d1",stopwatch:"23f1",straight_ruler:"1f4cf",strawberry:"1f353",stuck_out_tongue:"1f61b",stuck_out_tongue_closed_eyes:"1f61d",stuck_out_tongue_winking_eye:"1f61c",student:"1f9d1-1f393",studio_microphone:"1f399",stuffed_flatbread:"1f959",sudan:"1f1f8-1f1e9",sun_behind_large_cloud:"1f325",sun_behind_rain_cloud:"1f326",sun_behind_small_cloud:"1f324",sun_with_face:"1f31e",sunflower:"1f33b",sunglasses:"1f60e",sunny:"2600",sunrise:"1f305",sunrise_over_mountains:"1f304",superhero:"1f9b8",superhero_man:"1f9b8-2642",superhero_woman:"1f9b8-2640",supervillain:"1f9b9",supervillain_man:"1f9b9-2642",supervillain_woman:"1f9b9-2640",surfer:"1f3c4",surfing_man:"1f3c4-2642",surfing_woman:"1f3c4-2640",suriname:"1f1f8-1f1f7",sushi:"1f363",suspension_railway:"1f69f",svalbard_jan_mayen:"1f1f8-1f1ef",swan:"1f9a2",swaziland:"1f1f8-1f1ff",sweat:"1f613",sweat_drops:"1f4a6",sweat_smile:"1f605",sweden:"1f1f8-1f1ea",sweet_potato:"1f360",swim_brief:"1fa72",swimmer:"1f3ca",swimming_man:"1f3ca-2642",swimming_woman:"1f3ca-2640",switzerland:"1f1e8-1f1ed",symbols:"1f523",synagogue:"1f54d",syria:"1f1f8-1f1fe",syringe:"1f489","t-rex":"1f996",taco:"1f32e",tada:"1f389",taiwan:"1f1f9-1f1fc",tajikistan:"1f1f9-1f1ef",takeout_box:"1f961",tanabata_tree:"1f38b",tangerine:"1f34a",tanzania:"1f1f9-1f1ff",taurus:"2649",taxi:"1f695",tea:"1f375",teacher:"1f9d1-1f3eb",technologist:"1f9d1-1f4bb",teddy_bear:"1f9f8",telephone:"260e",telephone_receiver:"1f4de",telescope:"1f52d",tennis:"1f3be",tent:"26fa",test_tube:"1f9ea",thailand:"1f1f9-1f1ed",thermometer:"1f321",thinking:"1f914",thought_balloon:"1f4ad",thread:"1f9f5",three:"0033-20e3",thumbsdown:"1f44e",thumbsup:"1f44d",ticket:"1f3ab",tickets:"1f39f",tiger:"1f42f",tiger2:"1f405",timer_clock:"23f2",timor_leste:"1f1f9-1f1f1",tipping_hand_man:"1f481-2642",tipping_hand_person:"1f481",tipping_hand_woman:"1f481-2640",tired_face:"1f62b",tm:"2122",togo:"1f1f9-1f1ec",toilet:"1f6bd",tokelau:"1f1f9-1f1f0",tokyo_tower:"1f5fc",tomato:"1f345",tonga:"1f1f9-1f1f4",tongue:"1f445",toolbox:"1f9f0",tooth:"1f9b7",top:"1f51d",tophat:"1f3a9",tornado:"1f32a",tr:"1f1f9-1f1f7",trackball:"1f5b2",tractor:"1f69c",traffic_light:"1f6a5",train:"1f68b",train2:"1f686",tram:"1f68a",triangular_flag_on_post:"1f6a9",triangular_ruler:"1f4d0",trident:"1f531",trinidad_tobago:"1f1f9-1f1f9",tristan_da_cunha:"1f1f9-1f1e6",triumph:"1f624",trolleybus:"1f68e",trophy:"1f3c6",tropical_drink:"1f379",tropical_fish:"1f420",truck:"1f69a",trumpet:"1f3ba",tshirt:"1f455",tulip:"1f337",tumbler_glass:"1f943",tunisia:"1f1f9-1f1f3",turkey:"1f983",turkmenistan:"1f1f9-1f1f2",turks_caicos_islands:"1f1f9-1f1e8",turtle:"1f422",tuvalu:"1f1f9-1f1fb",tv:"1f4fa",twisted_rightwards_arrows:"1f500",two:"0032-20e3",two_hearts:"1f495",two_men_holding_hands:"1f46c",two_women_holding_hands:"1f46d",u5272:"1f239",u5408:"1f234",u55b6:"1f23a",u6307:"1f22f",u6708:"1f237",u6709:"1f236",u6e80:"1f235",u7121:"1f21a",u7533:"1f238",u7981:"1f232",u7a7a:"1f233",uganda:"1f1fa-1f1ec",uk:"1f1ec-1f1e7",ukraine:"1f1fa-1f1e6",umbrella:"2614",unamused:"1f612",underage:"1f51e",unicorn:"1f984",united_arab_emirates:"1f1e6-1f1ea",united_nations:"1f1fa-1f1f3",unlock:"1f513",up:"1f199",upside_down_face:"1f643",uruguay:"1f1fa-1f1fe",us:"1f1fa-1f1f8",us_outlying_islands:"1f1fa-1f1f2",us_virgin_islands:"1f1fb-1f1ee",uzbekistan:"1f1fa-1f1ff",v:"270c",vampire:"1f9db",vampire_man:"1f9db-2642",vampire_woman:"1f9db-2640",vanuatu:"1f1fb-1f1fa",vatican_city:"1f1fb-1f1e6",venezuela:"1f1fb-1f1ea",vertical_traffic_light:"1f6a6",vhs:"1f4fc",vibration_mode:"1f4f3",video_camera:"1f4f9",video_game:"1f3ae",vietnam:"1f1fb-1f1f3",violin:"1f3bb",virgo:"264d",volcano:"1f30b",volleyball:"1f3d0",vomiting_face:"1f92e",vs:"1f19a",vulcan_salute:"1f596",waffle:"1f9c7",wales:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",walking:"1f6b6",walking_man:"1f6b6-2642",walking_woman:"1f6b6-2640",wallis_futuna:"1f1fc-1f1eb",waning_crescent_moon:"1f318",waning_gibbous_moon:"1f316",warning:"26a0",wastebasket:"1f5d1",watch:"231a",water_buffalo:"1f403",water_polo:"1f93d",watermelon:"1f349",wave:"1f44b",wavy_dash:"3030",waxing_crescent_moon:"1f312",waxing_gibbous_moon:"1f314",wc:"1f6be",weary:"1f629",wedding:"1f492",weight_lifting:"1f3cb",weight_lifting_man:"1f3cb-2642",weight_lifting_woman:"1f3cb-2640",western_sahara:"1f1ea-1f1ed",whale:"1f433",whale2:"1f40b",wheel_of_dharma:"2638",wheelchair:"267f",white_check_mark:"2705",white_circle:"26aa",white_flag:"1f3f3",white_flower:"1f4ae",white_haired_man:"1f468-1f9b3",white_haired_woman:"1f469-1f9b3",white_heart:"1f90d",white_large_square:"2b1c",white_medium_small_square:"25fd",white_medium_square:"25fb",white_small_square:"25ab",white_square_button:"1f533",wilted_flower:"1f940",wind_chime:"1f390",wind_face:"1f32c",wine_glass:"1f377",wink:"1f609",wolf:"1f43a",woman:"1f469",woman_artist:"1f469-1f3a8",woman_astronaut:"1f469-1f680",woman_cartwheeling:"1f938-2640",woman_cook:"1f469-1f373",woman_dancing:"1f483",woman_facepalming:"1f926-2640",woman_factory_worker:"1f469-1f3ed",woman_farmer:"1f469-1f33e",woman_firefighter:"1f469-1f692",woman_health_worker:"1f469-2695",woman_in_manual_wheelchair:"1f469-1f9bd",woman_in_motorized_wheelchair:"1f469-1f9bc",woman_judge:"1f469-2696",woman_juggling:"1f939-2640",woman_mechanic:"1f469-1f527",woman_office_worker:"1f469-1f4bc",woman_pilot:"1f469-2708",woman_playing_handball:"1f93e-2640",woman_playing_water_polo:"1f93d-2640",woman_scientist:"1f469-1f52c",woman_shrugging:"1f937-2640",woman_singer:"1f469-1f3a4",woman_student:"1f469-1f393",woman_teacher:"1f469-1f3eb",woman_technologist:"1f469-1f4bb",woman_with_headscarf:"1f9d5",woman_with_probing_cane:"1f469-1f9af",woman_with_turban:"1f473-2640",womans_clothes:"1f45a",womans_hat:"1f452",women_wrestling:"1f93c-2640",womens:"1f6ba",woozy_face:"1f974",world_map:"1f5fa",worried:"1f61f",wrench:"1f527",wrestling:"1f93c",writing_hand:"270d",x:"274c",yarn:"1f9f6",yawning_face:"1f971",yellow_circle:"1f7e1",yellow_heart:"1f49b",yellow_square:"1f7e8",yemen:"1f1fe-1f1ea",yen:"1f4b4",yin_yang:"262f",yo_yo:"1fa80",yum:"1f60b",zambia:"1f1ff-1f1f2",zany_face:"1f92a",zap:"26a1",zebra:"1f993",zero:"0030-20e3",zimbabwe:"1f1ff-1f1fc",zipper_mouth_face:"1f910",zombie:"1f9df",zombie_man:"1f9df-2642",zombie_woman:"1f9df-2640",zzz:"1f4a4"};function Nb(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function Db(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=Nb(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=Nb(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}function Fb(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}function Pb(){for(var t=[],e=0,n="",r=0,i=arguments.length;r!==i;++r){var a=+(r<0||arguments.length<=r?void 0:arguments[r]);if(!(a<1114111&&a>>>0===a))throw new RangeError("Invalid code point: ".concat(a));a<=65535?e=t.push(a):(a-=65536,e=t.push(55296+(a>>10),a%1024+56320)),e>=16383&&(n+=String.fromCharCode.apply(null,t),t.length=0)}return n+String.fromCharCode.apply(null,t)}var Rb=function(t){Es(n,t);var e=Fb(n);function n(){var t,r=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{config:void 0}).config;if(bo(this,n),(t=e.call(this,{config:r})).options={useUnicode:!0,upperCase:!1,customHandled:!1,resourceURL:"https://github.githubassets.com/images/icons/emoji/unicode/${code}.png?v8",emojis:Db({},Ob)},"object"!==ss(r))return xs(t);var i=r.useUnicode,a=r.customResourceURL,o=r.customRenderer,s=r.upperCase;return t.options.useUnicode="boolean"==typeof i?i:t.options.useUnicode,t.options.upperCase="boolean"==typeof i?s:t.options.upperCase,!1===i&&"string"==typeof a&&(t.options.resourceURL=a),"function"==typeof o&&(t.options.customHandled=!0,t.options.customRenderer=o),t}return hs(n,[{key:"makeHtml",value:function(t,e){var n=this;return this.test(t)?t.replace(this.RULE.reg,(function(t,e){var r;if(n.options.customHandled&&"function"==typeof n.options.customRenderer)return n.options.customRenderer(e);var i=n.options.emojis[e];if("string"!=typeof i)return t;if(n.options.useUnicode){var a,o=tA(a=i.split("-")).call(a,(function(t){return"0x".concat(t)}));return Pb.apply(void 0,cg(o))}n.options.upperCase&&(i=i.toUpperCase());var s=n.options.resourceURL.replace(/\$\{code\}/g,i);return Fs(r='<img class="emoji" src="'.concat(s,'" alt="')).call(r,LA(e),'" />')})):t}},{key:"rule",value:function(){var t={begin:":",content:"([a-zA-Z0-9+_]+?)",end:":"};return t.reg=ad(t,"g"),t}}]),n}(qd);function Qb(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Rb,"HOOK_NAME","emoji");var Ub=function(t){Es(n,t);var e=Qb(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"makeHtml",value:function(t){return this.test(t)?t.replace(this.RULE.reg,'$1<span style="text-decoration: underline;">$2</span>$3'):t}},{key:"rule",value:function(){var t={begin:"(^| )\\/",end:"\\/( |$)",content:"([^\\n]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);function Hb(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(Ub,"HOOK_NAME","underline");var jb=function(t){Es(n,t);var e=Hb(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"makeHtml",value:function(t){return this.test(t)?t.replace(this.RULE.reg,"$1<mark>$2</mark>$3"):t}},{key:"rule",value:function(){var t={begin:"(^| )==",end:"==( |$|\\n)",content:"([^\\n]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);Ms(jb,"HOOK_NAME","highLight"),X.JSON||(X.JSON={stringify:JSON.stringify});var $b=function(t,e,n){return xe(X.JSON.stringify,null,arguments)},Kb=$b,Gb=yn.includes,zb=h((function(){return!Array(1).includes()}));jn({target:"Array",proto:!0,forced:zb},{includes:function(t){return Gb(this,t,arguments.length>1?arguments[1]:void 0)}}),Ha();var Xb=Wi("Array").includes,qb=T("".indexOf);jn({target:"String",proto:!0,forced:!Sh("includes")},{includes:function(t){return!!~qb(Ur($(this)),Ur(Bh(t)),arguments.length>1?arguments[1]:void 0)}});var Vb=Wi("String").includes,Wb=Xb,Yb=Vb,Jb=Array.prototype,Zb=String.prototype,tv=function(t){var e=t.includes;return t===Jb||ct(Jb,t)&&e===Jb.includes?Wb:"string"==typeof t||t===Zb||ct(Zb,t)&&e===Zb.includes?Yb:e},ev=tv;var nv=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var rv=function(t){return"symbol"==typeof t||El(t)&&"[object Symbol]"==yc(t)},iv=hc?hc.prototype:void 0,av=iv?iv.toString:void 0;var ov=function t(e){if("string"==typeof e)return e;if(Ml(e))return nv(e,t)+"";if(rv(e))return av?av.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var sv=function(t){return null==t?"":ov(t)},cv=/[\\^$.*+?()[\]{}|]/g,lv=RegExp(cv.source);var uv=function(t){return(t=sv(t))&&lv.test(t)?t.replace(cv,"\\$&"):t},hv=function(){return"CodeMirror.Pass"};function fv(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var dv=function(t){Es(n,t);var e=fv(n);function n(t){var r,i=t.config;return bo(this,n),(r=e.call(this,{needCache:!0})).config=i,r.RULE=r.rule(),r.suggesterPanel=new Av,r}return hs(n,[{key:"afterInit",value:function(t){Mm()&&("function"==typeof t&&t(),this.initConfig(this.config))}},{key:"getSystemSuggestList",value:function(){var t=this.$locale;return[{icon:"h1",label:t?t["H1 Heading"]:"H1 Heading",keyword:"head1",value:"# "},{icon:"h2",label:t?t["H2 Heading"]:"H2 Heading",keyword:"head2",value:"## "},{icon:"h3",label:t?t["H3 Heading"]:"H3 Heading",keyword:"head3",value:"### "},{icon:"table",label:t?t.table:"Table",keyword:"table",value:"| Header | Header | Header |\n| --- | --- | --- |\n| Content | Content | Content |\n"},{icon:"code",label:t?t.code:"Code",keyword:"code",value:"```\n\n```\n"},{icon:"link",label:t?t.link:"Link",keyword:"link",value:"[title](https://url)"},{icon:"checklist",label:t?t.checklist:"Checklist",keyword:"checklist",value:"- [ ] item\n- [x] item"},{icon:"tips",label:t?t.panel:"Panel",keyword:"panel tips info warning danger success",value:"::: primary title\ncontent\n:::\n"},{icon:"insertFlow",label:t?t.detail:"Detail",keyword:"detail",value:"+++ 点击展开更多\n内容\n++- 默认展开\n内容\n++ 默认收起\n内容\n+++\n"}]}},{key:"initConfig",value:function(t){var e=this,n=t.suggester;this.suggester={},n||(n=[]);var r=this.getSystemSuggestList();n.unshift({keyword:"/",suggestList:function(t,e){var n=t.replace(/^\//,"");if(/^\s$/.test(n))e(!1);else{var i=n.replace(/\s+/g,"").split("").join(".*?"),a=new RegExp("^.*?".concat(i,".*?$"),"i"),o=ta(r).call(r,(function(t){return!n||a.test(t.keyword)}));e(o)}}}),ao(n).call(n,(function(t){t.suggestList?(t.keyword||(t.keyword="@"),e.suggester[t.keyword]=t):console.warn("[cherry-suggester]: the suggestList of config is missing.")})),this.suggesterPanel.hasEditor()&&(this.suggesterPanel.editor=null)}},{key:"makeHtml",value:function(t){var e,n;if(!this.RULE.reg)return t;if(!this.suggesterPanel.hasEditor()&&Mm()){var r=this.$engine.$cherry.editor;this.suggesterPanel.setEditor(r),this.suggesterPanel.setSuggester(this.suggester),this.suggesterPanel.bindEvent()}return od()?t.replace(this.RULE.reg,Ps(n=this.toHtml).call(n,this)):fg(t,this.RULE.reg,Ps(e=this.toHtml).call(e,this),!0,1)}},{key:"toHtml",value:function(t,e,n,r){var i,a,o,s,c;return r?(null===(a=this.suggester[n])||void 0===a||null===(o=a.echo)||void 0===o?void 0:o.call(this,r))||Fs(s=Fs(c="".concat(e,'<span class="cherry-suggestion">')).call(c,n)).call(s,r,"</span>"):!1===(null===(i=this.suggester[n])||void 0===i?void 0:i.echo)?"".concat(e):this.suggester[n]?r?e+r:"".concat(e):e+r}},{key:"rule",value:function(){var t,e,n;if(!this.suggester||ar(this.suggester).length<=0)return{};var r=tA(t=ar(this.suggester)).call(t,(function(t){return uv(t)})).join("|");return{reg:new RegExp(Fs(e=Fs(n="".concat(od()?"((?<!\\\\))[ ]":"(^|[^\\\\])[ ]","(")).call(n,r,")(([^")).call(e,r,"\\s])+)"),"g")}}},{key:"mounted",value:function(){if(!this.suggesterPanel.hasEditor()&&Mm()){var t=this.$engine.$cherry.editor;this.suggesterPanel.setEditor(t),this.suggesterPanel.setSuggester(this.suggester),this.suggesterPanel.bindEvent()}}}]),n}(qd);Ms(dv,"HOOK_NAME","suggester");var Av=function(){function t(){bo(this,t),Ms(this,"panelWrap",'<div class="cherry-suggester-panel"></div>'),this.searchCache=!1,this.searchKeyCache=[],this.optionList=[],this.cursorMove=!0,this.suggesterConfig={}}return hs(t,[{key:"tryCreatePanel",value:function(){var t,e,n;!this.$suggesterPanel&&Mm()&&document&&(null===(t=document)||void 0===t||null===(e=t.body)||void 0===e||e.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=null===(n=document)||void 0===n?void 0:n.querySelector(".cherry-suggester-panel"))}},{key:"hasEditor",value:function(){return!!this.editor&&!!this.editor.editor.display&&!!this.editor.editor.display.wrapper}},{key:"setEditor",value:function(t){this.editor=t}},{key:"setSuggester",value:function(t){this.suggesterConfig=t}},{key:"bindEvent",value:function(){var t=this,e=!1;this.editor.editor.on("change",(function(n,r){e=!0,t.onCodeMirrorChange(n,r)})),this.editor.editor.on("keydown",(function(n,r){e=!0,t.enableRelate()&&t.onKeyDown(n,r)})),this.editor.editor.on("cursorActivity",(function(){e||t.stopRelate(),e=!1}));var n=this.editor.editor.getOption("extraKeys"),r=["Up","Down","Enter"];ao(r).call(r,(function(e){if("function"==typeof n[e]){var r=n[e];n[e]=function(e){if(t.cursorMove){var n=r.call(e,e);if(n)return n}}}else if(n[e]){if("string"==typeof n[e]){var i=n[e];n[e]=function(e){t.cursorMove&&t.editor.editor.execCommand(i)}}}else n[e]=function(){if(t.cursorMove)return hv()}})),this.editor.editor.setOption("extraKeys",n),this.editor.editor.on("scroll",(function(e,n){t.searchCache&&t.relocatePanel(t.editor.editor)})),this.onClickPancelItem()}},{key:"onClickPancelItem",value:function(){var t=this;this.tryCreatePanel(),this.$suggesterPanel.addEventListener("click",(function(e){var n=function(t,e){var n,r=-1;return ao(n=t.childNodes).call(n,(function(t,n){return t===e?r=n:""})),r}(t.$suggesterPanel,e.target);n>-1&&t.pasteSelectResult(n),t.stopRelate()}),!1)}},{key:"showsuggesterPanel",value:function(t){var e=t.left,n=t.top,r=t.items;this.tryCreatePanel(),!this.$suggesterPanel&&Mm()&&(document.body.appendChild(this.createDom(this.panelWrap)),this.$suggesterPanel=document.querySelector(".cherry-suggester-panel")),this.updatePanel(r),this.$suggesterPanel.style.left="".concat(e,"px"),this.$suggesterPanel.style.top="".concat(n,"px"),this.$suggesterPanel.style.display="block",this.$suggesterPanel.style.position="absolute",this.$suggesterPanel.style.zIndex="100"}},{key:"hidesuggesterPanel",value:function(){this.tryCreatePanel(),this.$suggesterPanel&&(this.$suggesterPanel.style.display="none")}},{key:"updatePanel",value:function(t){var e=this;this.tryCreatePanel();var n=tA(t).call(t,(function(t,n){if("object"===ss(t)&&null!==t){var r,i=t.label;if(null!=t&&t.icon)i=Fs(r='<i class="ch-icon ch-icon-'.concat(t.icon,'"></i>')).call(r,i);return e.renderPanelItem(i,0===n)}return e.renderPanelItem(t,0===n)})).join(""),r=this.suggesterConfig[this.keyword];r&&"function"==typeof r.suggestListRender&&(n=r.suggestListRender.call(this,t)||n),this.$suggesterPanel.innerHTML="","string"==typeof n?this.$suggesterPanel.innerHTML=n:rA(n)&&n.length>0?ao(n).call(n,(function(t){e.$suggesterPanel.appendChild(t)})):"object"===ss(n)&&1===n.nodeType&&this.$suggesterPanel.appendChild(n)}},{key:"renderPanelItem",value:function(t,e){return e?'<div class="cherry-suggester-panel__item cherry-suggester-panel__item--selected">'.concat(t,"</div>"):'<div class="cherry-suggester-panel__item">'.concat(t,"</div>")}},{key:"createDom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.template||(this.template=document.createElement("div")),this.template.innerHTML=ih(t).call(t);var e=document.createDocumentFragment();return tA(Array.prototype).call(this.template.childNodes,(function(t,n){e.appendChild(t)})),e}},{key:"relocatePanel",value:function(t){var e=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(!e)return!1;var n=t.getCursor(),r=t.lineInfo(n.line).handle.height,i=e.getBoundingClientRect(),a=i.top+r,o=i.left;this.showsuggesterPanel({left:o,top:a,items:this.optionList})}},{key:"getCursorPos",value:function(t){var e=document.querySelector(".CodeMirror-cursors .CodeMirror-cursor");if(!e)return null;var n=t.getCursor(),r=t.lineInfo(n.line).handle.height,i=e.getBoundingClientRect(),a=i.top+r;return{left:i.left,top:a}}},{key:"startRelate",value:function(t,e,n){this.cursorFrom=n,this.keyword=e,this.searchCache=!0,this.relocatePanel(t)}},{key:"stopRelate",value:function(){this.hidesuggesterPanel(),this.cursorFrom=null,this.cursorTo=null,this.keyword="",this.searchKeyCache=[],this.searchCache=!1,this.cursorMove=!0,this.optionList=[]}},{key:"pasteSelectResult",value:function(t,e){if(this.cursorTo||(this.cursorTo=JSON.parse(Kb(this.cursorFrom))),this.cursorTo){this.cursorTo.ch+=1;var n=this.cursorFrom,r=this.cursorTo;if(this.optionList[t]){var i,a="";if("object"===ss(this.optionList[t])&&null!==this.optionList[t]&&"string"==typeof this.optionList[t].value&&(a=this.optionList[t].value),"object"===ss(this.optionList[t])&&null!==this.optionList[t]&&"function"==typeof this.optionList[t].value&&(a=this.optionList[t].value()),"string"==typeof this.optionList[t])a=Fs(i=" ".concat(this.keyword)).call(i,this.optionList[t]," ");a&&this.editor.editor.replaceRange(a,n,r)}}}},{key:"findSelectedItemIndex",value:function(){return Fd(Array.prototype).call(this.$suggesterPanel.childNodes,(function(t){return t.classList.contains("cherry-suggester-panel__item--selected")}))}},{key:"enableRelate",value:function(){return this.searchCache}},{key:"onCodeMirrorChange",value:function(t,e){var n=this,r=e.text,i=e.from,a=e.to,o=e.origin,s=1===r.length?r[0]:"";if(!this.enableRelate()&&this.suggesterConfig[s]&&this.startRelate(t,s,i),this.enableRelate()&&(s||"+delete"===o)){var c;if(this.cursorTo=a,s)this.searchKeyCache.push(s);else if("+delete"===o&&(this.searchKeyCache.pop(),0===this.searchKeyCache.length))return void this.stopRelate();"function"==typeof(null===(c=this.suggesterConfig[this.keyword])||void 0===c?void 0:c.suggestList)&&this.suggesterConfig[this.keyword].suggestList(this.searchKeyCache.join(""),(function(t){!1!==t?(n.optionList=t&&t.length?t:[],n.updatePanel(n.optionList)):n.stopRelate()}))}}},{key:"onKeyDown",value:function(t,e){var n,r=this;if(this.tryCreatePanel(),!this.$suggesterPanel)return!1;var i=e.keyCode;if(ev(n=[38,40]).call(n,i)){if(0===this.optionList.length)return void Xs((function(){r.stopRelate()}),0);this.cursorMove=!1;var a=this.$suggesterPanel.querySelector(".cherry-suggester-panel__item--selected"),o=null;38!==i||a.previousElementSibling?40!==i||a.nextElementSibling?38===i?o=a.previousElementSibling:40===i&&(o=a.nextElementSibling):o=this.$suggesterPanel.firstElementChild:o=this.$suggesterPanel.lastElementChild,a.classList.remove("cherry-suggester-panel__item--selected"),o.classList.add("cherry-suggester-panel__item--selected")}else 13===i?(e.stopPropagation(),this.cursorMove=!1,this.pasteSelectResult(this.findSelectedItemIndex(),e),t.focus(),Xs((function(){r.stopRelate()}),0)):27===i&&(e.stopPropagation(),t.focus(),Xs((function(){r.stopRelate()}),0))}}]),t}();function pv(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var gv=function(t){Es(n,t);var e=pv(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"makeHtml",value:function(t){return this.test(t)?t.replace(this.RULE.reg,"$1<ruby>$2<rt>$3</rt></ruby>$4"):t}},{key:"rule",value:function(){var t={begin:"(^| )\\{",end:"\\}( |$)",content:"([^\n]+?)\\|([^\n]+?)"};return t.reg=new RegExp(t.begin+t.content+t.end,"g"),t}}]),n}(qd);function mv(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(gv,"HOOK_NAME","ruby");var bv=function(t){Es(n,t);var e=mv(n);function n(t){var r;return bo(this,n),(r=e.call(this,{needCache:!0})).initBrReg(t.globalConfig.classicBr),r}return hs(n,[{key:"makeHtml",value:function(t,e){var n=this;return t.replace(this.RULE.reg,(function(t,r,i,a){var o,s,c,l,u,h=n.getLineCount(t,r),f=n.$engine.md5(t),d=n.$getPanelInfo(i,a,e),A=d.title,p=d.body,g=d.appendStyle,m=d.className;return eA(t,n.pushCache(Fs(o=Fs(s=Fs(c=Fs(l=Fs(u='<div class="'.concat(m,'" data-sign="')).call(u,f,'" data-lines="')).call(l,h,'" ')).call(c,g,">")).call(s,A)).call(o,p,"</div>"),f,h))}))}},{key:"$getClassByType",value:function(t){return/(left|right|center)/i.test(t)?"cherry-text-align cherry-text-align__".concat(t):"cherry-panel cherry-panel__".concat(t)}},{key:"$getPanelInfo",value:function(t,e,n){var r,i=this,a={type:this.$getTargetType(t),title:n(this.$getTitle(t)).html,body:e,appendStyle:"",className:""};a.className=this.$getClassByType(a.type),/(left|right|center)/i.test(a.type)&&(a.appendStyle='style="text-align:'.concat(a.type,';"')),a.title=Fs(r='<div class="cherry-panel--title '.concat(a.title?"cherry-panel--title__not-empty":"",'">')).call(r,a.title,"</div>");var o=function(t){var e,r;if(""===ih(t).call(t))return"";var a=n(t).html,o="p";return new RegExp("<(".concat(xA,")[^>]*>"),"i").test(a)&&(o="div"),Fs(e=Fs(r="<".concat(o,">")).call(r,i.$cleanParagraph(a),"</")).call(e,o,">")},s="";return s=this.isContainsCache(a.body)?this.makeExcludingCached(a.body,o):o(a.body),a.body='<div class="cherry-panel--body">'.concat(s,"</div>"),a}},{key:"$getTitle",value:function(t){var e=ih(t).call(t);return/\s/.test(e)?e.replace(/[^\s]+\s/,""):""}},{key:"$getTargetType",value:function(t){var e=/\s/.test(ih(t).call(t))?ih(t).call(t).replace(/\s.*$/,""):t;switch(ih(e).call(e).toLowerCase()){case"primary":case"p":default:return"primary";case"info":case"i":return"info";case"warning":case"w":return"warning";case"danger":case"d":return"danger";case"success":case"s":return"success";case"right":case"r":return"right";case"center":case"c":return"center";case"left":case"l":return"left"}}},{key:"rule",value:function(){return wd()}}]),n}(FA);function vv(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(bv,"HOOK_NAME","panel");var yv=function(t){Es(n,t);var e=vv(n);function n(){return bo(this,n),e.call(this,{needCache:!0})}return hs(n,[{key:"makeHtml",value:function(t,e){var n=this;return t.replace(this.RULE.reg,(function(t,r,i,a,o){var s,c,l,u=n.getLineCount(t,r),h=n.$engine.md5(t),f=n.$getDetailInfo(i,a,o,e),d=f.type,A=f.html;return eA(t,n.pushCache(Fs(s=Fs(c=Fs(l='<div class="cherry-detail cherry-detail__'.concat(d,'" data-sign="')).call(l,h,'" data-lines="')).call(c,u,'" >')).call(s,A,"</div>"),h,u))}))}},{key:"$getDetailInfo",value:function(t,e,n,r){var i=this,a=/\n\s*(\+\+|\+\+-)\s*[^\n]+\n/.test(n)?"multiple":"single",o=n.split(/\n\s*(\+\+[-]{0,1}\s*[^\n]+)\n/),s="-"===t,c=e,l="";return"multiple"===a?ao(o).call(o,(function(t){if(/\+\+/.test(t))return s=/\+\+-/.test(t),c=t.replace(/\+\+[-]{0,1}\s*([^\n]+)$/,"$1"),!0;l+=i.$getDetailHtml(s,c,t,r)})):l=this.$getDetailHtml(s,c,n,r),{type:a,html:l}}},{key:"$getDetailHtml",value:function(t,e,n,r){var i=this,a="<details ".concat(t?"open":"",">"),o=function(t){var e,n;if(""===ih(t).call(t))return"";var a=r(t).html,o="p";return new RegExp("<(".concat(xA,")[^>]*>"),"i").test(a)&&(o="div"),Fs(e=Fs(n="<".concat(o,">")).call(n,i.$cleanParagraph(a),"</")).call(e,o,">")};a+="<summary>".concat(r(e).html,"</summary>");var s="";return s=this.isContainsCache(n)?this.makeExcludingCached(n,o):o(n),a+='<div class="cherry-detail-body">'.concat(s,"</div>"),a+="</details>"}},{key:"rule",value:function(){return Td()}}]),n}(FA);Ms(yv,"HOOK_NAME","detail");var wv=[Og,Dg,ob,cb,Mb,yb,Tb,pm,Nm,Im,Zm,bb,dm,Fm,Wm,yv,bv,nm,Rb,jm,zg,eb,tm,gg,Ag,bg,xg,Cg,gv,Tg,Ub,jb,dv],Tv=function(){function t(e,n){bo(this,t),this.$cherry=n,mo(this,"_cherry",{get:function(){return Jf.warn("`_engine._cherry` is deprecated. Use `$engine.$cherry` instead."),this.$cherry}}),this.initMath(e),this.$configInit(e),this.hookCenter=new og(wv,e,n),this.hooks=this.hookCenter.getHookList(),this.md5Cache={},this.md5StrMap={},this.markdownParams=e,this.currentStrMd5=[],this.htmlWhiteListAppend=e.engine.global.htmlWhiteList}return hs(t,[{key:"initMath",value:function(t){var e=t.externals,n=t.engine.syntax,r=n.mathBlock.plugins;if(Mm()&&(n.mathBlock.src||n.inlineMath.src)&&!e.MathJax&&!window.MathJax){!function(t){if(Mm()){var e=t?["input/asciimath","[tex]/noerrors","[tex]/cancel","[tex]/color","[tex]/boldsymbol"]:[];window.MathJax={startup:{elements:[".Cherry-Math",".Cherry-InlineMath"],typeset:!0},tex:{inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],tags:"ams",packages:{"[+]":["noerrors","cancel","color"]},macros:{bm:["{\\boldsymbol{#1}}",1]}},options:{skipHtmlTags:["script","noscript","style","textarea","pre","code","a"],ignoreHtmlClass:"tex2jax_ignore",processHtmlClass:"tex2jax_process",enableMenu:!1},loader:{load:e}}}}(r);var i=document.createElement("script");i.src=n.mathBlock.src?n.mathBlock.src:n.inlineMath.src,i.async=!0,i.src&&document.head.appendChild(i)}}},{key:"$configInit",value:function(t){if(t.hooksConfig&&Yp(t.hooksConfig.hooksList,Array))for(var e=0;e<t.hooksConfig.hooksList.length;e++){var n=t.hooksConfig.hooksList[e];try{"sentence"===n.getType()&&Jp(n,qd),"paragraph"===n.getType()&&Jp(n,FA),Zp(n),wv.push(n)}catch(t){throw new Error("the hook does not correctly inherit")}}}},{key:"$beforeMakeHtml",value:function(t){var e=t.replace(/~/g,"~T");return"\n"!==(e=(e=(e=e.replace(/\$/g,"~D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n"))[e.length-1]&&(e+="\n"),e=this.$fireHookAction(e,"sentence","beforeMakeHtml"),e=this.$fireHookAction(e,"paragraph","beforeMakeHtml")}},{key:"$afterMakeHtml",value:function(t){var e=this.$fireHookAction(t,"paragraph","afterMakeHtml");return e=(e=(e=(e=e.replace(/~D/g,"$")).replace(/~T/g,"~")).replace(/\\<\//g,"\\ </")).replace(new RegExp("\\\\(".concat(ld,")"),"g"),(function(t,e){return"&"===e?t:SA(e)})).replace(/\\&(?!(amp|lt|gt|quot|apos);)/,(function(){return"&"})),e=(e=e.replace(/\\ <\//g,"\\</")).replace(/id="safe_(?=.*?")/g,'id="'),e=Kg.restoreAll(e)}},{key:"$dealSentenceByCache",value:function(t){var e=this;return this.$checkCache(t,(function(t){return e.$dealSentence(t)}))}},{key:"$dealSentence",value:function(t){var e;return this.$fireHookAction(t,"sentence","makeHtml",Ps(e=this.$dealSentenceByCache).call(e,this))}},{key:"$fireHookAction",value:function(t,e,n,r){var i=this,a=t,o="afterMakeHtml"===n?"reduceRight":"reduce";if(!this.hooks&&!this.hooks[e]&&!this.hooks[e][o])return a;try{a=this.hooks[e][o]((function(t,e){return e.$engine||(e.$engine=i,mo(e,"_engine",{get:function(){return Jf.warn("`this._engine` is deprecated. Use `this.$engine` instead."),this.$engine}})),e[n]?e[n](t,r,i.markdownParams):t}),a)}catch(t){throw new tg(t)}return a}},{key:"md5",value:function(t){return this.md5StrMap[t]||(this.md5StrMap[t]=Hg(t)),this.md5StrMap[t]}},{key:"$checkCache",value:function(t,e){var n=this.md5(t);return void 0===this.md5Cache[n]&&(this.md5Cache[n]=e(t)),{sign:n,html:this.md5Cache[n]}}},{key:"$dealParagraph",value:function(t){var e;return this.$fireHookAction(t,"paragraph","makeHtml",Ps(e=this.$dealSentenceByCache).call(e,this))}},{key:"makeHtml",value:function(t){var e=this.$beforeMakeHtml(t);return e=this.$dealParagraph(e),e=this.$afterMakeHtml(e)}},{key:"mounted",value:function(){this.$fireHookAction("","sentence","mounted"),this.$fireHookAction("","paragraph","mounted")}},{key:"makeMarkdown",value:function(t){return Nf.run(t)}}]),t}(),kv=Array.isArray,Cv=Object.prototype.toString,Ev=kv||function(t){return"[object Array]"===Cv.call(t)};var xv="2",_v=function(t){return t&&"VirtualNode"===t.type&&t.version===xv};var Bv=function(t){return t&&"Widget"===t.type};var Sv=function(t){return t&&"Thunk"===t.type};var Lv=function(t){return t&&("function"==typeof t.hook&&!t.hasOwnProperty("hook")||"function"==typeof t.unhook&&!t.hasOwnProperty("unhook"))};var Iv=Nv,Mv={},Ov=[];function Nv(t,e,n,r,i){this.tagName=t,this.properties=e||Mv,this.children=n||Ov,this.key=null!=r?String(r):void 0,this.namespace="string"==typeof i?i:null;var a,o=n&&n.length||0,s=0,c=!1,l=!1,u=!1;for(var h in e)if(e.hasOwnProperty(h)){var f=e[h];Lv(f)&&f.unhook&&(a||(a={}),a[h]=f)}for(var d=0;d<o;d++){var A=n[d];_v(A)?(s+=A.count||0,!c&&A.hasWidgets&&(c=!0),!l&&A.hasThunks&&(l=!0),u||!A.hooks&&!A.descendantHooks||(u=!0)):!c&&Bv(A)?"function"==typeof A.destroy&&(c=!0):!l&&Sv(A)&&(l=!0)}this.count=o+s,this.hasWidgets=c,this.hasThunks=l,this.hooks=a,this.descendantHooks=u}Nv.prototype.version=xv,Nv.prototype.type="VirtualNode";var Dv=Fv;function Fv(t){this.text=String(t)}Fv.prototype.version=xv,Fv.prototype.type="VirtualText";var Pv=function(t){return t&&"VirtualText"===t.type&&t.version===xv};var Rv=function(t){var e,n=String.prototype.split,r=/()??/.exec("")[1]===t;return e=function(e,i,a){if("[object RegExp]"!==Object.prototype.toString.call(i))return n.call(e,i,a);var o,s,c,l,u=[],h=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.extended?"x":"")+(i.sticky?"y":""),f=0;i=new RegExp(i.source,h+"g");for(e+="",r||(o=new RegExp("^"+i.source+"$(?!\\s)",h)),a=a===t?-1>>>0:a>>>0;(s=i.exec(e))&&!((c=s.index+s[0].length)>f&&(u.push(e.slice(f,s.index)),!r&&s.length>1&&s[0].replace(o,(function(){for(var e=1;e<arguments.length-2;e++)arguments[e]===t&&(s[e]=t)})),s.length>1&&s.index<e.length&&Array.prototype.push.apply(u,s.slice(1)),l=s[0].length,f=c,u.length>=a));)i.lastIndex===s.index&&i.lastIndex++;return f===e.length?!l&&i.test("")||u.push(""):u.push(e.slice(f)),u.length>a?u.slice(0,a):u},e}(),Qv=/([\.#]?[a-zA-Z0-9\u007F-\uFFFF_:-]+)/,Uv=/^\.|#/,Hv=function(t,e){if(!t)return"DIV";var n,r,i,a,o=!e.hasOwnProperty("id"),s=Rv(t,Qv),c=null;Uv.test(s[1])&&(c="DIV");for(a=0;a<s.length;a++)(r=s[a])&&(i=r.charAt(0),c?"."===i?(n=n||[]).push(r.substring(1,r.length)):"#"===i&&o&&(e.id=r.substring(1,r.length)):c=r);n&&(e.className&&n.push(e.className),e.className=n.join(" "));return e.namespace?c:c.toUpperCase()};var jv=$v;function $v(t){if(!(this instanceof $v))return new $v(t);this.value=t}$v.prototype.hook=function(t,e){t[e]!==this.value&&(t[e]=this.value)};var Kv="undefined"!=typeof window?window:void 0!==e?e:{},Gv=function(t,e){if(t in Kv)return Kv[t];return Kv[t]=e,e};var zv=function(t,e,n){var r="__INDIVIDUAL_ONE_VERSION_"+t,i=Gv(r+"_ENFORCE_SINGLETON",e);if(i!==e)throw new Error("Can only have one copy of "+t+".\nYou already have version "+i+" installed.\nThis means you cannot install version "+e);return Gv(r,n)};zv("ev-store","7");var Xv="__EV_STORE_KEY@7",qv=function(t){var e=t[Xv];e||(e=t[Xv]={});return e};var Vv=Wv;function Wv(t){if(!(this instanceof Wv))return new Wv(t);this.value=t}Wv.prototype.hook=function(t,e){qv(t)[e.substr(3)]=this.value},Wv.prototype.unhook=function(t,e){qv(t)[e.substr(3)]=void 0};var Yv=function(t,e,n){var r,i,a,o,s=[];!n&&function(t){return"string"==typeof t||Ev(t)||Zv(t)}(e)&&(n=e,i={});r=Hv(t,i=i||e||{}),i.hasOwnProperty("key")&&(a=i.key,i.key=void 0);i.hasOwnProperty("namespace")&&(o=i.namespace,i.namespace=void 0);"INPUT"!==r||o||!i.hasOwnProperty("value")||void 0===i.value||Lv(i.value)||(i.value=jv(i.value));(function(t){for(var e in t)if(t.hasOwnProperty(e)){var n=t[e];if(Lv(n))continue;"ev-"===e.substr(0,3)&&(t[e]=Vv(n))}})(i),null!=n&&Jv(n,s,r,i);return new Iv(r,i,s,a,o)};function Jv(t,e,n,r){if("string"==typeof t)e.push(new Dv(t));else if("number"==typeof t)e.push(new Dv(String(t)));else if(Zv(t))e.push(t);else{if(!Ev(t)){if(null==t)return;throw function(t){var e=new Error;return e.type="virtual-hyperscript.unexpected.virtual-element",e.message="Unexpected virtual child passed to h().\nExpected a VNode / Vthunk / VWidget / string but:\ngot:\n"+ty(t.foreignObject)+".\nThe parent vnode is:\n"+ty(t.parentVnode),e.foreignObject=t.foreignObject,e.parentVnode=t.parentVnode,e}({foreignObject:t,parentVnode:{tagName:n,properties:r}})}for(var i=0;i<t.length;i++)Jv(t[i],e,n,r)}}function Zv(t){return _v(t)||Pv(t)||Bv(t)||Sv(t)}function ty(t){try{return JSON.stringify(t,null," ")}catch(e){return String(t)}}var ey=Yv;ry.NONE=0,ry.VTEXT=1,ry.VNODE=2,ry.WIDGET=3,ry.PROPS=4,ry.ORDER=5,ry.INSERT=6,ry.REMOVE=7,ry.THUNK=8;var ny=ry;function ry(t,e,n){this.type=Number(t),this.vNode=e,this.patch=n}ry.prototype.version=xv,ry.prototype.type="VirtualPatch";var iy=function(t,e){var n=t,r=e;Sv(e)&&(r=ay(e,t));Sv(t)&&(n=ay(t,null));return{a:n,b:r}};function ay(t,e){var n=t.vnode;if(n||(n=t.vnode=t.render(e)),!(_v(n)||Pv(n)||Bv(n)))throw new Error("thunk did not return a valid node");return n}var oy=function(t){return"object"==typeof t&&null!==t},sy=function t(e,n){var r;for(var i in e){i in n||((r=r||{})[i]=void 0);var a=e[i],o=n[i];if(a!==o)if(oy(a)&&oy(o))if(cy(o)!==cy(a))(r=r||{})[i]=o;else if(Lv(o))(r=r||{})[i]=o;else{var s=t(a,o);s&&((r=r||{})[i]=s)}else(r=r||{})[i]=o}for(var c in n)c in e||((r=r||{})[c]=n[c]);return r};function cy(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__?t.__proto__:t.constructor?t.constructor.prototype:void 0}function ly(t,e){var n={a:t};return uy(t,e,n,0),n}function uy(t,e,n,r){if(t!==e){var i=n[r],a=!1;if(Sv(t)||Sv(e))dy(t,e,n,r);else if(null==e)Bv(t)||(hy(t,n,r),i=n[r]),i=my(i,new ny(ny.REMOVE,t,e));else if(_v(e))if(_v(t))if(t.tagName===e.tagName&&t.namespace===e.namespace&&t.key===e.key){var o=sy(t.properties,e.properties);o&&(i=my(i,new ny(ny.PROPS,t,o))),i=function(t,e,n,r,i){for(var a=t.children,o=function(t,e){var n=gy(e),r=n.keys,i=n.free;if(i.length===e.length)return{children:e,moves:null};var a=gy(t),o=a.keys;if(a.free.length===t.length)return{children:e,moves:null};for(var s=[],c=0,l=i.length,u=0,h=0;h<t.length;h++){var f,d=t[h];d.key?r.hasOwnProperty(d.key)?(f=r[d.key],s.push(e[f])):(f=h-u++,s.push(null)):c<l?(f=i[c++],s.push(e[f])):(f=h-u++,s.push(null))}for(var A=c>=i.length?e.length:i[c],p=0;p<e.length;p++){var g=e[p];g.key?o.hasOwnProperty(g.key)||s.push(g):p>=A&&s.push(g)}for(var m,b=s.slice(),v=0,y=[],w=[],T=0;T<e.length;){var k=e[T];for(m=b[v];null===m&&b.length;)y.push(py(b,v,null)),m=b[v];m&&m.key===k.key?(v++,T++):k.key?(m&&m.key&&r[m.key]!==T+1?(y.push(py(b,v,m.key)),(m=b[v])&&m.key===k.key?v++:w.push({key:k.key,to:T})):w.push({key:k.key,to:T}),T++):m&&m.key&&y.push(py(b,v,m.key))}for(;v<b.length;)m=b[v],y.push(py(b,v,m&&m.key));if(y.length===u&&!w.length)return{children:s,moves:null};return{children:s,moves:{removes:y,inserts:w}}}(a,e.children),s=o.children,c=a.length,l=s.length,u=c>l?c:l,h=0;h<u;h++){var f=a[h],d=s[h];i+=1,f?uy(f,d,n,i):d&&(r=my(r,new ny(ny.INSERT,null,d))),_v(f)&&f.count&&(i+=f.count)}o.moves&&(r=my(r,new ny(ny.ORDER,t,o.moves)));return r}(t,e,n,i,r)}else i=my(i,new ny(ny.VNODE,t,e)),a=!0;else i=my(i,new ny(ny.VNODE,t,e)),a=!0;else Pv(e)?Pv(t)?t.text!==e.text&&(i=my(i,new ny(ny.VTEXT,t,e))):(i=my(i,new ny(ny.VTEXT,t,e)),a=!0):Bv(e)&&(Bv(t)||(a=!0),i=my(i,new ny(ny.WIDGET,t,e)));i&&(n[r]=i),a&&hy(t,n,r)}}function hy(t,e,n){Ay(t,e,n),fy(t,e,n)}function fy(t,e,n){if(Bv(t))"function"==typeof t.destroy&&(e[n]=my(e[n],new ny(ny.REMOVE,t,null)));else if(_v(t)&&(t.hasWidgets||t.hasThunks))for(var r=t.children,i=r.length,a=0;a<i;a++){var o=r[a];fy(o,e,n+=1),_v(o)&&o.count&&(n+=o.count)}else Sv(t)&&dy(t,null,e,n)}function dy(t,e,n,r){var i=iy(t,e),a=ly(i.a,i.b);(function(t){for(var e in t)if("a"!==e)return!0;return!1})(a)&&(n[r]=new ny(ny.THUNK,null,a))}function Ay(t,e,n){if(_v(t)){if(t.hooks&&(e[n]=my(e[n],new ny(ny.PROPS,t,function(t){var e={};for(var n in t)e[n]=void 0;return e}(t.hooks)))),t.descendantHooks||t.hasThunks)for(var r=t.children,i=r.length,a=0;a<i;a++){var o=r[a];Ay(o,e,n+=1),_v(o)&&o.count&&(n+=o.count)}}else Sv(t)&&dy(t,null,e,n)}function py(t,e,n){return t.splice(e,1),{from:e,key:n}}function gy(t){for(var e={},n=[],r=t.length,i=0;i<r;i++){var a=t[i];a.key?e[a.key]=i:n.push(i)}return{keys:e,free:n}}function my(t,e){return t?(Ev(t)?t.push(e):t=[t,e],t):e}var by,vy=ly,yy=i(Object.freeze({__proto__:null,default:{}})),wy=void 0!==e?e:"undefined"!=typeof window?window:{};"undefined"!=typeof document?by=document:(by=wy["__GLOBAL_DOCUMENT_CACHE@4"])||(by=wy["__GLOBAL_DOCUMENT_CACHE@4"]=yy);var Ty=by,ky=function(t,e,n){for(var r in e){var i=e[r];void 0===i?Cy(t,r,i,n):Lv(i)?(Cy(t,r,i,n),i.hook&&i.hook(t,r,n?n[r]:void 0)):oy(i)?Ey(t,e,n,r,i):t[r]=i}};function Cy(t,e,n,r){if(r){var i=r[e];if(Lv(i))i.unhook&&i.unhook(t,e,n);else if("attributes"===e)for(var a in i)t.removeAttribute(a);else if("style"===e)for(var o in i)t.style[o]="";else t[e]="string"==typeof i?"":null}}function Ey(t,e,n,r,i){var a=n?n[r]:void 0;if("attributes"!==r)if(a&&oy(a)&&xy(a)!==xy(i))t[r]=i;else{oy(t[r])||(t[r]={});var o="style"===r?"":void 0;for(var s in i){var c=i[s];t[r][s]=void 0===c?o:c}}else for(var l in i){var u=i[l];void 0===u?t.removeAttribute(l):t.setAttribute(l,u)}}function xy(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__?t.__proto__:t.constructor?t.constructor.prototype:void 0}var _y=function t(e,n){var r=n&&n.document||Ty,i=n?n.warn:null;if(e=iy(e).a,Bv(e))return e.init();if(Pv(e))return r.createTextNode(e.text);if(!_v(e))return i&&i("Item is not a valid virtual dom node",e),null;var a=null===e.namespace?r.createElement(e.tagName):r.createElementNS(e.namespace,e.tagName),o=e.properties;ky(a,o);for(var s=e.children,c=0;c<s.length;c++){var l=t(s[c],n);l&&a.appendChild(l)}return a};var By={},Sy=function(t,e,n,r){return n&&0!==n.length?(n.sort(My),Ly(t,e,n,r,0)):{}};function Ly(t,e,n,r,i){if(r=r||{},t){Iy(n,i,i)&&(r[i]=t);var a=e.children;if(a)for(var o=t.childNodes,s=0;s<e.children.length;s++){i+=1;var c=a[s]||By,l=i+(c.count||0);Iy(n,i,l)&&Ly(o[s],c,n,r,i),i=l}}return r}function Iy(t,e,n){if(0===t.length)return!1;for(var r,i,a=0,o=t.length-1;a<=o;){if(i=t[r=(o+a)/2>>0],a===o)return i>=e&&i<=n;if(i<e)a=r+1;else{if(!(i>n))return!0;o=r-1}}return!1}function My(t,e){return t>e?1:-1}var Oy=function(t,e){if(Bv(t)&&Bv(e))return"name"in t&&"name"in e?t.id===e.id:t.init===e.init;return!1};var Ny=function(t,e,n){var r=t.type,i=t.vNode,a=t.patch;switch(r){case ny.REMOVE:return function(t,e){var n=t.parentNode;n&&n.removeChild(t);return Dy(t,e),null}(e,i);case ny.INSERT:return function(t,e,n){var r=n.render(e,n);t&&t.appendChild(r);return t}(e,a,n);case ny.VTEXT:return function(t,e,n,r){var i;if(3===t.nodeType)t.replaceData(0,t.length,n.text),i=t;else{var a=t.parentNode;i=r.render(n,r),a&&i!==t&&a.replaceChild(i,t)}return i}(e,0,a,n);case ny.WIDGET:return function(t,e,n,r){var i,a=Oy(e,n);i=a?n.update(e,t)||t:r.render(n,r);var o=t.parentNode;o&&i!==t&&o.replaceChild(i,t);a||Dy(t,e);return i}(e,i,a,n);case ny.VNODE:return function(t,e,n,r){var i=t.parentNode,a=r.render(n,r);i&&a!==t&&i.replaceChild(a,t);return a}(e,0,a,n);case ny.ORDER:return function(t,e){for(var n,r,i,a=t.childNodes,o={},s=0;s<e.removes.length;s++)n=a[(r=e.removes[s]).from],r.key&&(o[r.key]=n),t.removeChild(n);for(var c=a.length,l=0;l<e.inserts.length;l++)n=o[(i=e.inserts[l]).key],t.insertBefore(n,i.to>=c++?null:a[i.to])}(e,a),e;case ny.PROPS:return ky(e,a,i.properties),e;case ny.THUNK:return function(t,e){t&&e&&t!==e&&t.parentNode&&t.parentNode.replaceChild(e,t);return e}(e,n.patch(e,a,n));default:return e}};function Dy(t,e){"function"==typeof e.destroy&&Bv(e)&&e.destroy(t)}var Fy=function t(e,n,r){return(r=r||{}).patch=r.patch&&r.patch!==t?r.patch:Py,r.render=r.render||_y,r.patch(e,n,r)};function Py(t,e,n){var r=function(t){var e=[];for(var n in t)"a"!==n&&e.push(Number(n));return e}(e);if(0===r.length)return t;var i=Sy(t,e.a,r),a=t.ownerDocument;n.document||a===Ty||(n.document=a);for(var o=0;o<r.length;o++){var s=r[o];t=Ry(t,i[s],e[s],n)}return t}function Ry(t,e,n,r){if(!e)return t;var i;if(Ev(n))for(var a=0;a<n.length;a++)i=Ny(n[a],e,r),e===t&&(t=i);else i=Ny(n,e,r),e===t&&(t=i);return t}var Qy=Fy,Uy=function(){function t(e,n,r){bo(this,t),this.options={newObj:e,oldObj:n,getElement:r}}return hs(t,[{key:"doDiff",value:function(){var t=this.findSnakes(this.options.newObj,this.options.oldObj);return this.assembleResult(t,this.options.newObj,this.options.oldObj)}},{key:"getElement",value:function(t,e){return"function"==typeof this.options.getElement?this.options.getElement(t,e):t[e]}},{key:"findSnakes",value:function(t,e){for(var n=t.length||0,r=e.length||0,i=n+r,a={1:0},o={0:{1:0}},s=0;s<=i;s++){for(var c={},l=-s;l<=s;l+=2){for(var u=l===-s||l!==s&&a[l-1]<a[l+1],h=a[u?l+1:l-1],f=u?h:h+1,d=f,A=f-l;d<r&&A<n&&this.getElement(e,d)===this.getElement(t,A);)d+=1,A+=1;if(a[l]=d,c[l]=d,d>=r&&A>=n)return o[s]=c,this.$backtraceSnakes(o,n,r,s)}o[s]=c}return[]}},{key:"$backtraceSnakes",value:function(t,e,n,r){for(var i=[],a={x:n,y:e},o=r;o>0;o--){var s=t[o],c=t[o-1],l=a.x-a.y,u=s[l],h=l===-o||l!==o&&c[l+1]>c[l-1],f=h?l+1:l-1,d=c[f],A=d-f,p=h?d:d+1;i.unshift({xStart:d,xMid:p,xEnd:u}),a.x=d,a.y=A}return i}},{key:"assembleResult",value:function(t,e,n){var r,i=this,a="color: gray",o="",s=[],c=0,l=[],u={},h={},f={};return ao(t).call(t,(function(t,r){var d=t.xStart;if(0===r&&0!==t.xStart)for(var A=0;A<t.xStart;A++)o+="%c".concat(i.getElement(n,A),", "),s.push(a),c+=1;t.xMid-t.xStart==1?(u={type:"delete",oldIndex:t.xStart,newIndex:0},"delete"===h.type&&h.oldIndex===u.oldIndex-1&&(f=f?h:f),l.push(u),h=u,o+="%c".concat(i.getElement(n,t.xStart),", "),s.push("color: red"),d=t.xMid):(u={type:"insert",oldIndex:t.xStart,newIndex:c},"delete"===h.type&&h.oldIndex===u.oldIndex-1?(l.pop(),u={type:"update",oldIndex:(f=f?h:f).oldIndex,newIndex:c},s.push("color: blue")):s.push("color: green"),f={},l.push(u),h=u,o+="%c".concat(i.getElement(e,c),", "),c+=1);for(var p=0;p<t.xEnd-d;p++)o+="%c".concat(i.getElement(n,d+p),", "),s.push(a),c+=1})),Jf.log.apply(Jf,Fs(r=[o]).call(r,s)),l}}]),t}(),Hy=jt("iterator"),jy=!h((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),n.delete("a",2),n.delete("b",void 0),!t.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b")||!e.size&&kt||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Hy]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),$y=Math.floor,Ky=function(t,e){var n=t.length,r=$y(n/2);return n<8?Gy(t,e):zy(t,Ky(dr(t,0,r),e),Ky(dr(t,r),e),e)},Gy=function(t,e){for(var n,r,i=t.length,a=1;a<i;){for(r=a,n=t[a];r&&e(t[r-1],n)>0;)t[r]=t[--r];r!==a++&&(t[r]=n)}return t},zy=function(t,e,n,r){for(var i=e.length,a=n.length,o=0,s=0;o<i||s<a;)t[o+s]=o<i&&s<a?r(e[o],n[s])<=0?e[o++]:n[s++]:o<i?e[o++]:n[s++];return t},Xy=jy,qy=Ky,Vy=jt("iterator"),Wy="URLSearchParams",Yy=Wy+"Iterator",Jy=Xr.set,Zy=Xr.getterFor(Wy),tw=Xr.getterFor(Yy),ew=Object.getOwnPropertyDescriptor,nw=function(t){if(!qt)return q[t];var e=ew(q,t);return e&&e.value},rw=nw("fetch"),iw=nw("Request"),aw=nw("Headers"),ow=iw&&iw.prototype,sw=aw&&aw.prototype,cw=q.RegExp,lw=q.TypeError,uw=q.decodeURIComponent,hw=q.encodeURIComponent,fw=T("".charAt),dw=T([].join),Aw=T([].push),pw=T("".replace),gw=T([].shift),mw=T([].splice),bw=T("".split),vw=T("".slice),yw=/\+/g,ww=Array(4),Tw=function(t){return ww[t-1]||(ww[t-1]=cw("((?:%[\\da-f]{2}){"+t+"})","gi"))},kw=function(t){try{return uw(t)}catch(e){return t}},Cw=function(t){var e=pw(t,yw," "),n=4;try{return uw(e)}catch(t){for(;n;)e=pw(e,Tw(n--),kw);return e}},Ew=/[!'()~]|%20/g,xw={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},_w=function(t){return xw[t]},Bw=function(t){return pw(hw(t),Ew,_w)},Sw=Ma((function(t,e){Jy(this,{type:Yy,iterator:dh(Zy(t).entries),kind:e})}),"Iterator",(function(){var t=tw(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n}),!0),Lw=function(t){this.entries=[],this.url=null,void 0!==t&&(mt(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===fw(t,0)?vw(t,1):t:Ur(t)))};Lw.prototype={type:Wy,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,r,i,a,o,s,c=lh(t);if(c)for(n=(e=dh(t,c)).next;!(r=gt(n,e)).done;){if(a=(i=dh(me(r.value))).next,(o=gt(a,i)).done||(s=gt(a,i)).done||!gt(a,i).done)throw lw("Expected sequence with length 2");Aw(this.entries,{key:Ur(o.value),value:Ur(s.value)})}else for(var l in t)Nt(t,l)&&Aw(this.entries,{key:l,value:Ur(t[l])})},parseQuery:function(t){if(t)for(var e,n,r=bw(t,"&"),i=0;i<r.length;)(e=r[i++]).length&&(n=bw(e,"="),Aw(this.entries,{key:Cw(gw(n)),value:Cw(dw(n,"="))}))},serialize:function(){for(var t,e=this.entries,n=[],r=0;r<e.length;)t=e[r++],Aw(n,Bw(t.key)+"="+Bw(t.value));return dw(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Iw=function(){WA(this,Mw);var t=Jy(this,new Lw(arguments.length>0?arguments[0]:void 0));qt||(this.size=t.entries.length)},Mw=Iw.prototype;if(np(Mw,{append:function(t,e){var n=Zy(this);Hs(arguments.length,2),Aw(n.entries,{key:Ur(t),value:Ur(e)}),qt||this.length++,n.updateURL()},delete:function(t){for(var e=Zy(this),n=Hs(arguments.length,1),r=e.entries,i=Ur(t),a=n<2?void 0:arguments[1],o=void 0===a?a:Ur(a),s=0;s<r.length;){var c=r[s];if(c.key!==i||void 0!==o&&c.value!==o)s++;else if(mw(r,s,1),void 0!==o)break}qt||(this.size=r.length),e.updateURL()},get:function(t){var e=Zy(this).entries;Hs(arguments.length,1);for(var n=Ur(t),r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){var e=Zy(this).entries;Hs(arguments.length,1);for(var n=Ur(t),r=[],i=0;i<e.length;i++)e[i].key===n&&Aw(r,e[i].value);return r},has:function(t){for(var e=Zy(this).entries,n=Hs(arguments.length,1),r=Ur(t),i=n<2?void 0:arguments[1],a=void 0===i?i:Ur(i),o=0;o<e.length;){var s=e[o++];if(s.key===r&&(void 0===a||s.value===a))return!0}return!1},set:function(t,e){var n=Zy(this);Hs(arguments.length,1);for(var r,i=n.entries,a=!1,o=Ur(t),s=Ur(e),c=0;c<i.length;c++)(r=i[c]).key===o&&(a?mw(i,c--,1):(a=!0,r.value=s));a||Aw(i,{key:o,value:s}),qt||(this.size=i.length),n.updateURL()},sort:function(){var t=Zy(this);qy(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,n=Zy(this).entries,r=Se(t,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((e=n[i++]).value,e.key,this)},keys:function(){return new Sw(this,"keys")},values:function(){return new Sw(this,"values")},entries:function(){return new Sw(this,"entries")}},{enumerable:!0}),yr(Mw,Vy,Mw.entries,{name:"entries"}),yr(Mw,"toString",(function(){return Zy(this).serialize()}),{enumerable:!0}),qt&&$r(Mw,"size",{get:function(){return Zy(this).entries.length},configurable:!0,enumerable:!0}),zr(Iw,Wy),jn({global:!0,constructor:!0,forced:!Xy},{URLSearchParams:Iw}),!Xy&&K(aw)){var Ow=T(sw.has),Nw=T(sw.set),Dw=function(t){if(mt(t)){var e,n=t.body;if(Xe(n)===Wy)return e=t.headers?new aw(t.headers):new aw,Ow(e,"content-type")||Nw(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Gn(t,{body:Jt(0,Ur(n)),headers:Jt(0,e)})}return t};if(K(rw)&&jn({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return rw(t,arguments.length>1?Dw(arguments[1]):{})}}),K(iw)){var Fw=function(t){return WA(this,ow),new iw(t,arguments.length>1?Dw(arguments[1]):{})};ow.constructor=Fw,Fw.prototype=ow,jn({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Fw})}}var Pw,Rw={URLSearchParams:Iw,getState:Zy},Qw=2147483647,Uw=/[^\0-\u007E]/,Hw=/[.\u3002\uFF0E\uFF61]/g,jw="Overflow: input needs wider integers to process",$w=RangeError,Kw=T(Hw.exec),Gw=Math.floor,zw=String.fromCharCode,Xw=T("".charCodeAt),qw=T([].join),Vw=T([].push),Ww=T("".replace),Yw=T("".split),Jw=T("".toLowerCase),Zw=function(t){return t+22+75*(t<26)},tT=function(t,e,n){var r=0;for(t=n?Gw(t/700):t>>1,t+=Gw(t/e);t>455;)t=Gw(t/35),r+=36;return Gw(r+36*t/(t+38))},eT=function(t){var e=[];t=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=Xw(t,n++);if(i>=55296&&i<=56319&&n<r){var a=Xw(t,n++);56320==(64512&a)?Vw(e,((1023&i)<<10)+(1023&a)+65536):(Vw(e,i),n--)}else Vw(e,i)}return e}(t);var n,r,i=t.length,a=128,o=0,s=72;for(n=0;n<t.length;n++)(r=t[n])<128&&Vw(e,zw(r));var c=e.length,l=c;for(c&&Vw(e,"-");l<i;){var u=Qw;for(n=0;n<t.length;n++)(r=t[n])>=a&&r<u&&(u=r);var h=l+1;if(u-a>Gw((Qw-o)/h))throw $w(jw);for(o+=(u-a)*h,a=u,n=0;n<t.length;n++){if((r=t[n])<a&&++o>Qw)throw $w(jw);if(r===a){for(var f=o,d=36;;){var A=d<=s?1:d>=s+26?26:d-s;if(f<A)break;var p=f-A,g=36-A;Vw(e,zw(Zw(A+p%g))),f=Gw(p/g),d+=36}Vw(e,zw(Zw(f))),s=tT(o,h,l===c),o=0,l++}}o++,a++}return qw(e,"")},nT=function(t){var e,n,r=[],i=Yw(Ww(Jw(t),Hw,"."),".");for(e=0;e<i.length;e++)n=i[e],Vw(r,Kw(Uw,n)?"xn--"+eT(n):n);return qw(r,".")},rT=Zo.codeAt,iT=Xr.set,aT=Xr.getterFor("URL"),oT=Rw.URLSearchParams,sT=Rw.getState,cT=q.URL,lT=q.TypeError,uT=q.parseInt,hT=Math.floor,fT=Math.pow,dT=T("".charAt),AT=T(/./.exec),pT=T([].join),gT=T(1..toString),mT=T([].pop),bT=T([].push),vT=T("".replace),yT=T([].shift),wT=T("".split),TT=T("".slice),kT=T("".toLowerCase),CT=T([].unshift),ET="Invalid scheme",xT="Invalid host",_T="Invalid port",BT=/[a-z]/i,ST=/[\d+-.a-z]/i,LT=/\d/,IT=/^0x/i,MT=/^[0-7]+$/,OT=/^\d+$/,NT=/^[\da-f]+$/i,DT=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FT=/[\0\t\n\r #/:<>?@[\\\]^|]/,PT=/^[\u0000-\u0020]+/,RT=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,QT=/[\t\n\r]/g,UT=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)CT(e,t%256),t=hT(t/256);return pT(e,".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,a=0;a<8;a++)0!==t[a]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=gT(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},HT={},jT=$u({},HT,{" ":1,'"':1,"<":1,">":1,"`":1}),$T=$u({},jT,{"#":1,"?":1,"{":1,"}":1}),KT=$u({},$T,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),GT=function(t,e){var n=rT(t,0);return n>32&&n<127&&!Nt(e,t)?t:encodeURIComponent(t)},zT={ftp:21,file:null,http:80,https:443,ws:80,wss:443},XT=function(t,e){var n;return 2===t.length&&AT(BT,dT(t,0))&&(":"===(n=dT(t,1))||!e&&"|"===n)},qT=function(t){var e;return t.length>1&&XT(TT(t,0,2))&&(2===t.length||"/"===(e=dT(t,2))||"\\"===e||"?"===e||"#"===e)},VT=function(t){return"."===t||"%2e"===kT(t)},WT={},YT={},JT={},ZT={},tk={},ek={},nk={},rk={},ik={},ak={},ok={},sk={},ck={},lk={},uk={},hk={},fk={},dk={},Ak={},pk={},gk={},mk=function(t,e,n){var r,i,a,o=Ur(t);if(e){if(i=this.parse(o))throw lT(i);this.searchParams=null}else{if(void 0!==n&&(r=new mk(n,!0)),i=this.parse(o,null,r))throw lT(i);(a=sT(new oT)).bindURL(this),this.searchParams=a}};mk.prototype={type:"URL",parse:function(t,e,n){var r,i,a,o,s,c=this,l=e||WT,u=0,h="",f=!1,d=!1,A=!1;for(t=Ur(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=vT(t,PT,""),t=vT(t,RT,"$1")),t=vT(t,QT,""),r=vh(t);u<=r.length;){switch(i=r[u],l){case WT:if(!i||!AT(BT,i)){if(e)return ET;l=JT;continue}h+=kT(i),l=YT;break;case YT:if(i&&(AT(ST,i)||"+"===i||"-"===i||"."===i))h+=kT(i);else{if(":"!==i){if(e)return ET;h="",l=JT,u=0;continue}if(e&&(c.isSpecial()!==Nt(zT,h)||"file"===h&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=h,e)return void(c.isSpecial()&&zT[c.scheme]===c.port&&(c.port=null));h="","file"===c.scheme?l=lk:c.isSpecial()&&n&&n.scheme===c.scheme?l=ZT:c.isSpecial()?l=rk:"/"===r[u+1]?(l=tk,u++):(c.cannotBeABaseURL=!0,bT(c.path,""),l=Ak)}break;case JT:if(!n||n.cannotBeABaseURL&&"#"!==i)return ET;if(n.cannotBeABaseURL&&"#"===i){c.scheme=n.scheme,c.path=dr(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=gk;break}l="file"===n.scheme?lk:ek;continue;case ZT:if("/"!==i||"/"!==r[u+1]){l=ek;continue}l=ik,u++;break;case tk:if("/"===i){l=ak;break}l=dk;continue;case ek:if(c.scheme=n.scheme,i===Pw)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=dr(n.path),c.query=n.query;else if("/"===i||"\\"===i&&c.isSpecial())l=nk;else if("?"===i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=dr(n.path),c.query="",l=pk;else{if("#"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=dr(n.path),c.path.length--,l=dk;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=dr(n.path),c.query=n.query,c.fragment="",l=gk}break;case nk:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=dk;continue}l=ak}else l=ik;break;case rk:if(l=ik,"/"!==i||"/"!==dT(h,u+1))continue;u++;break;case ik:if("/"!==i&&"\\"!==i){l=ak;continue}break;case ak:if("@"===i){f&&(h="%40"+h),f=!0,a=vh(h);for(var p=0;p<a.length;p++){var g=a[p];if(":"!==g||A){var m=GT(g,KT);A?c.password+=m:c.username+=m}else A=!0}h=""}else if(i===Pw||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(f&&""===h)return"Invalid authority";u-=vh(h).length+1,h="",l=ok}else h+=i;break;case ok:case sk:if(e&&"file"===c.scheme){l=hk;continue}if(":"!==i||d){if(i===Pw||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===h)return xT;if(e&&""===h&&(c.includesCredentials()||null!==c.port))return;if(o=c.parseHost(h))return o;if(h="",l=fk,e)return;continue}"["===i?d=!0:"]"===i&&(d=!1),h+=i}else{if(""===h)return xT;if(o=c.parseHost(h))return o;if(h="",l=ck,e===sk)return}break;case ck:if(!AT(LT,i)){if(i===Pw||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()||e){if(""!==h){var b=uT(h,10);if(b>65535)return _T;c.port=c.isSpecial()&&b===zT[c.scheme]?null:b,h=""}if(e)return;l=fk;continue}return _T}h+=i;break;case lk:if(c.scheme="file","/"===i||"\\"===i)l=uk;else{if(!n||"file"!==n.scheme){l=dk;continue}switch(i){case Pw:c.host=n.host,c.path=dr(n.path),c.query=n.query;break;case"?":c.host=n.host,c.path=dr(n.path),c.query="",l=pk;break;case"#":c.host=n.host,c.path=dr(n.path),c.query=n.query,c.fragment="",l=gk;break;default:qT(pT(dr(r,u),""))||(c.host=n.host,c.path=dr(n.path),c.shortenPath()),l=dk;continue}}break;case uk:if("/"===i||"\\"===i){l=hk;break}n&&"file"===n.scheme&&!qT(pT(dr(r,u),""))&&(XT(n.path[0],!0)?bT(c.path,n.path[0]):c.host=n.host),l=dk;continue;case hk:if(i===Pw||"/"===i||"\\"===i||"?"===i||"#"===i){if(!e&&XT(h))l=dk;else if(""===h){if(c.host="",e)return;l=fk}else{if(o=c.parseHost(h))return o;if("localhost"===c.host&&(c.host=""),e)return;h="",l=fk}continue}h+=i;break;case fk:if(c.isSpecial()){if(l=dk,"/"!==i&&"\\"!==i)continue}else if(e||"?"!==i)if(e||"#"!==i){if(i!==Pw&&(l=dk,"/"!==i))continue}else c.fragment="",l=gk;else c.query="",l=pk;break;case dk:if(i===Pw||"/"===i||"\\"===i&&c.isSpecial()||!e&&("?"===i||"#"===i)){if(".."===(s=kT(s=h))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||bT(c.path,"")):VT(h)?"/"===i||"\\"===i&&c.isSpecial()||bT(c.path,""):("file"===c.scheme&&!c.path.length&&XT(h)&&(c.host&&(c.host=""),h=dT(h,0)+":"),bT(c.path,h)),h="","file"===c.scheme&&(i===Pw||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)yT(c.path);"?"===i?(c.query="",l=pk):"#"===i&&(c.fragment="",l=gk)}else h+=GT(i,$T);break;case Ak:"?"===i?(c.query="",l=pk):"#"===i?(c.fragment="",l=gk):i!==Pw&&(c.path[0]+=GT(i,HT));break;case pk:e||"#"!==i?i!==Pw&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":GT(i,HT)):(c.fragment="",l=gk);break;case gk:i!==Pw&&(c.fragment+=GT(i,jT))}u++}},parseHost:function(t){var e,n,r;if("["===dT(t,0)){if("]"!==dT(t,t.length-1))return xT;if(e=function(t){var e,n,r,i,a,o,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,h=0,f=function(){return dT(t,h)};if(":"===f()){if(":"!==dT(t,1))return;h+=2,u=++l}for(;f();){if(8===l)return;if(":"!==f()){for(e=n=0;n<4&&AT(NT,f());)e=16*e+uT(f(),16),h++,n++;if("."===f()){if(0===n)return;if(h-=n,l>6)return;for(r=0;f();){if(i=null,r>0){if(!("."===f()&&r<4))return;h++}if(!AT(LT,f()))return;for(;AT(LT,f());){if(a=uT(f(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;h++}c[l]=256*c[l]+i,2!=++r&&4!==r||l++}if(4!==r)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;c[l++]=e}else{if(null!==u)return;h++,u=++l}}if(null!==u)for(o=l-u,l=7;0!==l&&o>0;)s=c[l],c[l--]=c[u+o-1],c[u+--o]=s;else if(8!==l)return;return c}(TT(t,1,-1)),!e)return xT;this.host=e}else if(this.isSpecial()){if(t=nT(t),AT(DT,t))return xT;if(e=function(t){var e,n,r,i,a,o,s,c=wT(t,".");if(c.length&&""===c[c.length-1]&&c.length--,(e=c.length)>4)return t;for(n=[],r=0;r<e;r++){if(""===(i=c[r]))return t;if(a=10,i.length>1&&"0"===dT(i,0)&&(a=AT(IT,i)?16:8,i=TT(i,8===a?1:2)),""===i)o=0;else{if(!AT(10===a?OT:8===a?MT:NT,i))return t;o=uT(i,a)}bT(n,o)}for(r=0;r<e;r++)if(o=n[r],r===e-1){if(o>=fT(256,5-e))return null}else if(o>255)return null;for(s=mT(n),r=0;r<n.length;r++)s+=n[r]*fT(256,3-r);return s}(t),null===e)return xT;this.host=e}else{if(AT(FT,t))return xT;for(e="",n=vh(t),r=0;r<n.length;r++)e+=GT(n[r],HT);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return Nt(zT,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&XT(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,n=t.username,r=t.password,i=t.host,a=t.port,o=t.path,s=t.query,c=t.fragment,l=e+":";return null!==i?(l+="//",t.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=UT(i),null!==a&&(l+=":"+a)):"file"===e&&(l+="//"),l+=t.cannotBeABaseURL?o[0]:o.length?"/"+pT(o,"/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},setHref:function(t){var e=this.parse(t);if(e)throw lT(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new bk(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+UT(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(Ur(t)+":",WT)},getUsername:function(){return this.username},setUsername:function(t){var e=vh(Ur(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<e.length;n++)this.username+=GT(e[n],KT)}},getPassword:function(){return this.password},setPassword:function(t){var e=vh(Ur(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<e.length;n++)this.password+=GT(e[n],KT)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?UT(t):UT(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,ok)},getHostname:function(){var t=this.host;return null===t?"":UT(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,sk)},getPort:function(){var t=this.port;return null===t?"":Ur(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=Ur(t))?this.port=null:this.parse(t,ck))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+pT(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,fk))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=Ur(t))?this.query=null:("?"===dT(t,0)&&(t=TT(t,1)),this.query="",this.parse(t,pk)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=Ur(t))?("#"===dT(t,0)&&(t=TT(t,1)),this.fragment="",this.parse(t,gk)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var bk=function(t){var e=WA(this,vk),n=Hs(arguments.length,1)>1?arguments[1]:void 0,r=iT(e,new mk(t,!1,n));qt||(e.href=r.serialize(),e.origin=r.getOrigin(),e.protocol=r.getProtocol(),e.username=r.getUsername(),e.password=r.getPassword(),e.host=r.getHost(),e.hostname=r.getHostname(),e.port=r.getPort(),e.pathname=r.getPathname(),e.search=r.getSearch(),e.searchParams=r.getSearchParams(),e.hash=r.getHash())},vk=bk.prototype,yk=function(t,e){return{get:function(){return aT(this)[t]()},set:e&&function(t){return aT(this)[e](t)},configurable:!0,enumerable:!0}};if(qt&&($r(vk,"href",yk("serialize","setHref")),$r(vk,"origin",yk("getOrigin")),$r(vk,"protocol",yk("getProtocol","setProtocol")),$r(vk,"username",yk("getUsername","setUsername")),$r(vk,"password",yk("getPassword","setPassword")),$r(vk,"host",yk("getHost","setHost")),$r(vk,"hostname",yk("getHostname","setHostname")),$r(vk,"port",yk("getPort","setPort")),$r(vk,"pathname",yk("getPathname","setPathname")),$r(vk,"search",yk("getSearch","setSearch")),$r(vk,"searchParams",yk("getSearchParams")),$r(vk,"hash",yk("getHash","setHash"))),yr(vk,"toJSON",(function(){return aT(this).serialize()}),{enumerable:!0}),yr(vk,"toString",(function(){return aT(this).serialize()}),{enumerable:!0}),cT){var wk=cT.createObjectURL,Tk=cT.revokeObjectURL;wk&&yr(bk,"createObjectURL",Se(wk,cT)),Tk&&yr(bk,"revokeObjectURL",Se(Tk,cT))}zr(bk,"URL"),jn({global:!0,constructor:!0,forced:!Xy,sham:!qt},{URL:bk});var kk=st("URL"),Ck=Xy&&h((function(){kk.canParse()}));jn({target:"URL",stat:!0,forced:!Ck},{canParse:function(t){var e=Hs(arguments.length,1),n=Ur(t),r=e<2||void 0===arguments[1]?void 0:Ur(arguments[1]);try{return!!new kk(n,r)}catch(t){return!1}}});var Ek=X.URL,xk=r((function(t,e){t.exports=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};function e(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},n.apply(this,arguments)};function r(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function s(t){try{c(r.throw(t))}catch(t){a(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,s)}c((r=r.apply(t,e||[])).next())}))}function i(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function a(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||e)}for(var o=function(){function t(t,e,n,r){this.left=t,this.top=e,this.width=n,this.height=r}return t.prototype.add=function(e,n,r,i){return new t(this.left+e,this.top+n,this.width+r,this.height+i)},t.fromClientRect=function(e,n){return new t(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height)},t.fromDOMRectList=function(e,n){var r=Array.from(n).find((function(t){return 0!==t.width}));return r?new t(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),s=function(t,e){return o.fromClientRect(t,e.getBoundingClientRect())},c=function(t){var e=t.body,n=t.documentElement;if(!e||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,n.scrollWidth),Math.max(e.offsetWidth,n.offsetWidth),Math.max(e.clientWidth,n.clientWidth)),i=Math.max(Math.max(e.scrollHeight,n.scrollHeight),Math.max(e.offsetHeight,n.offsetHeight),Math.max(e.clientHeight,n.clientHeight));return new o(0,0,r,i)},l=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=t.charCodeAt(n++);56320==(64512&a)?e.push(((1023&i)<<10)+(1023&a)+65536):(e.push(i),n--)}else e.push(i)}return e},u=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var n=t.length;if(!n)return"";for(var r=[],i=-1,a="";++i<n;){var o=t[i];o<=65535?r.push(o):(o-=65536,r.push(55296+(o>>10),o%1024+56320)),(i+1===n||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f="undefined"==typeof Uint8Array?[]:new Uint8Array(256),d=0;d<h.length;d++)f[h.charCodeAt(d)]=d;for(var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"==typeof Uint8Array?[]:new Uint8Array(256),g=0;g<A.length;g++)p[A.charCodeAt(g)]=g;for(var m=function(t){var e,n,r,i,a,o=.75*t.length,s=t.length,c=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),u=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<s;e+=4)n=p[t.charCodeAt(e)],r=p[t.charCodeAt(e+1)],i=p[t.charCodeAt(e+2)],a=p[t.charCodeAt(e+3)],u[c++]=n<<2|r>>4,u[c++]=(15&r)<<4|i>>2,u[c++]=(3&i)<<6|63&a;return l},b=function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n.push(t[r+1]<<8|t[r]);return n},v=function(t){for(var e=t.length,n=[],r=0;r<e;r+=4)n.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return n},y=5,w=11,T=2,k=65536>>y,C=(1<<y)-1,E=k+(1024>>y)+32,x=65536>>w,_=(1<<w-y)-1,B=function(t,e,n){return t.slice?t.slice(e,n):new Uint16Array(Array.prototype.slice.call(t,e,n))},S=function(t,e,n){return t.slice?t.slice(e,n):new Uint32Array(Array.prototype.slice.call(t,e,n))},L=function(t,e){var n=m(t),r=Array.isArray(n)?v(n):new Uint32Array(n),i=Array.isArray(n)?b(n):new Uint16Array(n),a=24,o=B(i,a/2,r[4]/2),s=2===r[5]?B(i,(a+r[4])/2):S(r,Math.ceil((a+r[4])/4));return new I(r[0],r[1],r[2],r[3],o,s)},I=function(){function t(t,e,n,r,i,a){this.initialValue=t,this.errorValue=e,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=a}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>y])<<T)+(t&C),this.data[e];if(t<=65535)return e=((e=this.index[k+(t-55296>>y)])<<T)+(t&C),this.data[e];if(t<this.highStart)return e=E-x+(t>>w),e=this.index[e],e+=t>>y&_,e=((e=this.index[e])<<T)+(t&C),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O="undefined"==typeof Uint8Array?[]:new Uint8Array(256),N=0;N<M.length;N++)O[M.charCodeAt(N)]=N;var D=50,F=1,P=2,R=3,Q=4,U=5,H=7,j=8,$=9,K=10,G=11,z=12,X=13,q=14,V=15,W=16,Y=17,J=18,Z=19,tt=20,et=21,nt=22,rt=23,it=24,at=25,ot=26,st=27,ct=28,lt=29,ut=30,ht=31,ft=32,dt=33,At=34,pt=35,gt=36,mt=37,bt=38,vt=39,yt=40,wt=41,Tt=42,kt=43,Ct=[9001,65288],Et="!",xt="×",_t="÷",Bt=L("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),St=[ut,gt],Lt=[F,P,R,U],It=[K,j],Mt=[st,ot],Ot=Lt.concat(It),Nt=[bt,vt,yt,At,pt],Dt=[V,X],Ft=function(t,e){void 0===e&&(e="strict");var n=[],r=[],i=[];return t.forEach((function(t,a){var o=Bt.get(t);if(o>D?(i.push(!0),o-=D):i.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return r.push(a),n.push(W);if(o===Q||o===G){if(0===a)return r.push(a),n.push(ut);var s=n[a-1];return-1===Ot.indexOf(s)?(r.push(r[a-1]),n.push(s)):(r.push(a),n.push(ut))}return r.push(a),o===ht?n.push("strict"===e?et:mt):o===Tt||o===lt?n.push(ut):o===kt?t>=131072&&t<=196605||t>=196608&&t<=262141?n.push(mt):n.push(ut):void n.push(o)})),[r,n,i]},Pt=function(t,e,n,r){var i=r[n];if(Array.isArray(t)?-1!==t.indexOf(i):t===i)for(var a=n;a<=r.length;){if((c=r[++a])===e)return!0;if(c!==K)break}if(i===K)for(a=n;a>0;){var o=r[--a];if(Array.isArray(t)?-1!==t.indexOf(o):t===o)for(var s=n;s<=r.length;){var c;if((c=r[++s])===e)return!0;if(c!==K)break}if(o!==K)break}return!1},Rt=function(t,e){for(var n=t;n>=0;){var r=e[n];if(r!==K)return r;n--}return 0},Qt=function(t,e,n,r,i){if(0===n[r])return xt;var a=r-1;if(Array.isArray(i)&&!0===i[a])return xt;var o=a-1,s=a+1,c=e[a],l=o>=0?e[o]:0,u=e[s];if(c===P&&u===R)return xt;if(-1!==Lt.indexOf(c))return Et;if(-1!==Lt.indexOf(u))return xt;if(-1!==It.indexOf(u))return xt;if(Rt(a,e)===j)return _t;if(Bt.get(t[a])===G)return xt;if((c===ft||c===dt)&&Bt.get(t[s])===G)return xt;if(c===H||u===H)return xt;if(c===$)return xt;if(-1===[K,X,V].indexOf(c)&&u===$)return xt;if(-1!==[Y,J,Z,it,ct].indexOf(u))return xt;if(Rt(a,e)===nt)return xt;if(Pt(rt,nt,a,e))return xt;if(Pt([Y,J],et,a,e))return xt;if(Pt(z,z,a,e))return xt;if(c===K)return _t;if(c===rt||u===rt)return xt;if(u===W||c===W)return _t;if(-1!==[X,V,et].indexOf(u)||c===q)return xt;if(l===gt&&-1!==Dt.indexOf(c))return xt;if(c===ct&&u===gt)return xt;if(u===tt)return xt;if(-1!==St.indexOf(u)&&c===at||-1!==St.indexOf(c)&&u===at)return xt;if(c===st&&-1!==[mt,ft,dt].indexOf(u)||-1!==[mt,ft,dt].indexOf(c)&&u===ot)return xt;if(-1!==St.indexOf(c)&&-1!==Mt.indexOf(u)||-1!==Mt.indexOf(c)&&-1!==St.indexOf(u))return xt;if(-1!==[st,ot].indexOf(c)&&(u===at||-1!==[nt,V].indexOf(u)&&e[s+1]===at)||-1!==[nt,V].indexOf(c)&&u===at||c===at&&-1!==[at,ct,it].indexOf(u))return xt;if(-1!==[at,ct,it,Y,J].indexOf(u))for(var h=a;h>=0;){if((f=e[h])===at)return xt;if(-1===[ct,it].indexOf(f))break;h--}if(-1!==[st,ot].indexOf(u))for(h=-1!==[Y,J].indexOf(c)?o:a;h>=0;){var f;if((f=e[h])===at)return xt;if(-1===[ct,it].indexOf(f))break;h--}if(bt===c&&-1!==[bt,vt,At,pt].indexOf(u)||-1!==[vt,At].indexOf(c)&&-1!==[vt,yt].indexOf(u)||-1!==[yt,pt].indexOf(c)&&u===yt)return xt;if(-1!==Nt.indexOf(c)&&-1!==[tt,ot].indexOf(u)||-1!==Nt.indexOf(u)&&c===st)return xt;if(-1!==St.indexOf(c)&&-1!==St.indexOf(u))return xt;if(c===it&&-1!==St.indexOf(u))return xt;if(-1!==St.concat(at).indexOf(c)&&u===nt&&-1===Ct.indexOf(t[s])||-1!==St.concat(at).indexOf(u)&&c===J)return xt;if(c===wt&&u===wt){for(var d=n[a],A=1;d>0&&e[--d]===wt;)A++;if(A%2!=0)return xt}return c===ft&&u===dt?xt:_t},Ut=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var n=Ft(t,e.lineBreak),r=n[0],i=n[1],a=n[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(i=i.map((function(t){return-1!==[at,ut,Tt].indexOf(t)?mt:t})));var o="keep-all"===e.wordBreak?a.map((function(e,n){return e&&t[n]>=19968&&t[n]<=40959})):void 0;return[r,i,o]},Ht=function(){function t(t,e,n,r){this.codePoints=t,this.required=e===Et,this.start=n,this.end=r}return t.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),jt=function(t,e){var n=l(t),r=Ut(n,e),i=r[0],a=r[1],o=r[2],s=n.length,c=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var t=xt;u<s&&(t=Qt(n,a,i,++u,o))===xt;);if(t!==xt||u===s){var e=new Ht(n,t,c,u);return c=u,{value:e,done:!1}}return{done:!0,value:null}}}},$t=1,Kt=2,Gt=4,zt=8,Xt=10,qt=47,Vt=92,Wt=9,Yt=32,Jt=34,Zt=61,te=35,ee=36,ne=37,re=39,ie=40,ae=41,oe=95,se=45,ce=33,le=60,ue=62,he=64,fe=91,de=93,Ae=61,pe=123,ge=63,me=125,be=124,ve=126,ye=128,we=65533,Te=42,ke=43,Ce=44,Ee=58,xe=59,_e=46,Be=0,Se=8,Le=11,Ie=14,Me=31,Oe=127,Ne=-1,De=48,Fe=97,Pe=101,Re=102,Qe=117,Ue=122,He=65,je=69,$e=70,Ke=85,Ge=90,ze=function(t){return t>=De&&t<=57},Xe=function(t){return t>=55296&&t<=57343},qe=function(t){return ze(t)||t>=He&&t<=$e||t>=Fe&&t<=Re},Ve=function(t){return t>=Fe&&t<=Ue},We=function(t){return t>=He&&t<=Ge},Ye=function(t){return Ve(t)||We(t)},Je=function(t){return t>=ye},Ze=function(t){return t===Xt||t===Wt||t===Yt},tn=function(t){return Ye(t)||Je(t)||t===oe},en=function(t){return tn(t)||ze(t)||t===se},nn=function(t){return t>=Be&&t<=Se||t===Le||t>=Ie&&t<=Me||t===Oe},rn=function(t,e){return t===Vt&&e!==Xt},an=function(t,e,n){return t===se?tn(e)||rn(e,n):!!tn(t)||!(t!==Vt||!rn(t,e))},on=function(t,e,n){return t===ke||t===se?!!ze(e)||e===_e&&ze(n):ze(t===_e?e:t)},sn=function(t){var e=0,n=1;t[e]!==ke&&t[e]!==se||(t[e]===se&&(n=-1),e++);for(var r=[];ze(t[e]);)r.push(t[e++]);var i=r.length?parseInt(u.apply(void 0,r),10):0;t[e]===_e&&e++;for(var a=[];ze(t[e]);)a.push(t[e++]);var o=a.length,s=o?parseInt(u.apply(void 0,a),10):0;t[e]!==je&&t[e]!==Pe||e++;var c=1;t[e]!==ke&&t[e]!==se||(t[e]===se&&(c=-1),e++);for(var l=[];ze(t[e]);)l.push(t[e++]);var h=l.length?parseInt(u.apply(void 0,l),10):0;return n*(i+s*Math.pow(10,-o))*Math.pow(10,c*h)},cn={type:2},ln={type:3},un={type:4},hn={type:13},fn={type:8},dn={type:21},An={type:9},pn={type:10},gn={type:11},mn={type:12},bn={type:14},vn={type:23},yn={type:1},wn={type:25},Tn={type:24},kn={type:26},Cn={type:27},En={type:28},xn={type:29},_n={type:31},Bn={type:32},Sn=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(l(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==Bn;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case Jt:return this.consumeStringToken(Jt);case te:var e=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(en(e)||rn(n,r)){var i=an(e,n,r)?Kt:$t;return{type:5,value:this.consumeName(),flags:i}}break;case ee:if(this.peekCodePoint(0)===Zt)return this.consumeCodePoint(),hn;break;case re:return this.consumeStringToken(re);case ie:return cn;case ae:return ln;case Te:if(this.peekCodePoint(0)===Zt)return this.consumeCodePoint(),bn;break;case ke:if(on(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case Ce:return un;case se:var a=t,o=this.peekCodePoint(0),s=this.peekCodePoint(1);if(on(a,o,s))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(an(a,o,s))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(o===se&&s===ue)return this.consumeCodePoint(),this.consumeCodePoint(),Tn;break;case _e:if(on(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case qt:if(this.peekCodePoint(0)===Te)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===Te&&(c=this.consumeCodePoint())===qt)return this.consumeToken();if(c===Ne)return this.consumeToken()}break;case Ee:return kn;case xe:return Cn;case le:if(this.peekCodePoint(0)===ce&&this.peekCodePoint(1)===se&&this.peekCodePoint(2)===se)return this.consumeCodePoint(),this.consumeCodePoint(),wn;break;case he:var l=this.peekCodePoint(0),h=this.peekCodePoint(1),f=this.peekCodePoint(2);if(an(l,h,f))return{type:7,value:this.consumeName()};break;case fe:return En;case Vt:if(rn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case de:return xn;case Ae:if(this.peekCodePoint(0)===Zt)return this.consumeCodePoint(),fn;break;case pe:return gn;case me:return mn;case Qe:case Ke:var d=this.peekCodePoint(0),A=this.peekCodePoint(1);return d!==ke||!qe(A)&&A!==ge||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case be:if(this.peekCodePoint(0)===Zt)return this.consumeCodePoint(),An;if(this.peekCodePoint(0)===be)return this.consumeCodePoint(),dn;break;case ve:if(this.peekCodePoint(0)===Zt)return this.consumeCodePoint(),pn;break;case Ne:return Bn}return Ze(t)?(this.consumeWhiteSpace(),_n):ze(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):tn(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:u(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();qe(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var n=!1;e===ge&&t.length<6;)t.push(e),e=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(u.apply(void 0,t.map((function(t){return t===ge?De:t}))),16),end:parseInt(u.apply(void 0,t.map((function(t){return t===ge?$e:t}))),16)};var r=parseInt(u.apply(void 0,t),16);if(this.peekCodePoint(0)===se&&qe(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var i=[];qe(e)&&i.length<6;)i.push(e),e=this.consumeCodePoint();return{type:30,start:r,end:parseInt(u.apply(void 0,i),16)}}return{type:30,start:r,end:r}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&this.peekCodePoint(0)===ie?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ie?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===re||e===Jt){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne||this.peekCodePoint(0)===ae)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),vn)}for(;;){var r=this.consumeCodePoint();if(r===Ne||r===ae)return{type:22,value:u.apply(void 0,t)};if(Ze(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne||this.peekCodePoint(0)===ae?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,t)}):(this.consumeBadUrlRemnants(),vn);if(r===Jt||r===re||r===ie||nn(r))return this.consumeBadUrlRemnants(),vn;if(r===Vt){if(!rn(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),vn;t.push(this.consumeEscapedCodePoint())}else t.push(r)}},t.prototype.consumeWhiteSpace=function(){for(;Ze(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===ae||t===Ne)return;rn(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e=5e4,n="";t>0;){var r=Math.min(e,t);n+=u.apply(void 0,this._value.splice(0,r)),t-=r}return this._value.shift(),n},t.prototype.consumeStringToken=function(t){for(var e="",n=0;;){var r=this._value[n];if(r===Ne||void 0===r||r===t)return{type:0,value:e+=this.consumeStringSlice(n)};if(r===Xt)return this._value.splice(0,n),yn;if(r===Vt){var i=this._value[n+1];i!==Ne&&void 0!==i&&(i===Xt?(e+=this.consumeStringSlice(n),n=-1,this._value.shift()):rn(r,i)&&(e+=this.consumeStringSlice(n),e+=u(this.consumeEscapedCodePoint()),n=-1))}n++}},t.prototype.consumeNumber=function(){var t=[],e=Gt,n=this.peekCodePoint(0);for(n!==ke&&n!==se||t.push(this.consumeCodePoint());ze(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===_e&&ze(r))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=zt;ze(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===je||n===Pe)&&((r===ke||r===se)&&ze(i)||ze(r)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=zt;ze(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[sn(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],n=t[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);return an(r,i,a)?{type:15,number:e,flags:n,unit:this.consumeName()}:r===ne?(this.consumeCodePoint(),{type:16,number:e,flags:n}):{type:17,number:e,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(qe(t)){for(var e=u(t);qe(this.peekCodePoint(0))&&e.length<6;)e+=u(this.consumeCodePoint());Ze(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(e,16);return 0===n||Xe(n)||n>1114111?we:n}return t===Ne?we:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(en(e))t+=u(e);else{if(!rn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=u(this.consumeEscapedCodePoint())}}},t}(),Ln=function(){function t(t){this._tokens=t}return t.create=function(e){var n=new Sn;return n.write(e),new t(n.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();31===t.type;)t=this.consumeToken();if(32===t.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(31===t.type);if(32===t.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(32===e.type)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},n=this.consumeToken();;){if(32===n.type||Qn(n,t))return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?Bn:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),In=function(t){return 15===t.type},Mn=function(t){return 17===t.type},On=function(t){return 20===t.type},Nn=function(t){return 0===t.type},Dn=function(t,e){return On(t)&&t.value===e},Fn=function(t){return 31!==t.type},Pn=function(t){return 31!==t.type&&4!==t.type},Rn=function(t){var e=[],n=[];return t.forEach((function(t){if(4===t.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(n),void(n=[])}31!==t.type&&n.push(t)})),n.length&&e.push(n),e},Qn=function(t,e){return 11===e&&12===t.type||28===e&&29===t.type||2===e&&3===t.type},Un=function(t){return 17===t.type||15===t.type},Hn=function(t){return 16===t.type||Un(t)},jn=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},$n={type:17,number:0,flags:Gt},Kn={type:16,number:50,flags:Gt},Gn={type:16,number:100,flags:Gt},zn=function(t,e,n){var r=t[0],i=t[1];return[Xn(r,e),Xn(void 0!==i?i:r,n)]},Xn=function(t,e){if(16===t.type)return t.number/100*e;if(In(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},qn="deg",Vn="grad",Wn="rad",Yn="turn",Jn={name:"angle",parse:function(t,e){if(15===e.type)switch(e.unit){case qn:return Math.PI*e.number/180;case Vn:return Math.PI/200*e.number;case Wn:return e.number;case Yn:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},Zn=function(t){return 15===t.type&&(t.unit===qn||t.unit===Vn||t.unit===Wn||t.unit===Yn)},tr=function(t){switch(t.filter(On).map((function(t){return t.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[$n,$n];case"to top":case"bottom":return er(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[$n,Gn];case"to right":case"left":return er(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Gn,Gn];case"to bottom":case"top":return er(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Gn,$n];case"to left":case"right":return er(270)}return 0},er=function(t){return Math.PI*t/180},nr={name:"color",parse:function(t,e){if(18===e.type){var n=ur[e.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return n(t,e.values)}if(5===e.type){if(3===e.value.length){var r=e.value.substring(0,1),i=e.value.substring(1,2),a=e.value.substring(2,3);return ar(parseInt(r+r,16),parseInt(i+i,16),parseInt(a+a,16),1)}if(4===e.value.length){r=e.value.substring(0,1),i=e.value.substring(1,2),a=e.value.substring(2,3);var o=e.value.substring(3,4);return ar(parseInt(r+r,16),parseInt(i+i,16),parseInt(a+a,16),parseInt(o+o,16)/255)}if(6===e.value.length)return r=e.value.substring(0,2),i=e.value.substring(2,4),a=e.value.substring(4,6),ar(parseInt(r,16),parseInt(i,16),parseInt(a,16),1);if(8===e.value.length)return r=e.value.substring(0,2),i=e.value.substring(2,4),a=e.value.substring(4,6),o=e.value.substring(6,8),ar(parseInt(r,16),parseInt(i,16),parseInt(a,16),parseInt(o,16)/255)}if(20===e.type){var s=fr[e.value.toUpperCase()];if(void 0!==s)return s}return fr.TRANSPARENT}},rr=function(t){return 0==(255&t)},ir=function(t){var e=255&t,n=255&t>>8,r=255&t>>16,i=255&t>>24;return e<255?"rgba("+i+","+r+","+n+","+e/255+")":"rgb("+i+","+r+","+n+")"},ar=function(t,e,n,r){return(t<<24|e<<16|n<<8|Math.round(255*r)<<0)>>>0},or=function(t,e){if(17===t.type)return t.number;if(16===t.type){var n=3===e?1:255;return 3===e?t.number/100*n:Math.round(t.number/100*n)}return 0},sr=function(t,e){var n=e.filter(Pn);if(3===n.length){var r=n.map(or),i=r[0],a=r[1],o=r[2];return ar(i,a,o,1)}if(4===n.length){var s=n.map(or),c=(i=s[0],a=s[1],o=s[2],s[3]);return ar(i,a,o,c)}return 0};function cr(t,e,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(e-t)*n*6+t:n<.5?e:n<2/3?6*(e-t)*(2/3-n)+t:t}var lr=function(t,e){var n=e.filter(Pn),r=n[0],i=n[1],a=n[2],o=n[3],s=(17===r.type?er(r.number):Jn.parse(t,r))/(2*Math.PI),c=Hn(i)?i.number/100:0,l=Hn(a)?a.number/100:0,u=void 0!==o&&Hn(o)?Xn(o,1):1;if(0===c)return ar(255*l,255*l,255*l,1);var h=l<=.5?l*(c+1):l+c-l*c,f=2*l-h,d=cr(f,h,s+1/3),A=cr(f,h,s),p=cr(f,h,s-1/3);return ar(255*d,255*A,255*p,u)},ur={hsl:lr,hsla:lr,rgb:sr,rgba:sr},hr=function(t,e){return nr.parse(t,Ln.create(e).parseComponentValue())},fr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},dr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map((function(t){if(On(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ar={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pr=function(t,e){var n=nr.parse(t,e[0]),r=e[1];return r&&Hn(r)?{color:n,stop:r}:{color:n,stop:null}},gr=function(t,e){var n=t[0],r=t[t.length-1];null===n.stop&&(n.stop=$n),null===r.stop&&(r.stop=Gn);for(var i=[],a=0,o=0;o<t.length;o++){var s=t[o].stop;if(null!==s){var c=Xn(s,e);c>a?i.push(c):i.push(a),a=c}else i.push(null)}var l=null;for(o=0;o<i.length;o++){var u=i[o];if(null===u)null===l&&(l=o);else if(null!==l){for(var h=o-l,f=(u-i[l-1])/(h+1),d=1;d<=h;d++)i[l+d-1]=f*d;l=null}}return t.map((function(t,n){return{color:t.color,stop:Math.max(Math.min(1,i[n]/e),0)}}))},mr=function(t,e,n){var r=e/2,i=n/2,a=Xn(t[0],e)-r,o=i-Xn(t[1],n);return(Math.atan2(o,a)+2*Math.PI)%(2*Math.PI)},br=function(t,e,n){var r="number"==typeof t?t:mr(t,e,n),i=Math.abs(e*Math.sin(r))+Math.abs(n*Math.cos(r)),a=e/2,o=n/2,s=i/2,c=Math.sin(r-Math.PI/2)*s,l=Math.cos(r-Math.PI/2)*s;return[i,a-l,a+l,o-c,o+c]},vr=function(t,e){return Math.sqrt(t*t+e*e)},yr=function(t,e,n,r,i){return[[0,0],[0,e],[t,0],[t,e]].reduce((function(t,e){var a=e[0],o=e[1],s=vr(n-a,r-o);return(i?s<t.optimumDistance:s>t.optimumDistance)?{optimumCorner:e,optimumDistance:s}:t}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},wr=function(t,e,n,r,i){var a=0,o=0;switch(t.size){case 0:0===t.shape?a=o=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(n),Math.abs(n-i)):1===t.shape&&(a=Math.min(Math.abs(e),Math.abs(e-r)),o=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===t.shape)a=o=Math.min(vr(e,n),vr(e,n-i),vr(e-r,n),vr(e-r,n-i));else if(1===t.shape){var s=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(e),Math.abs(e-r)),c=yr(r,i,e,n,!0),l=c[0],u=c[1];o=s*(a=vr(l-e,(u-n)/s))}break;case 1:0===t.shape?a=o=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(n),Math.abs(n-i)):1===t.shape&&(a=Math.max(Math.abs(e),Math.abs(e-r)),o=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===t.shape)a=o=Math.max(vr(e,n),vr(e,n-i),vr(e-r,n),vr(e-r,n-i));else if(1===t.shape){s=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(e),Math.abs(e-r));var h=yr(r,i,e,n,!1);l=h[0],u=h[1],o=s*(a=vr(l-e,(u-n)/s))}}return Array.isArray(t.size)&&(a=Xn(t.size[0],r),o=2===t.size.length?Xn(t.size[1],i):a),[a,o]},Tr=function(t,e){var n=er(180),r=[];return Rn(e).forEach((function(e,i){if(0===i){var a=e[0];if(20===a.type&&"to"===a.value)return void(n=tr(e));if(Zn(a))return void(n=Jn.parse(t,a))}var o=pr(t,e);r.push(o)})),{angle:n,stops:r,type:1}},kr=function(t,e){var n=er(180),r=[];return Rn(e).forEach((function(e,i){if(0===i){var a=e[0];if(20===a.type&&-1!==["top","left","right","bottom"].indexOf(a.value))return void(n=tr(e));if(Zn(a))return void(n=(Jn.parse(t,a)+er(270))%er(360))}var o=pr(t,e);r.push(o)})),{angle:n,stops:r,type:1}},Cr=function(t,e){var n=er(180),r=[],i=1,a=0,o=3,s=[];return Rn(e).forEach((function(e,n){var a=e[0];if(0===n){if(On(a)&&"linear"===a.value)return void(i=1);if(On(a)&&"radial"===a.value)return void(i=2)}if(18===a.type)if("from"===a.name){var o=nr.parse(t,a.values[0]);r.push({stop:$n,color:o})}else if("to"===a.name)o=nr.parse(t,a.values[0]),r.push({stop:Gn,color:o});else if("color-stop"===a.name){var s=a.values.filter(Pn);if(2===s.length){o=nr.parse(t,s[1]);var c=s[0];Mn(c)&&r.push({stop:{type:16,number:100*c.number,flags:c.flags},color:o})}}})),1===i?{angle:(n+er(180))%er(360),stops:r,type:i}:{size:o,shape:a,stops:r,position:s,type:i}},Er="closest-side",xr="farthest-side",_r="closest-corner",Br="farthest-corner",Sr="circle",Lr="ellipse",Ir="cover",Mr="contain",Or=function(t,e){var n=0,r=3,i=[],a=[];return Rn(e).forEach((function(e,o){var s=!0;if(0===o){var c=!1;s=e.reduce((function(t,e){if(c)if(On(e))switch(e.value){case"center":return a.push(Kn),t;case"top":case"left":return a.push($n),t;case"right":case"bottom":return a.push(Gn),t}else(Hn(e)||Un(e))&&a.push(e);else if(On(e))switch(e.value){case Sr:return n=0,!1;case Lr:return n=1,!1;case"at":return c=!0,!1;case Er:return r=0,!1;case Ir:case xr:return r=1,!1;case Mr:case _r:return r=2,!1;case Br:return r=3,!1}else if(Un(e)||Hn(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return t}),s)}if(s){var l=pr(t,e);i.push(l)}})),{size:r,shape:n,stops:i,position:a,type:2}},Nr=function(t,e){var n=0,r=3,i=[],a=[];return Rn(e).forEach((function(e,o){var s=!0;if(0===o?s=e.reduce((function(t,e){if(On(e))switch(e.value){case"center":return a.push(Kn),!1;case"top":case"left":return a.push($n),!1;case"right":case"bottom":return a.push(Gn),!1}else if(Hn(e)||Un(e))return a.push(e),!1;return t}),s):1===o&&(s=e.reduce((function(t,e){if(On(e))switch(e.value){case Sr:return n=0,!1;case Lr:return n=1,!1;case Mr:case Er:return r=0,!1;case xr:return r=1,!1;case _r:return r=2,!1;case Ir:case Br:return r=3,!1}else if(Un(e)||Hn(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return t}),s)),s){var c=pr(t,e);i.push(c)}})),{size:r,shape:n,stops:i,position:a,type:2}},Dr=function(t){return 1===t.type},Fr=function(t){return 2===t.type},Pr={name:"image",parse:function(t,e){if(22===e.type){var n={url:e.value,type:0};return t.cache.addImage(e.value),n}if(18===e.type){var r=Ur[e.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function Rr(t){return!(20===t.type&&"none"===t.value||18===t.type&&!Ur[t.name])}var Qr,Ur={"linear-gradient":Tr,"-moz-linear-gradient":kr,"-ms-linear-gradient":kr,"-o-linear-gradient":kr,"-webkit-linear-gradient":kr,"radial-gradient":Or,"-moz-radial-gradient":Nr,"-ms-radial-gradient":Nr,"-o-radial-gradient":Nr,"-webkit-radial-gradient":Nr,"-webkit-gradient":Cr},Hr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(0===e.length)return[];var n=e[0];return 20===n.type&&"none"===n.value?[]:e.filter((function(t){return Pn(t)&&Rr(t)})).map((function(e){return Pr.parse(t,e)}))}},jr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map((function(t){if(On(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},$r={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return Rn(e).map((function(t){return t.filter(Hn)})).map(jn)}},Kr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return Rn(e).map((function(t){return t.filter(On).map((function(t){return t.value})).join(" ")})).map(Gr)}},Gr=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(Qr||(Qr={}));var zr,Xr={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return Rn(e).map((function(t){return t.filter(qr)}))}},qr=function(t){return On(t)||Hn(t)},Vr=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Wr=Vr("top"),Yr=Vr("right"),Jr=Vr("bottom"),Zr=Vr("left"),ti=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(t,e){return jn(e.filter(Hn))}}},ei=ti("top-left"),ni=ti("top-right"),ri=ti("bottom-right"),ii=ti("bottom-left"),ai=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},oi=ai("top"),si=ai("right"),ci=ai("bottom"),li=ai("left"),ui=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return In(e)?e.number:0}}},hi=ui("top"),fi=ui("right"),di=ui("bottom"),Ai=ui("left"),pi={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gi={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){return"rtl"===e?1:0}},mi={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(On).reduce((function(t,e){return t|bi(e.value)}),0)}},bi=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},vi={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},yi={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(zr||(zr={}));var wi,Ti={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){return"strict"===e?zr.STRICT:zr.NORMAL}},ki={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ci=function(t,e){return On(t)&&"normal"===t.value?1.2*e:17===t.type?e*t.number:Hn(t)?Xn(t,e):e},Ei={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return 20===e.type&&"none"===e.value?null:Pr.parse(t,e)}},xi={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){return"inside"===e?0:1}},_i={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Bi=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},Si=Bi("top"),Li=Bi("right"),Ii=Bi("bottom"),Mi=Bi("left"),Oi={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(On).map((function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Ni={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){return"break-word"===e?"break-word":"normal"}},Di=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Fi=Di("top"),Pi=Di("right"),Ri=Di("bottom"),Qi=Di("left"),Ui={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Hi={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ji={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return 1===e.length&&Dn(e[0],"none")?[]:Rn(e).map((function(e){for(var n={color:fr.TRANSPARENT,offsetX:$n,offsetY:$n,blur:$n},r=0,i=0;i<e.length;i++){var a=e[i];Un(a)?(0===r?n.offsetX=a:1===r?n.offsetY=a:n.blur=a,r++):n.color=nr.parse(t,a)}return n}))}},$i={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ki={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var n=Xi[e.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return n(e.values)}return null}},Gi=function(t){var e=t.filter((function(t){return 17===t.type})).map((function(t){return t.number}));return 6===e.length?e:null},zi=function(t){var e=t.filter((function(t){return 17===t.type})).map((function(t){return t.number})),n=e[0],r=e[1];e[2],e[3];var i=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var o=e[12],s=e[13];return e[14],e[15],16===e.length?[n,r,i,a,o,s]:null},Xi={matrix:Gi,matrix3d:zi},qi={type:16,number:50,flags:Gt},Vi=[qi,qi],Wi={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var n=e.filter(Hn);return 2!==n.length?Vi:[n[0],n[1]]}},Yi={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"}(wi||(wi={}));for(var Ji={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return wi.BREAK_ALL;case"keep-all":return wi.KEEP_ALL;default:return wi.NORMAL}}},Zi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(20===e.type)return{auto:!0,order:0};if(Mn(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},ta={name:"time",parse:function(t,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},ea={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return Mn(e)?e.number:1}},na={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ra={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(On).map((function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(t){return 0!==t}))}},ia={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var n=[],r=[];return e.forEach((function(t){switch(t.type){case 20:case 0:n.push(t.value);break;case 17:n.push(t.number.toString());break;case 4:r.push(n.join(" ")),n.length=0}})),n.length&&r.push(n.join(" ")),r.map((function(t){return-1===t.indexOf(" ")?t:"'"+t+"'"}))}},aa={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},oa={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){return Mn(e)?e.number:On(e)&&"bold"===e.value?700:400}},sa={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(On).map((function(t){return t.value}))}},ca={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},la=function(t,e){return 0!=(t&e)},ua={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(0===e.length)return[];var n=e[0];return 20===n.type&&"none"===n.value?[]:e}},ha={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return null;var n=e[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],i=e.filter(Fn),a=0;a<i.length;a++){var o=i[a],s=i[a+1];if(20===o.type){var c=s&&Mn(s)?s.number:1;r.push({counter:o.value,increment:c})}}return r}},fa={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return[];for(var n=[],r=e.filter(Fn),i=0;i<r.length;i++){var a=r[i],o=r[i+1];if(On(a)&&"none"!==a.value){var s=o&&Mn(o)?o.number:0;n.push({counter:a.value,reset:s})}}return n}},da={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,e){return e.filter(In).map((function(e){return ta.parse(t,e)}))}},Aa={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return null;var n=e[0];if(20===n.type&&"none"===n.value)return null;var r=[],i=e.filter(Nn);if(i.length%2!=0)return null;for(var a=0;a<i.length;a+=2){var o=i[a].value,s=i[a+1].value;r.push({open:o,close:s})}return r}},pa=function(t,e,n){if(!t)return"";var r=t[Math.min(e,t.length-1)];return r?n?r.open:r.close:""},ga={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return 1===e.length&&Dn(e[0],"none")?[]:Rn(e).map((function(e){for(var n={color:255,offsetX:$n,offsetY:$n,blur:$n,spread:$n,inset:!1},r=0,i=0;i<e.length;i++){var a=e[i];Dn(a,"inset")?n.inset=!0:Un(a)?(0===r?n.offsetX=a:1===r?n.offsetY=a:2===r?n.blur=a:n.spread=a,r++):n.color=nr.parse(t,a)}return n}))}},ma={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,e){var n=[0,1,2],r=[];return e.filter(On).forEach((function(t){switch(t.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2)}})),n.forEach((function(t){-1===r.indexOf(t)&&r.push(t)})),r}},ba={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},va={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return In(e)?e.number:0}},ya=function(){function t(t,e){var n,r;this.animationDuration=ka(t,da,e.animationDuration),this.backgroundClip=ka(t,dr,e.backgroundClip),this.backgroundColor=ka(t,Ar,e.backgroundColor),this.backgroundImage=ka(t,Hr,e.backgroundImage),this.backgroundOrigin=ka(t,jr,e.backgroundOrigin),this.backgroundPosition=ka(t,$r,e.backgroundPosition),this.backgroundRepeat=ka(t,Kr,e.backgroundRepeat),this.backgroundSize=ka(t,Xr,e.backgroundSize),this.borderTopColor=ka(t,Wr,e.borderTopColor),this.borderRightColor=ka(t,Yr,e.borderRightColor),this.borderBottomColor=ka(t,Jr,e.borderBottomColor),this.borderLeftColor=ka(t,Zr,e.borderLeftColor),this.borderTopLeftRadius=ka(t,ei,e.borderTopLeftRadius),this.borderTopRightRadius=ka(t,ni,e.borderTopRightRadius),this.borderBottomRightRadius=ka(t,ri,e.borderBottomRightRadius),this.borderBottomLeftRadius=ka(t,ii,e.borderBottomLeftRadius),this.borderTopStyle=ka(t,oi,e.borderTopStyle),this.borderRightStyle=ka(t,si,e.borderRightStyle),this.borderBottomStyle=ka(t,ci,e.borderBottomStyle),this.borderLeftStyle=ka(t,li,e.borderLeftStyle),this.borderTopWidth=ka(t,hi,e.borderTopWidth),this.borderRightWidth=ka(t,fi,e.borderRightWidth),this.borderBottomWidth=ka(t,di,e.borderBottomWidth),this.borderLeftWidth=ka(t,Ai,e.borderLeftWidth),this.boxShadow=ka(t,ga,e.boxShadow),this.color=ka(t,pi,e.color),this.direction=ka(t,gi,e.direction),this.display=ka(t,mi,e.display),this.float=ka(t,vi,e.cssFloat),this.fontFamily=ka(t,ia,e.fontFamily),this.fontSize=ka(t,aa,e.fontSize),this.fontStyle=ka(t,ca,e.fontStyle),this.fontVariant=ka(t,sa,e.fontVariant),this.fontWeight=ka(t,oa,e.fontWeight),this.letterSpacing=ka(t,yi,e.letterSpacing),this.lineBreak=ka(t,Ti,e.lineBreak),this.lineHeight=ka(t,ki,e.lineHeight),this.listStyleImage=ka(t,Ei,e.listStyleImage),this.listStylePosition=ka(t,xi,e.listStylePosition),this.listStyleType=ka(t,_i,e.listStyleType),this.marginTop=ka(t,Si,e.marginTop),this.marginRight=ka(t,Li,e.marginRight),this.marginBottom=ka(t,Ii,e.marginBottom),this.marginLeft=ka(t,Mi,e.marginLeft),this.opacity=ka(t,ea,e.opacity);var i=ka(t,Oi,e.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=ka(t,Ni,e.overflowWrap),this.paddingTop=ka(t,Fi,e.paddingTop),this.paddingRight=ka(t,Pi,e.paddingRight),this.paddingBottom=ka(t,Ri,e.paddingBottom),this.paddingLeft=ka(t,Qi,e.paddingLeft),this.paintOrder=ka(t,ma,e.paintOrder),this.position=ka(t,Hi,e.position),this.textAlign=ka(t,Ui,e.textAlign),this.textDecorationColor=ka(t,na,null!==(n=e.textDecorationColor)&&void 0!==n?n:e.color),this.textDecorationLine=ka(t,ra,null!==(r=e.textDecorationLine)&&void 0!==r?r:e.textDecoration),this.textShadow=ka(t,ji,e.textShadow),this.textTransform=ka(t,$i,e.textTransform),this.transform=ka(t,Ki,e.transform),this.transformOrigin=ka(t,Wi,e.transformOrigin),this.visibility=ka(t,Yi,e.visibility),this.webkitTextStrokeColor=ka(t,ba,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=ka(t,va,e.webkitTextStrokeWidth),this.wordBreak=ka(t,Ji,e.wordBreak),this.zIndex=ka(t,Zi,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},t.prototype.isTransparent=function(){return rr(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return 0!==this.position},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return 0!==this.float},t.prototype.isInlineLevel=function(){return la(this.display,4)||la(this.display,33554432)||la(this.display,268435456)||la(this.display,536870912)||la(this.display,67108864)||la(this.display,134217728)},t}(),wa=function(){function t(t,e){this.content=ka(t,ua,e.content),this.quotes=ka(t,Aa,e.quotes)}return t}(),Ta=function(){function t(t,e){this.counterIncrement=ka(t,ha,e.counterIncrement),this.counterReset=ka(t,fa,e.counterReset)}return t}(),ka=function(t,e,n){var r=new Sn,i=null!=n?n.toString():e.initialValue;r.write(i);var a=new Ln(r.read());switch(e.type){case 2:var o=a.parseComponentValue();return e.parse(t,On(o)?o.value:e.initialValue);case 0:return e.parse(t,a.parseComponentValue());case 1:return e.parse(t,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return Jn.parse(t,a.parseComponentValue());case"color":return nr.parse(t,a.parseComponentValue());case"image":return Pr.parse(t,a.parseComponentValue());case"length":var s=a.parseComponentValue();return Un(s)?s:$n;case"length-percentage":var c=a.parseComponentValue();return Hn(c)?c:$n;case"time":return ta.parse(t,a.parseComponentValue())}}},Ca="data-html2canvas-debug",Ea=function(t){switch(t.getAttribute(Ca)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},xa=function(t,e){var n=Ea(t);return 1===n||e===n},_a=function(){function t(t,e){this.context=t,this.textNodes=[],this.elements=[],this.flags=0,xa(e,3),this.styles=new ya(t,window.getComputedStyle(e,null)),ps(e)&&(this.styles.animationDuration.some((function(t){return t>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=s(this.context,e),xa(e,4)&&(this.flags|=16)}return t}(),Ba="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Sa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",La="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Ia=0;Ia<Sa.length;Ia++)La[Sa.charCodeAt(Ia)]=Ia;for(var Ma=function(t){var e,n,r,i,a,o=.75*t.length,s=t.length,c=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),u=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<s;e+=4)n=La[t.charCodeAt(e)],r=La[t.charCodeAt(e+1)],i=La[t.charCodeAt(e+2)],a=La[t.charCodeAt(e+3)],u[c++]=n<<2|r>>4,u[c++]=(15&r)<<4|i>>2,u[c++]=(3&i)<<6|63&a;return l},Oa=function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n.push(t[r+1]<<8|t[r]);return n},Na=function(t){for(var e=t.length,n=[],r=0;r<e;r+=4)n.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return n},Da=5,Fa=11,Pa=2,Ra=65536>>Da,Qa=(1<<Da)-1,Ua=Ra+(1024>>Da)+32,Ha=65536>>Fa,ja=(1<<Fa-Da)-1,$a=function(t,e,n){return t.slice?t.slice(e,n):new Uint16Array(Array.prototype.slice.call(t,e,n))},Ka=function(t,e,n){return t.slice?t.slice(e,n):new Uint32Array(Array.prototype.slice.call(t,e,n))},Ga=function(t,e){var n=Ma(t),r=Array.isArray(n)?Na(n):new Uint32Array(n),i=Array.isArray(n)?Oa(n):new Uint16Array(n),a=24,o=$a(i,a/2,r[4]/2),s=2===r[5]?$a(i,(a+r[4])/2):Ka(r,Math.ceil((a+r[4])/4));return new za(r[0],r[1],r[2],r[3],o,s)},za=function(){function t(t,e,n,r,i,a){this.initialValue=t,this.errorValue=e,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=a}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>Da])<<Pa)+(t&Qa),this.data[e];if(t<=65535)return e=((e=this.index[Ra+(t-55296>>Da)])<<Pa)+(t&Qa),this.data[e];if(t<this.highStart)return e=Ua-Ha+(t>>Fa),e=this.index[e],e+=t>>Da&ja,e=((e=this.index[e])<<Pa)+(t&Qa),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),Xa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qa="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Va=0;Va<Xa.length;Va++)qa[Xa.charCodeAt(Va)]=Va;var Wa,Ya=1,Ja=2,Za=3,to=4,eo=5,no=7,ro=8,io=9,ao=10,oo=11,so=12,co=13,lo=14,uo=15,ho=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=t.charCodeAt(n++);56320==(64512&a)?e.push(((1023&i)<<10)+(1023&a)+65536):(e.push(i),n--)}else e.push(i)}return e},fo=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var n=t.length;if(!n)return"";for(var r=[],i=-1,a="";++i<n;){var o=t[i];o<=65535?r.push(o):(o-=65536,r.push(55296+(o>>10),o%1024+56320)),(i+1===n||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},Ao=Ga(Ba),po="×",go="÷",mo=function(t){return Ao.get(t)},bo=function(t,e,n){var r=n-2,i=e[r],a=e[n-1],o=e[n];if(a===Ja&&o===Za)return po;if(a===Ja||a===Za||a===to)return go;if(o===Ja||o===Za||o===to)return go;if(a===ro&&-1!==[ro,io,oo,so].indexOf(o))return po;if(!(a!==oo&&a!==io||o!==io&&o!==ao))return po;if((a===so||a===ao)&&o===ao)return po;if(o===co||o===eo)return po;if(o===no)return po;if(a===Ya)return po;if(a===co&&o===lo){for(;i===eo;)i=e[--r];if(i===lo)return po}if(a===uo&&o===uo){for(var s=0;i===uo;)s++,i=e[--r];if(s%2==0)return po}return go},vo=function(t){var e=ho(t),n=e.length,r=0,i=0,a=e.map(mo);return{next:function(){if(r>=n)return{done:!0,value:null};for(var t=po;r<n&&(t=bo(e,a,++r))===po;);if(t!==po||r===n){var o=fo.apply(null,e.slice(i,r));return i=r,{value:o,done:!1}}return{done:!0,value:null}}}},yo=function(t){for(var e,n=vo(t),r=[];!(e=n.next()).done;)e.value&&r.push(e.value.slice());return r},wo=function(t){var e=123;if(t.createRange){var n=t.createRange();if(n.getBoundingClientRect){var r=t.createElement("boundtest");r.style.height=e+"px",r.style.display="block",t.body.appendChild(r),n.selectNode(r);var i=n.getBoundingClientRect(),a=Math.round(i.height);if(t.body.removeChild(r),a===e)return!0}}return!1},To=function(t){var e=t.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",t.body.appendChild(e);var n=t.createRange();e.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var r=e.firstChild,i=l(r.data).map((function(t){return u(t)})),a=0,o={},s=i.every((function(t,e){n.setStart(r,a),n.setEnd(r,a+t.length);var i=n.getBoundingClientRect();a+=t.length;var s=i.x>o.x||i.y>o.y;return o=i,0===e||s}));return t.body.removeChild(e),s},ko=function(){return void 0!==(new Image).crossOrigin},Co=function(){return"string"==typeof(new XMLHttpRequest).responseType},Eo=function(t){var e=new Image,n=t.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),n.toDataURL()}catch(t){return!1}return!0},xo=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},_o=function(t){var e=t.createElement("canvas"),n=100;e.width=n,e.height=n;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,a=e.toDataURL();i.src=a;var o=Bo(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),So(o).then((function(e){r.drawImage(e,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var o=t.createElement("div");return o.style.backgroundImage="url("+a+")",o.style.height=n+"px",xo(i)?So(Bo(n,n,0,0,o)):Promise.reject(!1)})).then((function(t){return r.drawImage(t,0,0),xo(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},Bo=function(t,e,n,r,i){var a="http://www.w3.org/2000/svg",o=document.createElementNS(a,"svg"),s=document.createElementNS(a,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(s),s.appendChild(i),o},So=function(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){return e(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},Lo={get SUPPORT_RANGE_BOUNDS(){var t=wo(document);return Object.defineProperty(Lo,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Lo.SUPPORT_RANGE_BOUNDS&&To(document);return Object.defineProperty(Lo,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=Eo(document);return Object.defineProperty(Lo,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?_o(document):Promise.resolve(!1);return Object.defineProperty(Lo,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=ko();return Object.defineProperty(Lo,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=Co();return Object.defineProperty(Lo,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Lo,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Lo,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},Io=function(){function t(t,e){this.text=t,this.bounds=e}return t}(),Mo=function(t,e,n,r){var i=Po(e,n),a=[],s=0;return i.forEach((function(e){if(n.textDecorationLine.length||e.trim().length>0)if(Lo.SUPPORT_RANGE_BOUNDS){var i=No(r,s,e.length).getClientRects();if(i.length>1){var c=Do(e),l=0;c.forEach((function(e){a.push(new Io(e,o.fromDOMRectList(t,No(r,l+s,e.length).getClientRects()))),l+=e.length}))}else a.push(new Io(e,o.fromDOMRectList(t,i)))}else{var u=r.splitText(e.length);a.push(new Io(e,Oo(t,r))),r=u}else Lo.SUPPORT_RANGE_BOUNDS||(r=r.splitText(e.length));s+=e.length})),a},Oo=function(t,e){var n=e.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var i=e.parentNode;if(i){i.replaceChild(r,e);var a=s(t,r);return r.firstChild&&i.replaceChild(r.firstChild,r),a}}return o.EMPTY},No=function(t,e,n){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(t,e),i.setEnd(t,e+n),i},Do=function(t){if(Lo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map((function(t){return t.segment}))}return yo(t)},Fo=function(t,e){if(Lo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(t)).map((function(t){return t.segment}))}return Qo(t,e)},Po=function(t,e){return 0!==e.letterSpacing?Do(t):Fo(t,e)},Ro=[32,160,4961,65792,65793,4153,4241],Qo=function(t,e){for(var n,r=jt(t,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),i=[],a=function(){if(n.value){var t=n.value.slice(),e=l(t),r="";e.forEach((function(t){-1===Ro.indexOf(t)?r+=u(t):(r.length&&i.push(r),i.push(u(t)),r="")})),r.length&&i.push(r)}};!(n=r.next()).done;)a();return i},Uo=function(){function t(t,e,n){this.text=Ho(e.data,n.textTransform),this.textBounds=Mo(t,this.text,n,e)}return t}(),Ho=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(jo,$o);case 2:return t.toUpperCase();default:return t}},jo=/(^|\s|:|-|\(|\))([a-z])/g,$o=function(t,e,n){return t.length>0?e+n.toUpperCase():t},Ko=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return e(n,t),n}(_a),Go=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return e(n,t),n}(_a),zo=function(t){function n(e,n){var r=t.call(this,e,n)||this,i=new XMLSerializer,a=s(e,n);return n.setAttribute("width",a.width+"px"),n.setAttribute("height",a.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return e(n,t),n}(_a),Xo=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.value=n.value,r}return e(n,t),n}(_a),qo=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.start=n.start,r.reversed="boolean"==typeof n.reversed&&!0===n.reversed,r}return e(n,t),n}(_a),Vo=[{type:15,flags:0,unit:"px",number:3}],Wo=[{type:16,flags:0,number:50}],Yo=function(t){return t.width>t.height?new o(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new o(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},Jo=function(t){var e=t.type===es?new Array(t.value.length+1).join("•"):t.value;return 0===e.length?t.placeholder||"":e},Zo="checkbox",ts="radio",es="password",ns=707406591,rs=function(t){function n(e,n){var r=t.call(this,e,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=Jo(n),r.type!==Zo&&r.type!==ts||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=Yo(r.bounds)),r.type){case Zo:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Vo;break;case ts:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Wo}return r}return e(n,t),n}(_a),is=function(t){function n(e,n){var r=t.call(this,e,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||"",r}return e(n,t),n}(_a),as=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.value=n.value,r}return e(n,t),n}(_a),os=function(t){function n(e,n){var r=t.call(this,e,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=us(e,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?hr(e,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):fr.TRANSPARENT,a=n.contentWindow.document.body?hr(e,getComputedStyle(n.contentWindow.document.body).backgroundColor):fr.TRANSPARENT;r.backgroundColor=rr(i)?rr(a)?r.styles.backgroundColor:a:i}}catch(t){}return r}return e(n,t),n}(_a),ss=["OL","UL","MENU"],cs=function(t,e,n,r){for(var i=e.firstChild,a=void 0;i;i=a)if(a=i.nextSibling,ds(i)&&i.data.trim().length>0)n.textNodes.push(new Uo(t,i,n.styles));else if(As(i))if(Is(i)&&i.assignedNodes)i.assignedNodes().forEach((function(e){return cs(t,e,n,r)}));else{var o=ls(t,i);o.styles.isVisible()&&(hs(i,o,r)?o.flags|=4:fs(o.styles)&&(o.flags|=2),-1!==ss.indexOf(i.tagName)&&(o.flags|=8),n.elements.push(o),i.slot,i.shadowRoot?cs(t,i.shadowRoot,o,r):Ss(i)||ws(i)||Ls(i)||cs(t,i,o,r))}},ls=function(t,e){return Es(e)?new Ko(t,e):ks(e)?new Go(t,e):ws(e)?new zo(t,e):ms(e)?new Xo(t,e):bs(e)?new qo(t,e):vs(e)?new rs(t,e):Ls(e)?new is(t,e):Ss(e)?new as(t,e):xs(e)?new os(t,e):new _a(t,e)},us=function(t,e){var n=ls(t,e);return n.flags|=4,cs(t,e,n,n),n},hs=function(t,e,n){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Ts(t)&&n.styles.isTransparent()},fs=function(t){return t.isPositioned()||t.isFloating()},ds=function(t){return t.nodeType===Node.TEXT_NODE},As=function(t){return t.nodeType===Node.ELEMENT_NODE},ps=function(t){return As(t)&&void 0!==t.style&&!gs(t)},gs=function(t){return"object"==typeof t.className},ms=function(t){return"LI"===t.tagName},bs=function(t){return"OL"===t.tagName},vs=function(t){return"INPUT"===t.tagName},ys=function(t){return"HTML"===t.tagName},ws=function(t){return"svg"===t.tagName},Ts=function(t){return"BODY"===t.tagName},ks=function(t){return"CANVAS"===t.tagName},Cs=function(t){return"VIDEO"===t.tagName},Es=function(t){return"IMG"===t.tagName},xs=function(t){return"IFRAME"===t.tagName},_s=function(t){return"STYLE"===t.tagName},Bs=function(t){return"SCRIPT"===t.tagName},Ss=function(t){return"TEXTAREA"===t.tagName},Ls=function(t){return"SELECT"===t.tagName},Is=function(t){return"SLOT"===t.tagName},Ms=function(t){return t.tagName.indexOf("-")>0},Os=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},t.prototype.pop=function(t){var e=this;t.forEach((function(t){return e.counters[t].pop()}))},t.prototype.parse=function(t){var e=this,n=t.counterIncrement,r=t.counterReset,i=!0;null!==n&&n.forEach((function(t){var n=e.counters[t.counter];n&&0!==t.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=t.increment)}));var a=[];return i&&r.forEach((function(t){var n=e.counters[t.counter];a.push(t.counter),n||(n=e.counters[t.counter]=[]),n.push(t.reset)})),a},t}(),Ns={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ds={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Fs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Ps={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Rs=function(t,e,n,r,i,a){return t<e||t>n?Ys(t,i,a.length>0):r.integers.reduce((function(e,n,i){for(;t>=n;)t-=n,e+=r.values[i];return e}),"")+a},Qs=function(t,e,n,r){var i="";do{n||t--,i=r(t)+i,t/=e}while(t*e>=e);return i},Us=function(t,e,n,r,i){var a=n-e+1;return(t<0?"-":"")+(Qs(Math.abs(t),a,r,(function(t){return u(Math.floor(t%a)+e)}))+i)},Hs=function(t,e,n){void 0===n&&(n=". ");var r=e.length;return Qs(Math.abs(t),r,!1,(function(t){return e[Math.floor(t%r)]}))+n},js=1,$s=2,Ks=4,Gs=8,zs=function(t,e,n,r,i,a){if(t<-9999||t>9999)return Ys(t,4,i.length>0);var o=Math.abs(t),s=i;if(0===o)return e[0]+s;for(var c=0;o>0&&c<=4;c++){var l=o%10;0===l&&la(a,js)&&""!==s?s=e[l]+s:l>1||1===l&&0===c||1===l&&1===c&&la(a,$s)||1===l&&1===c&&la(a,Ks)&&t>100||1===l&&c>1&&la(a,Gs)?s=e[l]+(c>0?n[c-1]:"")+s:1===l&&c>0&&(s=n[c-1]+s),o=Math.floor(o/10)}return(t<0?r:"")+s},Xs="十百千萬",qs="拾佰仟萬",Vs="マイナス",Ws="마이너스",Ys=function(t,e,n){var r=n?". ":"",i=n?"、":"",a=n?", ":"",o=n?" ":"";switch(e){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:var s=Us(t,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return Hs(t,"〇一二三四五六七八九",i);case 6:return Rs(t,1,3999,Ns,3,r).toLowerCase();case 7:return Rs(t,1,3999,Ns,3,r);case 8:return Us(t,945,969,!1,r);case 9:return Us(t,97,122,!1,r);case 10:return Us(t,65,90,!1,r);case 11:return Us(t,1632,1641,!0,r);case 12:case 49:return Rs(t,1,9999,Ds,3,r);case 35:return Rs(t,1,9999,Ds,3,r).toLowerCase();case 13:return Us(t,2534,2543,!0,r);case 14:case 30:return Us(t,6112,6121,!0,r);case 15:return Hs(t,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return Hs(t,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return zs(t,"零一二三四五六七八九",Xs,"負",i,$s|Ks|Gs);case 47:return zs(t,"零壹貳參肆伍陸柒捌玖",qs,"負",i,js|$s|Ks|Gs);case 42:return zs(t,"零一二三四五六七八九",Xs,"负",i,$s|Ks|Gs);case 41:return zs(t,"零壹贰叁肆伍陆柒捌玖",qs,"负",i,js|$s|Ks|Gs);case 26:return zs(t,"〇一二三四五六七八九","十百千万",Vs,i,0);case 25:return zs(t,"零壱弐参四伍六七八九","拾百千万",Vs,i,js|$s|Ks);case 31:return zs(t,"영일이삼사오육칠팔구","십백천만",Ws,a,js|$s|Ks);case 33:return zs(t,"零一二三四五六七八九","十百千萬",Ws,a,0);case 32:return zs(t,"零壹貳參四五六七八九","拾百千",Ws,a,js|$s|Ks);case 18:return Us(t,2406,2415,!0,r);case 20:return Rs(t,1,19999,Ps,3,r);case 21:return Us(t,2790,2799,!0,r);case 22:return Us(t,2662,2671,!0,r);case 22:return Rs(t,1,10999,Fs,3,r);case 23:return Hs(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Hs(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Us(t,3302,3311,!0,r);case 28:return Hs(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return Hs(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return Us(t,3792,3801,!0,r);case 37:return Us(t,6160,6169,!0,r);case 38:return Us(t,4160,4169,!0,r);case 39:return Us(t,2918,2927,!0,r);case 40:return Us(t,1776,1785,!0,r);case 43:return Us(t,3046,3055,!0,r);case 44:return Us(t,3174,3183,!0,r);case 45:return Us(t,3664,3673,!0,r);case 46:return Us(t,3872,3881,!0,r);default:return Us(t,48,57,!0,r)}},Js="data-html2canvas-ignore",Zs=function(){function t(t,e,n){if(this.context=t,this.options=n,this.scrolledElements=[],this.referenceElement=e,this.counters=new Os,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(t,e){var n=this,a=ec(t,e);if(!a.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset,c=a.contentWindow,l=c.document,u=ic(a).then((function(){return r(n,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(lc),c&&(c.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||c.scrollY===e.top&&c.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(c.scrollX-e.left,c.scrollY-e.top,0,0))),t=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,rc(l)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof t?[2,Promise.resolve().then((function(){return t(l,n)})).then((function(){return a}))]:[2,a]}}))}))}));return l.open(),l.write(sc(document.doctype)+"<html></html>"),cc(this.referenceElement.ownerDocument,o,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},t.prototype.createElementClone=function(t){if(xa(t,2),ks(t))return this.createCanvasClone(t);if(Cs(t))return this.createVideoClone(t);if(_s(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return Es(e)&&(Es(t)&&t.currentSrc&&t.currentSrc!==t.src&&(e.src=t.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Ms(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(t){var e=document.createElement("html2canvascustomelement");return oc(t.style,e),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var n=[].slice.call(e.cssRules,0).reduce((function(t,e){return e&&"string"==typeof e.cssText?t+e.cssText:t}),""),r=t.cloneNode(!1);return r.textContent=n,r}}catch(t){if(this.context.logger.error("Unable to access cssRules property",t),"SecurityError"!==t.name)throw t}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){var e;if(this.options.inlineImages&&t.ownerDocument){var n=t.ownerDocument.createElement("img");try{return n.src=t.toDataURL(),n}catch(e){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var r=t.cloneNode(!1);try{r.width=t.width,r.height=t.height;var i=t.getContext("2d"),a=r.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,t.width,t.height),0,0);else{var o=null!==(e=t.getContext("webgl2"))&&void 0!==e?e:t.getContext("webgl");if(o){var s=o.getContextAttributes();!1===(null==s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}a.drawImage(t,0,0)}return r}catch(e){this.context.logger.info("Unable to clone canvas as it is tainted",t)}return r},t.prototype.createVideoClone=function(t){var e=t.ownerDocument.createElement("canvas");e.width=t.offsetWidth,e.height=t.offsetHeight;var n=e.getContext("2d");try{return n&&(n.drawImage(t,0,0,e.width,e.height),this.options.allowTaint||n.getImageData(0,0,e.width,e.height)),e}catch(e){this.context.logger.info("Unable to clone video as it is tainted",t)}var r=t.ownerDocument.createElement("canvas");return r.width=t.offsetWidth,r.height=t.offsetHeight,r},t.prototype.appendChildNode=function(t,e,n){As(e)&&(Bs(e)||e.hasAttribute(Js)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&As(e)&&_s(e)||t.appendChild(this.cloneNode(e,n))},t.prototype.cloneChildNodes=function(t,e,n){for(var r=this,i=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;i;i=i.nextSibling)if(As(i)&&Is(i)&&"function"==typeof i.assignedNodes){var a=i.assignedNodes();a.length&&a.forEach((function(t){return r.appendChildNode(e,t,n)}))}else this.appendChildNode(e,i,n)},t.prototype.cloneNode=function(t,e){if(ds(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var n=t.ownerDocument.defaultView;if(n&&As(t)&&(ps(t)||gs(t))){var r=this.createElementClone(t);r.style.transitionProperty="none";var i=n.getComputedStyle(t),a=n.getComputedStyle(t,":before"),o=n.getComputedStyle(t,":after");this.referenceElement===t&&ps(r)&&(this.clonedReferenceElement=r),Ts(r)&&pc(r);var s=this.counters.parse(new Ta(this.context,i)),c=this.resolvePseudoContent(t,r,a,Wa.BEFORE);Ms(t)&&(e=!0),Cs(t)||this.cloneChildNodes(t,r,e),c&&r.insertBefore(c,r.firstChild);var l=this.resolvePseudoContent(t,r,o,Wa.AFTER);return l&&r.appendChild(l),this.counters.pop(s),(i&&(this.options.copyStyles||gs(t))&&!xs(t)||e)&&oc(i,r),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([r,t.scrollLeft,t.scrollTop]),(Ss(t)||Ls(t))&&(Ss(r)||Ls(r))&&(r.value=t.value),r}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,n,r){var i=this;if(n){var a=n.content,o=e.ownerDocument;if(o&&a&&"none"!==a&&"-moz-alt-content"!==a&&"none"!==n.display){this.counters.parse(new Ta(this.context,n));var s=new wa(this.context,n),c=o.createElement("html2canvaspseudoelement");oc(n,c),s.content.forEach((function(e){if(0===e.type)c.appendChild(o.createTextNode(e.value));else if(22===e.type){var n=o.createElement("img");n.src=e.value,n.style.opacity="1",c.appendChild(n)}else if(18===e.type){if("attr"===e.name){var r=e.values.filter(On);r.length&&c.appendChild(o.createTextNode(t.getAttribute(r[0].value)||""))}else if("counter"===e.name){var a=e.values.filter(Pn),l=a[0],u=a[1];if(l&&On(l)){var h=i.counters.getCounterValue(l.value),f=u&&On(u)?_i.parse(i.context,u.value):3;c.appendChild(o.createTextNode(Ys(h,f,!1)))}}else if("counters"===e.name){var d=e.values.filter(Pn),A=(l=d[0],d[1]);if(u=d[2],l&&On(l)){var p=i.counters.getCounterValues(l.value),g=u&&On(u)?_i.parse(i.context,u.value):3,m=A&&0===A.type?A.value:"",b=p.map((function(t){return Ys(t,g,!1)})).join(m);c.appendChild(o.createTextNode(b))}}}else if(20===e.type)switch(e.value){case"open-quote":c.appendChild(o.createTextNode(pa(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(pa(s.quotes,--i.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(e.value))}})),c.className=fc+" "+dc;var l=r===Wa.BEFORE?" "+fc:" "+dc;return gs(e)?e.className.baseValue+=l:e.className+=l,c}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(Wa||(Wa={}));var tc,ec=function(t,e){var n=t.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=e.width.toString(),n.height=e.height.toString(),n.scrolling="no",n.setAttribute(Js,"true"),t.body.appendChild(n),n},nc=function(t){return new Promise((function(e){t.complete?e():t.src?(t.onload=e,t.onerror=e):e()}))},rc=function(t){return Promise.all([].slice.call(t.images,0).map(nc))},ic=function(t){return new Promise((function(e,n){var r=t.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=t.onload=function(){r.onload=t.onload=null;var n=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),e(t))}),50)}}))},ac=["all","d","content"],oc=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t.item(n);-1===ac.indexOf(r)&&e.style.setProperty(r,t.getPropertyValue(r))}return e},sc=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},cc=function(t,e,n){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||n!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,n)},lc=function(t){var e=t[0],n=t[1],r=t[2];e.scrollLeft=n,e.scrollTop=r},uc=":before",hc=":after",fc="___html2canvas___pseudoelement_before",dc="___html2canvas___pseudoelement_after",Ac='{\n content: "" !important;\n display: none !important;\n}',pc=function(t){gc(t,"."+fc+uc+Ac+"\n ."+dc+hc+Ac)},gc=function(t,e){var n=t.ownerDocument;if(n){var r=n.createElement("style");r.textContent=e,t.appendChild(r)}},mc=function(){function t(){}return t.getOrigin=function(e){var n=t._link;return n?(n.href=e,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),bc=function(){function t(t,e){this.context=t,this._options=e,this._cache={}}return t.prototype.addImage=function(t){var e=Promise.resolve();return this.has(t)?e:Ec(t)||Tc(t)?((this._cache[t]=this.loadImage(t)).catch((function(){})),e):e},t.prototype.match=function(t){return this._cache[t]},t.prototype.loadImage=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o=this;return i(this,(function(i){switch(i.label){case 0:return e=mc.isSameOrigin(t),n=!kc(t)&&!0===this._options.useCORS&&Lo.SUPPORT_CORS_IMAGES&&!e,r=!kc(t)&&!e&&!Ec(t)&&"string"==typeof this._options.proxy&&Lo.SUPPORT_CORS_XHR&&!n,e||!1!==this._options.allowTaint||kc(t)||Ec(t)||r||n?(a=t,r?[4,this.proxy(a)]:[3,2]):[2];case 1:a=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise((function(t,e){var r=new Image;r.onload=function(){return t(r)},r.onerror=e,(Cc(a)||n)&&(r.crossOrigin="anonymous"),r.src=a,!0===r.complete&&setTimeout((function(){return t(r)}),500),o._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=t.substring(0,256);return new Promise((function(i,a){var o=Lo.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===o)i(s.response);else{var t=new FileReader;t.addEventListener("load",(function(){return i(t.result)}),!1),t.addEventListener("error",(function(t){return a(t)}),!1),t.readAsDataURL(s.response)}else a("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=a;var c=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+c+"url="+encodeURIComponent(t)+"&responseType="+o),"text"!==o&&s instanceof XMLHttpRequest&&(s.responseType=o),e._options.imageTimeout){var l=e._options.imageTimeout;s.timeout=l,s.ontimeout=function(){return a("Timed out ("+l+"ms) proxying "+r)}}s.send()}))},t}(),vc=/^data:image\/svg\+xml/i,yc=/^data:image\/.*;base64,/i,wc=/^data:image\/.*/i,Tc=function(t){return Lo.SUPPORT_SVG_DRAWING||!xc(t)},kc=function(t){return wc.test(t)},Cc=function(t){return yc.test(t)},Ec=function(t){return"blob"===t.substr(0,4)},xc=function(t){return"svg"===t.substr(-3).toLowerCase()||vc.test(t)},_c=function(){function t(t,e){this.type=0,this.x=t,this.y=e}return t.prototype.add=function(e,n){return new t(this.x+e,this.y+n)},t}(),Bc=function(t,e,n){return new _c(t.x+(e.x-t.x)*n,t.y+(e.y-t.y)*n)},Sc=function(){function t(t,e,n,r){this.type=1,this.start=t,this.startControl=e,this.endControl=n,this.end=r}return t.prototype.subdivide=function(e,n){var r=Bc(this.start,this.startControl,e),i=Bc(this.startControl,this.endControl,e),a=Bc(this.endControl,this.end,e),o=Bc(r,i,e),s=Bc(i,a,e),c=Bc(o,s,e);return n?new t(this.start,r,o,c):new t(c,s,a,this.end)},t.prototype.add=function(e,n){return new t(this.start.add(e,n),this.startControl.add(e,n),this.endControl.add(e,n),this.end.add(e,n))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Lc=function(t){return 1===t.type},Ic=function(){function t(t){var e=t.styles,n=t.bounds,r=zn(e.borderTopLeftRadius,n.width,n.height),i=r[0],a=r[1],o=zn(e.borderTopRightRadius,n.width,n.height),s=o[0],c=o[1],l=zn(e.borderBottomRightRadius,n.width,n.height),u=l[0],h=l[1],f=zn(e.borderBottomLeftRadius,n.width,n.height),d=f[0],A=f[1],p=[];p.push((i+s)/n.width),p.push((d+u)/n.width),p.push((a+A)/n.height),p.push((c+h)/n.height);var g=Math.max.apply(Math,p);g>1&&(i/=g,a/=g,s/=g,c/=g,u/=g,h/=g,d/=g,A/=g);var m=n.width-s,b=n.height-h,v=n.width-u,y=n.height-A,w=e.borderTopWidth,T=e.borderRightWidth,k=e.borderBottomWidth,C=e.borderLeftWidth,E=Xn(e.paddingTop,t.bounds.width),x=Xn(e.paddingRight,t.bounds.width),_=Xn(e.paddingBottom,t.bounds.width),B=Xn(e.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?Mc(n.left+C/3,n.top+w/3,i-C/3,a-w/3,tc.TOP_LEFT):new _c(n.left+C/3,n.top+w/3),this.topRightBorderDoubleOuterBox=i>0||a>0?Mc(n.left+m,n.top+w/3,s-T/3,c-w/3,tc.TOP_RIGHT):new _c(n.left+n.width-T/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=u>0||h>0?Mc(n.left+v,n.top+b,u-T/3,h-k/3,tc.BOTTOM_RIGHT):new _c(n.left+n.width-T/3,n.top+n.height-k/3),this.bottomLeftBorderDoubleOuterBox=d>0||A>0?Mc(n.left+C/3,n.top+y,d-C/3,A-k/3,tc.BOTTOM_LEFT):new _c(n.left+C/3,n.top+n.height-k/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?Mc(n.left+2*C/3,n.top+2*w/3,i-2*C/3,a-2*w/3,tc.TOP_LEFT):new _c(n.left+2*C/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||a>0?Mc(n.left+m,n.top+2*w/3,s-2*T/3,c-2*w/3,tc.TOP_RIGHT):new _c(n.left+n.width-2*T/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=u>0||h>0?Mc(n.left+v,n.top+b,u-2*T/3,h-2*k/3,tc.BOTTOM_RIGHT):new _c(n.left+n.width-2*T/3,n.top+n.height-2*k/3),this.bottomLeftBorderDoubleInnerBox=d>0||A>0?Mc(n.left+2*C/3,n.top+y,d-2*C/3,A-2*k/3,tc.BOTTOM_LEFT):new _c(n.left+2*C/3,n.top+n.height-2*k/3),this.topLeftBorderStroke=i>0||a>0?Mc(n.left+C/2,n.top+w/2,i-C/2,a-w/2,tc.TOP_LEFT):new _c(n.left+C/2,n.top+w/2),this.topRightBorderStroke=i>0||a>0?Mc(n.left+m,n.top+w/2,s-T/2,c-w/2,tc.TOP_RIGHT):new _c(n.left+n.width-T/2,n.top+w/2),this.bottomRightBorderStroke=u>0||h>0?Mc(n.left+v,n.top+b,u-T/2,h-k/2,tc.BOTTOM_RIGHT):new _c(n.left+n.width-T/2,n.top+n.height-k/2),this.bottomLeftBorderStroke=d>0||A>0?Mc(n.left+C/2,n.top+y,d-C/2,A-k/2,tc.BOTTOM_LEFT):new _c(n.left+C/2,n.top+n.height-k/2),this.topLeftBorderBox=i>0||a>0?Mc(n.left,n.top,i,a,tc.TOP_LEFT):new _c(n.left,n.top),this.topRightBorderBox=s>0||c>0?Mc(n.left+m,n.top,s,c,tc.TOP_RIGHT):new _c(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||h>0?Mc(n.left+v,n.top+b,u,h,tc.BOTTOM_RIGHT):new _c(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=d>0||A>0?Mc(n.left,n.top+y,d,A,tc.BOTTOM_LEFT):new _c(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||a>0?Mc(n.left+C,n.top+w,Math.max(0,i-C),Math.max(0,a-w),tc.TOP_LEFT):new _c(n.left+C,n.top+w),this.topRightPaddingBox=s>0||c>0?Mc(n.left+Math.min(m,n.width-T),n.top+w,m>n.width+T?0:Math.max(0,s-T),Math.max(0,c-w),tc.TOP_RIGHT):new _c(n.left+n.width-T,n.top+w),this.bottomRightPaddingBox=u>0||h>0?Mc(n.left+Math.min(v,n.width-C),n.top+Math.min(b,n.height-k),Math.max(0,u-T),Math.max(0,h-k),tc.BOTTOM_RIGHT):new _c(n.left+n.width-T,n.top+n.height-k),this.bottomLeftPaddingBox=d>0||A>0?Mc(n.left+C,n.top+Math.min(y,n.height-k),Math.max(0,d-C),Math.max(0,A-k),tc.BOTTOM_LEFT):new _c(n.left+C,n.top+n.height-k),this.topLeftContentBox=i>0||a>0?Mc(n.left+C+B,n.top+w+E,Math.max(0,i-(C+B)),Math.max(0,a-(w+E)),tc.TOP_LEFT):new _c(n.left+C+B,n.top+w+E),this.topRightContentBox=s>0||c>0?Mc(n.left+Math.min(m,n.width+C+B),n.top+w+E,m>n.width+C+B?0:s-C+B,c-(w+E),tc.TOP_RIGHT):new _c(n.left+n.width-(T+x),n.top+w+E),this.bottomRightContentBox=u>0||h>0?Mc(n.left+Math.min(v,n.width-(C+B)),n.top+Math.min(b,n.height+w+E),Math.max(0,u-(T+x)),h-(k+_),tc.BOTTOM_RIGHT):new _c(n.left+n.width-(T+x),n.top+n.height-(k+_)),this.bottomLeftContentBox=d>0||A>0?Mc(n.left+C+B,n.top+y,Math.max(0,d-(C+B)),A-(k+_),tc.BOTTOM_LEFT):new _c(n.left+C+B,n.top+n.height-(k+_))}return t}();!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(tc||(tc={}));var Mc=function(t,e,n,r,i){var a=(Math.sqrt(2)-1)/3*4,o=n*a,s=r*a,c=t+n,l=e+r;switch(i){case tc.TOP_LEFT:return new Sc(new _c(t,l),new _c(t,l-s),new _c(c-o,e),new _c(c,e));case tc.TOP_RIGHT:return new Sc(new _c(t,e),new _c(t+o,e),new _c(c,l-s),new _c(c,l));case tc.BOTTOM_RIGHT:return new Sc(new _c(c,e),new _c(c,e+s),new _c(t+o,l),new _c(t,l));case tc.BOTTOM_LEFT:default:return new Sc(new _c(c,l),new _c(c-o,l),new _c(t,e+s),new _c(t,e))}},Oc=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Nc=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Dc=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Fc=function(){function t(t,e,n){this.offsetX=t,this.offsetY=e,this.matrix=n,this.type=0,this.target=6}return t}(),Pc=function(){function t(t,e){this.path=t,this.target=e,this.type=1}return t}(),Rc=function(){function t(t){this.opacity=t,this.type=2,this.target=6}return t}(),Qc=function(t){return 0===t.type},Uc=function(t){return 1===t.type},Hc=function(t){return 2===t.type},jc=function(t,e){return t.length===e.length&&t.some((function(t,n){return t===e[n]}))},$c=function(t,e,n,r,i){return t.map((function(t,a){switch(a){case 0:return t.add(e,n);case 1:return t.add(e+r,n);case 2:return t.add(e+r,n+i);case 3:return t.add(e,n+i)}return t}))},Kc=function(){function t(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),Gc=function(){function t(t,e){if(this.container=t,this.parent=e,this.effects=[],this.curves=new Ic(this.container),this.container.styles.opacity<1&&this.effects.push(new Rc(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new Fc(n,r,i))}if(0!==this.container.styles.overflowX){var a=Oc(this.curves),o=Dc(this.curves);jc(a,o)?this.effects.push(new Pc(a,6)):(this.effects.push(new Pc(a,2)),this.effects.push(new Pc(o,4)))}}return t.prototype.getEffects=function(t){for(var e=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter((function(t){return!Uc(t)}));if(e||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),e=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var a=Oc(n.curves),o=Dc(n.curves);jc(a,o)||r.unshift(new Pc(o,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter((function(e){return la(e.target,t)}))},t}(),zc=function(t,e,n,r){t.container.elements.forEach((function(i){var a=la(i.flags,4),o=la(i.flags,2),s=new Gc(i,t);la(i.styles.display,2048)&&r.push(s);var c=la(i.flags,8)?[]:r;if(a||o){var l=a||i.styles.isPositioned()?n:e,u=new Kc(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var h=i.styles.zIndex.order;if(h<0){var f=0;l.negativeZIndex.some((function(t,e){return h>t.element.container.styles.zIndex.order?(f=e,!1):f>0})),l.negativeZIndex.splice(f,0,u)}else if(h>0){var d=0;l.positiveZIndex.some((function(t,e){return h>=t.element.container.styles.zIndex.order?(d=e+1,!1):d>0})),l.positiveZIndex.splice(d,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);zc(s,u,a?u:n,c)}else i.styles.isInlineLevel()?e.inlineLevel.push(s):e.nonInlineLevel.push(s),zc(s,e,n,c);la(i.flags,8)&&Xc(i,c)}))},Xc=function(t,e){for(var n=t instanceof qo?t.start:1,r=t instanceof qo&&t.reversed,i=0;i<e.length;i++){var a=e[i];a.container instanceof Xo&&"number"==typeof a.container.value&&0!==a.container.value&&(n=a.container.value),a.listValue=Ys(n,a.container.styles.listStyleType,!0),n+=r?-1:1}},qc=function(t){var e=new Gc(t,null),n=new Kc(e),r=[];return zc(e,n,n,r),Xc(e.container,r),n},Vc=function(t,e){switch(e){case 0:return tl(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return tl(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return tl(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return tl(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Wc=function(t,e){switch(e){case 0:return tl(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return tl(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return tl(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return tl(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Yc=function(t,e){switch(e){case 0:return tl(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return tl(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return tl(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return tl(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},Jc=function(t,e){switch(e){case 0:return Zc(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return Zc(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return Zc(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return Zc(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},Zc=function(t,e){var n=[];return Lc(t)?n.push(t.subdivide(.5,!1)):n.push(t),Lc(e)?n.push(e.subdivide(.5,!0)):n.push(e),n},tl=function(t,e,n,r){var i=[];return Lc(t)?i.push(t.subdivide(.5,!1)):i.push(t),Lc(n)?i.push(n.subdivide(.5,!0)):i.push(n),Lc(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),Lc(e)?i.push(e.subdivide(.5,!1).reverse()):i.push(e),i},el=function(t){var e=t.bounds,n=t.styles;return e.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},nl=function(t){var e=t.styles,n=t.bounds,r=Xn(e.paddingLeft,n.width),i=Xn(e.paddingRight,n.width),a=Xn(e.paddingTop,n.width),o=Xn(e.paddingBottom,n.width);return n.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+i),-(e.borderTopWidth+e.borderBottomWidth+a+o))},rl=function(t,e){return 0===t?e.bounds:2===t?nl(e):el(e)},il=function(t,e){return 0===t?e.bounds:2===t?nl(e):el(e)},al=function(t,e,n){var r=rl(ll(t.styles.backgroundOrigin,e),t),i=il(ll(t.styles.backgroundClip,e),t),a=cl(ll(t.styles.backgroundSize,e),n,r),o=a[0],s=a[1],c=zn(ll(t.styles.backgroundPosition,e),r.width-o,r.height-s);return[ul(ll(t.styles.backgroundRepeat,e),c,a,r,i),Math.round(r.left+c[0]),Math.round(r.top+c[1]),o,s]},ol=function(t){return On(t)&&t.value===Qr.AUTO},sl=function(t){return"number"==typeof t},cl=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=t[0],s=t[1];if(!o)return[0,0];if(Hn(o)&&s&&Hn(s))return[Xn(o,n.width),Xn(s,n.height)];var c=sl(a);if(On(o)&&(o.value===Qr.CONTAIN||o.value===Qr.COVER))return sl(a)?n.width/n.height<a!=(o.value===Qr.COVER)?[n.width,n.width/a]:[n.height*a,n.height]:[n.width,n.height];var l=sl(r),u=sl(i),h=l||u;if(ol(o)&&(!s||ol(s)))return l&&u?[r,i]:c||h?h&&c?[l?r:i*a,u?i:r/a]:[l?r:n.width,u?i:n.height]:[n.width,n.height];if(c){var f=0,d=0;return Hn(o)?f=Xn(o,n.width):Hn(s)&&(d=Xn(s,n.height)),ol(o)?f=d*a:s&&!ol(s)||(d=f/a),[f,d]}var A=null,p=null;if(Hn(o)?A=Xn(o,n.width):s&&Hn(s)&&(p=Xn(s,n.height)),null===A||s&&!ol(s)||(p=l&&u?A/r*i:n.height),null!==p&&ol(o)&&(A=l&&u?p/i*r:n.width),null!==A&&null!==p)return[A,p];throw new Error("Unable to calculate background-size for element")},ll=function(t,e){var n=t[e];return void 0===n?t[0]:n},ul=function(t,e,n,r,i){var a=e[0],o=e[1],s=n[0],c=n[1];switch(t){case 2:return[new _c(Math.round(r.left),Math.round(r.top+o)),new _c(Math.round(r.left+r.width),Math.round(r.top+o)),new _c(Math.round(r.left+r.width),Math.round(c+r.top+o)),new _c(Math.round(r.left),Math.round(c+r.top+o))];case 3:return[new _c(Math.round(r.left+a),Math.round(r.top)),new _c(Math.round(r.left+a+s),Math.round(r.top)),new _c(Math.round(r.left+a+s),Math.round(r.height+r.top)),new _c(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new _c(Math.round(r.left+a),Math.round(r.top+o)),new _c(Math.round(r.left+a+s),Math.round(r.top+o)),new _c(Math.round(r.left+a+s),Math.round(r.top+o+c)),new _c(Math.round(r.left+a),Math.round(r.top+o+c))];default:return[new _c(Math.round(i.left),Math.round(i.top)),new _c(Math.round(i.left+i.width),Math.round(i.top)),new _c(Math.round(i.left+i.width),Math.round(i.height+i.top)),new _c(Math.round(i.left),Math.round(i.height+i.top))]}},hl="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",fl="Hidden Text",dl=function(){function t(t){this._data={},this._document=t}return t.prototype.parseMetrics=function(t,e){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;n.style.visibility="hidden",n.style.fontFamily=t,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",a.appendChild(n),r.src=hl,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=t,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(fl)),n.appendChild(i),n.appendChild(r);var o=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(fl)),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return a.removeChild(n),{baseline:o,middle:s}},t.prototype.getMetrics=function(t,e){var n=t+" "+e;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(t,e)),this._data[n]},t}(),Al=function(){function t(t,e){this.context=t,this.options=e}return t}(),pl=1e4,gl=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new dl(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return e(n,t),n.prototype.applyEffects=function(t){for(var e=this;this._activeEffects.length;)this.popEffect();t.forEach((function(t){return e.applyEffect(t)}))},n.prototype.applyEffect=function(t){this.ctx.save(),Hc(t)&&(this.ctx.globalAlpha=t.opacity),Qc(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),Uc(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(t){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return t.element.container.styles.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(t){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return la(t.container.flags,16),t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(t)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(t,e,n){var r=this;0===e?this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n):Do(t.text).reduce((function(e,i){return r.ctx.fillText(i,e,t.bounds.top+n),e+r.ctx.measureText(i).width}),t.bounds.left)},n.prototype.createFontStyle=function(t){var e=t.fontVariant.filter((function(t){return"normal"===t||"small-caps"===t})).join(""),n=wl(t.fontFamily).join(", "),r=In(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,e,t.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(t,e){return r(this,void 0,void 0,(function(){var n,r,a,o,s,c,l,u,h=this;return i(this,(function(i){return n=this.createFontStyle(e),r=n[0],a=n[1],o=n[2],this.ctx.font=r,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(a,o),c=s.baseline,l=s.middle,u=e.paintOrder,t.textBounds.forEach((function(t){u.forEach((function(n){switch(n){case 0:h.ctx.fillStyle=ir(e.color),h.renderTextWithLetterSpacing(t,e.letterSpacing,c);var r=e.textShadow;r.length&&t.text.trim().length&&(r.slice(0).reverse().forEach((function(n){h.ctx.shadowColor=ir(n.color),h.ctx.shadowOffsetX=n.offsetX.number*h.options.scale,h.ctx.shadowOffsetY=n.offsetY.number*h.options.scale,h.ctx.shadowBlur=n.blur.number,h.renderTextWithLetterSpacing(t,e.letterSpacing,c)})),h.ctx.shadowColor="",h.ctx.shadowOffsetX=0,h.ctx.shadowOffsetY=0,h.ctx.shadowBlur=0),e.textDecorationLine.length&&(h.ctx.fillStyle=ir(e.textDecorationColor||e.color),e.textDecorationLine.forEach((function(e){switch(e){case 1:h.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top+c),t.bounds.width,1);break;case 2:h.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top),t.bounds.width,1);break;case 3:h.ctx.fillRect(t.bounds.left,Math.ceil(t.bounds.top+l),t.bounds.width,1)}})));break;case 1:e.webkitTextStrokeWidth&&t.text.trim().length&&(h.ctx.strokeStyle=ir(e.webkitTextStrokeColor),h.ctx.lineWidth=e.webkitTextStrokeWidth,h.ctx.lineJoin=window.chrome?"miter":"round",h.ctx.strokeText(t.text,t.bounds.left,t.bounds.top+c)),h.ctx.strokeStyle="",h.ctx.lineWidth=0,h.ctx.lineJoin="miter"}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(t,e,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var r=nl(t),i=Dc(e);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(t){return r(this,void 0,void 0,(function(){var e,r,a,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.getEffects(4)),e=t.container,r=t.curves,a=e.styles,s=0,c=e.textNodes,i.label=1;case 1:return s<c.length?(l=c[s],[4,this.renderTextNode(l,a)]):[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:if(!(e instanceof Ko))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.context.cache.match(e.src)];case 6:return b=i.sent(),this.renderReplacedElement(e,r,b),[3,8];case 7:return i.sent(),this.context.logger.error("Error loading image "+e.src),[3,8];case 8:if(e instanceof Go&&this.renderReplacedElement(e,r,e.canvas),!(e instanceof zo))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.context.cache.match(e.svg)];case 10:return b=i.sent(),this.renderReplacedElement(e,r,b),[3,12];case 11:return i.sent(),this.context.logger.error("Error loading svg "+e.svg.substring(0,255)),[3,12];case 12:return e instanceof os&&e.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree)]:[3,14];case 13:u=i.sent(),e.width&&e.height&&this.ctx.drawImage(u,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height),i.label=14;case 14:if(e instanceof rs&&(h=Math.min(e.bounds.width,e.bounds.height),e.type===Zo?e.checked&&(this.ctx.save(),this.path([new _c(e.bounds.left+.39363*h,e.bounds.top+.79*h),new _c(e.bounds.left+.16*h,e.bounds.top+.5549*h),new _c(e.bounds.left+.27347*h,e.bounds.top+.44071*h),new _c(e.bounds.left+.39694*h,e.bounds.top+.5649*h),new _c(e.bounds.left+.72983*h,e.bounds.top+.23*h),new _c(e.bounds.left+.84*h,e.bounds.top+.34085*h),new _c(e.bounds.left+.39363*h,e.bounds.top+.79*h)]),this.ctx.fillStyle=ir(ns),this.ctx.fill(),this.ctx.restore()):e.type===ts&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+h/2,e.bounds.top+h/2,h/4,0,2*Math.PI,!0),this.ctx.fillStyle=ir(ns),this.ctx.fill(),this.ctx.restore())),ml(e)&&e.value.length){switch(f=this.createFontStyle(a),y=f[0],d=f[1],A=this.fontMetrics.getMetrics(y,d).baseline,this.ctx.font=y,this.ctx.fillStyle=ir(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=vl(e.styles.textAlign),w=nl(e),p=0,e.styles.textAlign){case 1:p+=w.width/2;break;case 2:p+=w.width}g=w.add(p,0,0,-w.height/2+1),this.ctx.save(),this.path([new _c(w.left,w.top),new _c(w.left+w.width,w.top),new _c(w.left+w.width,w.top+w.height),new _c(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Io(e.value,g),a.letterSpacing,A),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!la(e.styles.display,2048))return[3,20];if(null===e.styles.listStyleImage)return[3,19];if(0!==(m=e.styles.listStyleImage).type)return[3,18];b=void 0,v=m.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.context.cache.match(v)];case 16:return b=i.sent(),this.ctx.drawImage(b,e.bounds.left-(b.width+10),e.bounds.top),[3,18];case 17:return i.sent(),this.context.logger.error("Error loading list-style-image "+v),[3,18];case 18:return[3,20];case 19:t.listValue&&-1!==e.styles.listStyleType&&(y=this.createFontStyle(a)[0],this.ctx.font=y,this.ctx.fillStyle=ir(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new o(e.bounds.left,e.bounds.top+Xn(e.styles.paddingTop,e.bounds.width),e.bounds.width,Ci(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Io(t.listValue,w),a.letterSpacing,Ci(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o,s,c,l,u,h,f,d,A,p,g;return i(this,(function(i){switch(i.label){case 0:return la(t.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:i.sent(),e=0,n=t.negativeZIndex,i.label=2;case 2:return e<n.length?(g=n[e],[4,this.renderStack(g)]):[3,5];case 3:i.sent(),i.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:i.sent(),r=0,a=t.nonInlineLevel,i.label=7;case 7:return r<a.length?(g=a[r],[4,this.renderNode(g)]):[3,10];case 8:i.sent(),i.label=9;case 9:return r++,[3,7];case 10:o=0,s=t.nonPositionedFloats,i.label=11;case 11:return o<s.length?(g=s[o],[4,this.renderStack(g)]):[3,14];case 12:i.sent(),i.label=13;case 13:return o++,[3,11];case 14:c=0,l=t.nonPositionedInlineLevel,i.label=15;case 15:return c<l.length?(g=l[c],[4,this.renderStack(g)]):[3,18];case 16:i.sent(),i.label=17;case 17:return c++,[3,15];case 18:u=0,h=t.inlineLevel,i.label=19;case 19:return u<h.length?(g=h[u],[4,this.renderNode(g)]):[3,22];case 20:i.sent(),i.label=21;case 21:return u++,[3,19];case 22:f=0,d=t.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return f<d.length?(g=d[f],[4,this.renderStack(g)]):[3,26];case 24:i.sent(),i.label=25;case 25:return f++,[3,23];case 26:A=0,p=t.positiveZIndex,i.label=27;case 27:return A<p.length?(g=p[A],[4,this.renderStack(g)]):[3,30];case 28:i.sent(),i.label=29;case 29:return A++,[3,27];case 30:return[2]}}))}))},n.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},n.prototype.formatPath=function(t){var e=this;t.forEach((function(t,n){var r=Lc(t)?t.start:t;0===n?e.ctx.moveTo(r.x,r.y):e.ctx.lineTo(r.x,r.y),Lc(t)&&e.ctx.bezierCurveTo(t.startControl.x,t.startControl.y,t.endControl.x,t.endControl.y,t.end.x,t.end.y)}))},n.prototype.renderRepeat=function(t,e,n,r){this.path(t),this.ctx.fillStyle=e,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(t,e,n){var r;if(t.width===e&&t.height===n)return t;var i=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return i.width=Math.max(1,e),i.height=Math.max(1,n),i.getContext("2d").drawImage(t,0,0,t.width,t.height,0,0,e,n),i},n.prototype.renderBackgroundImage=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o,s;return i(this,(function(c){switch(c.label){case 0:e=t.styles.backgroundImage.length-1,n=function(n){var a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I,M,O,N,D;return i(this,(function(i){switch(i.label){case 0:if(0!==n.type)return[3,5];a=void 0,o=n.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.context.cache.match(o)];case 2:return a=i.sent(),[3,4];case 3:return i.sent(),r.context.logger.error("Error loading background-image "+o),[3,4];case 4:return a&&(s=al(t,e,[a.width,a.height,a.width/a.height]),y=s[0],x=s[1],_=s[2],k=s[3],C=s[4],b=r.ctx.createPattern(r.resizeImage(a,k,C),"repeat"),r.renderRepeat(y,b,x,_)),[3,6];case 5:Dr(n)?(c=al(t,e,[null,null,null]),y=c[0],x=c[1],_=c[2],k=c[3],C=c[4],l=br(n.angle,k,C),u=l[0],h=l[1],f=l[2],d=l[3],A=l[4],(p=document.createElement("canvas")).width=k,p.height=C,g=p.getContext("2d"),m=g.createLinearGradient(h,d,f,A),gr(n.stops,u).forEach((function(t){return m.addColorStop(t.stop,ir(t.color))})),g.fillStyle=m,g.fillRect(0,0,k,C),k>0&&C>0&&(b=r.ctx.createPattern(p,"repeat"),r.renderRepeat(y,b,x,_))):Fr(n)&&(v=al(t,e,[null,null,null]),y=v[0],w=v[1],T=v[2],k=v[3],C=v[4],E=0===n.position.length?[Kn]:n.position,x=Xn(E[0],k),_=Xn(E[E.length-1],C),B=wr(n,x,_,k,C),S=B[0],L=B[1],S>0&&L>0&&(I=r.ctx.createRadialGradient(w+x,T+_,0,w+x,T+_,S),gr(n.stops,2*S).forEach((function(t){return I.addColorStop(t.stop,ir(t.color))})),r.path(y),r.ctx.fillStyle=I,S!==L?(M=t.bounds.left+.5*t.bounds.width,O=t.bounds.top+.5*t.bounds.height,D=1/(N=L/S),r.ctx.save(),r.ctx.translate(M,O),r.ctx.transform(1,0,0,N,0,0),r.ctx.translate(-M,-O),r.ctx.fillRect(w,D*(T-O)+O,k,C*D),r.ctx.restore()):r.ctx.fill())),i.label=6;case 6:return e--,[2]}}))},r=this,a=0,o=t.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return a<o.length?(s=o[a],[5,n(s)]):[3,4];case 2:c.sent(),c.label=3;case 3:return a++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(t,e,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){return this.path(Vc(n,e)),this.ctx.fillStyle=ir(t),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(t,e,n,a){return r(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:return e<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return i.sent(),[2];case 2:return r=Wc(a,n),this.path(r),this.ctx.fillStyle=ir(t),this.ctx.fill(),o=Yc(a,n),this.path(o),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(t){return r(this,void 0,void 0,(function(){var e,n,r,a,o,s,c,l,u=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(t.getEffects(2)),e=t.container.styles,n=!rr(e.backgroundColor)||e.backgroundImage.length,r=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],a=bl(ll(e.backgroundClip,0),t.curves),n||e.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),rr(e.backgroundColor)||(this.ctx.fillStyle=ir(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach((function(e){u.ctx.save();var n=Oc(t.curves),r=e.inset?0:pl,i=$c(n,-r+(e.inset?1:-1)*e.spread.number,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(u.path(n),u.ctx.clip(),u.mask(i)):(u.mask(n),u.ctx.clip(),u.path(i)),u.ctx.shadowOffsetX=e.offsetX.number+r,u.ctx.shadowOffsetY=e.offsetY.number,u.ctx.shadowColor=ir(e.color),u.ctx.shadowBlur=e.blur.number,u.ctx.fillStyle=e.inset?ir(e.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),i.label=2;case 2:o=0,s=0,c=r,i.label=3;case 3:return s<c.length?0!==(l=c[s]).style&&!rr(l.color)&&l.width>0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,2)]:[3,11]:[3,13];case 4:return i.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,3)];case 6:return i.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,t.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,t.curves)];case 10:i.sent(),i.label=11;case 11:o++,i.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(t,e,n,a,o){return r(this,void 0,void 0,(function(){var r,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;return i(this,(function(i){return this.ctx.save(),r=Jc(a,n),s=Vc(a,n),2===o&&(this.path(s),this.ctx.clip()),Lc(s[0])?(c=s[0].start.x,l=s[0].start.y):(c=s[0].x,l=s[0].y),Lc(s[1])?(u=s[1].end.x,h=s[1].end.y):(u=s[1].x,h=s[1].y),f=0===n||2===n?Math.abs(c-u):Math.abs(l-h),this.ctx.beginPath(),3===o?this.formatPath(r):this.formatPath(s.slice(0,2)),d=e<3?3*e:2*e,A=e<3?2*e:e,3===o&&(d=e,A=e),p=!0,f<=2*d?p=!1:f<=2*d+A?(d*=g=f/(2*d+A),A*=g):(m=Math.floor((f+A)/(d+A)),b=(f-m*d)/(m-1),A=(v=(f-(m+1)*d)/m)<=0||Math.abs(A-b)<Math.abs(A-v)?b:v),p&&(3===o?this.ctx.setLineDash([0,d+A]):this.ctx.setLineDash([d,A])),3===o?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=ir(t),this.ctx.stroke(),this.ctx.setLineDash([]),2===o&&(Lc(s[0])&&(y=s[3],w=s[0],this.ctx.beginPath(),this.formatPath([new _c(y.end.x,y.end.y),new _c(w.start.x,w.start.y)]),this.ctx.stroke()),Lc(s[1])&&(y=s[1],w=s[2],this.ctx.beginPath(),this.formatPath([new _c(y.end.x,y.end.y),new _c(w.start.x,w.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(t){return r(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ir(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),e=qc(t),[4,this.renderStack(e)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(Al),ml=function(t){return t instanceof as||t instanceof is||t instanceof rs&&t.type!==ts&&t.type!==Zo},bl=function(t,e){switch(t){case 0:return Oc(e);case 2:return Nc(e);default:return Dc(e)}},vl=function(t){switch(t){case 1:return"center";case 2:return"right";default:return"left"}},yl=["-apple-system","system-ui"],wl=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter((function(t){return-1===yl.indexOf(t)})):t},Tl=function(t){function n(e,n){var r=t.call(this,e,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return e(n,t),n.prototype.render=function(t){return r(this,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:return e=Bo(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,kl(e)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ir(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(Al),kl=function(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},Cl=function(){function t(t){var e=t.id,n=t.enabled;this.id=e,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,a([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,a([this.id,this.getTime()+"ms"],t))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,a([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,a([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.instances={},t}(),El=function(){function t(e,n){var r;this.windowBounds=n,this.instanceName="#"+t.instanceCount++,this.logger=new Cl({id:this.instanceName,enabled:e.logging}),this.cache=null!==(r=e.cache)&&void 0!==r?r:new bc(this,e)}return t.instanceCount=1,t}(),xl=function(t,e){return void 0===e&&(e={}),_l(t,e)};"undefined"!=typeof window&&mc.setContext(window);var _l=function(t,e){return r(void 0,void 0,void 0,(function(){var r,a,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I,M,O,N,D,F,P,R,Q,U,H,j,$,K;return i(this,(function(i){switch(i.label){case 0:if(!t||"object"!=typeof t)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=t.ownerDocument))throw new Error("Element is not attached to a Document");if(!(a=r.defaultView))throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(B=e.allowTaint)&&void 0!==B&&B,imageTimeout:null!==(S=e.imageTimeout)&&void 0!==S?S:15e3,proxy:e.proxy,useCORS:null!==(L=e.useCORS)&&void 0!==L&&L},u=n({logging:null===(I=e.logging)||void 0===I||I,cache:e.cache},l),h={windowWidth:null!==(M=e.windowWidth)&&void 0!==M?M:a.innerWidth,windowHeight:null!==(O=e.windowHeight)&&void 0!==O?O:a.innerHeight,scrollX:null!==(N=e.scrollX)&&void 0!==N?N:a.pageXOffset,scrollY:null!==(D=e.scrollY)&&void 0!==D?D:a.pageYOffset},f=new o(h.scrollX,h.scrollY,h.windowWidth,h.windowHeight),d=new El(u,f),A=null!==(F=e.foreignObjectRendering)&&void 0!==F&&F,p={allowTaint:null!==(P=e.allowTaint)&&void 0!==P&&P,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:A,copyStyles:A},d.logger.debug("Starting document clone with size "+f.width+"x"+f.height+" scrolled to "+-f.left+","+-f.top),g=new Zs(d,t,p),(m=g.clonedReferenceElement)?[4,g.toIFrame(r,f)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return b=i.sent(),v=Ts(m)||ys(m)?c(m.ownerDocument):s(d,m),y=v.width,w=v.height,T=v.left,k=v.top,C=Bl(d,m,e.backgroundColor),E={canvas:e.canvas,backgroundColor:C,scale:null!==(Q=null!==(R=e.scale)&&void 0!==R?R:a.devicePixelRatio)&&void 0!==Q?Q:1,x:(null!==(U=e.x)&&void 0!==U?U:0)+T,y:(null!==(H=e.y)&&void 0!==H?H:0)+k,width:null!==(j=e.width)&&void 0!==j?j:Math.ceil(y),height:null!==($=e.height)&&void 0!==$?$:Math.ceil(w)},A?(d.logger.debug("Document cloned, using foreign object rendering"),[4,new Tl(d,E).render(m)]):[3,3];case 2:return x=i.sent(),[3,5];case 3:return d.logger.debug("Document cloned, element located at "+T+","+k+" with size "+y+"x"+w+" using computed rendering"),d.logger.debug("Starting DOM parsing"),_=us(d,m),C===_.styles.backgroundColor&&(_.styles.backgroundColor=fr.TRANSPARENT),d.logger.debug("Starting renderer for element at "+E.x+","+E.y+" with size "+E.width+"x"+E.height),[4,new gl(d,E).render(_)];case 4:x=i.sent(),i.label=5;case 5:return(null===(K=e.removeContainer)||void 0===K||K)&&(Zs.destroy(b)||d.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),d.logger.debug("Finished rendering"),[2,x]}}))}))},Bl=function(t,e,n){var r=e.ownerDocument,i=r.documentElement?hr(t,getComputedStyle(r.documentElement).backgroundColor):fr.TRANSPARENT,a=r.body?hr(t,getComputedStyle(r.body).backgroundColor):fr.TRANSPARENT,o="string"==typeof n?hr(t,n):null===n?fr.TRANSPARENT:4294967295;return e===r.documentElement?rr(i)?rr(a)?o:a:i:o};return xl}()})),_k=function(t,e){var n=t.cloneNode(!0);n.className=n.className.replace("cherry-previewer--hidden",""),n.style.width="100%";var r=n.querySelectorAll("mjx-assistive-mml");ao(r).call(r,(function(t){t instanceof HTMLElement&&t.style.setProperty("visibility","hidden")}));var i=document.createElement("div");i.appendChild(n);var a=function(){var t,e=[];return ao(t=kh(document.body.children)).call(t,(function(t,n){e[n]=t.style.display,t.style.display="none"})),e}();document.body.appendChild(i);var o=document.body.style.overflow;document.body.style.overflow="visible",e(n,(function(){i.remove(),function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];ao(t=kh(document.body.children)).call(t,(function(t,n){void 0!==e[n]&&(t.style.display=e[n])}))}(a),document.body.style.overflow=o}))};function Bk(t,e){_k(t,(function(t,n){window.scrollTo(0,0),xk(t,{allowTaint:!0,height:t.clientHeight,width:t.clientWidth,scrollY:0,scrollX:0}).then((function(t){!function(t,e){var n=document.createElement("a");n.style.display="none",n.href=t,n.download="".concat(e,".png"),document.body.appendChild(n),n.click(),document.body.removeChild(n)}(t.toDataURL("image/jpeg"),e),n()}))}))}var Sk=Yt.f,Lk=T(Sk),Ik=T([].push),Mk=qt&&h((function(){var t=Object.create(null);return t[2]=2,!Lk(t,2)})),Ok=function(t){return function(e){for(var n,r=Zt(e),i=xn(r),a=Mk&&null===ba(r),o=i.length,s=0,c=[];o>s;)n=i[s++],qt&&!(a?n in r:Lk(r,n))||Ik(c,t?[n,r[n]]:r[n]);return c}},Nk={entries:Ok(!0),values:Ok(!1)},Dk=Nk.values;jn({target:"Object",stat:!0},{values:function(t){return Dk(t)}});var Fk=X.Object.values,Pk=Nk.entries;jn({target:"Object",stat:!0},{entries:function(t){return Pk(t)}});var Rk=X.Object.entries,Qk={mouseResize:{},getImgPosition:function(){var t=this.img.getBoundingClientRect(),e=this.previewerDom.parentNode.getBoundingClientRect(),n=$f(this.img.style.padding)||0;return{bottom:t.bottom-e.bottom,top:t.top-e.top+1.5*n,height:t.height,width:t.width,right:t.right-e.right,left:t.left-e.left+1.5*n,x:t.x-e.x,y:t.y-e.y}},initBubbleButtons:function(){var t=this.getImgPosition();return{points:{arr:["leftTop","leftBottom","rightTop","rightBottom","leftMiddle","middleBottom","middleTop","rightMiddle"],arrInfo:{leftTop:{name:"20",left:0,top:0},leftBottom:{name:"00",left:0,top:0},rightTop:{name:"22",left:0,top:0},rightBottom:{name:"02",left:0,top:0},leftMiddle:{name:"10",left:0,top:0},middleBottom:{name:"01",left:0,top:0},middleTop:{name:"21",left:0,top:0},rightMiddle:{name:"12",left:0,top:0}}},imgSrc:this.img.src,style:{width:this.img.width,height:this.img.height,left:t.left-1,top:t.top-1,marginTop:0,marginLeft:0},scrollTop:this.previewerDom.scrollTop,position:t}},showBubble:function(t,e,n){this.$isResizing()||(this.img=t,this.previewerDom=n,this.container=e,this.buts=this.initBubbleButtons(),this.drawBubbleButs())},emit:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t){case"mousedown":return this.resizeBegin(e);case"mouseup":return this.resizeStop(e);case"mousemove":return this.resizeWorking(e);case"scroll":return this.dealScroll(e);case"remove":return this.remove();case"previewUpdate":return this.previewUpdate(e)}},previewUpdate:function(t){this.$isResizing()||(this.remove(),t())},drawBubbleButs:function(){var t,e=this;return this.butsLayout||(this.butsLayout=this.container,this.butsImg=document.createElement("div"),this.butsImg.className="cherry-previewer-img-size-handler__background",this.butsImg.style.backgroundImage="url(".concat(this.buts.imgSrc,")"),this.butsLayout.appendChild(this.butsImg),this.butsPoints={},ao(t=ar(this.buts.points.arr)).call(t,(function(t){var n=e.buts.points.arr[t],r=document.createElement("div");r.className=["cherry-previewer-img-size-handler__points","cherry-previewer-img-size-handler__points-".concat(n)].join(" "),r.dataset.name=n,e.butsLayout.appendChild(r),e.butsPoints["pints-".concat(n)]=r}))),this.updateBubbleButs()},remove:function(){this.butsLayout=!1},updateBubbleButs:function(){var t,e,n=this;this.$updatePointsInfo(),ao(t=ar(this.buts.style)).call(t,(function(t){n.butsLayout.style[t]="".concat(n.buts.style[t],"px")})),ao(e=ar(this.buts.points.arr)).call(e,(function(t){var e=n.buts.points.arr[t];n.butsPoints["pints-".concat(e)].style.top="".concat(n.buts.points.arrInfo[e].top,"px"),n.butsPoints["pints-".concat(e)].style.left="".concat(n.buts.points.arrInfo[e].left,"px")}))},$updatePointsInfo:function(){var t,e=this,n=this.buts.style.width,r=this.buts.style.height,i=this.$getPointsInfo(n,r);ao(t=ar(this.buts.points.arr)).call(t,(function(t){var n=e.buts.points.arr[t];e.buts.points.arrInfo[n].left!==i[n].left&&(e.buts.points.arrInfo[n].left=i[n].left),e.buts.points.arrInfo[n].top!==i[n].top&&(e.buts.points.arrInfo[n].top=i[n].top)}))},$getPointsInfo:function(t,e){return{leftTop:{left:0,top:0},leftBottom:{left:0,top:e},rightTop:{left:t,top:0},rightBottom:{left:t,top:e},leftMiddle:{left:0,top:e/2},middleBottom:{left:t/2,top:e},middleTop:{left:t/2,top:0},rightMiddle:{left:t,top:e/2}}},$isResizing:function(){return this.mouseResize.resize},dealScroll:function(t){var e=this.getImgPosition();this.butsLayout.style.marginTop!==e.top-this.buts.position.top&&(this.butsLayout.style.marginTop="".concat(e.top-this.buts.position.top,"px"),this.buts.style.marginTop="".concat(e.top-this.buts.position.top,"px")),this.butsLayout.style.marginLeft!==e.left-this.buts.position.left&&(this.butsLayout.style.marginLeft="".concat(e.left-this.buts.position.left,"px"),this.buts.style.marginLeft="".concat(e.left-this.buts.position.left,"px"))},initMouse:function(){return{left:0,top:0,resize:!1,name:""}},resizeBegin:function(t){var e=t.target;if(!e.classList.contains("cherry-previewer-img-size-handler__points"))return!1;this.mouseResize.left=t.clientX,this.mouseResize.top=t.clientY,this.mouseResize.resize=!0,this.mouseResize.name=e.getAttribute("data-name"),this.previewerDom.classList.add("doing-resize-img")},resizeStop:function(t,e,n,r){if(!this.$isResizing())return!1;this.img.style.width="".concat(this.buts.style.width,"px"),this.img.style.height="".concat(this.buts.style.height,"px"),this.buts.style.marginTop=0,this.buts.style.marginLeft=0,this.updateBubbleButs(),this.mouseResize.resize=!1,this.previewerDom.classList.remove("doing-resize-img"),this.change()},resizeWorking:function(t,e){if(this.$isResizing()){var n=t.clientX-this.mouseResize.left,r=t.clientY-this.mouseResize.top,i={};switch(this.mouseResize.name){case"leftTop":case"leftBottom":case"leftMiddle":i=this.$getChange(n,r,"x"),this.buts.style.width=this.buts.position.width-i.changeX,"leftMiddle"!==this.mouseResize.name&&(this.buts.style.height=this.buts.position.height-i.changeY);break;case"rightTop":case"rightBottom":case"rightMiddle":i=this.$getChange(n,r,"x"),this.buts.style.width=this.buts.position.width+i.changeX,"rightMiddle"!==this.mouseResize.name&&(this.buts.style.height=this.buts.position.height+i.changeY);break;case"middleTop":i=this.$getChange(n,r,"y"),this.buts.style.height=this.buts.position.height-i.changeY;break;case"middleBottom":i=this.$getChange(n,r,"y"),this.buts.style.height=this.buts.position.height+i.changeY}this.updateBubbleButs(),this.change()}},change:function(){this.emitChange(this.img,{width:this.buts.style.width,height:this.buts.style.height})},bindChange:function(t){this.emitChange=t},$getChange:function(t,e,n){var r={changeX:0,changeY:0};if("y"===n)r.changeY=e,r.changeX=e*this.buts.position.width/this.buts.position.height;else r.changeX=t,r.changeY=t*this.buts.position.height/this.buts.position.width;return r}},Uk=Qk,Hk=qr.every,jk=Ja("every");jn({target:"Array",proto:!0,forced:!jk},{every:function(t){return Hk(this,t,arguments.length>1?arguments[1]:void 0)}});var $k=Wi("Array").every,Kk=Array.prototype,Gk=function(t){var e=t.every;return t===Kk||ct(Kk,t)&&e===Kk.every?$k:e},zk=Gk,Xk=function(t,e,n,r,i,a,o,s){for(var c,l,u=i,h=0,f=!!o&&Se(o,s);h<r;)h in n&&(c=f?f(n[h],h,e):n[h],a>0&&Mr(c)?(l=bn(c),u=Xk(t,e,c,l,u,a-1)-1):(To(u+1),t[u]=c),u++),h++;return u},qk=Xk;jn({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=_t(this),n=bn(e),r=Fr(e,0);return r.length=qk(r,e,e,n,0,void 0===t?1:fn(t)),r}}),Ha();var Vk=Wi("Array").flat,Wk=Array.prototype,Yk=function(t){var e=t.flat;return t===Wk||ct(Wk,t)&&e===Wk.flat?Vk:e},Jk=Yk,Zk=function(){function t(e,n,r,i,a){bo(this,t),Ms(this,"tableEditor",{info:{},tableCodes:[],editorDom:{}}),this.trigger=e,this.target=n,this.previewerDom=i,this.container=r,this.codeMirror=a,this.$initReg(),this.$findTableInEditor()}return hs(t,[{key:"emit",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};switch(t){case"keyup":return"click"===this.trigger&&this.$onInputChange(e);case"remove":return this.$remove();case"scroll":case"previewUpdate":return this.$refreshPosition();case"mouseup":return"click"===this.trigger&&this.$tryRemoveMe(e,n)}}},{key:"$tryRemoveMe",value:function(t,e){/textarea/i.test(t.target.tagName)||(this.$remove(),e())}},{key:"$getPosition",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tableEditor.info.tdNode).getBoundingClientRect(),e=this.previewerDom.parentNode.getBoundingClientRect();return{top:t.top-e.top,height:t.height,width:t.width,left:t.left-e.left,maxHeight:e.height}}},{key:"setStyle",value:function(t,e,n){t.getBoundingClientRect()[e]!==n&&(t.style[e]=n)}},{key:"$setInputOffset",value:function(){var t=this.$getPosition(),e=this.tableEditor.editorDom.inputDiv;this.setStyle(e,"width","".concat(t.width,"px")),this.setStyle(e,"height","".concat(t.height,"px")),this.setStyle(e,"top","".concat(t.top,"px")),this.setStyle(e,"left","".concat(t.left,"px"));var n=t.top>=0&&t.top+t.height<=t.maxHeight;this.setStyle(e,"display",n?"":"none")}},{key:"$setSymbolOffset",value:function(){var t,e=this,n=this.tableEditor.editorDom.symbolContainer,r=this.tableEditor.info,i=r.tableNode,a=r.trNode,o=r.isTHead,s=this.$getPosition(i),c=this.$getPosition(a),l=this.$getPosition(),u=this.previewerDom.getBoundingClientRect();this.setStyle(this.container,"width","".concat(s.width,"px")),this.setStyle(this.container,"height","".concat(s.height,"px")),this.setStyle(this.container,"top","".concat(s.top,"px")),this.setStyle(this.container,"left","".concat(s.left,"px"));ao(t=n.childNodes).call(t,(function(t){var n,r=t.dataset,i=r.index,a=r.type,h=r.dir,f=20,d=7;e.setStyle(t,{Row:["left","right"],Col:["top","bottom"]}[h][i],"-".concat(f,"px")),e.setStyle(t,"display","");var A={LastRow:function(){return e.setStyle(t,"top","".concat(c.top-s.top-d,"px"))},NextRow:function(){return e.setStyle(t,"top","".concat(c.top-s.top+c.height-d,"px"))},LastCol:function(){return e.setStyle(t,"left","".concat(l.left-s.left-d,"px"))},NextCol:function(){return e.setStyle(t,"left","".concat(l.left-s.left+l.width-d,"px"))}},p=Fs(n="".concat(a)).call(n,h);A[p](),e.setStyle(t,"display",function(t){var e,n=t.getBoundingClientRect(),r={top:[u.top,u.top+u.height-n.height],left:[u.left,u.left+u.width-n.width]};return zk(e=Rk(r)).call(e,(function(t){var e=wf(t,2),r=e[0],i=wf(e[1],2),a=i[0],o=i[1];return n[r]>=a&&n[r]<=o}))}(t)?"":"none"),o&&"LastRow"===p&&e.setStyle(t,"display","none")}))}},{key:"$refreshPosition",value:function(){"click"!==this.trigger?this.$setSymbolOffset():this.$setInputOffset()}},{key:"$remove",value:function(){this.tableEditor={info:{},tableCodes:[],editorDom:{}}}},{key:"$collectTableCode",value:function(){var t=[];this.codeMirror.getValue().replace(this.codeBlockReg,(function(t){return t.replace(/\|/g,".")})).replace(this.tableReg,(function(e){var n,r=e.replace(/^\n*/,""),i=((n=(arguments.length<=1?0:arguments.length-1)-2+1)<1||arguments.length<=n?void 0:arguments[n])+e.match(/^\n*/)[0].length;t.push({code:r,offset:i})})),this.tableEditor.tableCodes=t}},{key:"$collectTableDom",value:function(){var t,e,n,r=kh(this.previewerDom.querySelectorAll("table.cherry-table")),i=this.$getClosestNode(this.target,"TABLE");if(!1===i)return!1;var a=ta(t=kh(this.target.parentElement.childNodes)).call(t,(function(t){return"td"===t.tagName.toLowerCase()})).length;this.tableEditor.info={tableNode:i,tdNode:this.target,trNode:this.target.parentElement,tdIndex:Tf(e=kh(this.target.parentElement.childNodes)).call(e,this.target),trIndex:Tf(n=kh(this.target.parentElement.parentElement.childNodes)).call(n,this.target.parentElement),isTHead:"TBODY"!==this.target.parentElement.parentElement.tagName,totalTables:r.length,tableIndex:Tf(r).call(r,i),tableText:i.textContent.replace(/[\s]/g,""),columns:a}}},{key:"$setSelection",value:function(t){var e,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table",a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.tableEditor.tableCodes[t],s=this.codeMirror.getValue(),c=this.tableEditor.info,l=null!==(e=null===(n=Cf(s).call(s,0,o.offset).match(/\n/g))||void 0===n?void 0:n.length)&&void 0!==e?e:0,u=this.$getTdOffset(o.code,c.isTHead,c.trIndex,c.tdIndex),h=u.preLine,f=u.preCh,d=u.plusCh,A=u.currentTd;if("table"===i){var p=l+o.code.match(/\n/g).length,g=o.code.match(/[^\n]+\n*$/)[0].length;this.tableEditor.info.selection=[{line:l,ch:0},{line:p,ch:g}]}else this.tableEditor.info.selection=[{line:l+h,ch:f},{line:l+h,ch:f+d}];a&&(r=this.codeMirror).setSelection.apply(r,cg(this.tableEditor.info.selection)),this.tableEditor.info.code=A}},{key:"$getTdOffset",value:function(t,e,n,r){for(var i=e?0:n+2,a=t.split(/\n/)[i].split(/\|/),o=/^\s*$/.test(a[0]),s=o?r+1:r,c=a[s],l=[],u=0;u<s;u++)l.push(a[u]);return{preLine:i,preCh:o?l.join("|").length+1:l.join("|").length,plusCh:c.length,currentTd:c}}},{key:"$findTableInEditor",value:function(){if(this.$collectTableDom(),this.$collectTableCode(),this.tableEditor.info.totalTables!==this.tableEditor.tableCodes.length)return!1;this.$setSelection(this.tableEditor.info.tableIndex,"td","click"===this.trigger)}},{key:"$initReg",value:function(){this.tableReg=this.tableReg?this.tableReg:bd(!0),this.codeBlockReg=this.codeBlockReg?this.codeBlockReg:vd().reg}},{key:"showBubble",value:function(){"click"!==this.trigger?this.$drawSymbol():this.$drawEditor()}},{key:"$isEditing",value:function(){return this.tableEditor.editing}},{key:"$drawEditor",value:function(){var t=document.createElement("div");t.className="cherry-previewer-table-content-handler__input";var e=document.createElement("textarea");t.appendChild(e),this.tableEditor.editorDom.inputDiv=t,this.tableEditor.editorDom.inputDom=e,this.$updateEditorPosition(),this.container.appendChild(this.tableEditor.editorDom.inputDiv),this.tableEditor.editorDom.inputDom.value=this.tableEditor.info.code.replace(/<br>/g,"\n"),this.tableEditor.editorDom.inputDom.focus()}},{key:"$onInputChange",value:function(t){"TEXTAREA"===t.target.tagName&&this.codeMirror.replaceSelection(t.target.value.replace(/\n/g,"<br>"),"around")}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var t=getComputedStyle(this.tableEditor.info.tdNode);this.tableEditor.editorDom.inputDom.style.textAlign=t.textAlign||"left",this.tableEditor.editorDom.inputDom.style.fontSize=t.fontSize||"16px",this.tableEditor.editorDom.inputDom.style.fontFamily=t.fontFamily,this.tableEditor.editorDom.inputDom.style.lineHeight=t.lineHeight,this.tableEditor.editorDom.inputDom.style.padding=t.padding,/left/.test(t.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingRight="0px"),/right/.test(t.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingLeft="0px"),/center/.test(t.textAlign)&&(this.tableEditor.editorDom.inputDom.style.paddingLeft="0px",this.tableEditor.editorDom.inputDom.style.paddingRight="0px"),this.tableEditor.editorDom.inputDom.style.paddingBottom="0px"}},{key:"$getClosestNode",value:function(t,e){return t.tagName===e?t:"BODY"!==t.parentNode.tagName&&this.$getClosestNode(t.parentNode,e)}},{key:"$drawSymbol",value:function(){var t,e=this,n=["Last","Next"],r=["Row","Col"],i={Row:"行",Col:"列"},a=Jk(t=tA(r).call(r,(function(t,e){return tA(n).call(n,(function(t){return tA(r).call(r,(function(n){return["".concat(e),t,n]}))}))}))).call(t,2),o=document.createElement("ul");o.className="cherry-previewer-table-hover-handler-container",ao(a).call(a,(function(t){var n=wf(t,3),r=n[0],a=n[1],s=n[2],c=document.createElement("li");c.setAttribute("data-index",r),c.setAttribute("data-type",a),c.setAttribute("data-dir",s),c.className="cherry-previewer-table-hover-handler__symbol",c.title="添加".concat(i[s]),c.innerHTML="+",c.addEventListener("click",(function(t){var n,r=t.target;if(r instanceof HTMLElement){var i=r.dataset,a=i.type,o=i.dir;e[Fs(n="$add".concat(a)).call(n,o)]()}})),o.appendChild(c)}),!0),this.tableEditor.editorDom.symbolContainer=o,this.container.appendChild(this.tableEditor.editorDom.symbolContainer),this.$setSymbolOffset()}},{key:"$addLastRow",value:function(){var t=wf(this.tableEditor.info.selection,1)[0].line,e="".concat(Jg("|").call("|",this.tableEditor.info.columns),"\n");this.codeMirror.replaceRange(e,{line:t,ch:0}),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"td")}},{key:"$addNextRow",value:function(){var t=wf(this.tableEditor.info.selection,2)[1].line,e="".concat(Jg("|").call("|",this.tableEditor.info.columns),"\n");this.codeMirror.replaceRange(e,{line:t+1,ch:0}),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"td")}},{key:"$addLastCol",value:function(){var t=this;this.$setSelection(this.tableEditor.info.tableIndex,"table");var e=this.codeMirror.getSelection().split("\n"),n=tA(e).call(e,(function(e,n){var r=e.split("|"),i=1===n?":-:":"";return Gd(r).call(r,t.tableEditor.info.tdIndex+1,0,i),r.join("|")})),r=n.join("\n");this.codeMirror.replaceSelection(r),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"table")}},{key:"$addNextCol",value:function(){var t=this;this.$setSelection(this.tableEditor.info.tableIndex,"table");var e=this.codeMirror.getSelection().split("\n"),n=tA(e).call(e,(function(e,n){var r=e.split("|"),i=1===n?":-:":"";return Gd(r).call(r,t.tableEditor.info.tdIndex+2,0,i),r.join("|")})),r=n.join("\n");this.codeMirror.replaceSelection(r),this.$findTableInEditor(),this.$setSelection(this.tableEditor.info.tableIndex,"table")}}]),t}(),tC=function(){function t(e,n,r,i,a){bo(this,t),Ms(this,"codeBlockEditor",{info:{},editorDom:{}}),this.trigger=e,this.target=n,this.previewerDom=i,this.container=r,this.codeMirror=a,this.$initReg(),this.$findCodeInEditor()}return hs(t,[{key:"$initReg",value:function(){this.codeBlockReg=this.codeBlockReg?this.codeBlockReg:vd().reg}},{key:"emit",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};switch(t){case"remove":return this.$remove();case"scroll":case"previewUpdate":return this.$refreshPosition();case"mouseup":return"click"===this.trigger&&this.$tryRemoveMe(e,n)}}},{key:"$remove",value:function(){this.codeBlockEditor={info:{},codeBlockCodes:[],editorDom:{}}}},{key:"$refreshPosition",value:function(){"click"===this.trigger&&this.$setInputOffset()}},{key:"$tryRemoveMe",value:function(t,e){document.querySelector(".cherry-previewer-codeBlock-content-handler__input").contains(t.target)||(this.$remove(),e())}},{key:"$findCodeInEditor",value:function(){this.$collectCodeBlockDom(),this.$collectCodeBlockCode(),this.$setSelection(this.codeBlockEditor.info.codeBlockIndex,"code","click"===this.trigger)}},{key:"$collectCodeBlockDom",value:function(){var t=kh(this.previewerDom.querySelectorAll('[data-type="codeBlock"]')),e=this.target,n="cherry-edit-code-block"===e.className?e.parentNode:e.parentNode.parentNode;this.codeBlockEditor.info={codeBlockNode:n,codeBlockIndex:Tf(t).call(t,n)}}},{key:"$collectCodeBlockCode",value:function(){var t=[];this.codeMirror.getValue().replace(this.codeBlockReg,(function(e){var n,r=e.replace(/^\n*/,""),i=((n=(arguments.length<=1?0:arguments.length-1)-2+1)<1||arguments.length<=n?void 0:arguments[n])+e.match(/^\n*/)[0].length;Ph(r).call(r,"```mermaid")||t.push({code:r,offset:i})})),this.codeBlockEditor.codeBlockCodes=t}},{key:"$setSelection",value:function(t){var e,n,r,i,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.codeBlockEditor.codeBlockCodes[t],s=this.codeMirror.getValue(),c=null!==(e=null===(n=Cf(s).call(s,0,o.offset).match(/\n/g))||void 0===n?void 0:n.length)&&void 0!==e?e:0,l=c+o.code.match(/\n/g).length,u=Cf(r=o.code).call(r,0,-3).match(/[^\n]+\n*$/)[0].length;this.codeBlockEditor.info.selection=[{line:c+1,ch:0},{line:l-1,ch:u}],a&&(i=this.codeMirror).setSelection.apply(i,cg(this.codeBlockEditor.info.selection))}},{key:"showBubble",value:function(){"click"===this.trigger&&this.$drawEditor()}},{key:"$drawEditor",value:function(){var t=document.createElement("div");t.className="cherry-previewer-codeBlock-content-handler__input";var e=document.createElement("textarea");e.id="codeMirrorEditor",t.appendChild(e);var n=Gh.fromTextArea(e,{mode:"",theme:"default",scrollbarStyle:"null",lineNumbers:!0,autofocus:!0,lineWrapping:!0}),r=this.codeMirror;n.on("change",(function(){r.replaceSelection(n.getValue(),"around")})),this.codeBlockEditor.editorDom.inputDiv=t,this.codeBlockEditor.editorDom.inputDom=n,this.$updateEditorPosition(),this.container.appendChild(this.codeBlockEditor.editorDom.inputDiv),this.codeBlockEditor.editorDom.inputDom.focus(),this.codeBlockEditor.editorDom.inputDom.refresh(),n.setValue(this.codeMirror.getSelection()),n.setCursor(Number.MAX_VALUE,Number.MAX_VALUE)}},{key:"$updateEditorPosition",value:function(){this.$setInputOffset();var t=getComputedStyle(this.codeBlockEditor.info.codeBlockNode);this.codeBlockEditor.editorDom.inputDom.getWrapperElement().style.fontSize=t.fontSize||"16px",this.codeBlockEditor.editorDom.inputDom.getWrapperElement().style.fontFamily=t.fontFamily,this.codeBlockEditor.editorDom.inputDom.getWrapperElement().style.lineHeight=t.lineHeight,this.codeBlockEditor.editorDom.inputDom.getWrapperElement().style.padding=t.padding,this.codeBlockEditor.editorDom.inputDom.getWrapperElement().style.paddingBottom="0px",this.codeBlockEditor.editorDom.inputDom.getWrapperElement().style.zIndex="1"}},{key:"$setInputOffset",value:function(){var t=this.$getPosition(),e=this.codeBlockEditor.editorDom.inputDiv;this.setStyle(e,"width","".concat(t.width,"px")),this.setStyle(e,"height","".concat(t.height,"px")),this.setStyle(e,"top","".concat(t.top,"px")),this.setStyle(e,"left","".concat(t.left,"px"))}},{key:"setStyle",value:function(t,e,n){t.getBoundingClientRect()[e]!==n&&(t.style[e]=n)}},{key:"$getPosition",value:function(){var t=this.codeBlockEditor.info.codeBlockNode.getBoundingClientRect(),e=this.previewerDom.parentNode.getBoundingClientRect();return{top:t.top-e.top,height:t.height,width:t.width,left:t.left-e.left,maxHeight:e.height}}}]),t}(),eC=function(t,e,n){return Math.min(Math.max(t,e),n)},nC={open:function(){this.resetStyle(),this.dom.style.display="block",this.postMessage("ready?")},close:function(){this.dom.style.display="none"},postMessage:function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";null===(e=this.iframeDom)||void 0===e||null===(n=e.contentWindow)||void 0===n||n.postMessage({eventName:t,value:r},"*")},resetStyle:function(){var t=this.dom;t.style.left="10%",t.style.top="10%"},bindEvents:function(){this.bindClickEvents(),this.bindDNDEvents()},bindClickEvents:function(){var t=this;this.headCloseButton.addEventListener("click",(function(){t.close()})),this.footSureButton.addEventListener("click",(function(){t.postMessage("getData")}))},bindDNDEvents:function(){var t,e,n=this.dom,r=this.head,i=this.body,a=function(r){r.preventDefault();var i=eC(r.clientX-t,0,window.innerWidth-16),a=eC(r.clientY-e,0,window.innerHeight-16);n.style.left="".concat(i,"px"),n.style.top="".concat(a,"px")},o=function t(e){r.style.cursor="grab",i.style.pointerEvents=null,document.removeEventListener("mousemove",a),document.removeEventListener("mousemove",t)};r.addEventListener("mousedown",(function(s){s.target.classList.contains("cherry-dialog--close")||(t=s.clientX-n.offsetLeft,e=s.clientY-n.offsetTop,r.style.cursor="grabbing",i.style.pointerEvents="none",document.addEventListener("mousemove",a),document.addEventListener("mouseup",o))}))},draw:function(t,e,n){var r=this,i=t.iframeSrc,a=t.title;if(this.onSubmit=n,this.onReady=e,this.dom)return new RegExp("".concat(i,"$"),"i").test(this.iframeDom.src)||(this.iframeDom.src=i),void this.open();window.addEventListener("message",(function(t){if(t.data&&t.data.eventName)switch(t.data.eventName){case"getData:success":r.onSubmit(t.data.value),r.close();case"ready":r.onReady()}})),this.iframeDom=Xf("iframe","cherry-dialog-iframe",{src:i,style:"border: none;"}),this.dom=Xf("div","cherry-dialog",{style:["z-index:9999","display: block","position: absolute","top: 10%;left: 10%;width: 80%;height: 80%;","background-color: #FFF","box-shadow: 0px 50px 100px -12px rgba(0,0,0,.05),0px 30px 60px -30px rgba(0,0,0,.1)","border-radius: 6px","border: 1px solid #ddd;"].join(";")}),this.head=Xf("div","cherry-dialog--head",{style:["height: 30px","line-height: 30px","padding-left: 10px","padding-right: 10px","cursor: grab;"].join(";")}),this.body=Xf("div","cherry-dialog--body",{style:["position: absolute","bottom: 30px","top: 30px","left: 0","right: 0","overflow: hidden"].join(";")}),this.foot=Xf("div","cherry-dialog--foot",{style:["height: 30px","line-height: 30px","padding-left: 10px","padding-right: 10px","position: absolute","bottom: 0","left: 0","right: 0"].join(";")}),this.headTitle=Xf("span","cherry-dialog--title",{style:"user-select:none;"}),this.headCloseButton=Xf("i","cherry-dialog--close ch-icon ch-icon-close",{style:"float: right;font-size: 12px;cursor: pointer;"}),this.footSureButton=Xf("button","cherry-dialog--sure",{style:["float: right","cursor: pointer","margin: 3px","background-color: #4d90fe","color: #FFF","border: 1px solid #4d90fe","border-radius: 2px","padding: 2px 15px","user-select:none"].join(";")}),this.headCloseButton.title="关闭",this.footSureButton.textContent="确定",this.headTitle.textContent=a,this.head.appendChild(this.headTitle),this.head.appendChild(this.headCloseButton),this.foot.appendChild(this.footSureButton),this.body.appendChild(this.iframeDom),this.dom.appendChild(this.head),this.dom.appendChild(this.body),this.dom.appendChild(this.foot),this.bindEvents(),document.body.appendChild(this.dom)}};function rC(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={iframeSrc:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",title:"draw.io"};nC.draw(n,(function(){nC.postMessage("setData",t)}),(function(t){e(t)}))}function iC(t){function e(e){e.clipboardData.setData("text/html",t),e.clipboardData.setData("text/plain",t),e.preventDefault()}document.addEventListener("copy",e),document.execCommand("copy"),document.removeEventListener("copy",e)}var aC=function(){return uc.Date.now()},oC=/\s/;var sC=function(t){for(var e=t.length;e--&&oC.test(t.charAt(e)););return e},cC=/^\s+/;var lC=function(t){return t?t.slice(0,sC(t)+1).replace(cC,""):t},uC=/^[-+]0x[0-9a-f]+$/i,hC=/^0b[01]+$/i,fC=/^0o[0-7]+$/i,dC=parseInt;var AC=function(t){if("number"==typeof t)return t;if(rv(t))return NaN;if(wc(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=wc(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=lC(t);var n=hC.test(t);return n||fC.test(t)?dC(t.slice(2),n?2:8):uC.test(t)?NaN:+t},pC=Math.max,gC=Math.min;var mC=function(t,e,n){var r,i,a,o,s,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var n=r,a=i;return r=i=void 0,l=e,o=t.apply(a,n)}function A(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-l>=a}function p(){var t=aC();if(A(t))return g(t);s=setTimeout(p,function(t){var n=e-(t-c);return h?gC(n,a-(t-l)):n}(t))}function g(t){return s=void 0,f&&r?d(t):(r=i=void 0,o)}function m(){var t=aC(),n=A(t);if(r=arguments,i=this,c=t,n){if(void 0===s)return function(t){return l=t,s=setTimeout(p,e),u?d(t):o}(c);if(h)return clearTimeout(s),s=setTimeout(p,e),d(c)}return void 0===s&&(s=setTimeout(p,e)),o}return e=AC(e)||0,wc(n)&&(u=!!n.leading,a=(h="maxWait"in n)?pC(AC(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),m.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=i=s=void 0},m.flush=function(){return void 0===s?o:g(aC())},m};function bC(t,e){var n=document.createElement("a");n.href=t,n.download=e,n.click(),n.remove()}function vC(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("svg"!==e.format){var n=e.width,r=void 0===n?t.width.baseVal.value:n,i=e.height,a=void 0===i?t.height.baseVal.value:i,o=e.scale,s=void 0===o?5:o,c=e.quality,l=void 0===c?1:c,u=e.backgroundColor,h=void 0===u?"white":u,f=e.filename,d=void 0===f?"formula":f,A=e.format,p=void 0===A?"png":A,g=e.mimeType,m=void 0===g?"image/png":g,b=yC(t),v=document.createElement("canvas"),y=v.getContext("2d"),w=new Image;w.src="data:image/svg+xml;base64,".concat(btoa(unescape(encodeURIComponent(b)))),w.onload=function(){v.width=r*s,v.height=a*s,y.fillStyle=h,y.fillRect(0,0,v.width,v.height),y.drawImage(w,0,0,v.width,v.height),v.toBlob((function(t){var e,n=Ek.createObjectURL(t);bC(n,Fs(e="".concat(d,".")).call(e,p)),Ek.revokeObjectURL(n)}),m,l)}}else{var T;!function(t,e){var n=yC(t),r=new Blob([n],{type:"image/svg+xml;charset=utf-8"}),i=Ek.createObjectURL(r);bC(i,e),Ek.revokeObjectURL(i)}(t,null!==(T=e.filename)&&void 0!==T?T:"formula.svg")}}function yC(t){return(new XMLSerializer).serializeToString(t)}var wC=function(){function t(e,n,r,i,a){bo(this,t),Ms(this,"bubbleContainer",null),this.trigger=e,this.target=n,this.container=r,this.previewerDom=i,this.editor=a}return hs(t,[{key:"emit",value:function(t,e){switch(t){case"remove":case"scroll":return this.remove()}}},{key:"drawBubble",value:function(){var t,e,n,r=document.createElement("div");r.innerHTML='<div class="formula-utils-btn formula-utils-img">\n <button>输出图片</button>\n <div class="formula-utils-submenu formula-utils-img-submenu">\n <div class="formula-utils-submenu-btn formula-utils-img-svg">\n <button data-name="svg">svg</button>\n </div>\n <div class="formula-utils-submenu-btn formula-utils-img-png">\n <button data-name="png">png</button>\n </div>\n <div class="formula-utils-submenu-btn formula-utils-img-jpg">\n <button data-name="jpg">jpg</button>\n </div>\n </div>\n </div>\n <div class="formula-utils-btn formula-utils-code">\n <button>输出代码</button>\n <div class="formula-utils-submenu formula-utils-code-submenu">\n <div class="formula-utils-submenu-btn formula-utils-code-latex">\n <button data-name="latex">latex</button>\n </div>\n <div class="formula-utils-submenu-btn formula-utils-code-html">\n <button data-name="html">html</button>\n </div>\n <div class="formula-utils-submenu-btn formula-utils-code-svgcode">\n <button data-name="svgcode">svgcode</button>\n </div>\n </div>\n </div>\n <div class="formula-utils-btn formula-utils-word">\n <button>输出mathml</button>\n <div class="formula-utils-submenu formula-utils-word-submenu">\n <div class="formula-utils-submenu-btn formula-utils-word-mathml">\n <button data-name="mathml">mathml</button>\n </div>\n </div>\n </div>\n <div class="formula-utils-btn formula-utils-transfer">\n <button>转义</button>\n <div class="formula-utils-submenu formula-utils-transfer-submenu">\n <div class="formula-utils-submenu-btn formula-utils-transfer-backslash">\n <button data-name="\\">反斜杠</button>\n </div>\n <div class="formula-utils-submenu-btn formula-utils-transfer-dollar">\n <button data-name="$">$包裹</button>\n </div>\n <div class="formula-utils-submenu-btn formula-utils-transfer-double-dollar">\n <button data-name="$$">$$包裹</button>\n </div>\n </div>\n </div>',r.id="formula-utils-bubble-container",r.className=["formula-utils-bubble-container"].join(" "),this.bubbleContainer=r,null==this||null===(t=this.editor)||void 0===t||null===(e=t.$cherry)||void 0===e||null===(n=e.wrapperDom)||void 0===n||n.appendChild(r)}},{key:"showBubble",value:function(t,e){var n,r,i,a,o,s=null==this||null===(n=this.editor)||void 0===n||null===(r=n.$cherry)||void 0===r||null===(i=r.wrapperDom)||void 0===i||null===(a=i.children)||void 0===a?void 0:a.namedItem("formula-utils-bubble-container"),c=this.target.getBoundingClientRect();s instanceof HTMLElement?this.bubbleContainer=s:this.drawBubble(),this.bubbleContainer.style.display="flex",this.bubbleContainer.style.top="".concat(e||c.top,"px"),this.bubbleContainer.style.left="".concat(t||c.left,"px"),this.bubbleContainer.addEventListener("click",Ps(o=this.bubbleClickHandler).call(o,this),{once:!0}),this.collectFormulaCode()}},{key:"collectFormulaCode",value:function(){var t=[];this.editor.editor.getValue().replace(/(\$+)\s*([\w\W]*?)\s*(\1)/g,(function(e,n,r,i,a){t.push({code:r,offset:a})})),this.formulaCode=t}},{key:"remove",value:function(){this.bubbleContainer&&(this.bubbleContainer.style.display="none")}},{key:"bubbleClickHandler",value:function(t){var e=this;t.preventDefault(),t.stopPropagation();var n=t.target;if(n instanceof HTMLButtonElement){var r=n.dataset.name,i=void 0===r?"":r;switch(i){case"svg":case"png":case"jpg":this.target instanceof SVGSVGElement&&vC(this.target,{format:i});break;case"html":case"svgcode":if(this.target instanceof SVGSVGElement)if("svgcode"===i)iC(yC(this.target));else{var a=this.target.parentElement.querySelector("math");a.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),iC(a.outerHTML)}break;case"\\":case"$":case"$$":case"latex":case"mathml":case"docx":var o=this.previewerDom.querySelectorAll("mjx-container"),s=-1;if(ao(o).call(o,(function(t,n){t===e.target.parentElement&&(s=n)})),s>=0&&this.formulaCode[s]){var c=this.formulaCode[s].code;if("mathml"===i||"docx"===i){var l,u,h,f,d=Kh(l=this.editor.$cherry.engine.hooks.paragraph).call(l,(function(t){return t instanceof ob}));if(d&&"MathJax"===d.engine)null===(u=d.MathJax)||void 0===u||u.texReset(),null===(h=d.MathJax)||void 0===h||null===(f=h.tex2mmlPromise)||void 0===f||f.call(h,c,{display:!0}).then((function(t){"mathml"===i&&iC(t)}))}else if("latex"===i)iC(c);else if("$"===i){var A,p;iC(Fs(A=Fs(p="".concat(i)).call(p,c)).call(A,i))}else if("$$"===i){var g,m;iC(Fs(g=Fs(m="".concat(i,"\n")).call(m,c,"\n")).call(g,i))}else"\\"===i&&iC("\\".concat(c))}}}this.remove()}}]),t}(),TC=function(){function t(e,n,r,i,a){var o,s;bo(this,t),Ms(this,"bubbleContainer",null),Ms(this,"regList",md),Ms(this,"range",[]),Ms(this,"position",{line:0,ch:0}),this.trigger=e,this.target=n,this.container=r,this.previewerDom=i,this.editor=a,this.handleEditablesInputBinded=Ps(o=this.handleEditablesInput).call(o,this),this.handleEditablesUnfocusBinded=Ps(s=this.handleEditablesUnfocus).call(s,this),this.target.addEventListener("input",this.handleEditablesInputBinded,!1),this.target.addEventListener("focusout",this.handleEditablesUnfocusBinded,!1),this.setSelection()}return hs(t,[{key:"emit",value:function(t,e){if("remove"===t)return this.remove()}},{key:"remove",value:function(){this.bubbleContainer&&(this.bubbleContainer.style.display="none",this.bubbleContainer.children[0]instanceof HTMLTextAreaElement&&(this.bubbleContainer.children[0].value="")),this.target.removeAttribute("contenteditable"),this.target.removeEventListener("input",this.handleEditablesInputBinded,!1),this.target.removeEventListener("focusout",this.handleEditablesUnfocusBinded,!1);var t=this.editor.editor.getCursor();this.editor.editor.setSelection(t,t)}},{key:"setSelection",value:function(){var t,e,n=this,r=kh(this.previewerDom.querySelectorAll("li")),i=Fd(r).call(r,(function(t){return t===n.target.parentElement}));if(-1!==i){var a=null!==(t=null===(e=xd(null==this?void 0:this.editor.editor.getValue()))||void 0===e?void 0:e.split("\n"))&&void 0!==t?t:[],o=0,s=-1,c=-1,l="";ao(a).call(a,(function(t,e){var r=n.regList.exec(t);null!==r&&(o===i&&void 0!==r[1]&&(s=e,l=r[4],c=Tf(t).call(t,l)),o+=1)}));var u={line:s,ch:c},h={line:s,ch:c+l.length};this.editor.editor.setSelection(u,h),this.range=[u,h],this.position=this.editor.editor.getCursor()}}},{key:"handleEditablesInput",value:function(t){t.stopPropagation(),t.preventDefault(),t.target instanceof HTMLParagraphElement&&("insertParagraph"!==t.inputType&&"insertLineBreak"!==t.inputType||this.handleInsertLineBreak())}},{key:"handleEditablesUnfocus",value:function(t){if(t.stopPropagation(),t.preventDefault(),t.target instanceof HTMLParagraphElement){var e=this.editor.$cherry.engine.makeMarkdown(t.target.innerHTML),n=wf(this.range,2),r=n[0],i=n[1];this.editor.editor.replaceRange(e,r,i),this.remove()}}},{key:"handleInsertLineBreak",value:function(){var t,e,n=this.editor.editor.getCursor(),r=this.editor.editor.getLine(n.line),i=this.regList.exec(r),a="\n- ";null!==i&&(a=Fs(t="\n".concat(i[1])).call(t,null===(e=i[2])||void 0===e?void 0:e.replace("[x]","[ ] ")));this.editor.editor.replaceRange(a,{line:n.line,ch:this.editor.editor.getLine(n.line).length}),this.editor.editor.setCursor({line:n.line+1,ch:a.length+1}),this.editor.editor.focus(),this.remove()}}]),t}(),kC=function(){function t(e){bo(this,t),this.previewer=e,this.editor=e.editor,this.previewerDom=this.previewer.getDom(),this.enablePreviewerBubble=this.previewer.options.enablePreviewerBubble,this.bubble={},this.bubbleHandler={},this.init()}return hs(t,[{key:"init",value:function(){var t,e,n,r,i=this;this.previewerDom.addEventListener("click",Ps(t=this.$onClick).call(t,this)),this.previewerDom.addEventListener("mouseover",Ps(e=this.$onMouseOver).call(e,this)),this.previewerDom.addEventListener("mouseout",Ps(n=this.$onMouseOut).call(n,this)),document.addEventListener("mousedown",(function(t){var e;ao(e=Fk(i.bubbleHandler)).call(e,(function(e){return e.emit("mousedown",t)}))})),document.addEventListener("mouseup",(function(t){var e;ao(e=Fk(i.bubbleHandler)).call(e,(function(e){return e.emit("mouseup",t,(function(){return i.$removeAllPreviewerBubbles("click")}))}))})),document.addEventListener("mousemove",(function(t){var e;ao(e=Fk(i.bubbleHandler)).call(e,(function(e){return e.emit("mousemove",t)}))})),document.addEventListener("keyup",(function(t){var e;ao(e=Fk(i.bubbleHandler)).call(e,(function(e){return e.emit("keyup",t)}))})),this.previewerDom.addEventListener("scroll",(function(t){var e;ao(e=Fk(i.bubbleHandler)).call(e,(function(e){return e.emit("scroll",t)}))}),!0),Zf.on(this.previewer.instanceId,Zf.Events.previewerClose,(function(){return i.$removeAllPreviewerBubbles()})),this.previewer.options.afterUpdateCallBack.push((function(){var t;ao(t=Fk(i.bubbleHandler)).call(t,(function(t){return t.emit("previewUpdate",(function(){return i.$removeAllPreviewerBubbles()}))}))})),this.previewerDom.addEventListener("change",Ps(r=this.$onChange).call(r,this)),this.removeHoverBubble=mC((function(){return i.$removeAllPreviewerBubbles("hover")}),400)}},{key:"isCherryTable",value:function(t){var e=this.$getClosestNode(t,"DIV");return!1!==e&&!(/simple-table/.test(e.className)||!/cherry-table-container/.test(e.className))}},{key:"$onMouseOver",value:function(t){if(this.enablePreviewerBubble&&"hide"!==this.previewer.$cherry.getStatus().editor){var e=t.target;if(e instanceof Element&&void 0!==e.tagName)switch(e.tagName){case"TD":case"TH":if(!this.isCherryTable(t.target))return;return this.removeHoverBubble.cancel(),this.$removeAllPreviewerBubbles("hover"),void this.$showTablePreviewerBubbles("hover",t.target)}}}},{key:"$onMouseOut",value:function(){this.enablePreviewerBubble&&("hide"!==this.previewer.$cherry.getStatus().editor&&this.removeHoverBubble())}},{key:"$dealCheckboxClick",value:function(t){var e=this,n=t.target,r=kh(this.previewerDom.querySelectorAll(".ch-icon-square, .ch-icon-check"));this.checkboxIdx=Tf(r).call(r,n);var i=xd(this.editor.editor.getValue()).split("\n"),a=0,o=-1,s=-1;ao(i).call(i,(function(t,n){var r=ih(t).call(t);(Ph(r).call(r,"- [ ]")||Ph(r).call(r,"- [x]"))&&(a===e.checkboxIdx&&(o=n,s=Tf(t).call(t,"- [")+3),a+=1)})),-1!==o&&(this.editor.editor.setSelection({line:o,ch:s},{line:o,ch:s+1}),this.editor.editor.replaceSelection(" "===this.editor.editor.getSelection()?"x":" ","around"))}},{key:"$onClick",value:function(t){var e,n=this,r=t.target;this.$dealCopyCodeBlock(t);var i=this.previewer.$cherry.getStatus();if("hide"!==i.editor&&r instanceof Element){if(r instanceof HTMLImageElement&&"IMG"===r.tagName&&"drawio"===r.getAttribute("data-type")){if(!this.beginChangeDrawioImg(r))return;var a=decodeURI(r.getAttribute("data-xml"));rC(this.previewer.$cherry.options.drawioIframeUrl,a,(function(t){var e,r=t.xmlData,i=t.base64;n.editor.editor.replaceSelection(Fs(e="(".concat(i,"){data-type=drawio data-xml=")).call(e,encodeURI(r),"}"),"around")}))}else if(this.enablePreviewerBubble&&("ch-icon ch-icon-square"!==r.className&&"ch-icon ch-icon-check"!==r.className||this.$dealCheckboxClick(t),this.$removeAllPreviewerBubbles(),void 0!==r.tagName)){switch(r.tagName){case"IMG":r instanceof HTMLImageElement&&this.$showImgPreviewerBubbles(r);break;case"TD":case"TH":if(r instanceof HTMLElement){if(!this.isCherryTable(r))return;this.$showTablePreviewerBubbles("click",r)}break;case"svg":"MJX-CONTAINER"===(null==r||null===(e=r.parentElement)||void 0===e?void 0:e.tagName)&&(this.$removeAllPreviewerBubbles("click"),this.$showFormulaPreviewerBubbles("click",r,{x:t.pageX,y:t.pageY}));break;case"A":t.stopPropagation();break;case"P":r instanceof HTMLParagraphElement&&r.parentElement instanceof HTMLLIElement&&(0!==r.children.length&&(t.preventDefault(),t.stopPropagation()),r.setAttribute("contenteditable","true"),r.focus(),this.$showListPreviewerBubbles("click",r))}this.$dealCodeBlockEditorMode(t)}}else"show"===i.previewer&&this.previewer.$cherry.options.callback.onClickPreview&&this.previewer.$cherry.options.callback.onClickPreview(t)}},{key:"$onChange",value:function(t){t.target.className===Bg&&this.$codePreviewLangSelectEventHandler(t)}},{key:"$getClosestNode",value:function(t,e){return t.tagName===e?t:"BODY"!==t.parentNode.tagName&&this.$getClosestNode(t.parentNode,e)}},{key:"$dealCodeBlockEditorMode",value:function(t){var e,n=t.target;"cherry-edit-code-block"!==n.className&&"cherry-edit-code-block"!==(null===(e=n.parentNode)||void 0===e?void 0:e.className)||this.$showCodeBlockPreviewerBubbles("click",t.target)}},{key:"$dealCopyCodeBlock",value:function(t){var e,n=t.target;if("cherry-copy-code-block"===n.className||"cherry-copy-code-block"===(null===(e=n.parentNode)||void 0===e?void 0:e.className)){var r="cherry-copy-code-block"===n.className?n.parentNode:n.parentNode.parentNode,i=r.lastElementChild.innerText,a=this.previewer.$cherry.options.callback.onCopyCode(t,i);if(!1===a)return!1;var o=r.querySelector("i.ch-icon-copy");o&&(o.className=o.className.replace("copy","ok"),Xs((function(){o.className=o.className.replace("ok","copy")}),1500)),iC(a)}}},{key:"$removeAllPreviewerBubbles",value:function(){var t,e,n,r,i=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";ao(t=ta(e=Rk(this.bubble)).call(e,(function(t){var e=wf(t,1)[0];return!a||a===e}))).call(t,(function(t){var e=wf(t,2),n=e[0];e[1].remove(),delete i.bubble[n]})),ao(n=ta(r=Rk(this.bubbleHandler)).call(r,(function(t){var e=wf(t,1)[0];return!a||a===e}))).call(n,(function(t){var e=wf(t,2),n=e[0];e[1].emit("remove"),delete i.bubbleHandler[n]}))}},{key:"$showTablePreviewerBubbles",value:function(t,e){this.$createPreviewerBubbles(t,"click"===t?"table-content-handler":"table-hover-handler");var n=new Zk(t,e,this.bubble[t],this.previewerDom,this.editor.editor);n.showBubble(),this.bubbleHandler[t]=n}},{key:"$showCodeBlockPreviewerBubbles",value:function(t,e){this.$createPreviewerBubbles(t,"click"===t?"codeBlock-content-handler":"none");var n=new tC(t,e,this.bubble[t],this.previewerDom,this.editor.editor);n.showBubble(),this.bubbleHandler[t]=n}},{key:"$showImgPreviewerBubbles",value:function(t){var e;this.$createPreviewerBubbles();var n=kh(this.previewerDom.querySelectorAll("img"));if(this.totalImgs=n.length,this.imgIndex=Tf(n).call(n,t),!this.beginChangeImgValue(t))return{emit:function(){}};Uk.showBubble(t,this.bubble.click,this.previewerDom),Uk.bindChange(Ps(e=this.changeImgValue).call(e,this)),this.bubbleHandler.click=Uk}},{key:"$showFormulaPreviewerBubbles",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.$createPreviewerBubbles(t,"formula-hover-handler");var r=new wC(t,e,this.bubble[t],this.previewerDom,this.editor);r.showBubble((null==n?void 0:n.x)||0,(null==n?void 0:n.y)||0),this.bubbleHandler[t]=r}},{key:"$showListPreviewerBubbles",value:function(t,e){this.$createPreviewerBubbles(t,"list-hover-handler");var n=new TC(t,e,this.bubble[t],this.previewerDom,this.editor);this.bubbleHandler[t]=n}},{key:"beginChangeDrawioImg",value:function(t){var e,n=kh(this.previewerDom.querySelectorAll('img[data-type="drawio"]')),r=n.length,i=Tf(n).call(n,t),a=xd(this.editor.editor.getValue()),o=a.match(Ed),s=o[i]?ih(e=o[i].replace(/^!\[.*?\]\((.*?)\)/,"$1")).call(e):"";if(o.length===r||t.getAttribute("src")===s)for(var c=a.split(Ed),l=0,u=0,h=0,f=0,d=0;d<c.length;d++){var A=c[d];if(A===o[f]){if(f===i)return h=u+A.length,u+=A.replace(/^(!\[[^\]]*])[^\n]*$/,"$1").length,this.editor.editor.setSelection({line:l,ch:u},{line:l,ch:h}),this.editor.dealBigData(),!0;f+=1}else{var p,g;l+=null!==(p=null===(g=A.match(/\n/g))||void 0===g?void 0:g.length)&&void 0!==p?p:0,/\n/.test(A)?u=A.replace(/^[\w\W]*\n([^\n]*)$/,"$1").length:u+=A.length}}return!1}},{key:"beginChangeImgValue",value:function(t){var e,n=xd(this.editor.editor.getValue()),r=t.getAttribute("src"),i=/(!\[[^\n]*?\]\([^)]+\))/g,a=n.match(i),o=a[this.imgIndex]?ih(e=a[this.imgIndex].replace(/^!\[.*?\]\((.*?)\)/,"$1")).call(e):"";if(a.length===this.totalImgs||r===o)for(var s=n.split(i),c=/^!\[.*?((?:#center|#right|#left|#float-right|#float-left|#border|#B|#shadow|#S|#radius|#R)+).*?\].*$/,l=0,u=0,h=0,f=0,d=0;d<s.length;d++){var A,p,g=s[d];if(g===a[f]){if(f===this.imgIndex)return this.imgAppend=!!c.test(g)&&g.replace(c,"$1"),h=(u+=g.replace(/^(!\[[^#\]]*).*$/,"$1").length)+g.replace(/^(!\[[^#\]]*)([^\]]*?)\].*$/,"$2").length,this.editor.editor.setSelection({line:l,ch:u},{line:l,ch:h}),!0;f+=1}l+=null!==(A=null===(p=g.match(/\n/g))||void 0===p?void 0:p.length)&&void 0!==A?A:0,/\n/.test(g)?u=g.replace(/^[\w\W]*\n([^\n]*)$/,"$1").length:u+=g.length}return!1}},{key:"changeImgValue",value:function(t,e){var n,r,i=this.imgAppend?" ".concat(this.imgAppend):"";this.editor.editor.replaceSelection(Fs(n=Fs(r="#".concat(Math.round(e.width),"px #")).call(r,Math.round(e.height),"px")).call(n,i),"around")}},{key:"$createPreviewerBubbles",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"click",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"img-size-handler";this.bubble[t]||(this.bubble[t]=document.createElement("div"),this.bubble[t].className="cherry-previewer-".concat(e),this.previewerDom.after(this.bubble[t]),"hover"===t&&(this.bubble[t].addEventListener("mouseover",this.removeHoverBubble.cancel),this.bubble[t].addEventListener("mouseout",this.removeHoverBubble)))}},{key:"$showBorderBubbles",value:function(){}},{key:"$showBtnBubbles",value:function(){}},{key:"$codePreviewLangSelectEventHandler",value:function(t){for(var e=kh(this.previewerDom.querySelectorAll(".".concat(Bg))),n=Tf(e).call(e,t.target),r=this.editor.editor.getValue().split("\n"),i=-1,a=-1,o=0,s=0;s<r.length&&!(a>=n);){var c=s+1;if(/^`{3,}[\s\S]*$/.test(r[s]))for(var l,u,h=null!==(l=null===(u=r[s].match(/^(`*)/g))||void 0===u?void 0:u[0].length)&&void 0!==l?l:0;c<r.length;){var f,d,A=!1,p=null!==(f=null===(d=r[c].match(/^(`*)/g))||void 0===d?void 0:d[0].length)&&void 0!==f?f:0;if(/^`{3,}$/.test(r[c])&&p===h&&(A=!0,(a+=1)===n&&(i=s,o=h)),c+=1,A)break}s=c}o&&(this.editor.editor.setSelection({line:i,ch:o},{line:i,ch:r[i].length}),this.editor.editor.replaceSelection(t.target.value||""))}}]),t}(),CC=X.setInterval,EC=function(){function t(e,n){bo(this,t),Ms(this,"options",{loadingImgPath:"",maxNumPerTime:2,noLoadImgNum:5,autoLoadImgNum:5,maxTryTimesPerSrc:2,beforeLoadOneImgCallback:function(t){},failLoadOneImgCallback:function(t){},afterLoadOneImgCallback:function(t){},afterLoadAllImgCallback:function(){}}),Gu(this.options,e),this.previewer=n,this.srcLoadedList=[],this.srcFailLoadedList={},this.srcLoadingList=[],this.srcList=[],this.loadingImgNum=0,this.lastLoadAllNum=0,this.previewerDom=this.previewer.getDomContainer()}return hs(t,[{key:"isLoaded",value:function(t){var e;return ev(e=this.srcLoadedList).call(e,t)}},{key:"isLoading",value:function(t){var e;return ev(e=this.srcLoadingList).call(e,t)}},{key:"loadFailed",value:function(t){this.srcFailLoadedList[t]=this.srcFailLoadedList[t]?this.srcFailLoadedList[t]+1:1}},{key:"isFailLoadedMax",value:function(t){return this.srcFailLoadedList[t]&&this.srcFailLoadedList[t]>this.options.maxTryTimesPerSrc}},{key:"isLoadedAllDone",value:function(){var t=this.previewerDom.querySelectorAll("img[data-src]"),e=this.srcLoadedList.length;return t.length<=0&&this.lastLoadAllNum<e&&(this.lastLoadAllNum=e,this.options.afterLoadAllImgCallback(),!0)}},{key:"loadOneImg",value:function(){for(var t,e,n,r=this,i=this.previewerDom.querySelectorAll("img[data-src]"),a=this.previewerDom.getBoundingClientRect(),o=a.height,s=a.top,c=o+s+100,l=null!==(t=null===(e=window)||void 0===e?void 0:e.innerHeight)&&void 0!==t?t:100,u=Math.min(c,l),h=s-30,f=this.options.autoLoadImgNum,d=function(){var t=i[A],e=t.getBoundingClientRect(),n=e.top>=h&&e.top<=u,a=r.srcList.length<f;if(!n&&!a)return 0;var o=t.getAttribute("data-src");if(!o)return 0;if((r.isLoaded(o)||r.isFailLoadedMax(o))&&(t.setAttribute("src",o),t.removeAttribute("data-src")),r.isLoading(o))return 0;if(r.loadingImgNum>=r.options.maxNumPerTime)return{v:!1};var s,c=r.options.beforeLoadOneImgCallback(t);if(void 0!==c&&!c)return r.loadFailed(o),0;o=null!==(s=t.getAttribute("data-src"))&&void 0!==s?s:o,r.loadingImgNum+=1,r.srcList.push(o),r.srcLoadingList.push(o),r.tryLoadOneImg(o,(function(){var e,n;t.setAttribute("src",o),t.removeAttribute("data-src"),r.srcLoadedList.push(o),r.loadingImgNum-=1,Gd(e=r.srcLoadingList).call(e,Tf(n=r.srcLoadingList).call(n,o),1),r.options.afterLoadOneImgCallback(t),r.loadOneImg()}),(function(){var e,n;r.loadFailed(o),r.loadingImgNum-=1,Gd(e=r.srcLoadingList).call(e,Tf(n=r.srcLoadingList).call(n,o),1),r.options.failLoadOneImgCallback(t),r.loadOneImg()}))},A=0;A<i.length;A++)if(0!==(n=d())&&n)return n.v;return!1}},{key:"tryLoadOneImg",value:function(t,e,n){var r=document.createElement("img");r.onload=function(){e(),r.remove()},r.onerror=function(){n(),r.remove()},r.setAttribute("src",t)}},{key:"doLazyLoad",value:function(){var t=this;if(!this.isRunning){this.isRunning=!0;var e=this.options.maxNumPerTime;!function n(){t.loadOneImg();for(var r=1;r<e;r++)t.loadOneImg();Xs(n,200)}(),CC((function(){t.isLoadedAllDone()}),1e3)}}},{key:"changeDataSrc2Src",value:function(t){var e=this;return t.replace(/<img ([^>]*?)data-src="([^"]+)"([^>]*?)>/g,(function(t,n,r,i){var a,o;return Fs(a=Fs(o="<img ".concat(e.$removeSrc(n),' src="')).call(o,r,'" ')).call(a,e.$removeSrc(i),">").replace(/ {2,}/g," ")}))}},{key:"changeLoadedDataSrc2Src",value:function(t){var e=this;return t.replace(/<img ([^>]*?)data-src="([^"]+)"([^>]*?)>/g,(function(t,n,r,i){var a,o;return e.isLoaded(r)?Fs(a=Fs(o="<img ".concat(e.$removeSrc(n),' src="')).call(o,r,'" ')).call(a,e.$removeSrc(i),">").replace(/ {2,}/g," "):t}))}},{key:"$removeSrc",value:function(t){return" ".concat(t).replace(/^(.*?) src=".*?"(.*?$)/,"$1$2")}},{key:"changeSrc2DataSrc",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.options.loadingImgPath,i=this.options.noLoadImgNum,a=0;return t.replace(/<img ([^>]*?)src="([^"]+)"([^>]*?)>/g,(function(t,o,s,c){var l,u,h,f,d;if(/data-src="/.test(t)||!/ src="/.test(t)||i<0)return t;if(!1===n){if(a<i)return a+=1,t;if(e.isLoaded(s))return t}return r?Fs(h=Fs(f=Fs(d="<img ".concat(o,'src="')).call(d,r,'" data-src="')).call(f,s,'"')).call(h,c,">"):Fs(l=Fs(u="<img ".concat(o,'data-src="')).call(u,s,'"')).call(l,c,">")}))}}]),t}(),xC=function(){},_C=function t(e){var n,r;if(e.nodeType===Node.TEXT_NODE&&""!==ih(n=e.textContent).call(n))return ih(r=e.textContent).call(r);for(var i=0;i<e.childNodes.length;i++){var a=t(e.childNodes[i]);if(a)return a}return null},BC=function(){function t(e){bo(this,t),Ms(this,"applyingDomChanges",!1),Ms(this,"syncScrollLockTimer",0),Ms(this,"isMobilePreview",!1),this.options={previewerDom:document.createElement("div"),virtualDragLineDom:document.createElement("div"),editorMaskDom:document.createElement("div"),previewerMaskDom:document.createElement("div"),minBlockPercentage:.2,value:"",enablePreviewerBubble:!0,afterUpdateCallBack:[],isPreviewOnly:!1,previewerCache:{html:"",htmlChanged:!1,layout:{}},lazyLoadImg:{loadingImgPath:"",maxNumPerTime:2,noLoadImgNum:5,autoLoadImgNum:5,maxTryTimesPerSrc:2,beforeLoadOneImgCallback:function(t){},failLoadOneImgCallback:function(t){},afterLoadOneImgCallback:function(t){},afterLoadAllImgCallback:function(){}}},Gu(this.options,e),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.getInstanceId(),this.animation={}}return hs(t,[{key:"init",value:function(t){this.disableScrollListener=!1,this.bindScroll(),this.editor=t,this.bindDrag(),this.$initPreviewerBubble(),this.lazyLoadImg=new EC(this.options.lazyLoadImg,this),this.lazyLoadImg.doLazyLoad(),this.onMouseDown()}},{key:"$initPreviewerBubble",value:function(){this.previewerBubble=new kC(this)}},{key:"getDomContainer",value:function(){return this.isMobilePreview?this.options.previewerDom.querySelector(".cherry-mobile-previewer-content"):this.options.previewerDom}},{key:"getDom",value:function(){return this.options.previewerDom}},{key:"getValue",value:function(){var t,e,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r="";if(r=this.isPreviewerHidden()?this.options.previewerCache.html:this.getDomContainer().innerHTML,r=this.lazyLoadImg.changeDataSrc2Src(r),!n||!this.$cherry.wrapperDom)return r;var i=this.$cherry.wrapperDom.getAttribute("data-inline-code-theme"),a=this.$cherry.wrapperDom.getAttribute("data-code-block-theme");return Fs(t=Fs(e='<div data-inline-code-theme="'.concat(i,'" data-code-block-theme="')).call(e,a,'">')).call(t,r,"</div>")}},{key:"isPreviewerHidden",value:function(){return this.options.previewerDom.classList.contains("cherry-previewer--hidden")}},{key:"calculateRealLayout",value:function(t){var e=+(t/(this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width)).toFixed(3);e<this.options.minBlockPercentage?e=+this.options.minBlockPercentage.toFixed(3):e>1-this.options.minBlockPercentage&&(e=+(1-this.options.minBlockPercentage).toFixed(3));var n=+(1-e).toFixed(3);return{editorPercentage:"".concat(100*e,"%"),previewerPercentage:"".concat(100*n,"%")}}},{key:"setRealLayout",value:function(t,e){var n=t,r=e;n&&r||(n="50%",r="50%"),this.editor.options.editorDom.style.width=n,this.options.previewerDom.style.width=r,this.syncVirtualLayoutFromReal()}},{key:"syncVirtualLayoutFromReal",value:function(){var t=this.editor.options.editorDom.getBoundingClientRect(),e=this.options.previewerDom.getBoundingClientRect(),n=t.height,r=this.editor.options.editorDom.offsetTop,i=t.left,a=t.width,o=e.left?e.left-i:0,s=e.width||0,c=this.options,l=c.editorMaskDom,u=c.previewerMaskDom,h=c.virtualDragLineDom;h.style.top="".concat(r,"px"),h.style.left="".concat(o,"px"),h.style.bottom="0px",l.style.height="".concat(n,"px"),l.style.top="".concat(r,"px"),l.style.left="0px",l.style.width="".concat(a,"px"),u.style.height="".concat(n,"px"),u.style.top="".concat(r,"px"),u.style.left="".concat(o,"px"),u.style.width="".concat(s,"px")}},{key:"calculateVirtualLayout",value:function(t,e){var n=this.editor.options.editorDom.getBoundingClientRect().width+this.options.previewerDom.getBoundingClientRect().width,r=t.toFixed(0),i=e-t;i<n*this.options.minBlockPercentage?i=+(n*this.options.minBlockPercentage).toFixed(0):i>n*(1-this.options.minBlockPercentage)&&(i=+(n*(1-this.options.minBlockPercentage)).toFixed(0));var a=n-i;return{startWidth:Mf(r,10),leftWidth:i,rightWidth:a}}},{key:"setVirtualLayout",value:function(t,e,n){var r=this.options,i=r.editorMaskDom,a=r.previewerMaskDom,o=r.virtualDragLineDom;i.style.left="".concat(0,"px"),i.style.width="".concat(e,"px"),o.style.left="".concat(0+e,"px"),a.style.left="".concat(0+e,"px"),a.style.width="".concat(n,"px")}},{key:"bindDrag",value:function(){var t,e=this,n=function(t){t&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,t.preventDefault?t.preventDefault():window.event.returnValue=!1;var n=e.editor.options.editorDom.getBoundingClientRect().left,r=t.clientX,i=e.calculateVirtualLayout(n,r);return e.setVirtualLayout(i.startWidth,i.leftWidth,i.rightWidth),!1},r=function t(r){r&&r.stopPropagation?r.stopPropagation():r.cancelBubble=!0,r.preventDefault?r.preventDefault():window.event.returnValue=!1;var i=e.editor.options.editorDom.getBoundingClientRect().left,a=r.clientX,o=e.calculateRealLayout(a-i);return e.setRealLayout(o.editorPercentage,o.previewerPercentage),e.editor.options.editorDom.classList.remove("no-select"),e.options.previewerDom.classList.remove("no-select"),e.options.editorMaskDom.classList.remove("cherry-editor-mask--show"),e.options.previewerMaskDom.classList.remove("cherry-previewer-mask--show"),e.options.virtualDragLineDom.classList.remove("cherry-drag--show"),e.editor.editor.refresh(),Yf(document,"mousemove",n,!1),Yf(document,"mouseup",t,!1),!1};Wf(this.options.virtualDragLineDom,"mousedown",(function(t){t&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,t.preventDefault?t.preventDefault():window.event.returnValue=!1,e.syncVirtualLayoutFromReal();var i=e.editor.options.editorDom.getBoundingClientRect().left,a=t.clientX,o=e.calculateVirtualLayout(i,a);return e.setVirtualLayout(o.startWidth,o.leftWidth,o.rightWidth),e.options.virtualDragLineDom.classList.contains("cherry-drag--show")||(e.options.virtualDragLineDom.classList.add("cherry-drag--show"),e.options.editorMaskDom.classList.add("cherry-editor-mask--show"),e.options.previewerMaskDom.classList.add("cherry-previewer-mask--show"),e.options.previewerDom.classList.add("no-select"),e.editor.options.editorDom.classList.add("no-select"),Wf(document,"mousemove",n,!1),Wf(document,"mouseup",r,!1)),!1}),!1),Wf(window,"resize",Ps(t=this.syncVirtualLayoutFromReal).call(t,this),!1),this.setRealLayout()}},{key:"bindScroll",value:function(){var t=this,e=this.getDomContainer();xC=function(){if(t.applyingDomChanges)Jf.log(new Date,"sync scroll locked");else if(t.disableScrollListener)t.disableScrollListener=!1;else if(e.scrollTop<=0)t.editor.scrollToLineNum(0,0,1);else if(e.scrollTop+e.offsetHeight+10>e.scrollHeight)t.editor.scrollToLineNum(null);else{for(var n,r=e.getBoundingClientRect(),i={x:r.left+r.width/2,y:r.top+1},a=function(t,e){if("function"==typeof document.elementsFromPoint)return document.elementsFromPoint(t,e);if("function"==typeof document.msElementsFromPoint){var n=document.msElementsFromPoint(t,e);return null!==n?kh(n):n}var r,i=[],a=[];do{var o=document.elementFromPoint(t,e);r!==o?(r=o,i.push(r),a.push(r.style.pointerEvents),r.style.pointerEvents="none"):r=null}while(r);return ao(i).call(i,(function(t,e){t.style.pointerEvents=a[e]})),i}(i.x,i.y),o=0;o<a.length;o++)if(e.contains(a[o])){n=a[o];break}if(n&&n!==e){for(var s=n.closest("[data-sign]");s&&s.parentElement&&s.parentElement!==e;)s=s.parentElement.closest("[data-sign]");if(s){for(var c=0,l=s;l;)c+=+l.getAttribute("data-lines"),l=l.previousElementSibling;var u=getComputedStyle(s),h=$f(u.marginTop),f=$f(u.marginBottom),d=s.getBoundingClientRect(),A=d.height+h+f,p=d.y-h-r.y,g=+s.getAttribute("data-lines"),m=100*Math.abs(p)/A/100;return t.editor.scrollToLineNum(c-g,g,m)}}}},Wf(e,"scroll",xC,!1),Wf(e,"wheel",(function(){t.disableScrollListener=!1,cancelAnimationFrame(t.animation.timer),t.animation.timer=0}),!1)}},{key:"removeScroll",value:function(){Yf(this.getDomContainer(),"scroll",xC,!1)}},{key:"$html2H",value:function(t){if(void 0===t)return ey("span",{},[]);if(!t.tagName)return t.textContent;var e=t.tagName,n="true"===t.getAttribute("data-cm-atomic"),r=this.$getAttrsForH(t.attributes),i=[];if(!n&&t.childNodes&&t.childNodes.length>0)for(var a=0;a<t.childNodes.length;a++)i.push(this.$html2H(t.childNodes[a]));return ey(e,r,i)}},{key:"$getAttrsForH",value:function(t){if(!t)return{};for(var e={dataset:{}},n=0;n<t.length;n++){var r,i=t[n].name,a=t[n].value;if(/^(width|height)$/i.test(i)&&isNaN(a))e.style=e.style?e.style:[],e.style.push(Fs(r="".concat(i,":")).call(r,a));else/^(class|id|href|rel|target|src|title|controls|align|width|height|style|open|contenteditable)$/i.test(i)?"style"===(i="contenteditable"===(i="class"===i?"className":i)?"contentEditable":i)?(e.style=e.style?e.style:[],e.style.push(a)):e[i]="open"===i||a:("colspan"===i?i="colSpan":"rowspan"===i&&(i="rowSpan"),/^data-/i.test(i)?i=i.replace(/^data-/i,""):e[i]=a,e.dataset[i]=a)}return e.style&&(e.style={cssText:e.style.join(";")}),e}},{key:"$updateDom",value:function(t,e){var n=vy(this.$html2H(e),this.$html2H(t));return Qy(e,n)}},{key:"$testChild",value:function(t){return!t.parentNode||(!!t.parentNode.classList.contains("cherry-previewer")||!t.parentNode.getAttribute("data-sign")&&this.$testChild(t.parentNode))}},{key:"_testMaxIndex",value:function(t,e){if(!e)return!1;for(var n=0;n<e.length;n++)if(t<=e[n])return!0;return!1}},{key:"$getSignData",value:function(t){for(var e=t.querySelectorAll("[data-sign]"),n={list:[],signs:{}},r=0;r<e.length;r++)if(this.$testChild(e[r])){var i=e[r].getAttribute("data-sign");n.list.push({sign:i,dom:e[r]}),n.signs[i]||(n.signs[i]=[]),n.signs[i].push(r)}return n}},{key:"_hasNewSign",value:function(t,e,n){var r;return t.length>0&&(ao(t).call(t,(function(t,i){var a;Cf(a=t.sign).call(a,0,12)===Cf(e).call(e,0,12)&&i>n&&(r={index:i>n?i:n,sign:e})})),r)}},{key:"$dealWithMyersDiffResult",value:function(t,e,n,r){var i=this;ao(t).call(t,(function(t){switch(n[t.newIndex].dom&&(n[t.newIndex].dom.innerHTML=i.lazyLoadImg.changeLoadedDataSrc2Src(n[t.newIndex].dom.innerHTML)),t.type){case"delete":r.removeChild(e[t.oldIndex].dom);break;case"insert":e[t.oldIndex]?r.insertBefore(n[t.newIndex].dom,e[t.oldIndex].dom):r.appendChild(n[t.newIndex].dom);break;case"update":try{if(n[t.newIndex].dom.querySelector("svg"))throw new Error;i.$updateDom(n[t.newIndex].dom,e[t.oldIndex].dom)}catch(i){r.insertBefore(n[t.newIndex].dom,e[t.oldIndex].dom),r.removeChild(e[t.oldIndex].dom)}}}))}},{key:"$dealUpdate",value:function(t,e,n){if(n.list!==e.list)if(n.list.length&&e.list.length){var r=new Uy(n.list,e.list,(function(t,e){return t[e].sign})).doDiff();Jf.log(r),this.$dealWithMyersDiffResult(r,e.list,n.list,t)}else if(n.list.length&&!e.list.length){var i;Jf.log("add all"),ao(i=n.list).call(i,(function(e){t.appendChild(e.dom)}))}else if(!n.list.length&&e.list.length){var a;Jf.log("delete all"),ao(a=e.list).call(a,(function(e){t.removeChild(e.dom)}))}}},{key:"refresh",value:function(t){this.getDomContainer().innerHTML=t}},{key:"update",value:function(t){var e=this,n=this.lazyLoadImg.changeSrc2DataSrc(t);if(this.isPreviewerHidden())this.doHtmlCache(n);else{window.clearTimeout(this.syncScrollLockTimer),this.applyingDomChanges=!0;var r=document.createElement("div"),i=this.getDomContainer();r.innerHTML=n;var a=this.$getSignData(r),o=this.$getSignData(i);try{this.$dealUpdate(i,o,a),this.afterUpdate()}finally{this.syncScrollLockTimer=Xs((function(){e.applyingDomChanges=!1}),50)}}}},{key:"$dealEditAndPreviewOnly",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={editorPercentage:"0%",previewerPercentage:"100%"};e&&(n={editorPercentage:"100%",previewerPercentage:"0%"});var r=this.editor.options.editorDom.getBoundingClientRect().width,i=this.calculateRealLayout(r);this.options.previewerCache.layout=i,this.setRealLayout(n.editorPercentage,n.previewerPercentage),this.options.virtualDragLineDom.classList.add("cherry-drag--hidden");var a=this.options.previewerDom,o=this.editor.options.editorDom;e?(a.classList.add("cherry-previewer--hidden"),o.classList.add("cherry-editor--full"),a.classList.remove("cherry-preview--full"),o.classList.remove("cherry-editor--hidden")):(a.classList.add("cherry-preview--full"),o.classList.add("cherry-editor--hidden"),a.classList.remove("cherry-previewer--hidden"),o.classList.remove("cherry-editor--full")),Xs((function(){return t.editor.editor.refresh()}),0)}},{key:"previewOnly",value:function(){this.$dealEditAndPreviewOnly(!1),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),Zf.emit(this.instanceId,Zf.Events.previewerOpen),Zf.emit(this.instanceId,Zf.Events.editorClose)}},{key:"editOnly",value:function(){this.$dealEditAndPreviewOnly(!0),this.cleanHtmlCache(),Zf.emit(this.instanceId,Zf.Events.previewerClose),Zf.emit(this.instanceId,Zf.Events.editorOpen)}},{key:"recoverPreviewer",value:function(){var t=this;this.options.previewerDom.classList.remove("cherry-previewer--hidden"),this.options.virtualDragLineDom.classList.remove("cherry-drag--hidden"),this.editor.options.editorDom.classList.remove("cherry-editor--full");var e=this.options.previewerCache.layout;this.setRealLayout(e.editorPercentage,e.previewerPercentage),this.options.previewerCache.htmlChanged&&this.update(this.options.previewerCache.html),this.cleanHtmlCache(),Zf.emit(this.instanceId,Zf.Events.previewerOpen),Zf.emit(this.instanceId,Zf.Events.editorOpen),Xs((function(){return t.editor.editor.refresh()}),0)}},{key:"doHtmlCache",value:function(t){this.options.previewerCache.html=t,this.options.previewerCache.htmlChanged=!0}},{key:"cleanHtmlCache",value:function(){this.options.previewerCache.html="",this.options.previewerCache.htmlChanged=!1,this.options.previewerCache.layout={}}},{key:"afterUpdate",value:function(){var t;tA(t=this.options.afterUpdateCallBack).call(t,(function(t){return t()})),void 0===this.highlightLineNum&&(this.highlightLineNum=0),this.highlightLine(this.highlightLineNum)}},{key:"registerAfterUpdate",value:function(t){if(rA(t)){var e;this.options.afterUpdateCallBack=Fs(e=this.options.afterUpdateCallBack).call(e,t)}else{if(!t)throw new Error("[markdown error]: Previewer registerAfterUpdate params are undefined");this.options.afterUpdateCallBack.push(t)}}},{key:"$getTopByLineNum",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.getDomContainer();if(null===t)return n.scrollHeight;for(var r="number"==typeof t?t:Mf(t,10),i=n.querySelectorAll("[data-sign]"),a=0,o=n.offsetTop,s=0;s<i.length;s++)if(i[s].parentNode===n){var c=Mf(i[s].getAttribute("data-lines"),10);if(!(a+c<r)){var l=Gf(i[s]),u=l.height,h=l.offsetTop-o,f=h+u*e;return c>1&&(f=h+(c-Math.abs(r-(a+c))-1)/c*u+u/c*e),f}a+=c}return n.scrollHeight}},{key:"highlightLine",value:function(t){var e,n,r,i,a,o=this.getDomContainer();if(ao(e=o.querySelectorAll(".cherry-highlight-line")).call(e,(function(t){t.classList.remove("cherry-highlight-line")})),"show"===(null===(n=this.$cherry)||void 0===n||null===(r=n.status)||void 0===r?void 0:r.previewer)&&"show"===(null===(i=this.$cherry)||void 0===i||null===(a=i.status)||void 0===a?void 0:a.editor))for(var s=o.querySelectorAll("[data-sign]"),c=0,l=0;l<s.length;l++)if(s[l].parentNode===o){var u=Mf(s[l].getAttribute("data-lines"),10);if(!(c+u<t))return this.highlightLineNum=t,void s[l].classList.add("cherry-highlight-line");c+=u}}},{key:"scrollToLineNumWithOffset",value:function(t,e){var n=this.$getTopByLineNum(t)-e;this.$scrollAnimation(n),this.highlightLine(t)}},{key:"$scrollAnimation",value:function(t){var e=this;if(this.animation.destinationTop=t,!this.animation.timer){this.animation.timer=requestAnimationFrame((function t(){var n=e.getDomContainer(),r=n.scrollTop,i=e.animation.destinationTop-r,a=Math.ceil(Math.min(Math.abs(i),Math.max(1,Math.abs(i)/(100/16.7))));if(0===i||r>=n.scrollHeight||a>Math.abs(i))return cancelAnimationFrame(e.animation.timer),void(e.animation.timer=0);e.disableScrollListener=!0,e.getDomContainer().scrollTo(null,r+i/Math.abs(i)*a),e.animation.timer=requestAnimationFrame(t)}))}}},{key:"scrollToLineNum",value:function(t,e){var n=this.$getTopByLineNum(t,e);this.$scrollAnimation(n)}},{key:"onMouseDown",value:function(){var t=this;Wf(this.getDomContainer(),"mousedown",(function(){Xs((function(){Zf.emit(t.instanceId,Zf.Events.cleanAllSubMenus)}))}))}},{key:"export",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pdf";if(!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")){var n=(new DOMParser).parseFromString(this.getValue(),"text/html"),r=_C(n);t=r||"cherry"}"pdf"===e?function(t,e){var n=document.title;document.title=e,_k(t,(function(t,e){window.print(),e(),document.title=n}))}(this.getDomContainer(),t):"screenShot"===e?Bk(this.getDomContainer(),t):"markdown"===e?function(t,e){var n=new Blob([t],{type:"text/markdown;charset=utf-8"}),r=document.createElement("a");r.style.display="none",r.href=Ek.createObjectURL(n),r.download="".concat(e,".md"),document.body.appendChild(r),r.click(),document.body.removeChild(r)}(this.$cherry.getMarkdown(),t):"html"===e&&function(t,e){var n=new Blob([t],{type:"text/markdown;charset=utf-8"}),r=document.createElement("a");r.style.display="none",r.href=Ek.createObjectURL(n),r.download="".concat(e,".html"),document.body.appendChild(r),r.click(),document.body.removeChild(r)}(this.getValue(),t)}}]),t}(),SC=navigator.userAgent,LC=navigator.platform;/gecko\/\d/i.test(SC);var IC=/MSIE \d/.test(SC),MC=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(SC),OC=/Edge\/(\d+)/.exec(SC);(IC||MC||OC)&&(IC?document.documentMode:(OC||MC)[1]);var NC=!OC&&/WebKit\//.test(SC);NC&&/Qt\/\d+\.\d+/.test(SC),!OC&&/Chrome\//.test(SC);var DC=/Opera\//.test(SC);/Apple Computer/.test(navigator.vendor),/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(SC),/PhantomJS/.test(SC);var FC=!OC&&/AppleWebKit/.test(SC)&&/Mobile\/\w+/.test(SC),PC=/Android/.test(SC);FC||PC||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(SC);var RC=FC||/Mac/.test(LC);/\bCrOS\b/.test(SC),/win/i.test(LC);var QC=DC&&SC.match(/Version\/(\d*\.\d*)/);function UC(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"absolute",n=t.getBoundingClientRect();return"fixed"===e?n:"sidebar"===e?{left:HC.getTargetParentByButton(t).offsetLeft-130+n.width,top:t.offsetTop+n.height/2,width:n.width,height:n.height}:{left:t.offsetLeft,top:t.offsetTop,width:n.width,height:n.height}}QC&&(QC=Number(QC[1])),QC&&QC>=15&&(DC=!1,NC=!0);var HC=t("MenuHookBase",function(){function t(e){bo(this,t),Ms(this,"_onClick",void 0),this.$cherry=e,this.bubbleMenu=!1,this.subMenu=null,this.name="",this.editor=e.editor,this.locale=e.locale,this.dom=null,this.updateMarkdown=!0,this.subMenuConfig=[],this.noIcon=!1,this.cacheOnce=!1,this.positionModel="absolute","function"==typeof this._onClick&&(Jf.warn("`MenuBase._onClick` is deprecated. Override `fire` instead"),this.fire=this._onClick)}return hs(t,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"setName",value:function(t,e){this.name=t,this.iconName=e}},{key:"setCacheOnce",value:function(t){this.cacheOnce=t}},{key:"getAndCleanCacheOnce",value:function(){this.updateMarkdown=!0;var t=this.cacheOnce;return this.cacheOnce=!1,t}},{key:"hasCacheOnce",value:function(){return!1!==this.cacheOnce}},{key:"createBtn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=Xf("span",t?"cherry-dropdown-item":"cherry-toolbar-button cherry-toolbar-".concat(this.iconName?this.iconName:this.name),{title:this.locale[this.name]||LA(this.name)});if(this.iconName&&!this.noIcon){var n=Xf("i","ch-icon ch-icon-".concat(this.iconName));e.appendChild(n)}return(t||this.noIcon)&&(e.innerHTML+=this.locale[this.name]||LA(this.name)),t||this.dom||(this.dom=e),e}},{key:"createSubBtnByConfig",value:function(t){var e=t.name,n=t.iconName,r=t.onclick,i=Xf("span","cherry-dropdown-item",{title:this.locale[e]||LA(e)});if(n){var a=Xf("i","ch-icon ch-icon-".concat(n));i.appendChild(a)}return i.innerHTML+=this.locale[e]||LA(e),i.addEventListener("click",r,!1),i}},{key:"fire",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(null==t||t.stopPropagation(),"function"==typeof this.onClick){var r=this.editor.editor.getSelections();this.isSelections=r.length>1;var i=tA(r).call(r,(function(r,i,a){return e.onClick(r,n,t)||a[i]}));!this.bubbleMenu&&this.updateMarkdown&&(this.editor.editor.replaceSelections(i,"around"),this.editor.editor.focus(),this.$afterClick())}}},{key:"$getSelectionRange",value:function(){var t=this.editor.editor.listSelections()[0],e=t.anchor,n=t.head;return e.line===n.line&&e.ch>n.ch||e.line>n.line?{begin:n,end:e}:{begin:e,end:n}}},{key:"registerAfterClickCb",value:function(t){this.afterClickCb=t}},{key:"$afterClick",value:function(){"function"!=typeof this.afterClickCb||this.isSelections||(this.afterClickCb(),this.afterClickCb=null)}},{key:"setLessSelection",value:function(t,e){var n,r,i,a,o=this.editor.editor,s=this.$getSelectionRange(),c=s.begin,l=s.end,u={line:(null===(n=t.match(/\n/g))||void 0===n?void 0:n.length)>0?c.line+t.match(/\n/g).length:c.line,ch:(null===(r=t.match(/\n/g))||void 0===r?void 0:r.length)>0?t.replace(/^[\s\S]*?\n([^\n]*)$/,"$1").length:c.ch+t.length},h=(null===(i=e.match(/\n/g))||void 0===i?void 0:i.length)>0?l.line-e.match(/\n/g).length:l.line,f={line:h,ch:(null===(a=e.match(/\n/g))||void 0===a?void 0:a.length)>0?o.getLine(h).length:l.ch-e.length};o.setSelection(u,f)}},{key:"getMoreSelection",value:function(t,e,n){var r=this.editor.editor,i=this.$getSelectionRange(),a=i.begin,o=i.end,s=/\n/.test(t)?0:a.ch-t.length;s=s<0?0:s;var c,l=/\n/.test(t)?a.line-t.match(/\n/g).length:a.line,u={line:l=l<0?0:l,ch:s},h=o.line,f=o.ch;/\n/.test(e)?(h=o.line+e.match(/\n/g).length,f=null===(c=r.getLine(h))||void 0===c?void 0:c.length):f=r.getLine(o.line).length<o.ch+e.length?r.getLine(o.line).length:o.ch+e.length;var d={line:h,ch:f};r.setSelection(u,d),!1===n()&&r.setSelection(a,o)}},{key:"getSelection",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"word",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.editor.editor;if(this.isSelections)return t;if(t&&!n)return t;if("line"===e){var i=this.$getSelectionRange(),a=i.begin,o=i.end;return r.setSelection({line:a.line,ch:0},{line:o.line,ch:r.getLine(o.line).length}),r.getSelection()}if("word"===e){var s=r.findWordAt(r.getCursor()),c=s.anchor,l=s.head;return r.setSelection(c,l),r.getSelection()}}},{key:"bindSubClick",value:function(t,e){return this.fire(null,t)}},{key:"onClick",value:function(t,e,n){return t}},{key:"shortcutKeys",get:function(){return[]}},{key:"getMenuPosition",value:function(){var e=t.getTargetParentByButton(this.dom),n=/cherry-sidebar/.test(e.className);return/cherry-bubble/.test(e.className)||/cherry-floatmenu/.test(e.className)?this.positionModel="fixed":this.positionModel=n?"sidebar":"absolute",UC(this.dom,this.positionModel)}}],[{key:"getTargetParentByButton",value:function(t){var e=t.parentElement;return/toolbar-(left|right)/.test(e.className)&&(e=e.parentElement),e}}]),t}());function jC(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var $C=function(t){Es(n,t);var e=jC(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("bold","bold"),r}return hs(n,[{key:"$testIsBold",value:function(t){return/^\s*(\*\*|__)[\s\S]+(\1)/.test(t)}},{key:"onClick",value:function(t){var e=this,n=this.getSelection(t)||this.locale.bold;return this.isSelections||this.$testIsBold(n)||this.getMoreSelection("**","**",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsBold(t);return r&&(n=t),r})),this.$testIsBold(n)?n.replace(/(^)(\s*)(\*\*|__)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb((function(){e.setLessSelection("**","**")})),n.replace(/(^)([^\n]+)($)/gm,"$1**$2**$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-b"]}}]),n}(HC);function KC(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var GC=function(t){Es(n,t);var e=KC(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("italic","italic"),r}return hs(n,[{key:"$testIsItalic",value:function(t){return/^\s*(\*|_)[\s\S]+(\1)/.test(t)}},{key:"onClick",value:function(t){var e=this,n=this.getSelection(t)||this.locale.italic;return this.isSelections||this.$testIsItalic(n)||this.getMoreSelection("*","*",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsItalic(t);return r&&(n=t),r})),this.$testIsItalic(n)?n.replace(/(^)(\s*)(\*|_)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb((function(){e.setLessSelection("*","*")})),n.replace(/(^)([^\n]+)($)/gm,"$1*$2*$3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-i"]}}]),n}(HC);function zC(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var XC=function(t){Es(n,t);var e=zC(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("split","|"),r}return hs(n,[{key:"createBtn",value:function(){var t=document.createElement("i");return t.className="cherry-toolbar-button cherry-toolbar-split",t}}]),n}(HC);function qC(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"word",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(t.getSelections().length>1)return e;if(e&&!r)return e;if("line"===n){var i=t.listSelections()[0],a=i.anchor,o=i.head;return a.line===o.line&&a.ch>o.ch||a.line>o.line?t.setSelection({line:o.line,ch:0},{line:a.line,ch:t.getLine(a.line).length}):t.setSelection({line:a.line,ch:0},{line:o.line,ch:t.getLine(o.line).length}),t.getSelection()}if("word"===n){var s=t.findWordAt(t.getCursor()),c=s.anchor,l=s.head;return t.setSelection(c,l),t.getSelection()}}function VC(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var WC=function(t){Es(n,t);var e=VC(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("strikethrough","strike"),r}return hs(n,[{key:"$testIsStrike",value:function(t){return/(~~)[\s\S]+(\1)/.test(t)}},{key:"onClick",value:function(t){var e,n,r,i,a,o,s=this,c=qC(this.editor.editor,t)||this.locale.strikethrough,l=(null===(e=this.$cherry)||void 0===e||null===(n=e.options)||void 0===n||null===(r=n.engine)||void 0===r||null===(i=r.syntax)||void 0===i||null===(a=i.strikethrough)||void 0===a?void 0:a.needWhitespace)?" ":"";return this.isSelections||this.$testIsStrike(c)||this.getMoreSelection("".concat(l,"~~"),"~~".concat(l),(function(){var t=s.editor.editor.getSelection(),e=s.$testIsStrike(t);return e&&(c=t),e})),this.$testIsStrike(c)?t.replace(/[\s]*(~~)([\s\S]+)(\1)[\s]*/g,"$2"):(this.registerAfterClickCb((function(){s.setLessSelection("".concat(l,"~~"),"~~".concat(l))})),c.replace(/(^)[\s]*([\s\S]+?)[\s]*($)/g,Fs(o="$1".concat(l,"~~$2~~")).call(o,l,"$3")))}},{key:"shortcutKeys",get:function(){return["Ctrl-d"]}}]),n}(HC);function YC(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var JC=function(t){Es(n,t);var e=YC(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("sub","sub"),r}return hs(n,[{key:"$testIsSub",value:function(t){return/^\s*(\^\^)[\s\S]+(\1)/.test(t)}},{key:"onClick",value:function(t){var e=this,n=qC(this.editor.editor,t)||this.locale.sub;return this.isSelections||this.$testIsSub(n)||this.getMoreSelection("^^","^^",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsSub(t);return r&&(n=t),r})),this.$testIsSub(n)?n.replace(/(^)(\s*)(\^\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb((function(){e.setLessSelection("^^","^^")})),n.replace(/(^)([^\n]+)($)/gm,"$1^^$2^^$3"))}}]),n}(HC);function ZC(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var tE=function(t){Es(n,t);var e=ZC(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("sup","sup"),r}return hs(n,[{key:"$testIsSup",value:function(t){return/^\s*(\^)[\s\S]+(\1)/.test(t)}},{key:"onClick",value:function(t){var e=this,n=qC(this.editor.editor,t)||this.locale.sup;return this.isSelections||this.$testIsSup(n)||this.getMoreSelection("^","^",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsSup(t);return r&&(n=t),r})),this.$testIsSup(n)?t.replace(/(^)(\s*)(\^)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb((function(){e.setLessSelection("^","^")})),n.replace(/(^)([^\n]+)($)/gm,"$1^$2^$3"))}}]),n}(HC);function eE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var nE=function(t){Es(n,t);var e=eE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("color","color"),r.bubbleColor=new rE(t),r}return hs(n,[{key:"$testIsColor",value:function(t,e){var n=/^\s*!!![^\s]+ [\s\S]+!!!\s*$/;return"text"===t?/^\s*!![^\s]+ [\s\S]+!!\s*$/.test(e)&&!n.test(e):n.test(e)}},{key:"onClick",value:function(t){var e=this,n=arguments.length>2?arguments[2]:void 0,r=qC(this.editor.editor,t)||this.locale.color;if(this.hasCacheOnce()){var i,a,o=this.getAndCleanCacheOnce(),s=o.type,c=o.color,l="text"===s?"!!".concat(c," "):"!!!".concat(c," "),u="text"===s?"!!":"!!!";if(this.isSelections||this.$testIsColor(s,r)||this.getMoreSelection(l,u,(function(){var t=e.editor.editor.getSelection();return!!e.$testIsColor(s,t)&&(r=t,!0)})),this.$testIsColor(s,r)){var h,f=new RegExp(Fs(h="(^\\s*".concat(u,")([^\\s]+) ([\\s\\S]+")).call(h,u,"\\s*$)"),"gm"),d=!0,A=r.replace(f,(function(t,e,n,r){var i,a;return d=!!d&&n===c,Fs(i=Fs(a="".concat(e)).call(a,c," ")).call(i,r)}));return d?r.replace(f,"$3").replace(/!+\s*$/gm,""):(this.registerAfterClickCb((function(){e.setLessSelection(l,u)})),A)}return this.registerAfterClickCb((function(){e.setLessSelection(l,u)})),Fs(i=Fs(a="".concat(l)).call(a,r)).call(i,u)}var p=0,g=0;if(n.target.closest(".cherry-bubble")){var m=n.target.closest(".cherry-bubble"),b=m.getBoundingClientRect();p=b.top+m.offsetHeight,g=n.target.closest(".cherry-toolbar-color").offsetLeft+b.left}else{var v=n.target.closest(".cherry-toolbar-color"),y=v.getBoundingClientRect();p=y.top+v.offsetHeight,g=y.left}this.updateMarkdown=!1,this.bubbleColor.show({left:g,top:p,$color:this})}}]),n}(HC),rE=function(){function t(e){bo(this,t),Ms(this,"colorStack",["#000000","#444444","#666666","#999999","#cccccc","#eeeeee","#f3f3f3","#ffffff","#ff0000","#ff9900","#ffff00","#00ff00","#00ffff","#0000ff","#9900ff","#ff00ff","#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc","#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd","#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0","#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79","#990000","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47","#660000","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]),this.editor=e.editor,this.init(),this.initAction()}return hs(t,[{key:"setSelection",value:function(t){this.selection=t}},{key:"getFontColorDom",value:function(t){var e,n,r=tA(e=this.colorStack).call(e,(function(t){var e,n;return Fs(e=Fs(n='<span class="cherry-color-item cherry-color-item__'.concat(t.replace("#",""),'" unselectable="on" data-val="')).call(n,t,'"\n style="background-color:')).call(e,t,'"></span>')})).join("");return Fs(n="<h3>".concat(t,"</h3>")).call(n,r)}},{key:"getDom",value:function(){var t=document.createElement("div");t.classList.add("cherry-color-wrap"),t.classList.add("cherry-dropdown");var e=document.createElement("div");e.classList.add("cherry-color-text"),e.innerHTML=this.getFontColorDom("文本颜色"),t.appendChild(e);var n=document.createElement("div");return n.classList.add("cherry-color-bg"),n.innerHTML=this.getFontColorDom("背景颜色"),t.appendChild(n),t}},{key:"init",value:function(){this.dom=this.getDom(),this.editor.options.wrapperDom.appendChild(this.dom)}},{key:"onClick",value:function(){var t,e;return"text"===this.type?/^!!#\S+ [\s\S]+?!!/.test(this.selection)?this.selection.replace(/^!!#\S+ ([\s\S]+?)!!/,"!!".concat(this.colorValue," $1!!")):Fs(e="!!".concat(this.colorValue," ")).call(e,this.selection,"!!"):/^!!!#\S+ [\s\S]+?!!!/.test(this.selection)?this.selection.replace(/^!!!#\S+ ([\s\S]+?)!!!/,"!!!".concat(this.colorValue," $1!!!")):Fs(t="!!!".concat(this.colorValue," ")).call(t,this.selection,"!!!")}},{key:"initAction",value:function(){var t=this;this.dom.addEventListener("click",(function(e){var n=e.target;if(t.colorValue=n.getAttribute("data-val"),!t.colorValue)return!1;t.type=n.closest(".cherry-color-text")?"text":"bg",t.$color.setCacheOnce({type:t.type,color:t.colorValue}),t.$color.fire(null)}),!1),this.dom.addEventListener("EditorHideToolbarSubMenu",(function(){"none"!==t.dom.style.display&&(t.dom.style.display="none")}))}},{key:"show",value:function(t){var e=t.left,n=t.top,r=t.$color;this.dom.style.left="".concat(e,"px"),this.dom.style.top="".concat(n,"px"),this.dom.style.display="block",this.$color=r}}]),t}();function iE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var aE=function(t){Es(n,t);var e=iE(n);function n(t){var r,i,a,o,s,c;return bo(this,n),(c=e.call(this,t)).setName("header","header"),c.subMenuConfig=[{iconName:"h1",name:"h1",onclick:Ps(r=c.bindSubClick).call(r,fs(c),"1")},{iconName:"h2",name:"h2",onclick:Ps(i=c.bindSubClick).call(i,fs(c),"2")},{iconName:"h3",name:"h3",onclick:Ps(a=c.bindSubClick).call(a,fs(c),"3")},{iconName:"h4",name:"h4",onclick:Ps(o=c.bindSubClick).call(o,fs(c),"4")},{iconName:"h5",name:"h5",onclick:Ps(s=c.bindSubClick).call(s,fs(c),"5")}],c}return hs(n,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"$getFlagStr",value:function(t){var e=+("string"==typeof t?t.replace(/[^0-9]+([0-9])/g,"$1"):t);return Jg("#").call("#",e||1)}},{key:"$testIsHead",value:function(t){return/^\s*(#+)\s*.+/.test(t)}},{key:"onClick",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=qC(this.editor.editor,t,"line",!0)||this.locale.header,i=this.$getFlagStr(n);if(this.isSelections||this.$testIsHead(r)||this.getMoreSelection("\n","",(function(){var t=e.editor.editor.getSelection(),n=e.$testIsHead(t);return n&&(r=t),n})),this.$testIsHead(r)){var a=!0,o=r.replace(/(^\s*)(#+)(\s*)(.+$)/gm,(function(t,e,n,r,o){var s,c,l;return a=!!a&&n.length===i.length,Fs(s=Fs(c=Fs(l="".concat(e)).call(l,i)).call(c,r)).call(s,o)}));return a?r.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb((function(){e.setLessSelection("".concat(i," "),"")})),o)}return this.registerAfterClickCb((function(){e.setLessSelection("".concat(i," "),"")})),r.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(i," $3$4"))}},{key:"shortcutKeys",get:function(){return["Ctrl-1","Ctrl-2","Ctrl-3","Ctrl-4","Ctrl-5","Ctrl-6"]}}]),n}(HC),oE=function(t,e){var n,r=document.createElement("td");return r.className=e||"table-item",ao(n=ar(t)).call(n,(function(e){r.dataset[e]=t[e]})),r},sE=function(){function t(e,n){var r=e.row,i=e.col;bo(this,t),this.init(r,i,n),this.initEventListeners(),this.afterClick=function(){}}return hs(t,[{key:"init",value:function(t,e,n){var r=this,i=document.createElement("table"),a=[];i.className=["cherry-insert-table-menu","cherry-dropdown"].join(" ");for(var o=1;o<=t;o++){var s=document.createElement("tr");s.className="cherry-insert-table-menu-row",a[o-1]=[];for(var c=1;c<=e;c++){var l=oE({row:o,col:c},"cherry-insert-table-menu-item");s.appendChild(l),a[o-1][c-1]=l}i.appendChild(s)}return i.style.display="none",i.addEventListener("EditorHideToolbarSubMenu",(function(){r.hide()})),this.dom=i,this.cell=a,this.maxRow=t,this.maxCol=e,this.activeRow=0,this.activeCol=0,this.dom}},{key:"initEventListeners",value:function(){var t,e;this.dom.addEventListener("mousemove",Ps(t=this.handleMouseMove).call(t,this),!1),this.dom.addEventListener("mouseup",Ps(e=this.handleMouseUp).call(e,this))}},{key:"setActiveCell",value:function(t,e){if(this.activeRow!==t||this.activeCol!==e){var n=Math.min(this.activeRow,t),r=Math.max(this.activeRow,t);if(n!==r)for(var i=r;i>n;i--)for(var a=1;a<=this.activeCol;a++)this.cell[i-1][a-1].classList.toggle("active");var o=Math.min(this.activeCol,e),s=Math.max(this.activeCol,e);if(o!==s)for(var c=s;c>o;c--)for(var l=1;l<=t;l++)this.cell[l-1][c-1].classList.toggle("active");this.activeRow=t,this.activeCol=e}}},{key:"handleMouseMove",value:function(t){var e=t.target;e!==this.dom&&(e.classList.contains("cherry-insert-table-menu-item")||(e=e.querySelector(".cherry-insert-table-menu-item")),e&&this.setActiveCell(e.dataset.row,e.dataset.col))}},{key:"handleMouseUp",value:function(t){var e=t.target;return e===this.dom||e.classList.contains("cherry-insert-table-menu-item")||(e=e.querySelector(".cherry-insert-table-menu-item")),this.afterClick(this.activeRow,this.activeCol),void this.hide()}},{key:"show",value:function(t){this.dom.style.display="block",this.afterClick=t}},{key:"hide",value:function(){this.dom.style.display="none";for(var t=0;t<this.maxRow;t++)for(var e=0;e<this.maxCol;e++)this.cell[t][e].classList.remove("active");this.activeRow=0,this.activeCol=0}}]),t}();function cE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var lE=function(t){Es(n,t);var e=cE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("insert","insert"),r.noIcon=!0,r.subBubbleTableMenu=new sE({row:9,col:9}),t.editor.options.wrapperDom.appendChild(r.subBubbleTableMenu.dom),r}return hs(n,[{key:"handleUpload",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"image",n=document.createElement("input");n.type="file",n.id="fileUpload",n.value="",n.style.display="none",n.addEventListener("change",(function(n){var r=wf(n.target.files,1)[0];t.$cherry.options.fileUpload(r,(function(n){if("string"==typeof n&&n){var i,a="";if("image"===e)a=Fs(i="![".concat(r.name,"](")).call(i,n,")");else if("video"===e){var o;a=Fs(o="!video[".concat(r.name,"](")).call(o,n,")")}else if("audio"===e){var s;a=Fs(s="!audio[".concat(r.name,"](")).call(s,n,")")}else{var c;a=Fs(c="[".concat(r.name,"](")).call(c,n,")")}t.$cherry.$cherry.doc.replaceSelection(a)}}))})),n.click()}},{key:"onClick",value:function(t){var e,n,r,i,a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2?arguments[2]:void 0;if(/normal-table/.test(o)){var c,l,u,h=o.match(/([0-9]+)[^0-9]([0-9]+)/),f=h?+h[1]:3,d=h?+h[2]:5,A=Jg(" Header |").call(" Header |",d),p=Jg(" ------ |").call(" ------ |",d),g="\n|".concat(Jg(" Sample |").call(" Sample |",d));return Fs(c=Fs(l=Fs(u="".concat(t,"\n\n|")).call(u,A,"\n|")).call(l,p)).call(c,Jg(g).call(g,f),"\n\n")}var m=qC(this.editor.editor,t);switch(o){case"hr":return"".concat(t,"\n\n---\n");case"br":return"".concat(t,"<br>");case"code":return"\n``` \n".concat(t||"code...","\n```\n");case"formula":return"".concat(t,"\n\n$ e=mc^2 $\n\n");case"checklist":return"".concat(t,"\n\n- [x] Item 1\n- [ ] Item 2\n- [ ] Item 3\n");case"toc":return"".concat(t,"\n\n[[toc]]\n");case"link":return Fs(e="".concat(t,"[")).call(e,this.locale.link,"](http://url.com) ");case"image":return this.handleUpload("image"),t;case"video":return this.handleUpload("video"),t;case"audio":return this.handleUpload("audio"),t;case"table":return this.subBubbleTableMenu.dom.style.left=this.subMenu.dom.style.left,this.subBubbleTableMenu.dom.style.top=this.subMenu.dom.style.top,void this.subBubbleTableMenu.show((function(e,n){var r,i,a,o=Jg(" Header |").call(" Header |",n),c=Jg(" ------ |").call(" ------ |",n),l="\n|".concat(Jg(" Sample |").call(" Sample |",n)),u=Fs(r=Fs(i=Fs(a="".concat(t,"\n\n|")).call(a,o,"\n|")).call(i,c)).call(r,Jg(l).call(l,e),"\n\n");s(u)}));case"line-table":return Fs(n="".concat(t,"\n\n")).call(n,["| :line: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join("\n"),"\n\n");case"bar-table":return Fs(r="".concat(t,"\n\n")).call(r,["| :bar: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join("\n"),"\n\n");case"headlessTable":return this.subBubbleTableMenu.dom.style.left=this.subMenu.dom.style.left,this.subBubbleTableMenu.dom.style.top=this.subMenu.dom.style.top,void this.subBubbleTableMenu.show((function(e,n){var r,i,a,o=Fs(r=Fs(i="".concat(t,"\n\n||")).call(i,Jg(" ~Header ||").call(" ~Header ||",n))).call(r,Jg(a="\n||".concat(Jg(" SampleT ||").call(" SampleT ||",n))).call(a,e-1),"\n\n");s(o)}));case"pdf":return this.handleUpload("pdf"),t;case"word":return this.handleUpload("word"),t;case"ruby":return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(m)?m.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1"):Fs(i=" { ".concat(m," | ")).call(i,ih(a=this.editor.$cherry.options.callback.changeString2Pinyin(m)).call(a)," } ")}}}]),n}(HC);function uE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var hE=function(t){Es(n,t);var e=uE(n);function n(t){var r,i,a,o;return bo(this,n),(o=e.call(this,t)).setName("list","list"),o.subMenuConfig=[{iconName:"ol",name:"ol",onclick:Ps(r=o.bindSubClick).call(r,fs(o),"1")},{iconName:"ul",name:"ul",onclick:Ps(i=o.bindSubClick).call(i,fs(o),"2")},{iconName:"checklist",name:"checklist",onclick:Ps(a=o.bindSubClick).call(a,fs(o),"3")}],o}return hs(n,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=[null,"ol","ul","checklist"],a=qC(this.editor.editor,t,"line",!0),o=wf(a.match(/^\n*/),1)[0],s=wf(a.match(/\n*$/),1)[0];return null!==i[r]?Fs(e=Fs(n="".concat(o)).call(n,yd(a,i[r]))).call(e,s):a}}]),n}(HC);function fE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var dE=function(t){Es(n,t);var e=fE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("ol","ol"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r=qC(this.editor.editor,t,"line",!0)||"Item 1\n Item 1.1\nItem 2",i=wf(r.match(/^\n*/),1)[0],a=wf(r.match(/\n*$/),1)[0];return Fs(e=Fs(n="".concat(i)).call(n,yd(r,"ol"))).call(e,a)}}]),n}(HC);function AE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var pE=function(t){Es(n,t);var e=AE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("ul","ul"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r=qC(this.editor.editor,t,"line",!0)||"Item 1\n Item 1.1\nItem 2",i=wf(r.match(/^\n*/),1)[0],a=wf(r.match(/\n*$/),1)[0];return Fs(e=Fs(n="".concat(i)).call(n,yd(r,"ul"))).call(e,a)}}]),n}(HC);function gE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var mE=function(t){Es(n,t);var e=gE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("checklist","checklist"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r=qC(this.editor.editor,t,"line",!0)||"Item 1\n Item 1.1\nItem 2",i=wf(r.match(/^\n*/),1)[0],a=wf(r.match(/\n*$/),1)[0];return Fs(e=Fs(n="".concat(i)).call(n,yd(r,"checklist"))).call(e,a)}}]),n}(HC);function bE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}function vE(t,e){return[t,"```mermaid",e,"```"].join("\n")}var yE=["\tA[公司] --\x3e| 下 班 | B(菜市场)","\tB --\x3e C{看见<br>卖西瓜的}","\tC --\x3e|Yes| D[买一个包子]","\tC --\x3e|No| E[买一斤包子]"].join("\n"),wE={flow:["FlowChart",vE("左右结构","graph LR\n".concat(yE)),vE("上下结构","graph TD\n".concat(yE))].join("\n"),sequence:vE("SequenceDiagram",["sequenceDiagram","autonumber","A--\x3eA: 文本1","A->>B: 文本2","loop 循环1","loop 循环2","A->B: 文本3","end","loop 循环3","B --\x3e>A: 文本4","end","B --\x3e> B: 文本5","end"].join("\n")),state:vE("StateDiagram",["stateDiagram-v2","[*] --\x3e A","A --\x3e B","A --\x3e C","state A {"," \t[*] --\x3e D"," \tD --\x3e [*]","}","B --\x3e [*]","C --\x3e [*]"].join("\n")),class:vE("ClassDiagram",["classDiagram","Base <|-- One","Base <|-- Two","Base : +String name","Base: +getName()","Base: +setName(String name)","class One{"," \t+String newName"," \t+getNewName()","}","class Two{"," \t-int id"," \t-getId()","}"].join("\n")),pie:vE("PieChart",["pie","title 饼图",'"A" : 100','"B" : 80','"C" : 40','"D" : 30'].join("\n")),gantt:vE("GanttChart",["gantt","\ttitle 敏捷研发流程","\tsection 迭代前","\t\t交互设计 :a1, 2020-03-01, 4d","\t\tUI设计 :after a1, 5d","\t\t需求评审 : 1d","\tsection 迭代中","\t\t详细设计 :a2, 2020-03-11, 2d","\t\t开发 :2020-03-15, 7d","\t\t测试 :2020-03-22, 5d","\tsection 迭代后","\t\t发布: 1d","\t\t验收: 2d","\t\t回顾: 1d"].join("\n"))},TE=function(t){Es(n,t);var e=bE(n);function n(t){var r,i,a,o,s,c,l;return bo(this,n),(l=e.call(this,t)).setName("graph","insertChart"),l.noIcon=!0,l.subMenuConfig=[{iconName:"insertFlow",name:"insertFlow",onclick:Ps(r=l.bindSubClick).call(r,fs(l),"1")},{iconName:"insertSeq",name:"insertSeq",onclick:Ps(i=l.bindSubClick).call(i,fs(l),"2")},{iconName:"insertState",name:"insertState",onclick:Ps(a=l.bindSubClick).call(a,fs(l),"3")},{iconName:"insertClass",name:"insertClass",onclick:Ps(o=l.bindSubClick).call(o,fs(l),"4")},{iconName:"insertPie",name:"insertPie",onclick:Ps(s=l.bindSubClick).call(s,fs(l),"5")},{iconName:"insertGantt",name:"insertGantt",onclick:Ps(c=l.bindSubClick).call(c,fs(l),"6")}],l}return hs(n,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"onClick",value:function(t){var e=this,n="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),r=[,"flow","sequence","state","class","pie","gantt"],i=r[+n];if(r[+n])return this.registerAfterClickCb((function(){e.setLessSelection("\n\n\n\n\n","\n\n")})),"\n\n".concat(this.$getSampleCode(i),"\n")}},{key:"$getSampleCode",value:function(t){return wE[t].replace(/\t/g," ")}}]),n}(HC);function kE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var CE=function(t){Es(n,t);var e=kE(n);function n(t){var r,i,a,o,s;return bo(this,n),(s=e.call(this,t)).setName("size","size"),s.subMenuConfig=[{name:"小",noIcon:!0,onclick:Ps(r=s.bindSubClick).call(r,fs(s),"12")},{name:"中",noIcon:!0,onclick:Ps(i=s.bindSubClick).call(i,fs(s),"17")},{name:"大",noIcon:!0,onclick:Ps(a=s.bindSubClick).call(a,fs(s),"24")},{name:"特大",noIcon:!0,onclick:Ps(o=s.bindSubClick).call(o,fs(s),"32")}],s.shortKeyMap={"Alt-1":"12","Alt-2":"17","Alt-3":"24","Alt-4":"32"},s}return hs(n,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"_getFlagStr",value:function(t){for(var e=t.replace(/[^0-9]+([0-9])/g,"$1"),n="#",r=1;r<e;r++)n+="#";return n}},{key:"$testIsSize",value:function(t){return/^\s*(![0-9]+) [\s\S]+!/.test(t)}},{key:"$getSizeByShortKey",value:function(t){return/^[0-9]+$/.test(t)?t:this.shortKeyMap[t]||"17"}},{key:"onClick",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"17",r=this.$getSizeByShortKey(n),i=qC(this.editor.editor,t)||"字号";if(this.isSelections||this.$testIsSize(i)||this.getMoreSelection("!32 ","!",(function(){var t=e.editor.editor.getSelection();return!!e.$testIsSize(t)&&(i=t,!0)})),this.$testIsSize(i)){var a=!0,o=i.replace(/(^)(\s*)(![0-9]+)([^\n]+)(!)(\s*)($)/gm,(function(t,e,n,i,o,s,c,l){var u,h,f,d,A,p;return a=!!a&&i==="!".concat(r),Fs(u=Fs(h=Fs(f=Fs(d=Fs(A=Fs(p="".concat(e)).call(p,n,"!")).call(A,r)).call(d,o)).call(f,s)).call(h,c)).call(u,l)}));return a?i.replace(/(^)(\s*)(![0-9]+\s*)([^\n]+)(!)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb((function(){e.setLessSelection("!".concat(r," "),"!")})),o)}return this.registerAfterClickCb((function(){e.setLessSelection("!".concat(r," "),"!")})),i.replace(/(^)([^\n]+)($)/gm,"$1!".concat(r," $2!$3"))}},{key:"shortcutKeys",get:function(){return["Alt-1","Alt-2","Alt-3","Alt-4"]}}]),n}(HC);function EE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var xE=function(t){Es(n,t);var e=EE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("h1","h1"),r}return hs(n,[{key:"$testIsHead",value:function(t){return/^\s*(#+)\s*.+/.test(t)}},{key:"onClick",value:function(t){var e=this,n=qC(this.editor.editor,t,"line",!0)||this.locale.h1,r="#";if(this.isSelections||this.$testIsHead(n)||this.getMoreSelection("\n","",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsHead(t);return r&&(n=t),r})),this.$testIsHead(n)){var i=!0,a=n.replace(/(^\s*)(#+)(\s*)(.+$)/gm,(function(t,e,n,a,o){var s,c,l;return i=!!i&&1===n.length,Fs(s=Fs(c=Fs(l="".concat(e)).call(l,r)).call(c,a)).call(s,o)}));return i?n.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb((function(){e.setLessSelection("".concat(r," "),"")})),a)}return this.registerAfterClickCb((function(){e.setLessSelection("".concat(r," "),"")})),n.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(r," $3$4"))}}]),n}(HC);function _E(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var BE=function(t){Es(n,t);var e=_E(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("h2","h2"),r}return hs(n,[{key:"$testIsHead",value:function(t){return/^\s*(#+)\s*.+/.test(t)}},{key:"onClick",value:function(t){var e=this,n=qC(this.editor.editor,t,"line",!0)||this.locale.h2,r="##";if(this.isSelections||this.$testIsHead(n)||this.getMoreSelection("\n","",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsHead(t);return r&&(n=t),r})),this.$testIsHead(n)){var i=!0,a=n.replace(/(^\s*)(#+)(\s*)(.+$)/gm,(function(t,e,n,a,o){var s,c,l;return i=!!i&&2===n.length,Fs(s=Fs(c=Fs(l="".concat(e)).call(l,r)).call(c,a)).call(s,o)}));return i?n.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb((function(){e.setLessSelection("".concat(r," "),"")})),a)}return this.registerAfterClickCb((function(){e.setLessSelection("".concat(r," "),"")})),n.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(r," $3$4"))}}]),n}(HC);function SE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var LE=function(t){Es(n,t);var e=SE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("h3","h3"),r}return hs(n,[{key:"$testIsHead",value:function(t){return/^\s*(#+)\s*.+/.test(t)}},{key:"onClick",value:function(t){var e=this,n=qC(this.editor.editor,t,"line",!0)||this.locale.h3,r="###";if(this.isSelections||this.$testIsHead(n)||this.getMoreSelection("\n","",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsHead(t);return r&&(n=t),r})),this.$testIsHead(n)){var i=!0,a=n.replace(/(^\s*)(#+)(\s*)(.+$)/gm,(function(t,e,n,a,o){var s,c,l;return i=!!i&&3===n.length,Fs(s=Fs(c=Fs(l="".concat(e)).call(l,r)).call(c,a)).call(s,o)}));return i?n.replace(/(^\s*)(#+)(\s*)(.+$)/gm,"$1$4"):(this.registerAfterClickCb((function(){e.setLessSelection("".concat(r," "),"")})),a)}return this.registerAfterClickCb((function(){e.setLessSelection("".concat(r," "),"")})),n.replace(/(^)([\s]*)([^\n]+)($)/gm,"$1".concat(r," $3$4"))}}]),n}(HC);function IE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var ME=function(t){Es(n,t);var e=IE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("quote","blockquote"),r}return hs(n,[{key:"onClick",value:function(t){var e,n=this,r=qC(this.editor.editor,t,"line",!0)||this.locale.quote,i=zk(e=r.split("\n")).call(e,(function(t){return/^\s*>[^\n]+$/.exec(t)}));return i?r.replace(/(^\s*)>\s*([^\n]+)($)/gm,"$1$2$3").replace(/\n+$/,"\n\n"):(this.registerAfterClickCb((function(){n.setLessSelection("> ","")})),r.replace(/(^)([^\n]+)($)/gm,"$1> $2$3").replace(/\n+$/,"\n\n"))}}]),n}(HC);function OE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var NE=function(t){Es(n,t);var e=OE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("quickTable","table"),r}return hs(n,[{key:"onClick",value:function(t){return"".concat(t,"| LeftAlignedCol | CenterAlignedCol | RightAlignedCol |\n")+"| :--- | :---: | ---: |\n| sampleText | sampleText | sampleText |\n| **left**Text | centered Text | *right*Text |\n"}}]),n}(HC);function DE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var FE=function(t){Es(n,t);var e=DE(n);function n(t){var r;return bo(this,n),Ms(fs(r=e.call(this,t)),"$previewerHidden",!1),r.setName("previewClose","previewClose"),r.instanceId=t.instanceId,r.updateMarkdown=!1,r.attachEventListeners(),r}return hs(n,[{key:"attachEventListeners",value:function(){var t=this;Zf.on(this.instanceId,Zf.Events.previewerClose,(function(){t.isHidden=!0})),Zf.on(this.instanceId,Zf.Events.previewerOpen,(function(){t.isHidden=!1}))}},{key:"isHidden",get:function(){return this.$previewerHidden},set:function(t){if(t!==this.$previewerHidden){var e=this.dom.querySelector("i");t?(e.classList.toggle("ch-icon-previewClose",!1),e.classList.toggle("ch-icon-preview",!0),e.title=this.locale.togglePreview):(e.classList.toggle("ch-icon-previewClose",!0),e.classList.toggle("ch-icon-preview",!1),e.title=this.locale.previewClose),this.$previewerHidden=t}}},{key:"onClick",value:function(){this.editor.previewer.isPreviewerHidden()?(this.editor.previewer.recoverPreviewer(!0),this.isHidden=!1):(this.editor.previewer.editOnly(!0),this.isHidden=!0)}}]),n}(HC);function PE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var RE=function(t){Es(n,t);var e=PE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).updateMarkdown=!1,r.setName("fullScreen","fullscreen"),r}return hs(n,[{key:"onClick",value:function(){for(var t=this.editor.options.editorDom.parentElement.classList,e=document.querySelector(".cherry-toolbar-fullscreen");e.firstChild;)e.removeChild(e.firstChild);if(t.contains("fullscreen")){var n=Xf("i","ch-icon ch-icon-fullscreen");e.appendChild(n),t.remove("fullscreen")}else{var r=Xf("i","ch-icon ch-icon-minscreen");e.appendChild(r),t.add("fullscreen")}this.editor.editor.refresh()}}]),n}(HC);function QE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var UE=function(t){Es(n,t);var e=QE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("undo","undo"),r}return hs(n,[{key:"onClick",value:function(){this.editor.editor.undo()}}]),n}(HC);function HE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var jE=function(t){Es(n,t);var e=HE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("redo","redo"),r}return hs(n,[{key:"onClick",value:function(){this.editor.editor.redo()}}]),n}(HC);function $E(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var KE=function(t){Es(n,t);var e=$E(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("code","code"),r}return hs(n,[{key:"onClick",value:function(t){var e=this,n=t||"code...";return this.registerAfterClickCb((function(){e.setLessSelection("\n``` \n","\n```\n")})),"\n``` \n".concat(n,"\n```\n")}},{key:"shortcutKeys",get:function(){return["Ctrl-k"]}}]),n}(HC);function GE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var zE=function(t){Es(n,t);var e=GE(n);function n(t){var r,i,a,o,s,c,l,u,h;return bo(this,n),(h=e.call(this,t)).setName("codeTheme"),h.updateMarkdown=!1,h.noIcon=!0,h.subMenuConfig=[{noIcon:!0,name:"default",onclick:Ps(r=h.bindSubClick).call(r,fs(h),"default")},{noIcon:!0,name:"dark",onclick:Ps(i=h.bindSubClick).call(i,fs(h),"dark")},{noIcon:!0,name:"funky",onclick:Ps(a=h.bindSubClick).call(a,fs(h),"funky")},{noIcon:!0,name:"okaidia",onclick:Ps(o=h.bindSubClick).call(o,fs(h),"okaidia")},{noIcon:!0,name:"twilight",onclick:Ps(s=h.bindSubClick).call(s,fs(h),"twilight")},{noIcon:!0,name:"coy",onclick:Ps(c=h.bindSubClick).call(c,fs(h),"coy")},{noIcon:!0,name:"solarized light",onclick:Ps(l=h.bindSubClick).call(l,fs(h),"solarized-light")},{noIcon:!0,name:"tomorrow night",onclick:Ps(u=h.bindSubClick).call(u,fs(h),"tomorrow-night")}],h}return hs(n,[{key:"onClick",value:function(){var t=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry").setAttribute("data-code-block-theme",t)}}]),n}(HC);function XE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var qE=function(t){Es(n,t);var e=XE(n);function n(t){var r,i,a,o,s;return bo(this,n),(s=e.call(this,t)).setName("export"),s.noIcon=!0,s.updateMarkdown=!1,s.subMenuConfig=[{noIcon:!0,name:"exportToPdf",onclick:Ps(r=s.bindSubClick).call(r,fs(s),"pdf")},{noIcon:!0,name:"exportScreenshot",onclick:Ps(i=s.bindSubClick).call(i,fs(s),"screenShot")},{noIcon:!0,name:"exportMarkdownFile",onclick:Ps(a=s.bindSubClick).call(a,fs(s),"markdown")},{noIcon:!0,name:"exportHTMLFile",onclick:Ps(o=s.bindSubClick).call(o,fs(s),"html")}],s}return hs(n,[{key:"onClick",value:function(){var t=arguments.length>1?arguments[1]:void 0;document.querySelector(".cherry-dropdown[name=export]")&&(document.querySelector(".cherry-dropdown[name=export]").style.display="none");var e=this.$cherry.previewer,n="";n=e.isPreviewerHidden()?e.options.previewerCache.html:e.getDomContainer().innerHTML,n=e.lazyLoadImg.changeDataSrc2Src(n),e.refresh(n),e.export(t)}}]),n}(HC);function VE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var WE=function(t){Es(n,t);var e=VE(n);function n(t){var r,i,a,o,s;bo(this,n),(s=e.call(this,t)).setName("settings","settings"),s.updateMarkdown=!1,s.engine=t.engine;var c=aA("classicBr")?oA():null===(r=s.engine.$cherry.options.engine.global)||void 0===r?void 0:r.classicBr,l=t.editor.options.defaultModel,u=c?"br":"normal",h=c?"classicBr":"normalBr",f="editOnly"===l?"preview":"previewClose",d="editOnly"===l?"togglePreview":"previewClose";return s.instanceId=t.instanceId,s.subMenuConfig=[{iconName:u,name:h,onclick:Ps(i=s.bindSubClick).call(i,fs(s),"classicBr")},{iconName:f,name:d,onclick:Ps(a=s.bindSubClick).call(a,fs(s),"previewClose")},{iconName:"",name:"hide",onclick:Ps(o=s.bindSubClick).call(o,fs(s),"toggleToolbar")}],s.attachEventListeners(),s.shortcutKeyMaps=[{shortKey:"toggleToolbar",shortcutKey:"Ctrl-0"}],s}return hs(n,[{key:"getSubMenuConfig",value:function(){return this.subMenuConfig}},{key:"bindSubClick",value:function(t,e,n,r){return n?this.onClick(e,t,r):this.onClick(e,t)}},{key:"togglePreviewBtn",value:function(t){var e=this,n=t?"previewClose":"preview",r=t?"previewClose":"togglePreview";if(this.subMenu){var i=document.querySelector('.cherry-dropdown[name="settings"]');if(i){var a=i.querySelector(".ch-icon-previewClose,.ch-icon-preview");a.classList.toggle("ch-icon-previewClose"),a.classList.toggle("ch-icon-preview"),a.title=this.locale[r],a.parentElement.innerHTML=a.parentElement.innerHTML.replace(/<\/i>.+$/,"</i>".concat(this.locale[r]))}}else{var o;this.subMenuConfig=tA(o=this.subMenuConfig).call(o,(function(t){var i;return"previewClose"===t.iconName||"preview"===t.iconName?{iconName:n,name:r,onclick:Ps(i=e.bindSubClick).call(i,e,"previewClose")}:t}))}}},{key:"attachEventListeners",value:function(){var t=this;Zf.on(this.instanceId,Zf.Events.previewerClose,(function(){t.togglePreviewBtn(!1)})),Zf.on(this.instanceId,Zf.Events.previewerOpen,(function(){t.togglePreviewBtn(!0)}))}},{key:"onClick",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("classicBr"===(n=this.matchShortcutKey(n))){var r,i=!oA();e=i,"undefined"!=typeof localStorage&&localStorage.setItem("cherry-classicBr",e?"true":"false"),this.engine.$cherry.options.engine.global.classicBr=i,ao(r=this.engine.hookCenter.hookList.paragraph).call(r,(function(t){t.classicBr=i}));var a=this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-normal");a=a||this.$cherry.wrapperDom.querySelector(".cherry-dropdown .ch-icon-br"),i?(a.classList.replace("ch-icon-normal","ch-icon-br"),a.parentElement.childNodes[1].textContent=this.locale.classicBr):(a.classList.replace("ch-icon-br","ch-icon-normal"),a.parentElement.childNodes[1].textContent=this.locale.normalBr),this.engine.$cherry.previewer.update(""),this.engine.$cherry.initText(this.engine.$cherry.editor.editor)}else"previewClose"===n?this.editor.previewer.isPreviewerHidden()?this.editor.previewer.recoverPreviewer(!0):this.editor.previewer.editOnly(!0):"toggleToolbar"===n&&this.toggleToolbar();return t}},{key:"matchShortcutKey",value:function(t){var e,n=Kh(e=this.shortcutKeyMaps).call(e,(function(e){return e.shortcutKey===t}));return void 0!==n?n.shortKey:t}},{key:"toggleToolbar",value:function(){var t=this.engine.$cherry.wrapperDom;if(t instanceof HTMLDivElement){var e,n=this.engine.$cherry.toolbar.instanceId;Tf(e=t.className).call(e,"cherry--no-toolbar")>-1?(t.classList.remove("cherry--no-toolbar"),Zf.emit(n,Zf.Events.toolbarShow)):(t.classList.add("cherry--no-toolbar"),Zf.emit(n,Zf.Events.toolbarHide))}}},{key:"shortcutKeys",get:function(){var t;return tA(t=this.shortcutKeyMaps).call(t,(function(t){return t.shortcutKey}))}}]),n}(HC);function YE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var JE=function(t){Es(n,t);var e=YE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("underline","underline"),r}return hs(n,[{key:"$testIsUnderline",value:function(t){return/^\s*(\/)[\s\S]+(\1)/.test(t)}},{key:"onClick",value:function(t){var e=this,n=t||this.locale.underline;return this.isSelections||this.$testIsUnderline(n)||this.getMoreSelection(" /","/ ",(function(){var t=e.editor.editor.getSelection(),r=e.$testIsUnderline(t);return r&&(n=t),r})),this.$testIsUnderline(n)?n.replace(/(^)(\s*)(\/)([^\n]+)(\3)(\s*)($)/gm,"$1$4$7"):(this.registerAfterClickCb((function(){e.setLessSelection(" /","/ ")})),n.replace(/(^)([^\n]+)($)/gm,"$1 /$2/ $3"))}},{key:"shortcutKeys",get:function(){return["Ctrl-u"]}}]),n}(HC);function ZE(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var tx=function(t){Es(n,t);var e=ZE(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("switchPreview"),r.instanceId=t.instanceId,r.attachEventListeners(),r}return hs(n,[{key:"attachEventListeners",value:function(){var t=this;Zf.on(this.instanceId,Zf.Events.toolbarHide,(function(){t.dom.textContent=t.locale.switchEdit})),Zf.on(this.instanceId,Zf.Events.toolbarShow,(function(){t.dom.textContent=t.locale.switchPreview}))}},{key:"onClick",value:function(){this.editor.previewer.isPreviewerHidden()?(this.editor.previewer.previewOnly(),this.dom.parentElement.parentElement.classList.add("preview-only"),this.dom.textContent=this.locale.switchEdit):(this.editor.previewer.editOnly(!0),this.dom.parentElement.parentElement.classList.remove("preview-only"),this.dom.textContent=this.locale.switchPreview)}}]),n}(HC);function ex(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var nx=function(t){Es(n,t);var e=ex(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("image","image"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r,i=this;if(this.hasCacheOnce()){var a,o,s=this.getAndCleanCacheOnce(),c=s.name,l=s.url,u=s.params,h="](".concat(l,")");this.registerAfterClickCb((function(){i.setLessSelection("![",h)}));var f=u.name?u.name:c;return Fs(a=Fs(o="".concat("![").concat(f)).call(o,ed(u))).call(a,h)}var d=null!==(e=null===(n=this.$cherry.options)||void 0===n||null===(r=n.fileTypeLimitMap)||void 0===r?void 0:r.image)&&void 0!==e?e:"*";return td(this.editor,"image",d,(function(t,e,n){i.setCacheOnce({name:t,url:e,params:n}),i.fire(null)})),this.updateMarkdown=!1,t}},{key:"shortcutKeys",get:function(){return["Ctrl-g"]}}]),n}(HC);function rx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var ix=function(t){Es(n,t);var e=rx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("audio","video"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r,i=this;if(this.hasCacheOnce()){var a,o,s=this.getAndCleanCacheOnce(),c=s.name,l=s.url,u=s.params,h="!audio[",f="](".concat(l,")");this.registerAfterClickCb((function(){i.setLessSelection(h,f)}));var d=u.name?u.name:c;return Fs(a=Fs(o="".concat(h).concat(d)).call(o,ed(u))).call(a,f)}var A=null!==(e=null===(n=this.$cherry.options)||void 0===n||null===(r=n.fileTypeLimitMap)||void 0===r?void 0:r.audio)&&void 0!==e?e:"*";return td(this.editor,"audio",A,(function(t,e,n){i.setCacheOnce({name:t,url:e,params:n}),i.fire(null)})),this.updateMarkdown=!1,t}}]),n}(HC);function ax(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var ox=function(t){Es(n,t);var e=ax(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("video","video"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r,i=this;if(this.hasCacheOnce()){var a,o,s,c=this.getAndCleanCacheOnce(),l=c.name,u=c.url,h=c.params,f="!video[",d=h.poster?Fs(a="](".concat(u,"){poster=")).call(a,h.poster,"}"):"](".concat(u,")");this.registerAfterClickCb((function(){i.setLessSelection(f,d)}));var A=h.name?h.name:l;return Fs(o=Fs(s="".concat(f).concat(A)).call(s,ed(h))).call(o,d)}var p=null!==(e=null===(n=this.$cherry.options)||void 0===n||null===(r=n.fileTypeLimitMap)||void 0===r?void 0:r.video)&&void 0!==e?e:"*";return td(this.editor,"video",p,(function(t,e,n){i.setCacheOnce({name:t,url:e,params:n}),i.fire(null)})),this.updateMarkdown=!1,t}}]),n}(HC);function sx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var cx=function(t){Es(n,t);var e=sx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("br","br"),r}return hs(n,[{key:"onClick",value:function(t){return"".concat(t,"<br>")}}]),n}(HC);function lx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var ux=function(t){Es(n,t);var e=lx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("hr","line"),r}return hs(n,[{key:"onClick",value:function(t){return"".concat(t,"\n\n---\n")}}]),n}(HC),hx=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bo(this,t),Ms(this,"formulaConfig",{toolbar:{title:"快捷工具",subCategory:{sqrt:{title:"根式角标",formulas:[{name:"根式 Radicals",img:"",latex:""},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="4.183ex" height="2.398ex" viewBox="0 -970.2 1849.1 1060" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-92-TEX-I-1D45B" d="M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-92-TEX-N-221A" d="M95 178Q89 178 81 186T72 200T103 230T169 280T207 309Q209 311 212 311H213Q219 311 227 294T281 177Q300 134 312 108L397 -77Q398 -77 501 136T707 565T814 786Q820 800 834 800Q841 800 846 794T853 782V776L620 293L385 -193Q381 -200 366 -200Q357 -200 354 -197Q352 -195 256 15L160 225L144 214Q129 202 113 190T95 178Z"></path><path id="MJX-92-TEX-I-1D465" d="M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z"></path><path id="MJX-92-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="mroot"><g><g data-mml-node="msup" transform="translate(853, 0)"><g data-mml-node="mi"><use xlink:href="#MJX-92-TEX-I-1D465"></use></g><g data-mml-node="TeXAtom" transform="translate(572, 289) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-92-TEX-I-1D44E"></use></g></g></g></g><g data-mml-node="mi" transform="translate(211.8, 465.7) scale(0.5)"><use xlink:href="#MJX-92-TEX-I-1D45B"></use></g><g data-mml-node="mo" transform="translate(0, 110.2)"><use xlink:href="#MJX-92-TEX-N-221A"></use></g><rect width="996.1" height="60" x="853" y="850.2"></rect></g></g></g></svg>',latex:"\\sqrt[n]{x^{a}}"},{name:"上下标 Sub&Super",img:"",latex:""},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="3.663ex" height="5.994ex" viewBox="0 -1679.5 1618.8 2649.1" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-94-TEX-N-32" d="M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"></path><path id="MJX-94-TEX-N-31" d="M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z"></path><path id="MJX-94-TEX-I-1D44B" d="M42 0H40Q26 0 26 11Q26 15 29 27Q33 41 36 43T55 46Q141 49 190 98Q200 108 306 224T411 342Q302 620 297 625Q288 636 234 637H206Q200 643 200 645T202 664Q206 677 212 683H226Q260 681 347 681Q380 681 408 681T453 682T473 682Q490 682 490 671Q490 670 488 658Q484 643 481 640T465 637Q434 634 411 620L488 426L541 485Q646 598 646 610Q646 628 622 635Q617 635 609 637Q594 637 594 648Q594 650 596 664Q600 677 606 683H618Q619 683 643 683T697 681T738 680Q828 680 837 683H845Q852 676 852 672Q850 647 840 637H824Q790 636 763 628T722 611T698 593L687 584Q687 585 592 480L505 384Q505 383 536 304T601 142T638 56Q648 47 699 46Q734 46 734 37Q734 35 732 23Q728 7 725 4T711 1Q708 1 678 1T589 2Q528 2 496 2T461 1Q444 1 444 10Q444 11 446 25Q448 35 450 39T455 44T464 46T480 47T506 54Q523 62 523 64Q522 64 476 181L429 299Q241 95 236 84Q232 76 232 72Q232 53 261 47Q262 47 267 47T273 46Q276 46 277 46T280 45T283 42T284 35Q284 26 282 19Q279 6 276 4T261 1Q258 1 243 1T201 2T142 2Q64 2 42 0Z"></path><path id="MJX-94-TEX-N-34" d="M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z"></path><path id="MJX-94-TEX-N-33" d="M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z"></path><path id="MJX-94-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-94-TEX-I-1D44F" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="munderover"><g data-mml-node="TeXAtom" data-mjx-texclass="OP"><g data-mml-node="msubsup"><g data-mml-node="TeXAtom" data-mjx-texclass="OP"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mpadded"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mphantom"></g></g></g></g></g><g data-mml-node="mn" transform="translate(75.2, 410.1) scale(0.707)"><use xlink:href="#MJX-94-TEX-N-32"></use></g><g data-mml-node="mn" transform="translate(0, -247) scale(0.707)"><use xlink:href="#MJX-94-TEX-N-31"></use></g></g><g data-mml-node="mstyle" transform="translate(478.8, 0)"><g data-mml-node="mspace"></g></g><g data-mml-node="msubsup" transform="translate(312.1, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="OP"><g data-mml-node="mi"><use xlink:href="#MJX-94-TEX-I-1D44B"></use></g></g><g data-mml-node="mn" transform="translate(903.2, 410.1) scale(0.707)"><use xlink:href="#MJX-94-TEX-N-34"></use></g><g data-mml-node="mn" transform="translate(828, -247) scale(0.707)"><use xlink:href="#MJX-94-TEX-N-33"></use></g></g></g><g data-mml-node="mi" transform="translate(622.4, -862.6) scale(0.707)"><use xlink:href="#MJX-94-TEX-I-1D44E"></use></g><g data-mml-node="mi" transform="translate(657.7, 1088.8) scale(0.707)"><use xlink:href="#MJX-94-TEX-I-1D44F"></use></g></g></g></g></svg>',latex:"\\sideset{_1^2}{_3^4}X_a^b"}]},limit:{title:"极限对数",formulas:[{name:"极限 Limits",img:"",latex:""},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="5.689ex" height="3.171ex" viewBox="0 -694 2514.3 1401.8" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-16-TEX-N-6C" d="M42 46H56Q95 46 103 60V68Q103 77 103 91T103 124T104 167T104 217T104 272T104 329Q104 366 104 407T104 482T104 542T103 586T103 603Q100 622 89 628T44 637H26V660Q26 683 28 683L38 684Q48 685 67 686T104 688Q121 689 141 690T171 693T182 694H185V379Q185 62 186 60Q190 52 198 49Q219 46 247 46H263V0H255L232 1Q209 2 183 2T145 3T107 3T57 1L34 0H26V46H42Z"></path><path id="MJX-16-TEX-N-69" d="M69 609Q69 637 87 653T131 669Q154 667 171 652T188 609Q188 579 171 564T129 549Q104 549 87 564T69 609ZM247 0Q232 3 143 3Q132 3 106 3T56 1L34 0H26V46H42Q70 46 91 49Q100 53 102 60T104 102V205V293Q104 345 102 359T88 378Q74 385 41 385H30V408Q30 431 32 431L42 432Q52 433 70 434T106 436Q123 437 142 438T171 441T182 442H185V62Q190 52 197 50T232 46H255V0H247Z"></path><path id="MJX-16-TEX-N-6D" d="M41 46H55Q94 46 102 60V68Q102 77 102 91T102 122T103 161T103 203Q103 234 103 269T102 328V351Q99 370 88 376T43 385H25V408Q25 431 27 431L37 432Q47 433 65 434T102 436Q119 437 138 438T167 441T178 442H181V402Q181 364 182 364T187 369T199 384T218 402T247 421T285 437Q305 442 336 442Q351 442 364 440T387 434T406 426T421 417T432 406T441 395T448 384T452 374T455 366L457 361L460 365Q463 369 466 373T475 384T488 397T503 410T523 422T546 432T572 439T603 442Q729 442 740 329Q741 322 741 190V104Q741 66 743 59T754 49Q775 46 803 46H819V0H811L788 1Q764 2 737 2T699 3Q596 3 587 0H579V46H595Q656 46 656 62Q657 64 657 200Q656 335 655 343Q649 371 635 385T611 402T585 404Q540 404 506 370Q479 343 472 315T464 232V168V108Q464 78 465 68T468 55T477 49Q498 46 526 46H542V0H534L510 1Q487 2 460 2T422 3Q319 3 310 0H302V46H318Q379 46 379 62Q380 64 380 200Q379 335 378 343Q372 371 358 385T334 402T308 404Q263 404 229 370Q202 343 195 315T187 232V168V108Q187 78 188 68T191 55T200 49Q221 46 249 46H265V0H257L234 1Q210 2 183 2T145 3Q42 3 33 0H25V46H41Z"></path><path id="MJX-16-TEX-I-1D465" d="M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z"></path><path id="MJX-16-TEX-N-2192" d="M56 237T56 250T70 270H835Q719 357 692 493Q692 494 692 496T691 499Q691 511 708 511H711Q720 511 723 510T729 506T732 497T735 481T743 456Q765 389 816 336T935 261Q944 258 944 250Q944 244 939 241T915 231T877 212Q836 186 806 152T761 85T740 35T732 4Q730 -6 727 -8T711 -11Q691 -11 691 0Q691 7 696 25Q728 151 835 230H70Q56 237 56 250Z"></path><path id="MJX-16-TEX-N-221E" d="M55 217Q55 305 111 373T254 442Q342 442 419 381Q457 350 493 303L507 284L514 294Q618 442 747 442Q833 442 888 374T944 214Q944 128 889 59T743 -11Q657 -11 580 50Q542 81 506 128L492 147L485 137Q381 -11 252 -11Q166 -11 111 57T55 217ZM907 217Q907 285 869 341T761 397Q740 397 720 392T682 378T648 359T619 335T594 310T574 285T559 263T548 246L543 238L574 198Q605 158 622 138T664 94T714 61T765 51Q827 51 867 100T907 217ZM92 214Q92 145 131 89T239 33Q357 33 456 193L425 233Q364 312 334 337Q285 380 233 380Q171 380 132 331T92 214Z"></path><path id="MJX-16-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="munder"><g data-mml-node="mo" transform="translate(214.8, 0)"><use xlink:href="#MJX-16-TEX-N-6C"></use><use xlink:href="#MJX-16-TEX-N-69" transform="translate(278, 0)"></use><use xlink:href="#MJX-16-TEX-N-6D" transform="translate(556, 0)"></use></g><g data-mml-node="TeXAtom" transform="translate(0, -600) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-16-TEX-I-1D465"></use></g><g data-mml-node="mo" transform="translate(572, 0)"><use xlink:href="#MJX-16-TEX-N-2192"></use></g><g data-mml-node="mi" transform="translate(1572, 0)"><use xlink:href="#MJX-16-TEX-N-221E"></use></g></g></g><g data-mml-node="mi" transform="translate(1985.3, 0)"><use xlink:href="#MJX-16-TEX-I-1D44E"></use></g></g></g></svg>',latex:"\n\\lim_{x \\to \\infty} a"},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="5.198ex" height="2.132ex" viewBox="0 -694 2297.7 942.4" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-80-TEX-N-6C" d="M42 46H56Q95 46 103 60V68Q103 77 103 91T103 124T104 167T104 217T104 272T104 329Q104 366 104 407T104 482T104 542T103 586T103 603Q100 622 89 628T44 637H26V660Q26 683 28 683L38 684Q48 685 67 686T104 688Q121 689 141 690T171 693T182 694H185V379Q185 62 186 60Q190 52 198 49Q219 46 247 46H263V0H255L232 1Q209 2 183 2T145 3T107 3T57 1L34 0H26V46H42Z"></path><path id="MJX-80-TEX-N-6F" d="M28 214Q28 309 93 378T250 448Q340 448 405 380T471 215Q471 120 407 55T250 -10Q153 -10 91 57T28 214ZM250 30Q372 30 372 193V225V250Q372 272 371 288T364 326T348 362T317 390T268 410Q263 411 252 411Q222 411 195 399Q152 377 139 338T126 246V226Q126 130 145 91Q177 30 250 30Z"></path><path id="MJX-80-TEX-N-67" d="M329 409Q373 453 429 453Q459 453 472 434T485 396Q485 382 476 371T449 360Q416 360 412 390Q410 404 415 411Q415 412 416 414V415Q388 412 363 393Q355 388 355 386Q355 385 359 381T368 369T379 351T388 325T392 292Q392 230 343 187T222 143Q172 143 123 171Q112 153 112 133Q112 98 138 81Q147 75 155 75T227 73Q311 72 335 67Q396 58 431 26Q470 -13 470 -72Q470 -139 392 -175Q332 -206 250 -206Q167 -206 107 -175Q29 -140 29 -75Q29 -39 50 -15T92 18L103 24Q67 55 67 108Q67 155 96 193Q52 237 52 292Q52 355 102 398T223 442Q274 442 318 416L329 409ZM299 343Q294 371 273 387T221 404Q192 404 171 388T145 343Q142 326 142 292Q142 248 149 227T179 192Q196 182 222 182Q244 182 260 189T283 207T294 227T299 242Q302 258 302 292T299 343ZM403 -75Q403 -50 389 -34T348 -11T299 -2T245 0H218Q151 0 138 -6Q118 -15 107 -34T95 -74Q95 -84 101 -97T122 -127T170 -155T250 -167Q319 -167 361 -139T403 -75Z"></path><path id="MJX-80-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-80-TEX-N-2061" d=""></path><path id="MJX-80-TEX-I-1D44F" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-80-TEX-N-6C"></use><use xlink:href="#MJX-80-TEX-N-6F" transform="translate(278, 0)"></use><use xlink:href="#MJX-80-TEX-N-67" transform="translate(778, 0)"></use></g><g data-mml-node="TeXAtom" transform="translate(1278, -241.4) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-80-TEX-I-1D44E"></use></g></g></g><g data-mml-node="mo" transform="translate(1702.1, 0)"><use xlink:href="#MJX-80-TEX-N-2061"></use></g><g data-mml-node="TeXAtom" data-mjx-texclass="ORD" transform="translate(1868.7, 0)"><g data-mml-node="mi"><use xlink:href="#MJX-80-TEX-I-1D44F"></use></g></g></g></g></svg>',latex:"\\log_{a}{b}"}]}}},template:{title:"公式模板",subCategory:{algebra:{title:"代数",formulas:[{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="9.067ex" height="2.851ex" viewBox="0 -1114.2 4007.6 1260" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-100-TEX-SO-221A" d="M263 249Q264 249 315 130T417 -108T470 -228L725 302Q981 837 982 839Q989 850 1001 850Q1008 850 1013 844T1020 832V826L741 243Q645 43 540 -176Q479 -303 469 -324T453 -348Q449 -350 436 -350L424 -349L315 -96Q206 156 205 156L171 130Q138 104 137 104L111 130L263 249Z"></path><path id="MJX-100-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-100-TEX-N-32" d="M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"></path><path id="MJX-100-TEX-N-2B" d="M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z"></path><path id="MJX-100-TEX-I-1D44F" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="msqrt"><g transform="translate(1020, 0)"><g data-mml-node="msup"><g data-mml-node="mi"><use xlink:href="#MJX-100-TEX-I-1D44E"></use></g><g data-mml-node="mn" transform="translate(529, 289) scale(0.707)"><use xlink:href="#MJX-100-TEX-N-32"></use></g></g><g data-mml-node="mo" transform="translate(1154.8, 0)"><use xlink:href="#MJX-100-TEX-N-2B"></use></g><g data-mml-node="msup" transform="translate(2155, 0)"><g data-mml-node="mi"><use xlink:href="#MJX-100-TEX-I-1D44F"></use></g><g data-mml-node="mn" transform="translate(429, 289) scale(0.707)"><use xlink:href="#MJX-100-TEX-N-32"></use></g></g></g><g data-mml-node="mo" transform="translate(0, 204.2)"><use xlink:href="#MJX-100-TEX-SO-221A"></use></g><rect width="2987.6" height="60" x="1020" y="994.2"></rect></g></g></g></svg>',latex:"\\sqrt{a^2+b^2}"},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="12.249ex" height="4.635ex" viewBox="0 -1351.5 5414.1 2048.5" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-104-TEX-LO-28" d="M180 96T180 250T205 541T266 770T353 944T444 1069T527 1150H555Q561 1144 561 1141Q561 1137 545 1120T504 1072T447 995T386 878T330 721T288 513T272 251Q272 133 280 56Q293 -87 326 -209T399 -405T475 -531T536 -609T561 -640Q561 -643 555 -649H527Q483 -612 443 -568T353 -443T266 -270T205 -41Z"></path><path id="MJX-104-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-104-TEX-I-1D44F" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"></path><path id="MJX-104-TEX-LO-29" d="M35 1138Q35 1150 51 1150H56H69Q113 1113 153 1069T243 944T330 771T391 541T416 250T391 -40T330 -270T243 -443T152 -568T69 -649H56Q43 -649 39 -647T35 -637Q65 -607 110 -548Q283 -316 316 56Q324 133 324 251Q324 368 316 445Q278 877 48 1123Q36 1137 35 1138Z"></path><path id="MJX-104-TEX-I-1D45B" d="M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-104-TEX-N-3D" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="msup"><g data-mml-node="mrow"><g data-mml-node="mo"><use xlink:href="#MJX-104-TEX-LO-28"></use></g><g data-mml-node="mfrac" transform="translate(597, 0)"><g data-mml-node="mi" transform="translate(220, 676)"><use xlink:href="#MJX-104-TEX-I-1D44E"></use></g><g data-mml-node="mi" transform="translate(270, -686)"><use xlink:href="#MJX-104-TEX-I-1D44F"></use></g><rect width="729" height="60" x="120" y="220"></rect></g><g data-mml-node="mo" transform="translate(1566, 0)"><use xlink:href="#MJX-104-TEX-LO-29"></use></g></g><g data-mml-node="TeXAtom" transform="translate(2163, 876.6) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-104-TEX-I-1D45B"></use></g></g></g><g data-mml-node="mo" transform="translate(2915, 0)"><use xlink:href="#MJX-104-TEX-N-3D"></use></g><g data-mml-node="mfrac" transform="translate(3970.8, 0)"><g data-mml-node="msup" transform="translate(220, 676)"><g data-mml-node="mi"><use xlink:href="#MJX-104-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, 363) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-104-TEX-I-1D45B"></use></g></g></g><g data-mml-node="msup" transform="translate(270, -686)"><g data-mml-node="mi"><use xlink:href="#MJX-104-TEX-I-1D44F"></use></g><g data-mml-node="TeXAtom" transform="translate(429, 289) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-104-TEX-I-1D45B"></use></g></g></g><rect width="1203.3" height="60" x="120" y="220"></rect></g></g></g></svg>',latex:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="20.69ex" height="5.291ex" viewBox="0 -1642.5 9145 2338.5" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-116-TEX-I-1D465" d="M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z"></path><path id="MJX-116-TEX-N-3D" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"></path><path id="MJX-116-TEX-N-2212" d="M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z"></path><path id="MJX-116-TEX-I-1D44F" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"></path><path id="MJX-116-TEX-N-B1" d="M56 320T56 333T70 353H369V502Q369 651 371 655Q376 666 388 666Q402 666 405 654T409 596V500V353H707Q722 345 722 333Q722 320 707 313H409V40H707Q722 32 722 20T707 0H70Q56 7 56 20T70 40H369V313H70Q56 320 56 333Z"></path><path id="MJX-116-TEX-N-221A" d="M95 178Q89 178 81 186T72 200T103 230T169 280T207 309Q209 311 212 311H213Q219 311 227 294T281 177Q300 134 312 108L397 -77Q398 -77 501 136T707 565T814 786Q820 800 834 800Q841 800 846 794T853 782V776L620 293L385 -193Q381 -200 366 -200Q357 -200 354 -197Q352 -195 256 15L160 225L144 214Q129 202 113 190T95 178Z"></path><path id="MJX-116-TEX-N-32" d="M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"></path><path id="MJX-116-TEX-N-34" d="M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z"></path><path id="MJX-116-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-116-TEX-I-1D450" d="M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="mi"><use xlink:href="#MJX-116-TEX-I-1D465"></use></g><g data-mml-node="mo" transform="translate(849.8, 0)"><use xlink:href="#MJX-116-TEX-N-3D"></use></g><g data-mml-node="TeXAtom" data-mjx-texclass="ORD" transform="translate(1905.6, 0)"><g data-mml-node="mfrac"><g data-mml-node="mrow" transform="translate(220, 676)"><g data-mml-node="mo"><use xlink:href="#MJX-116-TEX-N-2212"></use></g><g data-mml-node="mi" transform="translate(778, 0)"><use xlink:href="#MJX-116-TEX-I-1D44F"></use></g><g data-mml-node="mo" transform="translate(1429.2, 0)"><use xlink:href="#MJX-116-TEX-N-B1"></use></g><g data-mml-node="msqrt" transform="translate(2429.4, 0)"><g transform="translate(853, 0)"><g data-mml-node="msup"><g data-mml-node="mi"><use xlink:href="#MJX-116-TEX-I-1D44F"></use></g><g data-mml-node="mn" transform="translate(429, 289) scale(0.707)"><use xlink:href="#MJX-116-TEX-N-32"></use></g></g><g data-mml-node="mo" transform="translate(1054.8, 0)"><use xlink:href="#MJX-116-TEX-N-2212"></use></g><g data-mml-node="mn" transform="translate(2055, 0)"><use xlink:href="#MJX-116-TEX-N-34"></use></g><g data-mml-node="mi" transform="translate(2555, 0)"><use xlink:href="#MJX-116-TEX-I-1D44E"></use></g><g data-mml-node="mi" transform="translate(3084, 0)"><use xlink:href="#MJX-116-TEX-I-1D450"></use></g></g><g data-mml-node="mo" transform="translate(0, 106.5)"><use xlink:href="#MJX-116-TEX-N-221A"></use></g><rect width="3517" height="60" x="853" y="846.5"></rect></g></g><g data-mml-node="mrow" transform="translate(3105.2, -686)"><g data-mml-node="mn"><use xlink:href="#MJX-116-TEX-N-32"></use></g><g data-mml-node="mi" transform="translate(500, 0)"><use xlink:href="#MJX-116-TEX-I-1D44E"></use></g></g><rect width="6999.4" height="60" x="120" y="220"></rect></g></g></g></g></svg>',latex:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="15.079ex" height="5.43ex" viewBox="0 -1450 6665 2400" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-118-TEX-S3-7B" d="M618 -943L612 -949H582L568 -943Q472 -903 411 -841T332 -703Q327 -682 327 -653T325 -350Q324 -28 323 -18Q317 24 301 61T264 124T221 171T179 205T147 225T132 234Q130 238 130 250Q130 255 130 258T131 264T132 267T134 269T139 272T144 275Q207 308 256 367Q310 436 323 519Q324 529 325 851Q326 1124 326 1154T332 1205Q369 1358 566 1443L582 1450H612L618 1444V1429Q618 1413 616 1411L608 1406Q599 1402 585 1393T552 1372T515 1343T479 1305T449 1257T429 1200Q425 1180 425 1152T423 851Q422 579 422 549T416 498Q407 459 388 424T346 364T297 318T250 284T214 264T197 254L188 251L205 242Q290 200 345 138T416 3Q421 -18 421 -48T423 -349Q423 -397 423 -472Q424 -677 428 -694Q429 -697 429 -699Q434 -722 443 -743T465 -782T491 -816T519 -845T548 -868T574 -886T595 -899T610 -908L616 -910Q618 -912 618 -928V-943Z"></path><path id="MJX-118-TEX-I-1D465" d="M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z"></path><path id="MJX-118-TEX-N-3D" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"></path><path id="MJX-118-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-118-TEX-N-2B" d="M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z"></path><path id="MJX-118-TEX-I-1D45F" d="M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-118-TEX-N-63" d="M370 305T349 305T313 320T297 358Q297 381 312 396Q317 401 317 402T307 404Q281 408 258 408Q209 408 178 376Q131 329 131 219Q131 137 162 90Q203 29 272 29Q313 29 338 55T374 117Q376 125 379 127T395 129H409Q415 123 415 120Q415 116 411 104T395 71T366 33T318 2T249 -11Q163 -11 99 53T34 214Q34 318 99 383T250 448T370 421T404 357Q404 334 387 320Z"></path><path id="MJX-118-TEX-N-6F" d="M28 214Q28 309 93 378T250 448Q340 448 405 380T471 215Q471 120 407 55T250 -10Q153 -10 91 57T28 214ZM250 30Q372 30 372 193V225V250Q372 272 371 288T364 326T348 362T317 390T268 410Q263 411 252 411Q222 411 195 399Q152 377 139 338T126 246V226Q126 130 145 91Q177 30 250 30Z"></path><path id="MJX-118-TEX-N-73" d="M295 316Q295 356 268 385T190 414Q154 414 128 401Q98 382 98 349Q97 344 98 336T114 312T157 287Q175 282 201 278T245 269T277 256Q294 248 310 236T342 195T359 133Q359 71 321 31T198 -10H190Q138 -10 94 26L86 19L77 10Q71 4 65 -1L54 -11H46H42Q39 -11 33 -5V74V132Q33 153 35 157T45 162H54Q66 162 70 158T75 146T82 119T101 77Q136 26 198 26Q295 26 295 104Q295 133 277 151Q257 175 194 187T111 210Q75 227 54 256T33 318Q33 357 50 384T93 424T143 442T187 447H198Q238 447 268 432L283 424L292 431Q302 440 314 448H322H326Q329 448 335 442V310L329 304H301Q295 310 295 316Z"></path><path id="MJX-118-TEX-I-1D703" d="M35 200Q35 302 74 415T180 610T319 704Q320 704 327 704T339 705Q393 701 423 656Q462 596 462 495Q462 380 417 261T302 66T168 -10H161Q125 -10 99 10T60 63T41 130T35 200ZM383 566Q383 668 330 668Q294 668 260 623T204 521T170 421T157 371Q206 370 254 370L351 371Q352 372 359 404T375 484T383 566ZM113 132Q113 26 166 26Q181 26 198 36T239 74T287 161T335 307L340 324H145Q145 321 136 286T120 208T113 132Z"></path><path id="MJX-118-TEX-I-1D466" d="M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-118-TEX-I-1D44F" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"></path><path id="MJX-118-TEX-N-69" d="M69 609Q69 637 87 653T131 669Q154 667 171 652T188 609Q188 579 171 564T129 549Q104 549 87 564T69 609ZM247 0Q232 3 143 3Q132 3 106 3T56 1L34 0H26V46H42Q70 46 91 49Q100 53 102 60T104 102V205V293Q104 345 102 359T88 378Q74 385 41 385H30V408Q30 431 32 431L42 432Q52 433 70 434T106 436Q123 437 142 438T171 441T182 442H185V62Q190 52 197 50T232 46H255V0H247Z"></path><path id="MJX-118-TEX-N-6E" d="M41 46H55Q94 46 102 60V68Q102 77 102 91T102 122T103 161T103 203Q103 234 103 269T102 328V351Q99 370 88 376T43 385H25V408Q25 431 27 431L37 432Q47 433 65 434T102 436Q119 437 138 438T167 441T178 442H181V402Q181 364 182 364T187 369T199 384T218 402T247 421T285 437Q305 442 336 442Q450 438 463 329Q464 322 464 190V104Q464 66 466 59T477 49Q498 46 526 46H542V0H534L510 1Q487 2 460 2T422 3Q319 3 310 0H302V46H318Q379 46 379 62Q380 64 380 200Q379 335 378 343Q372 371 358 385T334 402T308 404Q263 404 229 370Q202 343 195 315T187 232V168V108Q187 78 188 68T191 55T200 49Q221 46 249 46H265V0H257L234 1Q210 2 183 2T145 3Q42 3 33 0H25V46H41Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="mrow"><g data-mml-node="mo"><use xlink:href="#MJX-118-TEX-S3-7B"></use></g><g data-mml-node="mtable" transform="translate(750, 0)"><g data-mml-node="mtr" transform="translate(0, 700)"><g data-mml-node="mtd"><g data-mml-node="mi"><use xlink:href="#MJX-118-TEX-I-1D465"></use></g><g data-mml-node="mo" transform="translate(849.8, 0)"><use xlink:href="#MJX-118-TEX-N-3D"></use></g><g data-mml-node="mi" transform="translate(1905.6, 0)"><use xlink:href="#MJX-118-TEX-I-1D44E"></use></g><g data-mml-node="mo" transform="translate(2656.8, 0)"><use xlink:href="#MJX-118-TEX-N-2B"></use></g><g data-mml-node="mi" transform="translate(3657, 0)"><use xlink:href="#MJX-118-TEX-I-1D45F"></use></g><g data-mml-node="mtext" transform="translate(4108, 0)"><use xlink:href="#MJX-118-TEX-N-63"></use><use xlink:href="#MJX-118-TEX-N-6F" transform="translate(444, 0)"></use><use xlink:href="#MJX-118-TEX-N-73" transform="translate(944, 0)"></use></g><g data-mml-node="mi" transform="translate(5446, 0)"><use xlink:href="#MJX-118-TEX-I-1D703"></use></g></g></g><g data-mml-node="mtr" transform="translate(0, -700)"><g data-mml-node="mtd" transform="translate(146, 0)"><g data-mml-node="mi"><use xlink:href="#MJX-118-TEX-I-1D466"></use></g><g data-mml-node="mo" transform="translate(767.8, 0)"><use xlink:href="#MJX-118-TEX-N-3D"></use></g><g data-mml-node="mi" transform="translate(1823.6, 0)"><use xlink:href="#MJX-118-TEX-I-1D44F"></use></g><g data-mml-node="mo" transform="translate(2474.8, 0)"><use xlink:href="#MJX-118-TEX-N-2B"></use></g><g data-mml-node="mi" transform="translate(3475, 0)"><use xlink:href="#MJX-118-TEX-I-1D45F"></use></g><g data-mml-node="mtext" transform="translate(3926, 0)"><use xlink:href="#MJX-118-TEX-N-73"></use><use xlink:href="#MJX-118-TEX-N-69" transform="translate(394, 0)"></use><use xlink:href="#MJX-118-TEX-N-6E" transform="translate(672, 0)"></use></g><g data-mml-node="mi" transform="translate(5154, 0)"><use xlink:href="#MJX-118-TEX-I-1D703"></use></g></g></g></g><g data-mml-node="mo" transform="translate(6665, 0)"></g></g></g></g></svg>',latex:"\n\\left\\{\\begin{matrix}\n x=a + r\\text{cos}\\theta \\\\\n y=b + r\\text{sin}\\theta \n\\end{matrix}\\right."}]},array:{title:"矩阵",formulas:[{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="7.855ex" height="5.43ex" viewBox="0 -1450 3472 2400" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-122-TEX-S3-28" d="M701 -940Q701 -943 695 -949H664Q662 -947 636 -922T591 -879T537 -818T475 -737T412 -636T350 -511T295 -362T250 -186T221 17T209 251Q209 962 573 1361Q596 1386 616 1405T649 1437T664 1450H695Q701 1444 701 1441Q701 1436 681 1415T629 1356T557 1261T476 1118T400 927T340 675T308 359Q306 321 306 250Q306 -139 400 -430T690 -924Q701 -936 701 -940Z"></path><path id="MJX-122-TEX-N-31" d="M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z"></path><path id="MJX-122-TEX-N-30" d="M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z"></path><path id="MJX-122-TEX-S3-29" d="M34 1438Q34 1446 37 1448T50 1450H56H71Q73 1448 99 1423T144 1380T198 1319T260 1238T323 1137T385 1013T440 864T485 688T514 485T526 251Q526 134 519 53Q472 -519 162 -860Q139 -885 119 -904T86 -936T71 -949H56Q43 -949 39 -947T34 -937Q88 -883 140 -813Q428 -430 428 251Q428 453 402 628T338 922T245 1146T145 1309T46 1425Q44 1427 42 1429T39 1433T36 1436L34 1438Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="mrow"><g data-mml-node="mo"><use xlink:href="#MJX-122-TEX-S3-28"></use></g><g data-mml-node="mtable" transform="translate(736, 0)"><g data-mml-node="mtr" transform="translate(0, 700)"><g data-mml-node="mtd"><g data-mml-node="mn"><use xlink:href="#MJX-122-TEX-N-31"></use></g></g><g data-mml-node="mtd" transform="translate(1500, 0)"><g data-mml-node="mn"><use xlink:href="#MJX-122-TEX-N-30"></use></g></g></g><g data-mml-node="mtr" transform="translate(0, -700)"><g data-mml-node="mtd"><g data-mml-node="mn"><use xlink:href="#MJX-122-TEX-N-30"></use></g></g><g data-mml-node="mtd" transform="translate(1500, 0)"><g data-mml-node="mn"><use xlink:href="#MJX-122-TEX-N-31"></use></g></g></g></g><g data-mml-node="mo" transform="translate(2736, 0)"><use xlink:href="#MJX-122-TEX-S3-29"></use></g></g></g></g></svg>',latex:"\n\\begin{pmatrix}\n 1 & 0 \\\\\n 0 & 1\n\\end{pmatrix}"},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="18.574ex" height="10.339ex" viewBox="0 -2535 8209.5 4570" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-126-TEX-S4-239B" d="M837 1154Q843 1148 843 1145Q843 1141 818 1106T753 1002T667 841T574 604T494 299Q417 -84 417 -609Q417 -641 416 -647T411 -654Q409 -655 366 -655Q299 -655 297 -654Q292 -652 292 -643T291 -583Q293 -400 304 -242T347 110T432 470T574 813T785 1136Q787 1139 790 1142T794 1147T796 1150T799 1152T802 1153T807 1154T813 1154H819H837Z"></path><path id="MJX-126-TEX-S4-239D" d="M843 -635Q843 -638 837 -644H820Q801 -644 800 -643Q792 -635 785 -626Q684 -503 605 -363T473 -75T385 216T330 518T302 809T291 1093Q291 1144 291 1153T296 1164Q298 1165 366 1165Q409 1165 411 1164Q415 1163 416 1157T417 1119Q417 529 517 109T833 -617Q843 -631 843 -635Z"></path><path id="MJX-126-TEX-S4-239C" d="M413 -9Q412 -9 407 -9T388 -10T354 -10Q300 -10 297 -9Q294 -8 293 -5Q291 5 291 127V300Q291 602 292 605L296 609Q298 610 366 610Q382 610 392 610T407 610T412 609Q416 609 416 592T417 473V127Q417 -9 413 -9Z"></path><path id="MJX-126-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-126-TEX-N-31" d="M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z"></path><path id="MJX-126-TEX-N-22EF" d="M78 250Q78 274 95 292T138 310Q162 310 180 294T199 251Q199 226 182 208T139 190T96 207T78 250ZM525 250Q525 274 542 292T585 310Q609 310 627 294T646 251Q646 226 629 208T586 190T543 207T525 250ZM972 250Q972 274 989 292T1032 310Q1056 310 1074 294T1093 251Q1093 226 1076 208T1033 190T990 207T972 250Z"></path><path id="MJX-126-TEX-I-1D45B" d="M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-126-TEX-N-22EE" d="M78 30Q78 54 95 72T138 90Q162 90 180 74T199 31Q199 6 182 -12T139 -30T96 -13T78 30ZM78 440Q78 464 95 482T138 500Q162 500 180 484T199 441Q199 416 182 398T139 380T96 397T78 440ZM78 840Q78 864 95 882T138 900Q162 900 180 884T199 841Q199 816 182 798T139 780T96 797T78 840Z"></path><path id="MJX-126-TEX-N-22F1" d="M133 760Q133 784 150 802T193 820Q217 820 235 804T254 761Q254 736 237 718T194 700T151 717T133 760ZM580 460Q580 484 597 502T640 520Q664 520 682 504T701 461Q701 436 684 418T641 400T598 417T580 460ZM1027 160Q1027 184 1044 202T1087 220Q1111 220 1129 204T1148 161Q1148 136 1131 118T1088 100T1045 117T1027 160Z"></path><path id="MJX-126-TEX-I-1D45A" d="M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-126-TEX-S4-239E" d="M31 1143Q31 1154 49 1154H59Q72 1154 75 1152T89 1136Q190 1013 269 873T401 585T489 294T544 -8T572 -299T583 -583Q583 -634 583 -643T577 -654Q575 -655 508 -655Q465 -655 463 -654Q459 -653 458 -647T457 -609Q457 -58 371 340T100 1037Q87 1059 61 1098T31 1143Z"></path><path id="MJX-126-TEX-S4-23A0" d="M56 -644H50Q31 -644 31 -635Q31 -632 37 -622Q69 -579 100 -527Q286 -228 371 170T457 1119Q457 1161 462 1164Q464 1165 520 1165Q575 1165 577 1164Q582 1162 582 1153T583 1093Q581 910 570 752T527 400T442 40T300 -303T89 -626Q78 -640 75 -642T61 -644H56Z"></path><path id="MJX-126-TEX-S4-239F" d="M579 -9Q578 -9 573 -9T554 -10T520 -10Q466 -10 463 -9Q460 -8 459 -5Q457 5 457 127V300Q457 602 458 605L462 609Q464 610 532 610Q548 610 558 610T573 610T578 609Q582 609 582 592T583 473V127Q583 -9 579 -9Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="mrow"><g data-mml-node="mo"><use xlink:href="#MJX-126-TEX-S4-239B" transform="translate(0, 1381)"></use><use xlink:href="#MJX-126-TEX-S4-239D" transform="translate(0, -1391)"></use><svg width="875" height="1152" y="-326" x="0" viewBox="0 260.1 875 1152"><use xlink:href="#MJX-126-TEX-S4-239C" transform="scale(1, 2.787)"></use></svg></g><g data-mml-node="mtable" transform="translate(875, 0)"><g data-mml-node="mtr" transform="translate(0, 1785)"><g data-mml-node="mtd" transform="translate(133.6, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-126-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-126-TEX-N-31"></use><use xlink:href="#MJX-126-TEX-N-31" transform="translate(500, 0)"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(2608.4, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-126-TEX-N-22EF"></use></g></g><g data-mml-node="mtd" transform="translate(4969, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-126-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-126-TEX-N-31"></use></g><g data-mml-node="mi" transform="translate(500, 0)"><use xlink:href="#MJX-126-TEX-I-1D45B"></use></g></g></g></g></g><g data-mml-node="mtr" transform="translate(0, -385)"><g data-mml-node="mtd" transform="translate(637.7, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mo"><use xlink:href="#MJX-126-TEX-N-22EE"></use></g></g></g><g data-mml-node="mtd" transform="translate(2553.4, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-126-TEX-N-22F1"></use></g></g><g data-mml-node="mtd" transform="translate(5508.4, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mo"><use xlink:href="#MJX-126-TEX-N-22EE"></use></g></g></g></g><g data-mml-node="mtr" transform="translate(0, -1785)"><g data-mml-node="mtd"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-126-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-126-TEX-I-1D45A"></use></g><g data-mml-node="mn" transform="translate(878, 0)"><use xlink:href="#MJX-126-TEX-N-31"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(2608.4, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-126-TEX-N-22EF"></use></g></g><g data-mml-node="mtd" transform="translate(4835.4, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-126-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-126-TEX-I-1D45A"></use></g><g data-mml-node="mi" transform="translate(878, 0)"><use xlink:href="#MJX-126-TEX-I-1D45B"></use></g></g></g></g></g></g><g data-mml-node="mo" transform="translate(7334.5, 0)"><use xlink:href="#MJX-126-TEX-S4-239E" transform="translate(0, 1381)"></use><use xlink:href="#MJX-126-TEX-S4-23A0" transform="translate(0, -1391)"></use><svg width="875" height="1152" y="-326" x="0" viewBox="0 260.1 875 1152"><use xlink:href="#MJX-126-TEX-S4-239F" transform="scale(1, 2.787)"></use></svg></g></g></g></g></svg>',latex:"\n\\begin{pmatrix}\n a_{11} & \\cdots & a_{1n} \\\\\n \\vdots & \\ddots & \\vdots \\\\\n a_{m1} & \\cdots & a_{mn}\n\\end{pmatrix}"},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="38.641ex" height="13.507ex" viewBox="0 -3235 17079.5 5970" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-128-TEX-I-1D434" d="M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z"></path><path id="MJX-128-TEX-I-1D45A" d="M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-128-TEX-N-D7" d="M630 29Q630 9 609 9Q604 9 587 25T493 118L389 222L284 117Q178 13 175 11Q171 9 168 9Q160 9 154 15T147 29Q147 36 161 51T255 146L359 250L255 354Q174 435 161 449T147 471Q147 480 153 485T168 490Q173 490 175 489Q178 487 284 383L389 278L493 382Q570 459 587 475T609 491Q630 491 630 471Q630 464 620 453T522 355L418 250L522 145Q606 61 618 48T630 29Z"></path><path id="MJX-128-TEX-I-1D45B" d="M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-128-TEX-N-3D" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"></path><path id="MJX-128-TEX-S4-23A1" d="M319 -645V1154H666V1070H403V-645H319Z"></path><path id="MJX-128-TEX-S4-23A3" d="M319 -644V1155H403V-560H666V-644H319Z"></path><path id="MJX-128-TEX-S4-23A2" d="M319 0V602H403V0H319Z"></path><path id="MJX-128-TEX-I-1D44E" d="M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z"></path><path id="MJX-128-TEX-N-31" d="M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z"></path><path id="MJX-128-TEX-N-32" d="M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"></path><path id="MJX-128-TEX-N-22EF" d="M78 250Q78 274 95 292T138 310Q162 310 180 294T199 251Q199 226 182 208T139 190T96 207T78 250ZM525 250Q525 274 542 292T585 310Q609 310 627 294T646 251Q646 226 629 208T586 190T543 207T525 250ZM972 250Q972 274 989 292T1032 310Q1056 310 1074 294T1093 251Q1093 226 1076 208T1033 190T990 207T972 250Z"></path><path id="MJX-128-TEX-N-22EE" d="M78 30Q78 54 95 72T138 90Q162 90 180 74T199 31Q199 6 182 -12T139 -30T96 -13T78 30ZM78 440Q78 464 95 482T138 500Q162 500 180 484T199 441Q199 416 182 398T139 380T96 397T78 440ZM78 840Q78 864 95 882T138 900Q162 900 180 884T199 841Q199 816 182 798T139 780T96 797T78 840Z"></path><path id="MJX-128-TEX-N-22F1" d="M133 760Q133 784 150 802T193 820Q217 820 235 804T254 761Q254 736 237 718T194 700T151 717T133 760ZM580 460Q580 484 597 502T640 520Q664 520 682 504T701 461Q701 436 684 418T641 400T598 417T580 460ZM1027 160Q1027 184 1044 202T1087 220Q1111 220 1129 204T1148 161Q1148 136 1131 118T1088 100T1045 117T1027 160Z"></path><path id="MJX-128-TEX-S4-23A4" d="M0 1070V1154H347V-645H263V1070H0Z"></path><path id="MJX-128-TEX-S4-23A6" d="M263 -560V1155H347V-644H0V-560H263Z"></path><path id="MJX-128-TEX-S4-23A5" d="M263 0V602H347V0H263Z"></path><path id="MJX-128-TEX-N-5B" d="M118 -250V750H255V710H158V-210H255V-250H118Z"></path><path id="MJX-128-TEX-I-1D456" d="M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z"></path><path id="MJX-128-TEX-I-1D457" d="M297 596Q297 627 318 644T361 661Q378 661 389 651T403 623Q403 595 384 576T340 557Q322 557 310 567T297 596ZM288 376Q288 405 262 405Q240 405 220 393T185 362T161 325T144 293L137 279Q135 278 121 278H107Q101 284 101 286T105 299Q126 348 164 391T252 441Q253 441 260 441T272 442Q296 441 316 432Q341 418 354 401T367 348V332L318 133Q267 -67 264 -75Q246 -125 194 -164T75 -204Q25 -204 7 -183T-12 -137Q-12 -110 7 -91T53 -71Q70 -71 82 -81T95 -112Q95 -148 63 -167Q69 -168 77 -168Q111 -168 139 -140T182 -74L193 -32Q204 11 219 72T251 197T278 308T289 365Q289 372 288 376Z"></path><path id="MJX-128-TEX-N-5D" d="M22 710V750H159V-250H22V-210H119V710H22Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D434"></use></g><g data-mml-node="TeXAtom" transform="translate(750, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D45A"></use></g><g data-mml-node="mo" transform="translate(878, 0)"><use xlink:href="#MJX-128-TEX-N-D7"></use></g><g data-mml-node="mi" transform="translate(1656, 0)"><use xlink:href="#MJX-128-TEX-I-1D45B"></use></g></g></g><g data-mml-node="mo" transform="translate(2673, 0)"><use xlink:href="#MJX-128-TEX-N-3D"></use></g><g data-mml-node="mrow" transform="translate(3728.8, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-S4-23A1" transform="translate(0, 2081)"></use><use xlink:href="#MJX-128-TEX-S4-23A3" transform="translate(0, -2091)"></use><svg width="667" height="2572" y="-1036" x="0" viewBox="0 643 667 2572"><use xlink:href="#MJX-128-TEX-S4-23A2" transform="scale(1, 6.409)"></use></svg></g><g data-mml-node="mtable" transform="translate(667, 0)"><g data-mml-node="mtr" transform="translate(0, 2485)"><g data-mml-node="mtd" transform="translate(133.6, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-128-TEX-N-31"></use><use xlink:href="#MJX-128-TEX-N-31" transform="translate(500, 0)"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(2687, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-128-TEX-N-31"></use><use xlink:href="#MJX-128-TEX-N-32" transform="translate(500, 0)"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(5161.8, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-22EF"></use></g></g><g data-mml-node="mtd" transform="translate(7522.4, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-128-TEX-N-31"></use></g><g data-mml-node="mi" transform="translate(500, 0)"><use xlink:href="#MJX-128-TEX-I-1D45B"></use></g></g></g></g></g><g data-mml-node="mtr" transform="translate(0, 1085)"><g data-mml-node="mtd" transform="translate(133.6, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-128-TEX-N-32"></use><use xlink:href="#MJX-128-TEX-N-31" transform="translate(500, 0)"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(2687, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-128-TEX-N-32"></use><use xlink:href="#MJX-128-TEX-N-32" transform="translate(500, 0)"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(5161.8, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-22EF"></use></g></g><g data-mml-node="mtd" transform="translate(7522.4, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mn"><use xlink:href="#MJX-128-TEX-N-32"></use></g><g data-mml-node="mi" transform="translate(500, 0)"><use xlink:href="#MJX-128-TEX-I-1D45B"></use></g></g></g></g></g><g data-mml-node="mtr" transform="translate(0, -1085)"><g data-mml-node="mtd" transform="translate(637.7, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-22EE"></use></g></g></g><g data-mml-node="mtd" transform="translate(3191.1, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-22EE"></use></g></g></g><g data-mml-node="mtd" transform="translate(5106.8, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-22F1"></use></g></g><g data-mml-node="mtd" transform="translate(8061.8, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-22EE"></use></g></g></g></g><g data-mml-node="mtr" transform="translate(0, -2485)"><g data-mml-node="mtd"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D45A"></use></g><g data-mml-node="mn" transform="translate(878, 0)"><use xlink:href="#MJX-128-TEX-N-31"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(2553.4, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D45A"></use></g><g data-mml-node="mn" transform="translate(878, 0)"><use xlink:href="#MJX-128-TEX-N-32"></use></g></g></g></g><g data-mml-node="mtd" transform="translate(5161.8, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-22EF"></use></g></g><g data-mml-node="mtd" transform="translate(7388.8, 0)"><g data-mml-node="msub"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D45A"></use></g><g data-mml-node="mi" transform="translate(878, 0)"><use xlink:href="#MJX-128-TEX-I-1D45B"></use></g></g></g></g></g></g><g data-mml-node="mo" transform="translate(9679.9, 0)"><use xlink:href="#MJX-128-TEX-S4-23A4" transform="translate(0, 2081)"></use><use xlink:href="#MJX-128-TEX-S4-23A6" transform="translate(0, -2091)"></use><svg width="667" height="2572" y="-1036" x="0" viewBox="0 643 667 2572"><use xlink:href="#MJX-128-TEX-S4-23A5" transform="scale(1, 6.409)"></use></svg></g></g><g data-mml-node="mo" transform="translate(14353.5, 0)"><use xlink:href="#MJX-128-TEX-N-3D"></use></g><g data-mml-node="mrow" transform="translate(15409.2, 0)"><g data-mml-node="mo"><use xlink:href="#MJX-128-TEX-N-5B"></use></g><g data-mml-node="msub" transform="translate(278, 0)"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D44E"></use></g><g data-mml-node="TeXAtom" transform="translate(529, -150) scale(0.707)" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-128-TEX-I-1D456"></use></g><g data-mml-node="mi" transform="translate(345, 0)"><use xlink:href="#MJX-128-TEX-I-1D457"></use></g></g></g><g data-mml-node="mo" transform="translate(1392.3, 0)"><use xlink:href="#MJX-128-TEX-N-5D"></use></g></g></g></g></svg>',latex:"\nA_{m\\times n}=\n\\begin{bmatrix}\n a_{11}& a_{12}& \\cdots & a_{1n} \\\\\n a_{21}& a_{22}& \\cdots & a_{2n} \\\\\n \\vdots & \\vdots & \\ddots & \\vdots \\\\\n a_{m1}& a_{m2}& \\cdots & a_{mn}\n\\end{bmatrix}\n=\\left [ a_{ij}\\right ]"},{name:"",img:'<svg xmlns="http://www.w3.org/2000/svg" width="25.332ex" height="9.777ex" viewBox="0 -2410.7 11196.5 4321.4" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" style=""><defs><path id="MJX-130-TEX-B-1D415" d="M592 686H604Q615 685 631 685T666 684T700 684T724 683Q829 683 835 686H843V624H744L611 315Q584 254 546 165Q492 40 482 19T461 -6L460 -7H409Q398 -4 391 9Q385 20 257 315L124 624H25V686H36Q57 683 190 683Q340 683 364 686H377V624H289L384 403L480 185L492 212Q504 240 529 298T575 405L670 624H582V686H592Z"></path><path id="MJX-130-TEX-N-31" d="M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z"></path><path id="MJX-130-TEX-N-D7" d="M630 29Q630 9 609 9Q604 9 587 25T493 118L389 222L284 117Q178 13 175 11Q171 9 168 9Q160 9 154 15T147 29Q147 36 161 51T255 146L359 250L255 354Q174 435 161 449T147 471Q147 480 153 485T168 490Q173 490 175 489Q178 487 284 383L389 278L493 382Q570 459 587 475T609 491Q630 491 630 471Q630 464 620 453T522 355L418 250L522 145Q606 61 618 48T630 29Z"></path><path id="MJX-130-TEX-N-32" d="M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"></path><path id="MJX-130-TEX-N-3D" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"></path><path id="MJX-130-TEX-S4-2223" d="M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z"></path><path id="MJX-130-TEX-B-1D422" d="M72 610Q72 649 98 672T159 695Q193 693 217 670T241 610Q241 572 217 549T157 525Q120 525 96 548T72 610ZM46 442L136 446L226 450H232V62H294V0H286Q271 3 171 3Q67 3 49 0H40V62H109V209Q109 358 108 362Q103 380 55 380H43V442H46Z"></path><path id="MJX-130-TEX-B-1D423" d="M104 610Q104 649 130 672T191 695Q225 693 249 670T273 610Q273 572 249 549T189 525Q152 525 128 548T104 610ZM78 442L173 446L268 450H274V196Q274 -5 274 -37T269 -83Q256 -132 201 -166T71 -200Q10 -200 -30 -173T-71 -102Q-71 -70 -51 -51T-1 -31Q27 -31 48 -49T69 -100Q69 -121 53 -147H56Q66 -149 77 -149H80Q90 -149 100 -146T127 -125T149 -73Q151 -55 151 149V362Q150 364 148 366T145 370T142 373T138 375T133 377T124 378T113 379T97 380H75V442H78Z"></path><path id="MJX-130-TEX-B-1D424" d="M32 686L123 690Q214 694 215 694H221V255L377 382H346V444H355Q370 441 476 441Q544 441 556 444H562V382H476L347 277L515 62H587V0H579Q564 3 476 3Q370 3 352 0H343V62H358L373 63L260 206L237 189L216 172V62H285V0H277Q259 3 157 3Q46 3 37 0H29V62H98V332Q98 387 98 453T99 534Q99 593 97 605T83 620Q69 624 42 624H29V686H32Z"></path><path id="MJX-130-TEX-N-2202" d="M202 508Q179 508 169 520T158 547Q158 557 164 577T185 624T230 675T301 710L333 715H345Q378 715 384 714Q447 703 489 661T549 568T566 457Q566 362 519 240T402 53Q321 -22 223 -22Q123 -22 73 56Q42 102 42 148V159Q42 276 129 370T322 465Q383 465 414 434T455 367L458 378Q478 461 478 515Q478 603 437 639T344 676Q266 676 223 612Q264 606 264 572Q264 547 246 528T202 508ZM430 306Q430 372 401 400T333 428Q270 428 222 382Q197 354 183 323T150 221Q132 149 132 116Q132 21 232 21Q244 21 250 22Q327 35 374 112Q389 137 409 196T430 306Z"></path><path id="MJX-130-TEX-I-1D44B" d="M42 0H40Q26 0 26 11Q26 15 29 27Q33 41 36 43T55 46Q141 49 190 98Q200 108 306 224T411 342Q302 620 297 625Q288 636 234 637H206Q200 643 200 645T202 664Q206 677 212 683H226Q260 681 347 681Q380 681 408 681T453 682T473 682Q490 682 490 671Q490 670 488 658Q484 643 481 640T465 637Q434 634 411 620L488 426L541 485Q646 598 646 610Q646 628 622 635Q617 635 609 637Q594 637 594 648Q594 650 596 664Q600 677 606 683H618Q619 683 643 683T697 681T738 680Q828 680 837 683H845Q852 676 852 672Q850 647 840 637H824Q790 636 763 628T722 611T698 593L687 584Q687 585 592 480L505 384Q505 383 536 304T601 142T638 56Q648 47 699 46Q734 46 734 37Q734 35 732 23Q728 7 725 4T711 1Q708 1 678 1T589 2Q528 2 496 2T461 1Q444 1 444 10Q444 11 446 25Q448 35 450 39T455 44T464 46T480 47T506 54Q523 62 523 64Q522 64 476 181L429 299Q241 95 236 84Q232 76 232 72Q232 53 261 47Q262 47 267 47T273 46Q276 46 277 46T280 45T283 42T284 35Q284 26 282 19Q279 6 276 4T261 1Q258 1 243 1T201 2T142 2Q64 2 42 0Z"></path><path id="MJX-130-TEX-I-1D462" d="M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z"></path><path id="MJX-130-TEX-I-1D44C" d="M66 637Q54 637 49 637T39 638T32 641T30 647T33 664T42 682Q44 683 56 683Q104 680 165 680Q288 680 306 683H316Q322 677 322 674T320 656Q316 643 310 637H298Q242 637 242 624Q242 619 292 477T343 333L346 336Q350 340 358 349T379 373T411 410T454 461Q546 568 561 587T577 618Q577 634 545 637Q528 637 528 647Q528 649 530 661Q533 676 535 679T549 683Q551 683 578 682T657 680Q684 680 713 681T746 682Q763 682 763 673Q763 669 760 657T755 643Q753 637 734 637Q662 632 617 587Q608 578 477 424L348 273L322 169Q295 62 295 57Q295 46 363 46Q379 46 384 45T390 35Q390 33 388 23Q384 6 382 4T366 1Q361 1 324 1T232 2Q170 2 138 2T102 1Q84 1 84 9Q84 14 87 24Q88 27 89 30T90 35T91 39T93 42T96 44T101 45T107 45T116 46T129 46Q168 47 180 50T198 63Q201 68 227 171L252 274L129 623Q128 624 127 625T125 627T122 629T118 631T113 633T105 634T96 635T83 636T66 637Z"></path><path id="MJX-130-TEX-N-30" d="M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z"></path><path id="MJX-130-TEX-I-1D463" d="M173 380Q173 405 154 405Q130 405 104 376T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Q21 294 29 316T53 368T97 419T160 441Q202 441 225 417T249 361Q249 344 246 335Q246 329 231 291T200 202T182 113Q182 86 187 69Q200 26 250 26Q287 26 319 60T369 139T398 222T409 277Q409 300 401 317T383 343T365 361T357 383Q357 405 376 424T417 443Q436 443 451 425T467 367Q467 340 455 284T418 159T347 40T241 -11Q177 -11 139 22Q102 54 102 117Q102 148 110 181T151 298Q173 362 173 380Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g data-mml-node="math"><g data-mml-node="msub"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-B-1D415"></use></g></g><g data-mml-node="mn" transform="translate(869, -150) scale(0.707)"><use xlink:href="#MJX-130-TEX-N-31"></use></g></g><g data-mml-node="mo" transform="translate(1494.8, 0)"><use xlink:href="#MJX-130-TEX-N-D7"></use></g><g data-mml-node="msub" transform="translate(2495, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-B-1D415"></use></g></g><g data-mml-node="mn" transform="translate(869, -150) scale(0.707)"><use xlink:href="#MJX-130-TEX-N-32"></use></g></g><g data-mml-node="mo" transform="translate(4045.3, 0)"><use xlink:href="#MJX-130-TEX-N-3D"></use></g><g data-mml-node="mrow" transform="translate(5101.1, 0)"><g data-mml-node="mo"><svg width="278" height="4321.4" y="-1910.7" x="27.5" viewBox="0 -535.3 278 4321.4"><use xlink:href="#MJX-130-TEX-S4-2223" transform="scale(1, 6.489)"></use></svg></g><g data-mml-node="mtable" transform="translate(333, 0)"><g data-mml-node="mtr" transform="translate(0, 1660.7)"><g data-mml-node="mtd" transform="translate(561.8, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-B-1D422"></use></g></g></g><g data-mml-node="mtd" transform="translate(2957, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-B-1D423"></use></g></g></g><g data-mml-node="mtd" transform="translate(4822.4, 0)"><g data-mml-node="TeXAtom" data-mjx-texclass="ORD"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-B-1D424"></use></g></g></g></g><g data-mml-node="mtr" transform="translate(0, 111.1)"><g data-mml-node="mtd"><g data-mml-node="mfrac"><g data-mml-node="mrow" transform="translate(220, 394) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D44B"></use></g></g><g data-mml-node="mrow" transform="translate(319, -345.6) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D462"></use></g></g><rect width="1202.7" height="60" x="120" y="220"></rect></g></g><g data-mml-node="mtd" transform="translate(2442.7, 0)"><g data-mml-node="mfrac"><g data-mml-node="mrow" transform="translate(220, 394) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D44C"></use></g></g><g data-mml-node="mrow" transform="translate(287.5, -345.6) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D462"></use></g></g><rect width="1139.7" height="60" x="120" y="220"></rect></g></g><g data-mml-node="mtd" transform="translate(4875.9, 0)"><g data-mml-node="mn"><use xlink:href="#MJX-130-TEX-N-30"></use></g></g></g><g data-mml-node="mtr" transform="translate(0, -1549.6)"><g data-mml-node="mtd"><g data-mml-node="mfrac"><g data-mml-node="mrow" transform="translate(220, 394) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D44B"></use></g></g><g data-mml-node="mrow" transform="translate(349.8, -345.6) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D463"></use></g></g><rect width="1202.7" height="60" x="120" y="220"></rect></g></g><g data-mml-node="mtd" transform="translate(2442.7, 0)"><g data-mml-node="mfrac"><g data-mml-node="mrow" transform="translate(220, 394) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D44C"></use></g></g><g data-mml-node="mrow" transform="translate(318.3, -345.6) scale(0.707)"><g data-mml-node="mi"><use xlink:href="#MJX-130-TEX-N-2202"></use></g><g data-mml-node="mi" transform="translate(566, 0)"><use xlink:href="#MJX-130-TEX-I-1D463"></use></g></g><rect width="1139.7" height="60" x="120" y="220"></rect></g></g><g data-mml-node="mtd" transform="translate(4875.9, 0)"><g data-mml-node="mn"><use xlink:href="#MJX-130-TEX-N-30"></use></g></g></g></g><g data-mml-node="mo" transform="translate(5762.4, 0)"><svg width="278" height="4321.4" y="-1910.7" x="27.5" viewBox="0 -535.3 278 4321.4"><use xlink:href="#MJX-130-TEX-S4-2223" transform="scale(1, 6.489)"></use></svg></g></g></g></g></svg>',latex:"\n\\mathbf{V}_1 \\times \\mathbf{V}_2 =\n\\begin{vmatrix}\n \\mathbf{i}& \\mathbf{j}& \\mathbf{k} \\\\\n \\frac{\\partial X}{\\partial u}& \\frac{\\partial Y}{\\partial u}& 0 \\\\\n \\frac{\\partial X}{\\partial v}& \\frac{\\partial Y}{\\partial v}& 0 \\\\\n\\end{vmatrix}"}]}}}}),Ms(this,"showLatexLive",!0),ar(e).length&&(this.formulaConfig=e.templateConfig||this.formulaConfig,this.showLatexLive=e.showLatexLive),this.init(),this.initEventListeners()}return hs(t,[{key:"afterClick",value:function(t){}},{key:"generateBubbleFormulaHtmlStr",value:function(){var t,e,n=Rk(this.formulaConfig||{}),r=tA(n).call(n,(function(t,e){var n,r,i=wf(t,2),a=i[0],o=i[1].title;return Fs(n=Fs(r='<li class="cherry-insert-formula-tab'.concat(0===e?" active":"",'" data-name="')).call(r,a,'"><span>')).call(n,o,"</span></li>")})).join(""),i='<ul class="cherry-insert-formula-tabs">'.concat(r,"</ul>"),a=tA(n).call(n,(function(t,e){var n,r,i,a,o=wf(t,2),s=o[0],c=o[1],l=null===(n=Rk((null==c?void 0:c.subCategory)||{}))||void 0===n?void 0:tA(n).call(n,(function(t){var e,n,r,i,a,o,s=wf(t,2),c=s[0],l=s[1],u=null==l||null===(e=l.formulas)||void 0===e?void 0:tA(e).call(e,(function(t){var e,n;if(""===t.latex)return'<div class="cherry-insert-formula-categary__func-categary">'.concat(t.name,"</div>");var r=t.img||"";return Fs(e=Fs(n='<div class="cherry-insert-formula-categary__func-item '.concat(t.formulaClass?t.formulaClass:"",'" data-formula-code="')).call(n,t.latex,'">')).call(e,r||t.name,"</div>")})).join(""),h=Fs(n='<div class="cherry-insert-formula-categary__func no-scrollbar" data-name="'.concat(c,'">')).call(n,u,"</div>"),f=Fs(r='<button class="cherry-toolbar-button cherry-insert-formula-categary__btn btn-light" data-name="'.concat(c,'">')).call(r,l.title,"</button>");return Fs(i=Fs(a=Fs(o='<div class="cherry-insert-formula-categary" data-name="'.concat(c,'" title="')).call(o,l.title,'">')).call(a,f)).call(i,h,"</div>")})).join("");return Fs(r=Fs(i=Fs(a='<div class="cherry-insert-formula-select formula-'.concat(s," no-scrollbar")).call(a,0===e?" active":"",'" data-name="')).call(i,s,'">')).call(r,l,"</div>")})).join(""),o=this.showLatexLive?'<div class="cherry-insert-formula-more">查看更多:<a href="https://www.latexlive.com/" target="_blank">www.latexlive.com</a></div>':"";return Fs(t=Fs(e="".concat(i)).call(e,a)).call(t,o)}},{key:"init",value:function(){ar(this.formulaConfig).length&&(this.dom=document.createElement("div"),this.dom.className=["cherry-dropdown","cherry-insert-formula","cherry-insert-formula-wrappler"].join(" "),this.dom.innerHTML=this.generateBubbleFormulaHtmlStr(),this.dom.style.display="none")}},{key:"show",value:function(t){this.dom.style.removeProperty("display"),this.afterClick=t}},{key:"hide",value:function(){this.dom.style.display="none"}},{key:"isShow",value:function(){return"block"===this.dom.style.display}},{key:"isHide",value:function(){return"none"===this.dom.style.display}},{key:"initEventListeners",value:function(){var t,e,n,r=this;null===(t=this.dom.querySelector(".cherry-insert-formula-tabs"))||void 0===t||t.addEventListener("click",Ps(e=this.handleClickFormulaTabs).call(e,this)),null===(n=this.dom.querySelectorAll(".cherry-insert-formula-categary__func-item"))||void 0===n||ao(n).call(n,(function(t){var e;return null==t?void 0:t.addEventListener("click",Ps(e=r.handleClickFormulaSelect).call(e,r))}))}},{key:"handleClickFormulaTabs",value:function(t){t.preventDefault(),t.stopPropagation();var e=t.target;if(e instanceof HTMLLIElement||e instanceof HTMLSpanElement){var n=e instanceof HTMLSpanElement?e.parentElement:e,r=n.dataset.name,i=document.querySelector(".cherry-insert-formula-select[data-name=".concat(r,"]")),a=document.querySelector(".cherry-insert-formula-tab.active"),o=document.querySelector(".cherry-insert-formula-select.active");null==a||a.classList.remove("active"),null==o||o.classList.remove("active"),n.classList.add("active"),i.classList.add("active")}}},{key:"handleClickFormulaSelect",value:function(t){t.preventDefault(),t.stopPropagation();var e=t.target;if(e instanceof HTMLElement){var n=e.dataset.formulaCode,r=void 0===n?"":n;this.afterClick(r),this.hide()}}}]),t}();function fx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var dx=function(t){Es(n,t);var e=fx(n);function n(t){var r,i,a,o;return bo(this,n),(o=e.call(this,t)).setName("formula","insertFormula"),o.subBubbleFormulaMenu=new hx(null==t||null===(r=t.options)||void 0===r||null===(i=r.toolbars)||void 0===i||null===(a=i.config)||void 0===a?void 0:a.formula),t.editor.options.wrapperDom.appendChild(o.subBubbleFormulaMenu.dom),o.catchOnce="",o}return hs(n,[{key:"onClick",value:function(t){var e=this;if(this.subBubbleFormulaMenu.isHide()||!this.hasCacheOnce()){var n=this.dom.getBoundingClientRect();return this.subBubbleFormulaMenu.dom.style.left="".concat(n.left+n.width,"px"),this.subBubbleFormulaMenu.dom.style.top="".concat(n.top+n.height,"px"),this.subBubbleFormulaMenu.show((function(n){var r,i,a=/\n/.test(n)?"".concat(/\n$/.test(t)?t:"".concat(t,"\n"),"$$"):"".concat(t," $ "),o=/\n/.test(n)?"\n$$ ":" $ ";e.registerAfterClickCb((function(){e.setLessSelection(a,o)}));var s=Fs(r=Fs(i="".concat(a)).call(i,n)).call(r,o);e.setCacheOnce(s),e.fire(null)})),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}},{key:"shortcutKeys",get:function(){return["Ctrl-m"]}}]),n}(HC);function Ax(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var px=function(t){Es(n,t);var e=Ax(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("link","link"),r}return hs(n,[{key:"onClick",value:function(t){var e;if(/^http/.test(t))return Fs(e="[".concat(this.locale.link,"](")).call(e,t,")");var n=t||this.locale.link;return"[".concat(n,"](http://url.com) ")}},{key:"shortcutKeys",get:function(){return["Ctrl-l"]}}]),n}(HC);function gx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var mx=function(t){Es(n,t);var e=gx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("table","table"),r.subBubbleTableMenu=new sE({row:9,col:9}),t.editor.options.wrapperDom.appendChild(r.subBubbleTableMenu.dom),r.catchOnce="",r}return hs(n,[{key:"onClick",value:function(t){var e=this;if("none"===this.subBubbleTableMenu.dom.style.display||!this.hasCacheOnce()){var n=this.dom.getBoundingClientRect();return this.subBubbleTableMenu.dom.style.left="".concat(n.left+n.width,"px"),this.subBubbleTableMenu.dom.style.top="".concat(n.top+n.height,"px"),this.subBubbleTableMenu.show((function(n,r){var i,a,o,s=Jg(" Header |").call(" Header |",r),c=Jg(" ------ |").call(" ------ |",r),l="\n|".concat(Jg(" Sample |").call(" Sample |",r)),u=Fs(i=Fs(a=Fs(o="".concat(t,"\n\n|")).call(o,s,"\n|")).call(a,c)).call(i,Jg(l).call(l,n),"\n\n");e.setCacheOnce(u),e.fire(null)})),this.updateMarkdown=!1,!1}return this.getAndCleanCacheOnce()}}]),n}(HC);function bx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var vx=function(t){Es(n,t);var e=bx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("toc","toc"),r}return hs(n,[{key:"onClick",value:function(t){return"".concat(t,"\n\n[[toc]]\n")}}]),n}(HC);function yx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var wx=function(t){Es(n,t);var e=yx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("lineTable","table"),r}return hs(n,[{key:"onClick",value:function(t){var e;return Fs(e="".concat(t,"\n\n")).call(e,["| :line: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join("\n"),"\n\n")}}]),n}(HC);function Tx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var kx=function(t){Es(n,t);var e=Tx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("brTable","table"),r}return hs(n,[{key:"onClick",value:function(t){var e;return Fs(e="".concat(t,"\n\n")).call(e,["| :bar: {x,y} | a | b | c |","| :-: | :-: | :-: | :-: |","| x | 1 | 2 | 3 |","| y | 2 | 4 | 6 |","| z | 7 | 5 | 3 |"].join("\n"),"\n\n")}}]),n}(HC);function Cx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Ex=function(t){Es(n,t);var e=Cx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("pdf","pdf"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r,i=this;if(this.hasCacheOnce()){var a,o=this.getAndCleanCacheOnce(),s=o.name,c=o.url,l=o.params,u="](".concat(c,")");this.registerAfterClickCb((function(){i.setLessSelection("[",u)}));var h=l.name?l.name:s;return Fs(a="".concat("[").concat(h)).call(a,u)}var f=null!==(e=null===(n=this.$cherry.options)||void 0===n||null===(r=n.fileTypeLimitMap)||void 0===r?void 0:r.pdf)&&void 0!==e?e:"*";return td(this.editor,"pdf",f,(function(t,e,n){i.setCacheOnce({name:t,url:e,params:n}),i.fire(null)})),this.updateMarkdown=!1,t}}]),n}(HC);function xx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var _x=function(t){Es(n,t);var e=xx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("file","phone"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r,i=this;if(this.hasCacheOnce()){var a,o=this.getAndCleanCacheOnce(),s=o.name,c=o.url,l=o.params,u="](".concat(c,")");this.registerAfterClickCb((function(){i.setLessSelection("[",u)}));var h=l.name?l.name:s;return Fs(a="".concat("[").concat(h)).call(a,u)}var f=null!==(e=null===(n=this.$cherry.options)||void 0===n||null===(r=n.fileTypeLimitMap)||void 0===r?void 0:r.file)&&void 0!==e?e:"*";return td(this.editor,"file",f,(function(t,e,n){i.setCacheOnce({name:t,url:e,params:n}),i.fire(null)})),this.updateMarkdown=!1,t}}]),n}(HC);function Bx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Sx=function(t){Es(n,t);var e=Bx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("word","word"),r}return hs(n,[{key:"onClick",value:function(t){var e,n,r,i=this;if(this.hasCacheOnce()){var a,o=this.getAndCleanCacheOnce(),s=o.name,c=o.url,l=o.params,u="](".concat(c,")");this.registerAfterClickCb((function(){i.setLessSelection("[",u)}));var h=l.name?l.name:s;return Fs(a="".concat("[").concat(h)).call(a,u)}var f=null!==(e=null===(n=this.$cherry.options)||void 0===n||null===(r=n.fileTypeLimitMap)||void 0===r?void 0:r.word)&&void 0!==e?e:"*";return td(this.editor,"word",f,(function(t,e,n){i.setCacheOnce({name:t,url:e,params:n}),i.fire(null)})),this.updateMarkdown=!1,t}}]),n}(HC);function Lx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Ix=function(t){Es(n,t);var e=Lx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("pinyin","pinyin"),r}return hs(n,[{key:"$testIsRuby",value:function(t){return/^\s*\{[\s\S]+\|[\s\S]+\}/.test(t)}},{key:"onClick",value:function(t){var e,n,r=this,i=qC(this.editor.editor,t)||"拼音";if(this.isSelections||this.$testIsRuby(i)||this.getMoreSelection(" { "," } ",(function(){var t=r.editor.editor.getSelection(),e=r.$testIsRuby(t);return e&&(i=t),e})),this.$testIsRuby(i))return i.replace(/^\s*\{\s*([\s\S]+?)\s*\|[\s\S]+\}\s*/gm,"$1");var a=ih(e=this.editor.$cherry.options.callback.changeString2Pinyin(i)||"pin yin").call(e);return this.registerAfterClickCb((function(){r.setLessSelection(" { "," } ")})),Fs(n=" { ".concat(i," | ")).call(n,a," } ")}}]),n}(HC);function Mx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Ox=function(t){Es(n,t);var e=Mx(n);function n(t){var r,i;bo(this,n),(i=e.call(this,t)).setName("theme","insertChart"),i.subMenuConfig=[];var a=fs(i);return ao(r=t.options.theme).call(r,(function(t){var e;a.subMenuConfig.push({iconName:t.className,name:t.label,onclick:Ps(e=a.bindSubClick).call(e,a,t.className)})})),i}return hs(n,[{key:"onClick",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return cA(this.$cherry,e),this.updateMarkdown=!1,""}}]),n}(HC);function Nx(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var Dx=function(t){Es(n,t);var e=Nx(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).previewer=t.previewer,r.updateMarkdown=!1,r.setName("mobilePreview","phone"),r}return hs(n,[{key:"onClick",value:function(){this.previewer.removeScroll();var t=this.previewer.getDomContainer();this.previewer.isMobilePreview?t.parentNode.innerHTML=t.innerHTML:t.innerHTML="<div class='cherry-mobile-previewer-content'>".concat(t.innerHTML,"</div>"),this.previewer.isMobilePreview=!this.previewer.isMobilePreview,this.previewer.bindScroll()}}]),n}(HC),Fx=Error,Px=T("".replace),Rx=String(Fx("zxcasd").stack),Qx=/\n\s*at [^:]*:[^\n]*/,Ux=Qx.test(Rx),Hx=!h((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Jt(1,7)),7!==t.stack)})),jx=function(t,e){if(Ux&&"string"==typeof t&&!Fx.prepareStackTrace)for(;e--;)t=Px(t,Qx,"");return t},$x=Hx,Kx=Error.captureStackTrace,Gx=function(t,e,n){for(var r=co(e),i=Ce.f,a=_e.f,o=0;o<r.length;o++){var s=r[o];Nt(t,s)||n&&Nt(n,s)||i(t,s,a(e,s))}},zx=function(t,e){mt(e)&&"cause"in e&&Le(t,"cause",e.cause)},Xx=function(t,e,n,r){$x&&(Kx?Kx(t,e):Le(t,"stack",jx(n,r)))},qx=function(t,e){return void 0===t?arguments.length<2?"":e:Ur(t)},Vx=jt("toStringTag"),Wx=Error,Yx=[].push,Jx=function(t,e){var n,r=ct(Zx,this);Oa?n=Oa(Wx(),r?ba(this):Zx):(n=r?this:Gn(Zx),Le(n,Vx,"Error")),void 0!==e&&Le(n,"message",qx(e)),Xx(n,Jx,n.stack,1),arguments.length>2&&zx(n,arguments[2]);var i=[];return VA(t,Yx,{that:i}),Le(n,"errors",i),n};Oa?Oa(Jx,Wx):Gx(Jx,Wx,{name:!0});var Zx=Jx.prototype=Gn(Wx.prototype,{constructor:Jt(1,Jx),message:Jt(1,""),name:Jt(1,"AggregateError")});jn({global:!0,constructor:!0,arity:2},{AggregateError:Jx});var t_,e_,n_,r_,i_=jt("species"),a_=/(?:ipad|iphone|ipod).*applewebkit/i.test(Y),o_=q.setImmediate,s_=q.clearImmediate,c_=q.process,l_=q.Dispatch,u_=q.Function,h_=q.MessageChannel,f_=q.String,d_=0,A_={},p_="onreadystatechange";h((function(){t_=q.location}));var g_=function(t){if(Nt(A_,t)){var e=A_[t];delete A_[t],e()}},m_=function(t){return function(){g_(t)}},b_=function(t){g_(t.data)},v_=function(t){q.postMessage(f_(t),t_.protocol+"//"+t_.host)};o_&&s_||(o_=function(t){Hs(arguments.length,1);var e=K(t)?t:u_(t),n=Oe(arguments,1);return A_[++d_]=function(){xe(e,void 0,n)},e_(d_),d_},s_=function(t){delete A_[t]},vm?e_=function(t){c_.nextTick(m_(t))}:l_&&l_.now?e_=function(t){l_.now(m_(t))}:h_&&!a_?(r_=(n_=new h_).port2,n_.port1.onmessage=b_,e_=Se(r_.postMessage,r_)):q.addEventListener&&K(q.postMessage)&&!q.importScripts&&t_&&"file:"!==t_.protocol&&!h(v_)?(e_=v_,q.addEventListener("message",b_,!1)):e_=p_ in Vt("script")?function(t){Mn.appendChild(Vt("script"))[p_]=function(){Mn.removeChild(this),g_(t)}}:function(t){setTimeout(m_(t),0)});var y_={set:o_,clear:s_},w_=function(){this.head=null,this.tail=null};w_.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var T_,k_,C_,E_,x_,__=w_,B_=/ipad|iphone|ipod/i.test(Y)&&"undefined"!=typeof Pebble,S_=/web0s(?!.*chrome)/i.test(Y),L_=y_,I_=__,M_=B_,O_=S_,N_=_e.f,D_=L_.set,F_=q.MutationObserver||q.WebKitMutationObserver,P_=q.document,R_=q.process,Q_=q.Promise,U_=N_(q,"queueMicrotask"),H_=U_&&U_.value;if(!H_){var j_=new I_,$_=function(){var t,e;for(vm&&(t=R_.domain)&&t.exit();e=j_.get();)try{e()}catch(t){throw j_.head&&T_(),t}t&&t.enter()};a_||vm||O_||!F_||!P_?!M_&&Q_&&Q_.resolve?((E_=Q_.resolve(void 0)).constructor=Q_,x_=Se(E_.then,E_),T_=function(){x_($_)}):vm?T_=function(){R_.nextTick($_)}:(D_=Se(D_,q),T_=function(){D_($_)}):(k_=!0,C_=P_.createTextNode(""),new F_($_).observe(C_,{characterData:!0}),T_=function(){C_.data=k_=!k_}),H_=function(t){j_.head||T_(),j_.add(t)}}var K_,G_,z_=H_,X_=q.Promise,q_="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,V_=!q_&&!vm&&"object"==typeof window&&"object"==typeof document,W_=X_,Y_=V_,J_=W_&&W_.prototype,Z_=jt("species"),tB=!1,eB=K(q.PromiseRejectionEvent),nB=Be("Promise",(function(){var t=qe(W_),e=t!==String(W_);if(!e&&66===nt)return!0;if(!J_.catch||!J_.finally)return!0;if(!nt||nt<51||!/native code/.test(t)){var n=new W_((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[Z_]=r,!(tB=n.then((function(){}))instanceof r))return!0}return!e&&(Y_||q_)&&!eB})),rB=TypeError,iB=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw rB("Bad Promise constructor");e=t,n=r})),this.resolve=pt(e),this.reject=pt(n)},aB=function(t,e){var n,r=me(t).constructor;return void 0===r||U(n=me(r)[i_])?e:Kn(n)},oB=z_,sB=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}},cB=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},lB={CONSTRUCTOR:nB,REJECTION_EVENT:eB,SUBCLASSING:tB},uB={f:function(t){return new iB(t)}},hB=L_.set,fB="Promise",dB=lB.CONSTRUCTOR,AB=lB.REJECTION_EVENT,pB=Xr.getterFor(fB),gB=Xr.set,mB=W_&&W_.prototype,bB=W_,vB=mB,yB=q.TypeError,wB=q.document,TB=q.process,kB=uB.f,CB=kB,EB=!!(wB&&wB.createEvent&&q.dispatchEvent),xB="unhandledrejection",_B=function(t){var e;return!(!mt(t)||!K(e=t.then))&&e},BB=function(t,e){var n,r,i,a=e.value,o=1===e.state,s=o?t.ok:t.fail,c=t.resolve,l=t.reject,u=t.domain;try{s?(o||(2===e.rejection&&OB(e),e.rejection=1),!0===s?n=a:(u&&u.enter(),n=s(a),u&&(u.exit(),i=!0)),n===t.promise?l(yB("Promise-chain cycle")):(r=_B(n))?gt(r,n,c,l):c(n)):l(a)}catch(t){u&&!i&&u.exit(),l(t)}},SB=function(t,e){t.notified||(t.notified=!0,oB((function(){for(var n,r=t.reactions;n=r.get();)BB(n,t);t.notified=!1,e&&!t.rejection&&IB(t)})))},LB=function(t,e,n){var r,i;EB?((r=wB.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),q.dispatchEvent(r)):r={promise:e,reason:n},!AB&&(i=q["on"+t])?i(r):t===xB&&sB("Unhandled promise rejection",n)},IB=function(t){gt(hB,q,(function(){var e,n=t.facade,r=t.value;if(MB(t)&&(e=cB((function(){vm?TB.emit("unhandledRejection",r,n):LB(xB,n,r)})),t.rejection=vm||MB(t)?2:1,e.error))throw e.value}))},MB=function(t){return 1!==t.rejection&&!t.parent},OB=function(t){gt(hB,q,(function(){var e=t.facade;vm?TB.emit("rejectionHandled",e):LB("rejectionhandled",e,t.value)}))},NB=function(t,e,n){return function(r){t(e,r,n)}},DB=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,SB(t,!0))},FB=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw yB("Promise can't be resolved itself");var r=_B(e);r?oB((function(){var n={done:!1};try{gt(r,e,NB(FB,n,t),NB(DB,n,t))}catch(e){DB(n,e,t)}})):(t.value=e,t.state=1,SB(t,!1))}catch(e){DB({done:!1},e,t)}}};dB&&(vB=(bB=function(t){WA(this,vB),pt(t),gt(K_,this);var e=pB(this);try{t(NB(FB,e),NB(DB,e))}catch(t){DB(e,t)}}).prototype,(K_=function(t){gB(this,{type:fB,done:!1,notified:!1,parent:!1,reactions:new I_,rejection:!1,state:0,value:void 0})}).prototype=yr(vB,"then",(function(t,e){var n=pB(this),r=kB(aB(this,bB));return n.parent=!0,r.ok=!K(t)||t,r.fail=K(e)&&e,r.domain=vm?TB.domain:void 0,0===n.state?n.reactions.add(r):oB((function(){BB(r,n)})),r.promise})),G_=function(){var t=new K_,e=pB(t);this.promise=t,this.resolve=NB(FB,e),this.reject=NB(DB,e)},uB.f=kB=function(t){return t===bB||undefined===t?new G_(t):CB(t)}),jn({global:!0,constructor:!0,wrap:!0,forced:dB},{Promise:bB}),zr(bB,fB,!1,!0),rp(fB);var PB=lB.CONSTRUCTOR||!yh((function(t){W_.all(t).then(void 0,(function(){}))}));jn({target:"Promise",stat:!0,forced:PB},{all:function(t){var e=this,n=uB.f(e),r=n.resolve,i=n.reject,a=cB((function(){var n=pt(e.resolve),a=[],o=0,s=1;VA(t,(function(t){var c=o++,l=!1;s++,gt(n,e,t).then((function(t){l||(l=!0,a[c]=t,--s||r(a))}),i)})),--s||r(a)}));return a.error&&i(a.value),n.promise}});var RB=lB.CONSTRUCTOR;W_&&W_.prototype;jn({target:"Promise",proto:!0,forced:RB,real:!0},{catch:function(t){return this.then(void 0,t)}}),jn({target:"Promise",stat:!0,forced:PB},{race:function(t){var e=this,n=uB.f(e),r=n.reject,i=cB((function(){var i=pt(e.resolve);VA(t,(function(t){gt(i,e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}}),jn({target:"Promise",stat:!0,forced:lB.CONSTRUCTOR},{reject:function(t){var e=uB.f(this);return gt(e.reject,void 0,t),e.promise}});var QB=function(t,e){if(me(t),mt(e)&&e.constructor===t)return e;var n=uB.f(t);return(0,n.resolve)(e),n.promise},UB=lB.CONSTRUCTOR,HB=st("Promise"),jB=!UB;jn({target:"Promise",stat:!0,forced:kt},{resolve:function(t){return QB(jB&&this===HB?W_:this,t)}}),jn({target:"Promise",stat:!0,forced:PB},{allSettled:function(t){var e=this,n=uB.f(e),r=n.resolve,i=n.reject,a=cB((function(){var n=pt(e.resolve),i=[],a=0,o=1;VA(t,(function(t){var s=a++,c=!1;o++,gt(n,e,t).then((function(t){c||(c=!0,i[s]={status:"fulfilled",value:t},--o||r(i))}),(function(t){c||(c=!0,i[s]={status:"rejected",reason:t},--o||r(i))}))})),--o||r(i)}));return a.error&&i(a.value),n.promise}});var $B="No one promise resolved";jn({target:"Promise",stat:!0,forced:PB},{any:function(t){var e=this,n=st("AggregateError"),r=uB.f(e),i=r.resolve,a=r.reject,o=cB((function(){var r=pt(e.resolve),o=[],s=0,c=1,l=!1;VA(t,(function(t){var u=s++,h=!1;c++,gt(r,e,t).then((function(t){h||l||(l=!0,i(t))}),(function(t){h||l||(h=!0,o[u]=t,--c||a(new n(o,$B)))}))})),--c||a(new n(o,$B))}));return o.error&&a(o.value),r.promise}});var KB=W_&&W_.prototype,GB=!!W_&&h((function(){KB.finally.call({then:function(){}},(function(){}))}));jn({target:"Promise",proto:!0,real:!0,forced:GB},{finally:function(t){var e=aB(this,st("Promise")),n=K(t);return this.then(n?function(n){return QB(e,t()).then((function(){return n}))}:t,n?function(n){return QB(e,t()).then((function(){throw n}))}:t)}});var zB=X.Promise;jn({target:"Promise",stat:!0},{withResolvers:function(){var t=uB.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var XB=zB,qB=XB;jn({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=uB.f(this),n=cB(t);return(n.error?e.reject:e.resolve)(n.value),e.promise}});var VB=qB,WB=VB;function YB(t,e,n,r,i,a,o){try{var s=t[a](o),c=s.value}catch(t){return void n(t)}s.done?e(c):WB.resolve(c).then(r,i)}var JB=r((function(t){function e(n){return t.exports=e="function"==typeof Xo&&"symbol"==typeof as?function(t){return typeof t}:function(t){return t&&"function"==typeof Xo&&t.constructor===Xo&&t!==Xo.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));n(JB);var ZB=io,tS=T([].reverse),eS=[1,2];jn({target:"Array",proto:!0,forced:String(eS)===String(eS.reverse())},{reverse:function(){return Mr(this)&&(this.length=this.length),tS(this)}});var nS=Wi("Array").reverse,rS=Array.prototype,iS=function(t){var e=t.reverse;return t===rS||ct(rS,t)&&e===rS.reverse?nS:e},aS=iS,oS=ZB,sS=VB,cS=aS,lS=r((function(t){var e=JB.default;function n(){t.exports=n=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},i=Object.prototype,a=i.hasOwnProperty,o=vo||function(t,e,n){t[e]=n.value},s="function"==typeof Xo?Xo:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function h(t,e,n){return vo(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,a=ps(i.prototype),s=new _(r||[]);return o(a,"_invoke",{value:k(t,n,s)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var A={};function p(){}function g(){}function m(){}var b={};h(b,c,(function(){return this}));var v=Ss&&Ss(Ss(B([])));v&&v!==i&&a.call(v,c)&&(b=v);var y=m.prototype=p.prototype=ps(b);function w(t){var e;oS(e=["next","throw","return"]).call(e,(function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,n){function r(i,o,s,c){var l=d(t[i],t,o);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==e(h)&&a.call(h,"__await")?n.resolve(h.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):n.resolve(h).then((function(t){u.value=t,s(u)}),(function(t){return r("throw",t,s,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,e){function a(){return new n((function(n,i){r(t,e,n,i)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=C(o,n);if(s){if(s===A)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=d(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function C(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),A;var i=d(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,A;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,A):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function E(t){var e,n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),of(e=this.tryEntries).call(e,n)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],oS(t).call(t,E,this),this.reset(!0)}function B(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(a.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}throw new TypeError(e(t)+" is not iterable")}return g.prototype=m,o(y,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:g,configurable:!0}),g.displayName=h(m,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return ms?ms(t,m):(t.__proto__=m,h(t,u,"GeneratorFunction")),t.prototype=ps(y),t},r.awrap=function(t){return{__await:t}},w(T.prototype),h(T.prototype,l,(function(){return this})),r.AsyncIterator=T,r.async=function(t,e,n,i,a){void 0===a&&(a=sS);var o=new T(f(t,e,n,i),a);return r.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(y),h(y,u,"Generator"),h(y,c,(function(){return this})),h(y,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),n=[];for(var r in e)of(n).call(n,r);return cS(n).call(n),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},r.values=B,_.prototype={constructor:_,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,oS(e=this.tryEntries).call(e,x),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+pf(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,A):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),A},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:B(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),A}},r}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}));n(lS);var uS=lS(),hS=uS;try{regeneratorRuntime=uS}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=uS:Function("r","regeneratorRuntime = r")(uS)}var fS=hS,dS=XB,AS=function(t,e){return AS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},AS(t,e)};function pS(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}AS(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var gS=function(){return gS=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},gS.apply(this,arguments)};function mS(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function bS(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}function vS(t,e){return function(n,r){e(n,r,t)}}function yS(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function wS(t,e,n,r){return new(n||(n=Promise))((function(i,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function s(t){try{c(r.throw(t))}catch(t){a(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,s)}c((r=r.apply(t,e||[])).next())}))}function TS(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var kS=Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function CS(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||kS(e,t,n)}function ES(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function xS(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function _S(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(xS(arguments[e]));return t}function BS(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var a=arguments[e],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function SS(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function LS(t){return this instanceof LS?(this.v=t,this):new LS(t)}function IS(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){a.push([t,e,n,r])>1||s(t,e)}))})}function s(t,e){try{(n=i[t](e)).value instanceof LS?Promise.resolve(n.value.v).then(c,l):u(a[0][2],n)}catch(t){u(a[0][3],t)}var n}function c(t){s("next",t)}function l(t){s("throw",t)}function u(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}}function MS(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:LS(t[r](e)),done:!1}:i?i(e):e}:i}}function OS(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=ES(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}function NS(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var DS=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function FS(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&kS(e,t,n);return DS(e,t),e}function PS(t){return t&&t.__esModule?t:{default:t}}function RS(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function QS(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function US(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function HS(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}var jS="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function $S(t){function e(e){t.error=t.hasError?new jS(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}return function n(){for(;t.stack.length;){var r=t.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(t){return e(t),n()}))}catch(t){e(t)}}if(t.hasError)throw t.error}()}var KS={__extends:pS,__assign:gS,__rest:mS,__decorate:bS,__param:vS,__metadata:yS,__awaiter:wS,__generator:TS,__createBinding:kS,__exportStar:CS,__values:ES,__read:xS,__spread:_S,__spreadArrays:BS,__spreadArray:SS,__await:LS,__asyncGenerator:IS,__asyncDelegator:MS,__asyncValues:OS,__makeTemplateObject:NS,__importStar:FS,__importDefault:PS,__classPrivateFieldGet:RS,__classPrivateFieldSet:QS,__classPrivateFieldIn:US,__addDisposableResource:HS,__disposeResources:$S},GS=Object.freeze({__proto__:null,__extends:pS,get __assign(){return gS},__rest:mS,__decorate:bS,__param:vS,__esDecorate:function(t,e,n,r,i,a){function o(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var s,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!e&&t?r.static?t:t.prototype:null,h=e||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var A={};for(var p in r)A[p]="access"===p?{}:r[p];for(var p in r.access)A.access[p]=r.access[p];A.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");a.push(o(t||null))};var g=(0,n[d])("accessor"===c?{get:h.get,set:h.set}:h[l],A);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=o(g.get))&&(h.get=s),(s=o(g.set))&&(h.set=s),(s=o(g.init))&&i.unshift(s)}else(s=o(g))&&("field"===c?i.unshift(s):h[l]=s)}u&&Object.defineProperty(u,r.name,h),f=!0},__runInitializers:function(t,e,n){for(var r=arguments.length>2,i=0;i<e.length;i++)n=r?e[i].call(t,n):e[i].call(t);return r?n:void 0},__propKey:function(t){return"symbol"==typeof t?t:"".concat(t)},__setFunctionName:function(t,e,n){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})},__metadata:yS,__awaiter:wS,__generator:TS,__createBinding:kS,__exportStar:CS,__values:ES,__read:xS,__spread:_S,__spreadArrays:BS,__spreadArray:SS,__await:LS,__asyncGenerator:IS,__asyncDelegator:MS,__asyncValues:OS,__makeTemplateObject:NS,__importStar:FS,__importDefault:PS,__classPrivateFieldGet:RS,__classPrivateFieldSet:QS,__classPrivateFieldIn:US,__addDisposableResource:HS,__disposeResources:$S,default:KS}),zS=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0})}));n(zS);var XS,qS=i(GS),VS=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.flatten=void 0;e.default={xml:!1,decodeEntities:!0};var n={_useHtmlParser2:!0,xmlMode:!0};e.flatten=function(t){return(null==t?void 0:t.xml)?"boolean"==typeof t.xml?n:qS.__assign(qS.__assign({},n),t.xml):null!=t?t:void 0}}));n(VS),VS.flatten,function(t){t.Attribute="attribute",t.Pseudo="pseudo",t.PseudoElement="pseudo-element",t.Tag="tag",t.Universal="universal",t.Adjacent="adjacent",t.Child="child",t.Descendant="descendant",t.Parent="parent",t.Sibling="sibling",t.ColumnCombinator="column-combinator"}(XS||(XS={}));var WS;!function(t){t.Any="any",t.Element="element",t.End="end",t.Equals="equals",t.Exists="exists",t.Hyphen="hyphen",t.Not="not",t.Start="start"}(WS||(WS={}));const YS=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,JS=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,ZS=new Map([[126,WS.Element],[94,WS.Start],[36,WS.End],[42,WS.Any],[33,WS.Not],[124,WS.Hyphen]]),tL=new Set(["has","not","matches","is","where","host","host-context"]);function eL(t){switch(t.type){case XS.Adjacent:case XS.Child:case XS.Descendant:case XS.Parent:case XS.Sibling:case XS.ColumnCombinator:return!0;default:return!1}}const nL=new Set(["contains","icontains"]);function rL(t,e,n){const r=parseInt(e,16)-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function iL(t){return t.replace(JS,rL)}function aL(t){return 39===t||34===t}function oL(t){return 32===t||9===t||10===t||12===t||13===t}function sL(t,e,n){let r=[];function i(t){const r=e.slice(n+t).match(YS);if(!r)throw new Error(`Expected name, found ${e.slice(n)}`);const[i]=r;return n+=t+i.length,iL(i)}function a(t){for(n+=t;n<e.length&&oL(e.charCodeAt(n));)n++}function o(){const t=n+=1;let r=1;for(;r>0&&n<e.length;n++)40!==e.charCodeAt(n)||s(n)?41!==e.charCodeAt(n)||s(n)||r--:r++;if(r)throw new Error("Parenthesis not matched");return iL(e.slice(t,n-1))}function s(t){let n=0;for(;92===e.charCodeAt(--t);)n++;return 1==(1&n)}function c(){if(r.length>0&&eL(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(t){r.length>0&&r[r.length-1].type===XS.Descendant?r[r.length-1].type=t:(c(),r.push({type:t}))}function u(t,e){r.push({type:XS.Attribute,name:t,action:e,value:i(1),namespace:null,ignoreCase:"quirks"})}function h(){if(r.length&&r[r.length-1].type===XS.Descendant&&r.pop(),0===r.length)throw new Error("Empty sub-selector");t.push(r)}if(a(0),e.length===n)return n;t:for(;n<e.length;){const t=e.charCodeAt(n);switch(t){case 32:case 9:case 10:case 12:case 13:0!==r.length&&r[0].type===XS.Descendant||(c(),r.push({type:XS.Descendant})),a(1);break;case 62:l(XS.Child),a(1);break;case 60:l(XS.Parent),a(1);break;case 126:l(XS.Sibling),a(1);break;case 43:l(XS.Adjacent),a(1);break;case 46:u("class",WS.Element);break;case 35:u("id",WS.Equals);break;case 91:{let t;a(1);let o=null;124===e.charCodeAt(n)?t=i(1):e.startsWith("*|",n)?(o="*",t=i(2)):(t=i(0),124===e.charCodeAt(n)&&61!==e.charCodeAt(n+1)&&(o=t,t=i(1))),a(0);let c=WS.Exists;const l=ZS.get(e.charCodeAt(n));if(l){if(c=l,61!==e.charCodeAt(n+1))throw new Error("Expected `=`");a(2)}else 61===e.charCodeAt(n)&&(c=WS.Equals,a(1));let u="",h=null;if("exists"!==c){if(aL(e.charCodeAt(n))){const t=e.charCodeAt(n);let r=n+1;for(;r<e.length&&(e.charCodeAt(r)!==t||s(r));)r+=1;if(e.charCodeAt(r)!==t)throw new Error("Attribute value didn't end");u=iL(e.slice(n+1,r)),n=r+1}else{const t=n;for(;n<e.length&&(!oL(e.charCodeAt(n))&&93!==e.charCodeAt(n)||s(n));)n+=1;u=iL(e.slice(t,n))}a(0);const t=32|e.charCodeAt(n);115===t?(h=!1,a(1)):105===t&&(h=!0,a(1))}if(93!==e.charCodeAt(n))throw new Error("Attribute selector didn't terminate");n+=1;const f={type:XS.Attribute,name:t,action:c,value:u,namespace:o,ignoreCase:h};r.push(f);break}case 58:{if(58===e.charCodeAt(n+1)){r.push({type:XS.PseudoElement,name:i(2).toLowerCase(),data:40===e.charCodeAt(n)?o():null});continue}const t=i(1).toLowerCase();let a=null;if(40===e.charCodeAt(n))if(tL.has(t)){if(aL(e.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${t} cannot be quoted`);if(a=[],n=sL(a,e,n+1),41!==e.charCodeAt(n))throw new Error(`Missing closing parenthesis in :${t} (${e})`);n+=1}else{if(a=o(),nL.has(t)){const t=a.charCodeAt(0);t===a.charCodeAt(a.length-1)&&aL(t)&&(a=a.slice(1,-1))}a=iL(a)}r.push({type:XS.Pseudo,name:t,data:a});break}case 44:h(),r=[],a(1);break;default:{if(e.startsWith("/*",n)){const t=e.indexOf("*/",n+2);if(t<0)throw new Error("Comment was not terminated");n=t+2,0===r.length&&a(0);break}let o,s=null;if(42===t)n+=1,o="*";else if(124===t){if(o="",124===e.charCodeAt(n+1)){l(XS.ColumnCombinator),a(2);break}}else{if(!YS.test(e.slice(n)))break t;o=i(0)}124===e.charCodeAt(n)&&124!==e.charCodeAt(n+1)&&(s=o,42===e.charCodeAt(n+1)?(o="*",n+=2):o=i(1)),r.push("*"===o?{type:XS.Universal,namespace:s}:{type:XS.Tag,name:o,namespace:s})}}}return h(),n}const cL=["\\",'"'],lL=[...cL,"(",")"],uL=new Set(cL.map((t=>t.charCodeAt(0)))),hL=new Set(lL.map((t=>t.charCodeAt(0)))),fL=new Set([...lL,"~","^","$","*","+","!","|",":","[","]"," ","."].map((t=>t.charCodeAt(0))));function dL(t){return t.map((t=>t.map(AL).join(""))).join(", ")}function AL(t,e,n){switch(t.type){case XS.Child:return 0===e?"> ":" > ";case XS.Parent:return 0===e?"< ":" < ";case XS.Sibling:return 0===e?"~ ":" ~ ";case XS.Adjacent:return 0===e?"+ ":" + ";case XS.Descendant:return" ";case XS.ColumnCombinator:return 0===e?"|| ":" || ";case XS.Universal:return"*"===t.namespace&&e+1<n.length&&"name"in n[e+1]?"":`${gL(t.namespace)}*`;case XS.Tag:return pL(t);case XS.PseudoElement:return`::${mL(t.name,fL)}${null===t.data?"":`(${mL(t.data,hL)})`}`;case XS.Pseudo:return`:${mL(t.name,fL)}${null===t.data?"":`(${"string"==typeof t.data?mL(t.data,hL):dL(t.data)})`}`;case XS.Attribute:{if("id"===t.name&&t.action===WS.Equals&&"quirks"===t.ignoreCase&&!t.namespace)return`#${mL(t.value,fL)}`;if("class"===t.name&&t.action===WS.Element&&"quirks"===t.ignoreCase&&!t.namespace)return`.${mL(t.value,fL)}`;const e=pL(t);return t.action===WS.Exists?`[${e}]`:`[${e}${function(t){switch(t){case WS.Equals:return"";case WS.Element:return"~";case WS.Start:return"^";case WS.End:return"$";case WS.Any:return"*";case WS.Not:return"!";case WS.Hyphen:return"|";case WS.Exists:throw new Error("Shouldn't be here")}}(t.action)}="${mL(t.value,uL)}"${null===t.ignoreCase?"":t.ignoreCase?" i":" s"}]`}}}function pL(t){return`${gL(t.namespace)}${mL(t.name,fL)}`}function gL(t){return null!==t?`${"*"===t?"*":mL(t,fL)}|`:""}function mL(t,e){let n=0,r="";for(let i=0;i<t.length;i++)e.has(t.charCodeAt(i))&&(r+=`${t.slice(n,i)}\\${t.charAt(i)}`,n=i+1);return r.length>0?r+t.slice(n):t}var bL,vL=Object.freeze({__proto__:null,isTraversal:eL,parse:function(t){const e=[],n=sL(e,`${t}`,0);if(n<t.length)throw new Error(`Unmatched selector: ${t.slice(n)}`);return e},stringify:dL,get SelectorType(){return XS},IgnoreCaseMode:{Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1},get AttributeAction(){return WS}});!function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(bL||(bL={}));const yL=bL.Root,wL=bL.Text,TL=bL.Directive,kL=bL.Comment,CL=bL.Script,EL=bL.Style,xL=bL.Tag,_L=bL.CDATA,BL=bL.Doctype;var SL=Object.freeze({__proto__:null,get ElementType(){return bL},isTag:function(t){return t.type===bL.Tag||t.type===bL.Script||t.type===bL.Style},Root:yL,Text:wL,Directive:TL,Comment:kL,Script:CL,Style:EL,Tag:xL,CDATA:_L,Doctype:BL}),LL=r((function(t,n){var r=e&&e.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=e&&e.__assign||function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.cloneNode=n.hasChildren=n.isDocument=n.isDirective=n.isComment=n.isText=n.isCDATA=n.isTag=n.Element=n.Document=n.NodeWithChildren=n.ProcessingInstruction=n.Comment=n.Text=n.DataNode=n.Node=void 0;var a=new Map([[SL.ElementType.Tag,1],[SL.ElementType.Script,1],[SL.ElementType.Style,1],[SL.ElementType.Directive,1],[SL.ElementType.Text,3],[SL.ElementType.CDATA,4],[SL.ElementType.Comment,8],[SL.ElementType.Root,9]]),o=function(){function t(t){this.type=t,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){var t;return null!==(t=a.get(this.type))&&void 0!==t?t:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),y(this,t)},t}();n.Node=o;var s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.data=n,r}return r(e,t),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t},enumerable:!1,configurable:!0}),e}(o);n.DataNode=s;var c=function(t){function e(e){return t.call(this,SL.ElementType.Text,e)||this}return r(e,t),e}(s);n.Text=c;var l=function(t){function e(e){return t.call(this,SL.ElementType.Comment,e)||this}return r(e,t),e}(s);n.Comment=l;var u=function(t){function e(e,n){var r=t.call(this,SL.ElementType.Directive,n)||this;return r.name=e,r}return r(e,t),e}(s);n.ProcessingInstruction=u;var h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.children=n,r}return r(e,t),Object.defineProperty(e.prototype,"firstChild",{get:function(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(o);n.NodeWithChildren=h;var f=function(t){function e(e){return t.call(this,SL.ElementType.Root,e)||this}return r(e,t),e}(h);n.Document=f;var d=function(t){function e(e,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===e?SL.ElementType.Script:"style"===e?SL.ElementType.Style:SL.ElementType.Tag);var a=t.call(this,i,r)||this;return a.name=e,a.attribs=n,a}return r(e,t),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map((function(e){var n,r;return{name:e,value:t.attribs[e],namespace:null===(n=t["x-attribsNamespace"])||void 0===n?void 0:n[e],prefix:null===(r=t["x-attribsPrefix"])||void 0===r?void 0:r[e]}}))},enumerable:!1,configurable:!0}),e}(h);function A(t){return(0,SL.isTag)(t)}function p(t){return t.type===SL.ElementType.CDATA}function g(t){return t.type===SL.ElementType.Text}function m(t){return t.type===SL.ElementType.Comment}function b(t){return t.type===SL.ElementType.Directive}function v(t){return t.type===SL.ElementType.Root}function y(t,e){var n;if(void 0===e&&(e=!1),g(t))n=new c(t.data);else if(m(t))n=new l(t.data);else if(A(t)){var r=e?w(t.children):[],a=new d(t.name,i({},t.attribs),r);r.forEach((function(t){return t.parent=a})),null!=t.namespace&&(a.namespace=t.namespace),t["x-attribsNamespace"]&&(a["x-attribsNamespace"]=i({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(a["x-attribsPrefix"]=i({},t["x-attribsPrefix"])),n=a}else if(p(t)){r=e?w(t.children):[];var o=new h(SL.ElementType.CDATA,r);r.forEach((function(t){return t.parent=o})),n=o}else if(v(t)){r=e?w(t.children):[];var s=new f(r);r.forEach((function(t){return t.parent=s})),t["x-mode"]&&(s["x-mode"]=t["x-mode"]),n=s}else{if(!b(t))throw new Error("Not implemented yet: ".concat(t.type));var y=new u(t.name,t.data);null!=t["x-name"]&&(y["x-name"]=t["x-name"],y["x-publicId"]=t["x-publicId"],y["x-systemId"]=t["x-systemId"]),n=y}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function w(t){for(var e=t.map((function(t){return y(t,!0)})),n=1;n<e.length;n++)e[n].prev=e[n-1],e[n-1].next=e[n];return e}n.Element=d,n.isTag=A,n.isCDATA=p,n.isText=g,n.isComment=m,n.isDirective=b,n.isDocument=v,n.hasChildren=function(t){return Object.prototype.hasOwnProperty.call(t,"children")},n.cloneNode=y}));n(LL),LL.cloneNode,LL.hasChildren,LL.isDocument,LL.isDirective,LL.isComment,LL.isText,LL.isCDATA,LL.isTag,LL.Element,LL.Document,LL.NodeWithChildren,LL.ProcessingInstruction,LL.Comment,LL.Text,LL.DataNode,LL.Node;var IL=LL,ML=r((function(t,n){var r=e&&e.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=e&&e.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.DomHandler=void 0,i(IL,n);var a=/\s+/g,o={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function t(t,e,n){this.dom=[],this.root=new IL.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(n=e,e=o),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:o,this.elementCB=null!=n?n:null}return t.prototype.onparserinit=function(t){this.parser=t},t.prototype.onreset=function(){this.dom=[],this.root=new IL.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},t.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},t.prototype.onopentag=function(t,e){var n=this.options.xmlMode?SL.ElementType.Tag:void 0,r=new IL.Element(t,e,void 0,n);this.addNode(r),this.tagStack.push(r)},t.prototype.ontext=function(t){var e=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===SL.ElementType.Text)e?n.data=(n.data+t).replace(a," "):n.data+=t,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{e&&(t=t.replace(a," "));var r=new IL.Text(t);this.addNode(r),this.lastNode=r}},t.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===SL.ElementType.Comment)this.lastNode.data+=t;else{var e=new IL.Comment(t);this.addNode(e),this.lastNode=e}},t.prototype.oncommentend=function(){this.lastNode=null},t.prototype.oncdatastart=function(){var t=new IL.Text(""),e=new IL.NodeWithChildren(SL.ElementType.CDATA,[t]);this.addNode(e),t.parent=e,this.lastNode=t},t.prototype.oncdataend=function(){this.lastNode=null},t.prototype.onprocessinginstruction=function(t,e){var n=new IL.ProcessingInstruction(t,e);this.addNode(n)},t.prototype.handleCallback=function(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null},t}();n.DomHandler=s,n.default=s}));n(ML),ML.DomHandler;var OL={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},NL=Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:"",default:OL}),DL={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},FL=Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",default:DL}),PL={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},RL=Object.freeze({__proto__:null,amp:"&",apos:"'",gt:">",lt:"<",quot:'"',default:PL}),QL=i(Object.freeze({__proto__:null,default:{0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}})),UL=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var i=r(QL),a=String.fromCodePoint||function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)};n.default=function(t){return t>=55296&&t<=57343||t>1114111?"�":(t in i.default&&(t=i.default[t]),a(t))}}));n(UL);var HL=i(NL),jL=i(FL),$L=i(RL),KL=UL,GL=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.decodeHTML=n.decodeHTMLStrict=n.decodeXML=void 0;var i=r(HL),a=r(jL),o=r($L),s=r(KL),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function l(t){var e=h(t);return function(t){return String(t).replace(c,e)}}n.decodeXML=l(o.default),n.decodeHTMLStrict=l(i.default);var u=function(t,e){return t<e?1:-1};function h(t){return function(e){if("#"===e.charAt(1)){var n=e.charAt(2);return"X"===n||"x"===n?s.default(parseInt(e.substr(3),16)):s.default(parseInt(e.substr(2),10))}return t[e.slice(1,-1)]||e}}n.decodeHTML=function(){for(var t=Object.keys(a.default).sort(u),e=Object.keys(i.default).sort(u),n=0,r=0;n<e.length;n++)t[r]===e[n]?(e[n]+=";?",r++):e[n]+=";";var o=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=h(i.default);function c(t){return";"!==t.substr(-1)&&(t+=";"),s(t)}return function(t){return String(t).replace(o,c)}}()}));n(GL),GL.decodeHTML,GL.decodeHTMLStrict,GL.decodeXML;var zL=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.escapeUTF8=n.escape=n.encodeNonAsciiHTML=n.encodeHTML=n.encodeXML=void 0;var i=c(r($L).default),a=l(i);n.encodeXML=A(i);var o=c(r(HL).default),s=l(o);function c(t){return Object.keys(t).sort().reduce((function(e,n){return e[t[n]]="&"+n+";",e}),{})}function l(t){for(var e=[],n=[],r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];1===a.length?e.push("\\"+a):n.push(a)}e.sort();for(var o=0;o<e.length-1;o++){for(var s=o;s<e.length-1&&e[s].charCodeAt(1)+1===e[s+1].charCodeAt(1);)s+=1;var c=1+s-o;c<3||e.splice(o,c,e[o]+"-"+e[s])}return n.unshift("["+e.join("")+"]"),new RegExp(n.join("|"),"g")}n.encodeHTML=function(t,e){return function(n){return n.replace(e,(function(e){return t[e]})).replace(u,f)}}(o,s),n.encodeNonAsciiHTML=A(o);var u=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,h=null!=String.prototype.codePointAt?function(t){return t.codePointAt(0)}:function(t){return 1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536};function f(t){return"&#x"+(t.length>1?h(t):t.charCodeAt(0)).toString(16).toUpperCase()+";"}var d=new RegExp(a.source+"|"+u.source,"g");function A(t){return function(e){return e.replace(d,(function(e){return t[e]||f(e)}))}}n.escape=function(t){return t.replace(d,f)},n.escapeUTF8=function(t){return t.replace(a,f)}}));n(zL),zL.escapeUTF8,zL.escape,zL.encodeNonAsciiHTML,zL.encodeHTML,zL.encodeXML;var XL=GL,qL=zL,VL=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0,e.decode=function(t,e){return(!e||e<=0?XL.decodeXML:XL.decodeHTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?XL.decodeXML:XL.decodeHTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?qL.encodeXML:qL.encodeHTML)(t)};var n=qL;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return n.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return n.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return n.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return n.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return n.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return n.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return n.encodeHTML}});var r=XL;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return r.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return r.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return r.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return r.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return r.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return r.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return r.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return r.decodeXML}})}));n(VL),VL.decodeXMLStrict,VL.decodeHTML5Strict,VL.decodeHTML4Strict,VL.decodeHTML5,VL.decodeHTML4,VL.decodeHTMLStrict,VL.decodeHTML,VL.decodeXML,VL.encodeHTML5,VL.encodeHTML4,VL.escapeUTF8,VL.escape,VL.encodeNonAsciiHTML,VL.encodeHTML,VL.encodeXML,VL.encode,VL.decodeStrict,VL.decode;var WL=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.attributeNames=e.elementNames=void 0,e.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),e.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])}));n(WL),WL.attributeNames,WL.elementNames;var YL=VL,JL=WL,ZL=r((function(t,n){var r=e&&e.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},r.apply(this,arguments)},i=e&&e.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),a=e&&e.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=e&&e.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return a(e,t),e};Object.defineProperty(n,"__esModule",{value:!0});var s=o(SL),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var l=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function u(t,e){void 0===e&&(e={});for(var n=("length"in t?t:[t]),r="",i=0;i<n.length;i++)r+=h(n[i],e);return r}function h(t,e){switch(t.type){case s.Root:return u(t.children,e);case s.Directive:case s.Doctype:return"<"+t.data+">";case s.Comment:return function(t){return"\x3c!--"+t.data+"--\x3e"}(t);case s.CDATA:return function(t){return"<![CDATA["+t.children[0].data+"]]>"}(t);case s.Script:case s.Style:case s.Tag:return function(t,e){var n;"foreign"===e.xmlMode&&(t.name=null!==(n=JL.elementNames.get(t.name))&&void 0!==n?n:t.name,t.parent&&f.has(t.parent.name)&&(e=r(r({},e),{xmlMode:!1})));!e.xmlMode&&d.has(t.name)&&(e=r(r({},e),{xmlMode:"foreign"}));var i="<"+t.name,a=function(t,e){if(t)return Object.keys(t).map((function(n){var r,i,a=null!==(r=t[n])&&void 0!==r?r:"";return"foreign"===e.xmlMode&&(n=null!==(i=JL.attributeNames.get(n))&&void 0!==i?i:n),e.emptyAttrs||e.xmlMode||""!==a?n+'="'+(!1!==e.decodeEntities?YL.encodeXML(a):a.replace(/"/g,"""))+'"':n})).join(" ")}(t.attribs,e);a&&(i+=" "+a);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&l.has(t.name))?(e.xmlMode||(i+=" "),i+="/>"):(i+=">",t.children.length>0&&(i+=u(t.children,e)),!e.xmlMode&&l.has(t.name)||(i+="</"+t.name+">"));return i}(t,e);case s.Text:return function(t,e){var n=t.data||"";!1===e.decodeEntities||!e.xmlMode&&t.parent&&c.has(t.parent.name)||(n=YL.encodeXML(n));return n}(t,e)}}n.default=u;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),d=new Set(["svg","math"])}));n(ZL);var tI=ML,eI=ZL,nI=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.innerText=n.textContent=n.getText=n.getInnerHTML=n.getOuterHTML=void 0;var i=r(eI);function a(t,e){return(0,i.default)(t,e)}n.getOuterHTML=a,n.getInnerHTML=function(t,e){return(0,tI.hasChildren)(t)?t.children.map((function(t){return a(t,e)})).join(""):""},n.getText=function t(e){return Array.isArray(e)?e.map(t).join(""):(0,tI.isTag)(e)?"br"===e.name?"\n":t(e.children):(0,tI.isCDATA)(e)?t(e.children):(0,tI.isText)(e)?e.data:""},n.textContent=function t(e){return Array.isArray(e)?e.map(t).join(""):(0,tI.hasChildren)(e)&&!(0,tI.isComment)(e)?t(e.children):(0,tI.isText)(e)?e.data:""},n.innerText=function t(e){return Array.isArray(e)?e.map(t).join(""):(0,tI.hasChildren)(e)&&(e.type===SL.ElementType.Tag||(0,tI.isCDATA)(e))?t(e.children):(0,tI.isText)(e)?e.data:""}}));n(nI),nI.innerText,nI.textContent,nI.getText,nI.getInnerHTML,nI.getOuterHTML;var rI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.prevElementSibling=e.nextElementSibling=e.getName=e.hasAttrib=e.getAttributeValue=e.getSiblings=e.getParent=e.getChildren=void 0;var n=[];function r(t){var e;return null!==(e=t.children)&&void 0!==e?e:n}function i(t){return t.parent||null}e.getChildren=r,e.getParent=i,e.getSiblings=function(t){var e=i(t);if(null!=e)return r(e);for(var n=[t],a=t.prev,o=t.next;null!=a;)n.unshift(a),a=a.prev;for(;null!=o;)n.push(o),o=o.next;return n},e.getAttributeValue=function(t,e){var n;return null===(n=t.attribs)||void 0===n?void 0:n[e]},e.hasAttrib=function(t,e){return null!=t.attribs&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&null!=t.attribs[e]},e.getName=function(t){return t.name},e.nextElementSibling=function(t){for(var e=t.next;null!==e&&!(0,tI.isTag)(e);)e=e.next;return e},e.prevElementSibling=function(t){for(var e=t.prev;null!==e&&!(0,tI.isTag)(e);)e=e.prev;return e}}));n(rI),rI.prevElementSibling,rI.nextElementSibling,rI.getName,rI.hasAttrib,rI.getAttributeValue,rI.getSiblings,rI.getParent,rI.getChildren;var iI=r((function(t,e){function n(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}}Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.prependChild=e.append=e.appendChild=e.replaceElement=e.removeElement=void 0,e.removeElement=n,e.replaceElement=function(t,e){var n=e.prev=t.prev;n&&(n.next=e);var r=e.next=t.next;r&&(r.prev=e);var i=e.parent=t.parent;if(i){var a=i.children;a[a.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(n(e),e.next=null,e.parent=t,t.children.push(e)>1){var r=t.children[t.children.length-2];r.next=e,e.prev=r}else e.prev=null},e.append=function(t,e){n(e);var r=t.parent,i=t.next;if(e.next=i,e.prev=t,t.next=e,e.parent=r,i){if(i.prev=e,r){var a=r.children;a.splice(a.lastIndexOf(i),0,e)}}else r&&r.children.push(e)},e.prependChild=function(t,e){if(n(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){var r=t.children[1];r.prev=e,e.next=r}else e.next=null},e.prepend=function(t,e){n(e);var r=t.parent;if(r){var i=r.children;i.splice(i.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}}));n(iI),iI.prepend,iI.prependChild,iI.append,iI.appendChild,iI.replaceElement,iI.removeElement;var aI=r((function(t,e){function n(t,e,r,i){for(var a=[],o=0,s=e;o<s.length;o++){var c=s[o];if(t(c)&&(a.push(c),--i<=0))break;if(r&&(0,tI.hasChildren)(c)&&c.children.length>0){var l=n(t,c.children,r,i);if(a.push.apply(a,l),(i-=l.length)<=0)break}}return a}Object.defineProperty(e,"__esModule",{value:!0}),e.findAll=e.existsOne=e.findOne=e.findOneChild=e.find=e.filter=void 0,e.filter=function(t,e,r,i){return void 0===r&&(r=!0),void 0===i&&(i=1/0),Array.isArray(e)||(e=[e]),n(t,e,r,i)},e.find=n,e.findOneChild=function(t,e){return e.find(t)},e.findOne=function t(e,n,r){void 0===r&&(r=!0);for(var i=null,a=0;a<n.length&&!i;a++){var o=n[a];(0,tI.isTag)(o)&&(e(o)?i=o:r&&o.children.length>0&&(i=t(e,o.children)))}return i},e.existsOne=function t(e,n){return n.some((function(n){return(0,tI.isTag)(n)&&(e(n)||n.children.length>0&&t(e,n.children))}))},e.findAll=function(t,e){for(var n,r,i=[],a=e.filter(tI.isTag);r=a.shift();){var o=null===(n=r.children)||void 0===n?void 0:n.filter(tI.isTag);o&&o.length>0&&a.unshift.apply(a,o),t(r)&&i.push(r)}return i}}));n(aI),aI.findAll,aI.existsOne,aI.findOne,aI.findOneChild,aI.find,aI.filter;var oI=aI,sI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.getElementsByTagType=e.getElementsByTagName=e.getElementById=e.getElements=e.testElement=void 0;var n={tag_name:function(t){return"function"==typeof t?function(e){return(0,tI.isTag)(e)&&t(e.name)}:"*"===t?tI.isTag:function(e){return(0,tI.isTag)(e)&&e.name===t}},tag_type:function(t){return"function"==typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"==typeof t?function(e){return(0,tI.isText)(e)&&t(e.data)}:function(e){return(0,tI.isText)(e)&&e.data===t}}};function r(t,e){return"function"==typeof e?function(n){return(0,tI.isTag)(n)&&e(n.attribs[t])}:function(n){return(0,tI.isTag)(n)&&n.attribs[t]===e}}function i(t,e){return function(n){return t(n)||e(n)}}function a(t){var e=Object.keys(t).map((function(e){var i=t[e];return Object.prototype.hasOwnProperty.call(n,e)?n[e](i):r(e,i)}));return 0===e.length?null:e.reduce(i)}e.testElement=function(t,e){var n=a(t);return!n||n(e)},e.getElements=function(t,e,n,r){void 0===r&&(r=1/0);var i=a(t);return i?(0,oI.filter)(i,e,n,r):[]},e.getElementById=function(t,e,n){return void 0===n&&(n=!0),Array.isArray(e)||(e=[e]),(0,oI.findOne)(r("id",t),e,n)},e.getElementsByTagName=function(t,e,r,i){return void 0===r&&(r=!0),void 0===i&&(i=1/0),(0,oI.filter)(n.tag_name(t),e,r,i)},e.getElementsByTagType=function(t,e,r,i){return void 0===r&&(r=!0),void 0===i&&(i=1/0),(0,oI.filter)(n.tag_type(t),e,r,i)}}));n(sI),sI.getElementsByTagType,sI.getElementsByTagName,sI.getElementById,sI.getElements,sI.testElement;var cI=r((function(t,e){function n(t,e){var n=[],r=[];if(t===e)return 0;for(var i=(0,tI.hasChildren)(t)?t:t.parent;i;)n.unshift(i),i=i.parent;for(i=(0,tI.hasChildren)(e)?e:e.parent;i;)r.unshift(i),i=i.parent;for(var a=Math.min(n.length,r.length),o=0;o<a&&n[o]===r[o];)o++;if(0===o)return 1;var s=n[o-1],c=s.children,l=n[o],u=r[o];return c.indexOf(l)>c.indexOf(u)?s===e?20:4:s===t?10:2}Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueSort=e.compareDocumentPosition=e.removeSubsets=void 0,e.removeSubsets=function(t){for(var e=t.length;--e>=0;){var n=t[e];if(e>0&&t.lastIndexOf(n,e-1)>=0)t.splice(e,1);else for(var r=n.parent;r;r=r.parent)if(t.includes(r)){t.splice(e,1);break}}return t},e.compareDocumentPosition=n,e.uniqueSort=function(t){return t=t.filter((function(t,e,n){return!n.includes(t,e+1)})),t.sort((function(t,e){var r=n(t,e);return 2&r?-1:4&r?1:0})),t}}));n(cI),cI.uniqueSort,cI.compareDocumentPosition,cI.removeSubsets;var lI=nI,uI=sI,hI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.getFeed=void 0,e.getFeed=function(t){var e=a(c,t);return e?"feed"===e.name?function(t){var e,n=t.children,r={type:"atom",items:(0,uI.getElementsByTagName)("entry",n).map((function(t){var e,n=t.children,r={media:i(n)};s(r,"id","id",n),s(r,"title","title",n);var c=null===(e=a("link",n))||void 0===e?void 0:e.attribs.href;c&&(r.link=c);var l=o("summary",n)||o("content",n);l&&(r.description=l);var u=o("updated",n);return u&&(r.pubDate=new Date(u)),r}))};s(r,"id","id",n),s(r,"title","title",n);var c=null===(e=a("link",n))||void 0===e?void 0:e.attribs.href;c&&(r.link=c);s(r,"description","subtitle",n);var l=o("updated",n);l&&(r.updated=new Date(l));return s(r,"author","email",n,!0),r}(e):function(t){var e,n,r=null!==(n=null===(e=a("channel",t.children))||void 0===e?void 0:e.children)&&void 0!==n?n:[],c={type:t.name.substr(0,3),id:"",items:(0,uI.getElementsByTagName)("item",t.children).map((function(t){var e=t.children,n={media:i(e)};s(n,"id","guid",e),s(n,"title","title",e),s(n,"link","link",e),s(n,"description","description",e);var r=o("pubDate",e);return r&&(n.pubDate=new Date(r)),n}))};s(c,"title","title",r),s(c,"link","link",r),s(c,"description","description",r);var l=o("lastBuildDate",r);l&&(c.updated=new Date(l));return s(c,"author","managingEditor",r,!0),c}(e):null};var n=["url","type","lang"],r=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function i(t){return(0,uI.getElementsByTagName)("media:content",t).map((function(t){for(var e=t.attribs,i={medium:e.medium,isDefault:!!e.isDefault},a=0,o=n;a<o.length;a++){e[l=o[a]]&&(i[l]=e[l])}for(var s=0,c=r;s<c.length;s++){var l;e[l=c[s]]&&(i[l]=parseInt(e[l],10))}return e.expression&&(i.expression=e.expression),i}))}function a(t,e){return(0,uI.getElementsByTagName)(t,e,!0,1)[0]}function o(t,e,n){return void 0===n&&(n=!1),(0,lI.textContent)((0,uI.getElementsByTagName)(t,e,n,1)).trim()}function s(t,e,n,r,i){void 0===i&&(i=!1);var a=o(n,r,i);a&&(t[e]=a)}function c(t){return"rss"===t||"feed"===t||"rdf:RDF"===t}}));n(hI),hI.getFeed;var fI=rI,dI=iI,AI=cI,pI=hI,gI=r((function(t,n){var r=e&&e.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=e&&e.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.hasChildren=n.isDocument=n.isComment=n.isText=n.isCDATA=n.isTag=void 0,i(lI,n),i(fI,n),i(dI,n),i(oI,n),i(uI,n),i(AI,n),i(pI,n),Object.defineProperty(n,"isTag",{enumerable:!0,get:function(){return tI.isTag}}),Object.defineProperty(n,"isCDATA",{enumerable:!0,get:function(){return tI.isCDATA}}),Object.defineProperty(n,"isText",{enumerable:!0,get:function(){return tI.isText}}),Object.defineProperty(n,"isComment",{enumerable:!0,get:function(){return tI.isComment}}),Object.defineProperty(n,"isDocument",{enumerable:!0,get:function(){return tI.isDocument}}),Object.defineProperty(n,"hasChildren",{enumerable:!0,get:function(){return tI.hasChildren}})}));n(gI),gI.hasChildren,gI.isDocument,gI.isComment,gI.isText,gI.isCDATA,gI.isTag;var mI={trueFunc:function(){return!0},falseFunc:function(){return!1}},bI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isTraversal=e.procedure=void 0,e.procedure={universal:50,tag:30,attribute:1,pseudo:0,"pseudo-element":0,"column-combinator":-1,descendant:-1,child:-1,parent:-1,sibling:-1,adjacent:-1,_flexibleDescendant:-1},e.isTraversal=function(t){return e.procedure[t.type]<0}}));n(bI),bI.isTraversal,bI.procedure;var vI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n={exists:10,equals:8,not:7,start:6,end:6,any:5,hyphen:4,element:4};function r(t){var e=bI.procedure[t.type];if(t.type===vL.SelectorType.Attribute)(e=n[t.action])===n.equals&&"id"===t.name&&(e=9),t.ignoreCase&&(e>>=1);else if(t.type===vL.SelectorType.Pseudo)if(t.data)if("has"===t.name||"contains"===t.name)e=0;else if(Array.isArray(t.data)){e=0;for(var i=0;i<t.data.length;i++)if(1===t.data[i].length){var a=r(t.data[i][0]);if(0===a){e=0;break}a>e&&(e=a)}t.data.length>1&&e>0&&(e-=1)}else e=1;else e=3;return e}e.default=function(t){for(var e=t.map(r),n=1;n<t.length;n++){var i=e[n];if(!(i<0))for(var a=n-1;a>=0&&i<e[a];a--){var o=t[a+1];t[a+1]=t[a],t[a]=o,e[a+1]=e[a],e[a]=i}}}}));n(vI);var yI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.attributeRules=void 0;var n=/[-[\]{}()*+?.,\\^$|#\s]/g;function r(t){return t.replace(n,"\\$&")}var i=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function a(t,e){return"boolean"==typeof t.ignoreCase?t.ignoreCase:"quirks"===t.ignoreCase?!!e.quirksMode:!e.xmlMode&&i.has(t.name)}e.attributeRules={equals:function(t,e,n){var r=n.adapter,i=e.name,o=e.value;return a(e,n)?(o=o.toLowerCase(),function(e){var n=r.getAttributeValue(e,i);return null!=n&&n.length===o.length&&n.toLowerCase()===o&&t(e)}):function(e){return r.getAttributeValue(e,i)===o&&t(e)}},hyphen:function(t,e,n){var r=n.adapter,i=e.name,o=e.value,s=o.length;return a(e,n)?(o=o.toLowerCase(),function(e){var n=r.getAttributeValue(e,i);return null!=n&&(n.length===s||"-"===n.charAt(s))&&n.substr(0,s).toLowerCase()===o&&t(e)}):function(e){var n=r.getAttributeValue(e,i);return null!=n&&(n.length===s||"-"===n.charAt(s))&&n.substr(0,s)===o&&t(e)}},element:function(t,e,n){var i=n.adapter,o=e.name,s=e.value;if(/\s/.test(s))return mI.falseFunc;var c=new RegExp("(?:^|\\s)".concat(r(s),"(?:$|\\s)"),a(e,n)?"i":"");return function(e){var n=i.getAttributeValue(e,o);return null!=n&&n.length>=s.length&&c.test(n)&&t(e)}},exists:function(t,e,n){var r=e.name,i=n.adapter;return function(e){return i.hasAttrib(e,r)&&t(e)}},start:function(t,e,n){var r=n.adapter,i=e.name,o=e.value,s=o.length;return 0===s?mI.falseFunc:a(e,n)?(o=o.toLowerCase(),function(e){var n=r.getAttributeValue(e,i);return null!=n&&n.length>=s&&n.substr(0,s).toLowerCase()===o&&t(e)}):function(e){var n;return!!(null===(n=r.getAttributeValue(e,i))||void 0===n?void 0:n.startsWith(o))&&t(e)}},end:function(t,e,n){var r=n.adapter,i=e.name,o=e.value,s=-o.length;return 0===s?mI.falseFunc:a(e,n)?(o=o.toLowerCase(),function(e){var n;return(null===(n=r.getAttributeValue(e,i))||void 0===n?void 0:n.substr(s).toLowerCase())===o&&t(e)}):function(e){var n;return!!(null===(n=r.getAttributeValue(e,i))||void 0===n?void 0:n.endsWith(o))&&t(e)}},any:function(t,e,n){var i=n.adapter,o=e.name,s=e.value;if(""===s)return mI.falseFunc;if(a(e,n)){var c=new RegExp(r(s),"i");return function(e){var n=i.getAttributeValue(e,o);return null!=n&&n.length>=s.length&&c.test(n)&&t(e)}}return function(e){var n;return!!(null===(n=i.getAttributeValue(e,o))||void 0===n?void 0:n.includes(s))&&t(e)}},not:function(t,e,n){var r=n.adapter,i=e.name,o=e.value;return""===o?function(e){return!!r.getAttributeValue(e,i)&&t(e)}:a(e,n)?(o=o.toLowerCase(),function(e){var n=r.getAttributeValue(e,i);return(null==n||n.length!==o.length||n.toLowerCase()!==o)&&t(e)}):function(e){return r.getAttributeValue(e,i)!==o&&t(e)}}}}));n(yI),yI.attributeRules;const wI=new Set([9,10,12,13,32]),TI="0".charCodeAt(0),kI="9".charCodeAt(0);function CI(t){return function(t){const e=t[0],n=t[1]-1;if(n<0&&e<=0)return mI.falseFunc;if(-1===e)return t=>t<=n;if(0===e)return t=>t===n;if(1===e)return n<0?mI.trueFunc:t=>t>=n;const r=Math.abs(e),i=(n%r+r)%r;return e>1?t=>t>=n&&t%r===i:t=>t<=n&&t%r===i}(function(t){if("even"===(t=t.trim().toLowerCase()))return[2,0];if("odd"===t)return[2,1];let e=0,n=0,r=a(),i=o();if(e<t.length&&"n"===t.charAt(e)&&(e++,n=r*(null!=i?i:1),s(),e<t.length?(r=a(),s(),i=o()):r=i=0),null===i||e<t.length)throw new Error(`n-th rule couldn't be parsed ('${t}')`);return[n,r*i];function a(){return"-"===t.charAt(e)?(e++,-1):("+"===t.charAt(e)&&e++,1)}function o(){const n=e;let r=0;for(;e<t.length&&t.charCodeAt(e)>=TI&&t.charCodeAt(e)<=kI;)r=10*r+(t.charCodeAt(e)-TI),e++;return e===n?null:r}function s(){for(;e<t.length&&wI.has(t.charCodeAt(e));)e++}}(t))}var EI=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.filters=void 0;var i=r(CI);function a(t,e){return function(n){var r=e.getParent(n);return null!=r&&e.isTag(r)&&t(n)}}function o(t){return function(e,n,r){var i=r.adapter[t];return"function"!=typeof i?mI.falseFunc:function(t){return i(t)&&e(t)}}}n.filters={contains:function(t,e,n){var r=n.adapter;return function(n){return t(n)&&r.getText(n).includes(e)}},icontains:function(t,e,n){var r=n.adapter,i=e.toLowerCase();return function(e){return t(e)&&r.getText(e).toLowerCase().includes(i)}},"nth-child":function(t,e,n){var r=n.adapter,o=n.equals,s=(0,i.default)(e);return s===mI.falseFunc?mI.falseFunc:s===mI.trueFunc?a(t,r):function(e){for(var n=r.getSiblings(e),i=0,a=0;a<n.length&&!o(e,n[a]);a++)r.isTag(n[a])&&i++;return s(i)&&t(e)}},"nth-last-child":function(t,e,n){var r=n.adapter,o=n.equals,s=(0,i.default)(e);return s===mI.falseFunc?mI.falseFunc:s===mI.trueFunc?a(t,r):function(e){for(var n=r.getSiblings(e),i=0,a=n.length-1;a>=0&&!o(e,n[a]);a--)r.isTag(n[a])&&i++;return s(i)&&t(e)}},"nth-of-type":function(t,e,n){var r=n.adapter,o=n.equals,s=(0,i.default)(e);return s===mI.falseFunc?mI.falseFunc:s===mI.trueFunc?a(t,r):function(e){for(var n=r.getSiblings(e),i=0,a=0;a<n.length;a++){var c=n[a];if(o(e,c))break;r.isTag(c)&&r.getName(c)===r.getName(e)&&i++}return s(i)&&t(e)}},"nth-last-of-type":function(t,e,n){var r=n.adapter,o=n.equals,s=(0,i.default)(e);return s===mI.falseFunc?mI.falseFunc:s===mI.trueFunc?a(t,r):function(e){for(var n=r.getSiblings(e),i=0,a=n.length-1;a>=0;a--){var c=n[a];if(o(e,c))break;r.isTag(c)&&r.getName(c)===r.getName(e)&&i++}return s(i)&&t(e)}},root:function(t,e,n){var r=n.adapter;return function(e){var n=r.getParent(e);return(null==n||!r.isTag(n))&&t(e)}},scope:function(t,e,r,i){var a=r.equals;return i&&0!==i.length?1===i.length?function(e){return a(i[0],e)&&t(e)}:function(e){return i.includes(e)&&t(e)}:n.filters.root(t,e,r)},hover:o("isHovered"),visited:o("isVisited"),active:o("isActive")}}));n(EI),EI.filters;var xI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.verifyPseudoArgs=e.pseudos=void 0,e.pseudos={empty:function(t,e){var n=e.adapter;return!n.getChildren(t).some((function(t){return n.isTag(t)||""!==n.getText(t)}))},"first-child":function(t,e){var n=e.adapter,r=e.equals,i=n.getSiblings(t).find((function(t){return n.isTag(t)}));return null!=i&&r(t,i)},"last-child":function(t,e){for(var n=e.adapter,r=e.equals,i=n.getSiblings(t),a=i.length-1;a>=0;a--){if(r(t,i[a]))return!0;if(n.isTag(i[a]))break}return!1},"first-of-type":function(t,e){for(var n=e.adapter,r=e.equals,i=n.getSiblings(t),a=n.getName(t),o=0;o<i.length;o++){var s=i[o];if(r(t,s))return!0;if(n.isTag(s)&&n.getName(s)===a)break}return!1},"last-of-type":function(t,e){for(var n=e.adapter,r=e.equals,i=n.getSiblings(t),a=n.getName(t),o=i.length-1;o>=0;o--){var s=i[o];if(r(t,s))return!0;if(n.isTag(s)&&n.getName(s)===a)break}return!1},"only-of-type":function(t,e){var n=e.adapter,r=e.equals,i=n.getName(t);return n.getSiblings(t).every((function(e){return r(t,e)||!n.isTag(e)||n.getName(e)!==i}))},"only-child":function(t,e){var n=e.adapter,r=e.equals;return n.getSiblings(t).every((function(e){return r(t,e)||!n.isTag(e)}))}},e.verifyPseudoArgs=function(t,e,n){if(null===n){if(t.length>2)throw new Error("pseudo-selector :".concat(e," requires an argument"))}else if(2===t.length)throw new Error("pseudo-selector :".concat(e," doesn't have any arguments"))}}));n(xI),xI.verifyPseudoArgs,xI.pseudos;var _I=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.aliases=void 0,e.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}}));n(_I),_I.aliases;var BI=r((function(t,n){var r=e&&e.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))};function i(t,e){return t===mI.falseFunc?mI.falseFunc:function(n){return e.isTag(n)&&t(n)}}function a(t,e){var n=e.getSiblings(t);if(n.length<=1)return[];var r=n.indexOf(t);return r<0||r===n.length-1?[]:n.slice(r+1).filter(e.isTag)}Object.defineProperty(n,"__esModule",{value:!0}),n.subselects=n.getNextSiblings=n.ensureIsTag=n.PLACEHOLDER_ELEMENT=void 0,n.PLACEHOLDER_ELEMENT={},n.ensureIsTag=i,n.getNextSiblings=a;var o=function(t,e,n,r,i){var a=i(e,{xmlMode:!!n.xmlMode,adapter:n.adapter,equals:n.equals},r);return function(e){return a(e)&&t(e)}};n.subselects={is:o,matches:o,where:o,not:function(t,e,n,r,i){var a=i(e,{xmlMode:!!n.xmlMode,adapter:n.adapter,equals:n.equals},r);return a===mI.falseFunc?t:a===mI.trueFunc?mI.falseFunc:function(e){return!a(e)&&t(e)}},has:function(t,e,o,s,c){var l=o.adapter,u={xmlMode:!!o.xmlMode,adapter:l,equals:o.equals},h=e.some((function(t){return t.some(bI.isTraversal)}))?[n.PLACEHOLDER_ELEMENT]:void 0,f=c(e,u,h);if(f===mI.falseFunc)return mI.falseFunc;if(f===mI.trueFunc)return function(e){return l.getChildren(e).some(l.isTag)&&t(e)};var d=i(f,l),A=f.shouldTestNextSiblings,p=void 0!==A&&A;return h?function(e){h[0]=e;var n=l.getChildren(e),i=p?r(r([],n,!0),a(e,l),!0):n;return t(e)&&l.existsOne(d,i)}:function(e){return t(e)&&l.existsOne(d,l.getChildren(e))}}}}));n(BI),BI.subselects,BI.getNextSiblings,BI.ensureIsTag,BI.PLACEHOLDER_ELEMENT;var SI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.compilePseudoSelector=e.aliases=e.pseudos=e.filters=void 0,Object.defineProperty(e,"filters",{enumerable:!0,get:function(){return EI.filters}}),Object.defineProperty(e,"pseudos",{enumerable:!0,get:function(){return xI.pseudos}}),Object.defineProperty(e,"aliases",{enumerable:!0,get:function(){return _I.aliases}}),e.compilePseudoSelector=function(t,e,n,r,i){var a=e.name,o=e.data;if(Array.isArray(o))return BI.subselects[a](t,o,n,r,i);if(a in _I.aliases){if(null!=o)throw new Error("Pseudo ".concat(a," doesn't have any arguments"));var s=(0,vL.parse)(_I.aliases[a]);return BI.subselects.is(t,s,n,r,i)}if(a in EI.filters)return EI.filters[a](t,o,n,r);if(a in xI.pseudos){var c=xI.pseudos[a];return(0,xI.verifyPseudoArgs)(c,a,o),c===mI.falseFunc?mI.falseFunc:t===mI.trueFunc?function(t){return c(t,n,o)}:function(e){return c(e,n,o)&&t(e)}}throw new Error("unmatched pseudo-class :".concat(a))}}));n(SI),SI.compilePseudoSelector,SI.aliases,SI.pseudos,SI.filters;var LI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.compileGeneralSelector=void 0,e.compileGeneralSelector=function(t,e,n,r,i){var a=n.adapter,o=n.equals;switch(e.type){case vL.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case vL.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case vL.SelectorType.Attribute:if(null!=e.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(e.name=e.name.toLowerCase()),yI.attributeRules[e.action](t,e,n);case vL.SelectorType.Pseudo:return(0,SI.compilePseudoSelector)(t,e,n,r,i);case vL.SelectorType.Tag:if(null!=e.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");var s=e.name;return n.xmlMode&&!n.lowerCaseTags||(s=s.toLowerCase()),function(e){return a.getName(e)===s&&t(e)};case vL.SelectorType.Descendant:if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(e){for(var n=e;n=a.getParent(n);)if(a.isTag(n)&&t(n))return!0;return!1};var c=new WeakSet;return function(e){for(var n=e;n=a.getParent(n);)if(!c.has(n)){if(a.isTag(n)&&t(n))return!0;c.add(n)}return!1};case"_flexibleDescendant":return function(e){var n=e;do{if(a.isTag(n)&&t(n))return!0}while(n=a.getParent(n));return!1};case vL.SelectorType.Parent:return function(e){return a.getChildren(e).some((function(e){return a.isTag(e)&&t(e)}))};case vL.SelectorType.Child:return function(e){var n=a.getParent(e);return null!=n&&a.isTag(n)&&t(n)};case vL.SelectorType.Sibling:return function(e){for(var n=a.getSiblings(e),r=0;r<n.length;r++){var i=n[r];if(o(e,i))break;if(a.isTag(i)&&t(i))return!0}return!1};case vL.SelectorType.Adjacent:return a.prevElementSibling?function(e){var n=a.prevElementSibling(e);return null!=n&&t(n)}:function(e){for(var n,r=a.getSiblings(e),i=0;i<r.length;i++){var s=r[i];if(o(e,s))break;a.isTag(s)&&(n=s)}return!!n&&t(n)};case vL.SelectorType.Universal:if(null!=e.namespace&&"*"!==e.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return t}}}));n(LI),LI.compileGeneralSelector;var II=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.compileToken=n.compileUnsafe=n.compile=void 0;var i=r(vI);function a(t,e,n){return u("string"==typeof t?(0,vL.parse)(t):t,e,n)}function o(t){return"pseudo"===t.type&&("scope"===t.name||Array.isArray(t.data)&&t.data.some((function(t){return t.some(o)})))}n.compile=function(t,e,n){var r=a(t,e,n);return(0,BI.ensureIsTag)(r,e.adapter)},n.compileUnsafe=a;var s={type:vL.SelectorType.Descendant},c={type:"_flexibleDescendant"},l={type:vL.SelectorType.Pseudo,name:"scope",data:null};function u(t,e,n){var r;(t=t.filter((function(t){return t.length>0}))).forEach(i.default),n=null!==(r=e.context)&&void 0!==r?r:n;var a=Array.isArray(n),f=n&&(Array.isArray(n)?n:[n]);!function(t,e,n){for(var r=e.adapter,i=!!(null==n?void 0:n.every((function(t){var e=r.isTag(t)&&r.getParent(t);return t===BI.PLACEHOLDER_ELEMENT||e&&r.isTag(e)}))),a=0,c=t;a<c.length;a++){var u=c[a];if(u.length>0&&(0,bI.isTraversal)(u[0])&&"descendant"!==u[0].type);else{if(!i||u.some(o))continue;u.unshift(s)}u.unshift(l)}}(t,e,f);var d=!1,A=t.map((function(t){if(t.length>=2){var n=t[0],r=t[1];"pseudo"!==n.type||"scope"!==n.name||(a&&"descendant"===r.type?t[1]=c:"adjacent"!==r.type&&"sibling"!==r.type||(d=!0))}return function(t,e,n){var r;return t.reduce((function(t,r){return t===mI.falseFunc?mI.falseFunc:(0,LI.compileGeneralSelector)(t,r,e,n,u)}),null!==(r=e.rootFunc)&&void 0!==r?r:mI.trueFunc)}(t,e,f)})).reduce(h,mI.falseFunc);return A.shouldTestNextSiblings=d,A}function h(t,e){return e===mI.falseFunc||t===mI.trueFunc?t:t===mI.falseFunc||e===mI.trueFunc?e:function(n){return t(n)||e(n)}}n.compileToken=u}));n(II),II.compileToken,II.compileUnsafe,II.compile;var MI=gI,OI=r((function(t,n){var r=e&&e.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=e&&e.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=e&&e.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return i(e,t),e};Object.defineProperty(n,"__esModule",{value:!0}),n.aliases=n.pseudos=n.filters=n.is=n.selectOne=n.selectAll=n.prepareContext=n._compileToken=n._compileUnsafe=n.compile=void 0;var o=a(MI),s=function(t,e){return t===e},c={adapter:o,equals:s};function l(t){var e,n,r,i,a=null!=t?t:c;return null!==(e=a.adapter)&&void 0!==e||(a.adapter=o),null!==(n=a.equals)&&void 0!==n||(a.equals=null!==(i=null===(r=a.adapter)||void 0===r?void 0:r.equals)&&void 0!==i?i:s),a}function u(t){return function(e,n,r){var i=l(n);return t(e,i,r)}}function h(t){return function(e,n,r){var i=l(r);"function"!=typeof e&&(e=(0,II.compileUnsafe)(e,i,n));var a=f(n,i.adapter,e.shouldTestNextSiblings);return t(e,a,i)}}function f(t,e,n){return void 0===n&&(n=!1),n&&(t=function(t,e){for(var n=Array.isArray(t)?t.slice(0):[t],r=n.length,i=0;i<r;i++){var a=(0,BI.getNextSiblings)(n[i],e);n.push.apply(n,a)}return n}(t,e)),Array.isArray(t)?e.removeSubsets(t):e.getChildren(t)}n.compile=u(II.compile),n._compileUnsafe=u(II.compileUnsafe),n._compileToken=u(II.compileToken),n.prepareContext=f,n.selectAll=h((function(t,e,n){return t!==mI.falseFunc&&e&&0!==e.length?n.adapter.findAll(t,e):[]})),n.selectOne=h((function(t,e,n){return t!==mI.falseFunc&&e&&0!==e.length?n.adapter.findOne(t,e):null})),n.is=function(t,e,n){var r=l(n);return("function"==typeof e?e:(0,II.compile)(e,r))(t)},n.default=n.selectAll,Object.defineProperty(n,"filters",{enumerable:!0,get:function(){return SI.filters}}),Object.defineProperty(n,"pseudos",{enumerable:!0,get:function(){return SI.pseudos}}),Object.defineProperty(n,"aliases",{enumerable:!0,get:function(){return SI.aliases}})}));n(OI),OI.aliases,OI.pseudos,OI.filters,OI.is,OI.selectOne,OI.selectAll,OI.prepareContext,OI._compileToken,OI._compileUnsafe,OI.compile;var NI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.getLimit=e.isFilter=e.filterNames=void 0,e.filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]),e.isFilter=function t(n){return"pseudo"===n.type&&(!!e.filterNames.has(n.name)||!("not"!==n.name||!Array.isArray(n.data))&&n.data.some((function(e){return e.some(t)})))},e.getLimit=function(t,e){var n=null!=e?parseInt(e,10):NaN;switch(t){case"first":return 1;case"nth":case"eq":return isFinite(n)?n>=0?n+1:1/0:0;case"lt":return isFinite(n)?n>=0?n:1/0:0;case"gt":return isFinite(n)?1/0:0;default:return 1/0}}}));n(NI),NI.getLimit,NI.isFilter,NI.filterNames;var DI=NI,FI=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.groupSelectors=e.getDocumentRoot=void 0,e.getDocumentRoot=function(t){for(;t.parent;)t=t.parent;return t},e.groupSelectors=function(t){for(var e=[],n=[],r=0,i=t;r<i.length;r++){var a=i[r];a.some(DI.isFilter)?e.push(a):n.push(a)}return[n,e]}}));n(FI),FI.groupSelectors,FI.getDocumentRoot;var PI=FI,RI=r((function(t,n){var r=e&&e.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},r.apply(this,arguments)},i=e&&e.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),a=e&&e.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=e&&e.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return a(e,t),e},s=e&&e.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))};Object.defineProperty(n,"__esModule",{value:!0}),n.select=n.filter=n.some=n.is=n.aliases=n.pseudos=n.filters=void 0;var c=o(MI),l=OI;Object.defineProperty(n,"filters",{enumerable:!0,get:function(){return l.filters}}),Object.defineProperty(n,"pseudos",{enumerable:!0,get:function(){return l.pseudos}}),Object.defineProperty(n,"aliases",{enumerable:!0,get:function(){return l.aliases}});var u={type:vL.SelectorType.Pseudo,name:"scope",data:null},h=r({},u),f={type:vL.SelectorType.Universal,namespace:null};function d(t,e,n){if(void 0===n&&(n={}),"function"==typeof e)return t.some(e);var r=(0,PI.groupSelectors)((0,vL.parse)(e)),i=r[0],a=r[1];return i.length>0&&t.some((0,OI._compileToken)(i,n))||a.some((function(e){return p(e,t,n).length>0}))}function A(t,e,n){if(0===e.length)return[];var r,i=(0,PI.groupSelectors)(t),a=i[0],o=i[1];if(a.length){var s=T(e,a,n);if(0===o.length)return s;s.length&&(r=new Set(s))}for(var l=0;l<o.length&&(null==r?void 0:r.size)!==e.length;l++){var u=o[l];if(0===(r?e.filter((function(t){return c.isTag(t)&&!r.has(t)})):e).length)break;if((s=p(u,e,n)).length)if(r)s.forEach((function(t){return r.add(t)}));else{if(l===o.length-1)return s;r=new Set(s)}}return void 0!==r?r.size===e.length?e:e.filter((function(t){return r.has(t)})):[]}function p(t,e,n){var r;return t.some(vL.isTraversal)?v(null!==(r=n.root)&&void 0!==r?r:(0,PI.getDocumentRoot)(e[0]),s(s([],t,!0),[h],!1),n,!0,e):v(e,t,n,!1)}n.is=function(t,e,n){return void 0===n&&(n={}),d([t],e,n)},n.some=d,n.filter=function(t,e,n){return void 0===n&&(n={}),A((0,vL.parse)(t),e,n)},n.select=function(t,e,n){if(void 0===n&&(n={}),"function"==typeof t)return w(e,t);var r=(0,PI.groupSelectors)((0,vL.parse)(t)),i=r[0],a=r[1].map((function(t){return v(e,t,n,!0)}));return i.length&&a.push(y(e,i,n,1/0)),0===a.length?[]:1===a.length?a[0]:c.uniqueSort(a.reduce((function(t,e){return s(s([],t,!0),e,!0)})))};var g=new Set([vL.SelectorType.Descendant,vL.SelectorType.Adjacent]);function m(t){return t!==u&&"pseudo"===t.type&&("scope"===t.name||Array.isArray(t.data)&&t.data.some((function(t){return t.some(m)})))}function b(t,e,n){return n&&t.some(m)?r(r({},e),{context:n}):e}function v(t,e,n,r,i){var a=e.findIndex(DI.isFilter),o=e.slice(0,a),s=e[a],l=(0,DI.getLimit)(s.name,s.data);if(0===l)return[];var h=b(o,n,i),d=(0!==o.length||Array.isArray(t)?0===o.length||1===o.length&&o[0]===u?(Array.isArray(t)?t:[t]).filter(c.isTag):r||o.some(vL.isTraversal)?y(t,[o],h,l):T(t,[o],h):c.getChildren(t).filter(c.isTag)).slice(0,l),p=function(t,e,n,r){var i="string"==typeof n?parseInt(n,10):NaN;switch(t){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(i)&&Math.abs(i)<e.length?[i<0?e[e.length+i]:e[i]]:[];case"gt":return isFinite(i)?e.slice(i+1):[];case"even":return e.filter((function(t,e){return e%2==0}));case"odd":return e.filter((function(t,e){return e%2==1}));case"not":var a=new Set(A(n,e,r));return e.filter((function(t){return!a.has(t)}))}}(s.name,d,s.data,n);if(0===p.length||e.length===a+1)return p;var m=e.slice(a+1),w=m.some(vL.isTraversal),k=b(m,n,i);return w&&(g.has(m[0].type)&&m.unshift(f),m.unshift(u)),m.some(DI.isFilter)?v(p,m,n,!1,i):w?y(p,[m],k,1/0):T(p,[m],k)}function y(t,e,n,r){return 0===r?[]:w(t,(0,OI._compileToken)(e,n,t),r)}function w(t,e,n){void 0===n&&(n=1/0);var r=(0,OI.prepareContext)(t,c,e.shouldTestNextSiblings);return c.find((function(t){return c.isTag(t)&&e(t)}),r,!0,n)}function T(t,e,n){var r=(Array.isArray(t)?t:[t]).filter(c.isTag);if(0===r.length)return r;var i=(0,OI._compileToken)(e,n);return r.filter(i)}}));n(RI),RI.select,RI.filter,RI.some,RI.is,RI.aliases,RI.pseudos,RI.filters;var QI=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var i=r(KL),a=r(HL),o=r(jL),s=r($L);function c(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function l(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"}function u(t,e,n){var r=t.toLowerCase();return t===r?function(t,i){i===r?t._state=e:(t._state=n,t._index--)}:function(i,a){a===r||a===t?i._state=e:(i._state=n,i._index--)}}function h(t,e){var n=t.toLowerCase();return function(r,i){i===n||i===t?r._state=e:(r._state=3,r._index--)}}var f=u("C",24,16),d=u("D",25,16),A=u("A",26,16),p=u("T",27,16),g=u("A",28,16),m=h("R",35),b=h("I",36),v=h("P",37),y=h("T",38),w=u("R",40,1),T=u("I",41,1),k=u("P",42,1),C=u("T",43,1),E=h("Y",45),x=h("L",46),_=h("E",47),B=u("Y",49,1),S=u("L",50,1),L=u("E",51,1),I=h("I",54),M=h("T",55),O=h("L",56),N=h("E",57),D=u("I",58,1),F=u("T",59,1),P=u("L",60,1),R=u("E",61,1),Q=u("#",63,64),U=u("X",66,65),H=function(){function t(t,e){var n;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=e,this.xmlMode=!!(null==t?void 0:t.xmlMode),this.decodeEntities=null===(n=null==t?void 0:t.decodeEntities)||void 0===n||n}return t.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},t.prototype.write=function(t){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=t,this.parse()},t.prototype.end=function(t){this.ended&&this.cbs.onerror(Error(".end() after done!")),t&&this.write(t),this.ended=!0,this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},t.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},t.prototype.stateText=function(t){"<"===t?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==t||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},t.prototype.isTagStartChar=function(t){return l(t)||this.xmlMode&&!c(t)&&"/"!==t&&">"!==t},t.prototype.stateBeforeTagName=function(t){"/"===t?this._state=5:"<"===t?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===t||1!==this.special||c(t)?this._state=1:"!"===t?(this._state=15,this.sectionStart=this._index+1):"?"===t?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(t)?(this._state=this.xmlMode||"s"!==t&&"S"!==t?this.xmlMode||"t"!==t&&"T"!==t?3:52:32,this.sectionStart=this._index):this._state=1},t.prototype.stateInTagName=function(t){("/"===t||">"===t||c(t))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},t.prototype.stateBeforeClosingTagName=function(t){c(t)||(">"===t?this._state=1:1!==this.special?4===this.special||"s"!==t&&"S"!==t?4!==this.special||"t"!==t&&"T"!==t?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(t)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},t.prototype.stateInClosingTagName=function(t){(">"===t||c(t))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},t.prototype.stateAfterClosingTagName=function(t){">"===t&&(this._state=1,this.sectionStart=this._index+1)},t.prototype.stateBeforeAttributeName=function(t){">"===t?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===t?this._state=4:c(t)||(this._state=9,this.sectionStart=this._index)},t.prototype.stateInSelfClosingTag=function(t){">"===t?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):c(t)||(this._state=8,this._index--)},t.prototype.stateInAttributeName=function(t){("="===t||"/"===t||">"===t||c(t))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},t.prototype.stateAfterAttributeName=function(t){"="===t?this._state=11:"/"===t||">"===t?(this.cbs.onattribend(void 0),this._state=8,this._index--):c(t)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},t.prototype.stateBeforeAttributeValue=function(t){'"'===t?(this._state=12,this.sectionStart=this._index+1):"'"===t?(this._state=13,this.sectionStart=this._index+1):c(t)||(this._state=14,this.sectionStart=this._index,this._index--)},t.prototype.handleInAttributeValue=function(t,e){t===e?(this.emitToken("onattribdata"),this.cbs.onattribend(e),this._state=8):this.decodeEntities&&"&"===t&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},t.prototype.stateInAttributeValueDoubleQuotes=function(t){this.handleInAttributeValue(t,'"')},t.prototype.stateInAttributeValueSingleQuotes=function(t){this.handleInAttributeValue(t,"'")},t.prototype.stateInAttributeValueNoQuotes=function(t){c(t)||">"===t?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===t&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},t.prototype.stateBeforeDeclaration=function(t){this._state="["===t?23:"-"===t?18:16},t.prototype.stateInDeclaration=function(t){">"===t&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateInProcessingInstruction=function(t){">"===t&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateBeforeComment=function(t){"-"===t?(this._state=19,this.sectionStart=this._index+1):this._state=16},t.prototype.stateInComment=function(t){"-"===t&&(this._state=21)},t.prototype.stateInSpecialComment=function(t){">"===t&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateAfterComment1=function(t){this._state="-"===t?22:19},t.prototype.stateAfterComment2=function(t){">"===t?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==t&&(this._state=19)},t.prototype.stateBeforeCdata6=function(t){"["===t?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},t.prototype.stateInCdata=function(t){"]"===t&&(this._state=30)},t.prototype.stateAfterCdata1=function(t){this._state="]"===t?31:29},t.prototype.stateAfterCdata2=function(t){">"===t?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==t&&(this._state=29)},t.prototype.stateBeforeSpecialS=function(t){"c"===t||"C"===t?this._state=34:"t"===t||"T"===t?this._state=44:(this._state=3,this._index--)},t.prototype.stateBeforeSpecialSEnd=function(t){2!==this.special||"c"!==t&&"C"!==t?3!==this.special||"t"!==t&&"T"!==t?this._state=1:this._state=48:this._state=39},t.prototype.stateBeforeSpecialLast=function(t,e){("/"===t||">"===t||c(t))&&(this.special=e),this._state=3,this._index--},t.prototype.stateAfterSpecialLast=function(t,e){">"===t||c(t)?(this.special=1,this._state=6,this.sectionStart=this._index-e,this._index--):this._state=1},t.prototype.parseFixedEntity=function(t){if(void 0===t&&(t=this.xmlMode?s.default:a.default),this.sectionStart+1<this._index){var e=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(t,e)&&(this.emitPartial(t[e]),this.sectionStart=this._index+1)}},t.prototype.parseLegacyEntity=function(){for(var t=this.sectionStart+1,e=Math.min(this._index-t,6);e>=2;){var n=this.buffer.substr(t,e);if(Object.prototype.hasOwnProperty.call(o.default,n))return this.emitPartial(o.default[n]),void(this.sectionStart+=e+1);e--}},t.prototype.stateInNamedEntity=function(t){";"===t?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(t<"0"||t>"9")&&!l(t)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==t&&this.parseFixedEntity(o.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},t.prototype.decodeNumericEntity=function(t,e,n){var r=this.sectionStart+t;if(r!==this._index){var a=this.buffer.substring(r,this._index),o=parseInt(a,e);this.emitPartial(i.default(o)),this.sectionStart=n?this._index+1:this._index}this._state=this.baseState},t.prototype.stateInNumericEntity=function(t){";"===t?this.decodeNumericEntity(2,10,!0):(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},t.prototype.stateInHexEntity=function(t){";"===t?this.decodeNumericEntity(3,16,!0):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},t.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},t.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var t=this.buffer.charAt(this._index);1===this._state?this.stateText(t):12===this._state?this.stateInAttributeValueDoubleQuotes(t):9===this._state?this.stateInAttributeName(t):19===this._state?this.stateInComment(t):20===this._state?this.stateInSpecialComment(t):8===this._state?this.stateBeforeAttributeName(t):3===this._state?this.stateInTagName(t):6===this._state?this.stateInClosingTagName(t):2===this._state?this.stateBeforeTagName(t):10===this._state?this.stateAfterAttributeName(t):13===this._state?this.stateInAttributeValueSingleQuotes(t):11===this._state?this.stateBeforeAttributeValue(t):5===this._state?this.stateBeforeClosingTagName(t):7===this._state?this.stateAfterClosingTagName(t):32===this._state?this.stateBeforeSpecialS(t):21===this._state?this.stateAfterComment1(t):14===this._state?this.stateInAttributeValueNoQuotes(t):4===this._state?this.stateInSelfClosingTag(t):16===this._state?this.stateInDeclaration(t):15===this._state?this.stateBeforeDeclaration(t):22===this._state?this.stateAfterComment2(t):18===this._state?this.stateBeforeComment(t):33===this._state?this.stateBeforeSpecialSEnd(t):53===this._state?D(this,t):39===this._state?w(this,t):40===this._state?T(this,t):41===this._state?k(this,t):34===this._state?m(this,t):35===this._state?b(this,t):36===this._state?v(this,t):37===this._state?y(this,t):38===this._state?this.stateBeforeSpecialLast(t,2):42===this._state?C(this,t):43===this._state?this.stateAfterSpecialLast(t,6):44===this._state?E(this,t):29===this._state?this.stateInCdata(t):45===this._state?x(this,t):46===this._state?_(this,t):47===this._state?this.stateBeforeSpecialLast(t,3):48===this._state?B(this,t):49===this._state?S(this,t):50===this._state?L(this,t):51===this._state?this.stateAfterSpecialLast(t,5):52===this._state?I(this,t):54===this._state?M(this,t):55===this._state?O(this,t):56===this._state?N(this,t):57===this._state?this.stateBeforeSpecialLast(t,4):58===this._state?F(this,t):59===this._state?P(this,t):60===this._state?R(this,t):61===this._state?this.stateAfterSpecialLast(t,5):17===this._state?this.stateInProcessingInstruction(t):64===this._state?this.stateInNamedEntity(t):23===this._state?f(this,t):62===this._state?Q(this,t):24===this._state?d(this,t):25===this._state?A(this,t):30===this._state?this.stateAfterCdata1(t):31===this._state?this.stateAfterCdata2(t):26===this._state?p(this,t):27===this._state?g(this,t):28===this._state?this.stateBeforeCdata6(t):66===this._state?this.stateInHexEntity(t):65===this._state?this.stateInNumericEntity(t):63===this._state?U(this,t):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},t.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var t=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(t):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(t):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(t):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},t.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},t.prototype.emitToken=function(t){this.cbs[t](this.getSection()),this.sectionStart=-1},t.prototype.emitPartial=function(t){1!==this.baseState?this.cbs.onattribdata(t):this.cbs.ontext(t)},t}();n.default=H}));n(QI);var UI=QI,HI=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.Parser=void 0;var i=r(UI),a=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),s={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:o,h1:o,h2:o,h3:o,h4:o,h5:o,h6:o,select:a,input:a,output:a,button:a,datalist:a,textarea:a,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:o,article:o,aside:o,blockquote:o,details:o,div:o,dl:o,fieldset:o,figcaption:o,figure:o,footer:o,form:o,header:o,hr:o,main:o,nav:o,ol:o,pre:o,section:o,table:o,ul:o,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},c=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),l=new Set(["math","svg"]),u=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),h=/\s|\//,f=function(){function t(t,e){var n,r,a,o,s;void 0===e&&(e={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=e,this.cbs=null!=t?t:{},this.lowerCaseTagNames=null!==(n=e.lowerCaseTags)&&void 0!==n?n:!e.xmlMode,this.lowerCaseAttributeNames=null!==(r=e.lowerCaseAttributeNames)&&void 0!==r?r:!e.xmlMode,this.tokenizer=new(null!==(a=e.Tokenizer)&&void 0!==a?a:i.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return t.prototype.updatePosition=function(t){null===this.endIndex?this.tokenizer.sectionStart<=t?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},t.prototype.ontext=function(t){var e,n;this.updatePosition(1),this.endIndex--,null===(n=(e=this.cbs).ontext)||void 0===n||n.call(e,t)},t.prototype.onopentagname=function(t){var e,n;if(this.lowerCaseTagNames&&(t=t.toLowerCase()),this.tagname=t,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(s,t))for(var r=void 0;this.stack.length>0&&s[t].has(r=this.stack[this.stack.length-1]);)this.onclosetag(r);!this.options.xmlMode&&c.has(t)||(this.stack.push(t),l.has(t)?this.foreignContext.push(!0):u.has(t)&&this.foreignContext.push(!1)),null===(n=(e=this.cbs).onopentagname)||void 0===n||n.call(e,t),this.cbs.onopentag&&(this.attribs={})},t.prototype.onopentagend=function(){var t,e;this.updatePosition(1),this.attribs&&(null===(e=(t=this.cbs).onopentag)||void 0===e||e.call(t,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&c.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},t.prototype.onclosetag=function(t){if(this.updatePosition(1),this.lowerCaseTagNames&&(t=t.toLowerCase()),(l.has(t)||u.has(t))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&c.has(t))this.options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this.closeCurrentTag());else{var e=this.stack.lastIndexOf(t);if(-1!==e)if(this.cbs.onclosetag)for(e=this.stack.length-e;e--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=e;else"p"!==t||this.options.xmlMode||(this.onopentagname(t),this.closeCurrentTag())}},t.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},t.prototype.closeCurrentTag=function(){var t,e,n=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===n&&(null===(e=(t=this.cbs).onclosetag)||void 0===e||e.call(t,n),this.stack.pop())},t.prototype.onattribname=function(t){this.lowerCaseAttributeNames&&(t=t.toLowerCase()),this.attribname=t},t.prototype.onattribdata=function(t){this.attribvalue+=t},t.prototype.onattribend=function(t){var e,n;null===(n=(e=this.cbs).onattribute)||void 0===n||n.call(e,this.attribname,this.attribvalue,t),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},t.prototype.getInstructionName=function(t){var e=t.search(h),n=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},t.prototype.ondeclaration=function(t){if(this.cbs.onprocessinginstruction){var e=this.getInstructionName(t);this.cbs.onprocessinginstruction("!"+e,"!"+t)}},t.prototype.onprocessinginstruction=function(t){if(this.cbs.onprocessinginstruction){var e=this.getInstructionName(t);this.cbs.onprocessinginstruction("?"+e,"?"+t)}},t.prototype.oncomment=function(t){var e,n,r,i;this.updatePosition(4),null===(n=(e=this.cbs).oncomment)||void 0===n||n.call(e,t),null===(i=(r=this.cbs).oncommentend)||void 0===i||i.call(r)},t.prototype.oncdata=function(t){var e,n,r,i,a,o;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(e=this.cbs).oncdatastart)||void 0===n||n.call(e),null===(i=(r=this.cbs).ontext)||void 0===i||i.call(r,t),null===(o=(a=this.cbs).oncdataend)||void 0===o||o.call(a)):this.oncomment("[CDATA["+t+"]]")},t.prototype.onerror=function(t){var e,n;null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,t)},t.prototype.onend=function(){var t,e;if(this.cbs.onclosetag)for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));null===(e=(t=this.cbs).onend)||void 0===e||e.call(t)},t.prototype.reset=function(){var t,e,n,r;null===(e=(t=this.cbs).onreset)||void 0===e||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},t.prototype.parseComplete=function(t){this.reset(),this.end(t)},t.prototype.write=function(t){this.tokenizer.write(t)},t.prototype.end=function(t){this.tokenizer.end(t)},t.prototype.pause=function(){this.tokenizer.pause()},t.prototype.resume=function(){this.tokenizer.resume()},t.prototype.parseChunk=function(t){this.write(t)},t.prototype.done=function(t){this.end(t)},t}();n.Parser=f}));n(HI),HI.Parser;var jI=HI,$I=r((function(t,n){var r=e&&e.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=e&&e.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),a=e&&e.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=e&&e.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return a(e,t),e},s=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.parseFeed=n.FeedHandler=void 0;var c,l,u=s(tI),h=o(MI);!function(t){t[t.image=0]="image",t[t.audio=1]="audio",t[t.video=2]="video",t[t.document=3]="document",t[t.executable=4]="executable"}(c||(c={})),function(t){t[t.sample=0]="sample",t[t.full=1]="full",t[t.nonstop=2]="nonstop"}(l||(l={}));var f=function(t){function e(e,n){return"object"==typeof e&&(n=e=void 0),t.call(this,e,n)||this}return r(e,t),e.prototype.onend=function(){var t,e,n=p(v,this.dom);if(n){var r={};if("feed"===n.name){var i=n.children;r.type="atom",b(r,"id","id",i),b(r,"title","title",i);var a=m("href",p("link",i));a&&(r.link=a),b(r,"description","subtitle",i),(o=g("updated",i))&&(r.updated=new Date(o)),b(r,"author","email",i,!0),r.items=A("entry",i).map((function(t){var e={},n=t.children;b(e,"id","id",n),b(e,"title","title",n);var r=m("href",p("link",n));r&&(e.link=r);var i=g("summary",n)||g("content",n);i&&(e.description=i);var a=g("updated",n);return a&&(e.pubDate=new Date(a)),e.media=d(n),e}))}else{var o;i=null!==(e=null===(t=p("channel",n.children))||void 0===t?void 0:t.children)&&void 0!==e?e:[];r.type=n.name.substr(0,3),r.id="",b(r,"title","title",i),b(r,"link","link",i),b(r,"description","description",i),(o=g("lastBuildDate",i))&&(r.updated=new Date(o)),b(r,"author","managingEditor",i,!0),r.items=A("item",n.children).map((function(t){var e={},n=t.children;b(e,"id","guid",n),b(e,"title","title",n),b(e,"link","link",n),b(e,"description","description",n);var r=g("pubDate",n);return r&&(e.pubDate=new Date(r)),e.media=d(n),e}))}this.feed=r,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},e}(u.default);function d(t){return A("media:content",t).map((function(t){var e={medium:t.attribs.medium,isDefault:!!t.attribs.isDefault};return t.attribs.url&&(e.url=t.attribs.url),t.attribs.fileSize&&(e.fileSize=parseInt(t.attribs.fileSize,10)),t.attribs.type&&(e.type=t.attribs.type),t.attribs.expression&&(e.expression=t.attribs.expression),t.attribs.bitrate&&(e.bitrate=parseInt(t.attribs.bitrate,10)),t.attribs.framerate&&(e.framerate=parseInt(t.attribs.framerate,10)),t.attribs.samplingrate&&(e.samplingrate=parseInt(t.attribs.samplingrate,10)),t.attribs.channels&&(e.channels=parseInt(t.attribs.channels,10)),t.attribs.duration&&(e.duration=parseInt(t.attribs.duration,10)),t.attribs.height&&(e.height=parseInt(t.attribs.height,10)),t.attribs.width&&(e.width=parseInt(t.attribs.width,10)),t.attribs.lang&&(e.lang=t.attribs.lang),e}))}function A(t,e){return h.getElementsByTagName(t,e,!0)}function p(t,e){return h.getElementsByTagName(t,e,!0,1)[0]}function g(t,e,n){return void 0===n&&(n=!1),h.getText(h.getElementsByTagName(t,e,n,1)).trim()}function m(t,e){return e?e.attribs[t]:null}function b(t,e,n,r,i){void 0===i&&(i=!1);var a=g(n,r,i);a&&(t[e]=a)}function v(t){return"rss"===t||"feed"===t||"rdf:RDF"===t}n.FeedHandler=f,n.parseFeed=function(t,e){void 0===e&&(e={xmlMode:!0});var n=new f(e);return new jI.Parser(n,e).end(t),n.feed}}));n($I),$I.parseFeed,$I.FeedHandler;var KI=$I,GI=r((function(t,n){var r=e&&e.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=e&&e.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=e&&e.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return i(e,t),e},o=e&&e.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)},s=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};function c(t,e){var n=new tI.DomHandler(void 0,e);return new jI.Parser(n,e).end(t),n.root}Object.defineProperty(n,"__esModule",{value:!0}),n.RssHandler=n.DefaultHandler=n.DomUtils=n.ElementType=n.Tokenizer=n.createDomStream=n.parseDOM=n.parseDocument=n.DomHandler=n.Parser=void 0,Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return jI.Parser}}),Object.defineProperty(n,"DomHandler",{enumerable:!0,get:function(){return tI.DomHandler}}),Object.defineProperty(n,"DefaultHandler",{enumerable:!0,get:function(){return tI.DomHandler}}),n.parseDocument=c,n.parseDOM=function(t,e){return c(t,e).children},n.createDomStream=function(t,e,n){var r=new tI.DomHandler(t,e,n);return new jI.Parser(r,e)},Object.defineProperty(n,"Tokenizer",{enumerable:!0,get:function(){return s(UI).default}});var l=a(SL);n.ElementType=l,o(KI,n),n.DomUtils=a(MI);var u=KI;Object.defineProperty(n,"RssHandler",{enumerable:!0,get:function(){return u.FeedHandler}})}));n(GI),GI.RssHandler,GI.DefaultHandler,GI.DomUtils,GI.ElementType,GI.Tokenizer,GI.createDomStream,GI.parseDOM,GI.parseDocument,GI.DomHandler,GI.Parser;var zI=Wi("Array").entries,XI=Array.prototype,qI={DOMTokenList:!0,NodeList:!0},VI=function(t){var e=t.entries;return t===XI||ct(XI,t)&&e===XI.entries||Nt(qI,Xe(t))?zI:e},WI=VI,YI=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],JI="�",ZI={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},tM={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},eM=function(t){return t>=55296&&t<=57343},nM=function(t){return t>=56320&&t<=57343},rM=function(t,e){return 1024*(t-55296)+9216+e},iM=function(t){return 32!==t&&10!==t&&13!==t&&9!==t&&12!==t&&t>=1&&t<=31||t>=127&&t<=159},aM=function(t){return t>=64976&&t<=65007||Tf(YI).call(YI,t)>-1},oM={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"},sM=ZI,cM=function(){function t(){bo(this,t),this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}return hs(t,[{key:"_err",value:function(){}},{key:"_addGap",value:function(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}},{key:"_processSurrogate",value:function(t){if(this.pos!==this.lastCharPos){var e=this.html.charCodeAt(this.pos+1);if(nM(e))return this.pos++,this._addGap(),rM(t,e)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,sM.EOF;return this._err(oM.surrogateInInputStream),t}},{key:"dropParsedChunk",value:function(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}},{key:"write",value:function(t,e){this.html?this.html+=t:this.html=t,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=e}},{key:"insertHtmlAtCurrentPos",value:function(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}},{key:"advance",value:function(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,sM.EOF;var t=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&t===sM.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):t===sM.CARRIAGE_RETURN?(this.skipNextNewLine=!0,sM.LINE_FEED):(this.skipNextNewLine=!1,eM(t)&&(t=this._processSurrogate(t)),t>31&&t<127||t===sM.LINE_FEED||t===sM.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}},{key:"_checkForProblematicCharacters",value:function(t){iM(t)?this._err(oM.controlCharacterInInputStream):aM(t)&&this._err(oM.noncharacterInInputStream)}},{key:"retreat",value:function(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}]),t}(),lM=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]),uM=ZI,hM=tM,fM={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},dM="DATA_STATE",AM="RCDATA_STATE",pM="RAWTEXT_STATE",gM="SCRIPT_DATA_STATE",mM="PLAINTEXT_STATE",bM="TAG_OPEN_STATE",vM="END_TAG_OPEN_STATE",yM="TAG_NAME_STATE",wM="RCDATA_LESS_THAN_SIGN_STATE",TM="RCDATA_END_TAG_OPEN_STATE",kM="RCDATA_END_TAG_NAME_STATE",CM="RAWTEXT_LESS_THAN_SIGN_STATE",EM="RAWTEXT_END_TAG_OPEN_STATE",xM="RAWTEXT_END_TAG_NAME_STATE",_M="SCRIPT_DATA_LESS_THAN_SIGN_STATE",BM="SCRIPT_DATA_END_TAG_OPEN_STATE",SM="SCRIPT_DATA_END_TAG_NAME_STATE",LM="SCRIPT_DATA_ESCAPE_START_STATE",IM="SCRIPT_DATA_ESCAPE_START_DASH_STATE",MM="SCRIPT_DATA_ESCAPED_STATE",OM="SCRIPT_DATA_ESCAPED_DASH_STATE",NM="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",DM="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",FM="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",PM="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",RM="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",QM="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",UM="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",HM="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",jM="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",$M="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",KM="BEFORE_ATTRIBUTE_NAME_STATE",GM="ATTRIBUTE_NAME_STATE",zM="AFTER_ATTRIBUTE_NAME_STATE",XM="BEFORE_ATTRIBUTE_VALUE_STATE",qM="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",VM="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",WM="ATTRIBUTE_VALUE_UNQUOTED_STATE",YM="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",JM="SELF_CLOSING_START_TAG_STATE",ZM="BOGUS_COMMENT_STATE",tO="MARKUP_DECLARATION_OPEN_STATE",eO="COMMENT_START_STATE",nO="COMMENT_START_DASH_STATE",rO="COMMENT_STATE",iO="COMMENT_LESS_THAN_SIGN_STATE",aO="COMMENT_LESS_THAN_SIGN_BANG_STATE",oO="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",sO="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",cO="COMMENT_END_DASH_STATE",lO="COMMENT_END_STATE",uO="COMMENT_END_BANG_STATE",hO="DOCTYPE_STATE",fO="BEFORE_DOCTYPE_NAME_STATE",dO="DOCTYPE_NAME_STATE",AO="AFTER_DOCTYPE_NAME_STATE",pO="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",gO="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",mO="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",bO="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",vO="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",yO="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",wO="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",TO="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",kO="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",CO="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",EO="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",xO="BOGUS_DOCTYPE_STATE",_O="CDATA_SECTION_STATE",BO="CDATA_SECTION_BRACKET_STATE",SO="CDATA_SECTION_END_STATE",LO="CHARACTER_REFERENCE_STATE",IO="NAMED_CHARACTER_REFERENCE_STATE",MO="AMBIGUOS_AMPERSAND_STATE",OO="NUMERIC_CHARACTER_REFERENCE_STATE",NO="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",DO="DECIMAL_CHARACTER_REFERENCE_START_STATE",FO="HEXADEMICAL_CHARACTER_REFERENCE_STATE",PO="DECIMAL_CHARACTER_REFERENCE_STATE",RO="NUMERIC_CHARACTER_REFERENCE_END_STATE";function QO(t){return t===uM.SPACE||t===uM.LINE_FEED||t===uM.TABULATION||t===uM.FORM_FEED}function UO(t){return t>=uM.DIGIT_0&&t<=uM.DIGIT_9}function HO(t){return t>=uM.LATIN_CAPITAL_A&&t<=uM.LATIN_CAPITAL_Z}function jO(t){return t>=uM.LATIN_SMALL_A&&t<=uM.LATIN_SMALL_Z}function $O(t){return jO(t)||HO(t)}function KO(t){return $O(t)||UO(t)}function GO(t){return t>=uM.LATIN_CAPITAL_A&&t<=uM.LATIN_CAPITAL_F}function zO(t){return t>=uM.LATIN_SMALL_A&&t<=uM.LATIN_SMALL_F}function XO(t){return t+32}function qO(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(t>>>10&1023|55296)+String.fromCharCode(56320|1023&t))}function VO(t){return String.fromCharCode(XO(t))}function WO(t,e){for(var n=lM[++t],r=++t,i=r+n-1;r<=i;){var a=r+i>>>1,o=lM[a];if(o<e)r=a+1;else{if(!(o>e))return lM[a+n];i=a-1}}return-1}var YO=function(){function t(){bo(this,t),this.preprocessor=new cM,this.tokenQueue=[],this.allowCDATA=!1,this.state=dM,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}return hs(t,[{key:"_err",value:function(){}},{key:"_errOnNextCodePoint",value:function(t){this._consume(),this._err(t),this._unconsume()}},{key:"getNextToken",value:function(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;var t=this._consume();this._ensureHibernation()||this[this.state](t)}return this.tokenQueue.shift()}},{key:"write",value:function(t,e){this.active=!0,this.preprocessor.write(t,e)}},{key:"insertHtmlAtCurrentPos",value:function(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t)}},{key:"_ensureHibernation",value:function(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:t.HIBERNATION_TOKEN}),!0}return!1}},{key:"_consume",value:function(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}},{key:"_unconsume",value:function(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}},{key:"_reconsumeInState",value:function(t){this.state=t,this._unconsume()}},{key:"_consumeSequenceIfMatch",value:function(t,e,n){for(var r=0,i=!0,a=t.length,o=0,s=e,c=void 0;o<a;o++){if(o>0&&(s=this._consume(),r++),s===uM.EOF){i=!1;break}if(s!==(c=t[o])&&(n||s!==XO(c))){i=!1;break}}if(!i)for(;r--;)this._unconsume();return i}},{key:"_isTempBufferEqualToScriptString",value:function(){if(this.tempBuff.length!==hM.SCRIPT_STRING.length)return!1;for(var t=0;t<this.tempBuff.length;t++)if(this.tempBuff[t]!==hM.SCRIPT_STRING[t])return!1;return!0}},{key:"_createStartTagToken",value:function(){this.currentToken={type:t.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}},{key:"_createEndTagToken",value:function(){this.currentToken={type:t.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}},{key:"_createCommentToken",value:function(){this.currentToken={type:t.COMMENT_TOKEN,data:""}}},{key:"_createDoctypeToken",value:function(e){this.currentToken={type:t.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}},{key:"_createCharacterToken",value:function(t,e){this.currentCharacterToken={type:t,chars:e}}},{key:"_createEOFToken",value:function(){this.currentToken={type:t.EOF_TOKEN}}},{key:"_createAttr",value:function(t){this.currentAttr={name:t,value:""}}},{key:"_leaveAttrName",value:function(e){null===t.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(oM.duplicateAttribute),this.state=e}},{key:"_leaveAttrValue",value:function(t){this.state=t}},{key:"_emitCurrentToken",value:function(){this._emitCurrentCharacterToken();var e=this.currentToken;this.currentToken=null,e.type===t.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===t.END_TAG_TOKEN&&(e.attrs.length>0&&this._err(oM.endTagWithAttributes),e.selfClosing&&this._err(oM.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}},{key:"_emitCurrentCharacterToken",value:function(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}},{key:"_emitEOFToken",value:function(){this._createEOFToken(),this._emitCurrentToken()}},{key:"_appendCharToCurrentCharacterToken",value:function(t,e){this.currentCharacterToken&&this.currentCharacterToken.type!==t&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=e:this._createCharacterToken(t,e)}},{key:"_emitCodePoint",value:function(e){var n=t.CHARACTER_TOKEN;QO(e)?n=t.WHITESPACE_CHARACTER_TOKEN:e===uM.NULL&&(n=t.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,qO(e))}},{key:"_emitSeveralCodePoints",value:function(t){for(var e=0;e<t.length;e++)this._emitCodePoint(t[e])}},{key:"_emitChars",value:function(e){this._appendCharToCurrentCharacterToken(t.CHARACTER_TOKEN,e)}},{key:"_matchNamedCharacterReference",value:function(t){var e=null,n=1,r=WO(0,t);for(this.tempBuff.push(t);r>-1;){var i=lM[r],a=i<7;a&&1&i&&(e=2&i?[lM[++r],lM[++r]]:[lM[++r]],n=0);var o=this._consume();if(this.tempBuff.push(o),n++,o===uM.EOF)break;r=a?4&i?WO(r,o):-1:o===i?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return e}},{key:"_isCharacterReferenceInAttribute",value:function(){return this.returnState===qM||this.returnState===VM||this.returnState===WM}},{key:"_isCharacterReferenceAttributeQuirk",value:function(t){if(!t&&this._isCharacterReferenceInAttribute()){var e=this._consume();return this._unconsume(),e===uM.EQUALS_SIGN||KO(e)}return!1}},{key:"_flushCodePointsConsumedAsCharacterReference",value:function(){if(this._isCharacterReferenceInAttribute())for(var t=0;t<this.tempBuff.length;t++)this.currentAttr.value+=qO(this.tempBuff[t]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}},{key:dM,value:function(t){this.preprocessor.dropParsedChunk(),t===uM.LESS_THAN_SIGN?this.state=bM:t===uM.AMPERSAND?(this.returnState=dM,this.state=LO):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._emitCodePoint(t)):t===uM.EOF?this._emitEOFToken():this._emitCodePoint(t)}},{key:AM,value:function(t){this.preprocessor.dropParsedChunk(),t===uM.AMPERSAND?(this.returnState=AM,this.state=LO):t===uM.LESS_THAN_SIGN?this.state=wM:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._emitChars(JI)):t===uM.EOF?this._emitEOFToken():this._emitCodePoint(t)}},{key:pM,value:function(t){this.preprocessor.dropParsedChunk(),t===uM.LESS_THAN_SIGN?this.state=CM:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._emitChars(JI)):t===uM.EOF?this._emitEOFToken():this._emitCodePoint(t)}},{key:gM,value:function(t){this.preprocessor.dropParsedChunk(),t===uM.LESS_THAN_SIGN?this.state=_M:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._emitChars(JI)):t===uM.EOF?this._emitEOFToken():this._emitCodePoint(t)}},{key:mM,value:function(t){this.preprocessor.dropParsedChunk(),t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._emitChars(JI)):t===uM.EOF?this._emitEOFToken():this._emitCodePoint(t)}},{key:bM,value:function(t){t===uM.EXCLAMATION_MARK?this.state=tO:t===uM.SOLIDUS?this.state=vM:$O(t)?(this._createStartTagToken(),this._reconsumeInState(yM)):t===uM.QUESTION_MARK?(this._err(oM.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(ZM)):t===uM.EOF?(this._err(oM.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(oM.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(dM))}},{key:vM,value:function(t){$O(t)?(this._createEndTagToken(),this._reconsumeInState(yM)):t===uM.GREATER_THAN_SIGN?(this._err(oM.missingEndTagName),this.state=dM):t===uM.EOF?(this._err(oM.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(oM.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(ZM))}},{key:yM,value:function(t){QO(t)?this.state=KM:t===uM.SOLIDUS?this.state=JM:t===uM.GREATER_THAN_SIGN?(this.state=dM,this._emitCurrentToken()):HO(t)?this.currentToken.tagName+=VO(t):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.tagName+=JI):t===uM.EOF?(this._err(oM.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=qO(t)}},{key:wM,value:function(t){t===uM.SOLIDUS?(this.tempBuff=[],this.state=TM):(this._emitChars("<"),this._reconsumeInState(AM))}},{key:TM,value:function(t){$O(t)?(this._createEndTagToken(),this._reconsumeInState(kM)):(this._emitChars("</"),this._reconsumeInState(AM))}},{key:kM,value:function(t){if(HO(t))this.currentToken.tagName+=VO(t),this.tempBuff.push(t);else if(jO(t))this.currentToken.tagName+=qO(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(QO(t))return void(this.state=KM);if(t===uM.SOLIDUS)return void(this.state=JM);if(t===uM.GREATER_THAN_SIGN)return this.state=dM,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(AM)}}},{key:CM,value:function(t){t===uM.SOLIDUS?(this.tempBuff=[],this.state=EM):(this._emitChars("<"),this._reconsumeInState(pM))}},{key:EM,value:function(t){$O(t)?(this._createEndTagToken(),this._reconsumeInState(xM)):(this._emitChars("</"),this._reconsumeInState(pM))}},{key:xM,value:function(t){if(HO(t))this.currentToken.tagName+=VO(t),this.tempBuff.push(t);else if(jO(t))this.currentToken.tagName+=qO(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(QO(t))return void(this.state=KM);if(t===uM.SOLIDUS)return void(this.state=JM);if(t===uM.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=dM)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(pM)}}},{key:_M,value:function(t){t===uM.SOLIDUS?(this.tempBuff=[],this.state=BM):t===uM.EXCLAMATION_MARK?(this.state=LM,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(gM))}},{key:BM,value:function(t){$O(t)?(this._createEndTagToken(),this._reconsumeInState(SM)):(this._emitChars("</"),this._reconsumeInState(gM))}},{key:SM,value:function(t){if(HO(t))this.currentToken.tagName+=VO(t),this.tempBuff.push(t);else if(jO(t))this.currentToken.tagName+=qO(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(QO(t))return void(this.state=KM);if(t===uM.SOLIDUS)return void(this.state=JM);if(t===uM.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=dM)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(gM)}}},{key:LM,value:function(t){t===uM.HYPHEN_MINUS?(this.state=IM,this._emitChars("-")):this._reconsumeInState(gM)}},{key:IM,value:function(t){t===uM.HYPHEN_MINUS?(this.state=NM,this._emitChars("-")):this._reconsumeInState(gM)}},{key:MM,value:function(t){t===uM.HYPHEN_MINUS?(this.state=OM,this._emitChars("-")):t===uM.LESS_THAN_SIGN?this.state=DM:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._emitChars(JI)):t===uM.EOF?(this._err(oM.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}},{key:OM,value:function(t){t===uM.HYPHEN_MINUS?(this.state=NM,this._emitChars("-")):t===uM.LESS_THAN_SIGN?this.state=DM:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.state=MM,this._emitChars(JI)):t===uM.EOF?(this._err(oM.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=MM,this._emitCodePoint(t))}},{key:NM,value:function(t){t===uM.HYPHEN_MINUS?this._emitChars("-"):t===uM.LESS_THAN_SIGN?this.state=DM:t===uM.GREATER_THAN_SIGN?(this.state=gM,this._emitChars(">")):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.state=MM,this._emitChars(JI)):t===uM.EOF?(this._err(oM.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=MM,this._emitCodePoint(t))}},{key:DM,value:function(t){t===uM.SOLIDUS?(this.tempBuff=[],this.state=FM):$O(t)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(RM)):(this._emitChars("<"),this._reconsumeInState(MM))}},{key:FM,value:function(t){$O(t)?(this._createEndTagToken(),this._reconsumeInState(PM)):(this._emitChars("</"),this._reconsumeInState(MM))}},{key:PM,value:function(t){if(HO(t))this.currentToken.tagName+=VO(t),this.tempBuff.push(t);else if(jO(t))this.currentToken.tagName+=qO(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(QO(t))return void(this.state=KM);if(t===uM.SOLIDUS)return void(this.state=JM);if(t===uM.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=dM)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(MM)}}},{key:RM,value:function(t){QO(t)||t===uM.SOLIDUS||t===uM.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?QM:MM,this._emitCodePoint(t)):HO(t)?(this.tempBuff.push(XO(t)),this._emitCodePoint(t)):jO(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(MM)}},{key:QM,value:function(t){t===uM.HYPHEN_MINUS?(this.state=UM,this._emitChars("-")):t===uM.LESS_THAN_SIGN?(this.state=jM,this._emitChars("<")):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._emitChars(JI)):t===uM.EOF?(this._err(oM.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}},{key:UM,value:function(t){t===uM.HYPHEN_MINUS?(this.state=HM,this._emitChars("-")):t===uM.LESS_THAN_SIGN?(this.state=jM,this._emitChars("<")):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.state=QM,this._emitChars(JI)):t===uM.EOF?(this._err(oM.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=QM,this._emitCodePoint(t))}},{key:HM,value:function(t){t===uM.HYPHEN_MINUS?this._emitChars("-"):t===uM.LESS_THAN_SIGN?(this.state=jM,this._emitChars("<")):t===uM.GREATER_THAN_SIGN?(this.state=gM,this._emitChars(">")):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.state=QM,this._emitChars(JI)):t===uM.EOF?(this._err(oM.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=QM,this._emitCodePoint(t))}},{key:jM,value:function(t){t===uM.SOLIDUS?(this.tempBuff=[],this.state=$M,this._emitChars("/")):this._reconsumeInState(QM)}},{key:$M,value:function(t){QO(t)||t===uM.SOLIDUS||t===uM.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?MM:QM,this._emitCodePoint(t)):HO(t)?(this.tempBuff.push(XO(t)),this._emitCodePoint(t)):jO(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(QM)}},{key:KM,value:function(t){QO(t)||(t===uM.SOLIDUS||t===uM.GREATER_THAN_SIGN||t===uM.EOF?this._reconsumeInState(zM):t===uM.EQUALS_SIGN?(this._err(oM.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=GM):(this._createAttr(""),this._reconsumeInState(GM)))}},{key:GM,value:function(t){QO(t)||t===uM.SOLIDUS||t===uM.GREATER_THAN_SIGN||t===uM.EOF?(this._leaveAttrName(zM),this._unconsume()):t===uM.EQUALS_SIGN?this._leaveAttrName(XM):HO(t)?this.currentAttr.name+=VO(t):t===uM.QUOTATION_MARK||t===uM.APOSTROPHE||t===uM.LESS_THAN_SIGN?(this._err(oM.unexpectedCharacterInAttributeName),this.currentAttr.name+=qO(t)):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentAttr.name+=JI):this.currentAttr.name+=qO(t)}},{key:zM,value:function(t){QO(t)||(t===uM.SOLIDUS?this.state=JM:t===uM.EQUALS_SIGN?this.state=XM:t===uM.GREATER_THAN_SIGN?(this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(GM)))}},{key:XM,value:function(t){QO(t)||(t===uM.QUOTATION_MARK?this.state=qM:t===uM.APOSTROPHE?this.state=VM:t===uM.GREATER_THAN_SIGN?(this._err(oM.missingAttributeValue),this.state=dM,this._emitCurrentToken()):this._reconsumeInState(WM))}},{key:qM,value:function(t){t===uM.QUOTATION_MARK?this.state=YM:t===uM.AMPERSAND?(this.returnState=qM,this.state=LO):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentAttr.value+=JI):t===uM.EOF?(this._err(oM.eofInTag),this._emitEOFToken()):this.currentAttr.value+=qO(t)}},{key:VM,value:function(t){t===uM.APOSTROPHE?this.state=YM:t===uM.AMPERSAND?(this.returnState=VM,this.state=LO):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentAttr.value+=JI):t===uM.EOF?(this._err(oM.eofInTag),this._emitEOFToken()):this.currentAttr.value+=qO(t)}},{key:WM,value:function(t){QO(t)?this._leaveAttrValue(KM):t===uM.AMPERSAND?(this.returnState=WM,this.state=LO):t===uM.GREATER_THAN_SIGN?(this._leaveAttrValue(dM),this._emitCurrentToken()):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentAttr.value+=JI):t===uM.QUOTATION_MARK||t===uM.APOSTROPHE||t===uM.LESS_THAN_SIGN||t===uM.EQUALS_SIGN||t===uM.GRAVE_ACCENT?(this._err(oM.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=qO(t)):t===uM.EOF?(this._err(oM.eofInTag),this._emitEOFToken()):this.currentAttr.value+=qO(t)}},{key:YM,value:function(t){QO(t)?this._leaveAttrValue(KM):t===uM.SOLIDUS?this._leaveAttrValue(JM):t===uM.GREATER_THAN_SIGN?(this._leaveAttrValue(dM),this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInTag),this._emitEOFToken()):(this._err(oM.missingWhitespaceBetweenAttributes),this._reconsumeInState(KM))}},{key:JM,value:function(t){t===uM.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInTag),this._emitEOFToken()):(this._err(oM.unexpectedSolidusInTag),this._reconsumeInState(KM))}},{key:ZM,value:function(t){t===uM.GREATER_THAN_SIGN?(this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._emitCurrentToken(),this._emitEOFToken()):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.data+=JI):this.currentToken.data+=qO(t)}},{key:tO,value:function(t){this._consumeSequenceIfMatch(hM.DASH_DASH_STRING,t,!0)?(this._createCommentToken(),this.state=eO):this._consumeSequenceIfMatch(hM.DOCTYPE_STRING,t,!1)?this.state=hO:this._consumeSequenceIfMatch(hM.CDATA_START_STRING,t,!0)?this.allowCDATA?this.state=_O:(this._err(oM.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=ZM):this._ensureHibernation()||(this._err(oM.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(ZM))}},{key:eO,value:function(t){t===uM.HYPHEN_MINUS?this.state=nO:t===uM.GREATER_THAN_SIGN?(this._err(oM.abruptClosingOfEmptyComment),this.state=dM,this._emitCurrentToken()):this._reconsumeInState(rO)}},{key:nO,value:function(t){t===uM.HYPHEN_MINUS?this.state=lO:t===uM.GREATER_THAN_SIGN?(this._err(oM.abruptClosingOfEmptyComment),this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(rO))}},{key:rO,value:function(t){t===uM.HYPHEN_MINUS?this.state=cO:t===uM.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=iO):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.data+=JI):t===uM.EOF?(this._err(oM.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=qO(t)}},{key:iO,value:function(t){t===uM.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=aO):t===uM.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(rO)}},{key:aO,value:function(t){t===uM.HYPHEN_MINUS?this.state=oO:this._reconsumeInState(rO)}},{key:oO,value:function(t){t===uM.HYPHEN_MINUS?this.state=sO:this._reconsumeInState(cO)}},{key:sO,value:function(t){t!==uM.GREATER_THAN_SIGN&&t!==uM.EOF&&this._err(oM.nestedComment),this._reconsumeInState(lO)}},{key:cO,value:function(t){t===uM.HYPHEN_MINUS?this.state=lO:t===uM.EOF?(this._err(oM.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(rO))}},{key:lO,value:function(t){t===uM.GREATER_THAN_SIGN?(this.state=dM,this._emitCurrentToken()):t===uM.EXCLAMATION_MARK?this.state=uO:t===uM.HYPHEN_MINUS?this.currentToken.data+="-":t===uM.EOF?(this._err(oM.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(rO))}},{key:uO,value:function(t){t===uM.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=cO):t===uM.GREATER_THAN_SIGN?(this._err(oM.incorrectlyClosedComment),this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(rO))}},{key:hO,value:function(t){QO(t)?this.state=fO:t===uM.GREATER_THAN_SIGN?this._reconsumeInState(fO):t===uM.EOF?(this._err(oM.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(fO))}},{key:fO,value:function(t){QO(t)||(HO(t)?(this._createDoctypeToken(VO(t)),this.state=dO):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this._createDoctypeToken(JI),this.state=dO):t===uM.GREATER_THAN_SIGN?(this._err(oM.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=dM):t===uM.EOF?(this._err(oM.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(qO(t)),this.state=dO))}},{key:dO,value:function(t){QO(t)?this.state=AO:t===uM.GREATER_THAN_SIGN?(this.state=dM,this._emitCurrentToken()):HO(t)?this.currentToken.name+=VO(t):t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.name+=JI):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=qO(t)}},{key:AO,value:function(t){QO(t)||(t===uM.GREATER_THAN_SIGN?(this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(hM.PUBLIC_STRING,t,!1)?this.state=pO:this._consumeSequenceIfMatch(hM.SYSTEM_STRING,t,!1)?this.state=wO:this._ensureHibernation()||(this._err(oM.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(xO)))}},{key:pO,value:function(t){QO(t)?this.state=gO:t===uM.QUOTATION_MARK?(this._err(oM.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=mO):t===uM.APOSTROPHE?(this._err(oM.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=bO):t===uM.GREATER_THAN_SIGN?(this._err(oM.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xO))}},{key:gO,value:function(t){QO(t)||(t===uM.QUOTATION_MARK?(this.currentToken.publicId="",this.state=mO):t===uM.APOSTROPHE?(this.currentToken.publicId="",this.state=bO):t===uM.GREATER_THAN_SIGN?(this._err(oM.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xO)))}},{key:mO,value:function(t){t===uM.QUOTATION_MARK?this.state=vO:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.publicId+=JI):t===uM.GREATER_THAN_SIGN?(this._err(oM.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=dM):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=qO(t)}},{key:bO,value:function(t){t===uM.APOSTROPHE?this.state=vO:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.publicId+=JI):t===uM.GREATER_THAN_SIGN?(this._err(oM.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=dM):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=qO(t)}},{key:vO,value:function(t){QO(t)?this.state=yO:t===uM.GREATER_THAN_SIGN?(this.state=dM,this._emitCurrentToken()):t===uM.QUOTATION_MARK?(this._err(oM.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=kO):t===uM.APOSTROPHE?(this._err(oM.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=CO):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xO))}},{key:yO,value:function(t){QO(t)||(t===uM.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=dM):t===uM.QUOTATION_MARK?(this.currentToken.systemId="",this.state=kO):t===uM.APOSTROPHE?(this.currentToken.systemId="",this.state=CO):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xO)))}},{key:wO,value:function(t){QO(t)?this.state=TO:t===uM.QUOTATION_MARK?(this._err(oM.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=kO):t===uM.APOSTROPHE?(this._err(oM.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=CO):t===uM.GREATER_THAN_SIGN?(this._err(oM.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xO))}},{key:TO,value:function(t){QO(t)||(t===uM.QUOTATION_MARK?(this.currentToken.systemId="",this.state=kO):t===uM.APOSTROPHE?(this.currentToken.systemId="",this.state=CO):t===uM.GREATER_THAN_SIGN?(this._err(oM.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=dM,this._emitCurrentToken()):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xO)))}},{key:kO,value:function(t){t===uM.QUOTATION_MARK?this.state=EO:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.systemId+=JI):t===uM.GREATER_THAN_SIGN?(this._err(oM.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=dM):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=qO(t)}},{key:CO,value:function(t){t===uM.APOSTROPHE?this.state=EO:t===uM.NULL?(this._err(oM.unexpectedNullCharacter),this.currentToken.systemId+=JI):t===uM.GREATER_THAN_SIGN?(this._err(oM.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=dM):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=qO(t)}},{key:EO,value:function(t){QO(t)||(t===uM.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=dM):t===uM.EOF?(this._err(oM.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(oM.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(xO)))}},{key:xO,value:function(t){t===uM.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=dM):t===uM.NULL?this._err(oM.unexpectedNullCharacter):t===uM.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}},{key:_O,value:function(t){t===uM.RIGHT_SQUARE_BRACKET?this.state=BO:t===uM.EOF?(this._err(oM.eofInCdata),this._emitEOFToken()):this._emitCodePoint(t)}},{key:BO,value:function(t){t===uM.RIGHT_SQUARE_BRACKET?this.state=SO:(this._emitChars("]"),this._reconsumeInState(_O))}},{key:SO,value:function(t){t===uM.GREATER_THAN_SIGN?this.state=dM:t===uM.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(_O))}},{key:LO,value:function(t){this.tempBuff=[uM.AMPERSAND],t===uM.NUMBER_SIGN?(this.tempBuff.push(t),this.state=OO):KO(t)?this._reconsumeInState(IO):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:IO,value:function(t){var e=this._matchNamedCharacterReference(t);if(this._ensureHibernation())this.tempBuff=[uM.AMPERSAND];else if(e){var n=this.tempBuff[this.tempBuff.length-1]===uM.SEMICOLON;this._isCharacterReferenceAttributeQuirk(n)||(n||this._errOnNextCodePoint(oM.missingSemicolonAfterCharacterReference),this.tempBuff=e),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=MO}},{key:MO,value:function(t){KO(t)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=qO(t):this._emitCodePoint(t):(t===uM.SEMICOLON&&this._err(oM.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}},{key:OO,value:function(t){this.charRefCode=0,t===uM.LATIN_SMALL_X||t===uM.LATIN_CAPITAL_X?(this.tempBuff.push(t),this.state=NO):this._reconsumeInState(DO)}},{key:NO,value:function(t){!function(t){return UO(t)||GO(t)||zO(t)}(t)?(this._err(oM.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(FO)}},{key:DO,value:function(t){UO(t)?this._reconsumeInState(PO):(this._err(oM.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:FO,value:function(t){GO(t)?this.charRefCode=16*this.charRefCode+t-55:zO(t)?this.charRefCode=16*this.charRefCode+t-87:UO(t)?this.charRefCode=16*this.charRefCode+t-48:t===uM.SEMICOLON?this.state=RO:(this._err(oM.missingSemicolonAfterCharacterReference),this._reconsumeInState(RO))}},{key:PO,value:function(t){UO(t)?this.charRefCode=10*this.charRefCode+t-48:t===uM.SEMICOLON?this.state=RO:(this._err(oM.missingSemicolonAfterCharacterReference),this._reconsumeInState(RO))}},{key:RO,value:function(){if(this.charRefCode===uM.NULL)this._err(oM.nullCharacterReference),this.charRefCode=uM.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(oM.characterReferenceOutsideUnicodeRange),this.charRefCode=uM.REPLACEMENT_CHARACTER;else if(eM(this.charRefCode))this._err(oM.surrogateCharacterReference),this.charRefCode=uM.REPLACEMENT_CHARACTER;else if(aM(this.charRefCode))this._err(oM.noncharacterCharacterReference);else if(iM(this.charRefCode)||this.charRefCode===uM.CARRIAGE_RETURN){this._err(oM.controlCharacterReference);var t=fM[this.charRefCode];t&&(this.charRefCode=t)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}]),t}();YO.CHARACTER_TOKEN="CHARACTER_TOKEN",YO.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",YO.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",YO.START_TAG_TOKEN="START_TAG_TOKEN",YO.END_TAG_TOKEN="END_TAG_TOKEN",YO.COMMENT_TOKEN="COMMENT_TOKEN",YO.DOCTYPE_TOKEN="DOCTYPE_TOKEN",YO.EOF_TOKEN="EOF_TOKEN",YO.HIBERNATION_TOKEN="HIBERNATION_TOKEN",YO.MODE={DATA:dM,RCDATA:AM,RAWTEXT:pM,SCRIPT_DATA:gM,PLAINTEXT:mM},YO.getTokenAttr=function(t,e){for(var n=t.attrs.length-1;n>=0;n--)if(t.attrs[n].name===e)return t.attrs[n].value;return null};var JO=YO,ZO=r((function(t,e){var n,r,i,a,o=e.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};e.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},e.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var s=e.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};e.SPECIAL_ELEMENTS=(Ms(a={},o.HTML,(Ms(n={},s.ADDRESS,!0),Ms(n,s.APPLET,!0),Ms(n,s.AREA,!0),Ms(n,s.ARTICLE,!0),Ms(n,s.ASIDE,!0),Ms(n,s.BASE,!0),Ms(n,s.BASEFONT,!0),Ms(n,s.BGSOUND,!0),Ms(n,s.BLOCKQUOTE,!0),Ms(n,s.BODY,!0),Ms(n,s.BR,!0),Ms(n,s.BUTTON,!0),Ms(n,s.CAPTION,!0),Ms(n,s.CENTER,!0),Ms(n,s.COL,!0),Ms(n,s.COLGROUP,!0),Ms(n,s.DD,!0),Ms(n,s.DETAILS,!0),Ms(n,s.DIR,!0),Ms(n,s.DIV,!0),Ms(n,s.DL,!0),Ms(n,s.DT,!0),Ms(n,s.EMBED,!0),Ms(n,s.FIELDSET,!0),Ms(n,s.FIGCAPTION,!0),Ms(n,s.FIGURE,!0),Ms(n,s.FOOTER,!0),Ms(n,s.FORM,!0),Ms(n,s.FRAME,!0),Ms(n,s.FRAMESET,!0),Ms(n,s.H1,!0),Ms(n,s.H2,!0),Ms(n,s.H3,!0),Ms(n,s.H4,!0),Ms(n,s.H5,!0),Ms(n,s.H6,!0),Ms(n,s.HEAD,!0),Ms(n,s.HEADER,!0),Ms(n,s.HGROUP,!0),Ms(n,s.HR,!0),Ms(n,s.HTML,!0),Ms(n,s.IFRAME,!0),Ms(n,s.IMG,!0),Ms(n,s.INPUT,!0),Ms(n,s.LI,!0),Ms(n,s.LINK,!0),Ms(n,s.LISTING,!0),Ms(n,s.MAIN,!0),Ms(n,s.MARQUEE,!0),Ms(n,s.MENU,!0),Ms(n,s.META,!0),Ms(n,s.NAV,!0),Ms(n,s.NOEMBED,!0),Ms(n,s.NOFRAMES,!0),Ms(n,s.NOSCRIPT,!0),Ms(n,s.OBJECT,!0),Ms(n,s.OL,!0),Ms(n,s.P,!0),Ms(n,s.PARAM,!0),Ms(n,s.PLAINTEXT,!0),Ms(n,s.PRE,!0),Ms(n,s.SCRIPT,!0),Ms(n,s.SECTION,!0),Ms(n,s.SELECT,!0),Ms(n,s.SOURCE,!0),Ms(n,s.STYLE,!0),Ms(n,s.SUMMARY,!0),Ms(n,s.TABLE,!0),Ms(n,s.TBODY,!0),Ms(n,s.TD,!0),Ms(n,s.TEMPLATE,!0),Ms(n,s.TEXTAREA,!0),Ms(n,s.TFOOT,!0),Ms(n,s.TH,!0),Ms(n,s.THEAD,!0),Ms(n,s.TITLE,!0),Ms(n,s.TR,!0),Ms(n,s.TRACK,!0),Ms(n,s.UL,!0),Ms(n,s.WBR,!0),Ms(n,s.XMP,!0),n)),Ms(a,o.MATHML,(Ms(r={},s.MI,!0),Ms(r,s.MO,!0),Ms(r,s.MN,!0),Ms(r,s.MS,!0),Ms(r,s.MTEXT,!0),Ms(r,s.ANNOTATION_XML,!0),r)),Ms(a,o.SVG,(Ms(i={},s.TITLE,!0),Ms(i,s.FOREIGN_OBJECT,!0),Ms(i,s.DESC,!0),i)),a)}));ZO.NAMESPACES,ZO.ATTRS,ZO.DOCUMENT_MODE,ZO.TAG_NAMES,ZO.SPECIAL_ELEMENTS;var tN=ZO.TAG_NAMES,eN=ZO.NAMESPACES;function nN(t){switch(t.length){case 1:return t===tN.P;case 2:return t===tN.RB||t===tN.RP||t===tN.RT||t===tN.DD||t===tN.DT||t===tN.LI;case 3:return t===tN.RTC;case 6:return t===tN.OPTION;case 8:return t===tN.OPTGROUP}return!1}function rN(t){switch(t.length){case 1:return t===tN.P;case 2:return t===tN.RB||t===tN.RP||t===tN.RT||t===tN.DD||t===tN.DT||t===tN.LI||t===tN.TD||t===tN.TH||t===tN.TR;case 3:return t===tN.RTC;case 5:return t===tN.TBODY||t===tN.TFOOT||t===tN.THEAD;case 6:return t===tN.OPTION;case 7:return t===tN.CAPTION;case 8:return t===tN.OPTGROUP||t===tN.COLGROUP}return!1}function iN(t,e){switch(t.length){case 2:if(t===tN.TD||t===tN.TH)return e===eN.HTML;if(t===tN.MI||t===tN.MO||t===tN.MN||t===tN.MS)return e===eN.MATHML;break;case 4:if(t===tN.HTML)return e===eN.HTML;if(t===tN.DESC)return e===eN.SVG;break;case 5:if(t===tN.TABLE)return e===eN.HTML;if(t===tN.MTEXT)return e===eN.MATHML;if(t===tN.TITLE)return e===eN.SVG;break;case 6:return(t===tN.APPLET||t===tN.OBJECT)&&e===eN.HTML;case 7:return(t===tN.CAPTION||t===tN.MARQUEE)&&e===eN.HTML;case 8:return t===tN.TEMPLATE&&e===eN.HTML;case 13:return t===tN.FOREIGN_OBJECT&&e===eN.SVG;case 14:return t===tN.ANNOTATION_XML&&e===eN.MATHML}return!1}var aN=function(){function t(e,n){bo(this,t),this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}return hs(t,[{key:"_indexOf",value:function(t){for(var e=-1,n=this.stackTop;n>=0;n--)if(this.items[n]===t){e=n;break}return e}},{key:"_isInTemplate",value:function(){return this.currentTagName===tN.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===eN.HTML}},{key:"_updateCurrentElement",value:function(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}},{key:"push",value:function(t){this.items[++this.stackTop]=t,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}},{key:"pop",value:function(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}},{key:"replace",value:function(t,e){var n=this._indexOf(t);this.items[n]=e,n===this.stackTop&&this._updateCurrentElement()}},{key:"insertAfter",value:function(t,e){var n,r=this._indexOf(t)+1;Gd(n=this.items).call(n,r,0,e),r===++this.stackTop&&this._updateCurrentElement()}},{key:"popUntilTagNamePopped",value:function(t){for(;this.stackTop>-1;){var e=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===t&&n===eN.HTML)break}}},{key:"popUntilElementPopped",value:function(t){for(;this.stackTop>-1;){var e=this.current;if(this.pop(),e===t)break}}},{key:"popUntilNumberedHeaderPopped",value:function(){for(;this.stackTop>-1;){var t=this.currentTagName,e=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===tN.H1||t===tN.H2||t===tN.H3||t===tN.H4||t===tN.H5||t===tN.H6&&e===eN.HTML)break}}},{key:"popUntilTableCellPopped",value:function(){for(;this.stackTop>-1;){var t=this.currentTagName,e=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===tN.TD||t===tN.TH&&e===eN.HTML)break}}},{key:"popAllUpToHtmlElement",value:function(){this.stackTop=0,this._updateCurrentElement()}},{key:"clearBackToTableContext",value:function(){for(;this.currentTagName!==tN.TABLE&&this.currentTagName!==tN.TEMPLATE&&this.currentTagName!==tN.HTML||this.treeAdapter.getNamespaceURI(this.current)!==eN.HTML;)this.pop()}},{key:"clearBackToTableBodyContext",value:function(){for(;this.currentTagName!==tN.TBODY&&this.currentTagName!==tN.TFOOT&&this.currentTagName!==tN.THEAD&&this.currentTagName!==tN.TEMPLATE&&this.currentTagName!==tN.HTML||this.treeAdapter.getNamespaceURI(this.current)!==eN.HTML;)this.pop()}},{key:"clearBackToTableRowContext",value:function(){for(;this.currentTagName!==tN.TR&&this.currentTagName!==tN.TEMPLATE&&this.currentTagName!==tN.HTML||this.treeAdapter.getNamespaceURI(this.current)!==eN.HTML;)this.pop()}},{key:"remove",value:function(t){for(var e=this.stackTop;e>=0;e--)if(this.items[e]===t){var n;Gd(n=this.items).call(n,e,1),this.stackTop--,this._updateCurrentElement();break}}},{key:"tryPeekProperlyNestedBodyElement",value:function(){var t=this.items[1];return t&&this.treeAdapter.getTagName(t)===tN.BODY?t:null}},{key:"contains",value:function(t){return this._indexOf(t)>-1}},{key:"getCommonAncestor",value:function(t){var e=this._indexOf(t);return--e>=0?this.items[e]:null}},{key:"isRootHtmlElementCurrent",value:function(){return 0===this.stackTop&&this.currentTagName===tN.HTML}},{key:"hasInScope",value:function(t){for(var e=this.stackTop;e>=0;e--){var n=this.treeAdapter.getTagName(this.items[e]),r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===eN.HTML)return!0;if(iN(n,r))return!1}return!0}},{key:"hasNumberedHeaderInScope",value:function(){for(var t=this.stackTop;t>=0;t--){var e=this.treeAdapter.getTagName(this.items[t]),n=this.treeAdapter.getNamespaceURI(this.items[t]);if((e===tN.H1||e===tN.H2||e===tN.H3||e===tN.H4||e===tN.H5||e===tN.H6)&&n===eN.HTML)return!0;if(iN(e,n))return!1}return!0}},{key:"hasInListItemScope",value:function(t){for(var e=this.stackTop;e>=0;e--){var n=this.treeAdapter.getTagName(this.items[e]),r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===eN.HTML)return!0;if((n===tN.UL||n===tN.OL)&&r===eN.HTML||iN(n,r))return!1}return!0}},{key:"hasInButtonScope",value:function(t){for(var e=this.stackTop;e>=0;e--){var n=this.treeAdapter.getTagName(this.items[e]),r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===eN.HTML)return!0;if(n===tN.BUTTON&&r===eN.HTML||iN(n,r))return!1}return!0}},{key:"hasInTableScope",value:function(t){for(var e=this.stackTop;e>=0;e--){var n=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===eN.HTML){if(n===t)return!0;if(n===tN.TABLE||n===tN.TEMPLATE||n===tN.HTML)return!1}}return!0}},{key:"hasTableBodyContextInTableScope",value:function(){for(var t=this.stackTop;t>=0;t--){var e=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===eN.HTML){if(e===tN.TBODY||e===tN.THEAD||e===tN.TFOOT)return!0;if(e===tN.TABLE||e===tN.HTML)return!1}}return!0}},{key:"hasInSelectScope",value:function(t){for(var e=this.stackTop;e>=0;e--){var n=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===eN.HTML){if(n===t)return!0;if(n!==tN.OPTION&&n!==tN.OPTGROUP)return!1}}return!0}},{key:"generateImpliedEndTags",value:function(){for(;nN(this.currentTagName);)this.pop()}},{key:"generateImpliedEndTagsThoroughly",value:function(){for(;rN(this.currentTagName);)this.pop()}},{key:"generateImpliedEndTagsWithExclusion",value:function(t){for(;nN(this.currentTagName)&&this.currentTagName!==t;)this.pop()}}]),t}(),oN=aN,sN=function(){function t(e){bo(this,t),this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}return hs(t,[{key:"_getNoahArkConditionCandidates",value:function(e){var n=[];if(this.length>=3)for(var r=this.treeAdapter.getAttrList(e).length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e),o=this.length-1;o>=0;o--){var s=WI(this)[o];if(s.type===t.MARKER_ENTRY)break;var c=s.element,l=this.treeAdapter.getAttrList(c);this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a&&l.length===r&&n.push({idx:o,attrs:l})}return n.length<3?[]:n}},{key:"_ensureNoahArkCondition",value:function(t){var e=this._getNoahArkConditionCandidates(t),n=e.length;if(n){for(var r=this.treeAdapter.getAttrList(t),i=r.length,a=kf(null),o=0;o<i;o++){var s=r[o];a[s.name]=s.value}for(var c=0;c<i;c++)for(var l=0;l<n;l++){var u=e[l].attrs[c];if(a[u.name]!==u.value&&(Gd(e).call(e,l,1),n--),e.length<3)return}for(var h=n-1;h>=2;h--){var f;Gd(f=WI(this)).call(f,e[h].idx,1),this.length--}}}},{key:"insertMarker",value:function(){WI(this).push({type:t.MARKER_ENTRY}),this.length++}},{key:"pushElement",value:function(e,n){this._ensureNoahArkCondition(e),WI(this).push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}},{key:"insertElementAfterBookmark",value:function(e,n){for(var r,i=this.length-1;i>=0&&WI(this)[i]!==this.bookmark;i--);Gd(r=WI(this)).call(r,i+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}},{key:"removeEntry",value:function(t){for(var e=this.length-1;e>=0;e--)if(WI(this)[e]===t){var n;Gd(n=WI(this)).call(n,e,1),this.length--;break}}},{key:"clearToLastMarker",value:function(){for(;this.length;){var e=WI(this).pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}},{key:"getElementEntryInScopeWithTagName",value:function(e){for(var n=this.length-1;n>=0;n--){var r=WI(this)[n];if(r.type===t.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}},{key:"getElementEntry",value:function(e){for(var n=this.length-1;n>=0;n--){var r=WI(this)[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}]),t}();sN.MARKER_ENTRY="MARKER_ENTRY",sN.ELEMENT_ENTRY="ELEMENT_ENTRY";var cN=sN,lN=function(){function t(e){bo(this,t);for(var n={},r=this._getOverriddenMethods(this,n),i=0,a=ar(r);i<a.length;i++){var o=a[i];"function"==typeof r[o]&&(n[o]=e[o],e[o]=r[o])}}return hs(t,[{key:"_getOverriddenMethods",value:function(){throw new Error("Not implemented")}}]),t}();lN.install=function(t,e,n){t.__mixins||(t.__mixins=[]);for(var r=0;r<t.__mixins.length;r++)if(t.__mixins[r].constructor===e)return t.__mixins[r];var i=new e(t,n);return t.__mixins.push(i),i};var uN=lN;function hN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var fN=function(t){Es(n,t);var e=hN(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).preprocessor=t,r.isEol=!1,r.lineStartPos=0,r.droppedBufferSize=0,r.offset=0,r.col=0,r.line=1,r}return hs(n,[{key:"_getOverriddenMethods",value:function(t,e){return{advance:function(){var n=this.pos+1,r=this.html[n];return t.isEol&&(t.isEol=!1,t.line++,t.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(t.isEol=!0),t.col=n-t.lineStartPos+1,t.offset=t.droppedBufferSize+n,e.advance.call(this)},retreat:function(){e.retreat.call(this),t.isEol=!1,t.col=this.pos-t.lineStartPos+1},dropParsedChunk:function(){var n=this.pos;e.dropParsedChunk.call(this);var r=n-this.pos;t.lineStartPos-=r,t.droppedBufferSize+=r,t.offset=t.droppedBufferSize+this.pos}}}}]),n}(uN),dN=fN;function AN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var pN=function(t){Es(n,t);var e=AN(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).tokenizer=t,r.posTracker=uN.install(t.preprocessor,dN),r.currentAttrLocation=null,r.ctLoc=null,r}return hs(n,[{key:"_getCurrentLocation",value:function(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}},{key:"_attachCurrentAttrLocationInfo",value:function(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;var t=this.tokenizer.currentToken,e=this.tokenizer.currentAttr;t.location.attrs||(t.location.attrs=kf(null)),t.location.attrs[e.name]=this.currentAttrLocation}},{key:"_getOverriddenMethods",value:function(t,e){var n,r={_createStartTagToken:function(){e._createStartTagToken.call(this),this.currentToken.location=t.ctLoc},_createEndTagToken:function(){e._createEndTagToken.call(this),this.currentToken.location=t.ctLoc},_createCommentToken:function(){e._createCommentToken.call(this),this.currentToken.location=t.ctLoc},_createDoctypeToken:function(n){e._createDoctypeToken.call(this,n),this.currentToken.location=t.ctLoc},_createCharacterToken:function(n,r){e._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=t.ctLoc},_createEOFToken:function(){e._createEOFToken.call(this),this.currentToken.location=t._getCurrentLocation()},_createAttr:function(n){e._createAttr.call(this,n),t.currentAttrLocation=t._getCurrentLocation()},_leaveAttrName:function(n){e._leaveAttrName.call(this,n),t._attachCurrentAttrLocationInfo()},_leaveAttrValue:function(n){e._leaveAttrValue.call(this,n),t._attachCurrentAttrLocationInfo()},_emitCurrentToken:function(){var n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===JO.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=t.posTracker.line,n.endCol=t.posTracker.col+1,n.endOffset=t.posTracker.offset+1),e._emitCurrentToken.call(this)},_emitCurrentCharacterToken:function(){var n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=t.posTracker.line,n.endCol=t.posTracker.col,n.endOffset=t.posTracker.offset),e._emitCurrentCharacterToken.call(this)}};return ao(n=ar(JO.MODE)).call(n,(function(n){var i=JO.MODE[n];r[i]=function(n){t.ctLoc=t._getCurrentLocation(),e[i].call(this,n)}})),r}}]),n}(uN),gN=pN;function mN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var bN=function(t){Es(n,t);var e=mN(n);function n(t,r){var i;return bo(this,n),(i=e.call(this,t)).onItemPop=r.onItemPop,i}return hs(n,[{key:"_getOverriddenMethods",value:function(t,e){return{pop:function(){t.onItemPop(this.current),e.pop.call(this)},popAllUpToHtmlElement:function(){for(var n=this.stackTop;n>0;n--)t.onItemPop(this.items[n]);e.popAllUpToHtmlElement.call(this)},remove:function(n){t.onItemPop(this.current),e.remove.call(this,n)}}}}]),n}(uN),vN=bN;function yN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var wN=ZO.TAG_NAMES,TN=function(t){Es(n,t);var e=yN(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).parser=t,r.treeAdapter=r.parser.treeAdapter,r.posTracker=null,r.lastStartTagToken=null,r.lastFosterParentingLocation=null,r.currentToken=null,r}return hs(n,[{key:"_setStartLocation",value:function(t){var e=null;this.lastStartTagToken&&((e=Gu({},this.lastStartTagToken.location)).startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(t,e)}},{key:"_setEndLocation",value:function(t,e){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&e.location){var n=e.location,r=this.treeAdapter.getTagName(t),i={};e.type===JO.END_TAG_TOKEN&&r===e.tagName?(i.endTag=Gu({},n),i.endLine=n.endLine,i.endCol=n.endCol,i.endOffset=n.endOffset):(i.endLine=n.startLine,i.endCol=n.startCol,i.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}},{key:"_getOverriddenMethods",value:function(t,e){return{_bootstrap:function(n,r){e._bootstrap.call(this,n,r),t.lastStartTagToken=null,t.lastFosterParentingLocation=null,t.currentToken=null;var i=uN.install(this.tokenizer,gN);t.posTracker=i.posTracker,uN.install(this.openElements,vN,{onItemPop:function(e){t._setEndLocation(e,t.currentToken)}})},_runParsingLoop:function(n){e._runParsingLoop.call(this,n);for(var r=this.openElements.stackTop;r>=0;r--)t._setEndLocation(this.openElements.items[r],t.currentToken)},_processTokenInForeignContent:function(n){t.currentToken=n,e._processTokenInForeignContent.call(this,n)},_processToken:function(n){if(t.currentToken=n,e._processToken.call(this,n),n.type===JO.END_TAG_TOKEN&&(n.tagName===wN.HTML||n.tagName===wN.BODY&&this.openElements.hasInScope(wN.BODY)))for(var r=this.openElements.stackTop;r>=0;r--){var i=this.openElements.items[r];if(this.treeAdapter.getTagName(i)===n.tagName){t._setEndLocation(i,n);break}}},_setDocumentType:function(t){e._setDocumentType.call(this,t);for(var n=this.treeAdapter.getChildNodes(this.document),r=n.length,i=0;i<r;i++){var a=n[i];if(this.treeAdapter.isDocumentTypeNode(a)){this.treeAdapter.setNodeSourceCodeLocation(a,t.location);break}}},_attachElementToTree:function(n){t._setStartLocation(n),t.lastStartTagToken=null,e._attachElementToTree.call(this,n)},_appendElement:function(n,r){t.lastStartTagToken=n,e._appendElement.call(this,n,r)},_insertElement:function(n,r){t.lastStartTagToken=n,e._insertElement.call(this,n,r)},_insertTemplate:function(n){t.lastStartTagToken=n,e._insertTemplate.call(this,n);var r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement:function(){e._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode:function(t,n){e._appendCommentNode.call(this,t,n);var r=this.treeAdapter.getChildNodes(n),i=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(i,t.location)},_findFosterParentingLocation:function(){return t.lastFosterParentingLocation=e._findFosterParentingLocation.call(this),t.lastFosterParentingLocation},_insertCharacters:function(n){e._insertCharacters.call(this,n);var r=this._shouldFosterParentOnInsertion(),i=r&&t.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,a=this.treeAdapter.getChildNodes(i),o=a[r&&t.lastFosterParentingLocation.beforeElement?Tf(a).call(a,t.lastFosterParentingLocation.beforeElement)-1:a.length-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){var s=n.location,c=s.endLine,l=s.endCol,u=s.endOffset;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:c,endCol:l,endOffset:u})}else this.treeAdapter.setNodeSourceCodeLocation(o,n.location)}}}}]),n}(uN),kN=TN;function CN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var EN=function(t){Es(n,t);var e=CN(n);function n(t,r){var i;return bo(this,n),(i=e.call(this,t)).posTracker=null,i.onParseError=r.onParseError,i}return hs(n,[{key:"_setErrorLocation",value:function(t){t.startLine=t.endLine=this.posTracker.line,t.startCol=t.endCol=this.posTracker.col,t.startOffset=t.endOffset=this.posTracker.offset}},{key:"_reportError",value:function(t){var e={code:t,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(e),this.onParseError(e)}},{key:"_getOverriddenMethods",value:function(t){return{_err:function(e){t._reportError(e)}}}}]),n}(uN);function xN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var _N=function(t){Es(n,t);var e=xN(n);function n(t,r){var i;return bo(this,n),(i=e.call(this,t,r)).posTracker=uN.install(t,dN),i.lastErrOffset=-1,i}return hs(n,[{key:"_reportError",value:function(t){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,om(Is(n.prototype),"_reportError",this).call(this,t))}}]),n}(EN),BN=_N;function SN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var LN=function(t){Es(n,t);var e=SN(n);function n(t,r){var i;bo(this,n),i=e.call(this,t,r);var a=uN.install(t.preprocessor,BN,r);return i.posTracker=a.posTracker,i}return hs(n)}(EN),IN=LN;function MN(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var ON=function(t){Es(n,t);var e=MN(n);function n(t,r){var i;return bo(this,n),(i=e.call(this,t,r)).opts=r,i.ctLoc=null,i.locBeforeToken=!1,i}return hs(n,[{key:"_setErrorLocation",value:function(t){this.ctLoc&&(t.startLine=this.ctLoc.startLine,t.startCol=this.ctLoc.startCol,t.startOffset=this.ctLoc.startOffset,t.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,t.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,t.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}},{key:"_getOverriddenMethods",value:function(t,e){return{_bootstrap:function(n,r){e._bootstrap.call(this,n,r),uN.install(this.tokenizer,IN,t.opts),uN.install(this.tokenizer,gN)},_processInputToken:function(n){t.ctLoc=n.location,e._processInputToken.call(this,n)},_err:function(e,n){t.locBeforeToken=n&&n.beforeToken,t._reportError(e)}}}}]),n}(EN),NN=ON,DN=r((function(t,e){var n=ZO.DOCUMENT_MODE;e.createDocument=function(){return{nodeName:"#document",mode:n.NO_QUIRKS,childNodes:[]}},e.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},e.createElement=function(t,e,n){return{nodeName:t,tagName:t,attrs:n,namespaceURI:e,childNodes:[],parentNode:null}},e.createCommentNode=function(t){return{nodeName:"#comment",data:t,parentNode:null}};var r=function(t){return{nodeName:"#text",value:t,parentNode:null}},i=e.appendChild=function(t,e){t.childNodes.push(e),e.parentNode=t},a=e.insertBefore=function(t,e,n){var r,i,a=Tf(r=t.childNodes).call(r,n);Gd(i=t.childNodes).call(i,a,0,e),e.parentNode=t};e.setTemplateContent=function(t,e){t.content=e},e.getTemplateContent=function(t){return t.content},e.setDocumentType=function(t,e,n,r){for(var a=null,o=0;o<t.childNodes.length;o++)if("#documentType"===t.childNodes[o].nodeName){a=t.childNodes[o];break}a?(a.name=e,a.publicId=n,a.systemId=r):i(t,{nodeName:"#documentType",name:e,publicId:n,systemId:r})},e.setDocumentMode=function(t,e){t.mode=e},e.getDocumentMode=function(t){return t.mode},e.detachNode=function(t){if(t.parentNode){var e,n,r=Tf(e=t.parentNode.childNodes).call(e,t);Gd(n=t.parentNode.childNodes).call(n,r,1),t.parentNode=null}},e.insertText=function(t,e){if(t.childNodes.length){var n=t.childNodes[t.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=e)}i(t,r(e))},e.insertTextBefore=function(t,e,n){var i,o=t.childNodes[Tf(i=t.childNodes).call(i,n)-1];o&&"#text"===o.nodeName?o.value+=e:a(t,r(e),n)},e.adoptAttributes=function(t,e){for(var n=[],r=0;r<t.attrs.length;r++)n.push(t.attrs[r].name);for(var i=0;i<e.length;i++)-1===Tf(n).call(n,e[i].name)&&t.attrs.push(e[i])},e.getFirstChild=function(t){return t.childNodes[0]},e.getChildNodes=function(t){return t.childNodes},e.getParentNode=function(t){return t.parentNode},e.getAttrList=function(t){return t.attrs},e.getTagName=function(t){return t.tagName},e.getNamespaceURI=function(t){return t.namespaceURI},e.getTextNodeContent=function(t){return t.value},e.getCommentNodeContent=function(t){return t.data},e.getDocumentTypeNodeName=function(t){return t.name},e.getDocumentTypeNodePublicId=function(t){return t.publicId},e.getDocumentTypeNodeSystemId=function(t){return t.systemId},e.isTextNode=function(t){return"#text"===t.nodeName},e.isCommentNode=function(t){return"#comment"===t.nodeName},e.isDocumentTypeNode=function(t){return"#documentType"===t.nodeName},e.isElementNode=function(t){return!!t.tagName},e.setNodeSourceCodeLocation=function(t,e){t.sourceCodeLocation=e},e.getNodeSourceCodeLocation=function(t){return t.sourceCodeLocation},e.updateNodeSourceCodeLocation=function(t,e){t.sourceCodeLocation=Gu(t.sourceCodeLocation,e)}}));DN.createDocument,DN.createDocumentFragment,DN.createElement,DN.createCommentNode,DN.appendChild,DN.insertBefore,DN.setTemplateContent,DN.getTemplateContent,DN.setDocumentType,DN.setDocumentMode,DN.getDocumentMode,DN.detachNode,DN.insertText,DN.insertTextBefore,DN.adoptAttributes,DN.getFirstChild,DN.getChildNodes,DN.getParentNode,DN.getAttrList,DN.getTagName,DN.getNamespaceURI,DN.getTextNodeContent,DN.getCommentNodeContent,DN.getDocumentTypeNodeName,DN.getDocumentTypeNodePublicId,DN.getDocumentTypeNodeSystemId,DN.isTextNode,DN.isCommentNode,DN.isDocumentTypeNode,DN.isElementNode,DN.setNodeSourceCodeLocation,DN.getNodeSourceCodeLocation,DN.updateNodeSourceCodeLocation;var FN=function(t,e){var n;return e=e||kf(null),Em(n=[t,e]).call(n,(function(t,e){var n;return ao(n=ar(e)).call(n,(function(n){t[n]=e[n]})),t}),kf(null))},PN=ZO.DOCUMENT_MODE,RN="html",QN=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],UN=Fs(QN).call(QN,["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),HN=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],jN=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],$N=Fs(jN).call(jN,["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function KN(t){var e=-1!==Tf(t).call(t,'"')?"'":'"';return e+t+e}function GN(t,e){for(var n=0;n<e.length;n++)if(0===Tf(t).call(t,e[n]))return!0;return!1}var zN,XN,qN,VN,WN,YN,JN,ZN,tD,eD,nD,rD,iD,aD,oD,sD,cD,lD,uD,hD,fD,dD,AD,pD,gD,mD,bD=function(t){return t.name===RN&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)},vD=function(t){if(t.name!==RN)return PN.QUIRKS;var e=t.systemId;if(e&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===e.toLowerCase())return PN.QUIRKS;var n=t.publicId;if(null!==n){if(n=n.toLowerCase(),Tf(HN).call(HN,n)>-1)return PN.QUIRKS;var r=null===e?UN:QN;if(GN(n,r))return PN.QUIRKS;if(GN(n,r=null===e?jN:$N))return PN.LIMITED_QUIRKS}return PN.NO_QUIRKS},yD=function(t,e,n){var r="!DOCTYPE ";return t&&(r+=t),e?r+=" PUBLIC "+KN(e):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+KN(n)),r},wD=r((function(t,e){var n,r=ZO.TAG_NAMES,i=ZO.NAMESPACES,a=ZO.ATTRS,o="text/html",s="application/xhtml+xml",c={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},l={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:i.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:i.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:i.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:i.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:i.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:i.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:i.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:i.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:i.XML},"xml:space":{prefix:"xml",name:"space",namespace:i.XML},xmlns:{prefix:"",name:"xmlns",namespace:i.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:i.XMLNS}},u=e.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},h=(Ms(n={},r.B,!0),Ms(n,r.BIG,!0),Ms(n,r.BLOCKQUOTE,!0),Ms(n,r.BODY,!0),Ms(n,r.BR,!0),Ms(n,r.CENTER,!0),Ms(n,r.CODE,!0),Ms(n,r.DD,!0),Ms(n,r.DIV,!0),Ms(n,r.DL,!0),Ms(n,r.DT,!0),Ms(n,r.EM,!0),Ms(n,r.EMBED,!0),Ms(n,r.H1,!0),Ms(n,r.H2,!0),Ms(n,r.H3,!0),Ms(n,r.H4,!0),Ms(n,r.H5,!0),Ms(n,r.H6,!0),Ms(n,r.HEAD,!0),Ms(n,r.HR,!0),Ms(n,r.I,!0),Ms(n,r.IMG,!0),Ms(n,r.LI,!0),Ms(n,r.LISTING,!0),Ms(n,r.MENU,!0),Ms(n,r.META,!0),Ms(n,r.NOBR,!0),Ms(n,r.OL,!0),Ms(n,r.P,!0),Ms(n,r.PRE,!0),Ms(n,r.RUBY,!0),Ms(n,r.S,!0),Ms(n,r.SMALL,!0),Ms(n,r.SPAN,!0),Ms(n,r.STRONG,!0),Ms(n,r.STRIKE,!0),Ms(n,r.SUB,!0),Ms(n,r.SUP,!0),Ms(n,r.TABLE,!0),Ms(n,r.TT,!0),Ms(n,r.U,!0),Ms(n,r.UL,!0),Ms(n,r.VAR,!0),n);e.causesExit=function(t){var e=t.tagName;return!!(e===r.FONT&&(null!==JO.getTokenAttr(t,a.COLOR)||null!==JO.getTokenAttr(t,a.SIZE)||null!==JO.getTokenAttr(t,a.FACE)))||h[e]},e.adjustTokenMathMLAttrs=function(t){for(var e=0;e<t.attrs.length;e++)if("definitionurl"===t.attrs[e].name){t.attrs[e].name="definitionURL";break}},e.adjustTokenSVGAttrs=function(t){for(var e=0;e<t.attrs.length;e++){var n=c[t.attrs[e].name];n&&(t.attrs[e].name=n)}},e.adjustTokenXMLAttrs=function(t){for(var e=0;e<t.attrs.length;e++){var n=l[t.attrs[e].name];n&&(t.attrs[e].prefix=n.prefix,t.attrs[e].name=n.name,t.attrs[e].namespace=n.namespace)}},e.adjustTokenSVGTagName=function(t){var e=u[t.tagName];e&&(t.tagName=e)},e.isIntegrationPoint=function(t,e,n,c){return!(c&&c!==i.HTML||!function(t,e,n){if(e===i.MATHML&&t===r.ANNOTATION_XML)for(var c=0;c<n.length;c++)if(n[c].name===a.ENCODING){var l=n[c].value.toLowerCase();return l===o||l===s}return e===i.SVG&&(t===r.FOREIGN_OBJECT||t===r.DESC||t===r.TITLE)}(t,e,n))||!(c&&c!==i.MATHML||!function(t,e){return e===i.MATHML&&(t===r.MI||t===r.MO||t===r.MN||t===r.MS||t===r.MTEXT)}(t,e))}}));wD.SVG_TAG_NAMES_ADJUSTMENT_MAP,wD.causesExit,wD.adjustTokenMathMLAttrs,wD.adjustTokenSVGAttrs,wD.adjustTokenXMLAttrs,wD.adjustTokenSVGTagName,wD.isIntegrationPoint;var TD=ZO.TAG_NAMES,kD=ZO.NAMESPACES,CD=ZO.ATTRS,ED={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:DN},xD="hidden",_D=8,BD=3,SD="INITIAL_MODE",LD="BEFORE_HTML_MODE",ID="BEFORE_HEAD_MODE",MD="IN_HEAD_MODE",OD="IN_HEAD_NO_SCRIPT_MODE",ND="AFTER_HEAD_MODE",DD="IN_BODY_MODE",FD="TEXT_MODE",PD="IN_TABLE_MODE",RD="IN_TABLE_TEXT_MODE",QD="IN_CAPTION_MODE",UD="IN_COLUMN_GROUP_MODE",HD="IN_TABLE_BODY_MODE",jD="IN_ROW_MODE",$D="IN_CELL_MODE",KD="IN_SELECT_MODE",GD="IN_SELECT_IN_TABLE_MODE",zD="IN_TEMPLATE_MODE",XD="AFTER_BODY_MODE",qD="IN_FRAMESET_MODE",VD="AFTER_FRAMESET_MODE",WD="AFTER_AFTER_BODY_MODE",YD="AFTER_AFTER_FRAMESET_MODE",JD=(Ms(zN={},TD.TR,jD),Ms(zN,TD.TBODY,HD),Ms(zN,TD.THEAD,HD),Ms(zN,TD.TFOOT,HD),Ms(zN,TD.CAPTION,QD),Ms(zN,TD.COLGROUP,UD),Ms(zN,TD.TABLE,PD),Ms(zN,TD.BODY,DD),Ms(zN,TD.FRAMESET,qD),zN),ZD=(Ms(XN={},TD.CAPTION,PD),Ms(XN,TD.COLGROUP,PD),Ms(XN,TD.TBODY,PD),Ms(XN,TD.TFOOT,PD),Ms(XN,TD.THEAD,PD),Ms(XN,TD.COL,UD),Ms(XN,TD.TR,HD),Ms(XN,TD.TD,jD),Ms(XN,TD.TH,jD),XN),tF=(Ms(mD={},SD,(Ms(qN={},JO.CHARACTER_TOKEN,gF),Ms(qN,JO.NULL_CHARACTER_TOKEN,gF),Ms(qN,JO.WHITESPACE_CHARACTER_TOKEN,uF),Ms(qN,JO.COMMENT_TOKEN,fF),Ms(qN,JO.DOCTYPE_TOKEN,(function(t,e){t._setDocumentType(e);var n=e.forceQuirks?ZO.DOCUMENT_MODE.QUIRKS:vD(e);bD(e)||t._err(oM.nonConformingDoctype);t.treeAdapter.setDocumentMode(t.document,n),t.insertionMode=LD})),Ms(qN,JO.START_TAG_TOKEN,gF),Ms(qN,JO.END_TAG_TOKEN,gF),Ms(qN,JO.EOF_TOKEN,gF),qN)),Ms(mD,LD,(Ms(VN={},JO.CHARACTER_TOKEN,mF),Ms(VN,JO.NULL_CHARACTER_TOKEN,mF),Ms(VN,JO.WHITESPACE_CHARACTER_TOKEN,uF),Ms(VN,JO.COMMENT_TOKEN,fF),Ms(VN,JO.DOCTYPE_TOKEN,uF),Ms(VN,JO.START_TAG_TOKEN,(function(t,e){e.tagName===TD.HTML?(t._insertElement(e,kD.HTML),t.insertionMode=ID):mF(t,e)})),Ms(VN,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n!==TD.HTML&&n!==TD.HEAD&&n!==TD.BODY&&n!==TD.BR||mF(t,e)})),Ms(VN,JO.EOF_TOKEN,mF),VN)),Ms(mD,ID,(Ms(WN={},JO.CHARACTER_TOKEN,bF),Ms(WN,JO.NULL_CHARACTER_TOKEN,bF),Ms(WN,JO.WHITESPACE_CHARACTER_TOKEN,uF),Ms(WN,JO.COMMENT_TOKEN,fF),Ms(WN,JO.DOCTYPE_TOKEN,hF),Ms(WN,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.HEAD?(t._insertElement(e,kD.HTML),t.headElement=t.openElements.current,t.insertionMode=MD):bF(t,e)})),Ms(WN,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HEAD||n===TD.BODY||n===TD.HTML||n===TD.BR?bF(t,e):t._err(oM.endTagWithoutMatchingOpenElement)})),Ms(WN,JO.EOF_TOKEN,bF),WN)),Ms(mD,MD,(Ms(YN={},JO.CHARACTER_TOKEN,wF),Ms(YN,JO.NULL_CHARACTER_TOKEN,wF),Ms(YN,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(YN,JO.COMMENT_TOKEN,fF),Ms(YN,JO.DOCTYPE_TOKEN,hF),Ms(YN,JO.START_TAG_TOKEN,vF),Ms(YN,JO.END_TAG_TOKEN,yF),Ms(YN,JO.EOF_TOKEN,wF),YN)),Ms(mD,OD,(Ms(JN={},JO.CHARACTER_TOKEN,TF),Ms(JN,JO.NULL_CHARACTER_TOKEN,TF),Ms(JN,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(JN,JO.COMMENT_TOKEN,fF),Ms(JN,JO.DOCTYPE_TOKEN,hF),Ms(JN,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.BASEFONT||n===TD.BGSOUND||n===TD.HEAD||n===TD.LINK||n===TD.META||n===TD.NOFRAMES||n===TD.STYLE?vF(t,e):n===TD.NOSCRIPT?t._err(oM.nestedNoscriptInHead):TF(t,e)})),Ms(JN,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.NOSCRIPT?(t.openElements.pop(),t.insertionMode=MD):n===TD.BR?TF(t,e):t._err(oM.endTagWithoutMatchingOpenElement)})),Ms(JN,JO.EOF_TOKEN,TF),JN)),Ms(mD,ND,(Ms(ZN={},JO.CHARACTER_TOKEN,kF),Ms(ZN,JO.NULL_CHARACTER_TOKEN,kF),Ms(ZN,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(ZN,JO.COMMENT_TOKEN,fF),Ms(ZN,JO.DOCTYPE_TOKEN,hF),Ms(ZN,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.BODY?(t._insertElement(e,kD.HTML),t.framesetOk=!1,t.insertionMode=DD):n===TD.FRAMESET?(t._insertElement(e,kD.HTML),t.insertionMode=qD):n===TD.BASE||n===TD.BASEFONT||n===TD.BGSOUND||n===TD.LINK||n===TD.META||n===TD.NOFRAMES||n===TD.SCRIPT||n===TD.STYLE||n===TD.TEMPLATE||n===TD.TITLE?(t._err(oM.abandonedHeadElementChild),t.openElements.push(t.headElement),vF(t,e),t.openElements.remove(t.headElement)):n===TD.HEAD?t._err(oM.misplacedStartTagForHeadElement):kF(t,e)})),Ms(ZN,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.BODY||n===TD.HTML||n===TD.BR?kF(t,e):n===TD.TEMPLATE?yF(t,e):t._err(oM.endTagWithoutMatchingOpenElement)})),Ms(ZN,JO.EOF_TOKEN,kF),ZN)),Ms(mD,DD,(Ms(tD={},JO.CHARACTER_TOKEN,EF),Ms(tD,JO.NULL_CHARACTER_TOKEN,uF),Ms(tD,JO.WHITESPACE_CHARACTER_TOKEN,CF),Ms(tD,JO.COMMENT_TOKEN,fF),Ms(tD,JO.DOCTYPE_TOKEN,uF),Ms(tD,JO.START_TAG_TOKEN,FF),Ms(tD,JO.END_TAG_TOKEN,UF),Ms(tD,JO.EOF_TOKEN,HF),tD)),Ms(mD,FD,(Ms(eD={},JO.CHARACTER_TOKEN,AF),Ms(eD,JO.NULL_CHARACTER_TOKEN,AF),Ms(eD,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(eD,JO.COMMENT_TOKEN,uF),Ms(eD,JO.DOCTYPE_TOKEN,uF),Ms(eD,JO.START_TAG_TOKEN,uF),Ms(eD,JO.END_TAG_TOKEN,(function(t,e){e.tagName===TD.SCRIPT&&(t.pendingScript=t.openElements.current);t.openElements.pop(),t.insertionMode=t.originalInsertionMode})),Ms(eD,JO.EOF_TOKEN,(function(t,e){t._err(oM.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t._processToken(e)})),eD)),Ms(mD,PD,(Ms(nD={},JO.CHARACTER_TOKEN,jF),Ms(nD,JO.NULL_CHARACTER_TOKEN,jF),Ms(nD,JO.WHITESPACE_CHARACTER_TOKEN,jF),Ms(nD,JO.COMMENT_TOKEN,fF),Ms(nD,JO.DOCTYPE_TOKEN,uF),Ms(nD,JO.START_TAG_TOKEN,$F),Ms(nD,JO.END_TAG_TOKEN,KF),Ms(nD,JO.EOF_TOKEN,HF),nD)),Ms(mD,RD,(Ms(rD={},JO.CHARACTER_TOKEN,(function(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0})),Ms(rD,JO.NULL_CHARACTER_TOKEN,uF),Ms(rD,JO.WHITESPACE_CHARACTER_TOKEN,(function(t,e){t.pendingCharacterTokens.push(e)})),Ms(rD,JO.COMMENT_TOKEN,zF),Ms(rD,JO.DOCTYPE_TOKEN,zF),Ms(rD,JO.START_TAG_TOKEN,zF),Ms(rD,JO.END_TAG_TOKEN,zF),Ms(rD,JO.EOF_TOKEN,zF),rD)),Ms(mD,QD,(Ms(iD={},JO.CHARACTER_TOKEN,EF),Ms(iD,JO.NULL_CHARACTER_TOKEN,uF),Ms(iD,JO.WHITESPACE_CHARACTER_TOKEN,CF),Ms(iD,JO.COMMENT_TOKEN,fF),Ms(iD,JO.DOCTYPE_TOKEN,uF),Ms(iD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.CAPTION||n===TD.COL||n===TD.COLGROUP||n===TD.TBODY||n===TD.TD||n===TD.TFOOT||n===TD.TH||n===TD.THEAD||n===TD.TR?t.openElements.hasInTableScope(TD.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(TD.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=PD,t._processToken(e)):FF(t,e)})),Ms(iD,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.CAPTION||n===TD.TABLE?t.openElements.hasInTableScope(TD.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(TD.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=PD,n===TD.TABLE&&t._processToken(e)):n!==TD.BODY&&n!==TD.COL&&n!==TD.COLGROUP&&n!==TD.HTML&&n!==TD.TBODY&&n!==TD.TD&&n!==TD.TFOOT&&n!==TD.TH&&n!==TD.THEAD&&n!==TD.TR&&UF(t,e)})),Ms(iD,JO.EOF_TOKEN,HF),iD)),Ms(mD,UD,(Ms(aD={},JO.CHARACTER_TOKEN,XF),Ms(aD,JO.NULL_CHARACTER_TOKEN,XF),Ms(aD,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(aD,JO.COMMENT_TOKEN,fF),Ms(aD,JO.DOCTYPE_TOKEN,uF),Ms(aD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.COL?(t._appendElement(e,kD.HTML),e.ackSelfClosing=!0):n===TD.TEMPLATE?vF(t,e):XF(t,e)})),Ms(aD,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.COLGROUP?t.openElements.currentTagName===TD.COLGROUP&&(t.openElements.pop(),t.insertionMode=PD):n===TD.TEMPLATE?yF(t,e):n!==TD.COL&&XF(t,e)})),Ms(aD,JO.EOF_TOKEN,HF),aD)),Ms(mD,HD,(Ms(oD={},JO.CHARACTER_TOKEN,jF),Ms(oD,JO.NULL_CHARACTER_TOKEN,jF),Ms(oD,JO.WHITESPACE_CHARACTER_TOKEN,jF),Ms(oD,JO.COMMENT_TOKEN,fF),Ms(oD,JO.DOCTYPE_TOKEN,uF),Ms(oD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.TR?(t.openElements.clearBackToTableBodyContext(),t._insertElement(e,kD.HTML),t.insertionMode=jD):n===TD.TH||n===TD.TD?(t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(TD.TR),t.insertionMode=jD,t._processToken(e)):n===TD.CAPTION||n===TD.COL||n===TD.COLGROUP||n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD?t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=PD,t._processToken(e)):$F(t,e)})),Ms(oD,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD?t.openElements.hasInTableScope(n)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=PD):n===TD.TABLE?t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=PD,t._processToken(e)):(n!==TD.BODY&&n!==TD.CAPTION&&n!==TD.COL&&n!==TD.COLGROUP||n!==TD.HTML&&n!==TD.TD&&n!==TD.TH&&n!==TD.TR)&&KF(t,e)})),Ms(oD,JO.EOF_TOKEN,HF),oD)),Ms(mD,jD,(Ms(sD={},JO.CHARACTER_TOKEN,jF),Ms(sD,JO.NULL_CHARACTER_TOKEN,jF),Ms(sD,JO.WHITESPACE_CHARACTER_TOKEN,jF),Ms(sD,JO.COMMENT_TOKEN,fF),Ms(sD,JO.DOCTYPE_TOKEN,uF),Ms(sD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.TH||n===TD.TD?(t.openElements.clearBackToTableRowContext(),t._insertElement(e,kD.HTML),t.insertionMode=$D,t.activeFormattingElements.insertMarker()):n===TD.CAPTION||n===TD.COL||n===TD.COLGROUP||n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD||n===TD.TR?t.openElements.hasInTableScope(TD.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=HD,t._processToken(e)):$F(t,e)})),Ms(sD,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.TR?t.openElements.hasInTableScope(TD.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=HD):n===TD.TABLE?t.openElements.hasInTableScope(TD.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=HD,t._processToken(e)):n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD?(t.openElements.hasInTableScope(n)||t.openElements.hasInTableScope(TD.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=HD,t._processToken(e)):(n!==TD.BODY&&n!==TD.CAPTION&&n!==TD.COL&&n!==TD.COLGROUP||n!==TD.HTML&&n!==TD.TD&&n!==TD.TH)&&KF(t,e)})),Ms(sD,JO.EOF_TOKEN,HF),sD)),Ms(mD,$D,(Ms(cD={},JO.CHARACTER_TOKEN,EF),Ms(cD,JO.NULL_CHARACTER_TOKEN,uF),Ms(cD,JO.WHITESPACE_CHARACTER_TOKEN,CF),Ms(cD,JO.COMMENT_TOKEN,fF),Ms(cD,JO.DOCTYPE_TOKEN,uF),Ms(cD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.CAPTION||n===TD.COL||n===TD.COLGROUP||n===TD.TBODY||n===TD.TD||n===TD.TFOOT||n===TD.TH||n===TD.THEAD||n===TD.TR?(t.openElements.hasInTableScope(TD.TD)||t.openElements.hasInTableScope(TD.TH))&&(t._closeTableCell(),t._processToken(e)):FF(t,e)})),Ms(cD,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.TD||n===TD.TH?t.openElements.hasInTableScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=jD):n===TD.TABLE||n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD||n===TD.TR?t.openElements.hasInTableScope(n)&&(t._closeTableCell(),t._processToken(e)):n!==TD.BODY&&n!==TD.CAPTION&&n!==TD.COL&&n!==TD.COLGROUP&&n!==TD.HTML&&UF(t,e)})),Ms(cD,JO.EOF_TOKEN,HF),cD)),Ms(mD,KD,(Ms(lD={},JO.CHARACTER_TOKEN,AF),Ms(lD,JO.NULL_CHARACTER_TOKEN,uF),Ms(lD,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(lD,JO.COMMENT_TOKEN,fF),Ms(lD,JO.DOCTYPE_TOKEN,uF),Ms(lD,JO.START_TAG_TOKEN,qF),Ms(lD,JO.END_TAG_TOKEN,VF),Ms(lD,JO.EOF_TOKEN,HF),lD)),Ms(mD,GD,(Ms(uD={},JO.CHARACTER_TOKEN,AF),Ms(uD,JO.NULL_CHARACTER_TOKEN,uF),Ms(uD,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(uD,JO.COMMENT_TOKEN,fF),Ms(uD,JO.DOCTYPE_TOKEN,uF),Ms(uD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.CAPTION||n===TD.TABLE||n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD||n===TD.TR||n===TD.TD||n===TD.TH?(t.openElements.popUntilTagNamePopped(TD.SELECT),t._resetInsertionMode(),t._processToken(e)):qF(t,e)})),Ms(uD,JO.END_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.CAPTION||n===TD.TABLE||n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD||n===TD.TR||n===TD.TD||n===TD.TH?t.openElements.hasInTableScope(n)&&(t.openElements.popUntilTagNamePopped(TD.SELECT),t._resetInsertionMode(),t._processToken(e)):VF(t,e)})),Ms(uD,JO.EOF_TOKEN,HF),uD)),Ms(mD,zD,(Ms(hD={},JO.CHARACTER_TOKEN,EF),Ms(hD,JO.NULL_CHARACTER_TOKEN,uF),Ms(hD,JO.WHITESPACE_CHARACTER_TOKEN,CF),Ms(hD,JO.COMMENT_TOKEN,fF),Ms(hD,JO.DOCTYPE_TOKEN,uF),Ms(hD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;if(n===TD.BASE||n===TD.BASEFONT||n===TD.BGSOUND||n===TD.LINK||n===TD.META||n===TD.NOFRAMES||n===TD.SCRIPT||n===TD.STYLE||n===TD.TEMPLATE||n===TD.TITLE)vF(t,e);else{var r=ZD[n]||DD;t._popTmplInsertionMode(),t._pushTmplInsertionMode(r),t.insertionMode=r,t._processToken(e)}})),Ms(hD,JO.END_TAG_TOKEN,(function(t,e){e.tagName===TD.TEMPLATE&&yF(t,e)})),Ms(hD,JO.EOF_TOKEN,WF),hD)),Ms(mD,XD,(Ms(fD={},JO.CHARACTER_TOKEN,YF),Ms(fD,JO.NULL_CHARACTER_TOKEN,YF),Ms(fD,JO.WHITESPACE_CHARACTER_TOKEN,CF),Ms(fD,JO.COMMENT_TOKEN,(function(t,e){t._appendCommentNode(e,t.openElements.items[0])})),Ms(fD,JO.DOCTYPE_TOKEN,uF),Ms(fD,JO.START_TAG_TOKEN,(function(t,e){e.tagName===TD.HTML?FF(t,e):YF(t,e)})),Ms(fD,JO.END_TAG_TOKEN,(function(t,e){e.tagName===TD.HTML?t.fragmentContext||(t.insertionMode=WD):YF(t,e)})),Ms(fD,JO.EOF_TOKEN,pF),fD)),Ms(mD,qD,(Ms(dD={},JO.CHARACTER_TOKEN,uF),Ms(dD,JO.NULL_CHARACTER_TOKEN,uF),Ms(dD,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(dD,JO.COMMENT_TOKEN,fF),Ms(dD,JO.DOCTYPE_TOKEN,uF),Ms(dD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.FRAMESET?t._insertElement(e,kD.HTML):n===TD.FRAME?(t._appendElement(e,kD.HTML),e.ackSelfClosing=!0):n===TD.NOFRAMES&&vF(t,e)})),Ms(dD,JO.END_TAG_TOKEN,(function(t,e){e.tagName!==TD.FRAMESET||t.openElements.isRootHtmlElementCurrent()||(t.openElements.pop(),t.fragmentContext||t.openElements.currentTagName===TD.FRAMESET||(t.insertionMode=VD))})),Ms(dD,JO.EOF_TOKEN,pF),dD)),Ms(mD,VD,(Ms(AD={},JO.CHARACTER_TOKEN,uF),Ms(AD,JO.NULL_CHARACTER_TOKEN,uF),Ms(AD,JO.WHITESPACE_CHARACTER_TOKEN,AF),Ms(AD,JO.COMMENT_TOKEN,fF),Ms(AD,JO.DOCTYPE_TOKEN,uF),Ms(AD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.NOFRAMES&&vF(t,e)})),Ms(AD,JO.END_TAG_TOKEN,(function(t,e){e.tagName===TD.HTML&&(t.insertionMode=YD)})),Ms(AD,JO.EOF_TOKEN,pF),AD)),Ms(mD,WD,(Ms(pD={},JO.CHARACTER_TOKEN,JF),Ms(pD,JO.NULL_CHARACTER_TOKEN,JF),Ms(pD,JO.WHITESPACE_CHARACTER_TOKEN,CF),Ms(pD,JO.COMMENT_TOKEN,dF),Ms(pD,JO.DOCTYPE_TOKEN,uF),Ms(pD,JO.START_TAG_TOKEN,(function(t,e){e.tagName===TD.HTML?FF(t,e):JF(t,e)})),Ms(pD,JO.END_TAG_TOKEN,JF),Ms(pD,JO.EOF_TOKEN,pF),pD)),Ms(mD,YD,(Ms(gD={},JO.CHARACTER_TOKEN,uF),Ms(gD,JO.NULL_CHARACTER_TOKEN,uF),Ms(gD,JO.WHITESPACE_CHARACTER_TOKEN,CF),Ms(gD,JO.COMMENT_TOKEN,dF),Ms(gD,JO.DOCTYPE_TOKEN,uF),Ms(gD,JO.START_TAG_TOKEN,(function(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.NOFRAMES&&vF(t,e)})),Ms(gD,JO.END_TAG_TOKEN,uF),Ms(gD,JO.EOF_TOKEN,pF),gD)),mD),eF=function(){function t(e){bo(this,t),this.options=FN(ED,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&uN.install(this,kN),this.options.onParseError&&uN.install(this,NN,{onParseError:this.options.onParseError})}return hs(t,[{key:"parse",value:function(t){var e=this.treeAdapter.createDocument();return this._bootstrap(e,null),this.tokenizer.write(t,!0),this._runParsingLoop(null),e}},{key:"parseFragment",value:function(t,e){e||(e=this.treeAdapter.createElement(TD.TEMPLATE,kD.HTML,[]));var n=this.treeAdapter.createElement("documentmock",kD.HTML,[]);this._bootstrap(n,e),this.treeAdapter.getTagName(e)===TD.TEMPLATE&&this._pushTmplInsertionMode(zD),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(t,!0),this._runParsingLoop(null);var r=this.treeAdapter.getFirstChild(n),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,i),i}},{key:"_bootstrap",value:function(t,e){this.tokenizer=new JO(this.options),this.stopped=!1,this.insertionMode=SD,this.originalInsertionMode="",this.document=t,this.fragmentContext=e,this.headElement=null,this.formElement=null,this.openElements=new oN(this.document,this.treeAdapter),this.activeFormattingElements=new cN(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}},{key:"_err",value:function(){}},{key:"_runParsingLoop",value:function(t){for(;!this.stopped;){this._setupTokenizerCDATAMode();var e=this.tokenizer.getNextToken();if(e.type===JO.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.type===JO.WHITESPACE_CHARACTER_TOKEN&&"\n"===e.chars[0])){if(1===e.chars.length)continue;e.chars=e.chars.substr(1)}if(this._processInputToken(e),t&&this.pendingScript)break}}},{key:"runParsingLoopForCurrentChunk",value:function(t,e){if(this._runParsingLoop(e),e&&this.pendingScript){var n=this.pendingScript;return this.pendingScript=null,void e(n)}t&&t()}},{key:"_setupTokenizerCDATAMode",value:function(){var t=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=t&&t!==this.document&&this.treeAdapter.getNamespaceURI(t)!==kD.HTML&&!this._isIntegrationPoint(t)}},{key:"_switchToTextParsing",value:function(t,e){this._insertElement(t,kD.HTML),this.tokenizer.state=e,this.originalInsertionMode=this.insertionMode,this.insertionMode=FD}},{key:"switchToPlaintextParsing",value:function(){this.insertionMode=FD,this.originalInsertionMode=DD,this.tokenizer.state=JO.MODE.PLAINTEXT}},{key:"_getAdjustedCurrentElement",value:function(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}},{key:"_findFormInFragmentContext",value:function(){var t=this.fragmentContext;do{if(this.treeAdapter.getTagName(t)===TD.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}while(t)}},{key:"_initTokenizerForFragmentParsing",value:function(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===kD.HTML){var t=this.treeAdapter.getTagName(this.fragmentContext);t===TD.TITLE||t===TD.TEXTAREA?this.tokenizer.state=JO.MODE.RCDATA:t===TD.STYLE||t===TD.XMP||t===TD.IFRAME||t===TD.NOEMBED||t===TD.NOFRAMES||t===TD.NOSCRIPT?this.tokenizer.state=JO.MODE.RAWTEXT:t===TD.SCRIPT?this.tokenizer.state=JO.MODE.SCRIPT_DATA:t===TD.PLAINTEXT&&(this.tokenizer.state=JO.MODE.PLAINTEXT)}}},{key:"_setDocumentType",value:function(t){var e=t.name||"",n=t.publicId||"",r=t.systemId||"";this.treeAdapter.setDocumentType(this.document,e,n,r)}},{key:"_attachElementToTree",value:function(t){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{var e=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(e,t)}}},{key:"_appendElement",value:function(t,e){var n=this.treeAdapter.createElement(t.tagName,e,t.attrs);this._attachElementToTree(n)}},{key:"_insertElement",value:function(t,e){var n=this.treeAdapter.createElement(t.tagName,e,t.attrs);this._attachElementToTree(n),this.openElements.push(n)}},{key:"_insertFakeElement",value:function(t){var e=this.treeAdapter.createElement(t,kD.HTML,[]);this._attachElementToTree(e),this.openElements.push(e)}},{key:"_insertTemplate",value:function(t){var e=this.treeAdapter.createElement(t.tagName,kD.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(e,n),this._attachElementToTree(e),this.openElements.push(e)}},{key:"_insertFakeRootElement",value:function(){var t=this.treeAdapter.createElement(TD.HTML,kD.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t)}},{key:"_appendCommentNode",value:function(t,e){var n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(e,n)}},{key:"_insertCharacters",value:function(t){if(this._shouldFosterParentOnInsertion())this._fosterParentText(t.chars);else{var e=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(e,t.chars)}}},{key:"_adoptNodes",value:function(t,e){for(var n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(e,n)}},{key:"_shouldProcessTokenInForeignContent",value:function(t){var e=this._getAdjustedCurrentElement();if(!e||e===this.document)return!1;var n=this.treeAdapter.getNamespaceURI(e);if(n===kD.HTML)return!1;if(this.treeAdapter.getTagName(e)===TD.ANNOTATION_XML&&n===kD.MATHML&&t.type===JO.START_TAG_TOKEN&&t.tagName===TD.SVG)return!1;var r=t.type===JO.CHARACTER_TOKEN||t.type===JO.NULL_CHARACTER_TOKEN||t.type===JO.WHITESPACE_CHARACTER_TOKEN;return(!(t.type===JO.START_TAG_TOKEN&&t.tagName!==TD.MGLYPH&&t.tagName!==TD.MALIGNMARK)&&!r||!this._isIntegrationPoint(e,kD.MATHML))&&((t.type!==JO.START_TAG_TOKEN&&!r||!this._isIntegrationPoint(e,kD.HTML))&&t.type!==JO.EOF_TOKEN)}},{key:"_processToken",value:function(t){tF[this.insertionMode][t.type](this,t)}},{key:"_processTokenInBodyMode",value:function(t){tF[DD][t.type](this,t)}},{key:"_processTokenInForeignContent",value:function(t){t.type===JO.CHARACTER_TOKEN?function(t,e){t._insertCharacters(e),t.framesetOk=!1}(this,t):t.type===JO.NULL_CHARACTER_TOKEN?function(t,e){e.chars=JI,t._insertCharacters(e)}(this,t):t.type===JO.WHITESPACE_CHARACTER_TOKEN?AF(this,t):t.type===JO.COMMENT_TOKEN?fF(this,t):t.type===JO.START_TAG_TOKEN?function(t,e){if(wD.causesExit(e)&&!t.fragmentContext){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==kD.HTML&&!t._isIntegrationPoint(t.openElements.current);)t.openElements.pop();t._processToken(e)}else{var n=t._getAdjustedCurrentElement(),r=t.treeAdapter.getNamespaceURI(n);r===kD.MATHML?wD.adjustTokenMathMLAttrs(e):r===kD.SVG&&(wD.adjustTokenSVGTagName(e),wD.adjustTokenSVGAttrs(e)),wD.adjustTokenXMLAttrs(e),e.selfClosing?t._appendElement(e,r):t._insertElement(e,r),e.ackSelfClosing=!0}}(this,t):t.type===JO.END_TAG_TOKEN&&function(t,e){for(var n=t.openElements.stackTop;n>0;n--){var r=t.openElements.items[n];if(t.treeAdapter.getNamespaceURI(r)===kD.HTML){t._processToken(e);break}if(t.treeAdapter.getTagName(r).toLowerCase()===e.tagName){t.openElements.popUntilElementPopped(r);break}}}(this,t)}},{key:"_processInputToken",value:function(t){this._shouldProcessTokenInForeignContent(t)?this._processTokenInForeignContent(t):this._processToken(t),t.type===JO.START_TAG_TOKEN&&t.selfClosing&&!t.ackSelfClosing&&this._err(oM.nonVoidHtmlElementStartTagWithTrailingSolidus)}},{key:"_isIntegrationPoint",value:function(t,e){var n=this.treeAdapter.getTagName(t),r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return wD.isIntegrationPoint(n,r,i,e)}},{key:"_reconstructActiveFormattingElements",value:function(){var t=this.activeFormattingElements.length;if(t){var e=t,n=null;do{if(e--,(n=WI(this.activeFormattingElements)[e]).type===cN.MARKER_ENTRY||this.openElements.contains(n.element)){e++;break}}while(e>0);for(var r=e;r<t;r++)n=WI(this.activeFormattingElements)[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}},{key:"_closeTableCell",value:function(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=jD}},{key:"_closePElement",value:function(){this.openElements.generateImpliedEndTagsWithExclusion(TD.P),this.openElements.popUntilTagNamePopped(TD.P)}},{key:"_resetInsertionMode",value:function(){for(var t=this.openElements.stackTop,e=!1;t>=0;t--){var n=this.openElements.items[t];0===t&&(e=!0,this.fragmentContext&&(n=this.fragmentContext));var r=this.treeAdapter.getTagName(n),i=JD[r];if(i){this.insertionMode=i;break}if(!(e||r!==TD.TD&&r!==TD.TH)){this.insertionMode=$D;break}if(!e&&r===TD.HEAD){this.insertionMode=MD;break}if(r===TD.SELECT){this._resetInsertionModeForSelect(t);break}if(r===TD.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===TD.HTML){this.insertionMode=this.headElement?ND:ID;break}if(e){this.insertionMode=DD;break}}}},{key:"_resetInsertionModeForSelect",value:function(t){if(t>0)for(var e=t-1;e>0;e--){var n=this.openElements.items[e],r=this.treeAdapter.getTagName(n);if(r===TD.TEMPLATE)break;if(r===TD.TABLE)return void(this.insertionMode=GD)}this.insertionMode=KD}},{key:"_pushTmplInsertionMode",value:function(t){this.tmplInsertionModeStack.push(t),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=t}},{key:"_popTmplInsertionMode",value:function(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}},{key:"_isElementCausesFosterParenting",value:function(t){var e=this.treeAdapter.getTagName(t);return e===TD.TABLE||e===TD.TBODY||e===TD.TFOOT||e===TD.THEAD||e===TD.TR}},{key:"_shouldFosterParentOnInsertion",value:function(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}},{key:"_findFosterParentingLocation",value:function(){for(var t={parent:null,beforeElement:null},e=this.openElements.stackTop;e>=0;e--){var n=this.openElements.items[e],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===TD.TEMPLATE&&i===kD.HTML){t.parent=this.treeAdapter.getTemplateContent(n);break}if(r===TD.TABLE){t.parent=this.treeAdapter.getParentNode(n),t.parent?t.beforeElement=n:t.parent=this.openElements.items[e-1];break}}return t.parent||(t.parent=this.openElements.items[0]),t}},{key:"_fosterParentElement",value:function(t){var e=this._findFosterParentingLocation();e.beforeElement?this.treeAdapter.insertBefore(e.parent,t,e.beforeElement):this.treeAdapter.appendChild(e.parent,t)}},{key:"_fosterParentText",value:function(t){var e=this._findFosterParentingLocation();e.beforeElement?this.treeAdapter.insertTextBefore(e.parent,t,e.beforeElement):this.treeAdapter.insertText(e.parent,t)}},{key:"_isSpecialElement",value:function(t){var e=this.treeAdapter.getTagName(t),n=this.treeAdapter.getNamespaceURI(t);return ZO.SPECIAL_ELEMENTS[n][e]}}]),t}(),nF=eF;function rF(t,e){var n=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return n?t.openElements.contains(n.element)?t.openElements.hasInScope(e.tagName)||(n=null):(t.activeFormattingElements.removeEntry(n),n=null):QF(t,e),n}function iF(t,e){for(var n=null,r=t.openElements.stackTop;r>=0;r--){var i=t.openElements.items[r];if(i===e.element)break;t._isSpecialElement(i)&&(n=i)}return n||(t.openElements.popUntilElementPopped(e.element),t.activeFormattingElements.removeEntry(e)),n}function aF(t,e,n){for(var r=e,i=t.openElements.getCommonAncestor(e),a=0,o=i;o!==n;a++,o=i){i=t.openElements.getCommonAncestor(o);var s=t.activeFormattingElements.getElementEntry(o),c=s&&a>=BD;!s||c?(c&&t.activeFormattingElements.removeEntry(s),t.openElements.remove(o)):(o=oF(t,s),r===e&&(t.activeFormattingElements.bookmark=s),t.treeAdapter.detachNode(r),t.treeAdapter.appendChild(o,r),r=o)}return r}function oF(t,e){var n=t.treeAdapter.getNamespaceURI(e.element),r=t.treeAdapter.createElement(e.token.tagName,n,e.token.attrs);return t.openElements.replace(e.element,r),e.element=r,r}function sF(t,e,n){if(t._isElementCausesFosterParenting(e))t._fosterParentElement(n);else{var r=t.treeAdapter.getTagName(e),i=t.treeAdapter.getNamespaceURI(e);r===TD.TEMPLATE&&i===kD.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,n)}}function cF(t,e,n){var r=t.treeAdapter.getNamespaceURI(n.element),i=n.token,a=t.treeAdapter.createElement(i.tagName,r,i.attrs);t._adoptNodes(e,a),t.treeAdapter.appendChild(e,a),t.activeFormattingElements.insertElementAfterBookmark(a,n.token),t.activeFormattingElements.removeEntry(n),t.openElements.remove(n.element),t.openElements.insertAfter(e,a)}function lF(t,e){for(var n,r=0;r<_D&&(n=rF(t,e));r++){var i=iF(t,n);if(!i)break;t.activeFormattingElements.bookmark=n;var a=aF(t,i,n.element),o=t.openElements.getCommonAncestor(n.element);t.treeAdapter.detachNode(a),sF(t,o,a),cF(t,i,n)}}function uF(){}function hF(t){t._err(oM.misplacedDoctype)}function fF(t,e){t._appendCommentNode(e,t.openElements.currentTmplContent||t.openElements.current)}function dF(t,e){t._appendCommentNode(e,t.document)}function AF(t,e){t._insertCharacters(e)}function pF(t){t.stopped=!0}function gF(t,e){t._err(oM.missingDoctype,{beforeToken:!0}),t.treeAdapter.setDocumentMode(t.document,ZO.DOCUMENT_MODE.QUIRKS),t.insertionMode=LD,t._processToken(e)}function mF(t,e){t._insertFakeRootElement(),t.insertionMode=ID,t._processToken(e)}function bF(t,e){t._insertFakeElement(TD.HEAD),t.headElement=t.openElements.current,t.insertionMode=MD,t._processToken(e)}function vF(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.BASE||n===TD.BASEFONT||n===TD.BGSOUND||n===TD.LINK||n===TD.META?(t._appendElement(e,kD.HTML),e.ackSelfClosing=!0):n===TD.TITLE?t._switchToTextParsing(e,JO.MODE.RCDATA):n===TD.NOSCRIPT?t.options.scriptingEnabled?t._switchToTextParsing(e,JO.MODE.RAWTEXT):(t._insertElement(e,kD.HTML),t.insertionMode=OD):n===TD.NOFRAMES||n===TD.STYLE?t._switchToTextParsing(e,JO.MODE.RAWTEXT):n===TD.SCRIPT?t._switchToTextParsing(e,JO.MODE.SCRIPT_DATA):n===TD.TEMPLATE?(t._insertTemplate(e,kD.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=zD,t._pushTmplInsertionMode(zD)):n===TD.HEAD?t._err(oM.misplacedStartTagForHeadElement):wF(t,e)}function yF(t,e){var n=e.tagName;n===TD.HEAD?(t.openElements.pop(),t.insertionMode=ND):n===TD.BODY||n===TD.BR||n===TD.HTML?wF(t,e):n===TD.TEMPLATE&&t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagName!==TD.TEMPLATE&&t._err(oM.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(TD.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t._popTmplInsertionMode(),t._resetInsertionMode()):t._err(oM.endTagWithoutMatchingOpenElement)}function wF(t,e){t.openElements.pop(),t.insertionMode=ND,t._processToken(e)}function TF(t,e){var n=e.type===JO.EOF_TOKEN?oM.openElementsLeftAfterEof:oM.disallowedContentInNoscriptInHead;t._err(n),t.openElements.pop(),t.insertionMode=MD,t._processToken(e)}function kF(t,e){t._insertFakeElement(TD.BODY),t.insertionMode=DD,t._processToken(e)}function CF(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function EF(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function xF(t,e){t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._insertElement(e,kD.HTML)}function _F(t,e){t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._insertElement(e,kD.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function BF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,kD.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function SF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,kD.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function LF(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,kD.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function IF(t,e){t._appendElement(e,kD.HTML),e.ackSelfClosing=!0}function MF(t,e){t._switchToTextParsing(e,JO.MODE.RAWTEXT)}function OF(t,e){t.openElements.currentTagName===TD.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,kD.HTML)}function NF(t,e){t.openElements.hasInScope(TD.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,kD.HTML)}function DF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,kD.HTML)}function FF(t,e){var n=e.tagName;switch(n.length){case 1:n===TD.I||n===TD.S||n===TD.B||n===TD.U?BF(t,e):n===TD.P?xF(t,e):n===TD.A?function(t,e){var n=t.activeFormattingElements.getElementEntryInScopeWithTagName(TD.A);n&&(lF(t,e),t.openElements.remove(n.element),t.activeFormattingElements.removeEntry(n)),t._reconstructActiveFormattingElements(),t._insertElement(e,kD.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e):DF(t,e);break;case 2:n===TD.DL||n===TD.OL||n===TD.UL?xF(t,e):n===TD.H1||n===TD.H2||n===TD.H3||n===TD.H4||n===TD.H5||n===TD.H6?function(t,e){t.openElements.hasInButtonScope(TD.P)&&t._closePElement();var n=t.openElements.currentTagName;n!==TD.H1&&n!==TD.H2&&n!==TD.H3&&n!==TD.H4&&n!==TD.H5&&n!==TD.H6||t.openElements.pop(),t._insertElement(e,kD.HTML)}(t,e):n===TD.LI||n===TD.DD||n===TD.DT?function(t,e){t.framesetOk=!1;for(var n=e.tagName,r=t.openElements.stackTop;r>=0;r--){var i=t.openElements.items[r],a=t.treeAdapter.getTagName(i),o=null;if(n===TD.LI&&a===TD.LI?o=TD.LI:n!==TD.DD&&n!==TD.DT||a!==TD.DD&&a!==TD.DT||(o=a),o){t.openElements.generateImpliedEndTagsWithExclusion(o),t.openElements.popUntilTagNamePopped(o);break}if(a!==TD.ADDRESS&&a!==TD.DIV&&a!==TD.P&&t._isSpecialElement(i))break}t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._insertElement(e,kD.HTML)}(t,e):n===TD.EM||n===TD.TT?BF(t,e):n===TD.BR?LF(t,e):n===TD.HR?function(t,e){t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._appendElement(e,kD.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}(t,e):n===TD.RB?NF(t,e):n===TD.RT||n===TD.RP?function(t,e){t.openElements.hasInScope(TD.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(TD.RTC),t._insertElement(e,kD.HTML)}(t,e):n!==TD.TH&&n!==TD.TD&&n!==TD.TR&&DF(t,e);break;case 3:n===TD.DIV||n===TD.DIR||n===TD.NAV?xF(t,e):n===TD.PRE?_F(t,e):n===TD.BIG?BF(t,e):n===TD.IMG||n===TD.WBR?LF(t,e):n===TD.XMP?function(t,e){t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,JO.MODE.RAWTEXT)}(t,e):n===TD.SVG?function(t,e){t._reconstructActiveFormattingElements(),wD.adjustTokenSVGAttrs(e),wD.adjustTokenXMLAttrs(e),e.selfClosing?t._appendElement(e,kD.SVG):t._insertElement(e,kD.SVG),e.ackSelfClosing=!0}(t,e):n===TD.RTC?NF(t,e):n!==TD.COL&&DF(t,e);break;case 4:n===TD.HTML?function(t,e){0===t.openElements.tmplCount&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}(t,e):n===TD.BASE||n===TD.LINK||n===TD.META?vF(t,e):n===TD.BODY?function(t,e){var n=t.openElements.tryPeekProperlyNestedBodyElement();n&&0===t.openElements.tmplCount&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(n,e.attrs))}(t,e):n===TD.MAIN||n===TD.MENU?xF(t,e):n===TD.FORM?function(t,e){var n=t.openElements.tmplCount>0;t.formElement&&!n||(t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._insertElement(e,kD.HTML),n||(t.formElement=t.openElements.current))}(t,e):n===TD.CODE||n===TD.FONT?BF(t,e):n===TD.NOBR?function(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(TD.NOBR)&&(lF(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,kD.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e):n===TD.AREA?LF(t,e):n===TD.MATH?function(t,e){t._reconstructActiveFormattingElements(),wD.adjustTokenMathMLAttrs(e),wD.adjustTokenXMLAttrs(e),e.selfClosing?t._appendElement(e,kD.MATHML):t._insertElement(e,kD.MATHML),e.ackSelfClosing=!0}(t,e):n===TD.MENU?function(t,e){t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._insertElement(e,kD.HTML)}(t,e):n!==TD.HEAD&&DF(t,e);break;case 5:n===TD.STYLE||n===TD.TITLE?vF(t,e):n===TD.ASIDE?xF(t,e):n===TD.SMALL?BF(t,e):n===TD.TABLE?function(t,e){t.treeAdapter.getDocumentMode(t.document)!==ZO.DOCUMENT_MODE.QUIRKS&&t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._insertElement(e,kD.HTML),t.framesetOk=!1,t.insertionMode=PD}(t,e):n===TD.EMBED?LF(t,e):n===TD.INPUT?function(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,kD.HTML);var n=JO.getTokenAttr(e,CD.TYPE);n&&n.toLowerCase()===xD||(t.framesetOk=!1),e.ackSelfClosing=!0}(t,e):n===TD.PARAM||n===TD.TRACK?IF(t,e):n===TD.IMAGE?function(t,e){e.tagName=TD.IMG,LF(t,e)}(t,e):n!==TD.FRAME&&n!==TD.TBODY&&n!==TD.TFOOT&&n!==TD.THEAD&&DF(t,e);break;case 6:n===TD.SCRIPT?vF(t,e):n===TD.CENTER||n===TD.FIGURE||n===TD.FOOTER||n===TD.HEADER||n===TD.HGROUP||n===TD.DIALOG?xF(t,e):n===TD.BUTTON?function(t,e){t.openElements.hasInScope(TD.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(TD.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,kD.HTML),t.framesetOk=!1}(t,e):n===TD.STRIKE||n===TD.STRONG?BF(t,e):n===TD.APPLET||n===TD.OBJECT?SF(t,e):n===TD.KEYGEN?LF(t,e):n===TD.SOURCE?IF(t,e):n===TD.IFRAME?function(t,e){t.framesetOk=!1,t._switchToTextParsing(e,JO.MODE.RAWTEXT)}(t,e):n===TD.SELECT?function(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,kD.HTML),t.framesetOk=!1,t.insertionMode===PD||t.insertionMode===QD||t.insertionMode===HD||t.insertionMode===jD||t.insertionMode===$D?t.insertionMode=GD:t.insertionMode=KD}(t,e):n===TD.OPTION?OF(t,e):DF(t,e);break;case 7:n===TD.BGSOUND?vF(t,e):n===TD.DETAILS||n===TD.ADDRESS||n===TD.ARTICLE||n===TD.SECTION||n===TD.SUMMARY?xF(t,e):n===TD.LISTING?_F(t,e):n===TD.MARQUEE?SF(t,e):n===TD.NOEMBED?MF(t,e):n!==TD.CAPTION&&DF(t,e);break;case 8:n===TD.BASEFONT?vF(t,e):n===TD.FRAMESET?function(t,e){var n=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&n&&(t.treeAdapter.detachNode(n),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,kD.HTML),t.insertionMode=qD)}(t,e):n===TD.FIELDSET?xF(t,e):n===TD.TEXTAREA?function(t,e){t._insertElement(e,kD.HTML),t.skipNextNewLine=!0,t.tokenizer.state=JO.MODE.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=FD}(t,e):n===TD.TEMPLATE?vF(t,e):n===TD.NOSCRIPT?t.options.scriptingEnabled?MF(t,e):DF(t,e):n===TD.OPTGROUP?OF(t,e):n!==TD.COLGROUP&&DF(t,e);break;case 9:n===TD.PLAINTEXT?function(t,e){t.openElements.hasInButtonScope(TD.P)&&t._closePElement(),t._insertElement(e,kD.HTML),t.tokenizer.state=JO.MODE.PLAINTEXT}(t,e):DF(t,e);break;case 10:n===TD.BLOCKQUOTE||n===TD.FIGCAPTION?xF(t,e):DF(t,e);break;default:DF(t,e)}}function PF(t,e){var n=e.tagName;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n))}function RF(t,e){var n=e.tagName;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker())}function QF(t,e){for(var n=e.tagName,r=t.openElements.stackTop;r>0;r--){var i=t.openElements.items[r];if(t.treeAdapter.getTagName(i)===n){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilElementPopped(i);break}if(t._isSpecialElement(i))break}}function UF(t,e){var n=e.tagName;switch(n.length){case 1:n===TD.A||n===TD.B||n===TD.I||n===TD.S||n===TD.U?lF(t,e):n===TD.P?function(t){t.openElements.hasInButtonScope(TD.P)||t._insertFakeElement(TD.P),t._closePElement()}(t):QF(t,e);break;case 2:n===TD.DL||n===TD.UL||n===TD.OL?PF(t,e):n===TD.LI?function(t){t.openElements.hasInListItemScope(TD.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(TD.LI),t.openElements.popUntilTagNamePopped(TD.LI))}(t):n===TD.DD||n===TD.DT?function(t,e){var n=e.tagName;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n))}(t,e):n===TD.H1||n===TD.H2||n===TD.H3||n===TD.H4||n===TD.H5||n===TD.H6?function(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}(t):n===TD.BR?function(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(TD.BR),t.openElements.pop(),t.framesetOk=!1}(t):n===TD.EM||n===TD.TT?lF(t,e):QF(t,e);break;case 3:n===TD.BIG?lF(t,e):n===TD.DIR||n===TD.DIV||n===TD.NAV||n===TD.PRE?PF(t,e):QF(t,e);break;case 4:n===TD.BODY?function(t){t.openElements.hasInScope(TD.BODY)&&(t.insertionMode=XD)}(t):n===TD.HTML?function(t,e){t.openElements.hasInScope(TD.BODY)&&(t.insertionMode=XD,t._processToken(e))}(t,e):n===TD.FORM?function(t){var e=t.openElements.tmplCount>0,n=t.formElement;e||(t.formElement=null),(n||e)&&t.openElements.hasInScope(TD.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(TD.FORM):t.openElements.remove(n))}(t):n===TD.CODE||n===TD.FONT||n===TD.NOBR?lF(t,e):n===TD.MAIN||n===TD.MENU?PF(t,e):QF(t,e);break;case 5:n===TD.ASIDE?PF(t,e):n===TD.SMALL?lF(t,e):QF(t,e);break;case 6:n===TD.CENTER||n===TD.FIGURE||n===TD.FOOTER||n===TD.HEADER||n===TD.HGROUP||n===TD.DIALOG?PF(t,e):n===TD.APPLET||n===TD.OBJECT?RF(t,e):n===TD.STRIKE||n===TD.STRONG?lF(t,e):QF(t,e);break;case 7:n===TD.ADDRESS||n===TD.ARTICLE||n===TD.DETAILS||n===TD.SECTION||n===TD.SUMMARY||n===TD.LISTING?PF(t,e):n===TD.MARQUEE?RF(t,e):QF(t,e);break;case 8:n===TD.FIELDSET?PF(t,e):n===TD.TEMPLATE?yF(t,e):QF(t,e);break;case 10:n===TD.BLOCKQUOTE||n===TD.FIGCAPTION?PF(t,e):QF(t,e);break;default:QF(t,e)}}function HF(t,e){t.tmplInsertionModeStackTop>-1?WF(t,e):t.stopped=!0}function jF(t,e){var n=t.openElements.currentTagName;n===TD.TABLE||n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD||n===TD.TR?(t.pendingCharacterTokens=[],t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=RD,t._processToken(e)):GF(t,e)}function $F(t,e){var n=e.tagName;switch(n.length){case 2:n===TD.TD||n===TD.TH||n===TD.TR?function(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(TD.TBODY),t.insertionMode=HD,t._processToken(e)}(t,e):GF(t,e);break;case 3:n===TD.COL?function(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(TD.COLGROUP),t.insertionMode=UD,t._processToken(e)}(t,e):GF(t,e);break;case 4:n===TD.FORM?function(t,e){t.formElement||0!==t.openElements.tmplCount||(t._insertElement(e,kD.HTML),t.formElement=t.openElements.current,t.openElements.pop())}(t,e):GF(t,e);break;case 5:n===TD.TABLE?function(t,e){t.openElements.hasInTableScope(TD.TABLE)&&(t.openElements.popUntilTagNamePopped(TD.TABLE),t._resetInsertionMode(),t._processToken(e))}(t,e):n===TD.STYLE?vF(t,e):n===TD.TBODY||n===TD.TFOOT||n===TD.THEAD?function(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,kD.HTML),t.insertionMode=HD}(t,e):n===TD.INPUT?function(t,e){var n=JO.getTokenAttr(e,CD.TYPE);n&&n.toLowerCase()===xD?t._appendElement(e,kD.HTML):GF(t,e),e.ackSelfClosing=!0}(t,e):GF(t,e);break;case 6:n===TD.SCRIPT?vF(t,e):GF(t,e);break;case 7:n===TD.CAPTION?function(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,kD.HTML),t.insertionMode=QD}(t,e):GF(t,e);break;case 8:n===TD.COLGROUP?function(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,kD.HTML),t.insertionMode=UD}(t,e):n===TD.TEMPLATE?vF(t,e):GF(t,e);break;default:GF(t,e)}}function KF(t,e){var n=e.tagName;n===TD.TABLE?t.openElements.hasInTableScope(TD.TABLE)&&(t.openElements.popUntilTagNamePopped(TD.TABLE),t._resetInsertionMode()):n===TD.TEMPLATE?yF(t,e):n!==TD.BODY&&n!==TD.CAPTION&&n!==TD.COL&&n!==TD.COLGROUP&&n!==TD.HTML&&n!==TD.TBODY&&n!==TD.TD&&n!==TD.TFOOT&&n!==TD.TH&&n!==TD.THEAD&&n!==TD.TR&&GF(t,e)}function GF(t,e){var n=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,t._processTokenInBodyMode(e),t.fosterParentingEnabled=n}function zF(t,e){var n=0;if(t.hasNonWhitespacePendingCharacterToken)for(;n<t.pendingCharacterTokens.length;n++)GF(t,t.pendingCharacterTokens[n]);else for(;n<t.pendingCharacterTokens.length;n++)t._insertCharacters(t.pendingCharacterTokens[n]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}function XF(t,e){t.openElements.currentTagName===TD.COLGROUP&&(t.openElements.pop(),t.insertionMode=PD,t._processToken(e))}function qF(t,e){var n=e.tagName;n===TD.HTML?FF(t,e):n===TD.OPTION?(t.openElements.currentTagName===TD.OPTION&&t.openElements.pop(),t._insertElement(e,kD.HTML)):n===TD.OPTGROUP?(t.openElements.currentTagName===TD.OPTION&&t.openElements.pop(),t.openElements.currentTagName===TD.OPTGROUP&&t.openElements.pop(),t._insertElement(e,kD.HTML)):n===TD.INPUT||n===TD.KEYGEN||n===TD.TEXTAREA||n===TD.SELECT?t.openElements.hasInSelectScope(TD.SELECT)&&(t.openElements.popUntilTagNamePopped(TD.SELECT),t._resetInsertionMode(),n!==TD.SELECT&&t._processToken(e)):n!==TD.SCRIPT&&n!==TD.TEMPLATE||vF(t,e)}function VF(t,e){var n=e.tagName;if(n===TD.OPTGROUP){var r=t.openElements.items[t.openElements.stackTop-1],i=r&&t.treeAdapter.getTagName(r);t.openElements.currentTagName===TD.OPTION&&i===TD.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagName===TD.OPTGROUP&&t.openElements.pop()}else n===TD.OPTION?t.openElements.currentTagName===TD.OPTION&&t.openElements.pop():n===TD.SELECT&&t.openElements.hasInSelectScope(TD.SELECT)?(t.openElements.popUntilTagNamePopped(TD.SELECT),t._resetInsertionMode()):n===TD.TEMPLATE&&yF(t,e)}function WF(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(TD.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t._popTmplInsertionMode(),t._resetInsertionMode(),t._processToken(e)):t.stopped=!0}function YF(t,e){t.insertionMode=DD,t._processToken(e)}function JF(t,e){t.insertionMode=DD,t._processToken(e)}var ZF=ZO.TAG_NAMES,tP=ZO.NAMESPACES,eP={treeAdapter:DN},nP=/&/g,rP=/\u00a0/g,iP=/"/g,aP=/</g,oP=/>/g,sP=function(){function t(e,n){bo(this,t),this.options=FN(eP,n),this.treeAdapter=this.options.treeAdapter,this.html="",this.startNode=e}return hs(t,[{key:"serialize",value:function(){return this._serializeChildNodes(this.startNode),this.html}},{key:"_serializeChildNodes",value:function(t){var e=this.treeAdapter.getChildNodes(t);if(e)for(var n=0,r=e.length;n<r;n++){var i=e[n];this.treeAdapter.isElementNode(i)?this._serializeElement(i):this.treeAdapter.isTextNode(i)?this._serializeTextNode(i):this.treeAdapter.isCommentNode(i)?this._serializeCommentNode(i):this.treeAdapter.isDocumentTypeNode(i)&&this._serializeDocumentTypeNode(i)}}},{key:"_serializeElement",value:function(t){var e=this.treeAdapter.getTagName(t),n=this.treeAdapter.getNamespaceURI(t);if(this.html+="<"+e,this._serializeAttributes(t),this.html+=">",e!==ZF.AREA&&e!==ZF.BASE&&e!==ZF.BASEFONT&&e!==ZF.BGSOUND&&e!==ZF.BR&&e!==ZF.COL&&e!==ZF.EMBED&&e!==ZF.FRAME&&e!==ZF.HR&&e!==ZF.IMG&&e!==ZF.INPUT&&e!==ZF.KEYGEN&&e!==ZF.LINK&&e!==ZF.META&&e!==ZF.PARAM&&e!==ZF.SOURCE&&e!==ZF.TRACK&&e!==ZF.WBR){var r=e===ZF.TEMPLATE&&n===tP.HTML?this.treeAdapter.getTemplateContent(t):t;this._serializeChildNodes(r),this.html+="</"+e+">"}}},{key:"_serializeAttributes",value:function(e){for(var n=this.treeAdapter.getAttrList(e),r=0,i=n.length;r<i;r++){var a=n[r],o=t.escapeString(a.value,!0);this.html+=" ",a.namespace?a.namespace===tP.XML?this.html+="xml:"+a.name:a.namespace===tP.XMLNS?("xmlns"!==a.name&&(this.html+="xmlns:"),this.html+=a.name):a.namespace===tP.XLINK?this.html+="xlink:"+a.name:this.html+=a.prefix+":"+a.name:this.html+=a.name,this.html+='="'+o+'"'}}},{key:"_serializeTextNode",value:function(e){var n=this.treeAdapter.getTextNodeContent(e),r=this.treeAdapter.getParentNode(e),i=void 0;r&&this.treeAdapter.isElementNode(r)&&(i=this.treeAdapter.getTagName(r)),i===ZF.STYLE||i===ZF.SCRIPT||i===ZF.XMP||i===ZF.IFRAME||i===ZF.NOEMBED||i===ZF.NOFRAMES||i===ZF.PLAINTEXT||i===ZF.NOSCRIPT?this.html+=n:this.html+=t.escapeString(n,!1)}},{key:"_serializeCommentNode",value:function(t){this.html+="\x3c!--"+this.treeAdapter.getCommentNodeContent(t)+"--\x3e"}},{key:"_serializeDocumentTypeNode",value:function(t){var e=this.treeAdapter.getDocumentTypeNodeName(t);this.html+="<"+yD(e,null,null)+">"}}]),t}();sP.escapeString=function(t,e){return t=t.replace(nP,"&").replace(rP," "),t=e?t.replace(iP,"""):t.replace(aP,"<").replace(oP,">")};var cP=sP,lP=function(t,e){return new nF(e).parse(t)},uP=function(t,e,n){return"string"==typeof t&&(n=e,e=t,t=null),new nF(n).parseFragment(e,t)},hP=function(t,e){return new cP(t,e).serialize()},fP=r((function(t,e){var n,r=ZO.DOCUMENT_MODE,i={element:1,text:3,cdata:4,comment:8},a={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},o=function(){function t(e){bo(this,t);for(var n=0,r=ar(e);n<r.length;n++){var i=r[n];this[i]=e[i]}}return hs(t,[{key:"firstChild",get:function(){var t=this.children;return t&&t[0]||null}},{key:"lastChild",get:function(){var t=this.children;return t&&t[t.length-1]||null}},{key:"nodeType",get:function(){return i[this.type]||i.element}}]),t}();ao(n=ar(a)).call(n,(function(t){var e=a[t];mo(o.prototype,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})})),e.createDocument=function(){return new o({type:"root",name:"root",parent:null,prev:null,next:null,children:[],"x-mode":r.NO_QUIRKS})},e.createDocumentFragment=function(){return new o({type:"root",name:"root",parent:null,prev:null,next:null,children:[]})},e.createElement=function(t,e,n){for(var r=kf(null),i=kf(null),a=kf(null),s=0;s<n.length;s++){var c=n[s].name;r[c]=n[s].value,i[c]=n[s].namespace,a[c]=n[s].prefix}return new o({type:"script"===t||"style"===t?t:"tag",name:t,namespace:e,attribs:r,"x-attribsNamespace":i,"x-attribsPrefix":a,children:[],parent:null,prev:null,next:null})},e.createCommentNode=function(t){return new o({type:"comment",data:t,parent:null,prev:null,next:null})};var s=function(t){return new o({type:"text",data:t,parent:null,prev:null,next:null})},c=e.appendChild=function(t,e){var n=t.children[t.children.length-1];n&&(n.next=e,e.prev=n),t.children.push(e),e.parent=t},l=e.insertBefore=function(t,e,n){var r,i,a=Tf(r=t.children).call(r,n),o=n.prev;o&&(o.next=e,e.prev=o),n.prev=e,e.next=n,Gd(i=t.children).call(i,a,0,e),e.parent=t};e.setTemplateContent=function(t,e){c(t,e)},e.getTemplateContent=function(t){return t.children[0]},e.setDocumentType=function(t,e,n,r){for(var i=yD(e,n,r),a=null,s=0;s<t.children.length;s++)if("directive"===t.children[s].type&&"!doctype"===t.children[s].name){a=t.children[s];break}a?(a.data=i,a["x-name"]=e,a["x-publicId"]=n,a["x-systemId"]=r):c(t,new o({type:"directive",name:"!doctype",data:i,"x-name":e,"x-publicId":n,"x-systemId":r}))},e.setDocumentMode=function(t,e){t["x-mode"]=e},e.getDocumentMode=function(t){return t["x-mode"]},e.detachNode=function(t){if(t.parent){var e,n,r=Tf(e=t.parent.children).call(e,t),i=t.prev,a=t.next;t.prev=null,t.next=null,i&&(i.next=a),a&&(a.prev=i),Gd(n=t.parent.children).call(n,r,1),t.parent=null}},e.insertText=function(t,e){var n=t.children[t.children.length-1];n&&"text"===n.type?n.data+=e:c(t,s(e))},e.insertTextBefore=function(t,e,n){var r,i=t.children[Tf(r=t.children).call(r,n)-1];i&&"text"===i.type?i.data+=e:l(t,s(e),n)},e.adoptAttributes=function(t,e){for(var n=0;n<e.length;n++){var r=e[n].name;void 0===t.attribs[r]&&(t.attribs[r]=e[n].value,t["x-attribsNamespace"][r]=e[n].namespace,t["x-attribsPrefix"][r]=e[n].prefix)}},e.getFirstChild=function(t){return t.children[0]},e.getChildNodes=function(t){return t.children},e.getParentNode=function(t){return t.parent},e.getAttrList=function(t){var e=[];for(var n in t.attribs)e.push({name:n,value:t.attribs[n],namespace:t["x-attribsNamespace"][n],prefix:t["x-attribsPrefix"][n]});return e},e.getTagName=function(t){return t.name},e.getNamespaceURI=function(t){return t.namespace},e.getTextNodeContent=function(t){return t.data},e.getCommentNodeContent=function(t){return t.data},e.getDocumentTypeNodeName=function(t){return t["x-name"]},e.getDocumentTypeNodePublicId=function(t){return t["x-publicId"]},e.getDocumentTypeNodeSystemId=function(t){return t["x-systemId"]},e.isTextNode=function(t){return"text"===t.type},e.isCommentNode=function(t){return"comment"===t.type},e.isDocumentTypeNode=function(t){return"directive"===t.type&&"!doctype"===t.name},e.isElementNode=function(t){return!!t.attribs},e.setNodeSourceCodeLocation=function(t,e){t.sourceCodeLocation=e},e.getNodeSourceCodeLocation=function(t){return t.sourceCodeLocation},e.updateNodeSourceCodeLocation=function(t,e){t.sourceCodeLocation=Gu(t.sourceCodeLocation,e)}}));fP.createDocument,fP.createDocumentFragment,fP.createElement,fP.createCommentNode,fP.appendChild,fP.insertBefore,fP.setTemplateContent,fP.getTemplateContent,fP.setDocumentType,fP.setDocumentMode,fP.getDocumentMode,fP.detachNode,fP.insertText,fP.insertTextBefore,fP.adoptAttributes,fP.getFirstChild,fP.getChildNodes,fP.getParentNode,fP.getAttrList,fP.getTagName,fP.getNamespaceURI,fP.getTextNodeContent,fP.getCommentNodeContent,fP.getDocumentTypeNodeName,fP.getDocumentTypeNodePublicId,fP.getDocumentTypeNodeSystemId,fP.isTextNode,fP.isCommentNode,fP.isDocumentTypeNode,fP.isElementNode,fP.setNodeSourceCodeLocation,fP.getNodeSourceCodeLocation,fP.updateNodeSourceCodeLocation;var dP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.render=e.parse=void 0;var n=qS.__importDefault(fP);e.parse=function(t,e,r){var i={scriptingEnabled:"boolean"!=typeof e.scriptingEnabled||e.scriptingEnabled,treeAdapter:n.default,sourceCodeLocationInfo:e.sourceCodeLocationInfo},a=e.context;return r?lP(t,i):uP(a,t,i)},e.render=function(t){for(var e,r=("length"in t?t:[t]),i=0;i<r.length;i+=1){var a=r[i];tI.isDocument(a)&&(e=Array.prototype.splice).call.apply(e,qS.__spreadArray([r,i,1],a.children))}return hP({children:r},{treeAdapter:n.default})}}));n(dP),dP.render,dP.parse;var AP=GI,pP=r((function(t,n){var r=e&&e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.render=n.parse=void 0,Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return AP.parseDocument}}),Object.defineProperty(n,"render",{enumerable:!0,get:function(){return r(eI).default}})}));n(pP),pP.render,pP.parse;var gP=RI,mP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.merge=e.contains=e.root=e.parseHTML=e.text=e.xml=e.html=void 0;var n=qS.__importStar(VS);function r(t,e,n){var r,i=e?"string"==typeof e?gP.select(e,null!==(r=null==t?void 0:t._root)&&void 0!==r?r:[],n):e:null==t?void 0:t._root.children;return i?n.xmlMode||n._useHtmlParser2?pP.render(i,n):dP.render(i):""}function i(t){if(Array.isArray(t))return!0;if("object"!=typeof t||!Object.prototype.hasOwnProperty.call(t,"length")||"number"!=typeof t.length||t.length<0)return!1;for(var e=0;e<t.length;e++)if(!(e in t))return!1;return!0}e.html=function(t,e){return!e&&function(t){return"object"==typeof t&&null!=t&&!("length"in t)&&!("type"in t)}(t)&&(e=t,t=void 0),r(this||void 0,t,qS.__assign(qS.__assign(qS.__assign({},n.default),this?this._options:{}),n.flatten(null!=e?e:{})))},e.xml=function(t){return r(this,t,qS.__assign(qS.__assign({},this._options),{xmlMode:!0}))},e.text=function t(e){for(var n=e||(this?this.root():[]),r="",i=0;i<n.length;i++){var a=n[i];AP.DomUtils.isText(a)?r+=a.data:AP.DomUtils.hasChildren(a)&&a.type!==AP.ElementType.Comment&&a.type!==AP.ElementType.Script&&a.type!==AP.ElementType.Style&&(r+=t(a.children))}return r},e.parseHTML=function(t,e,r){if(void 0===r&&(r="boolean"==typeof e&&e),!t||"string"!=typeof t)return null;"boolean"==typeof e&&(r=e);var i=this.load(t,n.default,!1);return r||i("script").remove(),i.root()[0].children.slice()},e.root=function(){return this(this._root)},e.contains=function(t,e){if(e===t)return!1;for(var n=e;n&&n!==n.parent;)if((n=n.parent)===t)return!0;return!1},e.merge=function(t,e){if(i(t)&&i(e)){for(var n=t.length,r=+e.length,a=0;a<r;a++)t[n++]=e[a];return t.length=n,t}}}));n(mP),mP.merge,mP.contains,mP.root,mP.parseHTML,mP.text,mP.xml,mP.html;var bP=r((function(t,e){function n(t,e){var n=Array.isArray(t)?t:[t];e?e.children=n:e=null;for(var r=0;r<n.length;r++){var i=n[r];i.parent&&i.parent.children!==n&&AP.DomUtils.removeElement(i),e?(i.prev=n[r-1]||null,i.next=n[r+1]||null):i.prev=i.next=null,i.parent=e}return e}Object.defineProperty(e,"__esModule",{value:!0}),e.update=void 0,e.default=function(t,e,r){if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)&&(t=t.toString()),"string"==typeof t)return e.xmlMode||e._useHtmlParser2?pP.parse(t,e):dP.parse(t,e,r);var i=t;if(!Array.isArray(i)&&tI.isDocument(i))return i;var a=new tI.Document([]);return n(i,a),a},e.update=n}));n(bP),bP.update;var vP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isHtml=e.cloneDom=e.domEach=e.cssCase=e.camelCase=e.isCheerio=e.isTag=void 0,e.isTag=AP.DomUtils.isTag,e.isCheerio=function(t){return null!=t.cheerio},e.camelCase=function(t){return t.replace(/[_.-](\w|$)/g,(function(t,e){return e.toUpperCase()}))},e.cssCase=function(t){return t.replace(/[A-Z]/g,"-$&").toLowerCase()},e.domEach=function(t,e){for(var n=t.length,r=0;r<n;r++)e(t[r],r);return t},e.cloneDom=function(t){var e="length"in t?Array.prototype.map.call(t,(function(t){return tI.cloneNode(t,!0)})):[tI.cloneNode(t,!0)],n=new tI.Document(e);return e.forEach((function(t){t.parent=n})),e};var n=/<[a-zA-Z][^]*>/;e.isHtml=function(t){return n.test(t)}}));n(vP),vP.isHtml,vP.cloneDom,vP.domEach,vP.cssCase,vP.camelCase,vP.isCheerio,vP.isTag;var yP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.toggleClass=e.removeClass=e.addClass=e.hasClass=e.removeAttr=e.val=e.data=e.prop=e.attr=void 0;var n=Object.prototype.hasOwnProperty,r=/\s+/,i="data-",a={null:null,true:!0,false:!1},o=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,s=/^{[^]*}$|^\[[^]*]$/;function c(t,e,r){var i;if(t&&vP.isTag(t))return null!==(i=t.attribs)&&void 0!==i||(t.attribs={}),e?n.call(t.attribs,e)?!r&&o.test(e)?e:t.attribs[e]:"option"===t.name&&"value"===e?mP.text(t.children):"input"!==t.name||"radio"!==t.attribs.type&&"checkbox"!==t.attribs.type||"value"!==e?void 0:"on":t.attribs}function l(t,e,n){null===n?A(t,e):t.attribs[e]=""+n}function u(t,e,n){if(t&&vP.isTag(t))return e in t?t[e]:!n&&o.test(e)?void 0!==c(t,e,!1):c(t,e,n)}function h(t,e,n,r){e in t?t[e]=n:l(t,e,!r&&o.test(e)?n?"":null:""+n)}function f(t,e,n){var r,i=t;null!==(r=i.data)&&void 0!==r||(i.data={}),"object"==typeof e?Object.assign(i.data,e):"string"==typeof e&&void 0!==n&&(i.data[e]=n)}function d(t,e){var r,o,c;null==e?o=(r=Object.keys(t.attribs).filter((function(t){return t.startsWith(i)}))).map((function(t){return vP.camelCase(t.slice(i.length))})):(r=[i+vP.cssCase(e)],o=[e]);for(var l=0;l<r.length;++l){var u=r[l],h=o[l];if(n.call(t.attribs,u)&&!n.call(t.data,h)){if(c=t.attribs[u],n.call(a,c))c=a[c];else if(c===String(Number(c)))c=Number(c);else if(s.test(c))try{c=JSON.parse(c)}catch(t){}t.data[h]=c}}return null==e?t.data:c}function A(t,e){t.attribs&&n.call(t.attribs,e)&&delete t.attribs[e]}function p(t){return t?t.trim().split(r):[]}e.attr=function(t,e){if("object"==typeof t||void 0!==e){if("function"==typeof e){if("string"!=typeof t)throw new Error("Bad combination of arguments.");return vP.domEach(this,(function(n,r){vP.isTag(n)&&l(n,t,e.call(n,r,n.attribs[t]))}))}return vP.domEach(this,(function(n){vP.isTag(n)&&("object"==typeof t?Object.keys(t).forEach((function(e){var r=t[e];l(n,e,r)})):l(n,t,e))}))}return arguments.length>1?this:c(this[0],t,this.options.xmlMode)},e.prop=function(t,e){var n=this;if("string"==typeof t&&void 0===e)switch(t){case"style":var r=this.css(),i=Object.keys(r);return i.forEach((function(t,e){r[e]=t})),r.length=i.length,r;case"tagName":case"nodeName":var a=this[0];return vP.isTag(a)?a.name.toUpperCase():void 0;case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return u(this[0],t,this.options.xmlMode)}if("object"==typeof t||void 0!==e){if("function"==typeof e){if("object"==typeof t)throw new Error("Bad combination of arguments.");return vP.domEach(this,(function(r,i){vP.isTag(r)&&h(r,t,e.call(r,i,u(r,t,n.options.xmlMode)),n.options.xmlMode)}))}return vP.domEach(this,(function(r){vP.isTag(r)&&("object"==typeof t?Object.keys(t).forEach((function(e){var i=t[e];h(r,e,i,n.options.xmlMode)})):h(r,t,e,n.options.xmlMode))}))}},e.data=function(t,e){var r,i=this[0];if(i&&vP.isTag(i)){var a=i;return null!==(r=a.data)&&void 0!==r||(a.data={}),t?"object"==typeof t||void 0!==e?(vP.domEach(this,(function(n){vP.isTag(n)&&("object"==typeof t?f(n,t):f(n,t,e))})),this):n.call(a.data,t)?a.data[t]:d(a,t):d(a)}},e.val=function(t){var e=0===arguments.length,n=this[0];if(!n||!vP.isTag(n))return e?void 0:this;switch(n.name){case"textarea":return this.text(t);case"select":var r=this.find("option:selected");if(!e){if(null==this.attr("multiple")&&"object"==typeof t)return this;this.find("option").removeAttr("selected");for(var i="object"!=typeof t?[t]:t,a=0;a<i.length;a++)this.find('option[value="'+i[a]+'"]').attr("selected","");return this}return this.attr("multiple")?r.toArray().map((function(t){return mP.text(t.children)})):r.attr("value");case"input":case"option":return e?this.attr("value"):this.attr("value",t)}},e.removeAttr=function(t){for(var e=p(t),n=function(t){vP.domEach(r,(function(n){vP.isTag(n)&&A(n,e[t])}))},r=this,i=0;i<e.length;i++)n(i);return this},e.hasClass=function(t){return this.toArray().some((function(e){var n=vP.isTag(e)&&e.attribs.class,i=-1;if(n&&t.length)for(;(i=n.indexOf(t,i+1))>-1;){var a=i+t.length;if((0===i||r.test(n[i-1]))&&(a===n.length||r.test(n[a])))return!0}return!1}))},e.addClass=function t(e){if("function"==typeof e)return vP.domEach(this,(function(n,r){if(vP.isTag(n)){var i=n.attribs.class||"";t.call([n],e.call(n,r,i))}}));if(!e||"string"!=typeof e)return this;for(var n=e.split(r),i=this.length,a=0;a<i;a++){var o=this[a];if(vP.isTag(o)){var s=c(o,"class",!1);if(s){for(var u=" "+s+" ",h=0;h<n.length;h++){var f=n[h]+" ";u.includes(" "+f)||(u+=f)}l(o,"class",u.trim())}else l(o,"class",n.join(" ").trim())}}return this},e.removeClass=function t(e){if("function"==typeof e)return vP.domEach(this,(function(n,r){vP.isTag(n)&&t.call([n],e.call(n,r,n.attribs.class||""))}));var n=p(e),r=n.length,i=0===arguments.length;return vP.domEach(this,(function(t){if(vP.isTag(t))if(i)t.attribs.class="";else{for(var e=p(t.attribs.class),a=!1,o=0;o<r;o++){var s=e.indexOf(n[o]);s>=0&&(e.splice(s,1),a=!0,o--)}a&&(t.attribs.class=e.join(" "))}}))},e.toggleClass=function t(e,n){if("function"==typeof e)return vP.domEach(this,(function(r,i){vP.isTag(r)&&t.call([r],e.call(r,i,r.attribs.class||"",n),n)}));if(!e||"string"!=typeof e)return this;for(var i=e.split(r),a=i.length,o="boolean"==typeof n?n?1:-1:0,s=this.length,c=0;c<s;c++){var l=this[c];if(vP.isTag(l)){for(var u=p(l.attribs.class),h=0;h<a;h++){var f=u.indexOf(i[h]);o>=0&&f<0?u.push(i[h]):o<=0&&f>=0&&u.splice(f,1)}l.attribs.class=u.join(" ")}}return this}}));n(yP),yP.toggleClass,yP.removeClass,yP.addClass,yP.hasClass,yP.removeAttr,yP.val,yP.data,yP.prop,yP.attr;var wP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.addBack=e.add=e.end=e.slice=e.index=e.toArray=e.get=e.eq=e.last=e.first=e.has=e.not=e.is=e.filterArray=e.filter=e.map=e.each=e.contents=e.children=e.siblings=e.prevUntil=e.prevAll=e.prev=e.nextUntil=e.nextAll=e.next=e.closest=e.parentsUntil=e.parents=e.parent=e.find=void 0;var n=qS.__importStar(gP),r=AP.DomUtils.uniqueSort,i=/^\s*[~+]/;function a(t){return function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return function(r){var i,a=t(e,this);return r&&(a=h(a,r,this.options.xmlMode,null===(i=this._root)||void 0===i?void 0:i[0])),this._make(this.length>1&&a.length>1?n.reduce((function(t,e){return e(t)}),a):a)}}}e.find=function(t){var e;if(!t)return this._make([]);var r=this.toArray();if("string"!=typeof t){var a=vP.isCheerio(t)?t.toArray():[t];return this._make(a.filter((function(t){return r.some((function(e){return mP.contains(e,t)}))})))}var o=i.test(t)?r:this.children().toArray(),s={context:r,root:null===(e=this._root)||void 0===e?void 0:e[0],xmlMode:this.options.xmlMode};return this._make(n.select(t,o,s))};var o=a((function(t,e){for(var n,r=[],i=0;i<e.length;i++){var a=t(e[i]);r.push(a)}return(n=new Array).concat.apply(n,r)})),s=a((function(t,e){for(var n=[],r=0;r<e.length;r++){var i=t(e[r]);null!==i&&n.push(i)}return n}));function c(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i=null,o=a((function(t,e){var n=[];return vP.domEach(e,(function(e){for(var r;(r=t(e))&&!(null==i?void 0:i(r,n.length));e=r)n.push(r)})),n})).apply(void 0,qS.__spreadArray([t],e));return function(t,e){var r=this;i="string"==typeof t?function(e){return n.is(e,t,r.options)}:t?u(t):null;var a=o.call(this,e);return i=null,a}}function l(t){return Array.from(new Set(t))}function u(t){return"function"==typeof t?function(e,n){return t.call(e,n,e)}:vP.isCheerio(t)?function(e){return Array.prototype.includes.call(t,e)}:function(e){return t===e}}function h(t,e,r,i){return"string"==typeof e?n.filter(e,t,{xmlMode:r,root:i}):t.filter(u(e))}e.parent=s((function(t){var e=t.parent;return e&&!tI.isDocument(e)?e:null}),l),e.parents=o((function(t){for(var e=[];t.parent&&!tI.isDocument(t.parent);)e.push(t.parent),t=t.parent;return e}),r,(function(t){return t.reverse()})),e.parentsUntil=c((function(t){var e=t.parent;return e&&!tI.isDocument(e)?e:null}),r,(function(t){return t.reverse()})),e.closest=function(t){var e=this,n=[];return t?(vP.domEach(this,(function(r){for(var i;r&&"root"!==r.type;){if(!t||h([r],t,e.options.xmlMode,null===(i=e._root)||void 0===i?void 0:i[0]).length){r&&!n.includes(r)&&n.push(r);break}r=r.parent}})),this._make(n)):this._make(n)},e.next=s((function(t){return AP.DomUtils.nextElementSibling(t)})),e.nextAll=o((function(t){for(var e=[];t.next;)t=t.next,vP.isTag(t)&&e.push(t);return e}),l),e.nextUntil=c((function(t){return AP.DomUtils.nextElementSibling(t)}),l),e.prev=s((function(t){return AP.DomUtils.prevElementSibling(t)})),e.prevAll=o((function(t){for(var e=[];t.prev;)t=t.prev,vP.isTag(t)&&e.push(t);return e}),l),e.prevUntil=c((function(t){return AP.DomUtils.prevElementSibling(t)}),l),e.siblings=o((function(t){return AP.DomUtils.getSiblings(t).filter((function(e){return vP.isTag(e)&&e!==t}))}),r),e.children=o((function(t){return AP.DomUtils.getChildren(t).filter(vP.isTag)}),l),e.contents=function(){var t=this.toArray().reduce((function(t,e){return tI.hasChildren(e)?t.concat(e.children):t}),[]);return this._make(t)},e.each=function(t){for(var e=0,n=this.length;e<n&&!1!==t.call(this[e],e,this[e]);)++e;return this},e.map=function(t){for(var e=[],n=0;n<this.length;n++){var r=this[n],i=t.call(r,n,r);null!=i&&(e=e.concat(i))}return this._make(e)},e.filter=function(t){var e;return this._make(h(this.toArray(),t,this.options.xmlMode,null===(e=this._root)||void 0===e?void 0:e[0]))},e.filterArray=h,e.is=function(t){var e=this.toArray();return"string"==typeof t?n.some(e.filter(vP.isTag),t,this.options):!!t&&e.some(u(t))},e.not=function(t){var e=this.toArray();if("string"==typeof t){var r=new Set(n.filter(t,e,this.options));e=e.filter((function(t){return!r.has(t)}))}else{var i=u(t);e=e.filter((function(t,e){return!i(t,e)}))}return this._make(e)},e.has=function(t){var e=this;return this.filter("string"==typeof t?":has("+t+")":function(n,r){return e._make(r).find(t).length>0})},e.first=function(){return this.length>1?this._make(this[0]):this},e.last=function(){return this.length>0?this._make(this[this.length-1]):this},e.eq=function(t){var e;return 0===(t=+t)&&this.length<=1?this:(t<0&&(t=this.length+t),this._make(null!==(e=this[t])&&void 0!==e?e:[]))},e.get=function(t){return null==t?this.toArray():this[t<0?this.length+t:t]},e.toArray=function(){return Array.prototype.slice.call(this)},e.index=function(t){var e,n;return null==t?(e=this.parent().children(),n=this[0]):"string"==typeof t?(e=this._make(t),n=this[0]):(e=this,n=vP.isCheerio(t)?t[0]:t),Array.prototype.indexOf.call(e,n)},e.slice=function(t,e){return this._make(Array.prototype.slice.call(this,t,e))},e.end=function(){var t;return null!==(t=this.prevObject)&&void 0!==t?t:this._make([])},e.add=function(t,e){var n=this._make(t,e),i=r(qS.__spreadArray(qS.__spreadArray([],this.get()),n.get()));return this._make(i)},e.addBack=function(t){return this.prevObject?this.add(t?this.prevObject.filter(t):this.prevObject):this}}));n(wP),wP.addBack,wP.add,wP.end,wP.slice,wP.index,wP.toArray,wP.get,wP.eq,wP.last,wP.first,wP.has,wP.not,wP.is,wP.filterArray,wP.filter,wP.map,wP.each,wP.contents,wP.children,wP.siblings,wP.prevUntil,wP.prevAll,wP.prev,wP.nextUntil,wP.nextAll,wP.next,wP.closest,wP.parentsUntil,wP.parents,wP.parent,wP.find;var TP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.clone=e.text=e.toString=e.html=e.empty=e.replaceWith=e.remove=e.insertBefore=e.before=e.insertAfter=e.after=e.wrapAll=e.unwrap=e.wrapInner=e.wrap=e.prepend=e.append=e.prependTo=e.appendTo=e._makeDomArray=void 0;var n=tI,r=qS.__importStar(bP);function i(t){return function(){for(var e=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=this.length-1;return vP.domEach(this,(function(r,a){if(tI.hasChildren(r)){var o="function"==typeof n[0]?n[0].call(r,a,mP.html(r.children)):n,s=e._makeDomArray(o,a<i);t(s,r.children,r)}}))}}function a(t,e,n,r,i){for(var a,o,s=qS.__spreadArray([e,n],r),c=t[e-1]||null,l=t[e+n]||null,u=0;u<r.length;++u){var h=r[u],f=h.parent;if(f){var d=f.children.indexOf(r[u]);d>-1&&(f.children.splice(d,1),i===f&&e>d&&s[0]--)}h.parent=i,h.prev&&(h.prev.next=null!==(a=h.next)&&void 0!==a?a:null),h.next&&(h.next.prev=null!==(o=h.prev)&&void 0!==o?o:null),h.prev=r[u-1]||c,h.next=r[u+1]||l}return c&&(c.next=r[0]),l&&(l.prev=r[r.length-1]),t.splice.apply(t,s)}function o(t){return function(e){for(var n=this.length-1,r=this.parents().last(),i=0;i<this.length;i++){var a=this[i],o="function"==typeof e?e.call(a,i,a):"string"!=typeof e||vP.isHtml(e)?e:r.find(e).clone(),s=this._makeDomArray(o,i<n)[0];if(s&&AP.DomUtils.hasChildren(s)){for(var c=s,l=0;l<c.children.length;){var u=c.children[l];vP.isTag(u)?(c=u,l=0):l++}t(a,c,[s])}}return this}}e._makeDomArray=function(t,e){var n=this;return null==t?[]:vP.isCheerio(t)?e?vP.cloneDom(t.get()):t.get():Array.isArray(t)?t.reduce((function(t,r){return t.concat(n._makeDomArray(r,e))}),[]):"string"==typeof t?r.default(t,this.options,!1).children:e?vP.cloneDom([t]):[t]},e.appendTo=function(t){return(vP.isCheerio(t)?t:this._make(t)).append(this),this},e.prependTo=function(t){return(vP.isCheerio(t)?t:this._make(t)).prepend(this),this},e.append=i((function(t,e,n){a(e,e.length,0,t,n)})),e.prepend=i((function(t,e,n){a(e,0,0,t,n)})),e.wrap=o((function(t,e,n){var i=t.parent;if(i){var o=i.children,s=o.indexOf(t);r.update([t],e),a(o,s,0,n,i)}})),e.wrapInner=o((function(t,e,n){tI.hasChildren(t)&&(r.update(t.children,e),r.update(n,t))})),e.unwrap=function(t){var e=this;return this.parent(t).not("body").each((function(t,n){e._make(n).replaceWith(n.children)})),this},e.wrapAll=function(t){var e=this[0];if(e){for(var n=this._make("function"==typeof t?t.call(e,0,e):t).insertBefore(e),r=void 0,i=0;i<n.length;i++)"tag"===n[i].type&&(r=n[i]);for(var a=0;r&&a<r.children.length;){var o=r.children[a];"tag"===o.type?(r=o,a=0):a++}r&&this._make(r).append(this)}return this},e.after=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this.length-1;return vP.domEach(this,(function(n,i){var o=n.parent;if(AP.DomUtils.hasChildren(n)&&o){var s=o.children,c=s.indexOf(n);if(!(c<0)){var l="function"==typeof e[0]?e[0].call(n,i,mP.html(n.children)):e;a(s,c+1,0,t._makeDomArray(l,i<r),o)}}}))},e.insertAfter=function(t){var e=this;"string"==typeof t&&(t=this._make(t)),this.remove();var n=[];return this._makeDomArray(t).forEach((function(t){var r=e.clone().toArray(),i=t.parent;if(i){var o=i.children,s=o.indexOf(t);s<0||(a(o,s+1,0,r,i),n.push.apply(n,r))}})),this._make(n)},e.before=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this.length-1;return vP.domEach(this,(function(n,i){var o=n.parent;if(AP.DomUtils.hasChildren(n)&&o){var s=o.children,c=s.indexOf(n);if(!(c<0)){var l="function"==typeof e[0]?e[0].call(n,i,mP.html(n.children)):e;a(s,c,0,t._makeDomArray(l,i<r),o)}}}))},e.insertBefore=function(t){var e=this,n=this._make(t);this.remove();var r=[];return vP.domEach(n,(function(t){var n=e.clone().toArray(),i=t.parent;if(i){var o=i.children,s=o.indexOf(t);s<0||(a(o,s,0,n,i),r.push.apply(r,n))}})),this._make(r)},e.remove=function(t){var e=t?this.filter(t):this;return vP.domEach(e,(function(t){AP.DomUtils.removeElement(t),t.prev=t.next=t.parent=null})),this},e.replaceWith=function(t){var e=this;return vP.domEach(this,(function(n,i){var o=n.parent;if(o){var s=o.children,c="function"==typeof t?t.call(n,i,n):t,l=e._makeDomArray(c);r.update(l,null);var u=s.indexOf(n);a(s,u,1,l,o),l.includes(n)||(n.parent=n.prev=n.next=null)}}))},e.empty=function(){return vP.domEach(this,(function(t){AP.DomUtils.hasChildren(t)&&(t.children.forEach((function(t){t.next=t.prev=t.parent=null})),t.children.length=0)}))},e.html=function(t){if(void 0===t){var e=this[0];return e&&AP.DomUtils.hasChildren(e)?mP.html(e.children,this.options):null}var n=qS.__assign(qS.__assign({},this.options),{context:null});return vP.domEach(this,(function(e){if(AP.DomUtils.hasChildren(e)){e.children.forEach((function(t){t.next=t.prev=t.parent=null})),n.context=e;var i=vP.isCheerio(t)?t.toArray():r.default(""+t,n,!1).children;r.update(i,e)}}))},e.toString=function(){return mP.html(this,this.options)},e.text=function t(e){var i=this;return void 0===e?mP.text(this):"function"==typeof e?vP.domEach(this,(function(n,r){t.call(i._make(n),e.call(n,r,mP.text([n])))})):vP.domEach(this,(function(t){if(AP.DomUtils.hasChildren(t)){t.children.forEach((function(t){t.next=t.prev=t.parent=null}));var i=new n.Text(e);r.update(i,t)}}))},e.clone=function(){return this._make(vP.cloneDom(this.get()))}}));n(TP),TP.clone,TP.text,TP.html,TP.empty,TP.replaceWith,TP.remove,TP.insertBefore,TP.before,TP.insertAfter,TP.after,TP.wrapAll,TP.unwrap,TP.wrapInner,TP.wrap,TP.prepend,TP.append,TP.prependTo,TP.appendTo,TP._makeDomArray;var kP=r((function(t,e){function n(t,e,i,a){if("string"==typeof e){var o=r(t),s="function"==typeof i?i.call(t,a,o[e]):i;""===s?delete o[e]:null!=s&&(o[e]=s),t.attribs.style=(c=o,Object.keys(c).reduce((function(t,e){return t+(t?" ":"")+e+": "+c[e]+";"}),""))}else"object"==typeof e&&Object.keys(e).forEach((function(r,i){n(t,r,e[r],i)}));var c}function r(t,e){if(t&&vP.isTag(t)){var n=function(t){return t=(t||"").trim(),t?t.split(";").reduce((function(t,e){var n=e.indexOf(":");return n<1||n===e.length-1||(t[e.slice(0,n).trim()]=e.slice(n+1).trim()),t}),{}):{}}(t.attribs.style);if("string"==typeof e)return n[e];if(Array.isArray(e)){var r={};return e.forEach((function(t){null!=n[t]&&(r[t]=n[t])})),r}return n}}Object.defineProperty(e,"__esModule",{value:!0}),e.css=void 0,e.css=function(t,e){return null!=t&&null!=e||"object"==typeof t&&!Array.isArray(t)?vP.domEach(this,(function(r,i){vP.isTag(r)&&n(r,t,e,i)})):r(this[0],t)}}));n(kP),kP.css;var CP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.serializeArray=e.serialize=void 0;var n="input,select,textarea,keygen",r=/%20/g,i=/\r?\n/g;e.serialize=function(){var t=this.serializeArray().map((function(t){return encodeURIComponent(t.name)+"="+encodeURIComponent(t.value)}));return t.join("&").replace(r,"+")},e.serializeArray=function(){var t=this;return this.map((function(e,r){var i=t._make(r);return vP.isTag(r)&&"form"===r.name?i.find(n).toArray():i.filter(n).toArray()})).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((function(e,n){var r,a=t._make(n),o=a.attr("name"),s=null!==(r=a.val())&&void 0!==r?r:"";return Array.isArray(s)?s.map((function(t){return{name:o,value:t.replace(i,"\r\n")}})):{name:o,value:s.replace(i,"\r\n")}})).toArray()}}));n(CP),CP.serializeArray,CP.serialize;var EP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Cheerio=void 0;var n=qS.__importDefault(bP),r=qS.__importDefault(VS),i=qS.__importStar(yP),a=qS.__importStar(wP),o=qS.__importStar(TP),s=qS.__importStar(kP),c=qS.__importStar(CP),l=function(){function t(t,e,i,a){var o=this;if(void 0===a&&(a=r.default),this.length=0,this.options=a,!t)return this;if(i&&("string"==typeof i&&(i=n.default(i,this.options,!1)),this._root=new this.constructor(i,null,null,this.options),this._root._root=this._root),vP.isCheerio(t))return t;var s,c="string"==typeof t&&vP.isHtml(t)?n.default(t,this.options,!1).children:(s=t).name||"root"===s.type||"text"===s.type||"comment"===s.type?[t]:Array.isArray(t)?t:null;if(c)return c.forEach((function(t,e){o[e]=t})),this.length=c.length,this;var l=t,u=e?"string"==typeof e?vP.isHtml(e)?this._make(n.default(e,this.options,!1)):(l=e+" "+l,this._root):vP.isCheerio(e)?e:this._make(e):this._root;return u?u.find(l):this}return t.prototype._make=function(t,e){var n=new this.constructor(t,e,this._root,this.options);return n.prevObject=this,n},t}();e.Cheerio=l,l.prototype.cheerio="[cheerio object]",l.prototype.splice=Array.prototype.splice,l.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(l.prototype,i,a,o,s,c)}));n(EP),EP.Cheerio;var xP=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.load=void 0;var n=qS.__importStar(VS),r=qS.__importStar(mP),i=qS.__importDefault(bP);e.load=function t(e,a,o){if(void 0===o&&(o=!0),null==e)throw new Error("cheerio.load() expects a string");var s=qS.__assign(qS.__assign({},n.default),n.flatten(a)),c=i.default(e,s,o),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return qS.__extends(e,t),e}(EP.Cheerio);function u(t,e,r,i){return void 0===r&&(r=c),new l(t,e,r,qS.__assign(qS.__assign({},s),n.flatten(i)))}return Object.assign(u,r,{load:t,_root:c,_options:s,fn:l.prototype,prototype:l.prototype}),u}}));n(xP),xP.load;var _P=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.root=e.parseHTML=e.merge=e.contains=void 0,qS.__exportStar(zS,e),qS.__exportStar(xP,e);var n=xP;e.default=n.load([]);var r=qS.__importStar(mP);e.contains=r.contains,e.merge=r.merge,e.parseHTML=r.parseHTML,e.root=r.root}));n(_P),_P.root,_P.parseHTML,_P.merge,_P.contains;var BP=r((function(t,e){function n(t){var e=[].slice.call(arguments,1);e.unshift("["+t+"]"),process.stderr.write(e.join(" ")+"\n")}t.exports=function(t){return n.bind(null,t)}})),SP=r((function(t,e){BP("lex"),t.exports=function(t){var e,n="",r=0,i=-1,a=0,o=1,s="before-selector",c=[s],l={},u=[],h=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function f(t){return t?c[c.length-1-t]:s}function d(e){var n=i+1;return e===t.slice(n,n+e.length)}function A(e){var n=t.slice(i).indexOf(e);return n>0&&n}function p(t){return t===g(1)}function g(e){return t[i+(e||1)]}function m(){var t=c.pop();return s=c[c.length-1],t}function b(t){return s=t,c.push(s),c.length}function v(t){var e=s;return c[c.length-1]=s=t,e}function y(e){if(1==(e||1))"\n"==t[i]?(o++,r=1):r++,i++;else{var n=t.slice(i,i+e).split("\n");n.length>1&&(o+=n.length-1,r=1),r+=n[n.length-1].length,i+=e}}function w(){l.end={line:o,col:r},u.push(l),n="",l={}}function T(t){l={type:t,start:{line:o,col:r}}}for(;y(),e=t[i];)switch(e){case" ":switch(f()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":n+=e}break;case"\n":case"\t":case"\r":case"\f":switch(f()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":n+=e;break;case"at-value":"\n"===e&&(l.value=n.trim(),w(),m())}break;case":":switch(f()){case"name":l.name=n.trim(),n="",v("before-value");break;case"before-selector":n+=e,T("selector"),b("selector");break;case"before-value":v("value"),n+=e;break;default:n+=e}break;case";":switch(f()){case"name":case"before-value":case"value":n.trim().length>0&&(l.value=n.trim(),w()),v("before-name");break;case"value-paren":default:n+=e;break;case"at-value":l.value=n.trim(),w(),m();case"before-name":}break;case"{":switch(f()){case"selector":if("\\"===g(-1)){n+=e;break}l.text=n.trim(),w(),v("before-name"),a+=1;break;case"at-group":switch(l.name=n.trim(),l.type){case"font-face":case"viewport":case"page":b("before-name");break;default:b("before-selector")}w(),a+=1;break;case"name":case"at-rule":l.name=n.trim(),w(),b("before-name"),a+=1;break;case"comment":case"double-string":case"single-string":n+=e;break;case"before-value":v("value"),n+=e}break;case"}":switch(f()){case"before-name":case"name":case"before-value":case"value":n&&(l.value=n.trim()),l.name&&l.value&&w(),T("end"),w(),m(),"at-group"===f()&&(T("at-group-end"),w(),m()),a>0&&(a-=1);break;case"at-group":case"before-selector":case"selector":if("\\"===g(-1)){n+=e;break}a>0&&"at-group"===f(1)&&(T("at-group-end"),w()),a>1&&m(),a>0&&(a-=1);break;case"double-string":case"single-string":case"comment":n+=e}break;case'"':case"'":switch(f()){case"double-string":'"'===e&&"\\"!==g(-1)&&m();break;case"single-string":"'"===e&&"\\"!==g(-1)&&m();break;case"before-at-value":v("at-value"),b('"'===e?"double-string":"single-string");break;case"before-value":v("value"),b('"'===e?"double-string":"single-string");break;case"comment":break;default:"\\"!==g(-1)&&b('"'===e?"double-string":"single-string")}n+=e;break;case"/":switch(f()){case"comment":case"double-string":case"single-string":n+=e;break;case"before-value":case"selector":case"name":case"value":if(p("*")){var k=A("*/");k&&y(k+1)}else"before-value"==f()&&v("value"),n+=e;break;default:p("*")?(T("comment"),b("comment"),y()):n+=e}break;case"*":switch(f()){case"comment":p("/")?(l.text=n,y(),w(),m()):n+=e;break;case"before-selector":n+=e,T("selector"),b("selector");break;case"before-value":v("value"),n+=e;break;default:n+=e}break;case"@":switch(f()){case"comment":case"double-string":case"single-string":n+=e;break;case"before-value":v("value"),n+=e;break;default:for(var C,E,x=!1,_=0,B=h.length;!x&&_<B;++_)d(C=(E=h[_]).name||E)&&(x=!0,T(C),b(E.state||"at-group"),y(C.length),E.prefix&&(l.prefix=E.prefix),E.type&&(l.type=E.type));x||(n+=e)}break;case"(":switch(f()){case"value":b("value-paren");break;case"before-value":v("value")}n+=e;break;case")":switch(f()){case"value-paren":m();break;case"before-value":v("value")}n+=e;break;default:switch(f()){case"before-selector":T("selector"),b("selector");break;case"before-name":T("property"),v("name");break;case"before-value":v("value");break;case"before-at-value":v("at-value")}n+=e}return u}})),LP=r((function(t,e){var n,r,i,a;function o(t,e){var n;e||(e={});for(var r=["type","name","value"],a={},o=0;o<r.length;++o)t[n=r[o]]&&(a[n]=e[n]||t[n]);for(r=Object.keys(e),o=0;o<r.length;++o)a[n=r[o]]||(a[n]=e[n]);return i&&(a.position={start:t.start,end:t.end}),a}function s(){return a.shift()}function c(t){r+=1;var e={};switch(t.type){case"font-face":case"viewport":e.declarations=h();break;case"page":e.prefix=t.prefix,e.declarations=h();break;default:e.prefix=t.prefix,e.rules=u((function(){return r}))}return o(t,e)}function l(t){switch(t.type){case"property":case"charset":case"import":case"namespace":return function(t){return o(t)}(t);case"selector":return function(t){return o(t,{type:"rule",selectors:t.text.split(",").map((function(t){return t.trim()})),declarations:h()})}(t);case"at-group-end":return void(r-=1);case"media":case"keyframes":case"font-face":case"supports":case"viewport":case"document":case"page":return c(t);case"comment":if(n)return function(t){return o(t,{text:t.text})}(t)}}function u(t){for(var e,n,r=[];(n=s())&&t&&t(n);)(e=l(n))&&r.push(e);return n&&"end"!==n.type&&a.unshift(n),r}function h(){return u((function(t){return"property"===t.type||"comment"===t.type}))}BP("parse"),t.exports=function(t,e){var o;e||(e={}),n=!!e.comments,i=!!e.position,r=0,a=Array.isArray(t)?t.slice():SP(t);var c,u=[];for(;c=s();)(o=l(c))&&u.push(o);return{type:"stylesheet",stylesheet:{rules:u}}}})),IP=r((function(t,e){var n,r,i,a,o,s;function c(t){if(!t)return r?"":Array(a).join(i||"");a+=t}function l(t){var e="",n=t.prefix||"";t.name&&(e=" "+t.name);var r="page"!==t.type;return"@"+n+t.type+e+s+d(t,r)+o}function u(t){return n?"/*"+(t.text||"")+"*/"+o:""}function h(t){var e;return t.selectors?e=t.selectors.join(","+o):(e="@"+t.type,e+=t.name?" "+t.name:""),c()+e+s+d(t)+o}function f(t,e){return t.reduce((function(t,n){var r="comment"===n.type?u(n):e(n);return r&&t.push(r),t}),[])}function d(t,e){var n=t.declarations,r=A;return t.rules&&(n=t.rules,r=h),n=function(t,e){if(!t)return"";c(1);var n=f(t,e);if(c(-1),!n.length)return"";return n.join(o)}(n,r),n&&(n=o+n+(e?"":o)),"{"+n+c()+"}"}function A(t){if("property"===t.type)return function(t){var e=t.name?t.name+":"+s:"";return c()+e+t.value+";"}(t)}function p(t){switch(t.type){case"rule":return h(t);case"media":case"keyframes":case"font-face":case"supports":case"viewport":case"document":case"page":return l(t);case"comment":return u(t);case"import":case"charset":case"namespace":return function(t){return"@"+t.type+" "+t.value+";"+o}(t)}}BP("stringify"),t.exports=function(t,e){e||(e={}),i=e.indentation||"",r=!!e.compress,n=!!e.comments,a=1,r?o=s="":(o="\n",s=" ");var c=f(t.stylesheet.rules,p).join("\n").trim();return c}})),MP={lex:SP,parse:LP,stringify:IP};MP.lex,MP.parse,MP.stringify;var OP=/([-.*+?^${}()|[\]\/\\])/g,NP=/\\/g,DP=function(t){return(t+"").replace(OP,"\\$1")},FP=function(t){return(t+"").replace(NP,"")},PP=RegExp("^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(/<combinator>/,"["+DP(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),RP=function(t){this.combinator=t||" ",this.tag="*"};RP.prototype.toString=function(){if(!this.raw){var t,e,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(t=0;e=this.attributes[t++];)n+="["+e.name+(e.operator?e.operator+'"'+e.value+'"':"")+"]";if(this.pseudos)for(t=0;e=this.pseudos[t++];)n+=":"+e.name,e.value&&(n+="("+e.value+")");this.raw=n}return this.raw};var QP=function(){this.length=0};QP.prototype.toString=function(){if(!this.raw){for(var t,e="",n=0;t=this[n++];)1!==n&&(e+=" ")," "!==t.combinator&&(e+=t.combinator+" "),e+=t;this.raw=e}return this.raw};var UP=function(t,e,n,r,i,a,o,s,c,l,u,h,f,d,A,p){var g,m;if((e||!this.length)&&(g=this[this.length++]=new QP,e))return"";if(g||(g=this[this.length-1]),(n||r||!g.length)&&(m=g[g.length++]=new RP(n)),m||(m=g[g.length-1]),i)m.tag=FP(i);else if(a)m.id=FP(a);else if(o){var b=FP(o),v=m.classes||(m.classes={});if(!v[b]){v[b]=DP(o);var y=m.classList||(m.classList=[]);y.push(b),y.sort()}}else f?(p=p||A,(m.pseudos||(m.pseudos=[])).push({type:1==h.length?"class":"element",name:FP(f),escapedName:DP(f),value:p?FP(p):null,escapedValue:p?DP(p):null})):s&&(u=u?DP(u):null,(m.attributes||(m.attributes=[])).push({operator:c,name:FP(s),escapedName:DP(s),value:u?FP(u):null,escapedValue:u?DP(u):null}));return""},HP=function(t){this.length=0;for(var e,n=this,r=t;t;){if(e=t.replace(PP,(function(){return UP.apply(n,arguments)})),e===t)throw new Error(r+" is an invalid expression");t=e}};HP.prototype.toString=function(){if(!this.raw){for(var t,e=[],n=0;t=this[n++];)e.push(t);this.raw=e.join(", ")}return this.raw};var jP={},$P=function(t){return null==t?null:(t=(""+t).replace(/^\s+|\s+$/g,""),jP[t]||(jP[t]=new HP(t)))},KP=r((function(t,e){function n(t,e){this.text=t,this.spec=void 0,this.styleAttribute=e||!1}function r(t){try{return $P(t)[0]}catch(t){return[]}}t.exports=n,n.prototype.parsed=function(){return this.tokens||(this.tokens=r(this.text)),this.tokens},n.prototype.specificity=function(){var t=this.styleAttribute;return this.spec||(this.spec=function e(n,i){for(var a=i||r(n),o=[t?1:0,0,0,0],s=[],c=0;c<a.length;c++){var l=a[c],u=l.pseudos;if(l.id&&o[1]++,l.attributes&&(o[2]+=l.attributes.length),l.classList&&(o[2]+=l.classList.length),l.tag&&"*"!==l.tag&&o[3]++,u){o[3]+=u.length;for(var h=0;h<u.length;h++)"not"===u[h].name&&(s.push(u[h].value),o[3]--)}}for(var f=s.length;f--;)for(var d=e(s[f]),A=4;A--;)o[A]+=d[A];return o}(this.text,this.parsed())),this.spec}})),GP=XP,zP=r((function(t,e){function n(t,e,n,r,i){this.prop=t,this.value=e,this.selector=n,this.priority=r||0,this.additionalPriority=i||[]}t.exports=n,n.prototype.compareFunc=function(t){var e=[];e.push.apply(e,this.selector.specificity()),e.push.apply(e,this.additionalPriority),e[0]+=this.priority;var n=[];return n.push.apply(n,t.selector.specificity()),n.push.apply(n,t.additionalPriority),n[0]+=t.priority,GP.compareFunc(e,n)},n.prototype.compare=function(t){return 1===this.compareFunc(t)?this:t},n.prototype.toString=function(){return this.prop+": "+this.value.replace(/['"]+/g,"")+";"}})),XP=r((function(t,e){e.Selector=KP,e.Property=zP,e.extract=function(t){for(var e=0,n=[],r="",i=0,a=t.length;i<a;i++){var o=t.charAt(i);e?("]"!==o&&")"!==o||e--,r+=o):","===o?(n.push(r),r=""):("["!==o&&"("!==o||e++,(r.length||","!==o&&"\n"!==o&&" "!==o)&&(r+=o))}return r.length&&n.push(r),n},e.parseCSS=function(t){for(var e=MP.parse(t,{position:!0,comments:!0}),n=void 0!==e.stylesheet&&e.stylesheet.rules?e.stylesheet.rules:[],r=[],i=0,a=n.length;i<a;i++)if("rule"==n[i].type)for(var o=n[i],s=o.selectors,c=0,l=s.length;c<l;c++)r.push([s[c],o.declarations]);return r},e.getPreservedText=function(t,e,n){for(var r=MP.parse(t,{position:!0,comments:!0}),i=void 0!==r.stylesheet&&r.stylesheet.rules?r.stylesheet.rules:[],a=[],o=i.length-1;o>=0;o--)(e.fontFaces&&"font-face"===i[o].type||e.mediaQueries&&"media"===i[o].type||e.keyFrames&&"keyframes"===i[o].type||e.pseudos&&i[o].selectors&&this.matchesPseudo(i[o].selectors[0],n))&&a.unshift(MP.stringify({stylesheet:{rules:[i[o]]}},{comments:!1,indentation:" "})),i[o].position.start;return 0!==a.length&&"\n"+a.join("\n")+"\n"},e.normalizeLineEndings=function(t){return t.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},e.matchesPseudo=function(t,e){return e.find((function(e){return t.indexOf(e)>-1}))},e.compareFunc=function(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++)if(t[r]!==e[r])return t[r]>e[r]?1:-1;return t.length-e.length},e.compare=function(t,n){return 1==e.compareFunc(t,n)?t:n},e.getDefaultOptions=function(t){var e=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},t);return e.webResources=e.webResources||{},e}}));XP.Selector,XP.Property,XP.extract,XP.parseCSS,XP.getPreservedText,XP.normalizeLineEndings,XP.matchesPseudo,XP.compareFunc,XP.compare,XP.getDefaultOptions;var qP=r((function(t){t.exports=function(e,n,r,i){var a,o=(a=[],{encodeEntities:function(e){var n=t.exports.codeBlocks;return Object.keys(n).forEach((function(t){var r=new RegExp(n[t].start+"([\\S\\s]*?)"+n[t].end,"g");e=e.replace(r,(function(t,e){return a.push(t),"JUICE_CODE_BLOCK_"+(a.length-1)+"_"}))})),e},decodeEntities:function(t){for(var e=0;e<a.length;e++){var n=new RegExp("JUICE_CODE_BLOCK_"+e+'_(="")?',"gi");t=t.replace(n,(function(){return a[e]}))}return t}}),s=function(t,e,n){return e=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},e),t=n(t),_P.load(t,e)}(e,n,o.encodeEntities),c=[s];c.push.apply(c,i);var l=r.apply(void 0,c)||s;return n&&n.xmlMode?o.decodeEntities(l.xml()):o.decodeEntities(l.html())},t.exports.codeBlocks={EJS:{start:"<%",end:"%>"},HBS:{start:"{{",end:"}}"}}}));qP.codeBlocks;var VP=function(t){if(isNaN(t))return NaN;for(var e=String(+t).split(""),n=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],r="",i=3;i--;)r=(n[+e.pop()+10*i]||"")+r;return Array(+e.join("")+1).join("M")+r},WP=function(t){for(var e,n="";t>0;)e=(t-1)%26,n=String.fromCharCode(65+e)+n,t=(t-e)/26|0;return n||void 0},YP=function(t){function e(e,o,s){s=s||{};var c=GP.parseCSS(o),l=[],u="style",h={};if(s.styleAttributeName&&(u=s.styleAttributeName),c.forEach((function(r){var i=r[0],o=r[1],c=new GP.Selector(i),f=c.parsed();if(!f)return;for(var d,A=function(t){if(0===t.length)return;var e=t[t.length-1].pseudos;if(!e)return;for(var n=0;n<e.length;n++)if(a(e[n]))return e[n].name}(f),p=0;p<f.length;++p){var g=f[p];if(g.pseudos)for(var m=0;m<g.pseudos.length;++m){var b=g.pseudos[m];if(t.ignoredPseudos.indexOf(b.name)>=0)return}}if(A){var v=f[f.length-1],y=v.pseudos;v.pseudos=function(t){return t.filter((function(t){return!a(t)}))}(v.pseudos),i=f.toString(),v.pseudos=y}try{d=e(i)}catch(t){return}d.each((function(){var r=this;if(!(r.name&&t.nonVisualElements.indexOf(r.name.toUpperCase())>=0)){if(A){var i="pseudo"+A,a=r[i];a||((a=r[i]=e("<span />").get(0)).pseudoElementType=A,a.pseudoElementParent=r,a.counterProps=r.counterProps,r[i]=a),r=a}if(!r.styleProps){if(r.styleProps={},e(r).attr(u)){var f="* { "+e(r).attr(u)+" } ";g(GP.parseCSS(f)[0][1],new GP.Selector("<style>",!0))}l.push(r)}r.counterProps||(r.counterProps=r.parent&&r.parent.counterProps?Object.create(r.parent.counterProps):{}),g(o,c)}function d(t,e){for(var n=e.split(/\s+/),r=0;r<n.length;r++){var i=n[r],a=parseInt(n[r+1],10);isNaN(a)?t.counterProps[i]=h[i]=0:t.counterProps[i]=h[n[r++]]=a}}function p(t,e){for(var n=e.split(/\s+/),r=0;r<n.length;r++){var i=n[r];if(void 0!==t.counterProps[i]){var a=parseInt(n[r+1],10);isNaN(a)?t.counterProps[i]=h[i]+=1:t.counterProps[i]=h[n[r++]]+=a}}}function g(e,i){for(var a=0,o=e.length;a<o;a++)if("property"==e[a].type){var c=e[a].name,l=e[a].value;"counter-reset"===c&&d(r,l),"counter-increment"===c&&p(r,l);var u=null!==l.match(/!important$/);u&&!s.preserveImportant&&(l=n(l));var h=[e[a].position.start.line,e[a].position.start.col],f=new GP.Property(c,l,i,u?2:0,h),A=r.styleProps[c];t.excludedProperties.indexOf(c)<0&&(A&&A.compare(f)===f||!A)&&(A&&A.selector!==i?delete r.styleProps[c]:A&&(f.nextProp=A),r.styleProps[c]=f)}}}))})),l.forEach((function(t){Object.keys(t.styleProps).length;var n=[];Object.keys(t.styleProps).forEach((function(e){for(var r=t.styleProps[e];void 0!==r;)n.push(r),r=r.nextProp})),n.sort((function(t,e){return t.compareFunc(e)}));var r=n.filter((function(t){return"content"!==t.prop})).map((function(t){return t.prop+": "+t.value.replace(/["]/g,"'")+";"})).join(" ");r&&e(t).attr(u,r)})),s.inlinePseudoElements&&l.forEach((function(t){if(t.pseudoElementType&&t.styleProps.content){var n=function(t){var e=t.styleProps.content.value;if("none"===e||"normal"===e)return"";var n=e.match(/^\s*url\s*\(\s*(.*?)\s*\)\s*$/i);if(n){return{img:n[1].replace(/^['"]|['"]$/g,"")}}for(var a=[],o=e.split(/['"]/),s=0;s<o.length;s++)if(""!==o[s]){var c=o[s].match(/var\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(c){var l=r(t,c[1])||c[2];a.push(l.replace(/^['"]|['"]$/g,""))}else{var u=o[s].match(/counter\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(u&&u[1]in t.counterProps){var h=t.counterProps[u[1]];a.push(i(h,u[3]))}else{var f=o[s].match(/attr\s*\(\s*(.*?)\s*\)/i);if(f){var d=f[1];a.push(t.pseudoElementParent?t.pseudoElementParent.attribs[d]:t.attribs[d])}else a.push(o[s])}}}return e=a.join(""),e=e.replace(/\\/g,"")}(t);n.img?(t.name="img",e(t).attr("src",n.img)):e(t).text(n);var a=t.pseudoElementParent;"before"===t.pseudoElementType?e(a).prepend(t):e(a).append(t)}})),s.applyWidthAttributes&&l.forEach((function(t){A(t,"width")})),s.applyHeightAttributes&&l.forEach((function(t){A(t,"height")})),s.applyAttributesTableElements&&l.forEach((function(r){if(!r.name)return;var i=r.name.toUpperCase(),a=Object.keys(t.styleToAttribute);if(t.tableElements.indexOf(i)>-1)for(var o in r.styleProps)if(a.indexOf(r.styleProps[o].prop)>-1){var c=t.styleToAttribute[r.styleProps[o].prop],l=r.styleProps[o].value;if(s.preserveImportant&&(l=n(l)),"background"===c&&(l=p(l)),/(linear|radial)-gradient\(/i.test(l))continue;e(r).attr(c,l)}})),s.insertPreservedExtraCss&&s.extraCss){var f=GP.getPreservedText(s.extraCss,{mediaQueries:s.preserveMediaQueries,fontFaces:s.preserveFontFaces,keyFrames:s.preserveKeyFrames});if(f){var d=null;!0!==s.insertPreservedExtraCss?d=e(s.insertPreservedExtraCss):((d=e("head")).length||(d=e("body")),d.length||(d=e.root())),d.first().append("<style>"+f+"</style>")}}function A(r,i){if(r.name){var a=r.name.toUpperCase();if(t[i+"Elements"].indexOf(a)>-1)for(var o in r.styleProps)if(r.styleProps[o].prop===i){var c=r.styleProps[o].value;if(s.preserveImportant&&(c=n(c)),c.match(/px/)){var l=c.replace("px","");return void e(r).attr(i,l)}if(t.tableElements.indexOf(a)>-1&&c.match(/\%/))return void e(r).attr(i,c)}}}function p(t){return 0!==t.indexOf("url(")?t:t.replace(/^url\((["'])?([^"']+)\1\)$/,"$2")}}function n(t){return t.replace(/\s*!important$/,"")}function r(t,e){for(;t;){if(e in t.styleProps)return t.styleProps[e].value;t=t.pseudoElementParent||t.parent}}function i(t,e){switch(e){case"lower-roman":return VP(t).toLowerCase();case"upper-roman":return VP(t);case"lower-latin":case"lower-alpha":return WP(t).toLowerCase();case"upper-latin":case"upper-alpha":return WP(t);default:return t.toString()}}function a(t){return"before"===t.name||"after"===t.name}return t.ignoredPseudos=["hover","active","focus","visited","link"],t.widthElements=["TABLE","TD","TH","IMG"],t.heightElements=["TABLE","TD","TH","IMG"],t.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],t.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],t.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},t.excludedProperties=[],t.juiceDocument=function(n,r){r=GP.getDefaultOptions(r);var i=function(e,n){var r=function(e,n){var r,i,a,o=[],s=e("style");return s.each((function(){var s=!!(a=this).childNodes;if(1===(r=s?a.childNodes:a.children).length){if(i=r[0].data,n.applyStyleTags&&void 0===e(a).attr("data-embed")&&o.push(i),n.removeStyleTags&&void 0===e(a).attr("data-embed")){var c=s?a.childNodes[0].nodeValue:a.children[0].data,l=GP.getPreservedText(c,{mediaQueries:n.preserveMediaQueries,fontFaces:n.preserveFontFaces,keyFrames:n.preserveKeyFrames,pseudos:n.preservePseudos},t.ignoredPseudos);l?s?a.childNodes[0].nodeValue=l:a.children[0].data=l:e(a).remove()}e(a).removeAttr("data-embed")}else n.removeStyleTags&&e(a).remove()})),o}(e,n),i=r.join("\n");return i}(n,r);return i+="\n"+r.extraCss,e(n,i,r),n},t.inlineDocument=e,t}((function(t,e){return qP(t,{xmlMode:e&&e.xmlMode},JP,[e])})),JP=function(t,e){return YP.juiceDocument(t,e)};YP.inlineContent=function(t,e,n){return qP(t,{xmlMode:n&&n.xmlMode},YP.inlineDocument,[e,n])};var ZP=YP;function tR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var eR=function(t){Es(i,t);var e,n,r=tR(i);function i(t){var e;return bo(this,i),(e=r.call(this,t)).previewer=t.previewer,e.isLoading=!1,e.updateMarkdown=!1,e.setName("copy","copy"),e}return hs(i,[{key:"adaptWechat",value:(e=fS.mark((function t(e){var n,r,i,a,o;return fS.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=/(<figure data-lines=.+?<)div(.+?<\/)div(>.*?<\/figure>)/g,r=e.replace(n,(function(t,e,n,r){var i,a;return Fs(i=Fs(a="".concat(e,"p")).call(a,n,"p")).call(i,r)})),i=/(<img.+?src=")(.+?)(".*?>)/g,a=[],r.replace(i,(function(t,e,n){a.push(nR(n))})),t.next=7,dS.all(a);case 7:return o=t.sent,t.abrupt("return",r.replace(i,(function(t,e,n,r){return e+o.shift()+r})));case 9:case"end":return t.stop()}}),t)})),n=function(){var t=this,n=arguments;return new WB((function(r,i){var a=e.apply(t,n);function o(t){YB(a,r,i,o,s,"next",t)}function s(t){YB(a,r,i,o,s,"throw",t)}o(void 0)}))},function(t){return n.apply(this,arguments)})},{key:"getStyleFromSheets",value:function(t){var e,n=ta(e=kh(document.styleSheets)).call(e,(function(e){var n;return e.cssRules[0]&&Tf(n=e.cssRules[0].cssText).call(n,t)>-1}));return"<style>".concat(Em(n).call(n,(function(t,e){var n;return t+Em(n=kh(e.cssRules)).call(n,(function(t,e){return t+e.cssText}),"")}),""),"</style>")}},{key:"computeStyle",value:function(){return{mathStyle:this.getStyleFromSheets("mjx-container"),echartStyle:"<style>figure>p{overflow:hidden;position:relative;width:500px;height:300px;background:transparent;}</style>",cherryStyle:this.getStyleFromSheets("cherry")}}},{key:"toggleLoading",value:function(){this.isLoading?document.querySelector(".icon-loading").outerHTML='<i class="ch-icon ch-icon-copy" title="'.concat(this.locale.copy,'"></i>'):document.querySelector(".ch-icon-copy").outerHTML='<div class="icon-loading loading"></div>';this.isLoading=!this.isLoading}},{key:"onClick",value:function(t){var e=this;this.toggleLoading();var n=document.querySelector(".cherry").getAttribute("data-inline-code-theme"),r=document.querySelector(".cherry").getAttribute("data-code-block-theme"),i=this.computeStyle(),a=i.mathStyle,o=i.echartStyle,s=i.cherryStyle,c=this.previewer.isPreviewerHidden()?this.previewer.options.previewerCache.html:this.previewer.getValue();this.adaptWechat(c).then((function(t){var i,c,l;iC(ZP(Fs(i=Fs(c=Fs(l='<div data-inline-code-theme="'.concat(n,'" data-code-block-theme="')).call(l,r,'">\n <div class="cherry-markdown">')).call(c,t,"</div>\n </div>")).call(i,a+o+s))),e.toggleLoading()}))}}]),i}(HC);function nR(t,e,n){return new dS((function(e){var r=document.createElement("CANVAS"),i=r.getContext("2d"),a=new Image;a.crossOrigin="Anonymous",a.onload=function(){r.height=a.height,r.width=a.width,i.drawImage(a,0,0);var t=r.toDataURL(n||"image/png");e(t),r=null},a.src=t}))}function rR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var iR=function(t){Es(n,t);var e=rR(n);function n(t){var r,i,a,o,s,c;return bo(this,n),(c=e.call(this,t)).setName("panel","tips"),c.panelRule=wd().reg,c.subMenuConfig=[{iconName:"tips",name:"tips",onclick:Ps(r=c.bindSubClick).call(r,fs(c),"primary")},{iconName:"info",name:"info",onclick:Ps(i=c.bindSubClick).call(i,fs(c),"info")},{iconName:"warning",name:"warning",onclick:Ps(a=c.bindSubClick).call(a,fs(c),"warning")},{iconName:"danger",name:"danger",onclick:Ps(o=c.bindSubClick).call(o,fs(c),"danger")},{iconName:"success",name:"success",onclick:Ps(s=c.bindSubClick).call(s,fs(c),"success")}],c}return hs(n,[{key:"$getNameFromStr",value:function(t){var e=!1;return this.panelRule.lastIndex=0,t.replace(this.panelRule,(function(t,n,r,i){var a=/\s/.test(ih(r).call(r))?ih(r).call(r).replace(/\s.*$/,""):r;return e=a?ih(a).call(a).toLowerCase():"",t})),e}},{key:"$getTitle",value:function(t){return this.panelRule.lastIndex=0,t.replace(this.panelRule,(function(t,e,n,r){var i=ih(n).call(n);return/\s/.test(i)?i.replace(/[^\s]+\s/,""):""})),""}},{key:"onClick",value:function(t){var e,n,r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=qC(this.editor.editor,t,"line",!0)||"内容",o=this.$getNameFromStr(a),s=this.$getTitle(a);return!1===o&&this.getMoreSelection("::: ","\n",(function(){var t=r.editor.editor.getSelection(),e=r.$getNameFromStr(t);return!1!==e&&(a=t,o=e,s=r.$getTitle(t)),!1!==e})),!1!==o?o===i?(this.panelRule.lastIndex=0,a.replace(this.panelRule,(function(t,e,n,r){var i,a=ih(n).call(n),o=/\s/.test(a)?a.replace(/[^\s]+\s/,""):"";return Fs(i="".concat(o,"\n")).call(i,r)}))):(this.registerAfterClickCb((function(){r.setLessSelection("::: ","\n")})),this.panelRule.lastIndex=0,a.replace(this.panelRule,(function(t,e,n,r){var a,o,s=ih(n).call(n),c=/\s/.test(s)?s.replace(/[^\s]+\s/,""):"";return Fs(a=Fs(o="::: ".concat(i," ")).call(o,c,"\n")).call(a,r.replace(/\n+$/,""),"\n:::")}))):(this.registerAfterClickCb((function(){r.setLessSelection("::: ","\n")})),a=a.replace(/^\n+/,""),/\n/.test(a)?s||(s=a.replace(/\n[\w\W]+$/,""),a=a.replace(/^[^\n]+\n/,"")):s=s||"标题",Fs(e=Fs(n="::: ".concat(i," ")).call(n,s,"\n")).call(e,a,"\n:::").replace(/\n{2,}:::/g,"\n:::"))}}]),n}(HC);function aR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var oR=function(t){Es(n,t);var e=aR(n);function n(t){var r,i,a,o;return bo(this,n),(o=e.call(this,t)).setName("justify","justify"),o.panelRule=wd().reg,o.subMenuConfig=[{iconName:"justifyLeft",name:"左对齐",onclick:Ps(r=o.bindSubClick).call(r,fs(o),"left")},{iconName:"justifyCenter",name:"居中",onclick:Ps(i=o.bindSubClick).call(i,fs(o),"center")},{iconName:"justifyRight",name:"右对齐",onclick:Ps(a=o.bindSubClick).call(a,fs(o),"right")}],o}return hs(n,[{key:"$getTitle",value:function(){return" "}}]),n}(iR);function sR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var cR=function(t){Es(n,t);var e=sR(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("detail","insertFlow"),r.detailRule=Td().reg,r}return hs(n,[{key:"onClick",value:function(t){var e,n=this,r=qC(this.editor.editor,t,"line",!0)||"点击展开更多\n内容\n++- 默认展开\n内容\n++ 默认收起\n内容";if(this.detailRule.lastIndex=0,this.detailRule.test(r)||this.getMoreSelection("+++ ","\n",(function(){var t=n.editor.editor.getSelection();n.detailRule.lastIndex=0;var e=n.detailRule.test(t);return!1!==e&&(r=t),!1!==e})),this.detailRule.lastIndex=0,this.detailRule.test(r))return this.detailRule.lastIndex=0,r.replace(this.detailRule,(function(t,e,n,r,i){var a;return Fs(a="".concat(r,"\n")).call(a,i)}));(r=r.replace(/^\s+/,""),/\n/.test(r))||(r=Fs(e="".concat(r,"\n")).call(e,r));return this.registerAfterClickCb((function(){n.setLessSelection("+++ ","\n")})),"+++ ".concat(r,"\n+++").replace(/\n{2,}\+\+\+/g,"\n+++")}}]),n}(HC);function lR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var uR=function(t){Es(n,t);var e=lR(n);function n(t){var r;return bo(this,n),(r=e.call(this,t)).setName("draw.io","draw.io"),r.noIcon=!0,r.drawioIframeUrl=t.options.drawioIframeUrl,r}return hs(n,[{key:"onClick",value:function(t){var e=this;if(!this.drawioIframeUrl)return t;if(this.hasCacheOnce()){var n,r=this.getAndCleanCacheOnce(),i=r.xmlData,a=r.base64,o=Fs(n="](".concat(a,"){data-type=drawio data-xml=")).call(n,encodeURI(i),"}");return this.registerAfterClickCb((function(){e.setLessSelection("![",o)})),"".concat("![","在预览区点击图片重新编辑draw.io").concat(o)}return rC(this.drawioIframeUrl,"",(function(t){e.setCacheOnce(t),e.fire(null)})),this.updateMarkdown=!1,t}}]),n}(HC),hR={bold:$C,italic:GC,"|":XC,strikethrough:WC,sub:JC,sup:tE,header:aE,insert:lE,list:hE,ol:dE,ul:pE,checklist:mE,graph:TE,size:CE,h1:xE,h2:BE,h3:LE,color:nE,quote:ME,quickTable:NE,togglePreview:FE,code:KE,codeTheme:zE,export:qE,settings:WE,fullScreen:RE,mobilePreview:Dx,copy:eR,undo:UE,redo:jE,underline:JE,switchModel:tx,image:nx,audio:ix,video:ox,br:cx,hr:ux,formula:dx,link:px,table:mx,toc:vx,lineTable:wx,barTable:kx,pdf:Ex,word:Sx,ruby:Ix,theme:Ox,file:_x,panel:iR,justify:oR,detail:cR,drawIo:uR},fR=function(){function t(e){bo(this,t),this.toolbar=e,this.hooks={},this.allMenusName=[],this.level1MenusName=[],this.level2MenusName={},this.init()}return hs(t,[{key:"$newMenu",value:function(t){if(!this.hooks[t]){var e=this.toolbar.options,n=e.$cherry,r=e.customMenu;hR[t]?(this.allMenusName.push(t),this.hooks[t]=new hR[t](n)):null!=r&&r[t]&&(this.allMenusName.push(t),this.hooks[t]=new r[t](n))}}},{key:"init",value:function(){var t=this,e=this.toolbar.options.buttonConfig;ao(e).call(e,(function(e){if("string"==typeof e)t.level1MenusName.push(e),t.$newMenu(e);else if("object"===ss(e)){var n=ar(e);if(1===n.length){var r,i=wf(n,1)[0];t.level1MenusName.push(i),t.$newMenu(i),t.level2MenusName[i]=e[i],ao(r=e[i]).call(r,(function(e){t.$newMenu(e)}))}}}))}}]),t}(),dR=function(){function t(e){bo(this,t),Ms(this,"toolbarHandlers",{}),this.menus={},this.shortcutKeyMap={},this.subMenus={},this.options={dom:document.createElement("div"),buttonConfig:["bold"],customMenu:[]},Gu(this.options,e),this.$cherry=this.options.$cherry,this.instanceId=this.$cherry.instanceId,this.menus=new fR(this),this.drawMenus(),this.collectShortcutKey(),this.collectToolbarHandler(),this.init()}return hs(t,[{key:"init",value:function(){var t=this;Zf.on(this.instanceId,Zf.Events.cleanAllSubMenus,(function(){return t.hideAllSubMenu()}))}},{key:"previewOnly",value:function(){this.options.dom.classList.add("preview-only"),Zf.emit(this.instanceId,Zf.Events.toolbarHide)}},{key:"showToolbar",value:function(){this.options.dom.classList.remove("preview-only"),Zf.emit(this.instanceId,Zf.Events.toolbarShow)}},{key:"isHasLevel2Menu",value:function(t){return this.menus.level2MenusName[t]}},{key:"isHasConfigMenu",value:function(t){return this.menus.hooks[t].subMenuConfig||[]}},{key:"isHasSubMenu",value:function(t){return Boolean(this.isHasLevel2Menu(t)||this.isHasConfigMenu(t).length>0)}},{key:"drawMenus",value:function(){var t,e=this,n=document.createDocumentFragment();ao(t=this.menus.level1MenusName).call(t,(function(t){var r=e.menus.hooks[t].createBtn();r.addEventListener("click",(function(n){e.onClick(n,t)}),!1),e.isHasSubMenu(t)&&r.classList.add("cherry-toolbar-dropdown"),n.appendChild(r)})),this.appendMenusToDom(n)}},{key:"appendMenusToDom",value:function(t){var e=Xf("div","toolbar-left");e.appendChild(t),this.options.dom.appendChild(e)}},{key:"setSubMenuPosition",value:function(t,e){var n=t.getMenuPosition();e.style.left="".concat(n.left+n.width/2,"px"),e.style.top="".concat(n.top+n.height,"px"),e.style.position=t.positionModel}},{key:"drawSubMenus",value:function(t){var e=this;this.subMenus[t]=Xf("div","cherry-dropdown",{name:t}),this.setSubMenuPosition(this.menus.hooks[t],this.subMenus[t]);var n=this.isHasLevel2Menu(t);n&&ao(n).call(n,(function(n){var r=e.menus.hooks[n];if(void 0!==r&&"function"==typeof r.createBtn){var i=r.createBtn(!0);r.dom=r.dom?r.dom:e.menus.hooks[t].dom,i.addEventListener("click",(function(t){return e.onClick(t,n,!0)}),!1),e.subMenus[t].appendChild(i)}}));var r=this.isHasConfigMenu(t);r.length>0&&ao(r).call(r,(function(n){var r=e.menus.hooks[t].createSubBtnByConfig(n);r.addEventListener("click",(function(){return e.hideAllSubMenu()}),!1),e.subMenus[t].appendChild(r)})),this.$cherry.wrapperDom.appendChild(this.subMenus[t])}},{key:"onClick",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.menus.hooks[e];r&&(this.isHasSubMenu(e)&&!n?this.toggleSubMenu(e):(this.hideAllSubMenu(),r.fire(t,e)))}},{key:"toggleSubMenu",value:function(t){if(!this.subMenus[t])return this.hideAllSubMenu(),this.drawSubMenus(t),void(this.subMenus[t].style.display="block");"none"===this.subMenus[t].style.display?(this.hideAllSubMenu(),this.subMenus[t].style.display="block",this.setSubMenuPosition(this.menus.hooks[t],this.subMenus[t])):this.subMenus[t].style.display="none"}},{key:"hideAllSubMenu",value:function(){var t;ao(t=this.$cherry.wrapperDom.querySelectorAll(".cherry-dropdown")).call(t,(function(t){t.style.display="none"}))}},{key:"collectMenuInfo",value:function(t){this.toolbarHandlers=Gu({},this.toolbarHandlers,t.toolbarHandlers),this.menus.hooks=Gu({},t.menus.hooks,this.menus.hooks),(!this.options.shortcutKey||ar(this.options.shortcutKey).length<=0)&&(this.shortcutKeyMap=Gu({},this.shortcutKeyMap,t.shortcutKeyMap))}},{key:"collectShortcutKey",value:function(){var t,e=this;this.options.shortcutKey&&ar(this.options.shortcutKey).length>0?this.shortcutKeyMap=this.options.shortcutKey:ao(t=this.menus.allMenusName).call(t,(function(t){var n;null===(n=e.menus.hooks[t].shortcutKeys)||void 0===n||ao(n).call(n,(function(n){e.shortcutKeyMap[n]=t}))}))}},{key:"collectToolbarHandler",value:function(){var t,e=this;this.toolbarHandlers=Em(t=this.menus.allMenusName).call(t,(function(t,n){var r=e.menus.hooks[n];return r?(t[n]=function(t,e){"function"==typeof e&&Jf.warn("MenuBase#onClick param callback is no longer supported. Please register the callback via MenuBase#registerAfterClickCb instead."),r.fire.call(r,void 0,t)},t):t}),{})}},{key:"matchShortcutKey",value:function(t){return!!this.shortcutKeyMap[this.getCurrentKey(t)]}},{key:"fireShortcutKey",value:function(t){var e,n=this.getCurrentKey(t);null===(e=this.menus.hooks[this.shortcutKeyMap[n]])||void 0===e||e.fire(t,n)}},{key:"getCurrentKey",value:function(t){var e="";return t.ctrlKey&&(e+="Ctrl-"),t.altKey&&(e+="Alt-"),t.metaKey&&RC&&(e+="Ctrl-"),t.shiftKey&&(e+="Shift-"),t.key&&"shift"!==t.key.toLowerCase()&&(e+=t.key.toLowerCase()),e}}]),t}();function AR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var pR=function(t){Es(n,t);var e=AR(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"visible",get:function(){var t=window.getComputedStyle(this.bubbleDom);return"none"!==t.display&&"hidden"!==t.visibility},set:function(t){var e=window.getComputedStyle(this.bubbleDom);t?"none"===e.display&&(this.bubbleDom.style.display=n.displayType):"none"!==e.display&&(this.bubbleDom.style.display="none")}},{key:"init",value:function(){this.options.editor=this.$cherry.editor,this.addSelectionChangeListener(),this.bubbleDom=this.options.dom,this.editorDom=this.options.editor.getEditorDom(),this.initBubbleDom(),this.editorDom.querySelector(".CodeMirror").appendChild(this.bubbleDom)}},{key:"appendMenusToDom",value:function(t){this.options.dom.appendChild(t)}},{key:"getScrollTop",value:function(){return this.options.editor.editor.getScrollInfo().top}},{key:"updatePositionWhenScroll",value:function(){this.bubbleDom.style.display===n.displayType&&(this.bubbleDom.style.marginTop="".concat($f(this.bubbleDom.dataset.scrollTop)-this.getScrollTop(),"px"))}},{key:"showBubble",value:function(t,e){this.visible||(this.visible=!0,this.bubbleDom.style.marginTop="0",this.bubbleDom.dataset.scrollTop=String(this.getScrollTop()));var n=this.editorDom.querySelector(".CodeMirror-lines").firstChild.getBoundingClientRect(),r=this.editorDom.getBoundingClientRect(),i=n.left-r.left,a=n.width+i,o=t;o<2*this.bubbleDom.offsetHeight?(o+=this.bubbleDom.offsetHeight-this.bubbleTop.getBoundingClientRect().height,this.bubbleTop.style.display="block",this.bubbleBottom.style.display="none"):(o-=this.bubbleDom.offsetHeight+2*this.bubbleBottom.getBoundingClientRect().height,this.bubbleTop.style.display="none",this.bubbleBottom.style.display="block"),this.bubbleDom.style.top="".concat(o,"px");var s=e-this.bubbleDom.offsetWidth/2;s<i?(s=i,this.$setBubbleCursorPosition("".concat(e-i,"px"))):s+this.bubbleDom.offsetWidth>a?(s=a-this.bubbleDom.offsetWidth,this.$setBubbleCursorPosition("".concat(e-s,"px"))):this.$setBubbleCursorPosition("50%"),this.bubbleDom.style.left="".concat(Math.max(20,s),"px")}},{key:"hideBubble",value:function(){this.visible=!1}},{key:"$setBubbleCursorPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"50%";if("50%"===t)this.bubbleTop.style.left="50%",this.bubbleBottom.style.left="50%";else{var e=$f(t)<10?"10px":t;this.bubbleTop.style.left=e,this.bubbleBottom.style.left=e}}},{key:"initBubbleDom",value:function(){var t=document.createElement("div");t.className="cherry-bubble-top";var e=document.createElement("div");e.className="cherry-bubble-bottom",this.bubbleTop=t,this.bubbleBottom=e,this.bubbleDom.appendChild(t),this.bubbleDom.appendChild(e),this.visible=!1}},{key:"getBubbleDom",value:function(){return this.bubbleDom}},{key:"addSelectionChangeListener",value:function(){var t=this;this.options.editor.addListener("change",(function(e){t.hideBubble()})),this.options.editor.addListener("refresh",(function(e){t.hideBubble()})),this.options.editor.addListener("scroll",(function(e){t.updatePositionWhenScroll()})),this.options.editor.addListener("beforeSelectionChange",(function(e,n){if("*mouse"!==n.origin&&(null!==n.origin||void 0===n.origin))return!0;if(!n.ranges[0])return!0;var r=1e6*n.ranges[0].anchor.line+n.ranges[0].anchor.ch,i=1e6*n.ranges[0].head.line+n.ranges[0].head.ch,a="asc";r>i&&(a="desc"),Xs((function(){if(e.getSelections().join("").length<=0)t.hideBubble();else{var n=e.getWrapperElement().getElementsByClassName("CodeMirror-selected"),r=t.editorDom.getBoundingClientRect(),i=0,o=0;if("object"!==ss(n)||n.length<=0)t.hideBubble();else{for(var s=0;s<n.length;s++){var c=n[s].getBoundingClientRect(),l=c.top-r.top;"asc"===a?l>=o&&(o=l,i=c.left-r.left+c.width/2):(l<=o||o<=0)&&(o=l,i=c.left-r.left+c.width/2)}t.showBubble(o,i)}}}),10)}))}}]),n}(dR);function gR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(pR,"displayType","flex");var mR=function(t){Es(n,t);var e=gR(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"init",value:function(){this.editor=this.$cherry.editor,this.editorDom=this.editor.getEditorDom(),this.editorDom.querySelector(".CodeMirror-scroll").appendChild(this.options.dom),this.initAction()}},{key:"appendMenusToDom",value:function(t){this.options.dom.appendChild(t)}},{key:"initAction",value:function(){var t=this;this.editor.addListener("cursorActivity",(function(e,n){t.cursorActivity(n,e)})),this.editor.addListener("update",(function(e,n){t.cursorActivity(n,e)})),this.editor.addListener("refresh",(function(e,n){Xs((function(){t.cursorActivity(n,e)}),0)}))}},{key:"update",value:function(t,e){var n=e.getCursor();if(this.isHidden(n.line,e))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block"}},{key:"cursorActivity",value:function(t,e){var n=e.getCursor(),r=document.querySelector(".cherry-editor .CodeMirror-lines");if(!r)return!1;var i=getComputedStyle(r),a=$f(i.paddingLeft),o=$f(i.paddingTop);if(this.isHidden(n.line,e))return this.options.dom.style.display="none",!1;this.options.dom.style.display="inline-block",this.options.dom.style.left="".concat(a,"px"),this.options.dom.style.top="".concat(this.getLineHeight(n.line,e)+o,"px")}},{key:"isHidden",value:function(t,e){return e.getSelections().length>1||(e.getSelection().length>0||!!e.getLine(t))}},{key:"getLineHeight",value:function(t,e){var n=0;return e.getDoc().eachLine(0,t,(function(t){n+=t.height})),n}}]),n}(dR);function bR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var vR=function(t){Es(n,t);var e=bR(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"appendMenusToDom",value:function(t){var e=Xf("div","toolbar-right");e.appendChild(t),this.options.dom.appendChild(e)}}]),n}(dR);function yR(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}var wR=function(t){Es(n,t);var e=yR(n);function n(){return bo(this,n),e.apply(this,arguments)}return hs(n,[{key:"appendMenusToDom",value:function(t){this.options.dom.appendChild(t)}}]),n}(dR),TR=-1,kR=1,CR=0;function ER(t,e,n,r,i){if(t===e)return t?[[CR,t]]:[];if(null!=n){var a=function(t,e,n){var r="number"==typeof n?{index:n,length:0}:n.oldRange,i="number"==typeof n?null:n.newRange,a=t.length,o=e.length;if(0===r.length&&(null===i||0===i.length)){var s=r.index,c=t.slice(0,s),l=t.slice(s),u=i?i.index:null,h=s+o-a;if((null===u||u===h)&&!(h<0||h>o)){var f=e.slice(0,h);if((p=e.slice(h))===l){var d=Math.min(s,h);if((m=c.slice(0,d))===(v=f.slice(0,d)))return UR(m,c.slice(d),f.slice(d),l)}}if(null===u||u===s){var A=s,p=(f=e.slice(0,A),e.slice(A));if(f===c){var g=Math.min(a-A,o-A);if((b=l.slice(l.length-g))===(y=p.slice(p.length-g)))return UR(c,l.slice(0,l.length-g),p.slice(0,p.length-g),b)}}}if(r.length>0&&i&&0===i.length){var m=t.slice(0,r.index),b=t.slice(r.index+r.length);if(!(o<(d=m.length)+(g=b.length))){var v=e.slice(0,d),y=e.slice(o-g);if(m===v&&b===y)return UR(m,t.slice(d,a-g),e.slice(d,o-g),b)}}return null}(t,e,n);if(a)return a}var o=_R(t,e),s=t.substring(0,o);o=SR(t=t.substring(o),e=e.substring(o));var c=t.substring(t.length-o),l=function(t,e){var n;if(!t)return[[kR,e]];if(!e)return[[TR,t]];var r=t.length>e.length?t:e,i=t.length>e.length?e:t,a=r.indexOf(i);if(-1!==a)return n=[[kR,r.substring(0,a)],[CR,i],[kR,r.substring(a+i.length)]],t.length>e.length&&(n[0][0]=n[2][0]=TR),n;if(1===i.length)return[[TR,t],[kR,e]];var o=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function i(t,e,n){for(var r,i,a,o,s=t.substring(n,n+Math.floor(t.length/4)),c=-1,l="";-1!==(c=e.indexOf(s,c+1));){var u=_R(t.substring(n),e.substring(c)),h=SR(t.substring(0,n),e.substring(0,c));l.length<h+u&&(l=e.substring(c-h,c)+e.substring(c,c+u),r=t.substring(0,n-h),i=t.substring(n+u),a=e.substring(0,c-h),o=e.substring(c+u))}return 2*l.length>=t.length?[r,i,a,o,l]:null}var a,o,s,c,l,u=i(n,r,Math.ceil(n.length/4)),h=i(n,r,Math.ceil(n.length/2));if(!u&&!h)return null;a=h?u&&u[4].length>h[4].length?u:h:u;t.length>e.length?(o=a[0],s=a[1],c=a[2],l=a[3]):(c=a[0],l=a[1],o=a[2],s=a[3]);var f=a[4];return[o,s,c,l,f]}(t,e);if(o){var s=o[0],c=o[1],l=o[2],u=o[3],h=o[4],f=ER(s,l),d=ER(c,u);return f.concat([[CR,h]],d)}return function(t,e){for(var n=t.length,r=e.length,i=Math.ceil((n+r)/2),a=i,o=2*i,s=new Array(o),c=new Array(o),l=0;l<o;l++)s[l]=-1,c[l]=-1;s[a+1]=0,c[a+1]=0;for(var u=n-r,h=u%2!=0,f=0,d=0,A=0,p=0,g=0;g<i;g++){for(var m=-g+f;m<=g-d;m+=2){for(var b=a+m,v=(C=m===-g||m!==g&&s[b-1]<s[b+1]?s[b+1]:s[b-1]+1)-m;C<n&&v<r&&t.charAt(C)===e.charAt(v);)C++,v++;if(s[b]=C,C>n)d+=2;else if(v>r)f+=2;else if(h){if((T=a+u-m)>=0&&T<o&&-1!==c[T])if(C>=(w=n-c[T]))return xR(t,e,C,v)}}for(var y=-g+A;y<=g-p;y+=2){for(var w,T=a+y,k=(w=y===-g||y!==g&&c[T-1]<c[T+1]?c[T+1]:c[T-1]+1)-y;w<n&&k<r&&t.charAt(n-w-1)===e.charAt(r-k-1);)w++,k++;if(c[T]=w,w>n)p+=2;else if(k>r)A+=2;else if(!h){if((b=a+u-y)>=0&&b<o&&-1!==s[b]){var C;v=a+(C=s[b])-b;if(C>=(w=n-w))return xR(t,e,C,v)}}}}return[[TR,t],[kR,e]]}(t,e)}(t=t.substring(0,t.length-o),e=e.substring(0,e.length-o));return s&&l.unshift([CR,s]),c&&l.push([CR,c]),DR(l,i),r&&function(t){var e=!1,n=[],r=0,i=null,a=0,o=0,s=0,c=0,l=0;for(;a<t.length;)t[a][0]==CR?(n[r++]=a,o=c,s=l,c=0,l=0,i=t[a][1]):(t[a][0]==kR?c+=t[a][1].length:l+=t[a][1].length,i&&i.length<=Math.max(o,s)&&i.length<=Math.max(c,l)&&(t.splice(n[r-1],0,[TR,i]),t[n[r-1]+1][0]=kR,r--,a=--r>0?n[r-1]:-1,o=0,s=0,c=0,l=0,i=null,e=!0)),a++;e&&DR(t);(function(t){function e(t,e){if(!t||!e)return 6;var n=t.charAt(t.length-1),r=e.charAt(0),i=n.match(LR),a=r.match(LR),o=i&&n.match(IR),s=a&&r.match(IR),c=o&&n.match(MR),l=s&&r.match(MR),u=c&&t.match(OR),h=l&&e.match(NR);return u||h?5:c||l?4:i&&!o&&s?3:o||s?2:i||a?1:0}var n=1;for(;n<t.length-1;){if(t[n-1][0]==CR&&t[n+1][0]==CR){var r=t[n-1][1],i=t[n][1],a=t[n+1][1],o=SR(r,i);if(o){var s=i.substring(i.length-o);r=r.substring(0,r.length-o),i=s+i.substring(0,i.length-o),a=s+a}for(var c=r,l=i,u=a,h=e(r,i)+e(i,a);i.charAt(0)===a.charAt(0);){r+=i.charAt(0),i=i.substring(1)+a.charAt(0),a=a.substring(1);var f=e(r,i)+e(i,a);f>=h&&(h=f,c=r,l=i,u=a)}t[n-1][1]!=c&&(c?t[n-1][1]=c:(t.splice(n-1,1),n--),t[n][1]=l,u?t[n+1][1]=u:(t.splice(n+1,1),n--))}n++}})(t),a=1;for(;a<t.length;){if(t[a-1][0]==TR&&t[a][0]==kR){var u=t[a-1][1],h=t[a][1],f=BR(u,h),d=BR(h,u);f>=d?(f>=u.length/2||f>=h.length/2)&&(t.splice(a,0,[CR,h.substring(0,f)]),t[a-1][1]=u.substring(0,u.length-f),t[a+1][1]=h.substring(f),a++):(d>=u.length/2||d>=h.length/2)&&(t.splice(a,0,[CR,u.substring(0,d)]),t[a-1][0]=kR,t[a-1][1]=h.substring(0,h.length-d),t[a+1][0]=TR,t[a+1][1]=u.substring(d),a++),a++}a++}}(l),l}function xR(t,e,n,r){var i=t.substring(0,n),a=e.substring(0,r),o=t.substring(n),s=e.substring(r),c=ER(i,a),l=ER(o,s);return c.concat(l)}function _R(t,e){if(!t||!e||t.charAt(0)!==e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,a=0;n<i;)t.substring(a,i)==e.substring(a,i)?a=n=i:r=i,i=Math.floor((r-n)/2+n);return FR(t.charCodeAt(i-1))&&i--,i}function BR(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var i=Math.min(n,r);if(t==e)return i;for(var a=0,o=1;;){var s=t.substring(i-o),c=e.indexOf(s);if(-1==c)return a;o+=c,0!=c&&t.substring(i-o)!=e.substring(0,o)||(a=o,o++)}}function SR(t,e){if(!t||!e||t.slice(-1)!==e.slice(-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,a=0;n<i;)t.substring(t.length-i,t.length-a)==e.substring(e.length-i,e.length-a)?a=n=i:r=i,i=Math.floor((r-n)/2+n);return PR(t.charCodeAt(t.length-i))&&i--,i}var LR=/[^a-zA-Z0-9]/,IR=/\s/,MR=/[\r\n]/,OR=/\n\r?\n$/,NR=/^\r?\n\r?\n/;function DR(t,e){t.push([CR,""]);for(var n,r=0,i=0,a=0,o="",s="";r<t.length;)if(r<t.length-1&&!t[r][1])t.splice(r,1);else switch(t[r][0]){case kR:a++,s+=t[r][1],r++;break;case TR:i++,o+=t[r][1],r++;break;case CR:var c=r-a-i-1;if(e){if(c>=0&&QR(t[c][1])){var l=t[c][1].slice(-1);if(t[c][1]=t[c][1].slice(0,-1),o=l+o,s=l+s,!t[c][1]){t.splice(c,1),r--;var u=c-1;t[u]&&t[u][0]===kR&&(a++,s=t[u][1]+s,u--),t[u]&&t[u][0]===TR&&(i++,o=t[u][1]+o,u--),c=u}}if(RR(t[r][1])){l=t[r][1].charAt(0);t[r][1]=t[r][1].slice(1),o+=l,s+=l}}if(r<t.length-1&&!t[r][1]){t.splice(r,1);break}if(o.length>0||s.length>0){o.length>0&&s.length>0&&(0!==(n=_R(s,o))&&(c>=0?t[c][1]+=s.substring(0,n):(t.splice(0,0,[CR,s.substring(0,n)]),r++),s=s.substring(n),o=o.substring(n)),0!==(n=SR(s,o))&&(t[r][1]=s.substring(s.length-n)+t[r][1],s=s.substring(0,s.length-n),o=o.substring(0,o.length-n)));var h=a+i;0===o.length&&0===s.length?(t.splice(r-h,h),r-=h):0===o.length?(t.splice(r-h,h,[kR,s]),r=r-h+1):0===s.length?(t.splice(r-h,h,[TR,o]),r=r-h+1):(t.splice(r-h,h,[TR,o],[kR,s]),r=r-h+2)}0!==r&&t[r-1][0]===CR?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,a=0,i=0,o="",s=""}""===t[t.length-1][1]&&t.pop();var f=!1;for(r=1;r<t.length-1;)t[r-1][0]===CR&&t[r+1][0]===CR&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)===t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),f=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),f=!0)),r++;f&&DR(t,e)}function FR(t){return t>=55296&&t<=56319}function PR(t){return t>=56320&&t<=57343}function RR(t){return PR(t.charCodeAt(0))}function QR(t){return FR(t.charCodeAt(t.length-1))}function UR(t,e,n,r){return QR(t)||RR(r)?null:function(t){for(var e=[],n=0;n<t.length;n++)t[n][1].length>0&&e.push(t[n]);return e}([[CR,t],[TR,e],[kR,n],[CR,r]])}function HR(t,e,n,r){return ER(t,e,n,r,!0)}HR.INSERT=kR,HR.DELETE=TR,HR.EQUAL=CR;var jR=HR;var $R=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t},KR=yl(Object.keys,Object),GR=Object.prototype.hasOwnProperty;var zR=function(t){if(!kl(t))return KR(t);var e=[];for(var n in Object(t))GR.call(t,n)&&"constructor"!=n&&e.push(n);return e};var XR=function(t){return Nl(t)?iu(t):zR(t)};var qR=function(t,e){return t&&Zl(e,XR(e),t)};var VR=function(t,e){return t&&Zl(e,cu(e),t)};var WR=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,a=[];++n<r;){var o=t[n];e(o,n,t)&&(a[i++]=o)}return a};var YR=function(){return[]},JR=Object.prototype.propertyIsEnumerable,ZR=Object.getOwnPropertySymbols,tQ=ZR?function(t){return null==t?[]:(t=Object(t),WR(ZR(t),(function(e){return JR.call(t,e)})))}:YR,eQ=tQ;var nQ=function(t,e){return Zl(t,eQ(t),e)};var rQ=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t},iQ=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)rQ(e,eQ(t)),t=wl(t);return e}:YR,aQ=iQ;var oQ=function(t,e){return Zl(t,aQ(t),e)};var sQ=function(t,e,n){var r=e(t);return Ml(t)?r:rQ(r,n(t))};var cQ=function(t){return sQ(t,XR,eQ)};var lQ=function(t){return sQ(t,cu,aQ)},uQ=Fc(uc,"DataView"),hQ=Fc(uc,"Promise"),fQ=Fc(uc,"Set"),dQ=Fc(uc,"WeakMap"),AQ="[object Map]",pQ="[object Promise]",gQ="[object Set]",mQ="[object WeakMap]",bQ="[object DataView]",vQ=_c(uQ),yQ=_c(Pc),wQ=_c(hQ),TQ=_c(fQ),kQ=_c(dQ),CQ=yc;(uQ&&CQ(new uQ(new ArrayBuffer(1)))!=bQ||Pc&&CQ(new Pc)!=AQ||hQ&&CQ(hQ.resolve())!=pQ||fQ&&CQ(new fQ)!=gQ||dQ&&CQ(new dQ)!=mQ)&&(CQ=function(t){var e=yc(t),n="[object Object]"==e?t.constructor:void 0,r=n?_c(n):"";if(r)switch(r){case vQ:return bQ;case yQ:return AQ;case wQ:return pQ;case TQ:return gQ;case kQ:return mQ}return e});var EQ=CQ,xQ=Object.prototype.hasOwnProperty;var _Q=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&xQ.call(t,"index")&&(n.index=t.index,n.input=t.input),n};var BQ=function(t,e){var n=e?Al(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},SQ=/\w*$/;var LQ=function(t){var e=new t.constructor(t.source,SQ.exec(t));return e.lastIndex=t.lastIndex,e},IQ=hc?hc.prototype:void 0,MQ=IQ?IQ.valueOf:void 0;var OQ=function(t){return MQ?Object(MQ.call(t)):{}};var NQ=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Al(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return BQ(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return pl(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return LQ(t);case"[object Symbol]":return OQ(t)}};var DQ=function(t){return El(t)&&"[object Map]"==EQ(t)},FQ=Xl&&Xl.isMap,PQ=FQ?zl(FQ):DQ;var RQ=function(t){return El(t)&&"[object Set]"==EQ(t)},QQ=Xl&&Xl.isSet,UQ=QQ?zl(QQ):RQ,HQ="[object Arguments]",jQ="[object Function]",$Q="[object Object]",KQ={};KQ[HQ]=KQ["[object Array]"]=KQ["[object ArrayBuffer]"]=KQ["[object DataView]"]=KQ["[object Boolean]"]=KQ["[object Date]"]=KQ["[object Float32Array]"]=KQ["[object Float64Array]"]=KQ["[object Int8Array]"]=KQ["[object Int16Array]"]=KQ["[object Int32Array]"]=KQ["[object Map]"]=KQ["[object Number]"]=KQ[$Q]=KQ["[object RegExp]"]=KQ["[object Set]"]=KQ["[object String]"]=KQ["[object Symbol]"]=KQ["[object Uint8Array]"]=KQ["[object Uint8ClampedArray]"]=KQ["[object Uint16Array]"]=KQ["[object Uint32Array]"]=!0,KQ["[object Error]"]=KQ[jQ]=KQ["[object WeakMap]"]=!1;var GQ=function t(e,n,r,i,a,o){var s,c=1&n,l=2&n,u=4&n;if(r&&(s=a?r(e,i,a,o):r(e)),void 0!==s)return s;if(!wc(e))return e;var h=Ml(e);if(h){if(s=_Q(e),!c)return gl(e,s)}else{var f=EQ(e),d=f==jQ||"[object GeneratorFunction]"==f;if(Pl(e))return fl(e,c);if(f==$Q||f==HQ||d&&!a){if(s=l||d?{}:Cl(e),!c)return l?oQ(e,VR(s,e)):nQ(e,qR(s,e))}else{if(!KQ[f])return a?e:{};s=NQ(e,f,c)}}o||(o=new al);var A=o.get(e);if(A)return A;o.set(e,s),UQ(e)?e.forEach((function(i){s.add(t(i,n,r,i,e,o))})):PQ(e)&&e.forEach((function(i,a){s.set(a,t(i,n,r,a,e,o))}));var p=h?void 0:(u?l?lQ:cQ:l?cu:XR)(e);return $R(p||e,(function(i,a){p&&(i=e[a=i]),Jl(s,a,t(i,n,r,a,e,o))})),s};var zQ=function(t){return GQ(t,5)},XQ={urlProcessor:function(t,e){return t},fileUpload:function(t,e){if(/video/i.test(t.type))e("images/demo-dog.png",{name:"".concat(t.name.replace(/\.[^.]+$/,"")),poster:"images/demo-dog.png?poster=true",isBorder:!0,isShadow:!0,isRadius:!0});else if(/image/i.test(t.type)){var n=new FileReader;n.onload=function(n){var r=n.target.result;e(r,{name:"".concat(t.name.replace(/\.[^.]+$/,"")),isShadow:!0,width:"60%",height:"auto"})},n.readAsDataURL(t)}else e("images/demo-dog.png")},afterChange:function(t,e){},afterInit:function(t,e){},beforeImageMounted:function(t,e){return{srcProp:t,src:e}},onClickPreview:function(t){},onCopyCode:function(t,e){return e},changeString2Pinyin:function(t){return t}},qQ=zQ({externals:{},openai:{apiKey:"",ignoreError:!1},engine:{global:{classicBr:!1,urlProcessor:XQ.urlProcessor,htmlWhiteList:""},syntax:{link:{target:"",rel:""},autoLink:{target:"",rel:"",enableShortLink:!0,shortLinkLength:20},list:{listNested:!1,indentSpace:2},table:{enableChart:!1},inlineCode:{theme:"red"},codeBlock:{theme:"dark",wrap:!0,lineNumber:!0,copyCode:!0,editCode:!0,customRenderer:{},mermaid:{svg2img:!1},indentedCodeBlock:!0},emoji:{useUnicode:!0},fontEmphasis:{allowWhitespace:!1},strikethrough:{needWhitespace:!1},mathBlock:{engine:"MathJax",src:"",plugins:!0},inlineMath:{engine:"MathJax",src:""},toc:{allowMultiToc:!1},header:{anchorStyle:"default"}}},editor:{id:"code",name:"code",autoSave2Textarea:!1,theme:"default",height:"100%",defaultModel:"edit&preview",convertWhenPaste:!0,codemirror:{autofocus:!0},writingStyle:"normal"},toolbars:{theme:"dark",showToolbar:!0,toolbar:["bold","italic","strikethrough","|","color","header","ruby","|","list","panel","detail",{insert:["image","audio","video","link","hr","br","code","formula","toc","table","line-table","bar-table","pdf","word"]},"graph","settings"],toolbarRight:[],sidebar:[],bubble:["bold","italic","underline","strikethrough","sub","sup","quote","|","size","color"],float:["h1","h2","h3","|","checklist","quote","table","code"],shortcutKey:{},config:{formula:{showLatexLive:!0,templateConfig:!1}}},drawioIframeUrl:"",fileUpload:XQ.fileUpload,fileTypeLimitMap:{video:"video/*",audio:"audio/*",image:"image/*",word:".doc,.docx",pdf:".pdf",file:"*"},callback:{afterChange:XQ.afterChange,afterInit:XQ.afterInit,beforeImageMounted:XQ.beforeImageMounted,onClickPreview:XQ.onClickPreview,onCopyCode:XQ.onCopyCode,changeString2Pinyin:XQ.changeString2Pinyin},previewer:{dom:!1,className:"cherry-markdown",enablePreviewerBubble:!0,lazyLoadImg:{loadingImgPath:"",maxNumPerTime:2,noLoadImgNum:5,autoLoadImgNum:5,maxTryTimesPerSrc:2,beforeLoadOneImgCallback:function(t){return!0},failLoadOneImgCallback:function(t){},afterLoadOneImgCallback:function(t){},afterLoadAllImgCallback:function(){}}},theme:[{className:"default",label:"默认"},{className:"dark",label:"暗黑"},{className:"light",label:"明亮"},{className:"green",label:"清新"},{className:"red",label:"热情"},{className:"violet",label:"淡雅"},{className:"blue",label:"清幽"}],isPreviewOnly:!1,autoScrollByCursor:!0,forceAppend:!0,locale:"zh_CN"}),VQ={zh_CN:{bold:"加粗",code:"代码",graph:"画图",h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",header:"标题",insert:"插入",italic:"斜体",list:"列表",quickTable:"表格",quote:"引用",size:"大小",color:"文字颜色&背景",strikethrough:"删除线",sub:"下标",sup:"上标",togglePreview:"预览",fullScreen:"全屏",image:"图片",audio:"音频",video:"视频",link:"超链接",hr:"分隔线",br:"换行",toc:"目录",pdf:"pdf",word:"word",table:"表格","line-table":"折线表格","bar-table":"柱状表格",formula:"公式",insertFormula:"公式",insertFlow:"流程图",insertSeq:"时序图",insertState:"状态图",insertClass:"类图",insertPie:"饼图",insertGantt:"甘特图",checklist:"清单",ol:"有序列表",ul:"无序列表",undo:"撤销",redo:"恢复",previewClose:"关闭预览",codeTheme:"代码主题",switchModel:"模式切换",switchPreview:"预览",switchEdit:"返回编辑",classicBr:"经典换行",normalBr:"常规换行",settings:"设置",mobilePreview:"移动端预览",copy:"复制内容",export:"导出",underline:"下划线",pinyin:"拼音",file:"文件",pastePlain:"粘贴为纯文本格式",pasteMarkdown:"粘贴为markdown格式",hide:"隐藏(ctrl+0)",exportToPdf:"导出PDF",exportScreenshot:"导出长图",exportMarkdownFile:"导出markdown",exportHTMLFile:"导出html",theme:"主题",panel:"面板",detail:"手风琴","H1 Heading":"H1 一级标题","H2 Heading":"H2 二级标题","H3 Heading":"H3 三级标题",complement:"续写",summary:"总结"},en_US:{bold:"Bold",code:"Code",graph:"Graph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",header:"Header",insert:"Insert",italic:"Italic",list:"List",quickTable:"Quick Table",quote:"Quote",size:"Size",color:"Text Color & Background",strikethrough:"Strikethrough",sub:"Sub",sup:"Sup",togglePreview:"Toggle Preview",fullScreen:"Full Screen",image:"Image",audio:"Audio",video:"Video",link:"Link",hr:"Horizontal Rule",br:"New Line",toc:"Table Of Content",pdf:"PDF",word:"Word",table:"Table","line-table":"Line Table","bar-table":"Bar Table",formula:"Formula",insertFormula:"Insert Formula",insertFlow:"Insert Flow",insertSeq:"Insert Seq",insertState:"Insert State",insertClass:"Insert Class",insertPie:"Insert Pie",insertGantt:"Insert Gantt",checklist:"Checklist",ol:"Ordered List",ul:"Unordered List",undo:"Undo",redo:"Redo",previewClose:"Preview Close",codeTheme:"Code Theme",switchModel:"Switch Model",switchPreview:"Switch Preview",switchEdit:"Switch Edit",classicBr:"Classic New Line",normalBr:"Normal New Line",settings:"Settings",mobilePreview:"Mobile Preview",copy:"Copy",export:"Export",underline:"Underline",pinyin:"Pinyin",pastePlain:"Paste as Plain Text",pasteMarkdown:"Paste as Markdown",hide:"Hide (ctrl+0)",exportToPdf:"Export to PDF",exportScreenshot:"Screenshot",exportMarkdownFile:"Export Markdown File",exportHTMLFile:"Export preview HTML File","H1 Heading":"H1 Heading","H2 Heading":"H1 Heading","H3 Heading":"H1 Heading",complement:"Complement",summary:"Summary"}};function WQ(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}function YQ(t,e,n){var r,i={};return ao(r=ar(t)).call(r,(function(r){-1!==Tf(e).call(e,r)&&("object"===ss(n)?"string"==typeof n[r]?ss(t[r])===n[r]&&(i[r]=t[r]):t[r]instanceof n[r]&&(i[r]=t[r]):"string"==typeof n&&ss(t[r])===n&&(i[r]=t[r]))})),i}var JQ={HOOKS_TYPE_LIST:Xd},ZQ=[];Mm()||ao(ZQ).call(ZQ,(function(t){}));var tU=function(){function t(){bo(this,t)}return hs(t,null,[{key:"usePlugin",value:function(e){var n;if(this===t)throw new Error("`usePlugin` is not allowed to called through CherryStatic class.");if(this.initialized)throw new Error("The function `usePlugin` should be called before Cherry is instantiated.");if(!0!==e.$cherry$mounted){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.install.apply(e,Fs(n=[this.config.defaults]).call(n,i)),e.$cherry$mounted=!0}}}]),t}();function eU(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function nU(t){var e=function(){if("undefined"==typeof Reflect||!Zn)return!1;if(Zn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Zn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Is(t);if(e){var i=Is(this).constructor;n=Zn(r,arguments,i)}else n=r.apply(this,arguments);return xs(this,n)}}Ms(tU,"createSyntaxHook",(function(t,e,n){var r,i=e===Xd.PAR?FA:qd,a=YQ(n,["beforeMakeHtml","makeHtml","afterMakeHtml","rule","test"],"function"),o={needCache:n.needCache,defaultCache:n.defaultCache};return r=function(t){Es(r,t);var n=WQ(r);function r(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return bo(this,r),(t=e===Xd.PAR?n.call(this,{needCache:!!o.needCache,defaultCache:o.defaultCache}):n.call(this)).config=i.config,xs(t)}return hs(r,[{key:"beforeMakeHtml",value:function(){for(var t,e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return a.beforeMakeHtml?a.beforeMakeHtml.apply(this,i):(t=om(Is(r.prototype),"beforeMakeHtml",this)).call.apply(t,Fs(e=[this]).call(e,i))}},{key:"makeHtml",value:function(){for(var t,e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return a.makeHtml?a.makeHtml.apply(this,i):(t=om(Is(r.prototype),"makeHtml",this)).call.apply(t,Fs(e=[this]).call(e,i))}},{key:"afterMakeHtml",value:function(){for(var t,e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return a.afterMakeHtml?a.afterMakeHtml.apply(this,i):(t=om(Is(r.prototype),"afterMakeHtml",this)).call.apply(t,Fs(e=[this]).call(e,i))}},{key:"test",value:function(){for(var t,e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return a.test?a.test.apply(this,i):(t=om(Is(r.prototype),"test",this)).call.apply(t,Fs(e=[this]).call(e,i))}},{key:"rule",value:function(){for(var t,e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return a.rule?a.rule.apply(this,i):(t=om(Is(r.prototype),"rule",this)).call.apply(t,Fs(e=[this]).call(e,i))}}]),r}(i),Ms(r,"HOOK_NAME",t),r})),Ms(tU,"createMenuHook",(function(t,e){var n=YQ(e,["subMenuConfig","onClick","shortcutKeys","iconName"],{subMenuConfig:Array,onClick:"function",shortcutKeys:Array,iconName:"string"});return function(e){Es(i,e);var r=WQ(i);function i(e){var a;return bo(this,i),a=r.call(this,e),n.iconName||(a.noIcon=!0),a.setName(t,n.iconName),a.subMenuConfig=n.subMenuConfig||[],a}return hs(i,[{key:"onClick",value:function(){for(var t,e,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n.onClick?n.onClick.apply(this,a):(t=om(Is(i.prototype),"onClick",this)).call.apply(t,Fs(e=[this]).call(e,a))}},{key:"shortcutKeys",get:function(){return n.shortcutKeys?n.shortcutKeys:[]}}]),i}(HC)})),Ms(tU,"constants",JQ),Ms(tU,"VERSION","0.8.26");var rU=function(t){Es(n,t);var e=nU(n);function n(t){var r,i;bo(this,n),i=e.call(this),n.initialized=!0;var a,o=zQ(n.config.defaults);return i.defaultToolbar=o.toolbars.toolbar,Yp(t,Object),i.options=xu({},o,t,iA),i.locale=VQ[i.options.locale],"function"==typeof i.options.engine.global.urlProcessor&&(i.options.engine.global.urlProcessor=(a=i.options.engine.global.urlProcessor,function(t,e){if(Kg.isInnerLink(t)){var n=a(Kg.get(t),e);return Kg.replace(t,n)}return a(t,e)})),i.status={toolbar:"show",previewer:"show",editor:"show"},(i.options.isPreviewOnly||"previewOnly"===i.options.editor.defaultModel)&&(i.options.toolbars.showToolbar=!1,i.options.editor.defaultModel="previewOnly",i.status.editor="hide",i.status.toolbar="hide"),i.instanceId=Fs(r="cherry-".concat((new Date).getTime())).call(r,Math.random()),i.options.instanceId=i.instanceId,i.engine=new Tv(i.options,fs(i)),i.init(),i}return hs(n,[{key:"init",value:function(){var t,e=this,n=this.options.id?document.getElementById(this.options.id):this.options.el;if(!n){if(!this.options.forceAppend)return!1;(n=document.createElement("div")).id=this.options.id||"cherry-markdown",document.body.appendChild(n)}n.style.height||(n.style.height=this.options.editor.height),this.cherryDom=n;var r=this.createWrapper(),i=this.createEditor(),a=this.createPreviewer();!1!==this.options.toolbars.showToolbar&&!1!==this.options.toolbars.toolbar||(r.classList.add("cherry--no-toolbar"),this.options.toolbars.toolbar=this.defaultToolbar),Yp(this.options.toolbars.toolbar,Array),this.createToolbar(),this.createToolbarRight();var o=document.createDocumentFragment();o.appendChild(this.toolbar.options.dom),o.appendChild(i.options.editorDom),this.createSidebar(o),this.options.previewer.dom||o.appendChild(a.options.previewerDom),o.appendChild(a.options.virtualDragLineDom),o.appendChild(a.options.editorMaskDom),o.appendChild(a.options.previewerMaskDom),r.appendChild(o),n.appendChild(r),i.init(a),this.createBubble(),this.createFloatMenu(),a.init(i),a.registerAfterUpdate(Ps(t=this.engine.mounted).call(t,this.engine)),this.initText(i.editor),this.switchModel(this.options.editor.defaultModel),Zf.on(this.instanceId,Zf.Events.toolbarHide,(function(){e.status.toolbar="hide"})),Zf.on(this.instanceId,Zf.Events.toolbarShow,(function(){e.status.toolbar="show"})),Zf.on(this.instanceId,Zf.Events.previewerClose,(function(){e.status.previewer="hide"})),Zf.on(this.instanceId,Zf.Events.previewerOpen,(function(){e.status.previewer="show"})),Zf.on(this.instanceId,Zf.Events.editorClose,(function(){e.status.editor="hide",e.previewer.highlightLine(0)})),Zf.on(this.instanceId,Zf.Events.editorOpen,(function(){e.status.editor="show"}))}},{key:"switchModel",value:function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"edit&preview"){case"edit&preview":this.previewer&&(this.previewer.editOnly(!0),this.previewer.recoverPreviewer()),this.toolbar&&this.toolbar.showToolbar();break;case"editOnly":this.previewer.isPreviewerHidden()||this.previewer.editOnly(!0),this.toolbar&&this.toolbar.showToolbar();break;case"previewOnly":this.previewer.previewOnly(),this.toolbar&&this.toolbar.previewOnly()}}},{key:"getInstanceId",value:function(){return this.instanceId}},{key:"getStatus",value:function(){return this.status}},{key:"getValue",value:function(){return this.editor.editor.getValue()}},{key:"getMarkdown",value:function(){return this.getValue()}},{key:"getCodeMirror",value:function(){return this.editor.editor}},{key:"getHtml",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.previewer.getValue(t)}},{key:"getPreviewer",value:function(){return this.previewer}},{key:"getToc",value:function(){var t=this.getHtml(),e=[];return t.replace(/<h([1-6]).*?id="([^"]+?)".*?>(.+?)<\/h[0-6]>/g,(function(t,n,r,i){return e.push({level:+n,id:r,text:i}),t})),e}},{key:"setValue",value:function(t){if(!1===(arguments.length>1&&void 0!==arguments[1]&&arguments[1]))return this.editor.editor.setValue(t);var e=this.editor.editor,n=this.getValue(),r=function(t,e,n){for(var r=jR(e,n),i=t,a=t,o=0;o<r.length;o++){var s=r[o];if(a<=0)return i;var c=s[0],l=s[1].length;switch(c){case jR.EQUAL:if(a<=l)return i;a-=l;break;case jR.DELETE:if(a<=l)return i-l+a;a-=l,i-=l;break;case jR.INSERT:i+=l}}return i}(e.getDoc().indexFromPos(e.getCursor()),n,t),i=e.setValue(t),a=e.getDoc().posFromIndex(r);return e.setCursor(a),i}},{key:"insert",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];n&&this.editor.editor.setSelection({line:n[0],ch:n[1]},{line:n[0],ch:n[1]});var i=this.editor.editor.replaceSelection(t,e?"around":"end");return r&&this.editor.editor.focus(),i}},{key:"insertValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return this.insert(t,e,n,r)}},{key:"refreshPreviewer",value:function(){try{var t=this.getValue(),e=this.engine.makeHtml(t);this.previewer.refresh(e)}catch(t){throw new tg(t)}}},{key:"setMarkdown",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.setValue(t,e)}},{key:"createWrapper",value:function(){var t="dark"===this.options.toolbars.theme?"dark":"",e=this.options.engine.syntax.inlineCode.theme,n=this.options.engine.syntax.codeBlock.theme;"dark"===n?n="tomorrow-night":"light"===n&&(n="solarized-light");var r=Xf("div",["cherry","clearfix",sA(!0)].join(" "),{"data-toolbarTheme":t,"data-inlineCodeTheme":e,"data-codeBlockTheme":n});return this.wrapperDom=r,r}},{key:"createToolbar",value:function(){var t=Xf("div","cherry-toolbar");return this.toolbarContainer=t,this.toolbar=new dR({dom:t,$cherry:this,buttonConfig:this.options.toolbars.toolbar,customMenu:this.options.toolbars.customMenu,shortcutKey:this.options.toolbars.shortcutKey}),this.toolbar}},{key:"createToolbarRight",value:function(){return this.toolbarRight=new vR({dom:this.toolbarContainer,$cherry:this,buttonConfig:this.options.toolbars.toolbarRight,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.toolbarRight),this.toolbarRight}},{key:"createSidebar",value:function(t){if(this.options.toolbars.sidebar){Yp(this.options.toolbars.sidebar,Array);var e="dark"===this.options.toolbars.theme?"dark":"",n=Xf("div","cherry-sidebar ".concat(e));this.sidebar=new wR({dom:n,$cherry:this,buttonConfig:this.options.toolbars.sidebar,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.sidebar),t.appendChild(this.sidebar.options.dom)}}},{key:"createFloatMenu",value:function(){if(this.options.toolbars.float){var t=Xf("div","cherry-floatmenu");Yp(this.options.toolbars.float,Array),this.floatMenu=new mR({dom:t,$cherry:this,buttonConfig:this.options.toolbars.float,customMenu:this.options.toolbars.customMenu}),this.toolbar.collectMenuInfo(this.floatMenu)}}},{key:"createBubble",value:function(){if(this.options.toolbars.bubble){var t=Xf("div","cherry-bubble");Yp(this.options.toolbars.bubble,Array),this.bubble=new pR({dom:t,$cherry:this,buttonConfig:this.options.toolbars.bubble,customMenu:this.options.toolbars.customMenu,engine:this.engine}),this.toolbar.collectMenuInfo(this.bubble)}}},{key:"createEditor",value:function(){var t,e,n,r,i=Xf("textarea","",{id:null!==(t=this.options.editor.id)&&void 0!==t?t:"code",name:null!==(e=this.options.editor.name)&&void 0!==e?e:"code"});i.textContent=this.options.value;var a=Xf("div","cherry-editor");return a.appendChild(i),this.editor=new Sd(function(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=eU(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=eU(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}({$cherry:this,editorDom:a,wrapperDom:this.wrapperDom,value:this.options.value,onKeydown:Ps(n=this.fireShortcutKey).call(n,this),onChange:Ps(r=this.editText).call(r,this),toolbars:this.options.toolbars,fileUpload:this.options.fileUpload,autoScrollByCursor:this.options.autoScrollByCursor},this.options.editor)),this.editor}},{key:"createPreviewer",value:function(){var t,e="autonumber"===(this.options.engine.syntax.header&&this.options.engine.syntax.header.anchorStyle||"default")?" head-num":"",n=this.options.previewer,r=n.className,i=n.dom,a=n.enablePreviewerBubble,o=["cherry-previewer cherry-markdown",r||"",e,sA(!0)].join(" ");i?(t=i).className+=" ".concat(o):t=Xf("div",o);var s=Xf("div","cherry-drag"),c=Xf("div","cherry-editor-mask"),l=Xf("div","cherry-previewer-mask");return this.previewer=new BC({$cherry:this,virtualDragLineDom:s,editorMaskDom:c,previewerMaskDom:l,previewerDom:t,value:this.options.value,isPreviewOnly:this.options.isPreviewOnly,enablePreviewerBubble:a,lazyLoadImg:this.options.previewer.lazyLoadImg}),this.previewer}},{key:"initText",value:function(t){try{var e=t.getValue(),n=this.engine.makeHtml(e);this.previewer.update(n),this.options.callback.afterInit&&this.options.callback.afterInit(e,n)}catch(t){throw new tg(t)}}},{key:"editText",value:function(t,e){var n=this;try{this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=Xs((function(){var t=e.getValue(),r=n.engine.makeHtml(t);n.previewer.update(r),n.options.callback.afterChange&&n.options.callback.afterChange(t,r),e.scrollIntoView(null)}),50)}catch(t){throw new tg(t)}}},{key:"onChange",value:function(t){this.editor.editor.on("change",(function(e){t({markdown:e.getValue()})}))}},{key:"fireShortcutKey",value:function(t){var e=this.editor.editor.getCursor(),n=this.editor.editor.getLine(e.line);if(!t.shiftKey&&"Tab"===t.key&&md.test(n)&&(0===e.ch||e.ch===n.length||e.ch===n.length+1)){t.preventDefault(),this.editor.editor.setSelection({line:e.line,ch:0},{line:e.line,ch:n.length}),this.editor.editor.replaceSelection("\t".concat(n),"around");var r=this.editor.editor.getCursor();this.editor.editor.setSelection(r,r)}this.toolbar.matchShortcutKey(t)&&(t.preventDefault(),this.toolbar.fireShortcutKey(t))}},{key:"export",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pdf",e=arguments.length>1?arguments[1]:void 0;this.previewer.export(t,e)}},{key:"setTheme",value:function(){cA(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default")}},{key:"setWritingStyle",value:function(t){this.editor.setWritingStyle(t)}}]),n}(tU);Ms(rU,"initialized",!1),Ms(rU,"config",{defaults:qQ}),window&&(window.Cherry=rU);var iU=t("default",rU);function aU(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function oU(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=aU(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=aU(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}var sU={theme:"default",altFontFamily:"sans-serif",fontFamily:"sans-serif",themeCSS:".label foreignObject { font-size: 90%; overflow: visible; } .label { font-family: sans-serif; }",flowchart:{useMaxWidth:!1},sequence:{useMaxWidth:!1},startOnLoad:!1,logLevel:5},cU=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bo(this,t),Ms(this,"mermaidAPIRefs",null),Ms(this,"options",sU),Ms(this,"dom",null),Ms(this,"mermaidCanvas",null);var n=e.mermaid,r=e.mermaidAPI;if(!(r||window.mermaidAPI||n&&n.mermaidAPI||window.mermaid&&window.mermaid.mermaidAPI))throw new Error("code-block-mermaid-plugin[init]: Package mermaid or mermaidAPI not found.");this.options=oU(oU({},sU),e||{}),this.mermaidAPIRefs=r||window.mermaidAPI||n.mermaidAPI||window.mermaid.mermaidAPI,delete this.options.mermaid,delete this.options.mermaidAPI,this.mermaidAPIRefs.initialize(this.options)}return hs(t,[{key:"mountMermaidCanvas",value:function(t){this.mermaidCanvas&&document.body.contains(this.mermaidCanvas)||(this.mermaidCanvas=document.createElement("div"),this.mermaidCanvas.style="width:1024px;opacity:0;position:fixed;top:100%;",(t.$cherry.wrapperDom||document.body).appendChild(this.mermaidCanvas))}},{key:"convertMermaidSvgToImg",value:function(t,e){var n,r=new DOMParser,i=function(t){return t.replace("<svg ",'<svg style="max-width:100%;height:auto;font-family:sans-serif;" ')};try{var a=r.parseFromString(t,"image/svg+xml"),o=a.documentElement;if("svg"===o.tagName.toLowerCase()){o.style.maxWidth="100%",o.style.height="auto",o.style.fontFamily="sans-serif";var s,c=document.getElementById(e).getBBox();if(o.hasAttribute("viewBox"))c=o.viewBox.baseVal;else o.setAttribute("viewBox",Fs(s="0 0 ".concat(c.width," ")).call(s,c.height));if("100%"===o.getAttribute("width")&&o.setAttribute("width","".concat(c.width)),"100%"===o.getAttribute("height")&&o.setAttribute("height","".concat(c.height)),n=a.documentElement.outerHTML,this.svg2img){var l,u="data:image/svg+xml,".concat(encodeURIComponent(a.documentElement.outerHTML));n=Fs(l='<img class="svg-img" src="'.concat(u,'" alt="')).call(l,e,'" />')}}else n=i(t)}catch(e){n=i(t)}return n}},{key:"render",value:function(t,e,n){var r,i,a,o=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=e;c||(c=Math.round(1e8*Math.random())),this.mountMermaidCanvas(n);var l=Fs(r="mermaid-".concat(c,"-")).call(r,(new Date).getTime());this.svg2img=null!==(i=null==s?void 0:s.svg2img)&&void 0!==i&&i;try{this.mermaidAPIRefs.render(l,t,(function(t){var e=t.replace(/\s*markerUnits="0"/g,"").replace(/\s*x="NaN"/g,"").replace(/<br>/g,"<br/>");a=o.convertMermaidSvgToImg(e,l)}),this.mermaidCanvas)}catch(t){return null==t?void 0:t.str}return a}}],[{key:"install",value:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];xu(e,{engine:{syntax:{codeBlock:{customRenderer:{mermaid:qp(t,r)}}}}})}}]),t}();Ms(cU,"TYPE","figure");var lU=function(){var t,e,n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I,M,O,N,D,F,P,R,Q,U,H,j,$,K,G,z,X,q,V,W,Y,J,Z,tt,et=32768,nt=0,rt=1,it=2,at=8192,ot=2*et,st=3,ct=258,lt=8192,ut=lt,ht=8192,ft=ht-1,dt=et-1,At=0,pt=4096,gt=ct+st+1,mt=et-gt,bt=1,vt=15,yt=7,wt=29,Tt=256,kt=256,Ct=Tt+1+wt,Et=30,xt=19,_t=16,Bt=17,St=18,Lt=2*Ct+1,It=Mf((13+st-1)/st),Mt=null;function Ot(){this.fc=0,this.dl=0}function Nt(){this.dyn_tree=null,this.static_tree=null,this.extra_bits=null,this.extra_base=0,this.elems=0,this.max_length=0,this.max_code=0}function Dt(t,e,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r}function Ft(){this.next=null,this.len=0,this.ptr=new Array(at),this.off=0}var Pt=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Rt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Qt=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ut=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ht=[new Dt(0,0,0,0),new Dt(4,4,8,4),new Dt(4,5,16,8),new Dt(4,6,32,32),new Dt(4,4,16,16),new Dt(8,16,32,32),new Dt(8,16,128,128),new Dt(8,32,128,256),new Dt(32,128,258,1024),new Dt(32,258,258,4096)];function jt(e){e.next=t,t=e}function $t(t){return u[et+t]}function Kt(t,e){return u[et+t]=e}function Gt(r){Mt[a+i++]=r,a+i==at&&function(){if(0!=i){var r,o;for(null!=t?(s=t,t=t.next):s=new Ft,s.next=null,s.len=s.off=0,r=s,null==e?e=n=r:n=n.next=r,r.len=i-a,o=0;o<r.len;o++)r.ptr[o]=Mt[a+o];i=a=0}var s}()}function zt(t){t&=65535,a+i<at-2?(Mt[a+i++]=255&t,Mt[a+i++]=t>>>8):(Gt(255&t),Gt(t>>>8))}function Xt(){A=(A<<It^255&s[y+st-1])&ft,p=$t(A),u[y&dt]=p,Kt(A,y)}function qt(t,e){de(e[t].fc,e[t].dl)}function Vt(t){return 255&(t<256?j[t]:j[256+(t>>7)])}function Wt(t,e,n){return t[e].fc<t[n].fc||t[e].fc==t[n].fc&&U[e]<=U[n]}function Yt(t,e,n){var r;for(r=0;r<n&&tt<Z.length;r++)t[e+r]=255&Z.charCodeAt(tt++);return r}function Jt(t){var e,n,r=C,i=y,a=v,o=y>mt?y-mt:At,c=y+ct,l=s[i+a-1],h=s[i+a];v>=_&&(r>>=2);do{if(s[(e=t)+a]==h&&s[e+a-1]==l&&s[e]==s[i]&&s[++e]==s[i+1]){i+=2,e++;do{}while(s[++i]==s[++e]&&s[++i]==s[++e]&&s[++i]==s[++e]&&s[++i]==s[++e]&&s[++i]==s[++e]&&s[++i]==s[++e]&&s[++i]==s[++e]&&s[++i]==s[++e]&&i<c);if(n=ct-(c-i),i=c-ct,n>a){if(w=t,a=n,n>=ct)break;l=s[i+a-1],h=s[i+a]}}}while((t=u[t&dt])>o&&0!=--r);return a}function Zt(){var t,e,n=ot-k-y;if(-1==n)n--;else if(y>=et+mt){for(t=0;t<et;t++)s[t]=s[t+et];for(w-=et,y-=et,d-=et,t=0;t<ht;t++)Kt(t,(e=$t(t))>=et?e-et:At);for(t=0;t<et;t++)e=u[t],u[t]=e>=et?e-et:At;n+=et}T||((t=Yt(s,y+k,n))<=0?T=!0:k+=t)}function te(){T||(h=0,f=0,function(){var t,e,n,r,i;if(0!=I[0].dl)return;for(O.dyn_tree=B,O.static_tree=L,O.extra_bits=Pt,O.extra_base=Tt+1,O.elems=Ct,O.max_length=vt,O.max_code=0,N.dyn_tree=S,N.static_tree=I,N.extra_bits=Rt,N.extra_base=0,N.elems=Et,N.max_length=vt,N.max_code=0,D.dyn_tree=M,D.static_tree=null,D.extra_bits=Qt,D.extra_base=0,D.elems=xt,D.max_length=yt,D.max_code=0,n=0,r=0;r<wt-1;r++)for($[r]=n,t=0;t<1<<Pt[r];t++)H[n++]=r;for(H[n-1]=r,i=0,r=0;r<16;r++)for(K[r]=i,t=0;t<1<<Rt[r];t++)j[i++]=r;for(i>>=7;r<Et;r++)for(K[r]=i<<7,t=0;t<1<<Rt[r]-7;t++)j[256+i++]=r;for(e=0;e<=vt;e++)F[e]=0;t=0;for(;t<=143;)L[t++].dl=8,F[8]++;for(;t<=255;)L[t++].dl=9,F[9]++;for(;t<=279;)L[t++].dl=7,F[7]++;for(;t<=287;)L[t++].dl=8,F[8]++;for(ae(L,Ct+1),t=0;t<Et;t++)I[t].dl=5,I[t].fc=Ae(t,5);re()}(),function(){var t;for(t=0;t<ht;t++)u[et+t]=0;if(E=Ht[x].max_lazy,_=Ht[x].good_length,C=Ht[x].max_chain,y=0,d=0,(k=Yt(s,0,2*et))<=0)return T=!0,void(k=0);for(T=!1;k<gt&&!T;)Zt();for(A=0,t=0;t<st-1;t++)A=(A<<It^255&s[t])&ft}(),e=null,i=0,a=0,x<=3?(v=st-1,b=0):(b=st-1,m=0),o=!1)}function ee(t,n,i){var a;return r||(te(),r=!0,0!=k)?(a=ne(t,n,i))==i?i:o?a:(x<=3?function(){for(;0!=k&&null==e;){var t;if(Xt(),p!=At&&y-p<=mt&&(b=Jt(p))>k&&(b=k),b>=st)if(t=ue(y-w,b-st),k-=b,b<=E){b--;do{y++,Xt()}while(0!=--b);y++}else y+=b,b=0,A=((A=255&s[y])<<It^255&s[y+1])&ft;else t=ue(0,255&s[y]),k--,y++;for(t&&(le(0),d=y);k<gt&&!T;)Zt()}}():function(){for(;0!=k&&null==e;){if(Xt(),v=b,g=w,b=st-1,p!=At&&v<E&&y-p<=mt&&((b=Jt(p))>k&&(b=k),b==st&&y-w>pt&&b--),v>=st&&b<=v){var t;t=ue(y-1-g,v-st),k-=v-1,v-=2;do{y++,Xt()}while(0!=--v);m=0,b=st-1,y++,t&&(le(0),d=y)}else 0!=m?(ue(0,255&s[y-1])&&(le(0),d=y),y++,k--):(m=1,y++,k--);for(;k<gt&&!T;)Zt()}}(),0==k&&(0!=m&&ue(0,255&s[y-1]),le(1),o=!0),a+ne(t,a+n,i-a)):(o=!0,0)}function ne(t,n,r){var o,s,c;for(o=0;null!=e&&o<r;){for((s=r-o)>e.len&&(s=e.len),c=0;c<s;c++)t[n+o+c]=e.ptr[e.off+c];var l;if(e.off+=s,e.len-=s,o+=s,0==e.len)l=e,e=e.next,jt(l)}if(o==r)return o;if(a<i){for((s=r-o)>i-a&&(s=i-a),c=0;c<s;c++)t[n+o+c]=Mt[a+c];o+=s,i==(a+=s)&&(i=a=0)}return o}function re(){var t;for(t=0;t<Ct;t++)B[t].fc=0;for(t=0;t<Et;t++)S[t].fc=0;for(t=0;t<xt;t++)M[t].fc=0;B[kt].fc=1,Y=J=0,z=X=q=0,V=0,W=1}function ie(t,e){for(var n=P[e],r=e<<1;r<=R&&(r<R&&Wt(t,P[r+1],P[r])&&r++,!Wt(t,n,P[r]));)P[e]=P[r],e=r,r<<=1;P[e]=n}function ae(t,e){var n,r,i=new Array(vt+1),a=0;for(n=1;n<=vt;n++)a=a+F[n-1]<<1,i[n]=a;for(r=0;r<=e;r++){var o=t[r].dl;0!=o&&(t[r].fc=Ae(i[o]++,o))}}function oe(t){var e,n,r=t.dyn_tree,i=t.static_tree,a=t.elems,o=-1,s=a;for(R=0,Q=Lt,e=0;e<a;e++)0!=r[e].fc?(P[++R]=o=e,U[e]=0):r[e].dl=0;for(;R<2;){var c=P[++R]=o<2?++o:0;r[c].fc=1,U[c]=0,Y--,null!=i&&(J-=i[c].dl)}for(t.max_code=o,e=R>>1;e>=1;e--)ie(r,e);do{e=P[bt],P[bt]=P[R--],ie(r,bt),n=P[bt],P[--Q]=e,P[--Q]=n,r[s].fc=r[e].fc+r[n].fc,U[e]>U[n]+1?U[s]=U[e]:U[s]=U[n]+1,r[e].dl=r[n].dl=s,P[bt]=s++,ie(r,bt)}while(R>=2);P[--Q]=P[bt],function(t){var e,n,r,i,a,o,s=t.dyn_tree,c=t.extra_bits,l=t.extra_base,u=t.max_code,h=t.max_length,f=t.static_tree,d=0;for(i=0;i<=vt;i++)F[i]=0;for(s[P[Q]].dl=0,e=Q+1;e<Lt;e++)(i=s[s[n=P[e]].dl].dl+1)>h&&(i=h,d++),s[n].dl=i,n>u||(F[i]++,a=0,n>=l&&(a=c[n-l]),o=s[n].fc,Y+=o*(i+a),null!=f&&(J+=o*(f[n].dl+a)));if(0!=d){do{for(i=h-1;0==F[i];)i--;F[i]--,F[i+1]+=2,F[h]--,d-=2}while(d>0);for(i=h;0!=i;i--)for(n=F[i];0!=n;)(r=P[--e])>u||(s[r].dl!=i&&(Y+=(i-s[r].dl)*s[r].fc,s[r].fc=i),n--)}}(t),ae(r,o)}function se(t,e){var n,r,i=-1,a=t[0].dl,o=0,s=7,c=4;for(0==a&&(s=138,c=3),t[e+1].dl=65535,n=0;n<=e;n++)r=a,a=t[n+1].dl,++o<s&&r==a||(o<c?M[r].fc+=o:0!=r?(r!=i&&M[r].fc++,M[_t].fc++):o<=10?M[Bt].fc++:M[St].fc++,o=0,i=r,0==a?(s=138,c=3):r==a?(s=6,c=3):(s=7,c=4))}function ce(t,e){var n,r,i=-1,a=t[0].dl,o=0,s=7,c=4;for(0==a&&(s=138,c=3),n=0;n<=e;n++)if(r=a,a=t[n+1].dl,!(++o<s&&r==a)){if(o<c)do{qt(r,M)}while(0!=--o);else 0!=r?(r!=i&&(qt(r,M),o--),qt(_t,M),de(o-3,2)):o<=10?(qt(Bt,M),de(o-3,3)):(qt(St,M),de(o-11,7));o=0,i=r,0==a?(s=138,c=3):r==a?(s=6,c=3):(s=7,c=4)}}function le(t){var e,n,r,i,a;if(i=y-d,G[q]=V,oe(O),oe(N),r=function(){var t;for(se(B,O.max_code),se(S,N.max_code),oe(D),t=xt-1;t>=3&&0==M[Ut[t]].dl;t--);return Y+=3*(t+1)+5+5+4,t}(),(n=J+3+7>>3)<=(e=Y+3+7>>3)&&(e=n),i+4<=e&&d>=0)for(de((nt<<1)+t,3),pe(),zt(i),zt(~i),a=0;a<i;a++)Gt(s[d+a]);else n==e?(de((rt<<1)+t,3),he(L,I)):(de((it<<1)+t,3),function(t,e,n){var r;for(de(t-257,5),de(e-1,5),de(n-4,4),r=0;r<n;r++)de(M[Ut[r]].dl,3);ce(B,t-1),ce(S,e-1)}(O.max_code+1,N.max_code+1,r+1),he(B,S));re(),0!=t&&pe()}function ue(t,e){if(l[z++]=e,0==t?B[e].fc++:(t--,B[H[e]+Tt+1].fc++,S[Vt(t)].fc++,c[X++]=t,V|=W),W<<=1,0==(7&z)&&(G[q++]=V,V=0,W=1),x>2&&0==(4095&z)){var n,r=8*z,i=y-d;for(n=0;n<Et;n++)r+=S[n].fc*(5+Rt[n]);if(r>>=3,X<Mf(z/2)&&r<Mf(i/2))return!0}return z==lt-1||X==ut}function he(t,e){var n,r,i,a,o=0,s=0,u=0,h=0;if(0!=z)do{0==(7&o)&&(h=G[u++]),r=255&l[o++],0==(1&h)?qt(r,t):(qt((i=H[r])+Tt+1,t),0!=(a=Pt[i])&&de(r-=$[i],a),qt(i=Vt(n=c[s++]),e),0!=(a=Rt[i])&&de(n-=K[i],a)),h>>=1}while(o<z);qt(kt,t)}var fe=16;function de(t,e){f>fe-e?(zt(h|=t<<f),h=t>>fe-f,f+=e-fe):(h|=t<<f,f+=e)}function Ae(t,e){var n=0;do{n|=1&t,t>>=1,n<<=1}while(--e>0);return n>>1}function pe(){f>8?zt(h):f>0&&Gt(h),h=0,f=0}return function(i,a){var o,h;Z=i,tt=0,void 0===a&&(a=6),function(i){var a;if(i?i<1?i=1:i>9&&(i=9):i=6,x=i,r=!1,T=!1,null==Mt){for(t=e=n=null,Mt=new Array(at),s=new Array(ot),c=new Array(ut),l=new Array(32832),u=new Array(65536),B=new Array(Lt),a=0;a<Lt;a++)B[a]=new Ot;for(S=new Array(2*Et+1),a=0;a<2*Et+1;a++)S[a]=new Ot;for(L=new Array(Ct+2),a=0;a<Ct+2;a++)L[a]=new Ot;for(I=new Array(Et),a=0;a<Et;a++)I[a]=new Ot;for(M=new Array(2*xt+1),a=0;a<2*xt+1;a++)M[a]=new Ot;O=new Nt,N=new Nt,D=new Nt,F=new Array(vt+1),P=new Array(2*Ct+1),U=new Array(2*Ct+1),H=new Array(ct-st+1),j=new Array(512),$=new Array(wt),K=new Array(Et),G=new Array(Mf(lt/8))}}(a);for(var f=new Array(1024),d=[];(o=ee(f,0,f.length))>0;){var A=new Array(o);for(h=0;h<o;h++)A[h]=String.fromCharCode(f[h]);d[d.length]=A.join("")}return Z=null,d.join("")}}(),uU=lU;function hU(t,e){var n=ar(t);if(Gi){var r=Gi(t);e&&(r=ta(r).call(r,(function(e){return ca(t,e).enumerable}))),n.push.apply(n,r)}return n}function fU(t){for(var e=1;e<arguments.length;e++){var n,r,i=null!=arguments[e]?arguments[e]:{};e%2?ao(n=hU(Object(i),!0)).call(n,(function(e){Ms(t,e,i[e])})):lo?Ao(t,lo(i)):ao(r=hU(Object(i))).call(r,(function(e){mo(t,e,ca(i,e))}))}return t}function dU(t,e,n){var r=(3&t)<<4|e>>4,i=(15&e)<<2|n>>6,a=63&n,o="";return o+=AU(63&t>>2),o+=AU(63&r),o+=AU(63&i),o+=AU(63&a)}function AU(t){var e=t;return e<10?String.fromCharCode(48+e):(e-=10)<26?String.fromCharCode(65+e):(e-=26)<26?String.fromCharCode(97+e):0===(e-=26)?"-":1===e?"_":"?"}function pU(t,e){var n,r=unescape(encodeURIComponent(t));return Fs(n="".concat(e,"/svg/")).call(n,function(t){for(var e="",n=0;n<t.length;n+=3)n+2===t.length?e+=dU(t.charCodeAt(n),t.charCodeAt(n+1),0):n+1===t.length?e+=dU(t.charCodeAt(n),0,0):e+=dU(t.charCodeAt(n),t.charCodeAt(n+1),t.charCodeAt(n+2));return e}(uU(r,9)))}var gU=function(){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bo(this,t);this.baseUrl=null!==(e=n.baseUrl)&&void 0!==e?e:"http://www.plantuml.com/plantuml"}return hs(t,[{key:"render",value:function(t,e){var n,r,i=e;i||(i=Math.round(1e8*Math.random()));var a=Fs(n="plantuml-".concat(i,"-")).call(n,(new Date).getTime());return Fs(r='<img id="'.concat(a,'" src="')).call(r,pU(t,this.baseUrl),'" />')}}],[{key:"install",value:function(e,n){var r;xu(e,{engine:{syntax:{codeBlock:{customRenderer:{plantuml:new t(fU(fU({},n),null!==(r=e.engine.syntax.plantuml)&&void 0!==r?r:{}))}}}}})}}]),t}();function mU(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Array.from("string"==typeof t?[t]:t);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce((function(t,e){var n=e.match(/\n([\t ]+|(?!\s).)/g);return n?t.concat(n.map((function(t){var e,n;return null!==(n=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==n?n:0}))):t}),[]);if(i.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,i)+"}","g");r=r.map((function(t){return t.replace(a,"\n")}))}r[0]=r[0].replace(/^\r?\n/,"");var o=r[0];return e.forEach((function(t,e){var n=o.match(/(?:^|\n)( *)$/),i=n?n[1]:"",a=t;"string"==typeof t&&t.includes("\n")&&(a=String(t).split("\n").map((function(t,e){return 0===e?t:""+i+t})).join("\n")),o+=a+r[e+1]})),o}var bU=r((function(t,e){t.exports=function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",a="minute",o="hour",s="day",c="week",l="month",u="quarter",h="year",f="date",d="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},b={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,l),a=n-i<0,o=e.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:h,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",y={};y[v]=g;var w=function(t){return t instanceof E},T=function t(e,n,r){var i;if(!e)return v;if("string"==typeof e){var a=e.toLowerCase();y[a]&&(i=a),n&&(y[a]=n,i=a);var o=e.split("-");if(!i&&o.length>1)return t(o[0])}else{var s=e.name;y[s]=e,i=s}return!r&&i&&(v=i),i||!r&&v},k=function(t,e){if(w(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new E(n)},C=b;C.l=T,C.i=w,C.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var E=function(){function g(t){this.$L=T(t.locale,null,!0),this.parse(t)}var m=g.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(C.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(A);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return C},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var n=k(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return k(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<k(t)},m.$g=function(t,e,n){return C.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!C.u(e)||e,u=C.p(t),d=function(t,e){var i=C.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(s)},A=function(t,e){return C.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},p=this.$W,g=this.$M,m=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case h:return r?d(1,0):d(31,11);case l:return r?d(1,g):d(0,g+1);case c:var v=this.$locale().weekStart||0,y=(p<v?p+7:p)-v;return d(r?m-y:m+(6-y),g);case s:case f:return A(b+"Hours",0);case o:return A(b+"Minutes",1);case a:return A(b+"Seconds",2);case i:return A(b+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,c=C.p(t),u="set"+(this.$u?"UTC":""),d=(n={},n[s]=u+"Date",n[f]=u+"Date",n[l]=u+"Month",n[h]=u+"FullYear",n[o]=u+"Hours",n[a]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[c],A=c===s?this.$D+(e-this.$W):e;if(c===l||c===h){var p=this.clone().set(f,1);p.$d[d](A),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](A);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[C.p(t)]()},m.add=function(r,u){var f,d=this;r=Number(r);var A=C.p(u),p=function(t){var e=k(d);return C.w(e.date(e.date()+Math.round(t*r)),d)};if(A===l)return this.set(l,this.$M+r);if(A===h)return this.set(h,this.$y+r);if(A===s)return p(1);if(A===c)return p(7);var g=(f={},f[a]=e,f[o]=n,f[i]=t,f)[A]||1,m=this.$d.getTime()+r*g;return C.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=C.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,h=function(t,n,i,a){return t&&(t[n]||t(e,r))||i[n].slice(0,a)},f=function(t){return C.s(a%12||12,t,"0")},A=u||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(p,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return C.s(e.$y,4,"0");case"M":return s+1;case"MM":return C.s(s+1,2,"0");case"MMM":return h(n.monthsShort,s,l,3);case"MMMM":return h(l,s);case"D":return e.$D;case"DD":return C.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,c,2);case"ddd":return h(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(a);case"HH":return C.s(a,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return A(a,o,!0);case"A":return A(a,o,!1);case"m":return String(o);case"mm":return C.s(o,2,"0");case"s":return String(e.$s);case"ss":return C.s(e.$s,2,"0");case"SSS":return C.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,f,d){var A,p=this,g=C.p(f),m=k(r),b=(m.utcOffset()-this.utcOffset())*e,v=this-m,y=function(){return C.m(p,m)};switch(g){case h:A=y()/12;break;case l:A=y();break;case u:A=y()/3;break;case c:A=(v-b)/6048e5;break;case s:A=(v-b)/864e5;break;case o:A=v/n;break;case a:A=v/e;break;case i:A=v/t;break;default:A=v}return d?A:C.a(A)},m.daysInMonth=function(){return this.endOf(l).$D},m.$locale=function(){return y[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=T(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return C.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),x=E.prototype;return k.prototype=x,[["$ms",r],["$s",i],["$m",a],["$H",o],["$W",s],["$M",l],["$y",h],["$D",f]].forEach((function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),k.extend=function(t,e){return t.$i||(t(e,E,k),t.$i=!0),k},k.locale=T,k.isDayjs=w,k.unix=function(t){return k(1e3*t)},k.en=y[v],k.Ls=y,k.p={},k}()})),vU=r((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeUrl=e.BLANK_URL=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,i=/&(newline|tab);/gi,a=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,o=/^.+(:|:)/gim,s=[".","/"];e.BLANK_URL="about:blank",e.sanitizeUrl=function(t){if(!t)return e.BLANK_URL;var c=function(t){return t.replace(a,"").replace(r,(function(t,e){return String.fromCharCode(e)}))}(t).replace(i,"").replace(a,"").trim();if(!c)return e.BLANK_URL;if(function(t){return s.indexOf(t[0])>-1}(c))return c;var l=c.match(o);if(!l)return c;var u=l[0];return n.test(u)?e.BLANK_URL:c}}));n(vU);var yU=vU.sanitizeUrl;function wU(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function TU(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function kU(t){var e,n,r;function i(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i<a){if(0!==e(r,r))return a;do{var o=i+a>>>1;n(t[o],r)<0?i=o+1:a=o}while(i<a)}return i}return 2!==t.length?(e=wU,n=function(e,n){return wU(t(e),n)},r=function(e,n){return t(e)-n}):(e=t===wU||t===TU?t:CU,n=t,r=t),{left:i,center:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=i(t,e,n,(arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length)-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i<a){if(0!==e(r,r))return a;do{var o=i+a>>>1;n(t[o],r)<=0?i=o+1:a=o}while(i<a)}return i}}}function CU(){return 0}vU.BLANK_URL;var EU=Io,xU=Vh;var _U=kU(wU).right;kU((function(t){return null===t?NaN:+t})).center;var BU=_U;class SU extends Map{constructor(t,e=IU){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,n]of t)this.set(e,n)}get(t){return super.get(LU(this,t))}has(t){return super.has(LU(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const r=e(n);t.has(r)&&(n=t.get(r),t.delete(r));return n}(this,t))}}function LU({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function IU(t){return null!==t&&"object"==typeof t?t.valueOf():t}var MU=Y.match(/firefox\/(\d+)/i),OU=!!MU&&+MU[1],NU=/MSIE|Trident/.test(Y),DU=Y.match(/AppleWebKit\/(\d+)\./),FU=!!DU&&+DU[1],PU=OU,RU=NU,QU=FU,UU=[],HU=T(UU.sort),jU=T(UU.push),$U=h((function(){UU.sort(void 0)})),KU=h((function(){UU.sort(null)})),GU=Ja("sort"),zU=!h((function(){if(nt)return nt<70;if(!(PU&&PU>3)){if(RU)return!0;if(QU)return QU<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)UU.push({k:e+r,v:n})}for(UU.sort((function(t,e){return e.v-t.v})),r=0;r<UU.length;r++)e=UU[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));jn({target:"Array",proto:!0,forced:$U||!KU||!GU||!zU},{sort:function(t){void 0!==t&&pt(t);var e=_t(this);if(zU)return void 0===t?HU(e):HU(e,t);var n,r,i=[],a=bn(e);for(r=0;r<a;r++)r in e&&jU(i,e[r]);for(qy(i,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:Ur(e)>Ur(n)?1:-1}}(t)),n=bn(i),r=0;r<n;)e[r]=i[r++];for(;r<a;)Rd(e,r++);return e}});var XU=Wi("Array").sort,qU=Array.prototype,VU=function(t){var e=t.sort;return t===qU||ct(qU,t)&&e===qU.sort?XU:e},WU=VU,YU=Math.log,JU=Math.LOG10E,ZU=Math.log10||function(t){return YU(t)*JU};jn({target:"Math",stat:!0},{log10:ZU});var tH=X.Math.log10,eH=Math.sqrt(50),nH=Math.sqrt(10),rH=Math.sqrt(2);function iH(t,e,n){var r,i,a,o=(e-t)/Math.max(0,n),s=Math.floor(tH(o)),c=o/Math.pow(10,s),l=c>=eH?10:c>=nH?5:c>=rH?2:1;return s<0?(a=Math.pow(10,-s)/l,(r=Math.round(t*a))/a<t&&++r,(i=Math.round(e*a))/a>e&&--i,a=-a):(a=Math.pow(10,s)*l,(r=Math.round(t/a))*a<t&&++r,(i=Math.round(e/a))*a>e&&--i),i<r&&.5<=n&&n<2?iH(t,e,2*n):[r,i,a]}function aH(t,e,n){return iH(t=+t,e=+e,n=+n)[2]}function oH(t,e,n){n=+n;var r=(e=+e)<(t=+t),i=r?aH(e,t,n):aH(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function sH(t,e){var n=void 0!==EU&&xU(t)||t["@@iterator"];if(!n){if(rA(t)||(n=function(t,e){var n;if(!t)return;if("string"==typeof t)return cH(t,e);var r=Cf(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return kh(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cH(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function cH(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function lH(t,e){var n;if(void 0===e){var r,i=sH(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;null!=a&&(n<a||void 0===n&&a>=a)&&(n=a)}}catch(t){i.e(t)}finally{i.f()}}else{var o,s=-1,c=sH(t);try{for(c.s();!(o=c.n()).done;){var l=o.value;null!=(l=e(l,++s,t))&&(n<l||void 0===n&&l>=l)&&(n=l)}}catch(t){c.e(t)}finally{c.f()}}return n}function uH(t,e){var n=void 0!==EU&&xU(t)||t["@@iterator"];if(!n){if(rA(t)||(n=function(t,e){var n;if(!t)return;if("string"==typeof t)return hH(t,e);var r=Cf(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return kh(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hH(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function hH(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function fH(t,e){var n;if(void 0===e){var r,i=uH(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;null!=a&&(n>a||void 0===n&&a>=a)&&(n=a)}}catch(t){i.e(t)}finally{i.f()}}else{var o,s=-1,c=uH(t);try{for(c.s();!(o=c.n()).done;){var l=o.value;null!=(l=e(l,++s,t))&&(n>l||void 0===n&&l>=l)&&(n=l)}}catch(t){c.e(t)}finally{c.f()}}return n}var dH=aS;function AH(t){return t}var pH=1,gH=2,mH=3,bH=4,vH=1e-6;function yH(t){return"translate("+t+",0)"}function wH(t){return"translate(0,"+t+")"}function TH(t){return function(e){return+t(e)}}function kH(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function CH(){return!this.__axis}function EH(t,e){var n=[],r=null,i=null,a=6,o=6,s=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,l=t===pH||t===bH?-1:1,u=t===bH||t===gH?"x":"y",h=t===pH||t===mH?yH:wH;function f(f){var d=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,A=null==i?e.tickFormat?e.tickFormat.apply(e,n):AH:i,p=Math.max(a,0)+s,g=e.range(),m=+g[0]+c,b=+g[g.length-1]+c,v=(e.bandwidth?kH:TH)(e.copy(),c),y=f.selection?f.selection():f,w=y.selectAll(".domain").data([null]),T=y.selectAll(".tick").data(d,e).order(),k=T.exit(),C=T.enter().append("g").attr("class","tick"),E=T.select("line"),x=T.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(C),E=E.merge(C.append("line").attr("stroke","currentColor").attr(u+"2",l*a)),x=x.merge(C.append("text").attr("fill","currentColor").attr(u,l*p).attr("dy",t===pH?"0em":t===mH?"0.71em":"0.32em")),f!==y&&(w=w.transition(f),T=T.transition(f),E=E.transition(f),x=x.transition(f),k=k.transition(f).attr("opacity",vH).attr("transform",(function(t){return isFinite(t=v(t))?h(t+c):this.getAttribute("transform")})),C.attr("opacity",vH).attr("transform",(function(t){var e=this.parentNode.__axis;return h((e&&isFinite(e=e(t))?e:v(t))+c)}))),k.remove(),w.attr("d",t===bH||t===gH?o?"M"+l*o+","+m+"H"+c+"V"+b+"H"+l*o:"M"+c+","+m+"V"+b:o?"M"+m+","+l*o+"V"+c+"H"+b+"V"+l*o:"M"+m+","+c+"H"+b),T.attr("opacity",1).attr("transform",(function(t){return h(v(t)+c)})),E.attr(u+"2",l*a),x.attr(u,l*p).text(A),ta(y).call(y,CH).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===gH?"start":t===bH?"end":"middle"),y.each((function(){this.__axis=v}))}return f.scale=function(t){return arguments.length?(e=t,f):e},f.ticks=function(){return n=kh(arguments),f},f.tickArguments=function(t){return arguments.length?(n=null==t?[]:kh(t),f):Cf(n).call(n)},f.tickValues=function(t){return arguments.length?(r=null==t?null:kh(t),f):r&&Cf(r).call(r)},f.tickFormat=function(t){return arguments.length?(i=t,f):i},f.tickSize=function(t){return arguments.length?(a=o=+t,f):a},f.tickSizeInner=function(t){return arguments.length?(a=+t,f):a},f.tickSizeOuter=function(t){return arguments.length?(o=+t,f):o},f.tickPadding=function(t){return arguments.length?(s=+t,f):s},f.offset=function(t){return arguments.length?(c=+t,f):c},f}var xH={value:function(){}};function _H(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new BH(r)}function BH(t){this._=t}function SH(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function LH(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){var a;t[r]=xH,t=Fs(a=Cf(t).call(t,0,r)).call(a,Cf(t).call(t,r+1));break}return null!=n&&t.push({name:e,value:n}),t}BH.prototype=_H.prototype={constructor:BH,on:function(t,e){var n,r=this._,i=function(t,e){var n;return tA(n=ih(t).call(t).split(/^|\s+/)).call(n,(function(t){var n="",r=Tf(t).call(t,".");if(r>=0&&(n=Cf(t).call(t,r+1),t=Cf(t).call(t,0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}(t+"",r),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<o;)if(n=(t=i[a]).type)r[n]=LH(r[n],t.name,e);else if(null==e)for(n in r)r[n]=LH(r[n],t.name,null);return this}for(;++a<o;)if((n=(t=i[a]).type)&&(n=SH(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e){var r;t[n]=Cf(r=e[n]).call(r)}return new BH(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};var IH="http://www.w3.org/1999/xhtml",MH={svg:"http://www.w3.org/2000/svg",xhtml:IH,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function OH(t){var e=t+="",n=Tf(e).call(e,":");return n>=0&&"xmlns"!==(e=Cf(t).call(t,0,n))&&(t=Cf(t).call(t,n+1)),MH.hasOwnProperty(e)?{space:MH[e],local:t}:t}function NH(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===IH&&e.documentElement.namespaceURI===IH?e.createElement(t):e.createElementNS(n,t)}}function DH(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function FH(t){var e=OH(t);return(e.local?DH:NH)(e)}var PH=is;function RH(){}function QH(t){return null==t?RH:function(){return this.querySelector(t)}}function UH(t){return null==t?[]:rA(t)?t:kh(t)}function HH(){return[]}function jH(t){return null==t?HH:function(){return this.querySelectorAll(t)}}function $H(t){return function(){return this.matches(t)}}function KH(t){return function(e){return e.matches(t)}}var GH=Kh(Array.prototype);function zH(){return this.firstElementChild}var XH=ta(Array.prototype);function qH(){return kh(this.children)}var VH=bp;function WH(t){return new Array(t.length)}function YH(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function JH(t,e,n,r,i,a){for(var o,s=0,c=e.length,l=a.length;s<l;++s)(o=e[s])?(o.__data__=a[s],r[s]=o):n[s]=new YH(t,a[s]);for(;s<c;++s)(o=e[s])&&(i[s]=o)}function ZH(t,e,n,r,i,a,o){var s,c,l,u=new VH,h=e.length,f=a.length,d=new Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=l=o.call(c,c.__data__,s,e)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<f;++s)l=o.call(t,a[s],s,a)+"",(c=u.get(l))?(r[s]=c,c.__data__=a[s],u.delete(l)):n[s]=new YH(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&u.get(d[s])===c&&(i[s]=c)}function tj(t){return t.__data__}function ej(t){return"object"===ss(t)&&"length"in t?t:kh(t)}function nj(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function rj(t,e){var n=void 0!==EU&&xU(t)||t["@@iterator"];if(!n){if(rA(t)||(n=function(t,e){var n;if(!t)return;if("string"==typeof t)return ij(t,e);var r=Cf(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return kh(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ij(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function ij(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function aj(t){return function(){this.removeAttribute(t)}}function oj(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sj(t,e){return function(){this.setAttribute(t,e)}}function cj(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function lj(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function uj(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function hj(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function fj(t){return function(){this.style.removeProperty(t)}}function dj(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Aj(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function pj(t,e){return t.style.getPropertyValue(e)||hj(t).getComputedStyle(t,null).getPropertyValue(e)}function gj(t){return function(){delete this[t]}}function mj(t,e){return function(){this[t]=e}}function bj(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function vj(t){return ih(t).call(t).split(/^|\s+/)}function yj(t){return t.classList||new wj(t)}function wj(t){this._node=t,this._names=vj(t.getAttribute("class")||"")}function Tj(t,e){for(var n=yj(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function kj(t,e){for(var n=yj(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Cj(t){return function(){Tj(this,t)}}function Ej(t){return function(){kj(this,t)}}function xj(t,e){return function(){(e.apply(this,arguments)?Tj:kj)(this,t)}}function _j(){this.textContent=""}function Bj(t){return function(){this.textContent=t}}function Sj(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Lj(){this.innerHTML=""}function Ij(t){return function(){this.innerHTML=t}}function Mj(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Oj(){this.nextSibling&&this.parentNode.appendChild(this)}function Nj(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Dj(){return null}function Fj(){var t=this.parentNode;t&&t.removeChild(this)}function Pj(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Rj(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Qj(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Uj(t,e,n){return function(){var r,i=this.__on,a=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var o=0,s=i.length;o<s;++o)if((r=i[o]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),void(r.value=e);this.addEventListener(t.type,a,n),r={type:t.type,name:t.name,value:e,listener:a,options:n},i?i.push(r):this.__on=[r]}}function Hj(t,e,n){var r=hj(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function jj(t,e){return function(){return Hj(this,t,e)}}function $j(t,e){return function(){return Hj(this,t,e.apply(this,arguments))}}YH.prototype={constructor:YH,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},wj.prototype={add:function(t){var e;Tf(e=this._names).call(e,t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e,n,r=Tf(e=this._names).call(e,t);r>=0&&(Gd(n=this._names).call(n,r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){var e;return Tf(e=this._names).call(e,t)>=0}};var Kj=fS.mark(Gj);function Gj(){var t,e,n,r,i,a,o;return fS.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:t=this._groups,e=0,n=t.length;case 1:if(!(e<n)){s.next=13;break}r=t[e],i=0,a=r.length;case 3:if(!(i<a)){s.next=10;break}if(!(o=r[i])){s.next=7;break}return s.next=7,o;case 7:++i,s.next=3;break;case 10:++e,s.next=1;break;case 13:case"end":return s.stop()}}),Kj,this)}var zj,Xj,qj,Vj,Wj,Yj,Jj,Zj,t$,e$=[null];function n$(t,e){this._groups=t,this._parents=e}function r$(){return new n$([[document.documentElement]],e$)}function i$(t){return"string"==typeof t?new n$([[document.querySelector(t)]],[document.documentElement]):new n$([[t]],e$)}function a$(t){return"string"==typeof t?new n$([document.querySelectorAll(t)],[document.documentElement]):new n$([UH(t)],e$)}function o$(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function s$(t,e){var n=kf(t.prototype);for(var r in e)n[r]=e[r];return n}function c$(){}n$.prototype=r$.prototype=Ms({constructor:n$,select:function(t){"function"!=typeof t&&(t=QH(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o,s=e[i],c=s.length,l=r[i]=new Array(c),u=0;u<c;++u)(a=s[u])&&(o=t.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),l[u]=o);return new n$(r,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return UH(t.apply(this,arguments))}}(t):jH(t);for(var e=this._groups,n=e.length,r=[],i=[],a=0;a<n;++a)for(var o,s=e[a],c=s.length,l=0;l<c;++l)(o=s[l])&&(r.push(t.call(o,o.__data__,l,s)),i.push(o));return new n$(r,i)},selectChild:function(t){return this.select(null==t?zH:function(t){return function(){return GH.call(this.children,t)}}("function"==typeof t?t:KH(t)))},selectChildren:function(t){return this.selectAll(null==t?qH:function(t){return function(){return XH.call(this.children,t)}}("function"==typeof t?t:KH(t)))},filter:function(t){"function"!=typeof t&&(t=$H(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new n$(r,this._parents)},data:function(t,e){if(!arguments.length)return kh(this,tj);var n=e?ZH:JH,r=this._parents,i=this._groups;"function"!=typeof t&&(t=function(t){return function(){return t}}(t));for(var a=i.length,o=new Array(a),s=new Array(a),c=new Array(a),l=0;l<a;++l){var u=r[l],h=i[l],f=h.length,d=ej(t.call(u,u&&u.__data__,l,r)),A=d.length,p=s[l]=new Array(A),g=o[l]=new Array(A);n(u,h,p,g,c[l]=new Array(f),d,e);for(var m,b,v=0,y=0;v<A;++v)if(m=p[v]){for(v>=y&&(y=v+1);!(b=g[y])&&++y<A;);m._next=b||null}}return(o=new n$(o,r))._enter=s,o._exit=c,o},enter:function(){var t;return new n$(this._enter||tA(t=this._groups).call(t,WH),this._parents)},exit:function(){var t;return new n$(this._exit||tA(t=this._groups).call(t,WH),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,a=r.length,o=Math.min(i,a),s=new Array(i),c=0;c<o;++c)for(var l,u=n[c],h=r[c],f=u.length,d=s[c]=new Array(f),A=0;A<f;++A)(l=u[A]||h[A])&&(d[A]=l);for(;c<i;++c)s[c]=n[c];return new n$(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=nj);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,s=n[a],c=s.length,l=i[a]=new Array(c),u=0;u<c;++u)(o=s[u])&&(l[u]=o);WU(l).call(l,e)}return new n$(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return kh(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){var t,e=0,n=rj(this);try{for(n.s();!(t=n.n()).done;){t.value;++e}}catch(t){n.e(t)}finally{n.f()}return e},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,s=a.length;o<s;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=OH(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?oj:aj:"function"==typeof e?n.local?uj:lj:n.local?cj:sj)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?fj:"function"==typeof e?Aj:dj)(t,e,null==n?"":n)):pj(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?gj:"function"==typeof e?bj:mj)(t,e)):this.node()[t]},classed:function(t,e){var n=vj(t+"");if(arguments.length<2){for(var r=yj(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?xj:e?Cj:Ej)(n,e))},text:function(t){return arguments.length?this.each(null==t?_j:("function"==typeof t?Sj:Bj)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Lj:("function"==typeof t?Mj:Ij)(t)):this.node().innerHTML},raise:function(){return this.each(Oj)},lower:function(){return this.each(Nj)},append:function(t){var e="function"==typeof t?t:FH(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:FH(t),r=null==e?Dj:"function"==typeof e?e:QH(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Fj)},clone:function(t){return this.select(t?Rj:Pj)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,a=function(t){var e;return tA(e=ih(t).call(t).split(/^|\s+/)).call(e,(function(t){var e="",n=Tf(t).call(t,".");return n>=0&&(e=Cf(t).call(t,n+1),t=Cf(t).call(t,0,n)),{type:t,name:e}}))}(t+""),o=a.length;if(!(arguments.length<2)){for(s=e?Uj:Qj,r=0;r<o;++r)this.each(s(a[r],e,n));return this}var s=this.node().__on;if(s)for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<o;++r)if((i=a[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?$j:jj)(t,e))}},PH,Gj);var l$=.7,u$=1/l$,h$="\\s*([+-]?\\d+)\\s*",f$="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",d$="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A$=/^#([0-9a-f]{3,8})$/,p$=new RegExp(Fs(zj="^rgb\\(".concat(h$,",").concat(h$,",")).call(zj,h$,"\\)$")),g$=new RegExp(Fs(Xj="^rgb\\(".concat(d$,",").concat(d$,",")).call(Xj,d$,"\\)$")),m$=new RegExp(Fs(qj=Fs(Vj="^rgba\\(".concat(h$,",").concat(h$,",")).call(Vj,h$,",")).call(qj,f$,"\\)$")),b$=new RegExp(Fs(Wj=Fs(Yj="^rgba\\(".concat(d$,",").concat(d$,",")).call(Yj,d$,",")).call(Wj,f$,"\\)$")),v$=new RegExp(Fs(Jj="^hsl\\(".concat(f$,",").concat(d$,",")).call(Jj,d$,"\\)$")),y$=new RegExp(Fs(Zj=Fs(t$="^hsla\\(".concat(f$,",").concat(d$,",")).call(t$,d$,",")).call(Zj,f$,"\\)$")),w$={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function T$(){return this.rgb().formatHex()}function k$(){return this.rgb().formatRgb()}function C$(t){var e,n,r;return t=ih(e=t+"").call(e).toLowerCase(),(n=A$.exec(t))?(r=n[1].length,n=Mf(n[1],16),6===r?E$(n):3===r?new S$(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===r?x$(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===r?x$(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=p$.exec(t))?new S$(n[1],n[2],n[3],1):(n=g$.exec(t))?new S$(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=m$.exec(t))?x$(n[1],n[2],n[3],n[4]):(n=b$.exec(t))?x$(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=v$.exec(t))?D$(n[1],n[2]/100,n[3]/100,1):(n=y$.exec(t))?D$(n[1],n[2]/100,n[3]/100,n[4]):w$.hasOwnProperty(t)?E$(w$[t]):"transparent"===t?new S$(NaN,NaN,NaN,0):null}function E$(t){return new S$(t>>16&255,t>>8&255,255&t,1)}function x$(t,e,n,r){return r<=0&&(t=e=n=NaN),new S$(t,e,n,r)}function _$(t){return t instanceof c$||(t=C$(t)),t?new S$((t=t.rgb()).r,t.g,t.b,t.opacity):new S$}function B$(t,e,n,r){return 1===arguments.length?_$(t):new S$(t,e,n,null==r?1:r)}function S$(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function L$(){var t,e;return Fs(t=Fs(e="#".concat(N$(this.r))).call(e,N$(this.g))).call(t,N$(this.b))}function I$(){var t,e,n,r,i=M$(this.opacity);return Fs(t=Fs(e=Fs(n=Fs(r="".concat(1===i?"rgb(":"rgba(")).call(r,O$(this.r),", ")).call(n,O$(this.g),", ")).call(e,O$(this.b))).call(t,1===i?")":", ".concat(i,")"))}function M$(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function O$(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function N$(t){return((t=O$(t))<16?"0":"")+t.toString(16)}function D$(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new P$(t,e,n,r)}function F$(t){if(t instanceof P$)return new P$(t.h,t.s,t.l,t.opacity);if(t instanceof c$||(t=C$(t)),!t)return new P$;if(t instanceof P$)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new P$(o,s,c,t.opacity)}function P$(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function R$(t){return(t=(t||0)%360)<0?t+360:t}function Q$(t){return Math.max(0,Math.min(1,t||0))}function U$(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}o$(c$,C$,{copy:function(t){return Gu(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:T$,formatHex:T$,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return F$(this).formatHsl()},formatRgb:k$,toString:k$}),o$(S$,B$,s$(c$,{brighter:function(t){return t=null==t?u$:Math.pow(u$,t),new S$(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?l$:Math.pow(l$,t),new S$(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new S$(O$(this.r),O$(this.g),O$(this.b),M$(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:L$,formatHex:L$,formatHex8:function(){var t,e,n;return Fs(t=Fs(e=Fs(n="#".concat(N$(this.r))).call(n,N$(this.g))).call(e,N$(this.b))).call(t,N$(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I$,toString:I$})),o$(P$,(function(t,e,n,r){return 1===arguments.length?F$(t):new P$(t,e,n,null==r?1:r)}),s$(c$,{brighter:function(t){return t=null==t?u$:Math.pow(u$,t),new P$(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?l$:Math.pow(l$,t),new P$(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new S$(U$(t>=240?t-240:t+120,i,r),U$(t,i,r),U$(t<120?t+240:t-120,i,r),this.opacity)},clamp:function(){return new P$(R$(this.h),Q$(this.s),Q$(this.l),M$(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t,e,n,r,i=M$(this.opacity);return Fs(t=Fs(e=Fs(n=Fs(r="".concat(1===i?"hsl(":"hsla(")).call(r,R$(this.h),", ")).call(n,100*Q$(this.s),"%, ")).call(e,100*Q$(this.l),"%")).call(t,1===i?")":", ".concat(i,")"))}}));var H$=Math.PI/180,j$=180/Math.PI,$$=.96422,K$=1,G$=.82521,z$=4/29,X$=6/29,q$=3*X$*X$,V$=X$*X$*X$;function W$(t){if(t instanceof Y$)return new Y$(t.l,t.a,t.b,t.opacity);if(t instanceof rK)return iK(t);t instanceof S$||(t=_$(t));var e,n,r=eK(t.r),i=eK(t.g),a=eK(t.b),o=J$((.2225045*r+.7168786*i+.0606169*a)/K$);return r===i&&i===a?e=n=o:(e=J$((.4360747*r+.3850649*i+.1430804*a)/$$),n=J$((.0139322*r+.0971045*i+.7141733*a)/G$)),new Y$(116*o-16,500*(e-o),200*(o-n),t.opacity)}function Y$(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function J$(t){return t>V$?Math.pow(t,1/3):t/q$+z$}function Z$(t){return t>X$?t*t*t:q$*(t-z$)}function tK(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eK(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function nK(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof rK)return new rK(t.h,t.c,t.l,t.opacity);if(t instanceof Y$||(t=W$(t)),0===t.a&&0===t.b)return new rK(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*j$;return new rK(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new rK(t,e,n,null==r?1:r)}function rK(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function iK(t){if(isNaN(t.h))return new Y$(t.l,0,0,t.opacity);var e=t.h*H$;return new Y$(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}o$(Y$,(function(t,e,n,r){return 1===arguments.length?W$(t):new Y$(t,e,n,null==r?1:r)}),s$(c$,{brighter:function(t){return new Y$(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Y$(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new S$(tK(3.1338561*(e=$$*Z$(e))-1.6168667*(t=K$*Z$(t))-.4906146*(n=G$*Z$(n))),tK(-.9787684*e+1.9161415*t+.033454*n),tK(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),o$(rK,nK,s$(c$,{brighter:function(t){return new rK(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new rK(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return iK(this).rgb()}}));var aK=function(t){return function(){return t}};function oK(t,e){return function(n){return t+n*e}}function sK(t){return 1==(t=+t)?cK:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):aK(isNaN(e)?n:e)}}function cK(t,e){var n=e-t;return n?oK(t,n):aK(isNaN(t)?e:t)}var lK=function t(e){var n=sK(e);function r(t,e){var r=n((t=B$(t)).r,(e=B$(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=cK(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);function uK(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=Cf(e).call(e);return function(a){for(n=0;n<r;++n)i[n]=t[n]*(1-a)+e[n]*a;return i}}function hK(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=bK(t[n],e[n]);for(;n<r;++n)o[n]=e[n];return function(t){for(n=0;n<i;++n)o[n]=a[n](t);return o}}function fK(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function dK(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function AK(t,e){var n,r={},i={};for(n in null!==t&&"object"===ss(t)||(t={}),null!==e&&"object"===ss(e)||(e={}),e)n in t?r[n]=bK(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var pK=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,gK=new RegExp(pK.source,"g");function mK(t,e){var n,r,i,a=pK.lastIndex=gK.lastIndex=0,o=-1,s=[],c=[];for(t+="",e+="";(n=pK.exec(t))&&(r=gK.exec(e));)(i=r.index)>a&&(i=Cf(e).call(e,a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,c.push({i:o,x:dK(n,r)})),a=gK.lastIndex;return a<e.length&&(i=Cf(e).call(e,a),s[o]?s[o]+=i:s[++o]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function bK(t,e){var n,r=ss(e);return null==e||"boolean"===r?aK(e):("number"===r?dK:"string"===r?(n=C$(e))?(e=n,lK):mK:e instanceof C$?lK:e instanceof Date?fK:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?uK:rA(e)?hK:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?AK:dK)(t,e)}function vK(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var yK,wK=180/Math.PI,TK={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function kK(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*wK,skewX:Math.atan(c)*wK,scaleX:o,scaleY:s}}function CK(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var s=[],c=[];return a=t(a),o=t(o),function(t,r,i,a,o,s){if(t!==i||r!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:dK(t,i)},{i:c-2,x:dK(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,s,c),function(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:dK(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,s,c),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:dK(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,s,c),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:dK(t,n)},{i:s-2,x:dK(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,c),a=o=null,function(t){for(var e,n=-1,r=c.length;++n<r;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var EK=CK((function(t){var e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?TK:kK(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),xK=CK((function(t){return null==t?TK:(yK||(yK=document.createElementNS("http://www.w3.org/2000/svg","g")),yK.setAttribute("transform",t),(t=yK.transform.baseVal.consolidate())?kK((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):TK)}),", ",")",")");var _K,BK,SK,LK=function(t){return function(e,n){var r=t((e=nK(e)).h,(n=nK(n)).h),i=cK(e.c,n.c),a=cK(e.l,n.l),o=cK(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}((function(t,e){var n=e-t;return n?oK(t,n>180||n<-180?n-360*Math.round(n/360):n):aK(isNaN(t)?e:t)})),IK=0,MK=0,OK=0,NK=1e3,DK=0,FK=0,PK=0,RK="object"===("undefined"==typeof performance?"undefined":ss(performance))&&performance.now?performance:Date,QK="object"===("undefined"==typeof window?"undefined":ss(window))&&window.requestAnimationFrame?Ps(_K=window.requestAnimationFrame).call(_K,window):function(t){Xs(t,17)};function UK(){return FK||(QK(HK),FK=RK.now()+PK)}function HK(){FK=0}function jK(){this._call=this._time=this._next=null}function $K(t,e,n){var r=new jK;return r.restart(t,e,n),r}function KK(){FK=(DK=RK.now())+PK,IK=MK=0;try{!function(){UK(),++IK;for(var t,e=BK;e;)(t=FK-e._time)>=0&&e._call.call(void 0,t),e=e._next;--IK}()}finally{IK=0,function(){var t,e,n=BK,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:BK=e);SK=t,zK(r)}(),FK=0}}function GK(){var t=RK.now(),e=t-DK;e>NK&&(PK-=e,DK=t)}function zK(t){IK||(MK&&(MK=clearTimeout(MK)),t-FK>24?(t<1/0&&(MK=Xs(KK,t-RK.now()-PK)),OK&&(OK=clearInterval(OK))):(OK||(DK=RK.now(),OK=CC(GK,NK)),IK=1,QK(KK)))}function XK(t,e,n){var r=new jK;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}jK.prototype=$K.prototype={constructor:jK,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?UK():+n)+(null==e?0:+e),this._next||SK===this||(SK?SK._next=this:BK=this,SK=this),this._call=t,this._time=n,zK()},stop:function(){this._call&&(this._call=null,this._time=1/0,zK())}};var qK=_H("start","end","cancel","interrupt"),VK=[],WK=0,YK=1,JK=2,ZK=3,tG=4,eG=5,nG=6;function rG(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(t){n.state=YK,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}function o(a){var l,u,h,f;if(n.state!==YK)return c();for(l in i)if((f=i[l]).name===n.name){if(f.state===ZK)return XK(o);f.state===tG?(f.state=nG,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=nG,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(XK((function(){n.state===ZK&&(n.state=tG,n.timer.restart(s,n.delay,n.time),s(a))})),n.state=JK,n.on.call("start",t,t.__data__,n.index,n.group),n.state===JK){for(n.state=ZK,r=new Array(h=n.tween.length),l=0,u=-1;l<h;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=eG,1),a=-1,o=r.length;++a<o;)r[a].call(t,i);n.state===eG&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var r in n.state=nG,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=$K(a,0,n.time)}(t,n,{name:e,index:r,group:i,on:qK,tween:VK,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:WK})}function iG(t,e){var n=oG(t,e);if(n.state>WK)throw new Error("too late; already scheduled");return n}function aG(t,e){var n=oG(t,e);if(n.state>ZK)throw new Error("too late; already running");return n}function oG(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function sG(t,e){var n,r;return function(){var i=aG(this,t),a=i.tween;if(a!==n)for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===e){r=Cf(r).call(r),Gd(r).call(r,o,1);break}i.tween=r}}function cG(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=aG(this,t),o=a.tween;if(o!==r){var s;i=Cf(s=r=o).call(s);for(var c={name:e,value:n},l=0,u=i.length;l<u;++l)if(i[l].name===e){i[l]=c;break}l===u&&i.push(c)}a.tween=i}}function lG(t,e,n){var r=t._id;return t.each((function(){var t=aG(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return oG(t,r).value[e]}}function uG(t,e){var n;return("number"==typeof e?dK:e instanceof C$?lK:(n=C$(e))?(e=n,lK):mK)(t,e)}function hG(t){return function(){this.removeAttribute(t)}}function fG(t){return function(){this.removeAttributeNS(t.space,t.local)}}function dG(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===r?i:i=e(r=o,n)}}function AG(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===r?i:i=e(r=o,n)}}function pG(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttribute(t)}}function gG(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttributeNS(t.space,t.local)}}function mG(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function bG(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function vG(t,e){return function(){iG(this,t).delay=+e.apply(this,arguments)}}function yG(t,e){return e=+e,function(){iG(this,t).delay=e}}function wG(t,e){return function(){aG(this,t).duration=+e.apply(this,arguments)}}function TG(t,e){return e=+e,function(){aG(this,t).duration=e}}function kG(t,e,n){var r,i,a=function(t){var e,n;return zk(e=ih(n=t+"").call(n).split(/^|\s+/)).call(e,(function(t){var e=Tf(t).call(t,".");return e>=0&&(t=Cf(t).call(t,0,e)),!t||"start"===t}))}(e)?iG:aG;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var CG=r$.prototype.constructor;function EG(t){return function(){this.style.removeProperty(t)}}var xG=0;function _G(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function BG(){return++xG}var SG=r$.prototype;_G.prototype=Ms({constructor:_G,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=QH(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var s,c,l=r[o],u=l.length,h=a[o]=new Array(u),f=0;f<u;++f)(s=l[f])&&(c=t.call(s,s.__data__,f,l))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,rG(h[f],e,n,f,h,oG(s,n)));return new _G(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=jH(t));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,h=0;h<u;++h)if(c=l[h]){for(var f,d=t.call(c,c.__data__,h,l),A=oG(c,n),p=0,g=d.length;p<g;++p)(f=d[p])&&rG(f,e,n,p,d,A);a.push(d),o.push(c)}return new _G(a,o,e,n)},selectChild:SG.selectChild,selectChildren:SG.selectChildren,filter:function(t){"function"!=typeof t&&(t=$H(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new _G(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var c,l=e[s],u=n[s],h=l.length,f=o[s]=new Array(h),d=0;d<h;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)o[s]=e[s];return new _G(o,this._parents,this._name,this._id)},selection:function(){return new CG(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=BG(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)if(o=s[l]){var u=oG(o,e);rG(o,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new _G(r,this._parents,t,n)},call:SG.call,nodes:SG.nodes,node:SG.node,size:SG.size,empty:SG.empty,each:SG.each,on:function(t,e){var n=this._id;return arguments.length<2?oG(this.node(),n).on.on(t):this.each(kG(n,t,e))},attr:function(t,e){var n=OH(t),r="transform"===n?xK:uG;return this.attrTween(t,"function"==typeof e?(n.local?gG:pG)(n,r,lG(this,"attr."+t,e)):null==e?(n.local?fG:hG)(n):(n.local?AG:dG)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=OH(t);return this.tween(n,(r.local?mG:bG)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?EK:uG;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var a=pj(this,t),o=(this.style.removeProperty(t),pj(this,t));return a===o?null:a===n&&o===r?i:i=e(n=a,r=o)}}(t,r)).on("end.style."+t,EG(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,a;return function(){var o=pj(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=pj(this,t)),o===c?null:o===r&&c===i?a:(i=c,a=e(r=o,s))}}(t,r,lG(this,"style."+t,e))).each(function(t,e){var n,r,i,a,o="style."+e,s="end."+o;return function(){var c=aG(this,t),l=c.on,u=null==c.value[o]?a||(a=EG(e)):void 0;l===n&&i===u||(r=(n=l).copy()).on(s,i=u),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,a=n+"";return function(){var o=pj(this,t);return o===a?null:o===r?i:i=e(r=o,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,a,n)),r}return a._value=e,a}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(lG(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=oG(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?sG:cG)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?vG:yG)(e,t)):oG(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?wG:TG)(e,t)):oG(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){aG(this,t).ease=e}}(e,t)):oG(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;aG(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new dS((function(a,o){var s={value:o},c={value:function(){0==--i&&a()}};n.each((function(){var n=aG(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})),0===i&&a()}))}},PH,xU(SG));var LG,IG,MG,OG={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function NG(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error("transition ".concat(e," not found"));return n}function DG(t){return{type:t}}r$.prototype.interrupt=function(t){return this.each((function(){!function(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>JK&&n.state<eG,n.state=nG,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},r$.prototype.transition=function(t){var e,n;t instanceof _G?(e=t._id,t=t._name):(e=BG(),(n=OG).time=UK(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)(o=s[l])&&rG(o,t,e,l,s,n||NG(o,e));return new _G(r,this._parents,t,e)},tA(LG=["w","e"]).call(LG,DG),tA(IG=["n","s"]).call(IG,DG),tA(MG=["n","w","e","s","nw","ne","sw","se"]).call(MG,DG);var FG=qA.onFreeze,PG=Object.freeze,RG=h((function(){PG(1)}));jn({target:"Object",stat:!0,forced:RG,sham:!jA},{freeze:function(t){return PG&&mt(t)?PG(FG(t)):t}});var QG,UG,HG,jG,$G,KG,GG,zG,XG,qG,VG,WG,YG,JG,ZG=X.Object.freeze,tz=ZG,ez=fo;function nz(t,e){return e||(e=gf(t).call(t,0)),tz(ez(t,{raw:{value:tz(e)}}))}var rz=Math.PI,iz=2*rz,az=1e-6,oz=iz-az;function sz(t){this._+=t[0];for(var e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}var cz=function(){function t(e){bo(this,t),this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?sz:function(t){var e=Math.floor(t);if(!(e>=0))throw new Error("invalid digits: ".concat(t));if(e>15)return sz;var n=Math.pow(10,e);return function(t){this._+=t[0];for(var e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(e)}return hs(t,[{key:"moveTo",value:function(t,e){this._append(QG||(QG=nz(["M",",",""])),this._x0=this._x1=+t,this._y0=this._y1=+e)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append(UG||(UG=nz(["Z"]))))}},{key:"lineTo",value:function(t,e){this._append(HG||(HG=nz(["L",",",""])),this._x1=+t,this._y1=+e)}},{key:"quadraticCurveTo",value:function(t,e,n,r){this._append(jG||(jG=nz(["Q",",",",",",",""])),+t,+e,this._x1=+n,this._y1=+r)}},{key:"bezierCurveTo",value:function(t,e,n,r,i,a){this._append($G||($G=nz(["C",",",",",",",",",",",""])),+t,+e,+n,+r,this._x1=+i,this._y1=+a)}},{key:"arcTo",value:function(t,e,n,r,i){if(t=+t,e=+e,n=+n,r=+r,(i=+i)<0)throw new Error("negative radius: ".concat(i));var a=this._x1,o=this._y1,s=n-t,c=r-e,l=a-t,u=o-e,h=l*l+u*u;if(null===this._x1)this._append(KG||(KG=nz(["M",",",""])),this._x1=t,this._y1=e);else if(h>az)if(Math.abs(u*s-c*l)>az&&i){var f=n-a,d=r-o,A=s*s+c*c,p=f*f+d*d,g=Math.sqrt(A),m=Math.sqrt(h),b=i*Math.tan((rz-Math.acos((A+h-p)/(2*g*m)))/2),v=b/m,y=b/g;Math.abs(v-1)>az&&this._append(zG||(zG=nz(["L",",",""])),t+v*l,e+v*u),this._append(XG||(XG=nz(["A",",",",0,0,",",",",",""])),i,i,+(u*f>l*d),this._x1=t+y*s,this._y1=e+y*c)}else this._append(GG||(GG=nz(["L",",",""])),this._x1=t,this._y1=e);else;}},{key:"arc",value:function(t,e,n,r,i,a){if(t=+t,e=+e,a=!!a,(n=+n)<0)throw new Error("negative radius: ".concat(n));var o=n*Math.cos(r),s=n*Math.sin(r),c=t+o,l=e+s,u=1^a,h=a?r-i:i-r;null===this._x1?this._append(qG||(qG=nz(["M",",",""])),c,l):(Math.abs(this._x1-c)>az||Math.abs(this._y1-l)>az)&&this._append(VG||(VG=nz(["L",",",""])),c,l),n&&(h<0&&(h=h%iz+iz),h>oz?this._append(WG||(WG=nz(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""])),n,n,u,t-o,e-s,n,n,u,this._x1=c,this._y1=l):h>az&&this._append(YG||(YG=nz(["A",",",",0,",",",",",",",""])),n,n,+(h>=rz),u,this._x1=t+n*Math.cos(i),this._y1=e+n*Math.sin(i)))}},{key:"rect",value:function(t,e,n,r){this._append(JG||(JG=nz(["M",",","h","v","h","Z"])),this._x0=this._x1=+t,this._y0=this._y1=+e,n=+n,+r,-n)}},{key:"toString",value:function(){return this._}}]),t}();function lz(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}cz.prototype;function uz(t,e){var n;if((r=Tf(n=t=e?t.toExponential(e-1):t.toExponential()).call(n,"e"))<0)return null;var r,i=Cf(t).call(t,0,r);return[i.length>1?i[0]+Cf(i).call(i,2):i,+Cf(t).call(t,r+1)]}function hz(t){return(t=uz(Math.abs(t)))?t[1]:NaN}var fz,dz=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Az(t){var e,n;if(!(n=dz.exec(t)))throw new Error("invalid format: "+t);return new pz({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&Cf(e=n[8]).call(e,1),trim:n[9],type:n[10]})}function pz(t){this.fill=void 0===db(t)?" ":db(t)+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!ih(t),this.type=void 0===t.type?"":t.type+""}function gz(t,e){var n=uz(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?Cf(r).call(r,0,i+1)+"."+Cf(r).call(r,i+1):r+new Array(i-r.length+2).join("0")}Az.prototype=pz.prototype,pz.prototype.toString=function(){return db(this)+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(ih(this)?"~":"")+this.type};var mz={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return gz(100*t,e)},r:gz,s:function(t,e){var n=uz(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(fz=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?Cf(r).call(r,0,a)+"."+Cf(r).call(r,a):"0."+new Array(1-a).join("0")+uz(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function bz(t){return t}var vz,yz,wz,Tz=tA(Array.prototype),kz=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Cz(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?bz:(e=Tz.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(t.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return dH(a).call(a).join(n)}),i=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?bz:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Tz.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function h(t){t=Az(t);var e=db(t),n=t.align,h=t.sign,f=t.symbol,d=t.zero,A=t.width,p=t.comma,g=t.precision,m=ih(t),b=t.type;"n"===b?(p=!0,b="g"):mz[b]||(void 0===g&&(g=12),m=!0,b="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var v="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",y="$"===f?a:/[%p]/.test(b)?c:"",w=mz[b],T=/[defgprs%]/.test(b);function k(t){var i,a,c,f=v,k=y;if("c"===b)k=w(t)+k,t="";else{var C=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:w(Math.abs(t),g),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?Cf(t).call(t,0,i)+Cf(t).call(t,e+1):t}(t)),C&&0==+t&&"+"!==h&&(C=!1),f=(C?"("===h?h:l:"-"===h||"("===h?"":h)+f,k=("s"===b?kz[8+fz/3]:"")+k+(C&&"("===h?")":""),T)for(i=-1,a=t.length;++i<a;)if(48>(c=t.charCodeAt(i))||c>57){k=(46===c?o+Cf(t).call(t,i+1):Cf(t).call(t,i))+k,t=Cf(t).call(t,0,i);break}}p&&!d&&(t=r(t,1/0));var E=f.length+t.length+k.length,x=E<A?new Array(A-E+1).join(e):"";switch(p&&d&&(t=r(x+t,x.length?A-k.length:1/0),x=""),n){case"<":t=f+t+k+x;break;case"=":t=f+x+t+k;break;case"^":t=Cf(x).call(x,0,E=x.length>>1)+f+t+k+Cf(x).call(x,E);break;default:t=x+f+t+k}return s(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=Az(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(hz(e)/3))),i=Math.pow(10,-r),a=kz[8+r/3];return function(t){return n(i*t)+a}}}}function Ez(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function xz(t,e){var n=void 0!==EU&&xU(t)||t["@@iterator"];if(!n){if(rA(t)||(n=function(t,e){var n;if(!t)return;if("string"==typeof t)return _z(t,e);var r=Cf(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return kh(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _z(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function _z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}vz=Cz({thousands:",",grouping:[3],currency:["$",""]}),yz=vz.format,wz=vz.formatPrefix;var Bz=EU("implicit");function Sz(){var t=new SU,e=[],n=[],r=Bz;function i(i){var a=t.get(i);if(void 0===a){if(r!==Bz)return r;t.set(i,a=e.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return Cf(e).call(e);e=[],t=new SU;var r,a=xz(n);try{for(a.s();!(r=a.n()).done;){var o=r.value;t.has(o)||t.set(o,e.push(o)-1)}}catch(t){a.e(t)}finally{a.f()}return i},i.range=function(t){return arguments.length?(n=kh(t),i):Cf(n).call(n)},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Sz(e,n).unknown(r)},Ez.apply(i,arguments),i}function Lz(t){return+t}var Iz=[0,1];function Mz(t){return t}function Oz(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function Nz(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return i<r?(r=Oz(i,r),a=n(o,a)):(r=Oz(r,i),a=n(a,o)),function(t){return a(r(t))}}function Dz(t,e,n){var r,i,a=Math.min(t.length,e.length)-1,o=new Array(a),s=new Array(a),c=-1;t[a]<t[0]&&(t=dH(r=Cf(t).call(t)).call(r),e=dH(i=Cf(e).call(e)).call(i));for(;++c<a;)o[c]=Oz(t[c],t[c+1]),s[c]=n(e[c],e[c+1]);return function(e){var n=BU(t,e,1,a)-1;return s[n](o[n](e))}}function Fz(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Pz(){var t,e,n,r,i,a,o=Iz,s=Iz,c=bK,l=Mz;function u(){var t,e,n,c=Math.min(o.length,s.length);return l!==Mz&&(t=o[0],e=o[c-1],t>e&&(n=t,t=e,e=n),l=function(n){return Math.max(t,Math.min(e,n))}),r=c>2?Dz:Nz,i=a=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(tA(o).call(o,t),s,c)))(t(l(e)))}return h.invert=function(n){return l(e((a||(a=r(s,tA(o).call(o,t),dK)))(n)))},h.domain=function(t){return arguments.length?(o=kh(t,Lz),u()):Cf(o).call(o)},h.range=function(t){return arguments.length?(s=kh(t),u()):Cf(s).call(s)},h.rangeRound=function(t){return s=kh(t),c=vK,u()},h.clamp=function(t){return arguments.length?(l=!!t||Mz,u()):l!==Mz},h.interpolate=function(t){return arguments.length?(c=t,u()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,u()}}function Rz(){return Pz()(Mz,Mz)}function Qz(t,e,n,r){var i,a=oH(t,e,n);switch((r=Az(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(hz(e)/3)))-hz(Math.abs(t)))}(a,o))||(r.precision=i),wz(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,hz(e)-hz(t))+1}(a,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-hz(Math.abs(t)))}(a))||(r.precision=i-2*("%"===r.type))}return yz(r)}function Uz(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){if(!((n=+n)>0))return[];if((t=+t)==(e=+e))return[t];var r=e<t,i=wf(r?iH(e,t,n):iH(t,e,n),3),a=i[0],o=i[1],s=i[2];if(!(o>=a))return[];var c=o-a+1,l=new Array(c);if(r)if(s<0)for(var u=0;u<c;++u)l[u]=(o-u)/-s;else for(var h=0;h<c;++h)l[h]=(o-h)*s;else if(s<0)for(var f=0;f<c;++f)l[f]=(a+f)/-s;else for(var d=0;d<c;++d)l[d]=(a+d)*s;return l}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Qz(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,a=e(),o=0,s=a.length-1,c=a[o],l=a[s],u=10;for(l<c&&(i=c,c=l,l=i,i=o,o=s,s=i);u-- >0;){if((i=aH(c,l,n))===r)return a[o]=c,a[s]=l,e(a);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return t},t}function Hz(){var t=Rz();return t.copy=function(){return Fz(t,Hz())},Ez.apply(t,arguments),Uz(t)}var jz=new Date,$z=new Date;function Kz(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o<n&&n<r);return s},i.filter=function(n){return Kz((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return jz.setTime(+e),$z.setTime(+r),t(jz),t($z),Math.floor(n(jz,$z))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?ta(i).call(i,r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Gz=Kz((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));Gz.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Kz((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Gz:null},Gz.range;var zz=1e3,Xz=6e4,qz=36e5,Vz=864e5,Wz=6048e5,Yz=2592e6,Jz=31536e6,Zz=Kz((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*zz)}),(function(t,e){return(e-t)/zz}),(function(t){return t.getUTCSeconds()}));Zz.range;var tX=Kz((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*zz)}),(function(t,e){t.setTime(+t+e*Xz)}),(function(t,e){return(e-t)/Xz}),(function(t){return t.getMinutes()}));tX.range;var eX=Kz((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*Xz)}),(function(t,e){return(e-t)/Xz}),(function(t){return t.getUTCMinutes()}));eX.range;var nX=Kz((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*zz-t.getMinutes()*Xz)}),(function(t,e){t.setTime(+t+e*qz)}),(function(t,e){return(e-t)/qz}),(function(t){return t.getHours()}));nX.range;var rX=Kz((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*qz)}),(function(t,e){return(e-t)/qz}),(function(t){return t.getUTCHours()}));rX.range;var iX=Kz((function(t){return t.setHours(0,0,0,0)}),(function(t,e){return t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Xz)/Vz}),(function(t){return t.getDate()-1}));iX.range;var aX=Kz((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Vz}),(function(t){return t.getUTCDate()-1}));aX.range;var oX=Kz((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Vz}),(function(t){return Math.floor(t/Vz)}));function sX(t){return Kz((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Xz)/Wz}))}oX.range;var cX=sX(0),lX=sX(1),uX=sX(2),hX=sX(3),fX=sX(4),dX=sX(5),AX=sX(6);function pX(t){return Kz((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Wz}))}cX.range,lX.range,uX.range,hX.range,fX.range,dX.range,AX.range;var gX=pX(0),mX=pX(1),bX=pX(2),vX=pX(3),yX=pX(4),wX=pX(5),TX=pX(6);gX.range,mX.range,bX.range,vX.range,yX.range,wX.range,TX.range;var kX=Kz((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));kX.range;var CX=Kz((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));CX.range;var EX=Kz((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));EX.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Kz((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null},EX.range;var xX=Kz((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));function _X(t,e,n,r,i,a){var o=[[Zz,1,zz],[Zz,5,5e3],[Zz,15,15e3],[Zz,30,3e4],[a,1,Xz],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,qz],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Vz],[r,2,1728e5],[n,1,Wz],[e,1,Yz],[e,3,7776e6],[t,1,Jz]];function s(e,n,r){var i=Math.abs(n-e)/r,a=kU((function(t){return wf(t,3)[2]})).right(o,i);if(a===o.length)return zk(t).call(t,oH(e/Jz,n/Jz,r));if(0===a)return zk(Gz).call(Gz,Math.max(oH(e,n,r),1));var s=wf(o[i/o[a-1][2]<o[a][2]/i?a-1:a],2),c=s[0],l=s[1];return zk(c).call(c,l)}return[function(t,e,n){var r=e<t;if(r){var i=[e,t];t=i[0],e=i[1]}var a=n&&"function"==typeof n.range?n:s(t,e,n),o=a?a.range(t,+e+1):[];return r?dH(o).call(o):o},s]}xX.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Kz((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null},xX.range;var BX=wf(_X(xX,CX,gX,oX,rX,eX),2);BX[0],BX[1];var SX=wf(_X(EX,kX,cX,iX,nX,tX),2),LX=SX[0],IX=SX[1];function MX(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function OX(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function NX(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var DX,FX,PX={"-":"",_:" ",0:"0"},RX=/^\s*\d+/,QX=/^%/,UX=/[\\^$*+?|[\]().{}]/g;function HX(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function jX(t){return t.replace(UX,"\\$&")}function $X(t){return new RegExp("^(?:"+tA(t).call(t,jX).join("|")+")","i")}function KX(t){return new VH(tA(t).call(t,(function(t,e){return[t.toLowerCase(),e]})))}function GX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function zX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function XX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function qX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function VX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function WX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function YX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function JX(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Cf(e).call(e,n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ZX(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function tq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function eq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function nq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function rq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function iq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function aq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function oq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function sq(t,e,n){var r=RX.exec(Cf(e).call(e,n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function cq(t,e,n){var r=QX.exec(Cf(e).call(e,n,n+1));return r?n+r[0].length:-1}function lq(t,e,n){var r=RX.exec(Cf(e).call(e,n));return r?(t.Q=+r[0],n+r[0].length):-1}function uq(t,e,n){var r=RX.exec(Cf(e).call(e,n));return r?(t.s=+r[0],n+r[0].length):-1}function hq(t,e){return HX(t.getDate(),e,2)}function fq(t,e){return HX(t.getHours(),e,2)}function dq(t,e){return HX(t.getHours()%12||12,e,2)}function Aq(t,e){return HX(1+iX.count(EX(t),t),e,3)}function pq(t,e){return HX(t.getMilliseconds(),e,3)}function gq(t,e){return pq(t,e)+"000"}function mq(t,e){return HX(t.getMonth()+1,e,2)}function bq(t,e){return HX(t.getMinutes(),e,2)}function vq(t,e){return HX(t.getSeconds(),e,2)}function yq(t){var e=t.getDay();return 0===e?7:e}function wq(t,e){return HX(cX.count(EX(t)-1,t),e,2)}function Tq(t){var e=t.getDay();return e>=4||0===e?fX(t):fX.ceil(t)}function kq(t,e){return t=Tq(t),HX(fX.count(EX(t),t)+(4===EX(t).getDay()),e,2)}function Cq(t){return t.getDay()}function Eq(t,e){return HX(lX.count(EX(t)-1,t),e,2)}function xq(t,e){return HX(t.getFullYear()%100,e,2)}function _q(t,e){return HX((t=Tq(t)).getFullYear()%100,e,2)}function Bq(t,e){return HX(t.getFullYear()%1e4,e,4)}function Sq(t,e){var n=t.getDay();return HX((t=n>=4||0===n?fX(t):fX.ceil(t)).getFullYear()%1e4,e,4)}function Lq(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+HX(e/60|0,"0",2)+HX(e%60,"0",2)}function Iq(t,e){return HX(t.getUTCDate(),e,2)}function Mq(t,e){return HX(t.getUTCHours(),e,2)}function Oq(t,e){return HX(t.getUTCHours()%12||12,e,2)}function Nq(t,e){return HX(1+aX.count(xX(t),t),e,3)}function Dq(t,e){return HX(t.getUTCMilliseconds(),e,3)}function Fq(t,e){return Dq(t,e)+"000"}function Pq(t,e){return HX(t.getUTCMonth()+1,e,2)}function Rq(t,e){return HX(t.getUTCMinutes(),e,2)}function Qq(t,e){return HX(t.getUTCSeconds(),e,2)}function Uq(t){var e=t.getUTCDay();return 0===e?7:e}function Hq(t,e){return HX(gX.count(xX(t)-1,t),e,2)}function jq(t){var e=t.getUTCDay();return e>=4||0===e?yX(t):yX.ceil(t)}function $q(t,e){return t=jq(t),HX(yX.count(xX(t),t)+(4===xX(t).getUTCDay()),e,2)}function Kq(t){return t.getUTCDay()}function Gq(t,e){return HX(mX.count(xX(t)-1,t),e,2)}function zq(t,e){return HX(t.getUTCFullYear()%100,e,2)}function Xq(t,e){return HX((t=jq(t)).getUTCFullYear()%100,e,2)}function qq(t,e){return HX(t.getUTCFullYear()%1e4,e,4)}function Vq(t,e){var n=t.getUTCDay();return HX((t=n>=4||0===n?yX(t):yX.ceil(t)).getUTCFullYear()%1e4,e,4)}function Wq(){return"+0000"}function Yq(){return"%"}function Jq(t){return+t}function Zq(t){return Math.floor(+t/1e3)}function tV(t){return new Date(t)}function eV(t){return t instanceof Date?+t:+new Date(+t)}function nV(t,e,n,r,i,a,o,s,c,l){var u=Rz(),h=u.invert,f=u.domain,d=l(".%L"),A=l(":%S"),p=l("%I:%M"),g=l("%I %p"),m=l("%a %d"),b=l("%b %d"),v=l("%B"),y=l("%Y");function w(t){return(c(t)<t?d:s(t)<t?A:o(t)<t?p:a(t)<t?g:r(t)<t?i(t)<t?m:b:n(t)<t?v:y)(t)}return u.invert=function(t){return new Date(h(t))},u.domain=function(t){var e;return arguments.length?f(kh(t,eV)):tA(e=f()).call(e,tV)},u.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},u.tickFormat=function(t,e){return null==e?w:l(e)},u.nice=function(t){var n=f();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f(function(t,e){var n,r=0,i=(t=Cf(t).call(t)).length-1,a=t[r],o=t[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),t[r]=e.floor(a),t[i]=e.ceil(o),t}(n,t)):u},u.copy=function(){return Fz(u,nV(t,e,n,r,i,a,o,s,c,l))},u}function rV(t){return function(){return t}}!function(t){DX=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,l=$X(i),u=KX(i),h=$X(a),f=KX(a),d=$X(o),A=KX(o),p=$X(s),g=KX(s),m=$X(c),b=KX(c),v={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:hq,e:hq,f:gq,g:_q,G:Sq,H:fq,I:dq,j:Aq,L:pq,m:mq,M:bq,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Jq,s:Zq,S:vq,u:yq,U:wq,V:kq,w:Cq,W:Eq,x:null,X:null,y:xq,Y:Bq,Z:Lq,"%":Yq},y={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Iq,e:Iq,f:Fq,g:Xq,G:Vq,H:Mq,I:Oq,j:Nq,L:Dq,m:Pq,M:Rq,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Jq,s:Zq,S:Qq,u:Uq,U:Hq,V:$q,w:Kq,W:Gq,x:null,X:null,y:zq,Y:qq,Z:Wq,"%":Yq},w={a:function(t,e,n){var r=d.exec(Cf(e).call(e,n));return r?(t.w=A.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(Cf(e).call(e,n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(Cf(e).call(e,n));return r?(t.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=p.exec(Cf(e).call(e,n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return C(t,e,n,r)},d:eq,e:eq,f:sq,g:YX,G:WX,H:rq,I:rq,j:nq,L:oq,m:tq,M:iq,p:function(t,e,n){var r=l.exec(Cf(e).call(e,n));return r?(t.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:ZX,Q:lq,s:uq,S:aq,u:zX,U:XX,V:qX,w:GX,W:VX,x:function(t,e,r){return C(t,n,e,r)},X:function(t,e,n){return C(t,r,e,n)},y:YX,Y:WX,Z:JX,"%":cq};function T(t,e){return function(n){var r,i,a,o=[],s=-1,c=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===t.charCodeAt(s)&&(o.push(Cf(t).call(t,c,s)),null!=(i=PX[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),c=s+1);return o.push(Cf(t).call(t,c,s)),o.join("")}}function k(t,e){return function(n){var r,i,a=NX(1900,void 0,1);if(C(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(e&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=OX(NX(a.y,0,1))).getUTCDay(),r=i>4||0===i?mX.ceil(r):mX(r),r=aX.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=MX(NX(a.y,0,1))).getDay(),r=i>4||0===i?lX.ceil(r):lX(r),r=iX.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?OX(NX(a.y,0,1)).getUTCDay():MX(NX(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,OX(a)):MX(a)}}function C(t,e,n,r){for(var i,a,o=0,s=e.length,c=n.length;o<s;){if(r>=c)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=w[i in PX?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return v.x=T(n,v),v.X=T(r,v),v.c=T(e,v),y.x=T(n,y),y.X=T(r,y),y.c=T(e,y),{format:function(t){var e=T(t+="",v);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=T(t+="",y);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}(t),FX=DX.format,DX.parse,DX.utcFormat,DX.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var iV=Math.abs,aV=Math.atan2,oV=Math.cos,sV=Math.max,cV=Math.min,lV=Math.sin,uV=Math.sqrt,hV=1e-12,fV=Math.PI,dV=fV/2,AV=2*fV;function pV(t){return t>=1?dV:t<=-1?-dV:Math.asin(t)}function gV(t){var e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{var r=Math.floor(n);if(!(r>=0))throw new RangeError("invalid digits: ".concat(n));e=r}return t},function(){return new cz(e)}}function mV(t){return t.innerRadius}function bV(t){return t.outerRadius}function vV(t){return t.startAngle}function yV(t){return t.endAngle}function wV(t){return t&&t.padAngle}function TV(t,e,n,r,i,a,o){var s=t-n,c=e-r,l=(o?a:-a)/uV(s*s+c*c),u=l*c,h=-l*s,f=t+u,d=e+h,A=n+u,p=r+h,g=(f+A)/2,m=(d+p)/2,b=A-f,v=p-d,y=b*b+v*v,w=i-a,T=f*p-A*d,k=(v<0?-1:1)*uV(sV(0,w*w*y-T*T)),C=(T*v-b*k)/y,E=(-T*b-v*k)/y,x=(T*v+b*k)/y,_=(-T*b+v*k)/y,B=C-g,S=E-m,L=x-g,I=_-m;return B*B+S*S>L*L+I*I&&(C=x,E=_),{cx:C,cy:E,x01:-u,y01:-h,x11:C*(i/w-1),y11:E*(i/w-1)}}function kV(){var t=mV,e=bV,n=rV(0),r=null,i=vV,a=yV,o=wV,s=null,c=gV(l);function l(){var l,u,h=+t.apply(this,arguments),f=+e.apply(this,arguments),d=i.apply(this,arguments)-dV,A=a.apply(this,arguments)-dV,p=iV(A-d),g=A>d;if(s||(s=l=c()),f<h&&(u=f,f=h,h=u),f>hV)if(p>AV-hV)s.moveTo(f*oV(d),f*lV(d)),s.arc(0,0,f,d,A,!g),h>hV&&(s.moveTo(h*oV(A),h*lV(A)),s.arc(0,0,h,A,d,g));else{var m,b,v=d,y=A,w=d,T=A,k=p,C=p,E=o.apply(this,arguments)/2,x=E>hV&&(r?+r.apply(this,arguments):uV(h*h+f*f)),_=cV(iV(f-h)/2,+n.apply(this,arguments)),B=_,S=_;if(x>hV){var L=pV(x/h*lV(E)),I=pV(x/f*lV(E));(k-=2*L)>hV?(w+=L*=g?1:-1,T-=L):(k=0,w=T=(d+A)/2),(C-=2*I)>hV?(v+=I*=g?1:-1,y-=I):(C=0,v=y=(d+A)/2)}var M=f*oV(v),O=f*lV(v),N=h*oV(T),D=h*lV(T);if(_>hV){var F,P=f*oV(y),R=f*lV(y),Q=h*oV(w),U=h*lV(w);if(p<fV)if(F=function(t,e,n,r,i,a,o,s){var c=n-t,l=r-e,u=o-i,h=s-a,f=h*c-u*l;if(!(f*f<hV))return[t+(f=(u*(e-a)-h*(t-i))/f)*c,e+f*l]}(M,O,Q,U,P,R,N,D)){var H=M-F[0],j=O-F[1],$=P-F[0],K=R-F[1],G=1/lV(function(t){return t>1?0:t<-1?fV:Math.acos(t)}((H*$+j*K)/(uV(H*H+j*j)*uV($*$+K*K)))/2),z=uV(F[0]*F[0]+F[1]*F[1]);B=cV(_,(h-z)/(G-1)),S=cV(_,(f-z)/(G+1))}else B=S=0}C>hV?S>hV?(m=TV(Q,U,M,O,f,S,g),b=TV(P,R,N,D,f,S,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),S<_?s.arc(m.cx,m.cy,S,aV(m.y01,m.x01),aV(b.y01,b.x01),!g):(s.arc(m.cx,m.cy,S,aV(m.y01,m.x01),aV(m.y11,m.x11),!g),s.arc(0,0,f,aV(m.cy+m.y11,m.cx+m.x11),aV(b.cy+b.y11,b.cx+b.x11),!g),s.arc(b.cx,b.cy,S,aV(b.y11,b.x11),aV(b.y01,b.x01),!g))):(s.moveTo(M,O),s.arc(0,0,f,v,y,!g)):s.moveTo(M,O),h>hV&&k>hV?B>hV?(m=TV(N,D,P,R,h,-B,g),b=TV(M,O,Q,U,h,-B,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),B<_?s.arc(m.cx,m.cy,B,aV(m.y01,m.x01),aV(b.y01,b.x01),!g):(s.arc(m.cx,m.cy,B,aV(m.y01,m.x01),aV(m.y11,m.x11),!g),s.arc(0,0,h,aV(m.cy+m.y11,m.cx+m.x11),aV(b.cy+b.y11,b.cx+b.x11),g),s.arc(b.cx,b.cy,B,aV(b.y11,b.x11),aV(b.y01,b.x01),!g))):s.arc(0,0,h,T,w,g):s.lineTo(N,D)}else s.moveTo(0,0);if(s.closePath(),l)return s=null,l+""||null}return l.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-fV/2;return[oV(r)*n,lV(r)*n]},l.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:rV(+e),l):t},l.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:rV(+t),l):e},l.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:rV(+t),l):n},l.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:rV(+t),l):r},l.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:rV(+t),l):i},l.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:rV(+t),l):a},l.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:rV(+t),l):o},l.context=function(t){return arguments.length?(s=null==t?null:t,l):s},l}function CV(t){return"object"===ss(t)&&"length"in t?t:kh(t)}function EV(t){this._context=t}function xV(t){return new EV(t)}function _V(t){return t[0]}function BV(t){return t[1]}function SV(t,e){var n=rV(!0),r=null,i=xV,a=null,o=gV(s);function s(s){var c,l,u,h=(s=CV(s)).length,f=!1;for(null==r&&(a=i(u=o())),c=0;c<=h;++c)!(c<h&&n(l=s[c],c,s))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+t(l,c,s),+e(l,c,s));if(u)return a=null,u+""||null}return t="function"==typeof t?t:void 0===t?_V:rV(t),e="function"==typeof e?e:void 0===e?BV:rV(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:rV(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:rV(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:rV(!!t),s):n},s.curve=function(t){return arguments.length?(i=t,null!=r&&(a=i(r)),s):i},s.context=function(t){return arguments.length?(null==t?r=a=null:a=i(r=t),s):r},s}function LV(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function IV(t){return t}Cf(Array.prototype),EV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var MV=function(){function t(e,n){bo(this,t),this._context=e,this._x=n}return hs(t,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}]),t}();function OV(){}function NV(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function DV(t){this._context=t}function FV(t){return new DV(t)}function PV(t){this._context=t}function RV(t){this._context=t}function QV(t,e){this._basis=new DV(t),this._beta=e}DV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:NV(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:NV(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},PV.prototype={areaStart:OV,areaEnd:OV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:NV(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},RV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:NV(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},QV.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],a=e[0],o=t[n]-i,s=e[n]-a,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*o),this._beta*e[c]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var UV=function t(e){function n(t){return 1===e?new DV(t):new QV(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function HV(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function jV(t,e){this._context=t,this._k=(1-e)/6}jV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:HV(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:HV(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var $V=function t(e){function n(t){return new jV(t,e)}return n.tension=function(e){return t(+e)},n}(0);function KV(t,e){this._context=t,this._k=(1-e)/6}KV.prototype={areaStart:OV,areaEnd:OV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:HV(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var GV=function t(e){function n(t){return new KV(t,e)}return n.tension=function(e){return t(+e)},n}(0);function zV(t,e){this._context=t,this._k=(1-e)/6}zV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:HV(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var XV=function t(e){function n(t){return new zV(t,e)}return n.tension=function(e){return t(+e)},n}(0);function qV(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>hV){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>hV){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*l+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function VV(t,e){this._context=t,this._alpha=e}VV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:qV(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var WV=function t(e){function n(t){return e?new VV(t,e):new jV(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function YV(t,e){this._context=t,this._alpha=e}YV.prototype={areaStart:OV,areaEnd:OV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:qV(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var JV=function t(e){function n(t){return e?new YV(t,e):new KV(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function ZV(t,e){this._context=t,this._alpha=e}ZV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:qV(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var tW=function t(e){function n(t){return e?new ZV(t,e):new zV(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function eW(t){this._context=t}function nW(t){return t<0?-1:1}function rW(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(nW(a)+nW(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function iW(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function aW(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function oW(t){this._context=t}function sW(t){this._context=new cW(t)}function cW(t){this._context=t}function lW(t){this._context=t}function uW(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(i[r-1]=o[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function hW(t,e){this._context=t,this._t=e}function fW(t,e,n){this.k=t,this.x=e,this.y=n}eW.prototype={areaStart:OV,areaEnd:OV,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},oW.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:aW(this,this._t0,iW(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,aW(this,iW(this,n=rW(this,t,e)),n);break;default:aW(this,this._t0,n=rW(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(sW.prototype=kf(oW.prototype)).point=function(t,e){oW.prototype.point.call(this,e,t)},cW.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}},lW.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=uW(t),i=uW(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},hW.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},fW.prototype={constructor:fW,scale:function(t){return 1===t?this:new fW(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new fW(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){var e,n;return t.copy().domain(tA(e=tA(n=t.range()).call(n,this.invertX,this)).call(e,t.invert,t))},rescaleY:function(t){var e,n;return t.copy().domain(tA(e=tA(n=t.range()).call(n,this.invertY,this)).call(e,t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new fW(1,0,0),fW.prototype;var dW=r((function(t,e){t.exports=function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,n){return e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(t,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function r(t,i,a){return r=n()?Reflect.construct:function(t,n,r){var i=[null];i.push.apply(i,n);var a=new(Function.bind.apply(t,i));return r&&e(a,r.prototype),a},r.apply(null,arguments)}function i(t){return a(t)||o(t)||s(t)||l()}function a(t){if(Array.isArray(t))return c(t)}function o(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function s(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=Object.hasOwnProperty,h=Object.setPrototypeOf,f=Object.isFrozen,d=Object.getPrototypeOf,A=Object.getOwnPropertyDescriptor,p=Object.freeze,g=Object.seal,m=Object.create,b="undefined"!=typeof Reflect&&Reflect,v=b.apply,y=b.construct;v||(v=function(t,e,n){return t.apply(e,n)}),p||(p=function(t){return t}),g||(g=function(t){return t}),y||(y=function(t,e){return r(t,i(e))});var w=M(Array.prototype.forEach),T=M(Array.prototype.pop),k=M(Array.prototype.push),C=M(String.prototype.toLowerCase),E=M(String.prototype.toString),x=M(String.prototype.match),_=M(String.prototype.replace),B=M(String.prototype.indexOf),S=M(String.prototype.trim),L=M(RegExp.prototype.test),I=O(TypeError);function M(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return v(t,e,r)}}function O(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return y(t,n)}}function N(t,e,n){n=n||C,h&&h(t,null);for(var r=e.length;r--;){var i=e[r];if("string"==typeof i){var a=n(i);a!==i&&(f(e)||(e[r]=a),i=a)}t[i]=!0}return t}function D(t){var e,n=m(null);for(e in t)!0===v(u,t,[e])&&(n[e]=t[e]);return n}function F(t,e){for(;null!==t;){var n=A(t,e);if(n){if(n.get)return M(n.get);if("function"==typeof n.value)return M(n.value)}t=d(t)}function r(t){return console.warn("fallback value for",t),null}return r}var P=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Q=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=p(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),H=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),j=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=p(["#text"]),K=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),G=p(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=p(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),X=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=g(/<%[\w\W]*|[\w\W]*%>/gm),W=g(/\${[\w\W]*}/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),J=g(/^aria-[\-\w]+$/),Z=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tt=g(/^(?:\w+script|data):/i),et=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nt=g(/^html$/i),rt=function(){return"undefined"==typeof window?null:window},it=function(e,n){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function at(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rt(),n=function(t){return at(t)};if(n.version="2.4.3",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,a=e.document,o=e.DocumentFragment,s=e.HTMLTemplateElement,c=e.Node,l=e.Element,u=e.NodeFilter,h=e.NamedNodeMap,f=void 0===h?e.NamedNodeMap||e.MozNamedAttrMap:h,d=e.HTMLFormElement,A=e.DOMParser,g=e.trustedTypes,m=l.prototype,b=F(m,"cloneNode"),v=F(m,"nextSibling"),y=F(m,"childNodes"),M=F(m,"parentNode");if("function"==typeof s){var O=a.createElement("template");O.content&&O.content.ownerDocument&&(a=O.content.ownerDocument)}var ot=it(g,r),st=ot?ot.createHTML(""):"",ct=a,lt=ct.implementation,ut=ct.createNodeIterator,ht=ct.createDocumentFragment,ft=ct.getElementsByTagName,dt=r.importNode,At={};try{At=D(a).documentMode?a.documentMode:{}}catch(t){}var pt={};n.isSupported="function"==typeof M&<&&void 0!==lt.createHTMLDocument&&9!==At;var gt,mt,bt=q,vt=V,yt=W,wt=Y,Tt=J,kt=tt,Ct=et,Et=Z,xt=null,_t=N({},[].concat(i(P),i(R),i(Q),i(H),i($))),Bt=null,St=N({},[].concat(i(K),i(G),i(z),i(X))),Lt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),It=null,Mt=null,Ot=!0,Nt=!0,Dt=!1,Ft=!1,Pt=!1,Rt=!1,Qt=!1,Ut=!1,Ht=!1,jt=!1,$t=!0,Kt=!1,Gt="user-content-",zt=!0,Xt=!1,qt={},Vt=null,Wt=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Yt=null,Jt=N({},["audio","video","img","source","image","track"]),Zt=null,te=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ee="http://www.w3.org/1998/Math/MathML",ne="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml",ie=re,ae=!1,oe=null,se=N({},[ee,ne,re],E),ce=["application/xhtml+xml","text/html"],le="text/html",ue=null,he=a.createElement("form"),fe=function(t){return t instanceof RegExp||t instanceof Function},de=function(e){ue&&ue===e||(e&&"object"===t(e)||(e={}),e=D(e),gt=gt=-1===ce.indexOf(e.PARSER_MEDIA_TYPE)?le:e.PARSER_MEDIA_TYPE,mt="application/xhtml+xml"===gt?E:C,xt="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS,mt):_t,Bt="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR,mt):St,oe="ALLOWED_NAMESPACES"in e?N({},e.ALLOWED_NAMESPACES,E):se,Zt="ADD_URI_SAFE_ATTR"in e?N(D(te),e.ADD_URI_SAFE_ATTR,mt):te,Yt="ADD_DATA_URI_TAGS"in e?N(D(Jt),e.ADD_DATA_URI_TAGS,mt):Jt,Vt="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS,mt):Wt,It="FORBID_TAGS"in e?N({},e.FORBID_TAGS,mt):{},Mt="FORBID_ATTR"in e?N({},e.FORBID_ATTR,mt):{},qt="USE_PROFILES"in e&&e.USE_PROFILES,Ot=!1!==e.ALLOW_ARIA_ATTR,Nt=!1!==e.ALLOW_DATA_ATTR,Dt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ft=e.SAFE_FOR_TEMPLATES||!1,Pt=e.WHOLE_DOCUMENT||!1,Ut=e.RETURN_DOM||!1,Ht=e.RETURN_DOM_FRAGMENT||!1,jt=e.RETURN_TRUSTED_TYPE||!1,Qt=e.FORCE_BODY||!1,$t=!1!==e.SANITIZE_DOM,Kt=e.SANITIZE_NAMED_PROPS||!1,zt=!1!==e.KEEP_CONTENT,Xt=e.IN_PLACE||!1,Et=e.ALLOWED_URI_REGEXP||Et,ie=e.NAMESPACE||re,e.CUSTOM_ELEMENT_HANDLING&&fe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Lt.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&fe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Lt.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Lt.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ft&&(Nt=!1),Ht&&(Ut=!0),qt&&(xt=N({},i($)),Bt=[],!0===qt.html&&(N(xt,P),N(Bt,K)),!0===qt.svg&&(N(xt,R),N(Bt,G),N(Bt,X)),!0===qt.svgFilters&&(N(xt,Q),N(Bt,G),N(Bt,X)),!0===qt.mathMl&&(N(xt,H),N(Bt,z),N(Bt,X))),e.ADD_TAGS&&(xt===_t&&(xt=D(xt)),N(xt,e.ADD_TAGS,mt)),e.ADD_ATTR&&(Bt===St&&(Bt=D(Bt)),N(Bt,e.ADD_ATTR,mt)),e.ADD_URI_SAFE_ATTR&&N(Zt,e.ADD_URI_SAFE_ATTR,mt),e.FORBID_CONTENTS&&(Vt===Wt&&(Vt=D(Vt)),N(Vt,e.FORBID_CONTENTS,mt)),zt&&(xt["#text"]=!0),Pt&&N(xt,["html","head","body"]),xt.table&&(N(xt,["tbody"]),delete It.tbody),p&&p(e),ue=e)},Ae=N({},["mi","mo","mn","ms","mtext"]),pe=N({},["foreignobject","desc","title","annotation-xml"]),ge=N({},["title","style","font","a","script"]),me=N({},R);N(me,Q),N(me,U);var be=N({},H);N(be,j);var ve=function(t){var e=M(t);e&&e.tagName||(e={namespaceURI:ie,tagName:"template"});var n=C(t.tagName),r=C(e.tagName);return!!oe[t.namespaceURI]&&(t.namespaceURI===ne?e.namespaceURI===re?"svg"===n:e.namespaceURI===ee?"svg"===n&&("annotation-xml"===r||Ae[r]):Boolean(me[n]):t.namespaceURI===ee?e.namespaceURI===re?"math"===n:e.namespaceURI===ne?"math"===n&&pe[r]:Boolean(be[n]):t.namespaceURI===re?!(e.namespaceURI===ne&&!pe[r])&&!(e.namespaceURI===ee&&!Ae[r])&&!be[n]&&(ge[n]||!me[n]):!("application/xhtml+xml"!==gt||!oe[t.namespaceURI]))},ye=function(t){k(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=st}catch(e){t.remove()}}},we=function(t,e){try{k(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){k(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Bt[t])if(Ut||Ht)try{ye(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Te=function(t){var e,n;if(Qt)t="<remove></remove>"+t;else{var r=x(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===gt&&ie===re&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var i=ot?ot.createHTML(t):t;if(ie===re)try{e=(new A).parseFromString(i,gt)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(ie,"template",null);try{e.documentElement.innerHTML=ae?st:i}catch(t){}}var o=e.body||e.documentElement;return t&&n&&o.insertBefore(a.createTextNode(n),o.childNodes[0]||null),ie===re?ft.call(e,Pt?"html":"body")[0]:Pt?e.documentElement:o},ke=function(t){return ut.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},Ce=function(t){return t instanceof d&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof f)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ee=function(e){return"object"===t(c)?e instanceof c:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},xe=function(t,e,r){pt[t]&&w(pt[t],(function(t){t.call(n,e,r,ue)}))},_e=function(t){var e;if(xe("beforeSanitizeElements",t,null),Ce(t))return ye(t),!0;if(L(/[\u0080-\uFFFF]/,t.nodeName))return ye(t),!0;var r=mt(t.nodeName);if(xe("uponSanitizeElement",t,{tagName:r,allowedTags:xt}),t.hasChildNodes()&&!Ee(t.firstElementChild)&&(!Ee(t.content)||!Ee(t.content.firstElementChild))&&L(/<[/\w]/g,t.innerHTML)&&L(/<[/\w]/g,t.textContent))return ye(t),!0;if("select"===r&&L(/<template/i,t.innerHTML))return ye(t),!0;if(!xt[r]||It[r]){if(!It[r]&&Se(r)){if(Lt.tagNameCheck instanceof RegExp&&L(Lt.tagNameCheck,r))return!1;if(Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(r))return!1}if(zt&&!Vt[r]){var i=M(t)||t.parentNode,a=y(t)||t.childNodes;if(a&&i)for(var o=a.length-1;o>=0;--o)i.insertBefore(b(a[o],!0),v(t))}return ye(t),!0}return t instanceof l&&!ve(t)?(ye(t),!0):"noscript"!==r&&"noembed"!==r||!L(/<\/no(script|embed)/i,t.innerHTML)?(Ft&&3===t.nodeType&&(e=t.textContent,e=_(e,bt," "),e=_(e,vt," "),e=_(e,yt," "),t.textContent!==e&&(k(n.removed,{element:t.cloneNode()}),t.textContent=e)),xe("afterSanitizeElements",t,null),!1):(ye(t),!0)},Be=function(t,e,n){if($t&&("id"===e||"name"===e)&&(n in a||n in he))return!1;if(Nt&&!Mt[e]&&L(wt,e));else if(Ot&&L(Tt,e));else if(!Bt[e]||Mt[e]){if(!(Se(t)&&(Lt.tagNameCheck instanceof RegExp&&L(Lt.tagNameCheck,t)||Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(t))&&(Lt.attributeNameCheck instanceof RegExp&&L(Lt.attributeNameCheck,e)||Lt.attributeNameCheck instanceof Function&&Lt.attributeNameCheck(e))||"is"===e&&Lt.allowCustomizedBuiltInElements&&(Lt.tagNameCheck instanceof RegExp&&L(Lt.tagNameCheck,n)||Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(n))))return!1}else if(Zt[e]);else if(L(Et,_(n,Ct,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==B(n,"data:")||!Yt[t])if(Dt&&!L(kt,_(n,Ct,"")));else if(n)return!1;return!0},Se=function(t){return t.indexOf("-")>0},Le=function(e){var r,i,a,o;xe("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Bt};for(o=s.length;o--;){var l=r=s[o],u=l.name,h=l.namespaceURI;if(i="value"===u?r.value:S(r.value),a=mt(u),c.attrName=a,c.attrValue=i,c.keepAttr=!0,c.forceKeepAttr=void 0,xe("uponSanitizeAttribute",e,c),i=c.attrValue,!c.forceKeepAttr&&(we(u,e),c.keepAttr))if(L(/\/>/i,i))we(u,e);else{Ft&&(i=_(i,bt," "),i=_(i,vt," "),i=_(i,yt," "));var f=mt(e.nodeName);if(Be(f,a,i)){if(!Kt||"id"!==a&&"name"!==a||(we(u,e),i=Gt+i),ot&&"object"===t(g)&&"function"==typeof g.getAttributeType)if(h);else switch(g.getAttributeType(f,a)){case"TrustedHTML":i=ot.createHTML(i);break;case"TrustedScriptURL":i=ot.createScriptURL(i)}try{h?e.setAttributeNS(h,u,i):e.setAttribute(u,i),T(n.removed)}catch(t){}}}}xe("afterSanitizeAttributes",e,null)}},Ie=function t(e){var n,r=ke(e);for(xe("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)xe("uponSanitizeShadowNode",n,null),_e(n)||(n.content instanceof o&&t(n.content),Le(n));xe("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(i){var a,s,l,u,h,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ae=!i)&&(i="\x3c!--\x3e"),"string"!=typeof i&&!Ee(i)){if("function"!=typeof i.toString)throw I("toString is not a function");if("string"!=typeof(i=i.toString()))throw I("dirty is not a string, aborting")}if(!n.isSupported){if("object"===t(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof i)return e.toStaticHTML(i);if(Ee(i))return e.toStaticHTML(i.outerHTML)}return i}if(Rt||de(f),n.removed=[],"string"==typeof i&&(Xt=!1),Xt){if(i.nodeName){var d=mt(i.nodeName);if(!xt[d]||It[d])throw I("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof c)1===(s=(a=Te("\x3c!----\x3e")).ownerDocument.importNode(i,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else{if(!Ut&&!Ft&&!Pt&&-1===i.indexOf("<"))return ot&&jt?ot.createHTML(i):i;if(!(a=Te(i)))return Ut?null:jt?st:""}a&&Qt&&ye(a.firstChild);for(var A=ke(Xt?i:a);l=A.nextNode();)3===l.nodeType&&l===u||_e(l)||(l.content instanceof o&&Ie(l.content),Le(l),u=l);if(u=null,Xt)return i;if(Ut){if(Ht)for(h=ht.call(a.ownerDocument);a.firstChild;)h.appendChild(a.firstChild);else h=a;return Bt.shadowroot&&(h=dt.call(r,h,!0)),h}var p=Pt?a.outerHTML:a.innerHTML;return Pt&&xt["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&L(nt,a.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+p),Ft&&(p=_(p,bt," "),p=_(p,vt," "),p=_(p,yt," ")),ot&&jt?ot.createHTML(p):p},n.setConfig=function(t){de(t),Rt=!0},n.clearConfig=function(){ue=null,Rt=!1},n.isValidAttribute=function(t,e,n){ue||de({});var r=mt(t),i=mt(e);return Be(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&(pt[t]=pt[t]||[],k(pt[t],e))},n.removeHook=function(t){if(pt[t])return T(pt[t])},n.removeHooks=function(t){pt[t]&&(pt[t]=[])},n.removeAllHooks=function(){pt={}},n}var ot=at();return ot}()}));const AW={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},r)=>{if(!e)return 2.55*n;t/=360,e/=100;const i=(n/=100)<.5?n*(1+e):n+e-n*e,a=2*n-i;switch(r){case"r":return 255*AW.hue2rgb(a,i,t+1/3);case"g":return 255*AW.hue2rgb(a,i,t);case"b":return 255*AW.hue2rgb(a,i,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{t/=255,e/=255,n/=255;const i=Math.max(t,e,n),a=Math.min(t,e,n),o=(i+a)/2;if("l"===r)return 100*o;if(i===a)return 0;const s=i-a;if("s"===r)return 100*(o>.5?s/(2-i-a):s/(i+a));switch(i){case t:return 60*((e-n)/s+(e<n?6:0));case e:return 60*((n-t)/s+2);case n:return 60*((t-e)/s+4);default:return-1}}};const pW={clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10};const gW={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}};var mW={channel:AW,lang:pW,unit:gW};const bW={};for(let t=0;t<=255;t++)bW[t]=mW.unit.dec2hex(t);const vW=0,yW=1,wW=2;var TW=class{constructor(){this.type=vW}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=vW}is(t){return this.type===t}};var kW=class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new TW}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=vW,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:r}=t;void 0===e&&(t.h=mW.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=mW.channel.rgb2hsl(t,"s")),void 0===r&&(t.l=mW.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:n,b:r}=t;void 0===e&&(t.r=mW.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=mW.channel.hsl2rgb(t,"g")),void 0===r&&(t.b=mW.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(wW)||void 0===e?(this._ensureHSL(),mW.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(wW)||void 0===e?(this._ensureHSL(),mW.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(wW)||void 0===e?(this._ensureHSL(),mW.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(yW)||void 0===e?(this._ensureRGB(),mW.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(yW)||void 0===e?(this._ensureRGB(),mW.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(yW)||void 0===e?(this._ensureRGB(),mW.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(yW),this.changed=!0,this.data.r=t}set g(t){this.type.set(yW),this.changed=!0,this.data.g=t}set b(t){this.type.set(yW),this.changed=!0,this.data.b=t}set h(t){this.type.set(wW),this.changed=!0,this.data.h=t}set s(t){this.type.set(wW),this.changed=!0,this.data.s=t}set l(t){this.type.set(wW),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}};var CW=new kW({r:0,g:0,b:0,a:0},"transparent");const EW={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(EW.re);if(!e)return;const n=e[1],r=parseInt(n,16),i=n.length,a=i%4==0,o=i>4,s=o?1:17,c=o?8:4,l=a?0:-1,u=o?255:15;return CW.set({r:(r>>c*(l+3)&u)*s,g:(r>>c*(l+2)&u)*s,b:(r>>c*(l+1)&u)*s,a:a?(r&u)*s/255:1},t)},stringify:t=>{const{r:e,g:n,b:r,a:i}=t;return i<1?`#${bW[Math.round(e)]}${bW[Math.round(n)]}${bW[Math.round(r)]}${bW[Math.round(255*i)]}`:`#${bW[Math.round(e)]}${bW[Math.round(n)]}${bW[Math.round(r)]}`}};var xW=EW;const _W={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(_W.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return mW.channel.clamp.h(.9*parseFloat(t));case"rad":return mW.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return mW.channel.clamp.h(360*parseFloat(t))}}return mW.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(_W.re);if(!n)return;const[,r,i,a,o,s]=n;return CW.set({h:_W._hue2deg(r),s:mW.channel.clamp.s(parseFloat(i)),l:mW.channel.clamp.l(parseFloat(a)),a:o?mW.channel.clamp.a(s?parseFloat(o)/100:parseFloat(o)):1},t)},stringify:t=>{const{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${mW.lang.round(e)}, ${mW.lang.round(n)}%, ${mW.lang.round(r)}%, ${i})`:`hsl(${mW.lang.round(e)}, ${mW.lang.round(n)}%, ${mW.lang.round(r)}%)`}};var BW=_W;const SW={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=SW.colors[t];if(e)return xW.parse(e)},stringify:t=>{const e=xW.stringify(t);for(const t in SW.colors)if(SW.colors[t]===e)return t}};var LW=SW;const IW={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(IW.re);if(!n)return;const[,r,i,a,o,s,c,l,u]=n;return CW.set({r:mW.channel.clamp.r(i?2.55*parseFloat(r):parseFloat(r)),g:mW.channel.clamp.g(o?2.55*parseFloat(a):parseFloat(a)),b:mW.channel.clamp.b(c?2.55*parseFloat(s):parseFloat(s)),a:l?mW.channel.clamp.a(u?parseFloat(l)/100:parseFloat(l)):1},t)},stringify:t=>{const{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${mW.lang.round(e)}, ${mW.lang.round(n)}, ${mW.lang.round(r)}, ${mW.lang.round(i)})`:`rgb(${mW.lang.round(e)}, ${mW.lang.round(n)}, ${mW.lang.round(r)})`}};var MW=IW;const OW={format:{keyword:LW,hex:xW,rgb:MW,rgba:MW,hsl:BW,hsla:BW},parse:t=>{if("string"!=typeof t)return t;const e=xW.parse(t)||MW.parse(t)||BW.parse(t)||LW.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(wW)||void 0===t.data.r?BW.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?MW.stringify(t):xW.stringify(t)};var NW=OW;var DW=(t,e)=>{const n=NW.parse(t);for(const t in e)n[t]=mW.channel.clamp[t](e[t]);return NW.stringify(n)};var FW=(t,e,n=0,r=1)=>{if("number"!=typeof t)return DW(t,{a:e});const i=CW.set({r:mW.channel.clamp.r(t),g:mW.channel.clamp.g(e),b:mW.channel.clamp.b(n),a:mW.channel.clamp.a(r)});return NW.stringify(i)};var PW=t=>{const{r:e,g:n,b:r}=NW.parse(t),i=.2126*mW.channel.toLinear(e)+.7152*mW.channel.toLinear(n)+.0722*mW.channel.toLinear(r);return mW.lang.round(i)};var RW=t=>PW(t)>=.5;var QW=t=>!RW(t);var UW=(t,e,n)=>{const r=NW.parse(t),i=r[e],a=mW.channel.clamp[e](i+n);return i!==a&&(r[e]=a),NW.stringify(r)};var HW=(t,e)=>UW(t,"l",e);var jW=(t,e)=>UW(t,"l",-e);var $W=(t,e)=>{const n=NW.parse(t),r={};for(const t in e)e[t]&&(r[t]=n[t]+e[t]);return DW(t,r)};var KW=(t,e,n=50)=>{const{r,g:i,b:a,a:o}=NW.parse(t),{r:s,g:c,b:l,a:u}=NW.parse(e),h=n/100,f=2*h-1,d=o-u,A=((f*d==-1?f:(f+d)/(1+f*d))+1)/2,p=1-A;return FW(r*A+s*p,i*A+c*p,a*A+l*p,o*h+u*(1-h))};var GW=(t,e=100)=>{const n=NW.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,KW(n,t,e)},zW="object"==("undefined"==typeof global?"undefined":ss(global))&&global&&global.Object===Object&&global,XW="object"==("undefined"==typeof self?"undefined":ss(self))&&self&&self.Object===Object&&self,qW=zW||XW||Function("return this")(),VW=qW.Symbol,WW=Object.prototype,YW=WW.hasOwnProperty,JW=WW.toString,ZW=VW?VW.toStringTag:void 0;var tY=Object.prototype.toString;var eY="[object Null]",nY="[object Undefined]",rY=VW?VW.toStringTag:void 0;function iY(t){return null==t?void 0===t?nY:eY:rY&&rY in Object(t)?function(t){var e=YW.call(t,ZW),n=t[ZW];try{t[ZW]=void 0;var r=!0}catch(t){}var i=JW.call(t);return r&&(e?t[ZW]=n:delete t[ZW]),i}(t):function(t){return tY.call(t)}(t)}function aY(t){var e=ss(t);return null!=t&&("object"==e||"function"==e)}var oY="[object AsyncFunction]",sY="[object Function]",cY="[object GeneratorFunction]",lY="[object Proxy]";function uY(t){if(!aY(t))return!1;var e=iY(t);return e==sY||e==cY||e==oY||e==lY}var hY=Wi("Array").keys,fY=Array.prototype,dY={DOMTokenList:!0,NodeList:!0},AY=function(t){var e=t.keys;return t===fY||ct(fY,t)&&e===fY.keys||Nt(dY,Xe(t))?hY:e},pY=AY,gY=qW["__core-js_shared__"],mY=function(){var t=/[^.]+$/.exec(gY&&pY(gY)&&pY(gY).IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var bY=Function.prototype.toString;function vY(t){if(null!=t){try{return bY.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var yY=/^\[object .+?Constructor\]$/,wY=Function.prototype,TY=Object.prototype,kY=wY.toString,CY=TY.hasOwnProperty,EY=RegExp("^"+kY.call(CY).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function xY(t){return!(!aY(t)||(e=t,mY&&mY in e))&&(uY(t)?EY:yY).test(vY(t));var e}function _Y(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return xY(n)?n:void 0}var BY=_Y(Object,"create");var SY=Object.prototype.hasOwnProperty;var LY=Object.prototype.hasOwnProperty;function IY(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function MY(t,e){return t===e||t!=t&&e!=e}function OY(t,e){for(var n=t.length;n--;)if(MY(t[n][0],e))return n;return-1}IY.prototype.clear=function(){this.__data__=BY?BY(null):{},this.size=0},IY.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},IY.prototype.get=function(t){var e=this.__data__;if(BY){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return SY.call(e,t)?e[t]:void 0},IY.prototype.has=function(t){var e=this.__data__;return BY?void 0!==e[t]:LY.call(e,t)},IY.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=BY&&void 0===e?"__lodash_hash_undefined__":e,this};var NY=Array.prototype,DY=Gd(NY);function FY(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}FY.prototype.clear=function(){this.__data__=[],this.size=0},FY.prototype.delete=function(t){var e=this.__data__,n=OY(e,t);return!(n<0)&&(n==e.length-1?e.pop():DY.call(e,n,1),--this.size,!0)},FY.prototype.get=function(t){var e=this.__data__,n=OY(e,t);return n<0?void 0:e[n][1]},FY.prototype.has=function(t){return OY(this.__data__,t)>-1},FY.prototype.set=function(t,e){var n=this.__data__,r=OY(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var PY=_Y(qW,"Map");function RY(t,e){var n=t.__data__;return function(t){var e=ss(t);return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:tA(n)}function QY(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}QY.prototype.clear=function(){this.size=0,this.__data__={hash:new IY,map:new(PY||FY),string:new IY}},QY.prototype.delete=function(t){var e=RY(this,t).delete(t);return this.size-=e?1:0,e},QY.prototype.get=function(t){return RY(this,t).get(t)},QY.prototype.has=function(t){return RY(this,t).has(t)},QY.prototype.set=function(t,e){var n=RY(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};var UY="Expected a function";function HY(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(UY);var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=t.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(HY.Cache||QY),n}HY.Cache=QY;var jY="comm",$Y="rule",KY="decl",GY=Math.abs,zY=String.fromCharCode;function XY(t){return t.trim()}function qY(t,e,n){return t.replace(e,n)}function VY(t,e){return t.indexOf(e)}function WY(t,e){return 0|t.charCodeAt(e)}function YY(t,e,n){return t.slice(e,n)}function JY(t){return t.length}function ZY(t,e){return e.push(t),t}var tJ=1,eJ=1,nJ=0,rJ=0,iJ=0,aJ="";function oJ(t,e,n,r,i,a,o,s){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:tJ,column:eJ,length:o,return:"",siblings:s}}function sJ(){return iJ=rJ>0?WY(aJ,--rJ):0,eJ--,10===iJ&&(eJ=1,tJ--),iJ}function cJ(){return iJ=rJ<nJ?WY(aJ,rJ++):0,eJ++,10===iJ&&(eJ=1,tJ++),iJ}function lJ(){return WY(aJ,rJ)}function uJ(){return rJ}function hJ(t,e){return YY(aJ,t,e)}function fJ(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dJ(t){return XY(hJ(rJ-1,gJ(91===t?t+2:40===t?t+1:t)))}function AJ(t){for(;(iJ=lJ())&&iJ<33;)cJ();return fJ(t)>2||fJ(iJ)>3?"":" "}function pJ(t,e){for(;--e&&cJ()&&!(iJ<48||iJ>102||iJ>57&&iJ<65||iJ>70&&iJ<97););return hJ(t,uJ()+(e<6&&32==lJ()&&32==cJ()))}function gJ(t){for(;cJ();)switch(iJ){case t:return rJ;case 34:case 39:34!==t&&39!==t&&gJ(iJ);break;case 40:41===t&&gJ(t);break;case 92:cJ()}return rJ}function mJ(t,e){for(;cJ()&&t+iJ!==57&&(t+iJ!==84||47!==lJ()););return"/*"+hJ(e,rJ-1)+"*"+zY(47===t?t:cJ())}function bJ(t){for(;!fJ(lJ());)cJ();return hJ(t,rJ)}function vJ(t){return function(t){return aJ="",t}(yJ("",null,null,null,[""],t=function(t){return tJ=eJ=1,nJ=JY(aJ=t),rJ=0,[]}(t),0,[0],t))}function yJ(t,e,n,r,i,a,o,s,c){for(var l=0,u=0,h=o,f=0,d=0,A=0,p=1,g=1,m=1,b=0,v="",y=i,w=a,T=r,k=v;g;)switch(A=b,b=cJ()){case 40:if(108!=A&&58==WY(k,h-1)){-1!=VY(k+=qY(dJ(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:k+=dJ(b);break;case 9:case 10:case 13:case 32:k+=AJ(A);break;case 92:k+=pJ(uJ()-1,7);continue;case 47:switch(lJ()){case 42:case 47:ZY(TJ(mJ(cJ(),uJ()),e,n,c),c);break;default:k+="/"}break;case 123*p:s[l++]=JY(k)*m;case 125*p:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==m&&(k=qY(k,/\f/g,"")),d>0&&JY(k)-h&&ZY(d>32?kJ(k+";",r,n,h-1,c):kJ(qY(k," ","")+";",r,n,h-2,c),c);break;case 59:k+=";";default:if(ZY(T=wJ(k,e,n,l,u,i,s,v,y=[],w=[],h,a),a),123===b)if(0===u)yJ(k,e,T,T,y,a,h,s,w);else switch(99===f&&110===WY(k,3)?100:f){case 100:case 108:case 109:case 115:yJ(t,T,T,r&&ZY(wJ(t,T,T,0,0,i,s,v,i,y=[],h,w),w),i,w,h,s,r?y:w);break;default:yJ(k,T,T,T,[""],w,0,s,w)}}l=u=d=0,p=m=1,v=k="",h=o;break;case 58:h=1+JY(k),d=A;default:if(p<1)if(123==b)--p;else if(125==b&&0==p++&&125==sJ())continue;switch(k+=zY(b),b*p){case 38:m=u>0?1:(k+="\f",-1);break;case 44:s[l++]=(JY(k)-1)*m,m=1;break;case 64:45===lJ()&&(k+=dJ(cJ())),f=lJ(),u=h=JY(v=k+=bJ(uJ())),b++;break;case 45:45===A&&2==JY(k)&&(p=0)}}return a}function wJ(t,e,n,r,i,a,o,s,c,l,u,h){for(var f=i-1,d=0===i?a:[""],A=function(t){return t.length}(d),p=0,g=0,m=0;p<r;++p)for(var b=0,v=YY(t,f+1,f=GY(g=o[p])),y=t;b<A;++b)(y=XY(g>0?d[b]+" "+v:qY(v,/&\f/g,d[b])))&&(c[m++]=y);return oJ(t,e,n,0===i?$Y:s,c,l,u,h)}function TJ(t,e,n,r){return oJ(t,e,n,jY,zY(iJ),YY(t,2,-2),0,r)}function kJ(t,e,n,r,i){return oJ(t,e,n,KY,YY(t,0,r),YY(t,r+1,-1),r,i)}function CJ(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function EJ(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case KY:return t.return=t.return||t.value;case jY:return"";case"@keyframes":return t.return=t.value+"{"+CJ(t.children,r)+"}";case $Y:if(!JY(t.value=t.props.join(",")))return""}return JY(n=CJ(t.children,r))?t.return=t.value+"{"+n+"}":""}function xJ(t){return null!=t&&"object"==ss(t)}var _J="[object Symbol]";function BJ(t){return"symbol"==ss(t)||xJ(t)&&iY(t)==_J}function SJ(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var LJ=rA,IJ=1/0,MJ=VW?VW.prototype:void 0,OJ=MJ?MJ.toString:void 0;function NJ(t){if("string"==typeof t)return t;if(LJ(t))return SJ(t,NJ)+"";if(BJ(t))return OJ?OJ.call(t):"";var e=t+"";return"0"==e&&1/t==-IJ?"-0":e}var DJ=/\s/;var FJ=/^\s+/;function PJ(t){return t?Cf(t).call(t,0,function(t){for(var e=t.length;e--&&DJ.test(t.charAt(e)););return e}(t)+1).replace(FJ,""):t}var RJ=NaN,QJ=/^[-+]0x[0-9a-f]+$/i,UJ=/^0b[01]+$/i,HJ=/^0o[0-7]+$/i,jJ=Mf;var $J=1/0,KJ=17976931348623157e292;function GJ(t){return t?(t=function(t){if("number"==typeof t)return t;if(BJ(t))return RJ;if(aY(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=aY(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=PJ(t);var n=UJ.test(t);return n||HJ.test(t)?jJ(Cf(t).call(t,2),n?2:8):QJ.test(t)?RJ:+t}(t),t===$J||t===-$J?(t<0?-1:1)*KJ:t==t?t:0):0===t?t:0}function zJ(t){return t}var XJ=_Y(qW,"WeakMap"),qJ=kf,VJ=function(){function t(){}return function(e){if(!aY(e))return{};if(qJ)return qJ(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),WJ=VJ;function YJ(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var JJ=Date,ZJ=T(JJ.prototype.getTime);jn({target:"Date",stat:!0},{now:function(){return ZJ(new JJ)}});var tZ=X.Date.now,eZ=tZ;function nZ(t){return function(){return t}}var rZ,iZ,aZ,oZ=function(){try{var t=_Y(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),sZ=oZ,cZ=sZ?function(t,e){return sZ(t,"toString",{configurable:!0,enumerable:!1,value:nZ(e),writable:!0})}:zJ,lZ=(rZ=cZ,iZ=0,aZ=0,function(){var t=eZ(),e=16-(t-aZ);if(aZ=t,e>0){if(++iZ>=800)return arguments[0]}else iZ=0;return rZ.apply(void 0,arguments)}),uZ=lZ;function hZ(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function fZ(t,e,n,r){for(var i=t.length,a=n+(r?1:-1);r?a--:++a<i;)if(e(t[a],a,t))return a;return-1}function dZ(t){return t!=t}function AZ(t,e){return!!(null==t?0:t.length)&&function(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):fZ(t,dZ,n)}(t,e,0)>-1}var pZ=9007199254740991,gZ=/^(?:0|[1-9]\d*)$/;function mZ(t,e){var n=ss(t);return!!(e=null==e?pZ:e)&&("number"==n||"symbol"!=n&&gZ.test(t))&&t>-1&&t%1==0&&t<e}function bZ(t,e,n){"__proto__"==e&&sZ?sZ(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var vZ=Object.prototype.hasOwnProperty;function yZ(t,e,n){var r=t[e];vZ.call(t,e)&&MY(r,n)&&(void 0!==n||e in t)||bZ(t,e,n)}function wZ(t,e,n,r){var i=!n;n||(n={});for(var a=-1,o=e.length;++a<o;){var s=e[a],c=r?r(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),i?bZ(n,s,c):yZ(n,s,c)}return n}var TZ=Math.max;function kZ(t,e,n){return e=TZ(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,a=TZ(r.length-e,0),o=Array(a);++i<a;)o[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(o),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,s)}}function CZ(t,e){return uZ(kZ(t,e,zJ),t+"")}var EZ=9007199254740991;function xZ(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=EZ}function _Z(t){return null!=t&&xZ(t.length)&&!uY(t)}function BZ(t,e,n){if(!aY(n))return!1;var r=ss(e);return!!("number"==r?_Z(n)&&mZ(e,n.length):"string"==r&&e in n)&&MY(n[e],t)}var SZ=Object.prototype;function LZ(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||SZ)}function IZ(t){return xJ(t)&&"[object Arguments]"==iY(t)}var MZ=Object.prototype,OZ=MZ.hasOwnProperty,NZ=MZ.propertyIsEnumerable,DZ=IZ(function(){return arguments}())?IZ:function(t){return xJ(t)&&OZ.call(t,"callee")&&!NZ.call(t,"callee")},FZ=DZ;var PZ="object"==(void 0===t?"undefined":ss(t))&&t&&!t.nodeType&&t,RZ=PZ&&"object"==("undefined"==typeof module?"undefined":ss(module))&&module&&!module.nodeType&&module,QZ=RZ&&RZ.exports===PZ?qW.Buffer:void 0,UZ=(QZ?QZ.isBuffer:void 0)||function(){return!1},HZ={};function jZ(t){return function(e){return t(e)}}HZ["[object Float32Array]"]=HZ["[object Float64Array]"]=HZ["[object Int8Array]"]=HZ["[object Int16Array]"]=HZ["[object Int32Array]"]=HZ["[object Uint8Array]"]=HZ["[object Uint8ClampedArray]"]=HZ["[object Uint16Array]"]=HZ["[object Uint32Array]"]=!0,HZ["[object Arguments]"]=HZ["[object Array]"]=HZ["[object ArrayBuffer]"]=HZ["[object Boolean]"]=HZ["[object DataView]"]=HZ["[object Date]"]=HZ["[object Error]"]=HZ["[object Function]"]=HZ["[object Map]"]=HZ["[object Number]"]=HZ["[object Object]"]=HZ["[object RegExp]"]=HZ["[object Set]"]=HZ["[object String]"]=HZ["[object WeakMap]"]=!1;var $Z="object"==(void 0===t?"undefined":ss(t))&&t&&!t.nodeType&&t,KZ=$Z&&"object"==("undefined"==typeof module?"undefined":ss(module))&&module&&!module.nodeType&&module,GZ=KZ&&KZ.exports===$Z&&zW.process,zZ=function(){try{var t=KZ&&KZ.require&&KZ.require("util").types;return t||GZ&&GZ.binding&&GZ.binding("util")}catch(t){}}(),XZ=zZ,qZ=XZ&&XZ.isTypedArray,VZ=qZ?jZ(qZ):function(t){return xJ(t)&&xZ(t.length)&&!!HZ[iY(t)]},WZ=Object.prototype.hasOwnProperty;function YZ(t,e){var n=LJ(t),r=!n&&FZ(t),i=!n&&!r&&UZ(t),a=!n&&!r&&!i&&VZ(t),o=n||r||i||a,s=o?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],c=s.length;for(var l in t)!e&&!WZ.call(t,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||mZ(l,c))||s.push(l);return s}function JZ(t,e){return function(n){return t(e(n))}}var ZZ=JZ(ar,Object),t1=Object.prototype.hasOwnProperty;function e1(t){if(!LZ(t))return ZZ(t);var e=[];for(var n in Object(t))t1.call(t,n)&&"constructor"!=n&&e.push(n);return e}function n1(t){return _Z(t)?YZ(t):e1(t)}var r1=Object.prototype.hasOwnProperty;function i1(t){if(!aY(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=LZ(t),n=[];for(var r in t)("constructor"!=r||!e&&r1.call(t,r))&&n.push(r);return n}function a1(t){return _Z(t)?YZ(t,!0):i1(t)}var o1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s1=/^\w*$/;function c1(t,e){if(LJ(t))return!1;var n=ss(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!BJ(t))||(s1.test(t)||!o1.test(t)||null!=e&&t in Object(e))}var l1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u1=/\\(\\)?/g,h1=function(t){var e=HY(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(l1,(function(t,n,r,i){e.push(r?i.replace(u1,"$1"):n||t)})),e})),f1=h1;function d1(t){return null==t?"":NJ(t)}function A1(t,e){return LJ(t)?t:c1(t,e)?[t]:f1(d1(t))}var p1=1/0;function g1(t){if("string"==typeof t||BJ(t))return t;var e=t+"";return"0"==e&&1/t==-p1?"-0":e}function m1(t,e){for(var n=0,r=(e=A1(e,t)).length;null!=t&&n<r;)t=t[g1(e[n++])];return n&&n==r?t:void 0}function b1(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var v1=VW?VW.isConcatSpreadable:void 0;function y1(t){return LJ(t)||FZ(t)||!!(v1&&t&&t[v1])}function w1(t,e,n,r,i){var a=-1,o=t.length;for(n||(n=y1),i||(i=[]);++a<o;){var s=t[a];e>0&&n(s)?e>1?w1(s,e-1,n,r,i):b1(i,s):r||(i[i.length]=s)}return i}function T1(t){return(null==t?0:t.length)?w1(t,1):[]}var k1=JZ(Bs,Object),C1="[object Object]",E1=Function.prototype,x1=Object.prototype,_1=E1.toString,B1=x1.hasOwnProperty,S1=_1.call(Object);function L1(t){if(!xJ(t)||iY(t)!=C1)return!1;var e=k1(t);if(null===e)return!0;var n=B1.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&_1.call(n)==S1}function I1(t,e,n,r){var i=-1,a=null==t?0:t.length;for(r&&a&&(n=t[++i]);++i<a;)n=e(n,t[i],i,t);return n}function M1(t){var e=this.__data__=new FY(t);this.size=e.size}M1.prototype.clear=function(){this.__data__=new FY,this.size=0},M1.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},M1.prototype.get=function(t){return this.__data__.get(t)},M1.prototype.has=function(t){return this.__data__.has(t)},M1.prototype.set=function(t,e){var n=this.__data__;if(n instanceof FY){var r=n.__data__;if(!PY||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new QY(r)}return n.set(t,e),this.size=n.size,this};var O1="object"==(void 0===t?"undefined":ss(t))&&t&&!t.nodeType&&t,N1=O1&&"object"==("undefined"==typeof module?"undefined":ss(module))&&module&&!module.nodeType&&module,D1=N1&&N1.exports===O1?qW.Buffer:void 0,F1=D1?D1.allocUnsafe:void 0;function P1(t,e){if(e)return Cf(t).call(t);var n=t.length,r=F1?F1(n):new t.constructor(n);return t.copy(r),r}function R1(t,e){for(var n=-1,r=null==t?0:t.length,i=0,a=[];++n<r;){var o=t[n];e(o,n,t)&&(a[i++]=o)}return a}function Q1(){return[]}var U1=Object.prototype.propertyIsEnumerable,H1=Gi,j1=H1?function(t){return null==t?[]:(t=Object(t),R1(H1(t),(function(e){return U1.call(t,e)})))}:Q1,$1=j1;var K1=Gi?function(t){for(var e=[];t;)b1(e,$1(t)),t=k1(t);return e}:Q1,G1=K1;function z1(t,e,n){var r=e(t);return LJ(t)?r:b1(r,n(t))}function X1(t){return z1(t,n1,$1)}function q1(t){return z1(t,a1,G1)}var V1=_Y(qW,"DataView"),W1=_Y(qW,"Promise"),Y1=_Y(qW,"Set"),J1="[object Map]",Z1="[object Promise]",t0="[object Set]",e0="[object WeakMap]",n0="[object DataView]",r0=vY(V1),i0=vY(PY),a0=vY(W1),o0=vY(Y1),s0=vY(XJ),c0=iY;(V1&&c0(new V1(new ArrayBuffer(1)))!=n0||PY&&c0(new PY)!=J1||W1&&c0(W1.resolve())!=Z1||Y1&&c0(new Y1)!=t0||XJ&&c0(new XJ)!=e0)&&(c0=function(t){var e=iY(t),n="[object Object]"==e?t.constructor:void 0,r=n?vY(n):"";if(r)switch(r){case r0:return n0;case i0:return J1;case a0:return Z1;case o0:return t0;case s0:return e0}return e});var l0=c0,u0=Object.prototype.hasOwnProperty;var h0=qW.Uint8Array;function f0(t){var e=new t.constructor(t.byteLength);return new h0(e).set(new h0(t)),e}var d0=/\w*$/;var A0=VW?VW.prototype:void 0,p0=A0?A0.valueOf:void 0;function g0(t,e){var n=e?f0(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var m0="[object Boolean]",b0="[object Date]",v0="[object Map]",y0="[object Number]",w0="[object RegExp]",T0="[object Set]",k0="[object String]",C0="[object Symbol]",E0="[object ArrayBuffer]",x0="[object DataView]",_0="[object Float32Array]",B0="[object Float64Array]",S0="[object Int8Array]",L0="[object Int16Array]",I0="[object Int32Array]",M0="[object Uint8Array]",O0="[object Uint8ClampedArray]",N0="[object Uint16Array]",D0="[object Uint32Array]";function F0(t,e,n){var r,i,a=t.constructor;switch(e){case E0:return f0(t);case m0:case b0:return new a(+t);case x0:return function(t,e){var n=e?f0(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case _0:case B0:case S0:case L0:case I0:case M0:case O0:case N0:case D0:return g0(t,n);case v0:return new a;case y0:case k0:return new a(t);case w0:return(i=new(r=t).constructor(r.source,d0.exec(r))).lastIndex=r.lastIndex,i;case T0:return new a;case C0:return function(t){return p0?Object(p0.call(t)):{}}(t)}}function P0(t){return"function"!=typeof t.constructor||LZ(t)?{}:WJ(k1(t))}var R0=XZ&&XZ.isMap,Q0=R0?jZ(R0):function(t){return xJ(t)&&"[object Map]"==l0(t)};var U0=XZ&&XZ.isSet,H0=U0?jZ(U0):function(t){return xJ(t)&&"[object Set]"==l0(t)},j0=1,$0=2,K0=4,G0="[object Arguments]",z0="[object Function]",X0="[object GeneratorFunction]",q0="[object Object]",V0={};function W0(t,e,n,r,i,a){var o,s=e&j0,c=e&$0,l=e&K0;if(n&&(o=i?n(t,r,i,a):n(t)),void 0!==o)return o;if(!aY(t))return t;var u=LJ(t);if(u){if(o=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&u0.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return YJ(t,o)}else{var h=l0(t),f=h==z0||h==X0;if(UZ(t))return P1(t,s);if(h==q0||h==G0||f&&!i){if(o=c||f?{}:P0(t),!s)return c?function(t,e){return wZ(t,G1(t),e)}(t,function(t,e){return t&&wZ(e,a1(e),t)}(o,t)):function(t,e){return wZ(t,$1(t),e)}(t,function(t,e){return t&&wZ(e,n1(e),t)}(o,t))}else{if(!V0[h])return i?t:{};o=F0(t,h,s)}}a||(a=new M1);var d=a.get(t);if(d)return d;a.set(t,o),H0(t)?ao(t).call(t,(function(r){o.add(W0(r,e,n,r,t,a))})):Q0(t)&&ao(t).call(t,(function(r,i){o.set(i,W0(r,e,n,i,t,a))}));var A=u?void 0:(l?c?q1:X1:c?a1:n1)(t);return hZ(A||t,(function(r,i){A&&(r=t[i=r]),yZ(o,i,W0(r,e,n,i,t,a))})),o}V0[G0]=V0["[object Array]"]=V0["[object ArrayBuffer]"]=V0["[object DataView]"]=V0["[object Boolean]"]=V0["[object Date]"]=V0["[object Float32Array]"]=V0["[object Float64Array]"]=V0["[object Int8Array]"]=V0["[object Int16Array]"]=V0["[object Int32Array]"]=V0["[object Map]"]=V0["[object Number]"]=V0[q0]=V0["[object RegExp]"]=V0["[object Set]"]=V0["[object String]"]=V0["[object Symbol]"]=V0["[object Uint8Array]"]=V0["[object Uint8ClampedArray]"]=V0["[object Uint16Array]"]=V0["[object Uint32Array]"]=!0,V0["[object Error]"]=V0[z0]=V0["[object WeakMap]"]=!1;var Y0=4;var J0=1,Z0=4;function t2(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new QY;++e<n;)this.add(t[e])}function e2(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function n2(t,e){return t.has(e)}t2.prototype.add=t2.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},t2.prototype.has=function(t){return this.__data__.has(t)};var r2=1,i2=2;function a2(t,e,n,r,i,a){var o=n&r2,s=t.length,c=e.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(t),u=a.get(e);if(l&&u)return l==e&&u==t;var h=-1,f=!0,d=n&i2?new t2:void 0;for(a.set(t,e),a.set(e,t);++h<s;){var A=t[h],p=e[h];if(r)var g=o?r(p,A,h,e,t,a):r(A,p,h,t,e,a);if(void 0!==g){if(g)continue;f=!1;break}if(d){if(!e2(e,(function(t,e){if(!n2(d,e)&&(A===t||i(A,t,n,r,a)))return d.push(e)}))){f=!1;break}}else if(A!==p&&!i(A,p,n,r,a)){f=!1;break}}return a.delete(t),a.delete(e),f}function o2(t){var e=-1,n=Array(t.size);return ao(t).call(t,(function(t,r){n[++e]=[r,t]})),n}function s2(t){var e=-1,n=Array(t.size);return ao(t).call(t,(function(t){n[++e]=t})),n}var c2=1,l2=2,u2="[object Boolean]",h2="[object Date]",f2="[object Error]",d2="[object Map]",A2="[object Number]",p2="[object RegExp]",g2="[object Set]",m2="[object String]",b2="[object Symbol]",v2="[object ArrayBuffer]",y2="[object DataView]",w2=VW?VW.prototype:void 0,T2=w2?w2.valueOf:void 0;var k2=1,C2=Object.prototype.hasOwnProperty;var E2=1,x2="[object Arguments]",_2="[object Array]",B2="[object Object]",S2=Object.prototype.hasOwnProperty;function L2(t,e,n,r,i,a){var o=LJ(t),s=LJ(e),c=o?_2:l0(t),l=s?_2:l0(e),u=(c=c==x2?B2:c)==B2,h=(l=l==x2?B2:l)==B2,f=c==l;if(f&&UZ(t)){if(!UZ(e))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new M1),o||VZ(t)?a2(t,e,n,r,i,a):function(t,e,n,r,i,a,o){switch(n){case y2:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case v2:return!(t.byteLength!=e.byteLength||!a(new h0(t),new h0(e)));case u2:case h2:case A2:return MY(+t,+e);case f2:return t.name==e.name&&t.message==e.message;case p2:case m2:return t==e+"";case d2:var s=o2;case g2:var c=r&c2;if(s||(s=s2),t.size!=e.size&&!c)return!1;var l=o.get(t);if(l)return l==e;r|=l2,o.set(t,e);var u=a2(s(t),s(e),r,i,a,o);return o.delete(t),u;case b2:if(T2)return T2.call(t)==T2.call(e)}return!1}(t,e,c,n,r,i,a);if(!(n&E2)){var d=u&&S2.call(t,"__wrapped__"),A=h&&S2.call(e,"__wrapped__");if(d||A){var p=d?t.value():t,g=A?e.value():e;return a||(a=new M1),i(p,g,n,r,a)}}return!!f&&(a||(a=new M1),function(t,e,n,r,i,a){var o=n&k2,s=X1(t),c=s.length;if(c!=X1(e).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in e:C2.call(e,u)))return!1}var h=a.get(t),f=a.get(e);if(h&&f)return h==e&&f==t;var d=!0;a.set(t,e),a.set(e,t);for(var A=o;++l<c;){var p=t[u=s[l]],g=e[u];if(r)var m=o?r(g,p,u,e,t,a):r(p,g,u,t,e,a);if(!(void 0===m?p===g||i(p,g,n,r,a):m)){d=!1;break}A||(A="constructor"==u)}if(d&&!A){var b=t.constructor,v=e.constructor;b==v||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(d=!1)}return a.delete(t),a.delete(e),d}(t,e,n,r,i,a))}function I2(t,e,n,r,i){return t===e||(null==t||null==e||!xJ(t)&&!xJ(e)?t!=t&&e!=e:L2(t,e,n,r,I2,i))}var M2=1,O2=2;function N2(t){return t==t&&!aY(t)}function D2(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function F2(t){var e=function(t){for(var e=n1(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,N2(i)]}return e}(t);return 1==e.length&&e[0][2]?D2(e[0][0],e[0][1]):function(n){return n===t||function(t,e,n,r){var i=n.length,a=i,o=!r;if(null==t)return!a;for(t=Object(t);i--;){var s=n[i];if(o&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<a;){var c=(s=n[i])[0],l=t[c],u=s[1];if(o&&s[2]){if(void 0===l&&!(c in t))return!1}else{var h=new M1;if(r)var f=r(l,u,c,t,e,h);if(!(void 0===f?I2(u,l,M2|O2,r,h):f))return!1}}return!0}(n,t,e)}}function P2(t,e){return null!=t&&e in Object(t)}function R2(t,e,n){for(var r=-1,i=(e=A1(e,t)).length,a=!1;++r<i;){var o=g1(e[r]);if(!(a=null!=t&&n(t,o)))break;t=t[o]}return a||++r!=i?a:!!(i=null==t?0:t.length)&&xZ(i)&&mZ(o,i)&&(LJ(t)||FZ(t))}function Q2(t,e){return null!=t&&R2(t,e,P2)}var U2=1,H2=2;function j2(t,e){return c1(t)&&N2(e)?D2(g1(t),e):function(n){var r=function(t,e,n){var r=null==t?void 0:m1(t,e);return void 0===r?n:r}(n,t);return void 0===r&&r===e?Q2(n,t):I2(e,r,U2|H2)}}function $2(t){return c1(t)?(e=g1(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return m1(e,t)}}(t);var e}function K2(t){return"function"==typeof t?t:null==t?zJ:"object"==ss(t)?LJ(t)?j2(t[0],t[1]):F2(t):$2(t)}var G2,z2=function(t,e,n){for(var r=-1,i=Object(t),a=n(t),o=a.length;o--;){var s=a[G2?o:++r];if(!1===e(i[s],s,i))break}return t},X2=z2;function q2(t,e){return t&&X2(t,e,n1)}var V2=function(t,e){return function(n,r){if(null==n)return n;if(!_Z(n))return t(n,r);for(var i=n.length,a=e?i:-1,o=Object(n);(e?a--:++a<i)&&!1!==r(o[a],a,o););return n}}(q2),W2=V2,Y2=function(){return qW.Date.now()},J2=Object.prototype,Z2=J2.hasOwnProperty,t4=CZ((function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&BZ(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],o=a1(a),s=-1,c=o.length;++s<c;){var l=o[s],u=t[l];(void 0===u||MY(u,J2[l])&&!Z2.call(t,l))&&(t[l]=a[l])}return t})),e4=t4;function n4(t,e,n){(void 0!==n&&!MY(t[e],n)||void 0===n&&!(e in t))&&bZ(t,e,n)}function r4(t){return xJ(t)&&_Z(t)}function i4(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function a4(t,e,n,r,i,a,o){var s=i4(t,n),c=i4(e,n),l=o.get(c);if(l)n4(t,n,l);else{var u,h=a?a(s,c,n+"",t,e,o):void 0,f=void 0===h;if(f){var d=LJ(c),A=!d&&UZ(c),p=!d&&!A&&VZ(c);h=c,d||A||p?LJ(s)?h=s:r4(s)?h=YJ(s):A?(f=!1,h=P1(c,!0)):p?(f=!1,h=g0(c,!0)):h=[]:L1(c)||FZ(c)?(h=s,FZ(s)?h=wZ(u=s,a1(u)):aY(s)&&!uY(s)||(h=P0(c))):f=!1}f&&(o.set(c,h),i(h,c,r,a,o),o.delete(c)),n4(t,n,h)}}function o4(t,e,n,r,i){t!==e&&X2(e,(function(a,o){if(i||(i=new M1),aY(a))a4(t,e,o,n,o4,r,i);else{var s=r?r(i4(t,o),a,o+"",t,e,i):void 0;void 0===s&&(s=a),n4(t,o,s)}}),a1)}function s4(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function c4(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}function l4(t){return"function"==typeof t?t:zJ}function u4(t,e){return(LJ(t)?hZ:W2)(t,l4(e))}function h4(t,e){var n=[];return W2(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function f4(t,e){return(LJ(t)?R1:h4)(t,K2(e))}var d4=Math.max;var A4,p4=(A4=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i,a,o=null==n?0:(i=GJ(n),a=i%1,i==i?a?i-a:i:0);return o<0&&(o=d4(r+o,0)),fZ(t,K2(e),o)},function(t,e,n){var r=Object(t);if(!_Z(t)){var i=K2(e);t=n1(t),e=function(t){return i(r[t],t,r)}}var a=A4(t,e,n);return a>-1?r[i?t[a]:a]:void 0}),g4=p4;function m4(t,e){var n=-1,r=_Z(t)?Array(t.length):[];return W2(t,(function(t,i,a){r[++n]=e(t,i,a)})),r}function b4(t,e){return(LJ(t)?SJ:m4)(t,K2(e))}function v4(t,e){return t>e}var y4=Object.prototype.hasOwnProperty;function w4(t,e){return null!=t&&y4.call(t,e)}function T4(t,e){return null!=t&&R2(t,e,w4)}function k4(t){return null==t?[]:function(t,e){return SJ(e,(function(e){return t[e]}))}(t,n1(t))}var C4="[object Map]",E4="[object Set]",x4=Object.prototype.hasOwnProperty;function _4(t){if(null==t)return!0;if(_Z(t)&&(LJ(t)||"string"==typeof t||"function"==typeof Gd(t)||UZ(t)||VZ(t)||FZ(t)))return!t.length;var e=l0(t);if(e==C4||e==E4)return!t.size;if(LZ(t))return!e1(t).length;for(var n in t)if(x4.call(t,n))return!1;return!0}function B4(t){return void 0===t}function S4(t,e){return t<e}function L4(t,e){var n={};return e=K2(e),q2(t,(function(t,r,i){bZ(n,r,e(t,r,i))})),n}function I4(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],o=e(a);if(null!=o&&(void 0===s?o==o&&!BJ(o):n(o,s)))var s=o,c=a}return c}function M4(t){return t&&t.length?I4(t,zJ,v4):void 0}var O4,N4=(O4=function(t,e,n){o4(t,e,n)},CZ((function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,a=r>2?e[2]:void 0;for(i=O4.length>3&&"function"==typeof i?(r--,i):void 0,a&&BZ(e[0],e[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var o=e[n];o&&O4(t,o,n,i)}return t}))),D4=N4;function F4(t){return t&&t.length?I4(t,zJ,S4):void 0}function P4(t,e){return t&&t.length?I4(t,K2(e),S4):void 0}function R4(t,e,n,r){if(!aY(t))return t;for(var i=-1,a=(e=A1(e,t)).length,o=a-1,s=t;null!=s&&++i<a;){var c=g1(e[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=o){var u=s[c];void 0===(l=r?r(u,c,s):void 0)&&(l=aY(u)?u:mZ(e[i+1])?[]:{})}yZ(s,c,l),s=s[c]}return t}function Q4(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,a=BJ(t),o=void 0!==e,s=null===e,c=e==e,l=BJ(e);if(!s&&!l&&!a&&t>e||a&&o&&c&&!s&&!l||r&&o&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&t<e||l&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!c)return-1}return 0}function U4(t,e,n){e=e.length?SJ(e,(function(t){return LJ(t)?function(e){return m1(e,1===t.length?t[0]:t)}:t})):[zJ];var r=-1;return e=SJ(e,jZ(K2)),function(t,e){var n=t.length;for(WU(t).call(t,e);n--;)t[n]=t[n].value;return t}(m4(t,(function(t,n,i){return{criteria:SJ(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,a=e.criteria,o=i.length,s=n.length;++r<o;){var c=Q4(i[r],a[r]);if(c)return r>=s?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function H4(t,e){return function(t,e,n){for(var r=-1,i=e.length,a={};++r<i;){var o=e[r],s=m1(t,o);n(s,o)&&R4(a,A1(o,t),s)}return a}(t,e,(function(e,n){return Q2(t,n)}))}var j4=function(t){return uZ(kZ(t,void 0,T1),t+"")}((function(t,e){return null==t?{}:H4(t,e)})),$4=j4,K4=Math.ceil,G4=Math.max;var z4=function(t){return function(e,n,r){return r&&"number"!=typeof r&&BZ(e,n,r)&&(n=r=void 0),e=GJ(e),void 0===n?(n=e,e=0):n=GJ(n),function(t,e,n,r){for(var i=-1,a=G4(K4((e-t)/(n||1)),0),o=Array(a);a--;)o[r?a:++i]=t,t+=n;return o}(e,n,r=void 0===r?e<n?1:-1:GJ(r),t)}}(),X4=z4;function q4(t,e,n,r,i){return i(t,(function(t,i,a){n=r?(r=!1,t):e(n,t,i,a)})),n}function V4(t,e,n){var r=LJ(t)?I1:q4,i=arguments.length<3;return r(t,K2(e),n,i,W2)}var W4=CZ((function(t,e){if(null==t)return[];var n=e.length;return n>1&&BZ(t,e[0],e[1])?e=[]:n>2&&BZ(e[0],e[1],e[2])&&(e=[e[0]]),U4(t,w1(e,1),[])})),Y4=W4,J4=Y1&&1/s2(new Y1([,-0]))[1]==1/0?function(t){return new Y1(t)}:function(){},Z4=J4;var t3=CZ((function(t){return function(t,e,n){var r=-1,i=AZ,a=t.length,o=!0,s=[],c=s;if(n)o=!1,i=s4;else if(a>=200){var l=e?null:Z4(t);if(l)return s2(l);o=!1,i=n2,c=new t2}else c=e?[]:s;t:for(;++r<a;){var u=t[r],h=e?e(u):u;if(u=n||0!==u?u:0,o&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;e&&c.push(h),s.push(u)}else i(c,h,n)||(c!==s&&c.push(h),s.push(u))}return s}(w1(t,1,r4,!0))})),e3=t3,n3=0;function r3(t){var e=++n3;return d1(t)+e}var i3=ZG,a3="\0",o3="\0",s3="",c3=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bo(this,t),this._isDirected=!T4(e,"directed")||e.directed,this._isMultigraph=!!T4(e,"multigraph")&&e.multigraph,this._isCompound=!!T4(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=nZ(void 0),this._defaultEdgeLabelFn=nZ(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o3]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}return hs(t,[{key:"isDirected",value:function(){return this._isDirected}},{key:"isMultigraph",value:function(){return this._isMultigraph}},{key:"isCompound",value:function(){return this._isCompound}},{key:"setGraph",value:function(t){return this._label=t,this}},{key:"graph",value:function(){return this._label}},{key:"setDefaultNodeLabel",value:function(t){return uY(t)||(t=nZ(t)),this._defaultNodeLabelFn=t,this}},{key:"nodeCount",value:function(){return this._nodeCount}},{key:"nodes",value:function(){return n1(this._nodes)}},{key:"sources",value:function(){var t=this;return f4(this.nodes(),(function(e){return _4(t._in[e])}))}},{key:"sinks",value:function(){var t=this;return f4(this.nodes(),(function(e){return _4(t._out[e])}))}},{key:"setNodes",value:function(t,e){var n=arguments,r=this;return u4(t,(function(t){n.length>1?r.setNode(t,e):r.setNode(t)})),this}},{key:"setNode",value:function(t,e){return T4(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=o3,this._children[t]={},this._children[o3][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}},{key:"node",value:function(t){return this._nodes[t]}},{key:"hasNode",value:function(t){return T4(this._nodes,t)}},{key:"removeNode",value:function(t){var e=this;if(T4(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],u4(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),u4(n1(this._in[t]),n),delete this._in[t],delete this._preds[t],u4(n1(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}},{key:"setParent",value:function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(B4(e))e=o3;else{for(var n=e+="";!B4(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}},{key:"_removeFromParentsChildList",value:function(t){delete this._children[this._parent[t]][t]}},{key:"parent",value:function(t){if(this._isCompound){var e=this._parent[t];if(e!==o3)return e}}},{key:"children",value:function(t){if(B4(t)&&(t=o3),this._isCompound){var e=this._children[t];if(e)return n1(e)}else{if(t===o3)return this.nodes();if(this.hasNode(t))return[]}}},{key:"predecessors",value:function(t){var e=this._preds[t];if(e)return n1(e)}},{key:"successors",value:function(t){var e=this._sucs[t];if(e)return n1(e)}},{key:"neighbors",value:function(t){var e=this.predecessors(t);if(e)return e3(e,this.successors(t))}},{key:"isLeaf",value:function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}},{key:"filterNodes",value:function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;u4(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),u4(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var r={};function i(t){var a=n.parent(t);return void 0===a||e.hasNode(a)?(r[t]=a,a):a in r?r[a]:i(a)}return this._isCompound&&u4(e.nodes(),(function(t){e.setParent(t,i(t))})),e}},{key:"setDefaultEdgeLabel",value:function(t){return uY(t)||(t=nZ(t)),this._defaultEdgeLabelFn=t,this}},{key:"edgeCount",value:function(){return this._edgeCount}},{key:"edges",value:function(){return k4(this._edgeObjs)}},{key:"setPath",value:function(t,e){var n=this,r=arguments;return V4(t,(function(t,i){return r.length>1?n.setEdge(t,i,e):n.setEdge(t,i),i})),this}},{key:"setEdge",value:function(){var t,e,n,r,i=!1,a=arguments[0];"object"===ss(a)&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(r=arguments[1],i=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),t=""+t,e=""+e,B4(n)||(n=""+n);var o=h3(this._isDirected,t,e,n);if(T4(this._edgeLabels,o))return i&&(this._edgeLabels[o]=r),this;if(!B4(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[o]=i?r:this._defaultEdgeLabelFn(t,e,n);var s=function(t,e,n,r){var i=""+e,a=""+n;if(!t&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};r&&(s.name=r);return s}(this._isDirected,t,e,n);return t=s.v,e=s.w,i3(s),this._edgeObjs[o]=s,l3(this._preds[e],t),l3(this._sucs[t],e),this._in[e][o]=s,this._out[t][o]=s,this._edgeCount++,this}},{key:"edge",value:function(t,e,n){var r=1===arguments.length?f3(this._isDirected,arguments[0]):h3(this._isDirected,t,e,n);return this._edgeLabels[r]}},{key:"hasEdge",value:function(t,e,n){var r=1===arguments.length?f3(this._isDirected,arguments[0]):h3(this._isDirected,t,e,n);return T4(this._edgeLabels,r)}},{key:"removeEdge",value:function(t,e,n){var r=1===arguments.length?f3(this._isDirected,arguments[0]):h3(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],u3(this._preds[e],t),u3(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this}},{key:"inEdges",value:function(t,e){var n=this._in[t];if(n){var r=k4(n);return e?f4(r,(function(t){return t.v===e})):r}}},{key:"outEdges",value:function(t,e){var n=this._out[t];if(n){var r=k4(n);return e?f4(r,(function(t){return t.w===e})):r}}},{key:"nodeEdges",value:function(t,e){var n=this.inEdges(t,e);if(n)return Fs(n).call(n,this.outEdges(t,e))}}]),t}();function l3(t,e){t[e]?t[e]++:t[e]=1}function u3(t,e){--t[e]||delete t[e]}function h3(t,e,n,r){var i=""+e,a=""+n;if(!t&&i>a){var o=i;i=a,a=o}return i+s3+a+s3+(B4(r)?a3:r)}function f3(t,e){return h3(t,e.v,e.w,e.name)}c3.prototype._nodeCount=0,c3.prototype._edgeCount=0;var d3=function(){function t(){bo(this,t);var e={};e._next=e._prev=e,this._sentinel=e}return hs(t,[{key:"dequeue",value:function(){var t=this._sentinel,e=t._prev;if(e!==t)return A3(e),e}},{key:"enqueue",value:function(t){var e=this._sentinel;t._prev&&t._next&&A3(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e}},{key:"toString",value:function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(Kb(n,p3)),n=n._prev;return"["+t.join(", ")+"]"}}]),t}();function A3(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function p3(t,e){if("_next"!==t&&"_prev"!==t)return e}var g3=nZ(1);function m3(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n,r=new c3,i=0,a=0;u4(t.nodes(),(function(t){r.setNode(t,{v:t,in:0,out:0})})),u4(t.edges(),(function(t){var n=r.edge(t.v,t.w)||0,o=e(t),s=n+o;r.setEdge(t.v,t.w,s),a=Math.max(a,r.node(t.v).out+=o),i=Math.max(i,r.node(t.w).in+=o)}));var o=tA(n=X4(a+i+3)).call(n,(function(){return new d3})),s=i+1;return u4(r.nodes(),(function(t){v3(o,s,r.node(t))})),{graph:r,buckets:o,zeroIdx:s}}(t,e||g3),r=function(t,e,n){var r,i=[],a=e[e.length-1],o=e[0];for(;t.nodeCount();){for(;r=o.dequeue();)b3(t,e,n,r);for(;r=a.dequeue();)b3(t,e,n,r);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(r=e[s].dequeue()){i=Fs(i).call(i,b3(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return T1(b4(r,(function(e){return t.outEdges(e.v,e.w)})))}function b3(t,e,n,r,i){var a=i?[]:void 0;return u4(t.inEdges(r.v),(function(r){var o=t.edge(r),s=t.node(r.v);i&&a.push({v:r.v,w:r.w}),s.out-=o,v3(e,n,s)})),u4(t.outEdges(r.v),(function(r){var i=t.edge(r),a=r.w,o=t.node(a);o.in-=i,v3(e,n,o)})),t.removeNode(r.v),a}function v3(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}function y3(t){var e="greedy"===t.graph().acyclicer?m3(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},r={};function i(a){T4(r,a)||(r[a]=!0,n[a]=!0,u4(t.outEdges(a),(function(t){T4(n,t.w)?e.push(t):i(t.w)})),delete n[a])}return u4(t.nodes(),i),e}(t);u4(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r3("rev"))}))}function w3(t,e,n,r){var i;do{i=r3(r)}while(t.hasNode(i));return n.dummy=e,t.setNode(i,n),i}function T3(t){var e=new c3({multigraph:t.isMultigraph()}).setGraph(t.graph());return u4(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),u4(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e}function k3(t,e){var n,r,i=t.x,a=t.y,o=e.x-i,s=e.y-a,c=t.width/2,l=t.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*c>Math.abs(o)*l?(s<0&&(l=-l),n=l*o/s,r=l):(o<0&&(c=-c),n=c,r=c*s/o),{x:i+n,y:a+r}}function C3(t){var e=b4(X4(x3(t)+1),(function(){return[]}));return u4(t.nodes(),(function(n){var r=t.node(n),i=r.rank;B4(i)||(e[i][r.order]=n)})),e}function E3(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),w3(t,"border",i,e)}function x3(t){return M4(b4(t.nodes(),(function(e){var n=t.node(e).rank;if(!B4(n))return n})))}function _3(t,e){Y2();try{return e()}finally{Y2()}}function B3(t,e){return e()}function S3(t,e,n,r,i,a){var o={width:0,height:0,rank:a,borderType:e},s=i[e][a-1],c=w3(t,"border",o,n);i[e][a]=c,t.setParent(c,r),s&&t.setEdge(s,c,{weight:1})}function L3(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){u4(t.nodes(),(function(e){O3(t.node(e))})),u4(t.edges(),(function(e){var n=t.edge(e);u4(n.points,O3),T4(n,"y")&&O3(n)}))}(t),"lr"!==e&&"rl"!==e||(!function(t){u4(t.nodes(),(function(e){N3(t.node(e))})),u4(t.edges(),(function(e){var n=t.edge(e);u4(n.points,N3),T4(n,"x")&&N3(n)}))}(t),I3(t))}function I3(t){u4(t.nodes(),(function(e){M3(t.node(e))})),u4(t.edges(),(function(e){M3(t.edge(e))}))}function M3(t){var e=t.width;t.width=t.height,t.height=e}function O3(t){t.y=-t.y}function N3(t){var e=t.x;t.x=t.y,t.y=e}function D3(t){t.graph().dummyChains=[],u4(t.edges(),(function(e){!function(t,e){var n,r,i,a=e.v,o=t.node(a).rank,s=e.w,c=t.node(s).rank,l=e.name,u=t.edge(e),h=u.labelRank;if(c===o+1)return;for(t.removeEdge(e),i=0,++o;o<c;++i,++o)u.points=[],n=w3(t,"edge",r={width:0,height:0,edgeLabel:u,edgeObj:e,rank:o},"_d"),o===h&&(r.width=u.width,r.height=u.height,r.dummy="edge-label",r.labelpos=u.labelpos),t.setEdge(a,n,{weight:u.weight},l),0===i&&t.graph().dummyChains.push(n),a=n;t.setEdge(a,s,{weight:u.weight},l)}(t,e)}))}function F3(t){var e={};u4(t.sources(),(function n(r){var i=t.node(r);if(T4(e,r))return i.rank;e[r]=!0;var a=F4(b4(t.outEdges(r),(function(e){return n(e.w)-t.edge(e).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),i.rank=a}))}function P3(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function R3(t){var e,n,r=new c3({directed:!1}),i=t.nodes()[0],a=t.nodeCount();for(r.setNode(i,{});Q3(r,t)<a;)e=U3(r,t),n=r.hasNode(e.v)?P3(t,e):-P3(t,e),H3(r,t,n);return r}function Q3(t,e){return u4(t.nodes(),(function n(r){u4(e.nodeEdges(r),(function(i){var a=i.v,o=r===a?i.w:a;t.hasNode(o)||P3(e,i)||(t.setNode(o,{}),t.setEdge(r,o,{}),n(o))}))})),t.nodeCount()}function U3(t,e){return P4(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return P3(e,n)}))}function H3(t,e,n){u4(t.nodes(),(function(t){e.node(t).rank+=n}))}function j3(t,e,n){var r;LJ(e)||(e=[e]);var i=Ps(r=t.isDirected()?t.successors:t.neighbors).call(r,t),a=[],o={};return u4(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);$3(t,e,"post"===n,o,i,a)})),a}function $3(t,e,n,r,i,a){T4(r,e)||(r[e]=!0,n||a.push(e),u4(i(e),(function(e){$3(t,e,n,r,i,a)})),n&&a.push(e))}function K3(t){t=function(t){var e=(new c3).setGraph(t.graph());return u4(t.nodes(),(function(n){e.setNode(n,t.node(n))})),u4(t.edges(),(function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),e}(t),F3(t);var e,n=R3(t);for(X3(n),G3(n,t);e=V3(n);)Y3(n,t,e,W3(n,t,e))}function G3(t,e){var n=function(t,e){return j3(t,e,"post")}(t,t.nodes());u4(n=Cf(n).call(n,0,n.length-1),(function(n){!function(t,e,n){var r=t.node(n),i=r.parent;t.edge(n,i).cutvalue=z3(t,e,n)}(t,e,n)}))}function z3(t,e,n){var r=t.node(n).parent,i=!0,a=e.edge(n,r),o=0;return a||(i=!1,a=e.edge(r,n)),o=a.weight,u4(e.nodeEdges(n),(function(a){var s,c,l=a.v===n,u=l?a.w:a.v;if(u!==r){var h=l===i,f=e.edge(a).weight;if(o+=h?f:-f,s=n,c=u,t.hasEdge(s,c)){var d=t.edge(n,u).cutvalue;o+=h?-d:d}}})),o}function X3(t,e){arguments.length<2&&(e=t.nodes()[0]),q3(t,{},1,e)}function q3(t,e,n,r,i){var a=n,o=t.node(r);return e[r]=!0,u4(t.neighbors(r),(function(i){T4(e,i)||(n=q3(t,e,n,i,r))})),o.low=a,o.lim=n++,i?o.parent=i:delete o.parent,n}function V3(t){return g4(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function W3(t,e,n){var r=n.v,i=n.w;e.hasEdge(r,i)||(r=n.w,i=n.v);var a=t.node(r),o=t.node(i),s=a,c=!1;a.lim>o.lim&&(s=o,c=!0);var l=f4(e.edges(),(function(e){return c===J3(t,t.node(e.v),s)&&c!==J3(t,t.node(e.w),s)}));return P4(l,(function(t){return P3(e,t)}))}function Y3(t,e,n,r){var i=n.v,a=n.w;t.removeEdge(i,a),t.setEdge(r.v,r.w,{}),X3(t),G3(t,e),function(t,e){var n=g4(t.nodes(),(function(t){return!e.node(t).parent})),r=function(t,e){return j3(t,e,"pre")}(t,n);u4(r=Cf(r).call(r,1),(function(n){var r=t.node(n).parent,i=e.edge(n,r),a=!1;i||(i=e.edge(r,n),a=!0),e.node(n).rank=e.node(r).rank+(a?i.minlen:-i.minlen)}))}(t,e)}function J3(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function Z3(t){switch(t.graph().ranker){case"network-simplex":default:e5(t);break;case"tight-tree":!function(t){F3(t),R3(t)}(t);break;case"longest-path":t5(t)}}new Error,K3.initLowLimValues=X3,K3.initCutValues=G3,K3.calcCutValue=z3,K3.leaveEdge=V3,K3.enterEdge=W3,K3.exchangeEdges=Y3;var t5=F3;function e5(t){K3(t)}function n5(t){var e=w3(t,"root",{},"_root"),n=function(t){var e={};function n(r,i){var a=t.children(r);a&&a.length&&u4(a,(function(t){n(t,i+1)})),e[r]=i}return u4(t.children(),(function(t){n(t,1)})),e}(t),r=M4(k4(n))-1,i=2*r+1;t.graph().nestingRoot=e,u4(t.edges(),(function(e){t.edge(e).minlen*=i}));var a=function(t){return V4(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}(t)+1;u4(t.children(),(function(o){r5(t,e,i,a,r,n,o)})),t.graph().nodeRankFactor=i}function r5(t,e,n,r,i,a,o){var s=t.children(o);if(s.length){var c=E3(t,"_bt"),l=E3(t,"_bb"),u=t.node(o);t.setParent(c,o),u.borderTop=c,t.setParent(l,o),u.borderBottom=l,u4(s,(function(s){r5(t,e,n,r,i,a,s);var u=t.node(s),h=u.borderTop?u.borderTop:s,f=u.borderBottom?u.borderBottom:s,d=u.borderTop?r:2*r,A=h!==f?1:i-a[o]+1;t.setEdge(c,h,{weight:d,minlen:A,nestingEdge:!0}),t.setEdge(f,l,{weight:d,minlen:A,nestingEdge:!0})})),t.parent(o)||t.setEdge(e,c,{weight:0,minlen:i+a[o]})}else o!==e&&t.setEdge(e,o,{weight:0,minlen:n})}function i5(t,e,n){var r=function(t){var e;for(;t.hasNode(e=r3("_root")););return e}(t),i=new c3({compound:!0}).setGraph({root:r}).setDefaultNodeLabel((function(e){return t.node(e)}));return u4(t.nodes(),(function(a){var o=t.node(a),s=t.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(i.setNode(a),i.setParent(a,s||r),u4(t[n](a),(function(e){var n=e.v===a?e.w:e.v,r=i.edge(n,a),o=B4(r)?0:r.weight;i.setEdge(n,a,{weight:t.edge(e).weight+o})})),T4(o,"minRank")&&i.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))})),i}function a5(t,e){for(var n=0,r=1;r<e.length;++r)n+=o5(t,e[r-1],e[r]);return n}function o5(t,e,n){for(var r=function(t,e){return function(t,e,n){for(var r=-1,i=t.length,a=e.length,o={};++r<i;){var s=r<a?e[r]:void 0;n(o,t[r],s)}return o}(t||[],e||[],yZ)}(n,b4(n,(function(t,e){return e}))),i=T1(b4(e,(function(e){return Y4(b4(t.outEdges(e),(function(e){return{pos:r[e.w],weight:t.edge(e).weight}})),"pos")}))),a=1;a<n.length;)a<<=1;var o=2*a-1;a-=1;var s=b4(new Array(o),(function(){return 0})),c=0;return u4(ao(i).call(i,(function(t){var e=t.pos+a;s[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=s[e+1]),s[e=e-1>>1]+=t.weight;c+=t.weight*n}))),c}function s5(t,e){var n={};return u4(t,(function(t,e){var r=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};B4(t.barycenter)||(r.barycenter=t.barycenter,r.weight=t.weight)})),u4(e.edges(),(function(t){var e=n[t.v],r=n[t.w];B4(e)||B4(r)||(r.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){e.merged||(B4(e.barycenter)||B4(t.barycenter)||e.barycenter>=t.barycenter)&&function(t,e){var n,r=0,i=0;t.weight&&(r+=t.barycenter*t.weight,i+=t.weight);e.weight&&(r+=e.barycenter*e.weight,i+=e.weight);t.vs=Fs(n=e.vs).call(n,t.vs),t.barycenter=r/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0}(t,e)}}function r(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var i,a=t.pop();e.push(a),u4(dH(i=a.in).call(i),n(a)),u4(a.out,r(a))}return b4(f4(e,(function(t){return!t.merged})),(function(t){return $4(t,["vs","i","barycenter","weight"])}))}(f4(n,(function(t){return!t.indegree})))}function c5(t,e){var n,r=function(t,e){var n={lhs:[],rhs:[]};return u4(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n}(t,(function(t){return T4(t,"barycenter")})),i=r.lhs,a=Y4(r.rhs,(function(t){return-t.i})),o=[],s=0,c=0,l=0;WU(i).call(i,(n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),l=l5(o,a,l),u4(i,(function(t){l+=t.vs.length,o.push(t.vs),s+=t.barycenter*t.weight,c+=t.weight,l=l5(o,a,l)}));var u={vs:T1(o)};return c&&(u.barycenter=s/c,u.weight=c),u}function l5(t,e,n){for(var r;e.length&&(r=c4(e)).i<=n;)e.pop(),t.push(r.vs),n++;return n}function u5(t,e,n,r){var i=t.children(e),a=t.node(e),o=a?a.borderLeft:void 0,s=a?a.borderRight:void 0,c={};o&&(i=f4(i,(function(t){return t!==o&&t!==s})));var l=function(t,e){return b4(e,(function(e){var n=t.inEdges(e);if(n.length){var r=V4(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}(t,i);u4(l,(function(e){if(t.children(e.v).length){var i=u5(t,e.v,n,r);c[e.v]=i,T4(i,"barycenter")&&function(t,e){B4(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight)}(e,i)}}));var u=s5(l,n);!function(t,e){u4(t,(function(t){var n;t.vs=T1(tA(n=t.vs).call(n,(function(t){return e[t]?e[t].vs:t})))}))}(u,c);var h=c5(u,r);if(o&&(h.vs=T1([o,h.vs,s]),t.predecessors(o).length)){var f=t.node(t.predecessors(o)[0]),d=t.node(t.predecessors(s)[0]);T4(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+f.order+d.order)/(h.weight+2),h.weight+=2}return h}function h5(t){var e=x3(t),n=f5(t,X4(1,e+1),"inEdges"),r=f5(t,X4(e-1,-1,-1),"outEdges"),i=function(t){var e={},n=f4(t.nodes(),(function(e){return!t.children(e).length})),r=M4(b4(n,(function(e){return t.node(e).rank}))),i=b4(X4(r+1),(function(){return[]}));return u4(Y4(n,(function(e){return t.node(e).rank})),(function n(r){if(!T4(e,r)){e[r]=!0;var a=t.node(r);i[a.rank].push(r),u4(t.successors(r),n)}})),i}(t);A5(t,i);for(var a,o=Number.POSITIVE_INFINITY,s=0,c=0;c<4;++s,++c){d5(s%2?n:r,s%4>=2);var l=a5(t,i=C3(t));l<o&&(c=0,a=W0(i,J0|Z0),o=l)}A5(t,a)}function f5(t,e,n){return b4(e,(function(e){return i5(t,e,n)}))}function d5(t,e){var n=new c3;u4(t,(function(t){var r=t.graph().root,i=u5(t,r,n,e);u4(i.vs,(function(e,n){t.node(e).order=n})),function(t,e,n){var r,i={};u4(n,(function(n){for(var a,o,s=t.parent(n);s;){if((a=t.parent(s))?(o=i[a],i[a]=s):(o=r,r=s),o&&o!==s)return void e.setEdge(o,s);s=a}}))}(t,n,i.vs)}))}function A5(t,e){u4(e,(function(e){u4(e,(function(e,n){t.node(e).order=n}))}))}function p5(t){var e=function(t){var e={},n=0;function r(i){var a=n;u4(t.children(i),r),e[i]={low:a,lim:n++}}return u4(t.children(),r),e}(t);u4(t.graph().dummyChains,(function(n){for(var r=t.node(n),i=r.edgeObj,a=function(t,e,n,r){var i,a,o=[],s=[],c=Math.min(e[n].low,e[r].low),l=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),o.push(i)}while(i&&(e[i].low>c||l>e[i].lim));a=i,i=r;for(;(i=t.parent(i))!==a;)s.push(i);return{path:Fs(o).call(o,dH(s).call(s)),lca:a}}(t,e,i.v,i.w),o=a.path,s=a.lca,c=0,l=o[c],u=!0;n!==i.w;){if(r=t.node(n),u){for(;(l=o[c])!==s&&t.node(l).maxRank<r.rank;)c++;l===s&&(u=!1)}if(!u){for(;c<o.length-1&&t.node(l=o[c+1]).minRank<=r.rank;)c++;l=o[c]}t.setParent(n,l),n=t.successors(n)[0]}}))}function g5(t,e){var n={};return V4(e,(function(e,r){var i=0,a=0,o=e.length,s=c4(r);return u4(r,(function(e,c){var l=function(t,e){if(t.node(e).dummy)return g4(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),u=l?t.node(l).order:o;(l||e===s)&&(u4(Cf(r).call(r,a,c+1),(function(e){u4(t.predecessors(e),(function(r){var a=t.node(r),o=a.order;!(o<i||u<o)||a.dummy&&t.node(e).dummy||m5(n,r,e)}))})),a=c+1,i=u)})),r})),n}function m5(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function b5(t,e,n){if(e>n){var r=e;e=n,n=r}return T4(t[e],n)}function v5(t,e,n,r,i){var a,o,s={},c=function(t,e,n,r){var i=new c3,a=t.graph(),o=function(t,e,n){return function(r,i,a){var o,s=r.node(i),c=r.node(a),l=0;if(l+=s.width/2,T4(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":o=-s.width/2;break;case"r":o=s.width/2}if(o&&(l+=n?o:-o),o=0,l+=(s.dummy?e:t)/2,l+=(c.dummy?e:t)/2,l+=c.width/2,T4(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":o=c.width/2;break;case"r":o=-c.width/2}return o&&(l+=n?o:-o),o=0,l}}(a.nodesep,a.edgesep,r);return u4(e,(function(e){var r;u4(e,(function(e){var a=n[e];if(i.setNode(a),r){var s=n[r],c=i.edge(s,a);i.setEdge(s,a,Math.max(o(t,e,r),c||0))}r=e}))})),i}(t,e,n,i),l=i?"borderLeft":"borderRight";function u(t,e){for(var n=c.nodes(),r=n.pop(),i={};r;)i[r]?t(r):(i[r]=!0,n.push(r),n=Fs(n).call(n,e(r))),r=n.pop()}return u((function(t){var e;s[t]=Em(e=c.inEdges(t)).call(e,(function(t,e){return Math.max(t,s[e.v]+c.edge(e))}),0)}),Ps(a=c.predecessors).call(a,c)),u((function(e){var n,r=Em(n=c.outEdges(e)).call(n,(function(t,e){return Math.min(t,s[e.w]-c.edge(e))}),Number.POSITIVE_INFINITY),i=t.node(e);r!==Number.POSITIVE_INFINITY&&i.borderType!==l&&(s[e]=Math.max(s[e],r))}),Ps(o=c.successors).call(o,c)),u4(r,(function(t){s[t]=s[n[t]]})),s}function y5(t,e){return P4(k4(e),(function(e){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return function(t,e){null==t||X2(t,l4(e),a1)}(e,(function(e,i){var a=function(t,e){return t.node(e).width}(t,i)/2;n=Math.max(e+a,n),r=Math.min(e-a,r)})),n-r}))}function w5(t){var e,n=C3(t),r=D4(g5(t,n),function(t,e){var n={};function r(e,r,i,a,o){var s;u4(X4(r,i),(function(r){s=e[r],t.node(s).dummy&&u4(t.predecessors(s),(function(e){var r=t.node(e);r.dummy&&(r.order<a||r.order>o)&&m5(n,e,s)}))}))}return V4(e,(function(e,n){var i,a=-1,o=0;return u4(n,(function(s,c){if("border"===t.node(s).dummy){var l=t.predecessors(s);l.length&&(i=t.node(l[0]).order,r(n,o,c,a,i),o=c,a=i)}r(n,o,n.length,i,e.length)})),n})),n}(t,n)),i={};u4(["u","d"],(function(a){var o;e="u"===a?n:dH(o=k4(n)).call(o),u4(["l","r"],(function(n){var o;"r"===n&&(e=b4(e,(function(t){var e;return dH(e=k4(t)).call(e)})));var s=Ps(o="u"===a?t.predecessors:t.successors).call(o,t),c=function(t,e,n,r){var i={},a={},o={};return u4(e,(function(t){u4(t,(function(t,e){i[t]=t,a[t]=t,o[t]=e}))})),u4(e,(function(t){var e=-1;u4(t,(function(t){var s=r(t);if(s.length){s=Y4(s,(function(t){return o[t]}));for(var c=(s.length-1)/2,l=Math.floor(c),u=Math.ceil(c);l<=u;++l){var h=s[l];a[t]===t&&e<o[h]&&!b5(n,t,h)&&(a[h]=t,a[t]=i[t]=i[h],e=o[h])}}}))})),{root:i,align:a}}(0,e,r,s),l=v5(t,e,c.root,c.align,"r"===n);"r"===n&&(l=L4(l,(function(t){return-t}))),i[a+n]=l}))}));var a=y5(t,i);return function(t,e){var n=k4(e),r=F4(n),i=M4(n);u4(["u","d"],(function(n){u4(["l","r"],(function(a){var o,s=n+a,c=t[s];if(c!==e){var l=k4(c);(o="l"===a?r-F4(l):i-M4(l))&&(t[s]=L4(c,(function(t){return t+o})))}}))}))}(i,a),function(t,e){return L4(t.ul,(function(n,r){if(e)return t[e.toLowerCase()][r];var i=Y4(b4(t,r));return(i[1]+i[2])/2}))}(i,t.graph().align)}function T5(t){(function(t){var e=C3(t),n=t.graph().ranksep,r=0;u4(e,(function(e){var i=M4(b4(e,(function(e){return t.node(e).height})));u4(e,(function(e){t.node(e).y=r+i/2})),r+=i+n}))})(t=T3(t)),u4(w5(t),(function(e,n){t.node(n).x=e}))}function k5(t,e){var n=e&&e.debugTiming?_3:B3;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return function(t){var e=new c3({multigraph:!0,compound:!0}),n=O5(t.graph());return e.setGraph(D4({},E5,M5(n,C5),$4(n,x5))),u4(t.nodes(),(function(n){var r=O5(t.node(n));e.setNode(n,e4(M5(r,_5),B5)),e.setParent(n,t.parent(n))})),u4(t.edges(),(function(n){var r=O5(t.edge(n));e.setEdge(n,D4({},L5,M5(r,S5),$4(r,I5)))})),e}(t)}));n(" runLayout",(function(){!function(t,e){e(" makeSpaceForEdgeLabels",(function(){!function(t){var e=t.graph();e.ranksep/=2,u4(t.edges(),(function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(t)})),e(" removeSelfEdges",(function(){!function(t){u4(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e,label:t.edge(e)}),t.removeEdge(e)}}))}(t)})),e(" acyclic",(function(){y3(t)})),e(" nestingGraph.run",(function(){n5(t)})),e(" rank",(function(){Z3(T3(t))})),e(" injectEdgeLabelProxies",(function(){!function(t){u4(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e};w3(t,"edge-proxy",i,"_ep")}}))}(t)})),e(" removeEmptyRanks",(function(){!function(t){var e=F4(b4(t.nodes(),(function(e){return t.node(e).rank}))),n=[];u4(t.nodes(),(function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)}));var r=0,i=t.graph().nodeRankFactor;u4(n,(function(e,n){B4(e)&&n%i!=0?--r:r&&u4(e,(function(e){t.node(e).rank+=r}))}))}(t)})),e(" nestingGraph.cleanup",(function(){!function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,u4(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}(t)})),e(" normalizeRanks",(function(){!function(t){var e=F4(b4(t.nodes(),(function(e){return t.node(e).rank})));u4(t.nodes(),(function(n){var r=t.node(n);T4(r,"rank")&&(r.rank-=e)}))}(t)})),e(" assignRankMinMax",(function(){!function(t){var e=0;u4(t.nodes(),(function(n){var r=t.node(n);r.borderTop&&(r.minRank=t.node(r.borderTop).rank,r.maxRank=t.node(r.borderBottom).rank,e=M4(e,r.maxRank))})),t.graph().maxRank=e}(t)})),e(" removeEdgeLabelProxies",(function(){!function(t){u4(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}(t)})),e(" normalize.run",(function(){D3(t)})),e(" parentDummyChains",(function(){p5(t)})),e(" addBorderSegments",(function(){!function(t){u4(t.children(),(function e(n){var r=t.children(n),i=t.node(n);if(r.length&&u4(r,e),T4(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,o=i.maxRank+1;a<o;++a)S3(t,"borderLeft","_bl",n,i,a),S3(t,"borderRight","_br",n,i,a)}}))}(t)})),e(" order",(function(){h5(t)})),e(" insertSelfEdges",(function(){!function(t){var e=C3(t);u4(e,(function(e){var n=0;u4(e,(function(e,r){var i=t.node(e);i.order=r+n,u4(i.selfEdges,(function(e){w3(t,"selfedge",{width:e.label.width,height:e.label.height,rank:i.rank,order:r+ ++n,e:e.e,label:e.label},"_se")})),delete i.selfEdges}))}))}(t)})),e(" adjustCoordinateSystem",(function(){!function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||I3(t)}(t)})),e(" position",(function(){T5(t)})),e(" positionSelfEdges",(function(){!function(t){u4(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,a=r.y,o=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*o/3,y:a-s},{x:i+5*o/6,y:a-s},{x:i+o,y:a},{x:i+5*o/6,y:a+s},{x:i+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}}))}(t)})),e(" removeBorderNodes",(function(){!function(t){u4(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),r=t.node(n.borderTop),i=t.node(n.borderBottom),a=t.node(c4(n.borderLeft)),o=t.node(c4(n.borderRight));n.width=Math.abs(o.x-a.x),n.height=Math.abs(i.y-r.y),n.x=a.x+n.width/2,n.y=r.y+n.height/2}})),u4(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}(t)})),e(" normalize.undo",(function(){!function(t){u4(t.graph().dummyChains,(function(e){var n,r=t.node(e),i=r.edgeLabel;for(t.setEdge(r.edgeObj,i);r.dummy;)n=t.successors(e)[0],t.removeNode(e),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),e=n,r=t.node(e)}))}(t)})),e(" fixupEdgeLabelCoords",(function(){!function(t){u4(t.edges(),(function(e){var n=t.edge(e);if(T4(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(t)})),e(" undoCoordinateSystem",(function(){L3(t)})),e(" translateGraph",(function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,i=0,a=t.graph(),o=a.marginx||0,s=a.marginy||0;function c(t){var a=t.x,o=t.y,s=t.width,c=t.height;e=Math.min(e,a-s/2),n=Math.max(n,a+s/2),r=Math.min(r,o-c/2),i=Math.max(i,o+c/2)}u4(t.nodes(),(function(e){c(t.node(e))})),u4(t.edges(),(function(e){var n=t.edge(e);T4(n,"x")&&c(n)})),e-=o,r-=s,u4(t.nodes(),(function(n){var i=t.node(n);i.x-=e,i.y-=r})),u4(t.edges(),(function(n){var i=t.edge(n);u4(i.points,(function(t){t.x-=e,t.y-=r})),T4(i,"x")&&(i.x-=e),T4(i,"y")&&(i.y-=r)})),a.width=n-e+o,a.height=i-r+s}(t)})),e(" assignNodeIntersects",(function(){!function(t){u4(t.edges(),(function(e){var n,r,i=t.edge(e),a=t.node(e.v),o=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=o,r=a),i.points.unshift(k3(a,n)),i.points.push(k3(o,r))}))}(t)})),e(" reversePoints",(function(){!function(t){u4(t.edges(),(function(e){var n,r=t.edge(e);r.reversed&&dH(n=r.points).call(n)}))}(t)})),e(" acyclic.undo",(function(){!function(t){u4(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}(t)}))}(e,n)})),n(" updateInputGraph",(function(){!function(t,e){u4(t.nodes(),(function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))})),u4(t.edges(),(function(n){var r=t.edge(n),i=e.edge(n);r.points=i.points,T4(i,"x")&&(r.x=i.x,r.y=i.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)}))}))}var C5=["nodesep","edgesep","ranksep","marginx","marginy"],E5={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},x5=["acyclicer","ranker","rankdir","align"],_5=["width","height"],B5={width:0,height:0},S5=["minlen","weight","width","height","labeloffset"],L5={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},I5=["labelpos"];function M5(t,e){return L4($4(t,e),Number)}function O5(t){var e={};return u4(t,(function(t,n){e[n.toLowerCase()]=t})),e}function N5(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:D5(t),edges:F5(t)};return B4(t.graph())||(e.value=W0(t.graph(),Y0)),e}function D5(t){return b4(t.nodes(),(function(e){var n=t.node(e),r=t.parent(e),i={v:e};return B4(n)||(i.value=n),B4(r)||(i.parent=r),i}))}function F5(t){return b4(t.edges(),(function(e){var n=t.edge(e),r={v:e.v,w:e.w};return B4(e.name)||(r.name=e.name),B4(n)||(r.value=n),r}))}var P5=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const R5=[];for(let t=0;t<256;++t)R5.push((t+256).toString(16).slice(1));function Q5(t){if(!function(t){return"string"==typeof t&&P5.test(t)}(t))throw TypeError("Invalid UUID");let e;const n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n}function U5(t,e,n,r){switch(t){case 0:return e&n^~e&r;case 1:case 3:return e^n^r;case 2:return e&n^e&r^n&r}}function H5(t,e){return t<<e|t>>>32-e}const j5=function(t,e,n){function r(t,r,i,a){var o;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n));return e}(t)),"string"==typeof r&&(r=Q5(r)),16!==(null===(o=r)||void 0===o?void 0:o.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+t.length);if(s.set(r),s.set(t,r.length),s=n(s),s[6]=15&s[6]|e,s[8]=63&s[8]|128,i){a=a||0;for(let t=0;t<16;++t)i[a+t]=s[t];return i}return function(t,e=0){return(R5[t[e+0]]+R5[t[e+1]]+R5[t[e+2]]+R5[t[e+3]]+"-"+R5[t[e+4]]+R5[t[e+5]]+"-"+R5[t[e+6]]+R5[t[e+7]]+"-"+R5[t[e+8]]+R5[t[e+9]]+"-"+R5[t[e+10]]+R5[t[e+11]]+R5[t[e+12]]+R5[t[e+13]]+R5[t[e+14]]+R5[t[e+15]]).toLowerCase()}(s)}try{r.name=t}catch(t){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}("v5",80,(function(t){const e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const r=t.length/4+2,i=Math.ceil(r/16),a=new Array(i);for(let e=0;e<i;++e){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=t[64*e+4*r]<<24|t[64*e+4*r+1]<<16|t[64*e+4*r+2]<<8|t[64*e+4*r+3];a[e]=n}a[i-1][14]=8*(t.length-1)/Math.pow(2,32),a[i-1][14]=Math.floor(a[i-1][14]),a[i-1][15]=8*(t.length-1)&4294967295;for(let t=0;t<i;++t){const r=new Uint32Array(80);for(let e=0;e<16;++e)r[e]=a[t][e];for(let t=16;t<80;++t)r[t]=H5(r[t-3]^r[t-8]^r[t-14]^r[t-16],1);let i=n[0],o=n[1],s=n[2],c=n[3],l=n[4];for(let t=0;t<80;++t){const n=Math.floor(t/20),a=H5(i,5)+U5(n,o,s,c)+l+e[n]+r[t]>>>0;l=c,c=s,s=H5(o,30)>>>0,o=i,i=a}n[0]=n[0]+i>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+l>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));var $5=j5;function K5(t,e){e&&t.attr("style",e)}function G5(t,e){var n=t.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var i=e.label;switch(ss(i)){case"function":r.insert(i);break;case"object":r.insert((function(){return i}));break;default:r.html(i)}K5(r,e.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var a=r.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}var z5=r((function(t,e){var n;t.exports=(n="day",function(t,e,r){var i=function(t){return t.add(4-t.isoWeekday(),n)},a=e.prototype;a.isoWeekYear=function(){return i(this).year()},a.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),n);var e,a,o,s=i(this),c=(e=this.isoWeekYear(),o=4-(a=(this.$u?r.utc:r)().year(e).startOf("year")).isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,n));return s.diff(c,"week")+1},a.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var o=a.startOf;a.startOf=function(t,e){var n=this.$utils(),r=!!n.u(e)||e;return"isoweek"===n.p(t)?r?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):o.bind(this)(t,e)}})})),X5=r((function(t,e){t.exports=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},s=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],l=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(t.indexOf(r(i,0,e))>-1){n=i>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[i,function(t){this.afternoon=u(t,!1)}],a:[i,function(t){this.afternoon=u(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var r=1;r<=31;r+=1)e(r).replace(/\[|\]/g,"")===t&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(t){var e=l("months"),n=(l("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function f(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,r){var a=r&&r.toUpperCase();return n||i[r]||t[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=o.length,c=0;c<s;c+=1){var l=o[c],u=h[l],f=u&&u[0],d=u&&u[1];o[c]=d?{regex:f,parser:d}:l.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,r=0;n<s;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,c=i.parser,l=t.slice(r),u=a.exec(l)[0];c.call(e,u),t=t.replace(u,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(o=t.parseTwoDigitYear);var r=e.prototype,i=r.parse;r.parse=function(t){var e=t.date,r=t.utc,o=t.args;this.$u=r;var s=o[1];if("string"==typeof s){var c=!0===o[2],l=!0===o[3],u=c||l,h=o[2];l&&(h=o[2]),a=this.$locale(),!c&&h&&(a=n.Ls[h]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var r=f(e)(t),i=r.year,a=r.month,o=r.day,s=r.hours,c=r.minutes,l=r.seconds,u=r.milliseconds,h=r.zone,d=new Date,A=o||(i||a?1:d.getDate()),p=i||d.getFullYear(),g=0;i&&!a||(g=a>0?a-1:d.getMonth());var m=s||0,b=c||0,v=l||0,y=u||0;return h?new Date(Date.UTC(p,g,A,m,b,v,y+60*h.offset*1e3)):n?new Date(Date.UTC(p,g,A,m,b,v,y)):new Date(p,g,A,m,b,v,y)}catch(t){return new Date("")}}(e,s,r),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),u&&e!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,A=1;A<=d;A+=1){o[1]=s[A-1];var p=n.apply(this,o);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}A===d&&(this.$d=new Date(""))}else i.call(this,t)}}}()})),q5=r((function(t,e){t.exports=function(t,e){var n=e.prototype,r=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return r.bind(this)(t);var i=this.$utils(),a=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return i.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return i.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return i.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return r.bind(this)(a)}}}));const V5={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},W5={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},Y5=function(t="fatal"){let e=V5.fatal;"string"==typeof t?(t=t.toLowerCase())in V5&&(e=V5[t]):"number"==typeof t&&(e=t),W5.trace=()=>{},W5.debug=()=>{},W5.info=()=>{},W5.warn=()=>{},W5.error=()=>{},W5.fatal=()=>{},e<=V5.fatal&&(W5.fatal=console.error?console.error.bind(console,J5("FATAL"),"color: orange"):console.log.bind(console,"[35m",J5("FATAL"))),e<=V5.error&&(W5.error=console.error?console.error.bind(console,J5("ERROR"),"color: orange"):console.log.bind(console,"[31m",J5("ERROR"))),e<=V5.warn&&(W5.warn=console.warn?console.warn.bind(console,J5("WARN"),"color: orange"):console.log.bind(console,"[33m",J5("WARN"))),e<=V5.info&&(W5.info=console.info?console.info.bind(console,J5("INFO"),"color: lightblue"):console.log.bind(console,"[34m",J5("INFO"))),e<=V5.debug&&(W5.debug=console.debug?console.debug.bind(console,J5("DEBUG"),"color: lightgreen"):console.log.bind(console,"[32m",J5("DEBUG"))),e<=V5.trace&&(W5.trace=console.debug?console.debug.bind(console,J5("TRACE"),"color: lightgreen"):console.log.bind(console,"[32m",J5("TRACE")))},J5=t=>`%c${bU().format("ss.SSS")} : ${t} : `,Z5=t=>dW.sanitize(t),t6=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=Z5(t):"loose"!==n&&(t=(t=(t=i6(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=r6(t))}return t},e6=(t,e)=>t?t=e.dompurifyConfig?dW.sanitize(t6(t,e),e.dompurifyConfig).toString():dW.sanitize(t6(t,e),{FORBID_TAGS:["style"]}).toString():t,n6=/<br\s*\/?>/gi,r6=t=>t.replace(/#br#/g,"<br/>"),i6=t=>t.replace(n6,"#br#"),a6=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),o6=function(t){let e=t;if(t.split("~").length-1>=2){let t=e;do{e=t,t=e.replace(/~([^\s,:;]+)~/,"<$1>")}while(t!=e);return o6(t)}return e},s6={getRows:t=>{if(!t)return[""];return i6(t).replace(/\\n/g,"#br#").split("#br#")},sanitizeText:e6,sanitizeTextOrArray:(t,e)=>"string"==typeof t?e6(t,e):t.flat().map((t=>e6(t,e))),hasBreaks:t=>n6.test(t),splitBreaks:t=>t.split(n6),lineBreakRegex:n6,removeScript:Z5,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:a6},c6=(t,e)=>$W(t,e?{s:-40,l:10}:{s:-40,l:-10}),l6="#ffffff",u6="#f2f2f2";class h6{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=HW(this.contrast,55),this.background="#ffffff",this.tertiaryColor=$W(this.primaryColor,{h:-160}),this.primaryBorderColor=c6(this.primaryColor,this.darkMode),this.secondaryBorderColor=c6(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=c6(this.tertiaryColor,this.darkMode),this.primaryTextColor=GW(this.primaryColor),this.secondaryTextColor=GW(this.secondaryColor),this.tertiaryTextColor=GW(this.tertiaryColor),this.lineColor=GW(this.background),this.textColor=GW(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=HW(this.contrast,55),this.border2=this.contrast,this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||GW(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||HW(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||jW(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||$W(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||$W(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=HW(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.sectionBkgColor=HW(this.contrast,30),this.sectionBkgColor2=HW(this.contrast,30),this.taskBorderColor=jW(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=HW(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=jW(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$W(this.primaryColor,{h:64}),this.fillType3=$W(this.secondaryColor,{h:64}),this.fillType4=$W(this.primaryColor,{h:-64}),this.fillType5=$W(this.secondaryColor,{h:-64}),this.fillType6=$W(this.primaryColor,{h:128}),this.fillType7=$W(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=jW(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||$W(this.primaryColor,{h:-30}),this.git4=this.pie5||$W(this.primaryColor,{h:-60}),this.git5=this.pie6||$W(this.primaryColor,{h:-90}),this.git6=this.pie7||$W(this.primaryColor,{h:60}),this.git7=this.pie8||$W(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||GW(this.git0),this.gitInv1=this.gitInv1||GW(this.git1),this.gitInv2=this.gitInv2||GW(this.git2),this.gitInv3=this.gitInv3||GW(this.git3),this.gitInv4=this.gitInv4||GW(this.git4),this.gitInv5=this.gitInv5||GW(this.git5),this.gitInv6=this.gitInv6||GW(this.git6),this.gitInv7=this.gitInv7||GW(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||l6,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||u6}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const f6={base:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||$W(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||$W(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||c6(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||c6(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||c6(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||c6(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||GW(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||GW(this.tertiaryColor),this.lineColor=this.lineColor||GW(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?jW(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||jW(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||GW(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||HW(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$W(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$W(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$W(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$W(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$W(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$W(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||$W(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$W(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$W(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=jW(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=jW(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||GW(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||HW(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||jW(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||$W(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||$W(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||$W(this.primaryColor,{h:64}),this.fillType3=this.fillType3||$W(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||$W(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||$W(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||$W(this.primaryColor,{h:128}),this.fillType7=this.fillType7||$W(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||$W(this.primaryColor,{l:-10}),this.pie5=this.pie5||$W(this.secondaryColor,{l:-10}),this.pie6=this.pie6||$W(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||$W(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||$W(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||$W(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||$W(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||$W(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||$W(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?jW(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||$W(this.primaryColor,{h:-30}),this.git4=this.git4||$W(this.primaryColor,{h:-60}),this.git5=this.git5||$W(this.primaryColor,{h:-90}),this.git6=this.git6||$W(this.primaryColor,{h:60}),this.git7=this.git7||$W(this.primaryColor,{h:120}),this.darkMode?(this.git0=HW(this.git0,25),this.git1=HW(this.git1,25),this.git2=HW(this.git2,25),this.git3=HW(this.git3,25),this.git4=HW(this.git4,25),this.git5=HW(this.git5,25),this.git6=HW(this.git6,25),this.git7=HW(this.git7,25)):(this.git0=jW(this.git0,25),this.git1=jW(this.git1,25),this.git2=jW(this.git2,25),this.git3=jW(this.git3,25),this.git4=jW(this.git4,25),this.git5=jW(this.git5,25),this.git6=jW(this.git6,25),this.git7=jW(this.git7,25)),this.gitInv0=this.gitInv0||GW(this.git0),this.gitInv1=this.gitInv1||GW(this.git1),this.gitInv2=this.gitInv2||GW(this.git2),this.gitInv3=this.gitInv3||GW(this.git3),this.gitInv4=this.gitInv4||GW(this.git4),this.gitInv5=this.gitInv5||GW(this.git5),this.gitInv6=this.gitInv6||GW(this.git6),this.gitInv7=this.gitInv7||GW(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||l6,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||u6}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=HW(this.primaryColor,16),this.tertiaryColor=$W(this.primaryColor,{h:-160}),this.primaryBorderColor=GW(this.background),this.secondaryBorderColor=c6(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=c6(this.tertiaryColor,this.darkMode),this.primaryTextColor=GW(this.primaryColor),this.secondaryTextColor=GW(this.secondaryColor),this.tertiaryTextColor=GW(this.tertiaryColor),this.lineColor=GW(this.background),this.textColor=GW(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=HW(GW("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=FW(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=jW("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=FW(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=FW(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=HW(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=HW(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=HW(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$W(this.primaryColor,{h:64}),this.fillType3=$W(this.secondaryColor,{h:64}),this.fillType4=$W(this.primaryColor,{h:-64}),this.fillType5=$W(this.secondaryColor,{h:-64}),this.fillType6=$W(this.primaryColor,{h:128}),this.fillType7=$W(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$W(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$W(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$W(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$W(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$W(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$W(this.primaryColor,{h:210}),this.cScale9=this.cScale9||$W(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$W(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$W(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||GW(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||HW(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||$W(this.mainBkg,{h:30,s:-30,l:-(4*t-10)}),this["surfacePeer"+t]=this["surfacePeer"+t]||$W(this.mainBkg,{h:30,s:-30,l:-(4*t-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?jW(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=HW(this.secondaryColor,20),this.git1=HW(this.pie2||this.secondaryColor,20),this.git2=HW(this.pie3||this.tertiaryColor,20),this.git3=HW(this.pie4||$W(this.primaryColor,{h:-30}),20),this.git4=HW(this.pie5||$W(this.primaryColor,{h:-60}),20),this.git5=HW(this.pie6||$W(this.primaryColor,{h:-90}),10),this.git6=HW(this.pie7||$W(this.primaryColor,{h:60}),10),this.git7=HW(this.pie8||$W(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||GW(this.git0),this.gitInv1=this.gitInv1||GW(this.git1),this.gitInv2=this.gitInv2||GW(this.git2),this.gitInv3=this.gitInv3||GW(this.git3),this.gitInv4=this.gitInv4||GW(this.git4),this.gitInv5=this.gitInv5||GW(this.git5),this.gitInv6=this.gitInv6||GW(this.git6),this.gitInv7=this.gitInv7||GW(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||HW(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||HW(this.background,2)}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},default:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=$W(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=$W(this.primaryColor,{h:-160}),this.primaryBorderColor=c6(this.primaryColor,this.darkMode),this.secondaryBorderColor=c6(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=c6(this.tertiaryColor,this.darkMode),this.primaryTextColor=GW(this.primaryColor),this.secondaryTextColor=GW(this.secondaryColor),this.tertiaryTextColor=GW(this.tertiaryColor),this.lineColor=GW(this.background),this.textColor=GW(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=FW(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$W(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$W(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$W(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$W(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$W(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$W(this.primaryColor,{h:210}),this.cScale9=this.cScale9||$W(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$W(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$W(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||jW(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||jW(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=jW(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||jW(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||$W(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||$W(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||$W(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||GW(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||GW(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=HW(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$W(this.primaryColor,{h:64}),this.fillType3=$W(this.secondaryColor,{h:64}),this.fillType4=$W(this.primaryColor,{h:-64}),this.fillType5=$W(this.secondaryColor,{h:-64}),this.fillType6=$W(this.primaryColor,{h:128}),this.fillType7=$W(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||$W(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||$W(this.primaryColor,{l:-10}),this.pie5=this.pie5||$W(this.secondaryColor,{l:-30}),this.pie6=this.pie6||$W(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||$W(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||$W(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||$W(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||$W(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||$W(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||$W(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||$W(this.primaryColor,{h:-30}),this.git4=this.git4||$W(this.primaryColor,{h:-60}),this.git5=this.git5||$W(this.primaryColor,{h:-90}),this.git6=this.git6||$W(this.primaryColor,{h:60}),this.git7=this.git7||$W(this.primaryColor,{h:120}),this.darkMode?(this.git0=HW(this.git0,25),this.git1=HW(this.git1,25),this.git2=HW(this.git2,25),this.git3=HW(this.git3,25),this.git4=HW(this.git4,25),this.git5=HW(this.git5,25),this.git6=HW(this.git6,25),this.git7=HW(this.git7,25)):(this.git0=jW(this.git0,25),this.git1=jW(this.git1,25),this.git2=jW(this.git2,25),this.git3=jW(this.git3,25),this.git4=jW(this.git4,25),this.git5=jW(this.git5,25),this.git6=jW(this.git6,25),this.git7=jW(this.git7,25)),this.gitInv0=this.gitInv0||jW(GW(this.git0),25),this.gitInv1=this.gitInv1||GW(this.git1),this.gitInv2=this.gitInv2||GW(this.git2),this.gitInv3=this.gitInv3||GW(this.git3),this.gitInv4=this.gitInv4||GW(this.git4),this.gitInv5=this.gitInv5||GW(this.git5),this.gitInv6=this.gitInv6||GW(this.git6),this.gitInv7=this.gitInv7||GW(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||GW(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||GW(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||l6,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||u6}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},forest:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=HW("#cde498",10),this.primaryBorderColor=c6(this.primaryColor,this.darkMode),this.secondaryBorderColor=c6(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=c6(this.tertiaryColor,this.darkMode),this.primaryTextColor=GW(this.primaryColor),this.secondaryTextColor=GW(this.secondaryColor),this.tertiaryTextColor=GW(this.primaryColor),this.lineColor=GW(this.background),this.textColor=GW(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$W(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$W(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$W(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$W(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$W(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$W(this.primaryColor,{h:210}),this.cScale9=this.cScale9||$W(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$W(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$W(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||jW(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||jW(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=jW(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||jW(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||$W(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||$W(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||$W(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=jW(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$W(this.primaryColor,{h:64}),this.fillType3=$W(this.secondaryColor,{h:64}),this.fillType4=$W(this.primaryColor,{h:-64}),this.fillType5=$W(this.secondaryColor,{h:-64}),this.fillType6=$W(this.primaryColor,{h:128}),this.fillType7=$W(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||$W(this.primaryColor,{l:-30}),this.pie5=this.pie5||$W(this.secondaryColor,{l:-30}),this.pie6=this.pie6||$W(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||$W(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||$W(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||$W(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||$W(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||$W(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||$W(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||$W(this.primaryColor,{h:-30}),this.git4=this.git4||$W(this.primaryColor,{h:-60}),this.git5=this.git5||$W(this.primaryColor,{h:-90}),this.git6=this.git6||$W(this.primaryColor,{h:60}),this.git7=this.git7||$W(this.primaryColor,{h:120}),this.darkMode?(this.git0=HW(this.git0,25),this.git1=HW(this.git1,25),this.git2=HW(this.git2,25),this.git3=HW(this.git3,25),this.git4=HW(this.git4,25),this.git5=HW(this.git5,25),this.git6=HW(this.git6,25),this.git7=HW(this.git7,25)):(this.git0=jW(this.git0,25),this.git1=jW(this.git1,25),this.git2=jW(this.git2,25),this.git3=jW(this.git3,25),this.git4=jW(this.git4,25),this.git5=jW(this.git5,25),this.git6=jW(this.git6,25),this.git7=jW(this.git7,25)),this.gitInv0=this.gitInv0||GW(this.git0),this.gitInv1=this.gitInv1||GW(this.git1),this.gitInv2=this.gitInv2||GW(this.git2),this.gitInv3=this.gitInv3||GW(this.git3),this.gitInv4=this.gitInv4||GW(this.git4),this.gitInv5=this.gitInv5||GW(this.git5),this.gitInv6=this.gitInv6||GW(this.git6),this.gitInv7=this.gitInv7||GW(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||l6,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||u6}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new h6;return e.calculate(t),e}}},d6={theme:"default",themeVariables:f6.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},sequence:{hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};d6.class&&(d6.class.arrowMarkerAbsolute=d6.arrowMarkerAbsolute),d6.gitGraph&&(d6.gitGraph.arrowMarkerAbsolute=d6.arrowMarkerAbsolute);const A6=(t,e="")=>Object.keys(t).reduce(((n,r)=>Array.isArray(t[r])?n:"object"==typeof t[r]&&null!==t[r]?[...n,e+r,...A6(t[r],"")]:[...n,e+r]),[]),p6=A6(d6,""),g6=d6;function m6(t){return null==t}var b6=function(t,e){var n,r="";for(n=0;n<e;n+=1)r+=t;return r},v6=function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},y6=function(t,e){var n,r,i,a;if(e)for(n=0,r=(a=Object.keys(e)).length;n<r;n+=1)t[i=a[n]]=e[i];return t},w6={isNothing:m6,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:m6(t)?[]:[t]},repeat:b6,isNegativeZero:v6,extend:y6};function T6(t,e){var n="",r=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),r+" "+n):r}function k6(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=T6(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}k6.prototype=Object.create(Error.prototype),k6.prototype.constructor=k6,k6.prototype.toString=function(t){return this.name+": "+T6(this,t)};var C6=k6;function E6(t,e,n,r,i){var a="",o="",s=Math.floor(i/2)-1;return r-e>s&&(e=r-s+(a=" ... ").length),n-r>s&&(n=r+s-(o=" ...").length),{str:a+t.slice(e,n).replace(/\t/g,"→")+o,pos:r-e+a.length}}function x6(t,e){return w6.repeat(" ",e-t.length)+t}var _6=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],a=[],o=-1;n=r.exec(t.buffer);)a.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=i.length-2);o<0&&(o=i.length-1);var s,c,l="",u=Math.min(t.line+e.linesAfter,a.length).toString().length,h=e.maxLength-(e.indent+u+3);for(s=1;s<=e.linesBefore&&!(o-s<0);s++)c=E6(t.buffer,i[o-s],a[o-s],t.position-(i[o]-i[o-s]),h),l=w6.repeat(" ",e.indent)+x6((t.line-s+1).toString(),u)+" | "+c.str+"\n"+l;for(c=E6(t.buffer,i[o],a[o],t.position,h),l+=w6.repeat(" ",e.indent)+x6((t.line+1).toString(),u)+" | "+c.str+"\n",l+=w6.repeat("-",e.indent+u+3+c.pos)+"^\n",s=1;s<=e.linesAfter&&!(o+s>=a.length);s++)c=E6(t.buffer,i[o+s],a[o+s],t.position-(i[o]-i[o+s]),h),l+=w6.repeat(" ",e.indent)+x6((t.line+s+1).toString(),u)+" | "+c.str+"\n";return l.replace(/\n$/,"")},B6=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],S6=["scalar","sequence","mapping"];var L6=function(t,e){var n,r;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===B6.indexOf(e))throw new C6('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(n=e.styleAliases||null,r={},null!==n&&Object.keys(n).forEach((function(t){n[t].forEach((function(e){r[String(e)]=t}))})),r),-1===S6.indexOf(this.kind))throw new C6('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function I6(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,r){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=r)})),n[e]=t})),n}function M6(t){return this.extend(t)}M6.prototype.extend=function(t){var e=[],n=[];if(t instanceof L6)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new C6("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof L6))throw new C6("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new C6("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new C6("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof L6))throw new C6("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(M6.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=I6(r,"implicit"),r.compiledExplicit=I6(r,"explicit"),r.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(r);return n}(r.compiledImplicit,r.compiledExplicit),r};var O6=M6,N6=new L6("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),D6=new L6("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),F6=new L6("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),P6=new O6({explicit:[N6,D6,F6]});var R6=new L6("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});var Q6=new L6("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function U6(t){return 48<=t&&t<=55}function H6(t){return 48<=t&&t<=57}var j6=new L6("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=t.length,i=0,a=!1;if(!r)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;a=!0}return a&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!(48<=(n=t.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;a=!0}return a&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!U6(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!H6(t.charCodeAt(i)))return!1;a=!0}return!(!a||"_"===e)},construct:function(t){var e,n=t,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(r=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!w6.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),$6=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var K6=/^[-+]?[0-9]+e/;var G6=new L6("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!$6.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||w6.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(w6.isNegativeZero(t))return"-0.0";return n=t.toString(10),K6.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),z6=P6.extend({implicit:[R6,Q6,j6,G6]}),X6=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),q6=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var V6=new L6("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==X6.exec(t)||null!==q6.exec(t))},construct:function(t){var e,n,r,i,a,o,s,c,l=0,u=null;if(null===(e=X6.exec(t))&&(e=q6.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],r=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(n,r,i));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(u=-u)),c=new Date(Date.UTC(n,r,i,a,o,s,l)),u&&c.setTime(c.getTime()-u),c},instanceOf:Date,represent:function(t){return t.toISOString()}});var W6=new L6("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),Y6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var J6=new L6("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=0,i=t.length,a=Y6;for(n=0;n<i;n++)if(!((e=a.indexOf(t.charAt(n)))>64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,n,r=t.replace(/[\r\n=]/g,""),i=r.length,a=Y6,o=0,s=[];for(e=0;e<i;e++)e%4==0&&e&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|a.indexOf(r.charAt(e));return 0===(n=i%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===n?(s.push(o>>10&255),s.push(o>>2&255)):12===n&&s.push(o>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,n,r="",i=0,a=t.length,o=Y6;for(e=0;e<a;e++)e%3==0&&e&&(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]),i=(i<<8)+t[e];return 0===(n=a%3)?(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]):2===n?(r+=o[i>>10&63],r+=o[i>>4&63],r+=o[i<<2&63],r+=o[64]):1===n&&(r+=o[i>>2&63],r+=o[i<<4&63],r+=o[64],r+=o[64]),r}}),Z6=Object.prototype.hasOwnProperty,t9=Object.prototype.toString;var e9=new L6("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,a,o=[],s=t;for(e=0,n=s.length;e<n;e+=1){if(r=s[e],a=!1,"[object Object]"!==t9.call(r))return!1;for(i in r)if(Z6.call(r,i)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==o.indexOf(i))return!1;o.push(i)}return!0},construct:function(t){return null!==t?t:[]}}),n9=Object.prototype.toString;var r9=new L6("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1){if(r=o[e],"[object Object]"!==n9.call(r))return!1;if(1!==(i=Object.keys(r)).length)return!1;a[e]=[i[0],r[i[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,r,i,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1)r=o[e],i=Object.keys(r),a[e]=[i[0],r[i[0]]];return a}}),i9=Object.prototype.hasOwnProperty;var a9=new L6("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(i9.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}}),o9=z6.extend({implicit:[V6,W6],explicit:[J6,e9,r9,a9]}),s9=Object.prototype.hasOwnProperty,c9=1,l9=2,u9=3,h9=4,f9=1,d9=2,A9=3,p9=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g9=/[\x85\u2028\u2029]/,m9=/[,\[\]\{\}]/,b9=/^(?:!|!!|![a-z\-]+!)$/i,v9=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function y9(t){return Object.prototype.toString.call(t)}function w9(t){return 10===t||13===t}function T9(t){return 9===t||32===t}function k9(t){return 9===t||32===t||10===t||13===t}function C9(t){return 44===t||91===t||93===t||123===t||125===t}function E9(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function x9(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?" ":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function _9(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var B9=new Array(256),S9=new Array(256),L9=0;L9<256;L9++)B9[L9]=x9(L9)?1:0,S9[L9]=x9(L9);function I9(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||o9,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function M9(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=_6(n),new C6(e,n)}function O9(t,e){throw M9(t,e)}function N9(t,e){t.onWarning&&t.onWarning.call(null,M9(t,e))}var D9={YAML:function(t,e,n){var r,i,a;null!==t.version&&O9(t,"duplication of %YAML directive"),1!==n.length&&O9(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&O9(t,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),1!==i&&O9(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&N9(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var r,i;2!==n.length&&O9(t,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],b9.test(r)||O9(t,"ill-formed tag handle (first argument) of the TAG directive"),s9.call(t.tagMap,r)&&O9(t,'there is a previously declared suffix for "'+r+'" tag handle'),v9.test(i)||O9(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(e){O9(t,"tag prefix is malformed: "+i)}t.tagMap[r]=i}};function F9(t,e,n,r){var i,a,o,s;if(e<n){if(s=t.input.slice(e,n),r)for(i=0,a=s.length;i<a;i+=1)9===(o=s.charCodeAt(i))||32<=o&&o<=1114111||O9(t,"expected valid JSON character");else p9.test(s)&&O9(t,"the stream contains non-printable characters");t.result+=s}}function P9(t,e,n,r){var i,a,o,s;for(w6.isObject(n)||O9(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(i=Object.keys(n)).length;o<s;o+=1)a=i[o],s9.call(e,a)||(e[a]=n[a],r[a]=!0)}function R9(t,e,n,r,i,a,o,s,c){var l,u;if(Array.isArray(i))for(l=0,u=(i=Array.prototype.slice.call(i)).length;l<u;l+=1)Array.isArray(i[l])&&O9(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===y9(i[l])&&(i[l]="[object Object]");if("object"==typeof i&&"[object Object]"===y9(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)P9(t,e,a[l],n);else P9(t,e,a,n);else t.json||s9.call(n,i)||!s9.call(e,i)||(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=c||t.position,O9(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[i]=a,delete n[i];return e}function Q9(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):O9(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function U9(t,e,n){for(var r=0,i=t.input.charCodeAt(t.position);0!==i;){for(;T9(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)do{i=t.input.charCodeAt(++t.position)}while(10!==i&&13!==i&&0!==i);if(!w9(i))break;for(Q9(t),i=t.input.charCodeAt(t.position),r++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==n&&0!==r&&t.lineIndent<n&&N9(t,"deficient indentation"),r}function H9(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!k9(e)))}function j9(t,e){1===e?t.result+=" ":e>1&&(t.result+=w6.repeat("\n",e-1))}function $9(t,e){var n,r,i=t.tag,a=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,O9(t,"tab characters must not be used in indentation")),45===r)&&k9(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,U9(t,!0,-1)&&t.lineIndent<=e)o.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,z9(t,e,u9,!1,!0),o.push(t.result),U9(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)O9(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=i,t.anchor=a,t.kind="sequence",t.result=o,!0)}function K9(t){var e,n,r,i,a=!1,o=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&O9(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(a=!0,i=t.input.charCodeAt(++t.position)):33===i?(o=!0,n="!!",i=t.input.charCodeAt(++t.position)):n="!",e=t.position,a){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(r=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):O9(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!k9(i);)33===i&&(o?O9(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),b9.test(n)||O9(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),m9.test(r)&&O9(t,"tag suffix cannot contain flow indicator characters")}r&&!v9.test(r)&&O9(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(e){O9(t,"tag name is malformed: "+r)}return a?t.tag=r:s9.call(t.tagMap,n)?t.tag=t.tagMap[n]+r:"!"===n?t.tag="!"+r:"!!"===n?t.tag="tag:yaml.org,2002:"+r:O9(t,'undeclared tag handle "'+n+'"'),!0}function G9(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&O9(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!k9(n)&&!C9(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&O9(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function z9(t,e,n,r,i){var a,o,s,c,l,u,h,f,d,A=1,p=!1,g=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,a=o=s=h9===n||u9===n,r&&U9(t,!0,-1)&&(p=!0,t.lineIndent>e?A=1:t.lineIndent===e?A=0:t.lineIndent<e&&(A=-1)),1===A)for(;K9(t)||G9(t);)U9(t,!0,-1)?(p=!0,s=a,t.lineIndent>e?A=1:t.lineIndent===e?A=0:t.lineIndent<e&&(A=-1)):s=!1;if(s&&(s=p||i),1!==A&&h9!==n||(f=c9===n||l9===n?e:e+1,d=t.position-t.lineStart,1===A?s&&($9(t,d)||function(t,e,n){var r,i,a,o,s,c,l,u=t.tag,h=t.anchor,f={},d=Object.create(null),A=null,p=null,g=null,m=!1,b=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=f),l=t.input.charCodeAt(t.position);0!==l;){if(m||-1===t.firstTabInLine||(t.position=t.firstTabInLine,O9(t,"tab characters must not be used in indentation")),r=t.input.charCodeAt(t.position+1),a=t.line,63!==l&&58!==l||!k9(r)){if(o=t.line,s=t.lineStart,c=t.position,!z9(t,n,l9,!1,!0))break;if(t.line===a){for(l=t.input.charCodeAt(t.position);T9(l);)l=t.input.charCodeAt(++t.position);if(58===l)k9(l=t.input.charCodeAt(++t.position))||O9(t,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(R9(t,f,d,A,p,null,o,s,c),A=p=g=null),b=!0,m=!1,i=!1,A=t.tag,p=t.result;else{if(!b)return t.tag=u,t.anchor=h,!0;O9(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return t.tag=u,t.anchor=h,!0;O9(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===l?(m&&(R9(t,f,d,A,p,null,o,s,c),A=p=g=null),b=!0,m=!0,i=!0):m?(m=!1,i=!0):O9(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,l=r;if((t.line===a||t.lineIndent>e)&&(m&&(o=t.line,s=t.lineStart,c=t.position),z9(t,e,h9,!0,i)&&(m?p=t.result:g=t.result),m||(R9(t,f,d,A,p,g,o,s,c),A=p=g=null),U9(t,!0,-1),l=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==l)O9(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return m&&R9(t,f,d,A,p,null,o,s,c),b&&(t.tag=u,t.anchor=h,t.kind="mapping",t.result=f),b}(t,d,f))||function(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A=!0,p=t.tag,g=t.anchor,m=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))o=93,l=!1,a=[];else{if(123!==d)return!1;o=125,l=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),d=t.input.charCodeAt(++t.position);0!==d;){if(U9(t,!0,e),(d=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=p,t.anchor=g,t.kind=l?"mapping":"sequence",t.result=a,!0;A?44===d&&O9(t,"expected the node content, but found ','"):O9(t,"missed comma between flow collection entries"),f=null,s=c=!1,63===d&&k9(t.input.charCodeAt(t.position+1))&&(s=c=!0,t.position++,U9(t,!0,e)),n=t.line,r=t.lineStart,i=t.position,z9(t,e,c9,!1,!0),h=t.tag,u=t.result,U9(t,!0,e),d=t.input.charCodeAt(t.position),!c&&t.line!==n||58!==d||(s=!0,d=t.input.charCodeAt(++t.position),U9(t,!0,e),z9(t,e,c9,!1,!0),f=t.result),l?R9(t,a,m,h,u,f,n,r,i):s?a.push(R9(t,null,m,h,u,f,n,r,i)):a.push(u),U9(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(A=!0,d=t.input.charCodeAt(++t.position)):A=!1}O9(t,"unexpected end of the stream within a flow collection")}(t,f)?g=!0:(o&&function(t,e){var n,r,i,a,o,s=f9,c=!1,l=!1,u=e,h=0,f=!1;if(124===(a=t.input.charCodeAt(t.position)))r=!1;else{if(62!==a)return!1;r=!0}for(t.kind="scalar",t.result="";0!==a;)if(43===(a=t.input.charCodeAt(++t.position))||45===a)f9===s?s=43===a?A9:d9:O9(t,"repeat of a chomping mode identifier");else{if(!((i=48<=(o=a)&&o<=57?o-48:-1)>=0))break;0===i?O9(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?O9(t,"repeat of an indentation width identifier"):(u=e+i-1,l=!0)}if(T9(a)){do{a=t.input.charCodeAt(++t.position)}while(T9(a));if(35===a)do{a=t.input.charCodeAt(++t.position)}while(!w9(a)&&0!==a)}for(;0!==a;){for(Q9(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!l||t.lineIndent<u)&&32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>u&&(u=t.lineIndent),w9(a))h++;else{if(t.lineIndent<u){s===A9?t.result+=w6.repeat("\n",c?1+h:h):s===f9&&c&&(t.result+="\n");break}for(r?T9(a)?(f=!0,t.result+=w6.repeat("\n",c?1+h:h)):f?(f=!1,t.result+=w6.repeat("\n",h+1)):0===h?c&&(t.result+=" "):t.result+=w6.repeat("\n",h):t.result+=w6.repeat("\n",c?1+h:h),c=!0,l=!0,h=0,n=t.position;!w9(a)&&0!==a;)a=t.input.charCodeAt(++t.position);F9(t,n,t.position,!1)}}return!0}(t,f)||function(t,e){var n,r,i;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(F9(t,r,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,i=t.position}else w9(n)?(F9(t,r,i,!0),j9(t,U9(t,!1,e)),r=i=t.position):t.position===t.lineStart&&H9(t)?O9(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);O9(t,"unexpected end of the stream within a single quoted scalar")}(t,f)||function(t,e){var n,r,i,a,o,s,c;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return F9(t,n,t.position,!0),t.position++,!0;if(92===s){if(F9(t,n,t.position,!0),w9(s=t.input.charCodeAt(++t.position)))U9(t,!1,e);else if(s<256&&B9[s])t.result+=S9[s],t.position++;else if((o=120===(c=s)?2:117===c?4:85===c?8:0)>0){for(i=o,a=0;i>0;i--)(o=E9(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:O9(t,"expected hexadecimal character");t.result+=_9(a),t.position++}else O9(t,"unknown escape sequence");n=r=t.position}else w9(s)?(F9(t,n,r,!0),j9(t,U9(t,!1,e)),n=r=t.position):t.position===t.lineStart&&H9(t)?O9(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}O9(t,"unexpected end of the stream within a double quoted scalar")}(t,f)?g=!0:!function(t){var e,n,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!k9(r)&&!C9(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&O9(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),s9.call(t.anchorMap,n)||O9(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],U9(t,!0,-1),!0}(t)?function(t,e,n){var r,i,a,o,s,c,l,u,h=t.kind,f=t.result;if(k9(u=t.input.charCodeAt(t.position))||C9(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(k9(r=t.input.charCodeAt(t.position+1))||n&&C9(r)))return!1;for(t.kind="scalar",t.result="",i=a=t.position,o=!1;0!==u;){if(58===u){if(k9(r=t.input.charCodeAt(t.position+1))||n&&C9(r))break}else if(35===u){if(k9(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&H9(t)||n&&C9(u))break;if(w9(u)){if(s=t.line,c=t.lineStart,l=t.lineIndent,U9(t,!1,-1),t.lineIndent>=e){o=!0,u=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=c,t.lineIndent=l;break}}o&&(F9(t,i,a,!1),j9(t,t.line-s),i=a=t.position,o=!1),T9(u)||(a=t.position+1),u=t.input.charCodeAt(++t.position)}return F9(t,i,a,!1),!!t.result||(t.kind=h,t.result=f,!1)}(t,f,c9===n)&&(g=!0,null===t.tag&&(t.tag="?")):(g=!0,null===t.tag&&null===t.anchor||O9(t,"alias node should not have any properties")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===A&&(g=s&&$9(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&O9(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),c=0,l=t.implicitTypes.length;c<l;c+=1)if((h=t.implicitTypes[c]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(s9.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(h=null,c=0,l=(u=t.typeMap.multi[t.kind||"fallback"]).length;c<l;c+=1)if(t.tag.slice(0,u[c].tag.length)===u[c].tag){h=u[c];break}h||O9(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&O9(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):O9(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||g}function X9(t){var e,n,r,i,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(i=t.input.charCodeAt(t.position))&&(U9(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(o=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!k9(i);)i=t.input.charCodeAt(++t.position);for(r=[],(n=t.input.slice(e,t.position)).length<1&&O9(t,"directive name must not be less than one character in length");0!==i;){for(;T9(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!w9(i));break}if(w9(i))break;for(e=t.position;0!==i&&!k9(i);)i=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==i&&Q9(t),s9.call(D9,n)?D9[n](t,n,r):N9(t,'unknown document directive "'+n+'"')}U9(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,U9(t,!0,-1)):o&&O9(t,"directives end mark is expected"),z9(t,t.lineIndent-1,h9,!1,!0),U9(t,!0,-1),t.checkLineBreaks&&g9.test(t.input.slice(a,t.position))&&N9(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&H9(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,U9(t,!0,-1)):t.position<t.length-1&&O9(t,"end of the stream or a document separator is expected")}function q9(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new I9(t,e),r=t.indexOf("\0");for(-1!==r&&(n.position=r,O9(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)X9(n);return n.documents}var V9=function(t,e,n){null!==e&&"object"==typeof e&&void 0===n&&(n=e,e=null);var r=q9(t,n);if("function"!=typeof e)return r;for(var i=0,a=r.length;i<a;i+=1)e(r[i])},W9=P6,Y9={loadAll:V9,load:function(t,e){var n=q9(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new C6("expected a single document in the stream, but found more")}}}.load;const J9=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;const Z9=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,t8=/\s*%%.*\n/gm,e8={},n8=function(t,e){t=t.replace(J9,"").replace(Z9,"").replace(t8,"\n");for(const[n,{detector:r}]of Object.entries(e8)){if(r(t,e))return n}throw new Error(`No diagram type detected for text: ${t}`)},r8=(...t)=>{for(const{id:e,detector:n,loader:r}of t)i8(e,n,r)},i8=(t,e,n)=>{e8[t]?W5.error(`Detector with key ${t} already exists`):e8[t]={detector:e,loader:n},W5.debug(`Detector with key ${t} added${n?" with loader":""}`)},a8=function(t,e,n){const{depth:r,clobber:i}=Object.assign({depth:2,clobber:!1},n);return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>a8(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||r<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(i||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=a8(t[n],e[n],{depth:r-1,clobber:i}))})),t)},o8=a8,s8={curveBasis:FV,curveBasisClosed:function(t){return new PV(t)},curveBasisOpen:function(t){return new RV(t)},curveBumpX:function(t){return new MV(t,!0)},curveBumpY:function(t){return new MV(t,!1)},curveBundle:UV,curveCardinalClosed:GV,curveCardinalOpen:XV,curveCardinal:$V,curveCatmullRomClosed:JV,curveCatmullRomOpen:tW,curveCatmullRom:WV,curveLinear:xV,curveLinearClosed:function(t){return new eW(t)},curveMonotoneX:function(t){return new oW(t)},curveMonotoneY:function(t){return new sW(t)},curveNatural:function(t){return new lW(t)},curveStep:function(t){return new hW(t,.5)},curveStepAfter:function(t){return new hW(t,1)},curveStepBefore:function(t){return new hW(t,0)}},c8=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,l8=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,u8=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${l8.source})(?=[}][%]{2}).*\n`,"ig");let r;t=t.trim().replace(n,"").replace(/'/gm,'"'),W5.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const i=[];for(;null!==(r=c8.exec(t));)if(r.index===c8.lastIndex&&c8.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;i.push({type:t,args:e})}return 0===i.length&&i.push({type:t,args:null}),1===i.length?i[0]:i}catch(n){return W5.error(`ERROR: ${n.message} - Unable to parse directive\n ${null!==e?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}};function h8(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return s8[n]||e}function f8(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function d8(t){let e="",n="";for(const r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?n=n+r+";":e=e+r+";");return{style:e,labelStyle:n}}let A8=0;const p8=()=>(A8++,"id-"+Math.random().toString(36).substr(2,12)+"-"+A8);const g8=t=>function(t){let e="";const n="0123456789abcdef";for(let r=0;r<t;r++)e+=n.charAt(Math.floor(16*Math.random()));return e}(t.length),m8=function(t,e){const n=e.text.replace(s6.lineBreakRegex," "),[,r]=_8(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",r),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.attr("fill",e.fill),a.text(n),i},b8=HY(((t,e,n)=>{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),s6.lineBreakRegex.test(t))return t;const r=t.split(" "),i=[];let a="";return r.forEach(((t,o)=>{const s=w8(`${t} `,n),c=w8(a,n);if(s>e){const{hyphenatedStrings:r,remainingWord:o}=v8(t,e,"-",n);i.push(a,...r),a=o}else c+s>=e?(i.push(a),a=t):a=[a,t].filter(Boolean).join(" ");o+1===r.length&&i.push(a)})),i.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),v8=HY(((t,e,n="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const i=[...t],a=[];let o="";return i.forEach(((t,s)=>{const c=`${o}${t}`;if(w8(c,r)>=e){const t=s+1,e=i.length===t,r=`${c}${n}`;a.push(e?c:r),o=""}else o=c})),{hyphenatedStrings:a,remainingWord:o}}),((t,e,n="-",r)=>`${t}${e}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function y8(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),T8(t,e).height}function w8(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),T8(t,e).width}const T8=HY(((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:n,fontFamily:r,fontWeight:i}=e;if(!t)return{width:0,height:0};const[,a]=_8(n),o=["sans-serif",r],s=t.split(s6.lineBreakRegex),c=[],l=i$("body");if(!l.remove)return{width:0,height:0,lineHeight:0};const u=l.append("svg");for(const t of o){let e=0;const n={width:0,height:0,lineHeight:0};for(const r of s){const o={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0};o.text=r;const s=m8(u,o).style("font-size",a).style("font-weight",i).style("font-family",t),c=(s._groups||s)[0][0].getBBox();n.width=Math.round(Math.max(n.width,c.width)),e=Math.round(c.height),n.height+=e,n.lineHeight=Math.round(Math.max(n.lineHeight,e))}c.push(n)}u.remove();return c[isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let k8;const C8=t=>{if(W5.debug("directiveSanitizer called with",t),"object"==typeof t&&(t.length?t.forEach((t=>C8(t))):Object.keys(t).forEach((e=>{W5.debug("Checking key",e),e.startsWith("__")&&(W5.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(W5.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(W5.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(W5.debug("sanitizing themeCss option"),t[e]=E8(t[e])),e.includes("fontFamily")&&(W5.debug("sanitizing fontFamily option"),t[e]=E8(t[e])),e.includes("altFontFamily")&&(W5.debug("sanitizing altFontFamily option"),t[e]=E8(t[e])),p6.includes(e)?"object"==typeof t[e]&&(W5.debug("sanitize deleting object",e),C8(t[e])):(W5.debug("sanitize deleting option",e),delete t[e])}))),t.themeVariables){const e=Object.keys(t.themeVariables);for(const n of e){const e=t.themeVariables[n];e&&e.match&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[n]="")}}W5.debug("After sanitization",t)},E8=t=>{let e=0,n=0;for(const r of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===r?e++:"}"===r&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t};function x8(t){return"str"in t}const _8=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},B8={assignWithDepth:o8,wrapLabel:b8,calculateTextHeight:y8,calculateTextWidth:w8,calculateTextDimensions:T8,detectInit:function(t,e){const n=u8(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(n)){const t=n.map((t=>t.args));C8(t),r=o8(r,[...t])}else r=n.args;if(r){let n=n8(t,e);["config"].forEach((t=>{void 0!==r[t]&&("flowchart-v2"===n&&(n="flowchart"),r[n]=r[t],delete r[t])}))}return r},detectDirective:u8,isSubstringInArray:function(t,e){for(const[n,r]of e.entries())if(r.match(t))return n;return-1},interpolateToCurve:h8,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,n=0;t.forEach((t=>{n+=f8(t,e),e=t}));let r,i=n/2;return e=void 0,t.forEach((t=>{if(e&&!r){const n=f8(t,e);if(n<i)i-=n;else{const a=i/n;a<=0&&(r=e),a>=1&&(r={x:t.x,y:t.y}),a>0&&a<1&&(r={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y})}}e=t})),r}(t)},calcCardinalityPosition:(t,e,n)=>{let r;W5.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());let i,a=25;r=void 0,e.forEach((t=>{if(r&&!i){const e=f8(t,r);if(e<a)a-=e;else{const n=a/e;n<=0&&(i=r),n>=1&&(i={x:t.x,y:t.y}),n>0&&n<1&&(i={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t}));const o=t?10:5,s=Math.atan2(e[0].y-i.y,e[0].x-i.x),c={x:0,y:0};return c.x=Math.sin(s)*o+(e[0].x+i.x)/2,c.y=-Math.cos(s)*o+(e[0].y+i.y)/2,c},calcTerminalLabelPosition:function(t,e,n){let r,i=JSON.parse(JSON.stringify(n));W5.info("our points",i),"start_left"!==e&&"start_right"!==e&&(i=i.reverse()),i.forEach((t=>{r=t}));let a,o=25+t;r=void 0,i.forEach((t=>{if(r&&!a){const e=f8(t,r);if(e<o)o-=e;else{const n=o/e;n<=0&&(a=r),n>=1&&(a={x:t.x,y:t.y}),n>0&&n<1&&(a={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t}));const s=10+.5*t,c=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};return l.x=Math.sin(c)*s+(i[0].x+a.x)/2,l.y=-Math.cos(c)*s+(i[0].y+a.y)/2,"start_left"===e&&(l.x=Math.sin(c+Math.PI)*s+(i[0].x+a.x)/2,l.y=-Math.cos(c+Math.PI)*s+(i[0].y+a.y)/2),"end_right"===e&&(l.x=Math.sin(c-Math.PI)*s+(i[0].x+a.x)/2-5,l.y=-Math.cos(c-Math.PI)*s+(i[0].y+a.y)/2-5),"end_left"===e&&(l.x=Math.sin(c)*s+(i[0].x+a.x)/2-5,l.y=-Math.cos(c)*s+(i[0].y+a.y)/2-5),l},formatUrl:function(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?yU(n):n},getStylesFromArray:d8,generateId:p8,random:g8,runFunc:(t,...e)=>{const n=t.split("."),r=n.length-1,i=n[r];let a=window;for(let t=0;t<r;t++)if(a=a[n[t]],!a)return;a[i](...e)},entityDecode:function(t){return k8=k8||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),k8.innerHTML=t,unescape(k8.textContent)},initIdGenerator:class{constructor(t,e){this.deterministic=t,this.seed=e,this.count=e?e.length:0}next(){return this.deterministic?this.count++:Date.now()}},directiveSanitizer:C8,sanitizeCss:E8,insertTitle:(t,e,n,r)=>{if(!r)return;const i=t.node().getBBox();t.append("text").text(r).attr("x",i.x+i.width/2).attr("y",-n).attr("class",e)},parseFontSize:_8},S8="9.4.3",L8=Object.freeze(g6);let I8,M8=o8({},L8),O8=[],N8=o8({},L8);const D8=(t,e)=>{let n=o8({},t),r={};for(const t of e)Q8(t),r=o8(r,t);if(n=o8(n,r),r.theme&&r.theme in f6){const t=o8({},I8),e=o8(t.themeVariables||{},r.themeVariables);n.theme&&n.theme in f6&&(n.themeVariables=f6[n.theme].getThemeVariables(e))}return N8=n,K8(N8),N8},F8=()=>o8({},M8),P8=t=>(K8(t),o8(N8,t),R8()),R8=()=>o8({},N8),Q8=t=>{["secure",...M8.secure??[]].forEach((e=>{void 0!==t[e]&&(W5.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{0===e.indexOf("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&Q8(t[e])}))},U8=t=>{t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),O8.push(t),D8(M8,O8)},H8=(t=M8)=>{O8=[],D8(t,O8)};var j8=(t=>(t.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",t))(j8||{});const $8={},K8=t=>{var e;t&&((t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&($8[e="LAZY_LOAD_DEPRECATED"]||(W5.warn(j8[e]),$8[e]=!0)))},G8=function(t,e,n,r){const i=function(t,e,n){let r=new Map;return n?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r}(e,n,r);!function(t,e){for(let n of e)t.attr(n[0],n[1])}(t,i)},z8=function(t,e,n,r){const i=e.node().getBBox(),a=i.width,o=i.height;W5.info(`SVG bounds: ${a}x${o}`,i);let s=0,c=0;W5.info(`Graph bounds: ${s}x${c}`,t),s=a+2*n,c=o+2*n,W5.info(`Calculated bounds: ${s}x${c}`),G8(e,c,s,r);const l=`${i.x-n} ${i.y-n} ${i.width+2*n} ${i.height+2*n}`;e.attr("viewBox",l)},X8=t=>`g.classGroup text {\n fill: ${t.nodeBorder};\n fill: ${t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`,q8=t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n`,V8=()=>"",W8=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`,Y8=t=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`,J8=()=>"",Z8=t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`,t7=t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 100%;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`,e7=t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,n7=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`,r7=t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,i7=t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,a7={flowchart:W8,"flowchart-v2":W8,sequence:e7,gantt:Y8,classDiagram:X8,"classDiagram-v2":X8,class:X8,stateDiagram:n7,state:n7,info:J8,pie:Z8,er:q8,error:V8,journey:r7,requirement:t7,c4:i7},o7=(t,e,n)=>{let r="";return t in a7&&a7[t]?r=a7[t](n):W5.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${r}\n\n ${e}\n`};let s7="",c7="",l7="";const u7=t=>e6(t,R8()),h7=function(){s7="",l7="",c7=""},f7=function(t){s7=u7(t).replace(/^\s+/g,"")},d7=function(){return s7||c7},A7=function(t){l7=u7(t).replace(/\n\s+/g,"\n")},p7=function(){return l7},g7=function(t){c7=u7(t)},m7=function(){return c7},b7={setAccTitle:f7,getAccTitle:d7,setDiagramTitle:g7,getDiagramTitle:m7,getAccDescription:p7,setAccDescription:A7,clear:h7},v7=Object.freeze(Object.defineProperty({__proto__:null,clear:h7,default:b7,getAccDescription:p7,getAccTitle:d7,getDiagramTitle:m7,setAccDescription:A7,setAccTitle:f7,setDiagramTitle:g7},Symbol.toStringTag,{value:"Module"}));let y7={};const w7=function(t,e,n,r){W5.debug("parseDirective is being called",e,n,r);try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":y7={};break;case"type_directive":if(!y7)throw new Error("currentDirective is undefined");y7.type=e.toLowerCase();break;case"arg_directive":if(!y7)throw new Error("currentDirective is undefined");y7.args=JSON.parse(e);break;case"close_directive":T7(t,y7,r),y7=void 0}}catch(t){W5.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${n}`),W5.error(t.message)}},T7=function(t,e,n){switch(W5.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":["config"].forEach((t=>{void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t])})),W5.info("sanitize in handleDirective",e.args),C8(e.args),W5.info("sanitize in handleDirective (done)",e.args),U8(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":W5.warn("themeCss encountered");break;default:W5.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e)}},k7=W5,C7=Y5,E7=R8,x7=t=>e6(t,E7()),_7=z8,B7=(t,e,n,r)=>w7(t,e,n,r),S7={},L7=(t,e,n)=>{if(S7[t])throw new Error(`Diagram ${t} already registered.`);var r,i;S7[t]=e,n&&i8(t,n),r=t,i=e.styles,a7[r]=i,e.injectUtils&&e.injectUtils(k7,C7,E7,x7,_7,v7,B7)},I7=t=>{if(t in S7)return S7[t];throw new Error(`Diagram ${t} not found.`)};var M7=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,4],r=[1,7],i=[1,5],a=[1,9],o=[1,6],s=[2,6],c=[1,16],l=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],u=[8,14,20,22,24,25,27,29,32,37,40],h=[8,13,14,20,22,24,25,27,29,32,37,40],f=[1,26],d=[6,8,14,50,55],A=[8,14,55],p=[1,53],g=[1,52],m=[8,14,30,33,35,38,55],b=[1,67],v=[1,68],y=[1,69],w=[8,14,33,35,42,55],T={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return a[s];case 4:return a[s-1];case 5:return r.setDirection(a[s-3]),a[s-1];case 7:r.setOptions(a[s-1]),this.$=a[s];break;case 8:a[s-1]+=a[s],this.$=a[s-1];break;case 10:this.$=[];break;case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 12:this.$=a[s-1];break;case 17:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 20:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 22:r.checkout(a[s]);break;case 23:r.branch(a[s]);break;case 24:r.branch(a[s-2],a[s]);break;case 25:r.cherryPick(a[s],"",void 0);break;case 26:r.cherryPick(a[s-2],"",a[s]);break;case 27:case 29:r.cherryPick(a[s-2],"","");break;case 28:r.cherryPick(a[s],"",a[s-2]);break;case 30:r.merge(a[s],"","","");break;case 31:r.merge(a[s-2],a[s],"","");break;case 32:r.merge(a[s-2],"",a[s],"");break;case 33:r.merge(a[s-2],"","",a[s]);break;case 34:r.merge(a[s-4],a[s],"",a[s-2]);break;case 35:r.merge(a[s-4],"",a[s],a[s-2]);break;case 36:r.merge(a[s-4],"",a[s-2],a[s]);break;case 37:r.merge(a[s-4],a[s-2],a[s],"");break;case 38:r.merge(a[s-4],a[s-2],"",a[s]);break;case 39:r.merge(a[s-4],a[s],a[s-2],"");break;case 40:r.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 41:r.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 42:r.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 43:r.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 44:r.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 45:r.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 46:r.commit(a[s]);break;case 47:r.commit("","",r.commitType.NORMAL,a[s]);break;case 48:r.commit("","",a[s],"");break;case 49:r.commit("","",a[s],a[s-2]);break;case 50:r.commit("","",a[s-2],a[s]);break;case 51:r.commit("",a[s],r.commitType.NORMAL,"");break;case 52:r.commit("",a[s-2],r.commitType.NORMAL,a[s]);break;case 53:r.commit("",a[s],r.commitType.NORMAL,a[s-2]);break;case 54:r.commit("",a[s-2],a[s],"");break;case 55:r.commit("",a[s],a[s-2],"");break;case 56:r.commit("",a[s-4],a[s-2],a[s]);break;case 57:r.commit("",a[s-4],a[s],a[s-2]);break;case 58:r.commit("",a[s-2],a[s-4],a[s]);break;case 59:r.commit("",a[s],a[s-4],a[s-2]);break;case 60:r.commit("",a[s],a[s-2],a[s-4]);break;case 61:r.commit("",a[s-2],a[s],a[s-4]);break;case 62:r.commit(a[s],"",r.commitType.NORMAL,"");break;case 63:r.commit(a[s],"",r.commitType.NORMAL,a[s-2]);break;case 64:r.commit(a[s-2],"",r.commitType.NORMAL,a[s]);break;case 65:r.commit(a[s-2],"",a[s],"");break;case 66:r.commit(a[s],"",a[s-2],"");break;case 67:r.commit(a[s],a[s-2],r.commitType.NORMAL,"");break;case 68:r.commit(a[s-2],a[s],r.commitType.NORMAL,"");break;case 69:r.commit(a[s-4],"",a[s-2],a[s]);break;case 70:r.commit(a[s-4],"",a[s],a[s-2]);break;case 71:r.commit(a[s-2],"",a[s-4],a[s]);break;case 72:r.commit(a[s],"",a[s-4],a[s-2]);break;case 73:r.commit(a[s],"",a[s-2],a[s-4]);break;case 74:r.commit(a[s-2],"",a[s],a[s-4]);break;case 75:r.commit(a[s-4],a[s],a[s-2],"");break;case 76:r.commit(a[s-4],a[s-2],a[s],"");break;case 77:r.commit(a[s-2],a[s],a[s-4],"");break;case 78:r.commit(a[s],a[s-2],a[s-4],"");break;case 79:r.commit(a[s],a[s-4],a[s-2],"");break;case 80:r.commit(a[s-2],a[s-4],a[s],"");break;case 81:r.commit(a[s-4],a[s],r.commitType.NORMAL,a[s-2]);break;case 82:r.commit(a[s-4],a[s-2],r.commitType.NORMAL,a[s]);break;case 83:r.commit(a[s-2],a[s],r.commitType.NORMAL,a[s-4]);break;case 84:r.commit(a[s],a[s-2],r.commitType.NORMAL,a[s-4]);break;case 85:r.commit(a[s],a[s-4],r.commitType.NORMAL,a[s-2]);break;case 86:r.commit(a[s-2],a[s-4],r.commitType.NORMAL,a[s]);break;case 87:r.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 88:r.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 89:r.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 90:r.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 91:r.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 92:r.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 93:r.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 94:r.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 95:r.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 96:r.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 97:r.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 98:r.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 99:r.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 100:r.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 101:r.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 102:r.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 103:r.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 104:r.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 105:r.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 106:r.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 107:r.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 108:r.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 109:r.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 110:r.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 111:this.$="";break;case 112:this.$=a[s];break;case 113:this.$=r.commitType.NORMAL;break;case 114:this.$=r.commitType.REVERSE;break;case 115:this.$=r.commitType.HIGHLIGHT;break;case 118:r.parseDirective("%%{","open_directive");break;case 119:r.parseDirective(a[s],"type_directive");break;case 120:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 121:r.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:n,8:r,14:i,46:8,50:a,55:o},{1:[3]},{3:10,4:2,5:3,6:n,8:r,14:i,46:8,50:a,55:o},{3:11,4:2,5:3,6:n,8:r,14:i,46:8,50:a,55:o},{7:12,8:s,9:[1,13],10:[1,14],11:15,14:c},e(l,[2,124]),e(l,[2,125]),e(l,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:s,11:15,14:c},{9:[1,21]},e(u,[2,10],{12:22,13:[1,23]}),e(h,[2,9]),{9:[1,25],48:24,53:f},e([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:s,11:15,14:c},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},e(h,[2,8]),e(d,[2,116]),{49:45,52:[1,46]},e(d,[2,121]),{1:[2,4]},{8:[1,47]},e(u,[2,11]),{4:48,8:r,14:i,55:o},e(u,[2,13]),e(A,[2,14]),e(A,[2,15]),e(A,[2,16]),{21:[1,49]},{23:[1,50]},e(A,[2,19]),e(A,[2,20]),e(A,[2,21]),{28:51,34:p,54:g},e(A,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:p,54:g},{33:[1,61],35:[1,62]},{28:63,34:p,54:g},{48:64,53:f},{53:[2,120]},{1:[2,5]},e(u,[2,12]),e(A,[2,17]),e(A,[2,18]),e(A,[2,22]),e(m,[2,122]),e(m,[2,123]),e(A,[2,46]),{34:[1,65]},{39:66,43:b,44:v,45:y},{34:[1,70]},{34:[1,71]},e(A,[2,112]),e(A,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},e(A,[2,23],{30:[1,78]}),e(d,[2,117]),e(A,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),e(A,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),e(w,[2,113]),e(w,[2,114]),e(w,[2,115]),e(A,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),e(A,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:b,44:v,45:y},{34:[1,93]},e(A,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:b,44:v,45:y},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:b,44:v,45:y},{34:[1,106]},{34:[1,107]},{39:108,43:b,44:v,45:y},{34:[1,109]},e(A,[2,31],{35:[1,111],38:[1,110]}),e(A,[2,32],{33:[1,113],35:[1,112]}),e(A,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},e(A,[2,24]),e(A,[2,49],{33:[1,120],42:[1,121]}),e(A,[2,53],{38:[1,122],42:[1,123]}),e(A,[2,63],{33:[1,125],38:[1,124]}),e(A,[2,50],{33:[1,126],42:[1,127]}),e(A,[2,55],{35:[1,128],42:[1,129]}),e(A,[2,66],{33:[1,131],35:[1,130]}),e(A,[2,52],{38:[1,132],42:[1,133]}),e(A,[2,54],{35:[1,134],42:[1,135]}),e(A,[2,67],{35:[1,137],38:[1,136]}),e(A,[2,64],{33:[1,139],38:[1,138]}),e(A,[2,65],{33:[1,141],35:[1,140]}),e(A,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:b,44:v,45:y},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:b,44:v,45:y},e(A,[2,26]),e(A,[2,27]),e(A,[2,28]),e(A,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:b,44:v,45:y},{34:[1,153]},{39:154,43:b,44:v,45:y},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:b,44:v,45:y},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:b,44:v,45:y},{34:[1,167]},{39:168,43:b,44:v,45:y},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:b,44:v,45:y},{34:[1,173]},e(A,[2,37],{35:[1,174]}),e(A,[2,38],{38:[1,175]}),e(A,[2,36],{33:[1,176]}),e(A,[2,39],{35:[1,177]}),e(A,[2,34],{38:[1,178]}),e(A,[2,35],{33:[1,179]}),e(A,[2,60],{42:[1,180]}),e(A,[2,73],{33:[1,181]}),e(A,[2,61],{42:[1,182]}),e(A,[2,84],{38:[1,183]}),e(A,[2,74],{33:[1,184]}),e(A,[2,83],{38:[1,185]}),e(A,[2,59],{42:[1,186]}),e(A,[2,72],{33:[1,187]}),e(A,[2,58],{42:[1,188]}),e(A,[2,78],{35:[1,189]}),e(A,[2,71],{33:[1,190]}),e(A,[2,77],{35:[1,191]}),e(A,[2,57],{42:[1,192]}),e(A,[2,85],{38:[1,193]}),e(A,[2,56],{42:[1,194]}),e(A,[2,79],{35:[1,195]}),e(A,[2,80],{35:[1,196]}),e(A,[2,86],{38:[1,197]}),e(A,[2,70],{33:[1,198]}),e(A,[2,81],{38:[1,199]}),e(A,[2,69],{33:[1,200]}),e(A,[2,75],{35:[1,201]}),e(A,[2,76],{35:[1,202]}),e(A,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:b,44:v,45:y},{34:[1,206]},{34:[1,207]},{39:208,43:b,44:v,45:y},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:b,44:v,45:y},{34:[1,214]},{39:215,43:b,44:v,45:y},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:b,44:v,45:y},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:b,44:v,45:y},{34:[1,228]},{39:229,43:b,44:v,45:y},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:b,44:v,45:y},e(A,[2,40]),e(A,[2,42]),e(A,[2,41]),e(A,[2,43]),e(A,[2,45]),e(A,[2,44]),e(A,[2,101]),e(A,[2,102]),e(A,[2,99]),e(A,[2,100]),e(A,[2,104]),e(A,[2,103]),e(A,[2,108]),e(A,[2,107]),e(A,[2,106]),e(A,[2,105]),e(A,[2,110]),e(A,[2,109]),e(A,[2,98]),e(A,[2,97]),e(A,[2,96]),e(A,[2,95]),e(A,[2,93]),e(A,[2,94]),e(A,[2,92]),e(A,[2,91]),e(A,[2,90]),e(A,[2,89]),e(A,[2,87]),e(A,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},k=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}},t);function C(){this.yy={}}return T.lexer=k,C.prototype=T,T.Parser=C,new C}();M7.parser=M7;const O7=M7,N7=t=>null!==t.match(/^\s*gitGraph/);let D7=R8().gitGraph.mainBranchName,F7=R8().gitGraph.mainBranchOrder,P7={},R7=null,Q7={};Q7[D7]={name:D7,order:F7};let U7={};U7[D7]=R7;let H7=D7,j7="LR",$7=0;function K7(){return g8({length:7})}let G7={};const z7=function(t){if(t=s6.sanitizeText(t,R8()),void 0===U7[t]){let e=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+t+'")');throw e.hash={text:"checkout "+t,token:"checkout "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+t+'"']},e}{H7=t;const e=U7[H7];R7=P7[e]}};function X7(t,e,n){const r=t.indexOf(e);-1===r?t.push(n):t.splice(r,1,n)}function q7(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let n="";t.forEach((function(t){n+=t===e?"\t*":"\t|"}));const r=[n,e.id,e.seq];for(let t in U7)U7[t]===e.id&&r.push(t);if(W5.debug(r.join(" ")),e.parents&&2==e.parents.length){const n=P7[e.parents[0]];X7(t,e,n),t.push(P7[e.parents[1]])}else{if(0==e.parents.length)return;{const n=P7[e.parents];X7(t,e,n)}}q7(t=function(t,e){const n=Object.create(null);return t.reduce(((t,r)=>{const i=e(r);return n[i]||(n[i]=!0,t.push(r)),t}),[])}(t,(t=>t.id)))}const V7=function(){const t=Object.keys(P7).map((function(t){return P7[t]}));return t.forEach((function(t){W5.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},W7={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Y7={parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().gitGraph,setDirection:function(t){j7=t},setOptions:function(t){W5.debug("options str",t),t=(t=t&&t.trim())||"{}";try{G7=JSON.parse(t)}catch(t){W5.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return G7},commit:function(t,e,n,r){W5.debug("Entering commit:",t,e,n,r),e=s6.sanitizeText(e,R8()),t=s6.sanitizeText(t,R8()),r=s6.sanitizeText(r,R8());const i={id:e||$7+"-"+K7(),message:t,seq:$7++,type:n||W7.NORMAL,tag:r||"",parents:null==R7?[]:[R7.id],branch:H7};R7=i,P7[i.id]=i,U7[H7]=i.id,W5.debug("in pushCommit "+i.id)},branch:function(t,e){if(t=s6.sanitizeText(t,R8()),void 0!==U7[t]){let e=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+t+'")');throw e.hash={text:"branch "+t,token:"branch "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+t+'"']},e}U7[t]=null!=R7?R7.id:null,Q7[t]={name:t,order:e?parseInt(e,10):null},z7(t),W5.debug("in createBranch")},merge:function(t,e,n,r){t=s6.sanitizeText(t,R8()),e=s6.sanitizeText(e,R8());const i=P7[U7[H7]],a=P7[U7[t]];if(H7===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===i||!i){let e=new Error('Incorrect usage of "merge". Current branch ('+H7+")has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},e}if(void 0===U7[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===a||!a){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(i===a){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==P7[e]){let i=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw i.hash={text:"merge "+t+e+n+r,token:"merge "+t+e+n+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+n+" "+r]},i}const o={id:e||$7+"-"+K7(),message:"merged branch "+t+" into "+H7,seq:$7++,parents:[null==R7?null:R7.id,U7[t]],branch:H7,type:W7.MERGE,customType:n,customId:!!e,tag:r||""};R7=o,P7[o.id]=o,U7[H7]=o.id,W5.debug(U7),W5.debug("in mergeBranch")},cherryPick:function(t,e,n){if(W5.debug("Entering cherryPick:",t,e,n),t=s6.sanitizeText(t,R8()),e=s6.sanitizeText(e,R8()),n=s6.sanitizeText(n,R8()),!t||void 0===P7[t]){let n=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}let r=P7[t],i=r.branch;if(r.type===W7.MERGE){let n=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}if(!e||void 0===P7[e]){if(i===H7){let n=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const a=P7[U7[H7]];if(void 0===a||!a){let n=new Error('Incorrect usage of "cherry-pick". Current branch ('+H7+")has no commits");throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const o={id:$7+"-"+K7(),message:"cherry-picked "+r+" into "+H7,seq:$7++,parents:[null==R7?null:R7.id,r.id],branch:H7,type:W7.CHERRY_PICK,tag:n??"cherry-pick:"+r.id};R7=o,P7[o.id]=o,U7[H7]=o.id,W5.debug(U7),W5.debug("in cherryPick")}},checkout:z7,prettyPrint:function(){W5.debug(P7);q7([V7()[0]])},clear:function(){P7={},R7=null;let t=R8().gitGraph.mainBranchName,e=R8().gitGraph.mainBranchOrder;U7={},U7[t]=null,Q7={},Q7[t]={name:t,order:e},H7=t,$7=0,h7()},getBranchesAsObjArray:function(){const t=Object.values(Q7).map(((t,e)=>null!==t.order?t:{...t,order:parseFloat(`0.${e}`,10)})).sort(((t,e)=>t.order-e.order)).map((({name:t})=>({name:t})));return t},getBranches:function(){return U7},getCommits:function(){return P7},getCommitsArray:V7,getCurrentBranch:function(){return H7},getDirection:function(){return j7},getHead:function(){return R7},setAccTitle:f7,getAccTitle:d7,getAccDescription:p7,setAccDescription:A7,setDiagramTitle:g7,getDiagramTitle:m7,commitType:W7};let J7={};const Z7=0,ttt=1,ett=2,ntt=3,rtt=4;let itt={},att={},ott=[],stt=0;const ctt=(t,e,n)=>{const r=E7().gitGraph,i=t.append("g").attr("class","commit-bullets"),a=t.append("g").attr("class","commit-labels");let o=0;Object.keys(e).sort(((t,n)=>e[t].seq-e[n].seq)).forEach((t=>{const s=e[t],c=itt[s.branch].pos,l=o+10;if(n){let t,e=void 0!==s.customType&&""!==s.customType?s.customType:s.type;switch(e){case Z7:t="commit-normal";break;case ttt:t="commit-reverse";break;case ett:t="commit-highlight";break;case ntt:t="commit-merge";break;case rtt:t="commit-cherry-pick";break;default:t="commit-normal"}if(e===ett){const e=i.append("rect");e.attr("x",l-10),e.attr("y",c-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${s.id} commit-highlight${itt[s.branch].index%8} ${t}-outer`),i.append("rect").attr("x",l-6).attr("y",c-6).attr("height",12).attr("width",12).attr("class",`commit ${s.id} commit${itt[s.branch].index%8} ${t}-inner`)}else if(e===rtt)i.append("circle").attr("cx",l).attr("cy",c).attr("r",10).attr("class",`commit ${s.id} ${t}`),i.append("circle").attr("cx",l-3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${t}`),i.append("circle").attr("cx",l+3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${t}`),i.append("line").attr("x1",l+3).attr("y1",c+1).attr("x2",l).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${t}`),i.append("line").attr("x1",l-3).attr("y1",c+1).attr("x2",l).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${t}`);else{const n=i.append("circle");if(n.attr("cx",l),n.attr("cy",c),n.attr("r",s.type===ntt?9:10),n.attr("class",`commit ${s.id} commit${itt[s.branch].index%8}`),e===ntt){const e=i.append("circle");e.attr("cx",l),e.attr("cy",c),e.attr("r",6),e.attr("class",`commit ${t} ${s.id} commit${itt[s.branch].index%8}`)}if(e===ttt){i.append("path").attr("d",`M ${l-5},${c-5}L${l+5},${c+5}M${l-5},${c+5}L${l+5},${c-5}`).attr("class",`commit ${t} ${s.id} commit${itt[s.branch].index%8}`)}}}if(att[s.id]={x:o+10,y:c},n){const t=4,e=2;if(s.type!==rtt&&(s.customId&&s.type===ntt||s.type!==ntt)&&r.showCommitLabel){const t=a.append("g"),n=t.insert("rect").attr("class","commit-label-bkg"),i=t.append("text").attr("x",o).attr("y",c+25).attr("class","commit-label").text(s.id);let l=i.node().getBBox();if(n.attr("x",o+10-l.width/2-e).attr("y",c+13.5).attr("width",l.width+2*e).attr("height",l.height+2*e),i.attr("x",o+10-l.width/2),r.rotateCommitLabel){let e=-7.5-(l.width+10)/25*9.5,n=10+l.width/25*8.5;t.attr("transform","translate("+e+", "+n+") rotate("+"-45, "+o+", "+c+")")}}if(s.tag){const n=a.insert("polygon"),r=a.append("circle"),i=a.append("text").attr("y",c-16).attr("class","tag-label").text(s.tag);let l=i.node().getBBox();i.attr("x",o+10-l.width/2);const u=l.height/2,h=c-19.2;n.attr("class","tag-label-bkg").attr("points",`\n ${o-l.width/2-t/2},${h+e}\n ${o-l.width/2-t/2},${h-e}\n ${o+10-l.width/2-t},${h-u-e}\n ${o+10+l.width/2+t},${h-u-e}\n ${o+10+l.width/2+t},${h+u+e}\n ${o+10-l.width/2-t},${h+u+e}`),r.attr("cx",o-l.width/2+t/2).attr("cy",h).attr("r",1.5).attr("class","tag-hole")}}o+=50,o>stt&&(stt=o)}))},ltt=(t,e,n=0)=>{const r=t+Math.abs(t-e)/2;if(n>5)return r;if(ott.every((t=>Math.abs(t-r)>=10)))return ott.push(r),r;const i=Math.abs(t-e);return ltt(t,e-i/5,n+1)},utt=(t,e,n,r)=>{const i=att[e.id],a=att[n.id],o=((t,e,n)=>Object.keys(n).filter((r=>n[r].branch===e.branch&&n[r].seq>t.seq&&n[r].seq<e.seq)).length>0)(e,n,r);let s,c="",l="",u=0,h=0,f=itt[n.branch].index;if(o){c="A 10 10, 0, 0, 0,",l="A 10 10, 0, 0, 1,",u=10,h=10,f=itt[n.branch].index;const t=i.y<a.y?ltt(i.y,a.y):ltt(a.y,i.y);s=i.y<a.y?`M ${i.x} ${i.y} L ${i.x} ${t-u} ${c} ${i.x+h} ${t} L ${a.x-u} ${t} ${l} ${a.x} ${t+h} L ${a.x} ${a.y}`:`M ${i.x} ${i.y} L ${i.x} ${t+u} ${l} ${i.x+h} ${t} L ${a.x-u} ${t} ${c} ${a.x} ${t-h} L ${a.x} ${a.y}`}else i.y<a.y&&(c="A 20 20, 0, 0, 0,",u=20,h=20,f=itt[n.branch].index,s=`M ${i.x} ${i.y} L ${i.x} ${a.y-u} ${c} ${i.x+h} ${a.y} L ${a.x} ${a.y}`),i.y>a.y&&(c="A 20 20, 0, 0, 0,",u=20,h=20,f=itt[e.branch].index,s=`M ${i.x} ${i.y} L ${a.x-u} ${i.y} ${c} ${a.x} ${i.y-h} L ${a.x} ${a.y}`),i.y===a.y&&(f=itt[e.branch].index,s=`M ${i.x} ${i.y} L ${i.x} ${a.y-u} ${c} ${i.x+h} ${a.y} L ${a.x} ${a.y}`);t.append("path").attr("d",s).attr("class","arrow arrow"+f%8)},htt=(t,e)=>{const n=E7().gitGraph,r=t.append("g");e.forEach(((t,e)=>{const i=e%8,a=itt[t.name].pos,o=r.append("line");o.attr("x1",0),o.attr("y1",a),o.attr("x2",stt),o.attr("y2",a),o.attr("class","branch branch"+i),ott.push(a);const s=(t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let n=[];n="string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(t)?t:[];for(const t of n){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),n.setAttribute("class","row"),n.textContent=t.trim(),e.appendChild(n)}return e})(t.name),c=r.insert("rect"),l=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);l.node().appendChild(s);let u=s.getBBox();c.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-u.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-u.height/2+8).attr("width",u.width+18).attr("height",u.height+4),l.attr("transform","translate("+(-u.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-u.height/2-1)+")"),c.attr("transform","translate(-19, "+(a-u.height/2)+")")}))},ftt={draw:function(t,e,n,r){itt={},att={},J7={},stt=0,ott=[];const i=E7(),a=i.gitGraph;W5.debug("in gitgraph renderer",t+"\n","id:",e,n),J7=r.db.getCommits();const o=r.db.getBranchesAsObjArray();let s=0;o.forEach(((t,e)=>{itt[t.name]={pos:s,index:e},s+=50+(a.rotateCommitLabel?40:0)}));const c=i$(`[id="${e}"]`);ctt(c,J7,!1),a.showBranches&&htt(c,o),((t,e)=>{const n=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const r=e[t];r.parents&&r.parents.length>0&&r.parents.forEach((t=>{utt(n,e[t],r,e)}))}))})(c,J7),ctt(c,J7,!0),B8.insertTitle(c,"gitTitleText",a.titleTopMargin,r.db.getDiagramTitle()),_7(void 0,c,a.diagramPadding,a.useMaxWidth??i.useMaxWidth)}},dtt=t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n }\n`;var Att=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,6],r=[1,7],i=[1,8],a=[1,9],o=[1,16],s=[1,11],l=[1,12],u=[1,13],h=[1,14],f=[1,15],d=[1,27],A=[1,33],p=[1,34],g=[1,35],m=[1,36],b=[1,37],v=[1,72],y=[1,73],w=[1,74],T=[1,75],k=[1,76],C=[1,77],E=[1,78],x=[1,38],_=[1,39],B=[1,40],S=[1,41],L=[1,42],I=[1,43],M=[1,44],O=[1,45],N=[1,46],D=[1,47],F=[1,48],P=[1,49],R=[1,50],Q=[1,51],U=[1,52],H=[1,53],j=[1,54],$=[1,55],K=[1,56],G=[1,57],z=[1,59],X=[1,60],q=[1,61],V=[1,62],W=[1,63],Y=[1,64],J=[1,65],Z=[1,66],tt=[1,67],et=[1,68],nt=[1,69],rt=[24,52],it=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],at=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],ot=[1,94],st=[1,95],ct=[1,96],lt=[1,97],ut=[15,24,52],ht=[7,8,9,10,18,22,25,26,27,28],ft=[15,24,43,52],dt=[15,24,43,52,86,87,89,90],At=[15,43],pt=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],gt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setDirection("TB");break;case 5:r.setDirection("BT");break;case 6:r.setDirection("RL");break;case 7:r.setDirection("LR");break;case 11:r.parseDirective("%%{","open_directive");break;case 12:break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 14:r.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:r.setC4Type(a[s-3]);break;case 26:r.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 27:r.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 28:this.$=a[s].trim(),r.setTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 35:case 36:a[s].splice(2,0,"ENTERPRISE"),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 37:r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 38:a[s].splice(2,0,"CONTAINER"),r.addContainerBoundary(...a[s]),this.$=a[s];break;case 39:r.addDeploymentNode("node",...a[s]),this.$=a[s];break;case 40:r.addDeploymentNode("nodeL",...a[s]),this.$=a[s];break;case 41:r.addDeploymentNode("nodeR",...a[s]),this.$=a[s];break;case 42:r.popBoundaryParseStack();break;case 46:r.addPersonOrSystem("person",...a[s]),this.$=a[s];break;case 47:r.addPersonOrSystem("external_person",...a[s]),this.$=a[s];break;case 48:r.addPersonOrSystem("system",...a[s]),this.$=a[s];break;case 49:r.addPersonOrSystem("system_db",...a[s]),this.$=a[s];break;case 50:r.addPersonOrSystem("system_queue",...a[s]),this.$=a[s];break;case 51:r.addPersonOrSystem("external_system",...a[s]),this.$=a[s];break;case 52:r.addPersonOrSystem("external_system_db",...a[s]),this.$=a[s];break;case 53:r.addPersonOrSystem("external_system_queue",...a[s]),this.$=a[s];break;case 54:r.addContainer("container",...a[s]),this.$=a[s];break;case 55:r.addContainer("container_db",...a[s]),this.$=a[s];break;case 56:r.addContainer("container_queue",...a[s]),this.$=a[s];break;case 57:r.addContainer("external_container",...a[s]),this.$=a[s];break;case 58:r.addContainer("external_container_db",...a[s]),this.$=a[s];break;case 59:r.addContainer("external_container_queue",...a[s]),this.$=a[s];break;case 60:r.addComponent("component",...a[s]),this.$=a[s];break;case 61:r.addComponent("component_db",...a[s]),this.$=a[s];break;case 62:r.addComponent("component_queue",...a[s]),this.$=a[s];break;case 63:r.addComponent("external_component",...a[s]),this.$=a[s];break;case 64:r.addComponent("external_component_db",...a[s]),this.$=a[s];break;case 65:r.addComponent("external_component_queue",...a[s]),this.$=a[s];break;case 67:r.addRel("rel",...a[s]),this.$=a[s];break;case 68:r.addRel("birel",...a[s]),this.$=a[s];break;case 69:r.addRel("rel_u",...a[s]),this.$=a[s];break;case 70:r.addRel("rel_d",...a[s]),this.$=a[s];break;case 71:r.addRel("rel_l",...a[s]),this.$=a[s];break;case 72:r.addRel("rel_r",...a[s]),this.$=a[s];break;case 73:r.addRel("rel_b",...a[s]),this.$=a[s];break;case 74:a[s].splice(0,1),r.addRel("rel",...a[s]),this.$=a[s];break;case 75:r.updateElStyle("update_el_style",...a[s]),this.$=a[s];break;case 76:r.updateRelStyle("update_rel_style",...a[s]),this.$=a[s];break;case 77:r.updateLayoutConfig("update_layout_config",...a[s]),this.$=a[s];break;case 78:this.$=[a[s]];break;case 79:a[s].unshift(a[s-1]),this.$=a[s];break;case 80:case 82:this.$=a[s].trim();break;case 81:let t={};t[a[s-1].trim()]=a[s].trim(),this.$=t;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:n,8:r,9:i,10:a,11:5,12:10,18:o,22:s,25:l,26:u,27:h,28:f},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:n,8:r,9:i,10:a,11:5,12:10,18:o,22:s,25:l,26:u,27:h,28:f},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:d},e([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:A,33:p,34:g,36:m,38:b,39:58,40:70,42:71,44:v,46:y,47:w,48:T,49:k,50:C,51:E,53:32,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt},{23:79,29:29,30:30,31:31,32:A,33:p,34:g,36:m,38:b,39:58,40:70,42:71,44:v,46:y,47:w,48:T,49:k,50:C,51:E,53:32,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt},{23:80,29:29,30:30,31:31,32:A,33:p,34:g,36:m,38:b,39:58,40:70,42:71,44:v,46:y,47:w,48:T,49:k,50:C,51:E,53:32,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt},{23:81,29:29,30:30,31:31,32:A,33:p,34:g,36:m,38:b,39:58,40:70,42:71,44:v,46:y,47:w,48:T,49:k,50:C,51:E,53:32,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt},{23:82,29:29,30:30,31:31,32:A,33:p,34:g,36:m,38:b,39:58,40:70,42:71,44:v,46:y,47:w,48:T,49:k,50:C,51:E,53:32,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},e(rt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:v,46:y,47:w,48:T,49:k,50:C,51:E,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt}),e(rt,[2,21]),e(it,[2,23],{15:[1,88]}),e(rt,[2,43],{15:[1,89]}),e(at,[2,26]),e(at,[2,27]),{35:[1,90]},{37:[1,91]},e(at,[2,30]),{45:92,85:93,86:ot,87:st,89:ct,90:lt},{45:98,85:93,86:ot,87:st,89:ct,90:lt},{45:99,85:93,86:ot,87:st,89:ct,90:lt},{45:100,85:93,86:ot,87:st,89:ct,90:lt},{45:101,85:93,86:ot,87:st,89:ct,90:lt},{45:102,85:93,86:ot,87:st,89:ct,90:lt},{45:103,85:93,86:ot,87:st,89:ct,90:lt},{45:104,85:93,86:ot,87:st,89:ct,90:lt},{45:105,85:93,86:ot,87:st,89:ct,90:lt},{45:106,85:93,86:ot,87:st,89:ct,90:lt},{45:107,85:93,86:ot,87:st,89:ct,90:lt},{45:108,85:93,86:ot,87:st,89:ct,90:lt},{45:109,85:93,86:ot,87:st,89:ct,90:lt},{45:110,85:93,86:ot,87:st,89:ct,90:lt},{45:111,85:93,86:ot,87:st,89:ct,90:lt},{45:112,85:93,86:ot,87:st,89:ct,90:lt},{45:113,85:93,86:ot,87:st,89:ct,90:lt},{45:114,85:93,86:ot,87:st,89:ct,90:lt},{45:115,85:93,86:ot,87:st,89:ct,90:lt},{45:116,85:93,86:ot,87:st,89:ct,90:lt},e(ut,[2,66]),{45:117,85:93,86:ot,87:st,89:ct,90:lt},{45:118,85:93,86:ot,87:st,89:ct,90:lt},{45:119,85:93,86:ot,87:st,89:ct,90:lt},{45:120,85:93,86:ot,87:st,89:ct,90:lt},{45:121,85:93,86:ot,87:st,89:ct,90:lt},{45:122,85:93,86:ot,87:st,89:ct,90:lt},{45:123,85:93,86:ot,87:st,89:ct,90:lt},{45:124,85:93,86:ot,87:st,89:ct,90:lt},{45:125,85:93,86:ot,87:st,89:ct,90:lt},{45:126,85:93,86:ot,87:st,89:ct,90:lt},{45:127,85:93,86:ot,87:st,89:ct,90:lt},{30:128,39:58,40:70,42:71,44:v,46:y,47:w,48:T,49:k,50:C,51:E,53:32,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt},{15:[1,130],43:[1,129]},{45:131,85:93,86:ot,87:st,89:ct,90:lt},{45:132,85:93,86:ot,87:st,89:ct,90:lt},{45:133,85:93,86:ot,87:st,89:ct,90:lt},{45:134,85:93,86:ot,87:st,89:ct,90:lt},{45:135,85:93,86:ot,87:st,89:ct,90:lt},{45:136,85:93,86:ot,87:st,89:ct,90:lt},{45:137,85:93,86:ot,87:st,89:ct,90:lt},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},e(ht,[2,9]),{14:142,21:d},{21:[2,13]},{1:[2,15]},e(rt,[2,22]),e(it,[2,24],{31:31,29:143,32:A,33:p,34:g,36:m,38:b}),e(rt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:A,33:p,34:g,36:m,38:b,44:v,46:y,47:w,48:T,49:k,50:C,51:E,54:x,55:_,56:B,57:S,58:L,59:I,60:M,61:O,62:N,63:D,64:F,65:P,66:R,67:Q,68:U,69:H,70:j,71:$,72:K,73:G,74:z,75:X,76:q,77:V,78:W,79:Y,80:J,81:Z,82:tt,83:et,84:nt}),e(at,[2,28]),e(at,[2,29]),e(ut,[2,46]),e(ft,[2,78],{85:93,45:145,86:ot,87:st,89:ct,90:lt}),e(dt,[2,80]),{88:[1,146]},e(dt,[2,82]),e(dt,[2,83]),e(ut,[2,47]),e(ut,[2,48]),e(ut,[2,49]),e(ut,[2,50]),e(ut,[2,51]),e(ut,[2,52]),e(ut,[2,53]),e(ut,[2,54]),e(ut,[2,55]),e(ut,[2,56]),e(ut,[2,57]),e(ut,[2,58]),e(ut,[2,59]),e(ut,[2,60]),e(ut,[2,61]),e(ut,[2,62]),e(ut,[2,63]),e(ut,[2,64]),e(ut,[2,65]),e(ut,[2,67]),e(ut,[2,68]),e(ut,[2,69]),e(ut,[2,70]),e(ut,[2,71]),e(ut,[2,72]),e(ut,[2,73]),e(ut,[2,74]),e(ut,[2,75]),e(ut,[2,76]),e(ut,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},e(At,[2,35]),e(At,[2,36]),e(At,[2,37]),e(At,[2,38]),e(At,[2,39]),e(At,[2,40]),e(At,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},e(it,[2,25]),e(rt,[2,45]),e(ft,[2,79]),e(dt,[2,81]),e(ut,[2,31]),e(ut,[2,42]),e(pt,[2,32]),e(pt,[2,33],{15:[1,152]}),e(ht,[2,10]),e(pt,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},mt=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}},t);function bt(){this.yy={}}return gt.lexer=mt,bt.prototype=gt,gt.Parser=bt,new bt}();Att.parser=Att;const ptt=Att,gtt=t=>null!==t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/);let mtt=[],btt=[""],vtt="global",ytt="",wtt=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],Ttt=[],ktt="",Ctt=!1,Ett=4,xtt=2;var _tt;const Btt=function(t){return null==t?mtt:mtt.filter((e=>e.parentBoundary===t))},Stt=function(){return Ctt},Ltt={addPersonOrSystem:function(t,e,n,r,i,a,o){if(null===e||null===n)return;let s={};const c=mtt.find((t=>t.alias===e));if(c&&e===c.alias?s=c:(s.alias=e,mtt.push(s)),s.label=null==n?{text:""}:{text:n},null==r)s.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]={text:e}}else s.descr={text:r};if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.sprite=i;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=e}else s.link=o;s.typeC4Shape={text:t},s.parentBoundary=vtt,s.wrap=Stt()},addPersonOrSystemBoundary:function(t,e,n,r,i){if(null===t||null===e)return;let a={};const o=wtt.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,wtt.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.tags=r;if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.link=i;a.parentBoundary=vtt,a.wrap=Stt(),ytt=vtt,vtt=t,btt.push(ytt)},addContainer:function(t,e,n,r,i,a,o,s){if(null===e||null===n)return;let c={};const l=mtt.find((t=>t.alias===e));if(l&&e===l.alias?c=l:(c.alias=e,mtt.push(c)),c.label=null==n?{text:""}:{text:n},null==r)c.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.techn={text:r};if(null==i)c.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.descr={text:i};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=Stt(),c.typeC4Shape={text:t},c.parentBoundary=vtt},addContainerBoundary:function(t,e,n,r,i){if(null===t||null===e)return;let a={};const o=wtt.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,wtt.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.tags=r;if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.link=i;a.parentBoundary=vtt,a.wrap=Stt(),ytt=vtt,vtt=t,btt.push(ytt)},addComponent:function(t,e,n,r,i,a,o,s){if(null===e||null===n)return;let c={};const l=mtt.find((t=>t.alias===e));if(l&&e===l.alias?c=l:(c.alias=e,mtt.push(c)),c.label=null==n?{text:""}:{text:n},null==r)c.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.techn={text:r};if(null==i)c.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.descr={text:i};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=Stt(),c.typeC4Shape={text:t},c.parentBoundary=vtt},addDeploymentNode:function(t,e,n,r,i,a,o,s){if(null===e||null===n)return;let c={};const l=wtt.find((t=>t.alias===e));if(l&&e===l.alias?c=l:(c.alias=e,wtt.push(c)),c.label=null==n?{text:""}:{text:n},null==r)c.type={text:"node"};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.type={text:r};if(null==i)c.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.descr={text:i};if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.nodeType=t,c.parentBoundary=vtt,c.wrap=Stt(),ytt=vtt,vtt=e,btt.push(ytt)},popBoundaryParseStack:function(){vtt=ytt,btt.pop(),ytt=btt.pop(),btt.push(ytt)},addRel:function(t,e,n,r,i,a,o,s,c){if(null==t||null==e||null==n||null==r)return;let l={};const u=Ttt.find((t=>t.from===e&&t.to===n));if(u?l=u:Ttt.push(l),l.type=t,l.from=e,l.to=n,l.label={text:r},null==i)l.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.techn={text:i};if(null==a)l.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]={text:e}}else l.descr={text:a};if("object"==typeof o){let[t,e]=Object.entries(o)[0];l[t]=e}else l.sprite=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof c){let[t,e]=Object.entries(c)[0];l[t]=e}else l.link=c;l.wrap=Stt()},updateElStyle:function(t,e,n,r,i,a,o,s,c,l,u){let h=mtt.find((t=>t.alias===e));if(void 0!==h||(h=wtt.find((t=>t.alias===e)),void 0!==h)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];h[t]=e}else h.bgColor=n;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]=e}else h.fontColor=r;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]=e}else h.borderColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];h[t]=e}else h.shadowing=a;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.shape=o;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=e}else h.sprite=s;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];h[t]=e}else h.techn=c;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.legendText=l;if(null!=u)if("object"==typeof u){let[t,e]=Object.entries(u)[0];h[t]=e}else h.legendSprite=u}},updateRelStyle:function(t,e,n,r,i,a,o){const s=Ttt.find((t=>t.from===e&&t.to===n));if(void 0!==s){if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e}else s.textColor=r;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.lineColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=parseInt(e)}else s.offsetX=parseInt(a);if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=parseInt(e)}else s.offsetY=parseInt(o)}},updateLayoutConfig:function(t,e,n){let r=Ett,i=xtt;if("object"==typeof e){const t=Object.values(e)[0];r=parseInt(t)}else r=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];i=parseInt(t)}else i=parseInt(n);r>=1&&(Ett=r),i>=1&&(xtt=i)},autoWrap:Stt,setWrap:function(t){Ctt=t},getC4ShapeArray:Btt,getC4Shape:function(t){return mtt.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(Btt(t))},getBoundarys:function(t){return null==t?wtt:wtt.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return vtt},getParentBoundaryParse:function(){return ytt},getRels:function(){return Ttt},getTitle:function(){return ktt},getC4Type:function(){return _tt},getC4ShapeInRow:function(){return Ett},getC4BoundaryInRow:function(){return xtt},setAccTitle:f7,getAccTitle:d7,getAccDescription:p7,setAccDescription:A7,parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().c4,clear:function(){mtt=[],wtt=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],ytt="",vtt="global",btt=[""],Ttt=[],btt=[""],ktt="",Ctt=!1,Ett=4,xtt=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){let e=e6(t,R8());ktt=e},setC4Type:function(t){let e=e6(t,R8());_tt=e}},Itt=function(t,e){const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return"undefined"!==e.class&&n.attr("class",e.class),n},Mtt=function(t,e,n,r,i,a){const o=t.append("image");o.attr("width",e),o.attr("height",n),o.attr("x",r),o.attr("y",i);let s=a.startsWith("data:image/png;base64")?a:yU(a);o.attr("xlink:href",s)},Ott=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},Ntt=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),Dtt=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,a,o,s,c){const{fontSize:l,fontFamily:u,fontWeight:h}=c,f=t.split(s6.lineBreakRegex);for(let t=0;t<f.length;t++){const o=t*l-l*(f.length-1)/2,c=e.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",l).style("font-weight",h).style("font-family",u);c.append("tspan").attr("dy",o).text(f[t]).attr("alignment-baseline","mathematical"),r(c,s)}}function n(t,n,i,a,o,s,c,l){const u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,o,0,c,l),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),Ftt=function(t,e,n){const r=t.append("g");let i=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",o=e.fontColor?e.fontColor:"black",s={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(s={"stroke-width":1});let c={x:e.x,y:e.y,fill:i,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:s};Itt(r,c);let l=n.boundaryFont();l.fontWeight="bold",l.fontSize=l.fontSize+2,l.fontColor=o,Dtt(n)(e.label.text,r,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},l),e.type&&""!==e.type.text&&(l=n.boundaryFont(),l.fontColor=o,Dtt(n)(e.type.text,r,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},l)),e.descr&&""!==e.descr.text&&(l=n.boundaryFont(),l.fontSize=l.fontSize-2,l.fontColor=o,Dtt(n)(e.descr.text,r,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},l))},Ptt=function(t,e,n){var r;let i=e.bgColor?e.bgColor:n[e.typeC4Shape.text+"_bg_color"],a=e.borderColor?e.borderColor:n[e.typeC4Shape.text+"_border_color"],o=e.fontColor?e.fontColor:"#FFFFFF",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}const c=t.append("g");c.attr("class","person-man");const l=Ott();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":l.x=e.x,l.y=e.y,l.fill=i,l.width=e.width,l.height=e.height,l.stroke=a,l.rx=2.5,l.ry=2.5,l.attrs={"stroke-width":.5},Itt(c,l);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":c.append("path").attr("fill",i).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),c.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":c.append("path").attr("fill",i).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),c.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2))}let u=Ntt(n,e.typeC4Shape.text);switch(c.append("text").attr("fill",o).attr("font-family",u.fontFamily).attr("font-size",u.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":Mtt(c,48,48,e.x+e.width/2-24,e.y+e.image.Y,s)}let h=n[e.typeC4Shape.text+"Font"]();return h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=o,Dtt(n)(e.label.text,c,e.x,e.y+e.label.Y,e.width,e.height,{fill:o},h),h=n[e.typeC4Shape.text+"Font"](),h.fontColor=o,e.techn&&""!==(null==(r=e.techn)?void 0:r.text)?Dtt(n)(e.techn.text,c,e.x,e.y+e.techn.Y,e.width,e.height,{fill:o,"font-style":"italic"},h):e.type&&""!==e.type.text&&Dtt(n)(e.type.text,c,e.x,e.y+e.type.Y,e.width,e.height,{fill:o,"font-style":"italic"},h),e.descr&&""!==e.descr.text&&(h=n.personFont(),h.fontColor=o,Dtt(n)(e.descr.text,c,e.x,e.y+e.descr.Y,e.width,e.height,{fill:o},h)),e.height},Rtt=(t,e,n)=>{const r=t.append("g");let i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",a=t.lineColor?t.lineColor:"#444444",o=t.offsetX?parseInt(t.offsetX):0,s=t.offsetY?parseInt(t.offsetY):0,c="";if(0===i){let e=r.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",a),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)"),i=-1}else{let e=r.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",a).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)")}let l=n.messageFont();Dtt(n)(t.label.text,r,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+s,t.label.width,t.label.height,{fill:e},l),t.techn&&""!==t.techn.text&&(l=n.messageFont(),Dtt(n)("["+t.techn.text+"]",r,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+s,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},l))}},Qtt=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},Utt=function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},Htt=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},jtt=function(t){const e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},$tt=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},Ktt=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},Gtt=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")};let ztt=0,Xtt=0,qtt=4,Vtt=2;Att.yy=Ltt;let Wtt={};class Ytt{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,Jtt(t.db.getConfig())}setData(t,e,n,r){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=r}updateVal(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,r=this.nextData.starty+2*t.margin,i=r+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>qtt)&&(e=this.nextData.startx+t.margin+Wtt.nextLinePaddingX,r=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=r+t.height,this.nextData.cnt=1),t.x=e,t.y=r,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",r,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",r,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},Jtt(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const Jtt=function(t){o8(Wtt,t),t.fontFamily&&(Wtt.personFontFamily=Wtt.systemFontFamily=Wtt.messageFontFamily=t.fontFamily),t.fontSize&&(Wtt.personFontSize=Wtt.systemFontSize=Wtt.messageFontSize=t.fontSize),t.fontWeight&&(Wtt.personFontWeight=Wtt.systemFontWeight=Wtt.messageFontWeight=t.fontWeight)},Ztt=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),tet=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function eet(t,e,n,r,i){if(!e[t].width)if(n)e[t].text=b8(e[t].text,i,r),e[t].textLines=e[t].text.split(s6.lineBreakRegex).length,e[t].width=i,e[t].height=y8(e[t].text,r);else{let n=e[t].text.split(s6.lineBreakRegex);e[t].textLines=n.length;let i=0;e[t].height=0,e[t].width=0;for(const a of n)e[t].width=Math.max(w8(a,r),e[t].width),i=y8(a,r),e[t].height=e[t].height+i}}const net=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=Wtt.c4ShapeMargin-35;let r=e.wrap&&Wtt.wrap,i=tet(Wtt);i.fontSize=i.fontSize+2,i.fontWeight="bold",eet("label",e,r,i,w8(e.label.text,i)),Ftt(t,e,Wtt)},ret=function(t,e,n,r){let i=0;for(const a of r){i=0;const r=n[a];let o=Ztt(Wtt,r.typeC4Shape.text);switch(o.fontSize=o.fontSize-2,r.typeC4Shape.width=w8("<<"+r.typeC4Shape.text+">>",o),r.typeC4Shape.height=o.fontSize+2,r.typeC4Shape.Y=Wtt.c4ShapePadding,i=r.typeC4Shape.Y+r.typeC4Shape.height-4,r.image={width:0,height:0,Y:0},r.typeC4Shape.text){case"person":case"external_person":r.image.width=48,r.image.height=48,r.image.Y=i,i=r.image.Y+r.image.height}r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=i,i=r.image.Y+r.image.height);let s=r.wrap&&Wtt.wrap,c=Wtt.width-2*Wtt.c4ShapePadding,l=Ztt(Wtt,r.typeC4Shape.text);if(l.fontSize=l.fontSize+2,l.fontWeight="bold",eet("label",r,s,l,c),r.label.Y=i+8,i=r.label.Y+r.label.height,r.type&&""!==r.type.text){r.type.text="["+r.type.text+"]",eet("type",r,s,Ztt(Wtt,r.typeC4Shape.text),c),r.type.Y=i+5,i=r.type.Y+r.type.height}else if(r.techn&&""!==r.techn.text){r.techn.text="["+r.techn.text+"]",eet("techn",r,s,Ztt(Wtt,r.techn.text),c),r.techn.Y=i+5,i=r.techn.Y+r.techn.height}let u=i,h=r.label.width;if(r.descr&&""!==r.descr.text){eet("descr",r,s,Ztt(Wtt,r.typeC4Shape.text),c),r.descr.Y=i+20,i=r.descr.Y+r.descr.height,h=Math.max(r.label.width,r.descr.width),u=i-5*r.descr.textLines}h+=Wtt.c4ShapePadding,r.width=Math.max(r.width||Wtt.width,h,Wtt.width),r.height=Math.max(r.height||Wtt.height,u,Wtt.height),r.margin=r.margin||Wtt.c4ShapeMargin,t.insert(r),Ptt(e,r,Wtt)}t.bumpLastMargin(Wtt.c4ShapeMargin)};class iet{constructor(t,e){this.x=t,this.y=e}}let aet=function(t,e){let n=t.x,r=t.y,i=e.x,a=e.y,o=n+t.width/2,s=r+t.height/2,c=Math.abs(n-i),l=Math.abs(r-a),u=l/c,h=t.height/t.width,f=null;return r==a&&n<i?f=new iet(n+t.width,s):r==a&&n>i?f=new iet(n,s):n==i&&r<a?f=new iet(o,r+t.height):n==i&&r>a&&(f=new iet(o,r)),n>i&&r<a?f=h>=u?new iet(n,s+u*t.width/2):new iet(o-c/l*t.height/2,r+t.height):n<i&&r<a?f=h>=u?new iet(n+t.width,s+u*t.width/2):new iet(o+c/l*t.height/2,r+t.height):n<i&&r>a?f=h>=u?new iet(n+t.width,s-u*t.width/2):new iet(o+t.height/2*c/l,r):n>i&&r>a&&(f=h>=u?new iet(n,s-t.width/2*u):new iet(o-t.height/2*c/l,r)),f},oet=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let r=aet(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:r,endPoint:aet(e,n)}};function set(t,e,n,r,i){let a=new Ytt(i);a.data.widthLimit=n.data.widthLimit/Math.min(Vtt,r.length);for(let[o,s]of r.entries()){let r=0;s.image={width:0,height:0,Y:0},s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=r,r=s.image.Y+s.image.height);let c=s.wrap&&Wtt.wrap,l=tet(Wtt);if(l.fontSize=l.fontSize+2,l.fontWeight="bold",eet("label",s,c,l,a.data.widthLimit),s.label.Y=r+8,r=s.label.Y+s.label.height,s.type&&""!==s.type.text){s.type.text="["+s.type.text+"]",eet("type",s,c,tet(Wtt),a.data.widthLimit),s.type.Y=r+5,r=s.type.Y+s.type.height}if(s.descr&&""!==s.descr.text){let t=tet(Wtt);t.fontSize=t.fontSize-2,eet("descr",s,c,t,a.data.widthLimit),s.descr.Y=r+20,r=s.descr.Y+s.descr.height}if(0==o||o%Vtt==0){let t=n.data.startx+Wtt.diagramMarginX,e=n.data.stopy+Wtt.diagramMarginY+r;a.setData(t,t,e,e)}else{let t=a.data.stopx!==a.data.startx?a.data.stopx+Wtt.diagramMarginX:a.data.startx,e=a.data.starty;a.setData(t,t,e,e)}a.name=s.alias;let u=i.db.getC4ShapeArray(s.alias),h=i.db.getC4ShapeKeys(s.alias);h.length>0&&ret(a,t,u,h),e=s.alias;let f=i.db.getBoundarys(e);f.length>0&&set(t,e,a,f,i),"global"!==s.alias&&net(t,s,a),n.data.stopy=Math.max(a.data.stopy+Wtt.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+Wtt.c4ShapeMargin,n.data.stopx),ztt=Math.max(ztt,n.data.stopx),Xtt=Math.max(Xtt,n.data.stopy)}}const cet={drawPersonOrSystemArray:ret,drawBoundary:net,setConf:Jtt,draw:function(t,e,n,r){Wtt=R8().c4;const i=R8().securityLevel;let a;"sandbox"===i&&(a=i$("#i"+e));const o=i$("sandbox"===i?a.nodes()[0].contentDocument.body:"body");let s=r.db;r.db.setWrap(Wtt.wrap),qtt=s.getC4ShapeInRow(),Vtt=s.getC4BoundaryInRow(),W5.debug(`C:${JSON.stringify(Wtt,null,2)}`);const c="sandbox"===i?o.select(`[id="${e}"]`):i$(`[id="${e}"]`);Ktt(c),$tt(c),Gtt(c);let l=new Ytt(r);l.setData(Wtt.diagramMarginX,Wtt.diagramMarginX,Wtt.diagramMarginY,Wtt.diagramMarginY),l.data.widthLimit=screen.availWidth,ztt=Wtt.diagramMarginX,Xtt=Wtt.diagramMarginY;const u=r.db.getTitle();set(c,"",l,r.db.getBoundarys(""),r),Qtt(c),Utt(c),jtt(c),Htt(c),function(t,e,n,r){let i=0;for(let t of e){i+=1;let e=t.wrap&&Wtt.wrap,o={fontFamily:(a=Wtt).messageFontFamily,fontSize:a.messageFontSize,fontWeight:a.messageFontWeight};"C4Dynamic"===r.db.getC4Type()&&(t.label.text=i+": "+t.label.text);let s=w8(t.label.text,o);eet("label",t,e,o,s),t.techn&&""!==t.techn.text&&(s=w8(t.techn.text,o),eet("techn",t,e,o,s)),t.descr&&""!==t.descr.text&&(s=w8(t.descr.text,o),eet("descr",t,e,o,s));let c=n(t.from),l=n(t.to),u=oet(c,l);t.startPoint=u.startPoint,t.endPoint=u.endPoint}var a;Rtt(t,e,Wtt)}(c,r.db.getRels(),r.db.getC4Shape,r),l.data.stopx=ztt,l.data.stopy=Xtt;const h=l.data;let f=h.stopy-h.starty+2*Wtt.diagramMarginY;const d=h.stopx-h.startx+2*Wtt.diagramMarginX;u&&c.append("text").text(u).attr("x",(h.stopx-h.startx)/2-4*Wtt.diagramMarginX).attr("y",h.starty+Wtt.diagramMarginY),G8(c,f,d,Wtt.useMaxWidth);const A=u?60:0;c.attr("viewBox",h.startx-Wtt.diagramMarginX+" -"+(Wtt.diagramMarginY+A)+" "+d+" "+(f+A)),W5.debug("models:",h)}};var uet=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,3],r=[1,7],i=[1,8],a=[1,9],o=[1,10],s=[1,13],c=[1,12],l=[1,16,25],u=[1,20],h=[1,32],f=[1,33],d=[1,34],A=[1,36],p=[1,39],g=[1,37],m=[1,38],b=[1,44],v=[1,45],y=[1,40],w=[1,41],T=[1,42],k=[1,43],C=[1,48],E=[1,49],x=[1,50],_=[1,51],B=[16,25],S=[1,65],L=[1,66],I=[1,67],M=[1,68],O=[1,69],N=[1,70],D=[1,71],F=[1,80],P=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],R=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],Q=[5,8,9,10,11,16,19,23,25],U=[54,88,89,90,91],H=[54,65,66,88,89,90,91],j=[54,60,61,62,63,64,88,89,90,91],$=[16,25,32],K=[1,107],G={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,noteStatement:38,acc_title:39,acc_title_value:40,acc_descr:41,acc_descr_value:42,acc_descr_multiline_value:43,CLASS:44,STYLE_SEPARATOR:45,STRUCT_START:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,"==":81,"--":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",39:"acc_title",40:"acc_title_value",41:"acc_descr",42:"acc_descr_value",43:"acc_descr_multiline_value",44:"CLASS",45:"STYLE_SEPARATOR",46:"STRUCT_START",48:"STRUCT_STOP",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"STR",55:"NOTE_FOR",57:"NOTE",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"CSSCLASS",77:"graphCodeTokens",79:"TAGSTART",80:"TAGEND",81:"==",82:"--",83:"PCT",84:"DEFAULT",85:"SPACE",86:"MINUS",87:"keywords",88:"UNICODE_TEXT",89:"NUM",90:"ALPHA",91:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setDirection("TB");break;case 6:r.setDirection("BT");break;case 7:r.setDirection("RL");break;case 8:r.setDirection("LR");break;case 12:r.parseDirective("%%{","open_directive");break;case 13:r.parseDirective(a[s],"type_directive");break;case 14:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 15:r.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=a[s];break;case 22:this.$=a[s-1]+a[s];break;case 23:case 24:this.$=a[s-1]+"~"+a[s];break;case 25:r.addRelation(a[s]);break;case 26:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 35:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 36:case 37:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 38:r.addClass(a[s]);break;case 39:r.addClass(a[s-2]),r.setCssClass(a[s-2],a[s]);break;case 40:r.addClass(a[s-3]),r.addMembers(a[s-3],a[s-1]);break;case 41:r.addClass(a[s-5]),r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 42:r.addAnnotation(a[s],a[s-2]);break;case 43:this.$=[a[s]];break;case 44:a[s].push(a[s-1]),this.$=a[s];break;case 45:case 47:case 48:break;case 46:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 49:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 51:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 52:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 53:r.addNote(a[s],a[s-1]);break;case 54:r.addNote(a[s]);break;case 55:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 56:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 57:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 58:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 59:this.$=r.relationType.AGGREGATION;break;case 60:this.$=r.relationType.EXTENSION;break;case 61:this.$=r.relationType.COMPOSITION;break;case 62:this.$=r.relationType.DEPENDENCY;break;case 63:this.$=r.relationType.LOLLIPOP;break;case 64:this.$=r.lineType.LINE;break;case 65:this.$=r.lineType.DOTTED_LINE;break;case 66:case 72:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 67:case 73:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 68:case 76:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 69:case 77:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 70:case 78:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 71:case 79:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 74:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 75:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 80:r.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:n,6:4,7:5,8:r,9:i,10:a,11:o,12:6,13:11,19:s,23:c},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:n,6:4,7:5,8:r,9:i,10:a,11:o,12:6,13:11,19:s,23:c},{1:[2,9]},e(l,[2,5]),e(l,[2,6]),e(l,[2,7]),e(l,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:u},e([17,22],[2,13]),{6:31,7:30,8:r,9:i,10:a,11:o,13:11,19:s,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:h,41:f,43:d,44:A,49:p,51:g,52:m,55:b,57:v,67:y,68:w,70:T,74:k,88:C,89:E,90:x,91:_},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},e(B,[2,25],{32:[1,57]}),e(B,[2,27]),e(B,[2,28]),e(B,[2,29]),e(B,[2,30]),e(B,[2,31]),e(B,[2,32]),e(B,[2,33]),e(B,[2,34]),{40:[1,58]},{42:[1,59]},e(B,[2,37]),e(B,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:S,61:L,62:I,63:M,64:O,65:N,66:D}),{27:72,28:46,29:47,88:C,89:E,90:x,91:_},e(B,[2,47]),e(B,[2,48]),{28:73,88:C,89:E,90:x},{27:74,28:46,29:47,88:C,89:E,90:x,91:_},{27:75,28:46,29:47,88:C,89:E,90:x,91:_},{27:76,28:46,29:47,88:C,89:E,90:x,91:_},{54:[1,77]},{27:78,28:46,29:47,88:C,89:E,90:x,91:_},{54:F,56:79},e(P,[2,20],{28:46,29:47,27:81,30:[1,82],88:C,89:E,90:x,91:_}),e(P,[2,21],{30:[1,83]}),e(R,[2,94]),e(R,[2,95]),e(R,[2,96]),e([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),e(Q,[2,10]),{15:84,22:u},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:r,9:i,10:a,11:o,13:11,19:s,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:h,41:f,43:d,44:A,49:p,51:g,52:m,55:b,57:v,67:y,68:w,70:T,74:k,88:C,89:E,90:x,91:_},e(B,[2,26]),e(B,[2,35]),e(B,[2,36]),{27:86,28:46,29:47,54:[1,87],88:C,89:E,90:x,91:_},{53:88,58:63,59:64,60:S,61:L,62:I,63:M,64:O,65:N,66:D},e(B,[2,46]),{59:89,65:N,66:D},e(U,[2,58],{58:90,60:S,61:L,62:I,63:M,64:O}),e(H,[2,59]),e(H,[2,60]),e(H,[2,61]),e(H,[2,62]),e(H,[2,63]),e(j,[2,64]),e(j,[2,65]),e(B,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:C,89:E,90:x},{54:F,56:99},e(B,[2,54]),e(B,[2,98]),e(P,[2,22]),e(P,[2,23]),e(P,[2,24]),{16:[1,100]},{25:[2,19]},e($,[2,49]),{27:101,28:46,29:47,88:C,89:E,90:x,91:_},{27:102,28:46,29:47,54:[1,103],88:C,89:E,90:x,91:_},e(U,[2,57],{58:104,60:S,61:L,62:I,63:M,64:O}),e(U,[2,56]),{28:105,88:C,89:E,90:x},{47:106,51:K},{27:108,28:46,29:47,88:C,89:E,90:x,91:_},e(B,[2,66],{54:[1,109]}),e(B,[2,68],{54:[1,111],69:[1,110]}),e(B,[2,72],{54:[1,112],72:[1,113]}),e(B,[2,76],{54:[1,115],69:[1,114]}),e(B,[2,80]),e(B,[2,53]),e(Q,[2,11]),e($,[2,51]),e($,[2,50]),{27:116,28:46,29:47,88:C,89:E,90:x,91:_},e(U,[2,55]),e(B,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:K},e(B,[2,42]),e(B,[2,67]),e(B,[2,69]),e(B,[2,70],{69:[1,120]}),e(B,[2,73]),e(B,[2,74],{54:[1,121]}),e(B,[2,77]),e(B,[2,78],{69:[1,122]}),e($,[2,52]),{47:123,51:K},e(B,[2,40]),{48:[2,44]},e(B,[2,71]),e(B,[2,75]),e(B,[2,79]),{48:[1,124]},e(B,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},z=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 27:break;case 11:return this.begin("acc_title"),39;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),41;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 39:case 42:case 45:case 48:case 51:case 54:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),46;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),48;case 28:return"MEMBER";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin("generic");break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 43:return"STR";case 44:this.begin("bqstring");break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 49:return 73;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 71;case 55:return 72;case 56:case 57:case 58:case 59:return 69;case 60:case 61:return 61;case 62:case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return"DOT";case 73:return"PLUS";case 74:return 83;case 75:case 76:return"EQUALS";case 77:return 90;case 78:return"PUNCTUATION";case 79:return 89;case 80:return 88;case 81:return 85;case 82:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],inclusive:!0}}},t);function X(){this.yy={}}return G.lexer=z,X.prototype=G,G.Parser=X,new X}();uet.parser=uet;const het=uet,fet=(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*classDiagram/)},det=(t,e)=>{var n;return null!==t.match(/^\s*classDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)||null!==t.match(/^\s*classDiagram-v2/)},Aet="classid-";let pet=[],get={},met=[],bet=0,vet=[];const yet=t=>s6.sanitizeText(t,R8()),wet=function(t){let e="",n=t;if(t.indexOf("~")>0){let r=t.split("~");n=r[0],e=s6.sanitizeText(r[1],R8())}return{className:n,type:e}},Tet=function(t){let e=wet(t);void 0===get[e.className]&&(get[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:Aet+e.className+"-"+bet},bet++)},ket=function(t){const e=Object.keys(get);for(const n of e)if(get[n].id===t)return get[n].domId},Cet=function(t,e){const n=wet(t).className,r=get[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?r.annotations.push(yet(t.substring(2,t.length-2))):t.indexOf(")")>0?r.methods.push(yet(t)):t&&r.members.push(yet(t))}},Eet=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=Aet+n),void 0!==get[n]&&get[n].cssClasses.push(e)}))},xet=function(t,e,n){const r=R8();let i=t,a=ket(i);if("loose"===r.securityLevel&&void 0!==e&&void 0!==get[i]){let t=[];if("string"==typeof n){t=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<t.length;e++){let n=t[e].trim();'"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substr(1,n.length-2)),t[e]=n}}0===t.length&&t.push(a),vet.push((function(){const n=document.querySelector(`[id="${a}"]`);null!==n&&n.addEventListener("click",(function(){B8.runFunc(e,...t)}),!1)}))}},_et=function(t){let e=i$(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=i$("body").append("div").attr("class","mermaidTooltip").style("opacity",0));i$(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=i$(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0);i$(this).classed("hover",!1)}))};vet.push(_et);let Bet="TB";const Let={parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},setAccTitle:f7,getAccTitle:d7,getAccDescription:p7,setAccDescription:A7,getConfig:()=>R8().class,addClass:Tet,bindFunctions:function(t){vet.forEach((function(e){e(t)}))},clear:function(){pet=[],get={},met=[],vet=[],vet.push(_et),h7()},getClass:function(t){return get[t]},getClasses:function(){return get},getNotes:function(){return met},addAnnotation:function(t,e){const n=wet(t).className;get[n].annotations.push(e)},addNote:function(t,e){const n={id:`note${met.length}`,class:e,text:t};met.push(n)},getRelations:function(){return pet},addRelation:function(t){W5.debug("Adding relation: "+JSON.stringify(t)),Tet(t.id1),Tet(t.id2),t.id1=wet(t.id1).className,t.id2=wet(t.id2).className,t.relationTitle1=s6.sanitizeText(t.relationTitle1.trim(),R8()),t.relationTitle2=s6.sanitizeText(t.relationTitle2.trim(),R8()),pet.push(t)},getDirection:()=>Bet,setDirection:t=>{Bet=t},addMember:Cet,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>Cet(t,e))))},cleanupLabel:function(t){return":"===t.substring(0,1)?s6.sanitizeText(t.substr(1).trim(),R8()):yet(t.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){xet(t,e,n),get[t].haveCallback=!0})),Eet(t,"clickable")},setCssClass:Eet,setLink:function(t,e,n){const r=R8();t.split(",").forEach((function(t){let i=t;t[0].match(/\d/)&&(i=Aet+i),void 0!==get[i]&&(get[i].link=B8.formatUrl(e,r),"sandbox"===r.securityLevel?get[i].linkTarget="_top":get[i].linkTarget="string"==typeof n?yet(n):"_blank")})),Eet(t,"clickable")},getTooltip:function(t){return get[t].tooltip},setTooltip:function(t,e){const n=R8();t.split(",").forEach((function(t){void 0!==e&&(get[t].tooltip=s6.sanitizeText(e,n))}))},lookUpDomId:ket,setDiagramTitle:g7,getDiagramTitle:m7};let Iet=0;const Met=function(t){let e=t.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),n=t.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return e&&!n?Oet(e):n?Net(n):Det(t)},Oet=function(t){let e="",n="";try{let r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",a=t[3]?o6(t[3].trim()):"",o=t[4]?t[4].trim():"",s=t[5]?t[5].trim():"";n=r+i+a+" "+o,e=Pet(s)}catch(e){n=t}return{displayText:n,cssStyle:e}},Net=function(t){let e="",n="";try{let r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",a=t[3]?o6(t[3].trim()):"",o=t[4]?t[4].trim():"";n=r+i+"("+a+")"+(t[5]?" : "+o6(t[5]).trim():""),e=Pet(o)}catch(e){n=t}return{displayText:n,cssStyle:e}},Det=function(t){let e="",n="",r="",i=t.indexOf("("),a=t.indexOf(")");if(i>1&&a>i&&a<=t.length){let o="",s="",c=t.substring(0,1);c.match(/\w/)?s=t.substring(0,i).trim():(c.match(/[#+~-]/)&&(o=c),s=t.substring(1,i).trim());const l=t.substring(i+1,a);t.substring(a+1,1),n=Pet(t.substring(a+1,a+2)),e=o+s+"("+o6(l.trim())+")",a<t.length&&(r=t.substring(a+2).trim(),""!==r&&(r=" : "+o6(r),e+=r))}else e=o6(t);return{displayText:e,cssStyle:n}},Fet=function(t,e,n,r){let i=Met(e);const a=t.append("tspan").attr("x",r.padding).text(i.displayText);""!==i.cssStyle&&a.attr("style",i.cssStyle),n||a.attr("dy",r.textHeight)},Pet=function(t){switch(t){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},Ret=function(t,e,n,r){W5.debug("Rendering class ",e,n);const i=e.id,a={id:i,label:e.id,width:0,height:0},o=t.append("g").attr("id",r.db.lookUpDomId(i)).attr("class","classGroup");let s;s=e.link?o.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);let c=!0;e.annotations.forEach((function(t){const e=s.append("tspan").text("«"+t+"»");c||e.attr("dy",n.textHeight),c=!1}));let l=e.id;void 0!==e.type&&""!==e.type&&(l+="<"+e.type+">");const u=s.append("tspan").text(l).attr("class","title");c||u.attr("dy",n.textHeight);const h=s.node().getBBox().height,f=o.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin/2).attr("y2",n.padding+h+n.dividerMargin/2),d=o.append("text").attr("x",n.padding).attr("y",h+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.members.forEach((function(t){Fet(d,t,c,n),c=!1}));const A=d.node().getBBox(),p=o.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin+A.height).attr("y2",n.padding+h+n.dividerMargin+A.height),g=o.append("text").attr("x",n.padding).attr("y",h+2*n.dividerMargin+A.height+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.methods.forEach((function(t){Fet(g,t,c,n),c=!1}));const m=o.node().getBBox();var b=" ";e.cssClasses.length>0&&(b+=e.cssClasses.join(" "));const v=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*n.padding).attr("height",m.height+n.padding+.5*n.dividerMargin).attr("class",b).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(v-t.getBBox().width)/2)})),e.tooltip&&s.insert("title").text(e.tooltip),f.attr("x2",v),p.attr("x2",v),a.width=v,a.height=m.height+n.padding+.5*n.dividerMargin,a},Qet=function(t,e,n,r,i){const a=function(t){switch(t){case i.db.relationType.AGGREGATION:return"aggregation";case i.db.relationType.EXTENSION:return"extension";case i.db.relationType.COMPOSITION:return"composition";case i.db.relationType.DEPENDENCY:return"dependency";case i.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const o=e.points,s=SV().x((function(t){return t.x})).y((function(t){return t.y})).curve(FV),c=t.append("path").attr("d",s(o)).attr("id","edge"+Iet).attr("class","relation");let l,u,h="";r.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),1==n.relation.lineType&&c.attr("class","relation dashed-line"),10==n.relation.lineType&&c.attr("class","relation dotted-line"),"none"!==n.relation.type1&&c.attr("marker-start","url("+h+"#"+a(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&c.attr("marker-end","url("+h+"#"+a(n.relation.type2)+"End)");const f=e.points.length;let d,A,p,g,m=B8.calcLabelPosition(e.points);if(l=m.x,u=m.y,f%2!=0&&f>1){let t=B8.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),r=B8.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[f-1]);W5.debug("cardinality_1_point "+JSON.stringify(t)),W5.debug("cardinality_2_point "+JSON.stringify(r)),d=t.x,A=t.y,p=r.x,g=r.y}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",l).attr("y",u).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=i;const a=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",a.x-r.padding/2).attr("y",a.y-r.padding/2).attr("width",a.width+r.padding).attr("height",a.height+r.padding)}if(W5.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1){t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",d).attr("y",A).attr("fill","black").attr("font-size","6").text(n.relationTitle1)}if(void 0!==n.relationTitle2&&"none"!==n.relationTitle2){t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",p).attr("y",g).attr("fill","black").attr("font-size","6").text(n.relationTitle2)}Iet++},Uet=function(t,e,n,r){W5.debug("Rendering note ",e,n);const i=e.id,a={id:i,text:e.text,width:0,height:0},o=t.append("g").attr("id",i).attr("class","classGroup");let s=o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const c=JSON.parse(`"${e.text}"`).split("\n");c.forEach((function(t){W5.debug(`Adding line: ${t}`),s.append("tspan").text(t).attr("class","title").attr("dy",n.textHeight)}));const l=o.node().getBBox(),u=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",l.width+2*n.padding).attr("height",l.height+c.length*n.textHeight+n.padding+.5*n.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(u-t.getBBox().width)/2)})),a.width=u,a.height=l.height+c.length*n.textHeight+n.padding+.5*n.dividerMargin,a};let Het={};const jet=function(t){const e=Object.entries(Het).find((e=>e[1].label===t));if(e)return e[0]},$et={draw:function(t,e,n,r){const i=R8().class;Het={},W5.info("Rendering diagram "+t);const a=R8().securityLevel;let o;"sandbox"===a&&(o=i$("#i"+e));const s=i$("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),c=s.select(`[id='${e}']`);var l;(l=c).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),l.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),l.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),l.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),l.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),l.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),l.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),l.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");const u=new c3({multigraph:!0});u.setGraph({isMultiGraph:!0}),u.setDefaultEdgeLabel((function(){return{}}));const h=r.db.getClasses(),f=Object.keys(h);for(const t of f){const e=h[t],n=Ret(c,e,i,r);Het[n.id]=n,u.setNode(n.id,n),W5.info("Org height: "+n.height)}r.db.getRelations().forEach((function(t){W5.info("tjoho"+jet(t.id1)+jet(t.id2)+JSON.stringify(t)),u.setEdge(jet(t.id1),jet(t.id2),{relation:t},t.title||"DEFAULT")}));r.db.getNotes().forEach((function(t){W5.debug(`Adding note: ${JSON.stringify(t)}`);const e=Uet(c,t,i,r);Het[e.id]=e,u.setNode(e.id,e),t.class&&t.class in h&&u.setEdge(t.id,jet(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),k5(u),u.nodes().forEach((function(t){void 0!==t&&void 0!==u.node(t)&&(W5.debug("Node "+t+": "+JSON.stringify(u.node(t))),s.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(u.node(t).x-u.node(t).width/2)+","+(u.node(t).y-u.node(t).height/2)+" )"))})),u.edges().forEach((function(t){void 0!==t&&void 0!==u.edge(t)&&(W5.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(u.edge(t))),Qet(c,u.edge(t),u.edge(t).relation,i,r))}));const d=c.node().getBBox(),A=d.width+40,p=d.height+40;G8(c,p,A,i.useMaxWidth);const g=`${d.x-20} ${d.y-20} ${A} ${p}`;W5.debug(`viewBox ${g}`),c.attr("viewBox",g)}},Ket={extension:(t,e,n)=>{W5.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(t,e)=>{t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e)=>{t.append("marker").attr("id",e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e)=>{t.append("marker").attr("id",e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},Get=(t,e,n,r)=>{e.forEach((e=>{Ket[e](t,n,r)}))};const zet=(t,e,n,r)=>{let i=t||"";if("object"==typeof i&&(i=i[0]),a6(R8().flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"<br />"),W5.info("vertexText"+i);let t=function(t){const e=i$(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=e.append("xhtml:div"),r=t.label,i=t.isNode?"nodeLabel":"edgeLabel";var a,o;return n.html('<span class="'+i+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+r+"</span>"),a=n,(o=t.labelStyle)&&a.attr("style",o),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:r,label:Hct(i).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")});return t}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let r=[];r="string"==typeof i?i.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(i)?i:[];for(const e of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),n?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=e.trim(),t.appendChild(r)}return t}},Xet=(t,e,n,r)=>{let i;i=n||"node default";const a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),o=a.insert("g").attr("class","label").attr("style",e.labelStyle);let s;s=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const c=o.node().appendChild(zet(e6(Hct(s),R8()),e.labelStyle,!1,r));let l=c.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=c.children[0],e=i$(c);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}const u=e.padding/2;return o.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),{shapeSvg:a,bbox:l,halfPadding:u,label:o}},qet=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height};function Vet(t,e,n,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+n/2+")")}let Wet={},Yet={},Jet={};const Zet=(t,e)=>(W5.trace("In isDecendant",e," ",t," = ",Yet[e].includes(t)),!!Yet[e].includes(t)),tnt=(t,e,n,r)=>{W5.warn("Copying children of ",t,"root",r,"data",e.node(t),r);const i=e.children(t)||[];t!==r&&i.push(t),W5.warn("Copying (nodes) clusterId",t,"nodes",i),i.forEach((i=>{if(e.children(i).length>0)tnt(i,e,n,r);else{const a=e.node(i);W5.info("cp ",i," to ",r," with parent ",t),n.setNode(i,a),r!==e.parent(i)&&(W5.warn("Setting parent",i,e.parent(i)),n.setParent(i,e.parent(i))),t!==r&&i!==t?(W5.debug("Setting parent",i,t),n.setParent(i,t)):(W5.info("In copy ",t,"root",r,"data",e.node(t),r),W5.debug("Not Setting parent for node=",i,"cluster!==rootId",t!==r,"node!==clusterId",i!==t));const o=e.edges(i);W5.debug("Copying Edges",o),o.forEach((i=>{W5.info("Edge",i);const a=e.edge(i.v,i.w,i.name);W5.info("Edge data",a,r);try{((t,e)=>(W5.info("Decendants of ",e," is ",Yet[e]),W5.info("Edge is ",t),t.v!==e&&t.w!==e&&(Yet[e]?Yet[e].includes(t.v)||Zet(t.v,e)||Zet(t.w,e)||Yet[e].includes(t.w):(W5.debug("Tilt, ",e,",not in decendants"),!1))))(i,r)?(W5.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),W5.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):W5.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",t)}catch(t){W5.error(t)}}))}W5.debug("Removing node",i),e.removeNode(i)}))},ent=(t,e)=>{const n=e.children(t);let r=[...n];for(const i of n)Jet[i]=t,r=[...r,...ent(i,e)];return r},nnt=(t,e)=>{W5.trace("Searching",t);const n=e.children(t);if(W5.trace("Searching children of id ",t,n),n.length<1)return W5.trace("This is a valid node",t),t;for(const r of n){const n=nnt(r,e);if(n)return W5.trace("Found replacement for",t," => ",n),n}},rnt=t=>Wet[t]&&Wet[t].externalConnections&&Wet[t]?Wet[t].id:t,int=(t,e)=>{if(W5.warn("extractor - ",e,N5(t),t.children("D")),e>10)return void W5.error("Bailing out");let n=t.nodes(),r=!1;for(const e of n){const n=t.children(e);r=r||n.length>0}if(r){W5.debug("Nodes = ",n,e);for(const r of n)if(W5.debug("Extracting node",r,Wet,Wet[r]&&!Wet[r].externalConnections,!t.parent(r),t.node(r),t.children("D")," Depth ",e),Wet[r])if(!Wet[r].externalConnections&&t.children(r)&&t.children(r).length>0){W5.warn("Cluster without external connections, without a parent and with children",r,e);let n="TB"===t.graph().rankdir?"LR":"TB";Wet[r]&&Wet[r].clusterData&&Wet[r].clusterData.dir&&(n=Wet[r].clusterData.dir,W5.warn("Fixing dir",Wet[r].clusterData.dir,n));const i=new c3({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));W5.warn("Old graph before copy",N5(t)),tnt(r,t,i,r),t.setNode(r,{clusterNode:!0,id:r,clusterData:Wet[r].clusterData,labelText:Wet[r].labelText,graph:i}),W5.warn("New graph after copy node: (",r,")",N5(i)),W5.debug("Old graph after copy",N5(t))}else W5.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!Wet[r].externalConnections," no parent: ",!t.parent(r)," children ",t.children(r)&&t.children(r).length>0,t.children("D"),e),W5.debug(Wet);else W5.debug("Not a cluster",r,e);n=t.nodes(),W5.warn("New list of nodes",n);for(const r of n){const n=t.node(r);W5.warn(" Now next level",r,n),n.clusterNode&&int(n.graph,e+1)}}else W5.debug("Done, no node has children",t.nodes())},ant=(t,e)=>{if(0===e.length)return[];let n=Object.assign(e);return e.forEach((e=>{const r=t.children(e),i=ant(t,r);n=[...n,...i]})),n};function ont(t,e,n,r){var i=t.x,a=t.y,o=i-r.x,s=a-r.y,c=Math.sqrt(e*e*s*s+n*n*o*o),l=Math.abs(e*n*o/c);r.x<i&&(l=-l);var u=Math.abs(e*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}}function snt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g;if(i=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=i*n.x+o*n.y+c,d=i*r.x+o*r.y+c,!(0!==f&&0!==d&&cnt(f,d)||(a=r.y-n.y,s=n.x-r.x,l=r.x*n.y-n.x*r.y,u=a*t.x+s*t.y+l,h=a*e.x+s*e.y+l,0!==u&&0!==h&&cnt(u,h)||0==(A=i*s-a*o))))return p=Math.abs(A/2),{x:(g=o*l-s*c)<0?(g-p)/A:(g+p)/A,y:(g=a*c-i*l)<0?(g-p)/A:(g+p)/A}}function cnt(t,e){return t*e>0}const lnt=(t,e)=>{var n,r,i=t.x,a=t.y,o=e.x-i,s=e.y-a,c=t.width/2,l=t.height/2;return Math.abs(s)*c>Math.abs(o)*l?(s<0&&(l=-l),n=0===s?0:l*o/s,r=l):(o<0&&(c=-c),n=c,r=0===o?0:c*s/o),{x:i+n,y:a+r}},unt={node:function(t,e){return t.intersect(e)},circle:function(t,e,n){return ont(t,e,e,n)},ellipse:ont,polygon:function(t,e,n){var r=t.x,i=t.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){o=Math.min(o,t.x),s=Math.min(s,t.y)})):(o=Math.min(o,e.x),s=Math.min(s,e.y));for(var c=r-t.width/2-o,l=i-t.height/2-s,u=0;u<e.length;u++){var h=e[u],f=e[u<e.length-1?u+1:0],d=snt(t,n,{x:c+h.x,y:l+h.y},{x:c+f.x,y:l+f.y});d&&a.push(d)}return a.length?(a.length>1&&a.sort((function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1})),a[0]):t},rect:lnt},hnt=(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=Xet(t,e,"node "+e.classes,!0);W5.info("Classes = ",e.classes);const a=n.insert("rect",":first-child");return a.attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-i).attr("y",-r.height/2-i).attr("width",r.width+e.padding).attr("height",r.height+e.padding),qet(e,a),e.intersect=function(t){return unt.rect(e,t)},n},fnt=(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding+(r.height+e.padding),a=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];W5.info("Question main (Circle)");const o=Vet(n,i,i,a);return o.attr("style",e.style),qet(e,o),e.intersect=function(t){return W5.warn("Intersect called"),unt.polygon(e,a,t)},n};function dnt(t,e,n,r){const i=[],a=t=>{i.push(t,0)},o=t=>{i.push(0,t)};e.includes("t")?(W5.debug("add top border"),a(n)):o(n),e.includes("r")?(W5.debug("add right border"),a(r)):o(r),e.includes("b")?(W5.debug("add bottom border"),a(n)):o(n),e.includes("l")?(W5.debug("add left border"),a(r)):o(r),t.attr("stroke-dasharray",i.join(" "))}const Ant=(t,e,n)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let i=70,a=10;"LR"===n&&(i=10,a=70);const o=r.append("rect").attr("x",-1*i/2).attr("y",-1*a/2).attr("width",i).attr("height",a).attr("class","fork-join");return qet(e,o),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return unt.rect(e,t)},r},pnt={rhombus:fnt,question:fnt,rect:(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=Xet(t,e,"node "+e.classes,!0);W5.trace("Classes = ",e.classes);const a=n.insert("rect",":first-child"),o=r.width+e.padding,s=r.height+e.padding;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-i).attr("y",-r.height/2-i).attr("width",o).attr("height",s),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(dnt(a,e.props.borders,o,s),t.delete("borders")),t.forEach((t=>{W5.warn(`Unknown node property ${t}`)}))}return qet(e,a),e.intersect=function(t){return unt.rect(e,t)},n},labelRect:(t,e)=>{const{shapeSvg:n}=Xet(t,e,"label",!0);W5.trace("Classes = ",e.classes);const r=n.insert("rect",":first-child");if(r.attr("width",0).attr("height",0),n.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(dnt(r,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{W5.warn(`Unknown node property ${t}`)}))}return qet(e,r),e.intersect=function(t){return unt.rect(e,t)},n},rectWithTitle:(t,e)=>{let n;n=e.classes?"node "+e.classes:"node default";const r=t.insert("g").attr("class",n).attr("id",e.domId||e.id),i=r.insert("rect",":first-child"),a=r.insert("line"),o=r.insert("g").attr("class","label"),s=e.labelText.flat?e.labelText.flat():e.labelText;let c="";c="object"==typeof s?s[0]:s,W5.info("Label text abc79",c,s,"object"==typeof s);const l=o.node().appendChild(zet(c,e.labelStyle,!0,!0));let u={width:0,height:0};if(a6(R8().flowchart.htmlLabels)){const t=l.children[0],e=i$(l);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}W5.info("Text 2",s);const h=s.slice(1,s.length);let f=l.getBBox();const d=o.node().appendChild(zet(h.join?h.join("<br/>"):h,e.labelStyle,!0,!0));if(a6(R8().flowchart.htmlLabels)){const t=d.children[0],e=i$(d);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}const A=e.padding/2;return i$(d).attr("transform","translate( "+(u.width>f.width?0:(f.width-u.width)/2)+", "+(f.height+A+5)+")"),i$(l).attr("transform","translate( "+(u.width<f.width?0:-(f.width-u.width)/2)+", 0)"),u=o.node().getBBox(),o.attr("transform","translate("+-u.width/2+", "+(-u.height/2-A+3)+")"),i.attr("class","outer title-state").attr("x",-u.width/2-A).attr("y",-u.height/2-A).attr("width",u.width+e.padding).attr("height",u.height+e.padding),a.attr("class","divider").attr("x1",-u.width/2-A).attr("x2",u.width/2+A).attr("y1",-u.height/2-A+f.height+A).attr("y2",-u.height/2-A+f.height+A),qet(e,i),e.intersect=function(t){return unt.rect(e,t)},r},choice:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return n.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return unt.circle(e,14,t)},n},circle:(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=Xet(t,e,void 0,!0),a=n.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+i).attr("width",r.width+e.padding).attr("height",r.height+e.padding),W5.info("Circle main"),qet(e,a),e.intersect=function(t){return W5.info("Circle intersect",e,r.width/2+i,t),unt.circle(e,r.width/2+i,t)},n},doublecircle:(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=Xet(t,e,void 0,!0),a=n.insert("g",":first-child"),o=a.insert("circle"),s=a.insert("circle");return o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+i+5).attr("width",r.width+e.padding+10).attr("height",r.height+e.padding+10),s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+i).attr("width",r.width+e.padding).attr("height",r.height+e.padding),W5.info("DoubleCircle main"),qet(e,o),e.intersect=function(t){return W5.info("DoubleCircle intersect",e,r.width/2+i+5,t),unt.circle(e,r.width/2+i+5,t)},n},stadium:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.height+e.padding,a=r.width+i/4+e.padding,o=n.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-a/2).attr("y",-i/2).attr("width",a).attr("height",i);return qet(e,o),e.intersect=function(t){return unt.rect(e,t)},n},hexagon:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.height+e.padding,a=i/4,o=r.width+2*a+e.padding,s=[{x:a,y:0},{x:o-a,y:0},{x:o,y:-i/2},{x:o-a,y:-i},{x:a,y:-i},{x:0,y:-i/2}],c=Vet(n,o,i,s);return c.attr("style",e.style),qet(e,c),e.intersect=function(t){return unt.polygon(e,s,t)},n},rect_left_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,o=[{x:-a/2,y:0},{x:i,y:0},{x:i,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return Vet(n,i,a,o).attr("style",e.style),e.width=i+a,e.height=a,e.intersect=function(t){return unt.polygon(e,o,t)},n},lean_right:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,o=[{x:-2*a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:a/6,y:-a}],s=Vet(n,i,a,o);return s.attr("style",e.style),qet(e,s),e.intersect=function(t){return unt.polygon(e,o,t)},n},lean_left:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,o=[{x:2*a/6,y:0},{x:i+a/6,y:0},{x:i-2*a/6,y:-a},{x:-a/6,y:-a}],s=Vet(n,i,a,o);return s.attr("style",e.style),qet(e,s),e.intersect=function(t){return unt.polygon(e,o,t)},n},trapezoid:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,o=[{x:-2*a/6,y:0},{x:i+2*a/6,y:0},{x:i-a/6,y:-a},{x:a/6,y:-a}],s=Vet(n,i,a,o);return s.attr("style",e.style),qet(e,s),e.intersect=function(t){return unt.polygon(e,o,t)},n},inv_trapezoid:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,o=[{x:a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:-2*a/6,y:-a}],s=Vet(n,i,a,o);return s.attr("style",e.style),qet(e,s),e.intersect=function(t){return unt.polygon(e,o,t)},n},rect_right_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,o=[{x:0,y:0},{x:i+a/2,y:0},{x:i,y:-a/2},{x:i+a/2,y:-a},{x:0,y:-a}],s=Vet(n,i,a,o);return s.attr("style",e.style),qet(e,s),e.intersect=function(t){return unt.polygon(e,o,t)},n},cylinder:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=i/2,o=a/(2.5+i/50),s=r.height+o+e.padding,c="M 0,"+o+" a "+a+","+o+" 0,0,0 "+i+" 0 a "+a+","+o+" 0,0,0 "+-i+" 0 l 0,"+s+" a "+a+","+o+" 0,0,0 "+i+" 0 l 0,"+-s,l=n.attr("label-offset-y",o).insert("path",":first-child").attr("style",e.style).attr("d",c).attr("transform","translate("+-i/2+","+-(s/2+o)+")");return qet(e,l),e.intersect=function(t){const n=unt.rect(e,t),r=n.x-e.x;if(0!=a&&(Math.abs(r)<e.width/2||Math.abs(r)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-o)){let i=o*o*(1-r*r/(a*a));0!=i&&(i=Math.sqrt(i)),i=o-i,t.y-e.y>0&&(i=-i),n.y+=i}return n},n},start:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),qet(e,r),e.intersect=function(t){return unt.circle(e,7,t)},n},end:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child"),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),qet(e,i),e.intersect=function(t){return unt.circle(e,7,t)},n},note:hnt,subroutine:(t,e)=>{const{shapeSvg:n,bbox:r}=Xet(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,o=[{x:0,y:0},{x:i,y:0},{x:i,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],s=Vet(n,i,a,o);return s.attr("style",e.style),qet(e,s),e.intersect=function(t){return unt.polygon(e,o,t)},n},fork:Ant,join:Ant,class_box:(t,e)=>{const n=e.padding/2;let r;r=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),a=i.insert("rect",":first-child"),o=i.insert("line"),s=i.insert("line");let c=0,l=4;const u=i.insert("g").attr("class","label");let h=0;const f=e.classData.annotations&&e.classData.annotations[0],d=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",A=u.node().appendChild(zet(d,e.labelStyle,!0,!0));let p=A.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=A.children[0],e=i$(A);p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}e.classData.annotations[0]&&(l+=p.height+4,c+=p.width);let g=e.classData.id;void 0!==e.classData.type&&""!==e.classData.type&&(R8().flowchart.htmlLabels?g+="<"+e.classData.type+">":g+="<"+e.classData.type+">");const m=u.node().appendChild(zet(g,e.labelStyle,!0,!0));i$(m).attr("class","classTitle");let b=m.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=m.children[0],e=i$(m);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}l+=b.height+4,b.width>c&&(c=b.width);const v=[];e.classData.members.forEach((t=>{const n=Met(t);let r=n.displayText;R8().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const i=u.node().appendChild(zet(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let a=i.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=i.children[0],e=i$(i);a=t.getBoundingClientRect(),e.attr("width",a.width),e.attr("height",a.height)}a.width>c&&(c=a.width),l+=a.height+4,v.push(i)})),l+=8;const y=[];if(e.classData.methods.forEach((t=>{const n=Met(t);let r=n.displayText;R8().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const i=u.node().appendChild(zet(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let a=i.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=i.children[0],e=i$(i);a=t.getBoundingClientRect(),e.attr("width",a.width),e.attr("height",a.height)}a.width>c&&(c=a.width),l+=a.height+4,y.push(i)})),l+=8,f){let t=(c-p.width)/2;i$(A).attr("transform","translate( "+(-1*c/2+t)+", "+-1*l/2+")"),h=p.height+4}let w=(c-b.width)/2;return i$(m).attr("transform","translate( "+(-1*c/2+w)+", "+(-1*l/2+h)+")"),h+=b.height+4,o.attr("class","divider").attr("x1",-c/2-n).attr("x2",c/2+n).attr("y1",-l/2-n+8+h).attr("y2",-l/2-n+8+h),h+=8,v.forEach((t=>{i$(t).attr("transform","translate( "+-c/2+", "+(-1*l/2+h+4)+")"),h+=b.height+4})),h+=8,s.attr("class","divider").attr("x1",-c/2-n).attr("x2",c/2+n).attr("y1",-l/2-n+8+h).attr("y2",-l/2-n+8+h),h+=8,y.forEach((t=>{i$(t).attr("transform","translate( "+-c/2+", "+(-1*l/2+h)+")"),h+=b.height+4})),a.attr("class","outer title-state").attr("x",-c/2-n).attr("y",-l/2-n).attr("width",c+e.padding).attr("height",l+e.padding),qet(e,a),e.intersect=function(t){return unt.rect(e,t)},i}};let gnt={};const mnt=(t,e,n)=>{let r,i;if(e.link){let a;"sandbox"===R8().securityLevel?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),r=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),i=pnt[e.shape](r,e,n)}else i=pnt[e.shape](t,e,n),r=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),gnt[e.id]=r,e.haveCallback&&gnt[e.id].attr("class",gnt[e.id].attr("class")+" clickable"),r},bnt=t=>{const e=gnt[t.id];W5.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},vnt={rect:(t,e)=>{W5.trace("Creating subgraph rect for ",e.id,e);const n=t.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=i.node().appendChild(zet(e.labelText,e.labelStyle,void 0,!0));let o=a.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=a.children[0],e=i$(a);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}const s=0*e.padding,c=s/2,l=e.width<=o.width+s?o.width+s:e.width;e.width<=o.width+s?e.diff=(o.width-e.width)/2-e.padding/2:e.diff=-e.padding/2,W5.trace("Data ",e,JSON.stringify(e)),r.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-l/2).attr("y",e.y-e.height/2-c).attr("width",l).attr("height",e.height+s),i.attr("transform","translate("+(e.x-o.width/2)+", "+(e.y-e.height/2)+")");const u=r.node().getBBox();return e.width=u.width,e.height=u.height,e.intersect=function(t){return lnt(e,t)},n},roundedWithTitle:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),o=i.node().appendChild(zet(e.labelText,e.labelStyle,void 0,!0));let s=o.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=o.children[0],e=i$(o);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s=o.getBBox();const c=0*e.padding,l=c/2,u=e.width<=s.width+e.padding?s.width+e.padding:e.width;e.width<=s.width+e.padding?e.diff=(s.width+0*e.padding-e.width)/2:e.diff=-e.padding/2,r.attr("class","outer").attr("x",e.x-u/2-l).attr("y",e.y-e.height/2-l).attr("width",u+c).attr("height",e.height+c),a.attr("class","inner").attr("x",e.x-u/2-l).attr("y",e.y-e.height/2-l+s.height-1).attr("width",u+c).attr("height",e.height+c-s.height-3),i.attr("transform","translate("+(e.x-s.width/2)+", "+(e.y-e.height/2-e.padding/3+(a6(R8().flowchart.htmlLabels)?5:3))+")");const h=r.node().getBBox();return e.height=h.height,e.intersect=function(t){return lnt(e,t)},n},noteGroup:(t,e)=>{const n=t.insert("g").attr("class","note-cluster").attr("id",e.id),r=n.insert("rect",":first-child"),i=0*e.padding,a=i/2;r.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");const o=r.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return lnt(e,t)},n},divider:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),r=n.insert("rect",":first-child"),i=0*e.padding,a=i/2;r.attr("class","divider").attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2).attr("width",e.width+i).attr("height",e.height+i);const o=r.node().getBBox();return e.width=o.width,e.height=o.height,e.diff=-e.padding/2,e.intersect=function(t){return lnt(e,t)},n}};let ynt={};let wnt={},Tnt={};const knt=(t,e)=>{const n=zet(e.label,e.labelStyle),r=t.insert("g").attr("class","edgeLabel"),i=r.insert("g").attr("class","label");i.node().appendChild(n);let a,o=n.getBBox();if(a6(R8().flowchart.htmlLabels)){const t=n.children[0],e=i$(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}if(i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),wnt[e.id]=r,e.width=o.width,e.height=o.height,e.startLabelLeft){const n=zet(e.startLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),Tnt[e.id]||(Tnt[e.id]={}),Tnt[e.id].startLeft=r,Cnt(a,e.startLabelLeft)}if(e.startLabelRight){const n=zet(e.startLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=r.node().appendChild(n),i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),Tnt[e.id]||(Tnt[e.id]={}),Tnt[e.id].startRight=r,Cnt(a,e.startLabelRight)}if(e.endLabelLeft){const n=zet(e.endLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),r.node().appendChild(n),Tnt[e.id]||(Tnt[e.id]={}),Tnt[e.id].endLeft=r,Cnt(a,e.endLabelLeft)}if(e.endLabelRight){const n=zet(e.endLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),r.node().appendChild(n),Tnt[e.id]||(Tnt[e.id]={}),Tnt[e.id].endRight=r,Cnt(a,e.endLabelRight)}return n};function Cnt(t,e){R8().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const Ent=(t,e)=>{W5.warn("abc88 cutPathAtIntersect",t,e);let n=[],r=t[0],i=!1;return t.forEach((t=>{if(W5.info("abc88 checking point",t,e),((t,e)=>{const n=t.x,r=t.y,i=Math.abs(e.x-n),a=Math.abs(e.y-r),o=t.width/2,s=t.height/2;return i>=o||a>=s})(e,t)||i)W5.warn("abc88 outside",t,r),r=t,i||n.push(t);else{const a=((t,e,n)=>{W5.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const r=t.x,i=t.y,a=Math.abs(r-n.x),o=t.width/2;let s=n.x<e.x?o-a:o+a;const c=t.height/2,l=Math.abs(e.y-n.y),u=Math.abs(e.x-n.x);if(Math.abs(i-e.y)*o>Math.abs(r-e.x)*c){let t=n.y<e.y?e.y-c-i:i-c-e.y;s=u*t/l;const r={x:n.x<e.x?n.x+s:n.x-u+s,y:n.y<e.y?n.y+l-t:n.y-l+t};return 0===s&&(r.x=e.x,r.y=e.y),0===u&&(r.x=e.x),0===l&&(r.y=e.y),W5.warn(`abc89 topp/bott calc, Q ${l}, q ${t}, R ${u}, r ${s}`,r),r}{s=n.x<e.x?e.x-o-r:r-o-e.x;let t=l*s/u,i=n.x<e.x?n.x+u-s:n.x-u+s,a=n.y<e.y?n.y+t:n.y-t;return W5.warn(`sides calc abc89, Q ${l}, q ${t}, R ${u}, r ${s}`,{_x:i,_y:a}),0===s&&(i=e.x,a=e.y),0===u&&(i=e.x),0===l&&(a=e.y),{x:i,y:a}}})(e,r,t);W5.warn("abc88 inside",t,r,a),W5.warn("abc88 intersection",a);let o=!1;n.forEach((t=>{o=o||t.x===a.x&&t.y===a.y})),n.some((t=>t.x===a.x&&t.y===a.y))?W5.warn("abc88 no intersect",a,n):n.push(a),i=!0}})),W5.warn("abc88 returning points",n),n},xnt=(t,e,n,r)=>{W5.info("Graph in recursive render: XXX",N5(e),r);const i=e.graph().rankdir;W5.trace("Dir in recursive render - dir:",i);const a=t.insert("g").attr("class","root");e.nodes()?W5.info("Recursive render XXX",e.nodes()):W5.info("No nodes found for",e),e.edges().length>0&&W5.trace("Recursive edges",e.edge(e.edges()[0]));const o=a.insert("g").attr("class","clusters"),s=a.insert("g").attr("class","edgePaths"),c=a.insert("g").attr("class","edgeLabels"),l=a.insert("g").attr("class","nodes");e.nodes().forEach((function(t){const a=e.node(t);if(void 0!==r){const n=JSON.parse(JSON.stringify(r.clusterData));W5.info("Setting data for cluster XXX (",t,") ",n,r),e.setNode(r.id,n),e.parent(t)||(W5.trace("Setting parent",t,r.id),e.setParent(t,r.id,n))}if(W5.info("(Insert) Node XXX"+t+": "+JSON.stringify(e.node(t))),a&&a.clusterNode){W5.info("Cluster identified",t,a.width,e.node(t));const r=xnt(l,a.graph,n,e.node(t)),i=r.elem;qet(a,i),a.diff=r.diff||0,W5.info("Node bounds (abc123)",t,a,a.width,a.x,a.y),((t,e)=>{gnt[e.id]=t})(i,a),W5.warn("Recursive render complete ",i,a)}else e.children(t).length>0?(W5.info("Cluster - the non recursive path XXX",t,a.id,a,e),W5.info(nnt(a.id,e)),Wet[a.id]={id:nnt(a.id,e),node:a}):(W5.info("Node - the non recursive path",t,a.id,a),mnt(l,e.node(t),i))})),e.edges().forEach((function(t){const n=e.edge(t.v,t.w,t.name);W5.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),W5.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(e.edge(t))),W5.info("Fix",Wet,"ids:",t.v,t.w,"Translateing: ",Wet[t.v],Wet[t.w]),knt(c,n)})),e.edges().forEach((function(t){W5.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t))})),W5.info("#############################################"),W5.info("### Layout ###"),W5.info("#############################################"),W5.info(e),k5(e),W5.info("Graph after layout:",N5(e));let u=0;return(t=>ant(t,t.children()))(e).forEach((function(t){const n=e.node(t);W5.info("Position "+t+": "+JSON.stringify(e.node(t))),W5.info("Position "+t+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?bnt(n):e.children(t).length>0?(((t,e)=>{W5.trace("Inserting cluster");const n=e.shape||"rect";ynt[e.id]=vnt[n](t,e)})(o,n),Wet[n.id].node=n):bnt(n)})),e.edges().forEach((function(t){const r=e.edge(t);W5.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r),r);const i=function(t,e,n,r,i,a){let o=n.points,s=!1;const c=a.node(e.v);var l=a.node(e.w);W5.info("abc88 InsertEdge: ",n),l.intersect&&c.intersect&&(o=o.slice(1,n.points.length-1),o.unshift(c.intersect(o[0])),W5.info("Last point",o[o.length-1],l,l.intersect(o[o.length-1])),o.push(l.intersect(o[o.length-1]))),n.toCluster&&(W5.info("to cluster abc88",r[n.toCluster]),o=Ent(n.points,r[n.toCluster].node),s=!0),n.fromCluster&&(W5.info("from cluster abc88",r[n.fromCluster]),o=Ent(o.reverse(),r[n.fromCluster].node).reverse(),s=!0);const u=o.filter((t=>!Number.isNaN(t.y)));let h;h=("graph"===i||"flowchart"===i)&&n.curve||FV;const f=SV().x((function(t){return t.x})).y((function(t){return t.y})).curve(h);let d;switch(n.thickness){case"normal":d="edge-thickness-normal";break;case"thick":d="edge-thickness-thick";break;default:d=""}switch(n.pattern){case"solid":d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}const A=t.append("path").attr("d",f(u)).attr("id",n.id).attr("class"," "+d+(n.classes?" "+n.classes:"")).attr("style",n.style);let p="";switch((R8().flowchart.arrowMarkerAbsolute||R8().state.arrowMarkerAbsolute)&&(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,p=p.replace(/\(/g,"\\("),p=p.replace(/\)/g,"\\)")),W5.info("arrowTypeStart",n.arrowTypeStart),W5.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":A.attr("marker-start","url("+p+"#"+i+"-crossStart)");break;case"arrow_point":A.attr("marker-start","url("+p+"#"+i+"-pointStart)");break;case"arrow_barb":A.attr("marker-start","url("+p+"#"+i+"-barbStart)");break;case"arrow_circle":A.attr("marker-start","url("+p+"#"+i+"-circleStart)");break;case"aggregation":A.attr("marker-start","url("+p+"#"+i+"-aggregationStart)");break;case"extension":A.attr("marker-start","url("+p+"#"+i+"-extensionStart)");break;case"composition":A.attr("marker-start","url("+p+"#"+i+"-compositionStart)");break;case"dependency":A.attr("marker-start","url("+p+"#"+i+"-dependencyStart)");break;case"lollipop":A.attr("marker-start","url("+p+"#"+i+"-lollipopStart)")}switch(n.arrowTypeEnd){case"arrow_cross":A.attr("marker-end","url("+p+"#"+i+"-crossEnd)");break;case"arrow_point":A.attr("marker-end","url("+p+"#"+i+"-pointEnd)");break;case"arrow_barb":A.attr("marker-end","url("+p+"#"+i+"-barbEnd)");break;case"arrow_circle":A.attr("marker-end","url("+p+"#"+i+"-circleEnd)");break;case"aggregation":A.attr("marker-end","url("+p+"#"+i+"-aggregationEnd)");break;case"extension":A.attr("marker-end","url("+p+"#"+i+"-extensionEnd)");break;case"composition":A.attr("marker-end","url("+p+"#"+i+"-compositionEnd)");break;case"dependency":A.attr("marker-end","url("+p+"#"+i+"-dependencyEnd)");break;case"lollipop":A.attr("marker-end","url("+p+"#"+i+"-lollipopEnd)")}let g={};return s&&(g.updatedPath=o),g.originalPath=n.points,g}(s,t,r,Wet,n,e);((t,e)=>{W5.info("Moving label abc78 ",t.id,t.label,wnt[t.id]);let n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const r=wnt[t.id];let i=t.x,a=t.y;if(n){const r=B8.calcLabelPosition(n);W5.info("Moving label "+t.label+" from (",i,",",a,") to (",r.x,",",r.y,") abc78"),e.updatedPath&&(i=r.x,a=r.y)}r.attr("transform","translate("+i+", "+a+")")}if(t.startLabelLeft){const e=Tnt[t.id].startLeft;let r=t.x,i=t.y;if(n){const e=B8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}if(t.startLabelRight){const e=Tnt[t.id].startRight;let r=t.x,i=t.y;if(n){const e=B8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}if(t.endLabelLeft){const e=Tnt[t.id].endLeft;let r=t.x,i=t.y;if(n){const e=B8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}if(t.endLabelRight){const e=Tnt[t.id].endRight;let r=t.x,i=t.y;if(n){const e=B8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}})(r,i)})),e.nodes().forEach((function(t){const n=e.node(t);W5.info(t,n.type,n.diff),"group"===n.type&&(u=n.diff)})),{elem:a,diff:u}},_nt=(t,e,n,r,i)=>{Get(t,n,r,i),gnt={},wnt={},Tnt={},ynt={},Yet={},Jet={},Wet={},W5.warn("Graph at first:",N5(e)),((t,e)=>{!t||e>10?W5.debug("Opting out, no graph "):(W5.debug("Opting in, graph "),t.nodes().forEach((function(e){t.children(e).length>0&&(W5.warn("Cluster identified",e," Replacement id in edges: ",nnt(e,t)),Yet[e]=ent(e,t),Wet[e]={id:nnt(e,t),clusterData:t.node(e)})})),t.nodes().forEach((function(e){const n=t.children(e),r=t.edges();n.length>0?(W5.debug("Cluster identified",e,Yet),r.forEach((t=>{t.v!==e&&t.w!==e&&Zet(t.v,e)^Zet(t.w,e)&&(W5.warn("Edge: ",t," leaves cluster ",e),W5.warn("Decendants of XXX ",e,": ",Yet[e]),Wet[e].externalConnections=!0)}))):W5.debug("Not a cluster ",e,Yet)})),t.edges().forEach((function(e){const n=t.edge(e);W5.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),W5.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let r=e.v,i=e.w;if(W5.warn("Fix XXX",Wet,"ids:",e.v,e.w,"Translating: ",Wet[e.v]," --- ",Wet[e.w]),Wet[e.v]&&Wet[e.w]&&Wet[e.v]===Wet[e.w]){W5.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),W5.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),r=rnt(e.v),i=rnt(e.w),t.removeEdge(e.v,e.w,e.name);const a=e.w+"---"+e.v;t.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=JSON.parse(JSON.stringify(n)),s=JSON.parse(JSON.stringify(n));o.label="",o.arrowTypeEnd="none",s.label="",o.fromCluster=e.v,s.toCluster=e.v,t.setEdge(r,a,o,e.name+"-cyclic-special"),t.setEdge(a,i,s,e.name+"-cyclic-special")}else(Wet[e.v]||Wet[e.w])&&(W5.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),r=rnt(e.v),i=rnt(e.w),t.removeEdge(e.v,e.w,e.name),r!==e.v&&(n.fromCluster=e.v),i!==e.w&&(n.toCluster=e.w),W5.warn("Fix Replacing with XXX",r,i,e.name),t.setEdge(r,i,n,e.name))})),W5.warn("Adjusted Graph",N5(t)),int(t,0),W5.trace(Wet))})(e),W5.warn("Graph after:",N5(e)),xnt(t,e,r)},Bnt=t=>s6.sanitizeText(t,R8());let Snt={dividerMargin:10,padding:5,textHeight:10};function Lnt(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}const Int={setConf:function(t){Object.keys(t).forEach((function(e){Snt[e]=t[e]}))},draw:function(t,e,n,r){W5.info("Drawing class - ",e);const i=R8().flowchart,a=R8().securityLevel;W5.info("config:",i);const o=i.nodeSpacing||50,s=i.rankSpacing||50,c=new c3({multigraph:!0,compound:!0}).setGraph({rankdir:r.db.getDirection(),nodesep:o,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),l=r.db.getClasses(),u=r.db.getRelations(),h=r.db.getNotes();let f;W5.info(u),function(t,e,n,r){const i=Object.keys(t);W5.info("keys:",i),W5.info(t),i.forEach((function(n){const i=t[n];let a="";i.cssClasses.length>0&&(a=a+" "+i.cssClasses.join(" "));const o={labelStyle:""};let s=void 0!==i.text?i.text:i.id,c="";i.type,c="class_box",e.setNode(i.id,{labelStyle:o.labelStyle,shape:c,labelText:Bnt(s),classData:i,rx:0,ry:0,class:a,style:o.style,id:i.id,domId:i.domId,tooltip:r.db.getTooltip(i.id)||"",haveCallback:i.haveCallback,link:i.link,width:"group"===i.type?500:void 0,type:i.type,padding:R8().flowchart.padding}),W5.info("setNode",{labelStyle:o.labelStyle,shape:c,labelText:s,rx:0,ry:0,class:a,style:o.style,id:i.id,width:"group"===i.type?500:void 0,type:i.type,padding:R8().flowchart.padding})}))}(l,c,0,r),function(t,e){const n=R8().flowchart;let r=0;t.forEach((function(i){r++;const a={classes:"relation"};a.pattern=1==i.relation.lineType?"dashed":"solid",a.id="id"+r,"arrow_open"===i.type?a.arrowhead="none":a.arrowhead="normal",W5.info(a,i),a.startLabelRight="none"===i.relationTitle1?"":i.relationTitle1,a.endLabelLeft="none"===i.relationTitle2?"":i.relationTitle2,a.arrowTypeStart=Lnt(i.relation.type1),a.arrowTypeEnd=Lnt(i.relation.type2);let o="",s="";if(void 0!==i.style){const t=d8(i.style);o=t.style,s=t.labelStyle}else o="fill:none";a.style=o,a.labelStyle=s,void 0!==i.interpolate?a.curve=h8(i.interpolate,xV):void 0!==t.defaultInterpolate?a.curve=h8(t.defaultInterpolate,xV):a.curve=h8(n.curve,xV),i.text=i.title,void 0===i.text?void 0!==i.style&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",R8().flowchart.htmlLabels?(a.labelType="html",a.label='<span class="edgeLabel">'+i.text+"</span>"):(a.labelType="text",a.label=i.text.replace(s6.lineBreakRegex,"\n"),void 0===i.style&&(a.style=a.style||"stroke: #333; stroke-width: 1.5px;fill:none"),a.labelStyle=a.labelStyle.replace("color:","fill:"))),e.setEdge(i.id1,i.id2,a,r)}))}(u,c),function(t,e,n,r){W5.info(t),t.forEach((function(t,i){const a=t,o="",s="";let c=a.text,l="note";if(e.setNode(a.id,{labelStyle:o,shape:l,labelText:Bnt(c),noteData:a,rx:0,ry:0,class:"",style:s,id:a.id,domId:a.id,tooltip:"",type:"note",padding:R8().flowchart.padding}),W5.info("setNode",{labelStyle:o,shape:l,labelText:c,rx:0,ry:0,style:s,id:a.id,type:"note",padding:R8().flowchart.padding}),!a.class||!(a.class in r))return;const u=n+i,h={classes:"relation",pattern:"dotted"};h.id=`edgeNote${u}`,h.arrowhead="none",W5.info(`Note edge: ${JSON.stringify(h)}, ${JSON.stringify(a)}`),h.startLabelRight="",h.endLabelLeft="",h.arrowTypeStart="none",h.arrowTypeEnd="none",h.style="fill:none",h.labelStyle="",h.curve=h8(Snt.curve,xV),e.setEdge(a.id,a.class,h,u)}))}(h,c,u.length+1,l),"sandbox"===a&&(f=i$("#i"+e));const d=i$("sandbox"===a?f.nodes()[0].contentDocument.body:"body"),A=d.select(`[id="${e}"]`),p=d.select("#"+e+" g");if(_nt(p,c,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),B8.insertTitle(A,"classTitleText",i.titleTopMargin,r.db.getDiagramTitle()),z8(c,A,i.diagramPadding,i.useMaxWidth),!i.htmlLabels){const t="sandbox"===a?f.nodes()[0].contentDocument:document,n=t.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of n){const n=e.getBBox(),r=t.createElementNS("http://www.w3.org/2000/svg","rect");r.setAttribute("rx",0),r.setAttribute("ry",0),r.setAttribute("width",n.width),r.setAttribute("height",n.height),e.insertBefore(r,e.firstChild)}}}};var Mnt=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,2],r=[1,5],i=[6,9,11,23,25,27,29,30,31,51],a=[1,17],o=[1,18],s=[1,19],c=[1,20],l=[1,21],u=[1,22],h=[1,25],f=[1,30],d=[1,31],A=[1,32],p=[1,33],g=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],m=[1,45],b=[30,31,48,49],v=[4,6,9,11,23,25,27,29,30,31,51],y=[44,45,46,47],w=[22,37],T=[1,65],k=[1,64],C=[22,37,39,41],E={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:case 20:case 43:case 28:case 29:case 32:this.$=a[s];break;case 12:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]);break;case 14:r.addEntity(a[s-2]);break;case 15:r.addEntity(a[s]);break;case 16:case 17:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 21:case 41:case 42:case 33:this.$=a[s].replace(/"/g,"");break;case 22:case 30:this.$=[a[s]];break;case 23:a[s].push(a[s-1]),this.$=a[s];break;case 24:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 26:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 27:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 31:a[s-2].push(a[s]),this.$=a[s-2];break;case 34:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 35:this.$=r.Cardinality.ZERO_OR_ONE;break;case 36:this.$=r.Cardinality.ZERO_OR_MORE;break;case 37:this.$=r.Cardinality.ONE_OR_MORE;break;case 38:this.$=r.Cardinality.ONLY_ONE;break;case 39:this.$=r.Identification.NON_IDENTIFYING;break;case 40:this.$=r.Identification.IDENTIFYING;break;case 44:r.parseDirective("%%{","open_directive");break;case 45:r.parseDirective(a[s],"type_directive");break;case 46:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 47:r.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:n,7:3,12:4,51:r},{1:[3]},e(i,[2,3],{5:6}),{3:7,4:n,7:3,12:4,51:r},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:a,25:o,27:s,29:c,30:l,31:u,51:r},{1:[2,2]},{14:23,15:[1,24],54:h},e([15,54],[2,45]),e(i,[2,8],{1:[2,1]}),e(i,[2,4]),{7:15,10:26,12:4,17:16,23:a,25:o,27:s,29:c,30:l,31:u,51:r},e(i,[2,6]),e(i,[2,7]),e(i,[2,11]),e(i,[2,15],{18:27,42:29,20:[1,28],44:f,45:d,46:A,47:p}),{24:[1,34]},{26:[1,35]},{28:[1,36]},e(i,[2,19]),e(g,[2,20]),e(g,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},e(i,[2,5]),{17:40,30:l,31:u},{21:41,22:[1,42],32:43,33:44,37:m},{43:46,48:[1,47],49:[1,48]},e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),e(i,[2,16]),e(i,[2,17]),e(i,[2,18]),e(v,[2,9]),{14:49,54:h},{54:[2,46]},{15:[1,50]},{22:[1,51]},e(i,[2,14]),{21:52,22:[2,22],32:43,33:44,37:m},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:f,45:d,46:A,47:p},e(y,[2,39]),e(y,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},e(i,[2,13]),{22:[2,23]},e(w,[2,24],{35:61,36:62,38:63,40:T,41:k}),e([22,37,40,41],[2,29]),e([30,31],[2,34]),e(v,[2,10]),e(i,[2,12]),e(i,[2,41]),e(i,[2,42]),e(i,[2,43]),e(w,[2,25],{36:66,39:[1,67],41:k}),e(w,[2,26]),e(C,[2,30]),e(w,[2,33]),e(C,[2,32]),e(w,[2,27]),{38:68,40:T},e(C,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},x=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:case 13:case 15:case 22:case 27:break;case 14:return 11;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 23:return 40;case 24:case 25:return 37;case 26:return 41;case 28:return this.popState(),22;case 29:case 58:return e.yytext[0];case 30:case 34:case 35:case 48:return 44;case 31:case 32:case 33:case 41:case 43:case 50:return 46;case 36:case 37:case 38:case 39:case 40:case 42:case 49:return 45;case 44:case 45:case 46:case 47:return 47;case 51:case 54:case 55:case 56:return 48;case 52:case 53:return 49;case 57:return 30;case 59:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28,29],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],inclusive:!0}}},t);function _(){this.yy={}}return E.lexer=x,_.prototype=E,E.Parser=_,new _}();Mnt.parser=Mnt;const Ont=Mnt,Nnt=t=>null!==t.match(/^\s*erDiagram/);let Dnt={},Fnt=[];const Pnt=function(t){return void 0===Dnt[t]&&(Dnt[t]={attributes:[]},W5.info("Added new entity :",t)),Dnt[t]},Rnt={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().er,addEntity:Pnt,addAttributes:function(t,e){let n,r=Pnt(t);for(n=e.length-1;n>=0;n--)r.attributes.push(e[n]),W5.debug("Added attribute ",e[n].attributeName)},getEntities:()=>Dnt,addRelationship:function(t,e,n,r){let i={entityA:t,roleA:e,entityB:n,relSpec:r};Fnt.push(i),W5.debug("Added new relationship :",i)},getRelationships:()=>Fnt,clear:function(){Dnt={},Fnt=[],h7()},setAccTitle:f7,getAccTitle:d7,setAccDescription:A7,getAccDescription:p7,setDiagramTitle:g7,getDiagramTitle:m7},Qnt={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},Unt=Qnt,Hnt=function(t,e){let n;t.append("defs").append("marker").attr("id",Qnt.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",Qnt.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",Qnt.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",Qnt.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",Qnt.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",Qnt.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),n=t.append("defs").append("marker").attr("id",Qnt.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),n=t.append("defs").append("marker").attr("id",Qnt.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},jnt=/[^\dA-Za-z](\W)*/g;let $nt={},Knt=new Map;const Gnt=function(t,e,n){let r;return Object.keys(e).forEach((function(i){const a=function(t="",e=""){const n=t.replace(jnt,"");return`${Vnt(e)}${Vnt(n)}${$5(t,qnt)}`}(i,"entity");Knt.set(i,a);const o=t.append("g").attr("id",a);r=void 0===r?a:r;const s="text-"+a,c=o.append("text").classed("er entityLabel",!0).attr("id",s).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",R8().fontFamily).style("font-size",$nt.fontSize+"px").text(i),{width:l,height:u}=((t,e,n)=>{const r=$nt.entityPadding/3,i=$nt.entityPadding/3,a=.85*$nt.fontSize,o=e.node().getBBox(),s=[];let c=!1,l=!1,u=0,h=0,f=0,d=0,A=o.height+2*r,p=1;n.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(l=!0)})),n.forEach((n=>{const i=`${e.node().id}-attr-${p}`;let o=0;const g=o6(n.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",R8().fontFamily).style("font-size",a+"px").text(g),b=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",R8().fontFamily).style("font-size",a+"px").text(n.attributeName),v={};v.tn=m,v.nn=b;const y=m.node().getBBox(),w=b.node().getBBox();if(u=Math.max(u,y.width),h=Math.max(h,w.width),o=Math.max(y.height,w.height),c){const e=void 0!==n.attributeKeyTypeList?n.attributeKeyTypeList.join(","):"",r=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",R8().fontFamily).style("font-size",a+"px").text(e);v.kn=r;const s=r.node().getBBox();f=Math.max(f,s.width),o=Math.max(o,s.height)}if(l){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",R8().fontFamily).style("font-size",a+"px").text(n.attributeComment||"");v.cn=e;const r=e.node().getBBox();d=Math.max(d,r.width),o=Math.max(o,r.height)}v.height=o,s.push(v),A+=o+2*r,p+=1}));let g=4;c&&(g+=2),l&&(g+=2);const m=u+h+f+d,b={width:Math.max($nt.minEntityWidth,Math.max(o.width+2*$nt.entityPadding,m+i*g)),height:n.length>0?A:Math.max($nt.minEntityHeight,o.height+2*$nt.entityPadding)};if(n.length>0){const n=Math.max(0,(b.width-m-i*g)/(g/2));e.attr("transform","translate("+b.width/2+","+(r+o.height/2)+")");let a=o.height+2*r,A="attributeBoxOdd";s.forEach((e=>{const o=a+r+e.height/2;e.tn.attr("transform","translate("+i+","+o+")");const s=t.insert("rect","#"+e.tn.node().id).classed(`er ${A}`,!0).attr("x",0).attr("y",a).attr("width",u+2*i+n).attr("height",e.height+2*r),p=parseFloat(s.attr("x"))+parseFloat(s.attr("width"));e.nn.attr("transform","translate("+(p+i)+","+o+")");const g=t.insert("rect","#"+e.nn.node().id).classed(`er ${A}`,!0).attr("x",p).attr("y",a).attr("width",h+2*i+n).attr("height",e.height+2*r);let m=parseFloat(g.attr("x"))+parseFloat(g.attr("width"));if(c){e.kn.attr("transform","translate("+(m+i)+","+o+")");const s=t.insert("rect","#"+e.kn.node().id).classed(`er ${A}`,!0).attr("x",m).attr("y",a).attr("width",f+2*i+n).attr("height",e.height+2*r);m=parseFloat(s.attr("x"))+parseFloat(s.attr("width"))}l&&(e.cn.attr("transform","translate("+(m+i)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${A}`,"true").attr("x",m).attr("y",a).attr("width",d+2*i+n).attr("height",e.height+2*r)),a+=e.height+2*r,A="attributeBoxOdd"===A?"attributeBoxEven":"attributeBoxOdd"}))}else b.height=Math.max($nt.minEntityHeight,A),e.attr("transform","translate("+b.width/2+","+b.height/2+")");return b})(o,c,e[i].attributes),h=o.insert("rect","#"+s).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",l).attr("height",u).node().getBBox();n.setNode(a,{width:h.width,height:h.height,shape:"rect",id:a})})),r},znt=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let Xnt=0;const qnt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function Vnt(t=""){return t.length>0?`${t}-`:""}const Wnt={setConf:function(t){const e=Object.keys(t);for(const n of e)$nt[n]=t[n]},draw:function(t,e,n,r){$nt=R8().er,W5.info("Drawing ER diagram");const i=R8().securityLevel;let a;"sandbox"===i&&(a=i$("#i"+e));const o=i$("sandbox"===i?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);let s;Hnt(o,$nt),s=new c3({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:$nt.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const c=Gnt(o,r.db.getEntities(),s),l=function(t,e){return t.forEach((function(t){e.setEdge(Knt.get(t.entityA),Knt.get(t.entityB),{relationship:t},znt(t))})),t}(r.db.getRelationships(),s);k5(s),function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )")}))}(o,s),l.forEach((function(t){!function(t,e,n,r,i){Xnt++;const a=n.edge(Knt.get(e.entityA),Knt.get(e.entityB),znt(e)),o=SV().x((function(t){return t.x})).y((function(t){return t.y})).curve(FV),s=t.insert("path","#"+r).classed("er relationshipLine",!0).attr("d",o(a.points)).style("stroke",$nt.stroke).style("fill","none");e.relSpec.relType===i.db.Identification.NON_IDENTIFYING&&s.attr("stroke-dasharray","8,8");let c="";switch($nt.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),e.relSpec.cardA){case i.db.Cardinality.ZERO_OR_ONE:s.attr("marker-end","url("+c+"#"+Unt.ZERO_OR_ONE_END+")");break;case i.db.Cardinality.ZERO_OR_MORE:s.attr("marker-end","url("+c+"#"+Unt.ZERO_OR_MORE_END+")");break;case i.db.Cardinality.ONE_OR_MORE:s.attr("marker-end","url("+c+"#"+Unt.ONE_OR_MORE_END+")");break;case i.db.Cardinality.ONLY_ONE:s.attr("marker-end","url("+c+"#"+Unt.ONLY_ONE_END+")")}switch(e.relSpec.cardB){case i.db.Cardinality.ZERO_OR_ONE:s.attr("marker-start","url("+c+"#"+Unt.ZERO_OR_ONE_START+")");break;case i.db.Cardinality.ZERO_OR_MORE:s.attr("marker-start","url("+c+"#"+Unt.ZERO_OR_MORE_START+")");break;case i.db.Cardinality.ONE_OR_MORE:s.attr("marker-start","url("+c+"#"+Unt.ONE_OR_MORE_START+")");break;case i.db.Cardinality.ONLY_ONE:s.attr("marker-start","url("+c+"#"+Unt.ONLY_ONE_START+")")}const l=s.node().getTotalLength(),u=s.node().getPointAtLength(.5*l),h="rel"+Xnt,f=t.append("text").classed("er relationshipLabel",!0).attr("id",h).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",R8().fontFamily).style("font-size",$nt.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+h).classed("er relationshipLabelBox",!0).attr("x",u.x-f.width/2).attr("y",u.y-f.height/2).attr("width",f.width).attr("height",f.height)}(o,t,s,c,r)}));const u=$nt.diagramPadding;B8.insertTitle(o,"entityTitleText",$nt.titleTopMargin,r.db.getDiagramTitle());const h=o.node().getBBox(),f=h.width+2*u,d=h.height+2*u;G8(o,d,f,$nt.useMaxWidth),o.attr("viewBox",`${h.x-u} ${h.y-u} ${f} ${d}`)}};var Ynt=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,9],r=[1,7],i=[1,6],a=[1,8],o=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],s=[2,10],c=[1,20],l=[1,21],u=[1,22],h=[1,23],f=[1,30],d=[1,32],A=[1,33],p=[1,34],g=[1,62],m=[1,48],b=[1,52],v=[1,36],y=[1,37],w=[1,38],T=[1,39],k=[1,40],C=[1,56],E=[1,63],x=[1,51],_=[1,53],B=[1,55],S=[1,59],L=[1,60],I=[1,41],M=[1,42],O=[1,43],N=[1,44],D=[1,61],F=[1,50],P=[1,54],R=[1,57],Q=[1,58],U=[1,49],H=[1,66],j=[1,71],$=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],K=[1,75],G=[1,74],z=[1,76],X=[20,21,23,81,82],q=[1,99],V=[1,104],W=[1,107],Y=[1,108],J=[1,101],Z=[1,106],tt=[1,109],et=[1,102],nt=[1,114],rt=[1,113],it=[1,103],at=[1,105],ot=[1,110],st=[1,111],ct=[1,112],lt=[1,115],ut=[20,21,22,23,81,82],ht=[20,21,22,23,53,81,82],ft=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],dt=[20,21,23],At=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],pt=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],gt=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],mt=[1,149],bt=[1,157],vt=[1,158],yt=[1,159],wt=[1,160],Tt=[1,144],kt=[1,145],Ct=[1,141],Et=[1,152],xt=[1,153],_t=[1,154],Bt=[1,155],St=[1,156],Lt=[1,161],It=[1,162],Mt=[1,147],Ot=[1,150],Nt=[1,146],Dt=[1,143],Ft=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Pt=[1,165],Rt=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],Qt=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],Ut=[12,21,22,24],Ht=[22,106],jt=[1,250],$t=[1,245],Kt=[1,246],Gt=[1,254],zt=[1,251],Xt=[1,248],qt=[1,247],Vt=[1,249],Wt=[1,252],Yt=[1,253],Jt=[1,255],Zt=[1,273],te=[20,21,23,106],ee=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=a[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 45:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 46:case 47:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 51:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 52:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 53:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 54:this.$={stmt:a[s],nodes:a[s]};break;case 55:case 123:case 125:this.$=[a[s]];break;case 56:this.$=a[s-4].concat(a[s]);break;case 57:this.$=[a[s-2]],r.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"square");break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"doublecircle");break;case 60:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"circle");break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"ellipse");break;case 62:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"stadium");break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"subroutine");break;case 64:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"cylinder");break;case 66:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"round");break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"diamond");break;case 68:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"hexagon");break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"odd");break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"trapezoid");break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 72:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_right");break;case 73:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_left");break;case 74:this.$=a[s],r.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 79:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 80:c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 81:this.$=a[s-1];break;case 83:case 97:case 153:case 151:this.$=a[s-1]+""+a[s];break;case 98:case 99:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 100:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 101:case 109:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 102:case 110:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 103:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 104:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 105:case 111:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 106:case 112:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 107:case 113:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 108:case 114:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 115:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 116:case 118:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 117:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 119:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 120:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 121:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 122:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 124:case 126:a[s-2].push(a[s]),this.$=a[s-2];break;case 128:this.$=a[s-1]+a[s];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:n,16:4,21:r,22:i,24:a},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:n,16:4,21:r,22:i,24:a},e(o,s,{17:11}),{7:12,13:[1,13]},{16:14,21:r,22:i,24:a},{16:15,21:r,22:i,24:a},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:c,21:l,22:u,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:f,43:31,44:d,46:A,48:p,50:35,51:45,52:g,54:46,66:m,67:b,86:v,87:y,88:w,89:T,90:k,91:C,95:E,105:x,106:_,109:B,111:S,112:L,116:47,118:I,119:M,120:O,121:N,122:D,123:F,124:P,125:R,126:Q,127:U},{8:64,10:[1,65],15:H},e([10,15],[2,6]),e(o,[2,17]),e(o,[2,18]),e(o,[2,19]),{20:[1,68],21:[1,69],22:j,27:67,30:70},e($,[2,11]),e($,[2,12]),e($,[2,13]),e($,[2,14]),e($,[2,15]),e($,[2,16]),{9:72,20:K,21:G,23:z,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:K,21:G,23:z},{9:81,20:K,21:G,23:z},{9:82,20:K,21:G,23:z},{9:83,20:K,21:G,23:z},{9:84,20:K,21:G,23:z},{9:86,20:K,21:G,22:[1,85],23:z},e($,[2,44]),{45:[1,87]},{47:[1,88]},e($,[2,47]),e(X,[2,54],{30:89,22:j}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:q,52:V,66:W,67:Y,84:[1,97],91:J,97:96,98:[1,94],100:[1,95],105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:98,122:it,123:at,124:ot,125:st,126:ct,127:lt},e($,[2,158]),e($,[2,159]),e($,[2,160]),e($,[2,161]),e(ut,[2,55],{53:[1,116]}),e(ht,[2,74],{116:129,40:[1,117],52:g,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:m,67:b,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:C,95:E,105:x,106:_,109:B,111:S,112:L,122:D,123:F,124:P,125:R,126:Q,127:U}),e(ft,[2,150]),e(ft,[2,175]),e(ft,[2,176]),e(ft,[2,177]),e(ft,[2,178]),e(ft,[2,179]),e(ft,[2,180]),e(ft,[2,181]),e(ft,[2,182]),e(ft,[2,183]),e(ft,[2,184]),e(ft,[2,185]),e(ft,[2,186]),e(ft,[2,187]),e(ft,[2,188]),e(ft,[2,189]),e(ft,[2,190]),{9:130,20:K,21:G,23:z},{11:131,14:[1,132]},e(dt,[2,8]),e(o,[2,20]),e(o,[2,26]),e(o,[2,27]),{21:[1,133]},e(At,[2,34],{30:134,22:j}),e($,[2,35]),{50:135,51:45,52:g,54:46,66:m,67:b,91:C,95:E,105:x,106:_,109:B,111:S,112:L,116:47,122:D,123:F,124:P,125:R,126:Q,127:U},e(pt,[2,48]),e(pt,[2,49]),e(pt,[2,50]),e(gt,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:mt,24:bt,26:vt,38:yt,39:139,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),e($,[2,36]),e($,[2,37]),e($,[2,38]),e($,[2,39]),e($,[2,40]),{22:mt,24:bt,26:vt,38:yt,39:163,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(Ft,s,{17:164}),e($,[2,45]),e($,[2,46]),e(X,[2,53],{52:Pt}),{26:q,52:V,66:W,67:Y,91:J,97:166,102:[1,167],105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:98,122:it,123:at,124:ot,125:st,126:ct,127:lt},{95:[1,168],103:169,105:[1,170]},{26:q,52:V,66:W,67:Y,91:J,95:[1,171],97:172,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:98,122:it,123:at,124:ot,125:st,126:ct,127:lt},{26:q,52:V,66:W,67:Y,91:J,97:173,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:98,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(dt,[2,101],{22:[1,174],99:[1,175]}),e(dt,[2,105],{22:[1,176]}),e(dt,[2,109],{115:100,117:178,22:[1,177],26:q,52:V,66:W,67:Y,91:J,105:Z,106:tt,109:et,111:nt,112:rt,122:it,123:at,124:ot,125:st,126:ct,127:lt}),e(dt,[2,111],{22:[1,179]}),e(Rt,[2,152]),e(Rt,[2,154]),e(Rt,[2,155]),e(Rt,[2,156]),e(Rt,[2,157]),e(Qt,[2,162]),e(Qt,[2,163]),e(Qt,[2,164]),e(Qt,[2,165]),e(Qt,[2,166]),e(Qt,[2,167]),e(Qt,[2,168]),e(Qt,[2,169]),e(Qt,[2,170]),e(Qt,[2,171]),e(Qt,[2,172]),e(Qt,[2,173]),e(Qt,[2,174]),{52:g,54:180,66:m,67:b,91:C,95:E,105:x,106:_,109:B,111:S,112:L,116:47,122:D,123:F,124:P,125:R,126:Q,127:U},{22:mt,24:bt,26:vt,38:yt,39:181,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:182,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:184,42:wt,52:V,57:[1,183],66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:185,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:186,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:187,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{66:[1,188]},{22:mt,24:bt,26:vt,38:yt,39:189,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:190,42:wt,52:V,66:W,67:Y,71:[1,191],73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:192,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:193,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:194,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(ft,[2,151]),e(Ut,[2,3]),{8:195,15:H},{15:[2,7]},e(o,[2,28]),e(At,[2,33]),e(X,[2,51],{30:196,22:j}),e(gt,[2,75],{22:[1,197]}),{22:[1,198]},{22:mt,24:bt,26:vt,38:yt,39:199,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,82:[1,200],83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(Qt,[2,82]),e(Qt,[2,84]),e(Qt,[2,140]),e(Qt,[2,141]),e(Qt,[2,142]),e(Qt,[2,143]),e(Qt,[2,144]),e(Qt,[2,145]),e(Qt,[2,146]),e(Qt,[2,147]),e(Qt,[2,148]),e(Qt,[2,149]),e(Qt,[2,85]),e(Qt,[2,86]),e(Qt,[2,87]),e(Qt,[2,88]),e(Qt,[2,89]),e(Qt,[2,90]),e(Qt,[2,91]),e(Qt,[2,92]),e(Qt,[2,93]),e(Qt,[2,94]),e(Qt,[2,95]),{9:203,20:K,21:G,22:mt,23:z,24:bt,26:vt,38:yt,40:[1,202],42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{18:18,19:19,20:c,21:l,22:u,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:f,42:[1,204],43:31,44:d,46:A,48:p,50:35,51:45,52:g,54:46,66:m,67:b,86:v,87:y,88:w,89:T,90:k,91:C,95:E,105:x,106:_,109:B,111:S,112:L,116:47,118:I,119:M,120:O,121:N,122:D,123:F,124:P,125:R,126:Q,127:U},{22:j,30:205},{22:[1,206],26:q,52:V,66:W,67:Y,91:J,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:178,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},e(Ht,[2,123]),{22:[1,211]},{22:[1,212],26:q,52:V,66:W,67:Y,91:J,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:178,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:[1,213],26:q,52:V,66:W,67:Y,91:J,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:178,122:it,123:at,124:ot,125:st,126:ct,127:lt},{84:[1,214]},e(dt,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},e(Rt,[2,153]),{84:[1,219],101:[1,220]},e(ut,[2,57],{116:129,52:g,66:m,67:b,91:C,95:E,105:x,106:_,109:B,111:S,112:L,122:D,123:F,124:P,125:R,126:Q,127:U}),{22:mt,24:bt,26:vt,38:yt,41:[1,221],42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,56:[1,222],66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:223,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,58:[1,224],66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,60:[1,225],66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,62:[1,226],66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,64:[1,227],66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{67:[1,228]},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,66:W,67:Y,70:[1,229],73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,66:W,67:Y,72:[1,230],73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,39:231,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,41:[1,232],42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,66:W,67:Y,73:Tt,75:[1,233],77:[1,234],81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,66:W,67:Y,73:Tt,75:[1,236],77:[1,235],81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{9:237,20:K,21:G,23:z},e(X,[2,52],{52:Pt}),e(gt,[2,77]),e(gt,[2,76]),{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,66:W,67:Y,68:[1,238],73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(gt,[2,79]),e(Qt,[2,83]),{22:mt,24:bt,26:vt,38:yt,39:239,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(Ft,s,{17:240}),e($,[2,43]),{51:241,52:g,54:46,66:m,67:b,91:C,95:E,105:x,106:_,109:B,111:S,112:L,116:47,122:D,123:F,124:P,125:R,126:Q,127:U},{22:jt,66:$t,67:Kt,86:Gt,96:242,102:zt,105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},{22:jt,66:$t,67:Kt,86:Gt,96:256,102:zt,105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},{22:jt,66:$t,67:Kt,86:Gt,96:257,102:zt,104:[1,258],105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},{22:jt,66:$t,67:Kt,86:Gt,96:259,102:zt,104:[1,260],105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},{105:[1,261]},{22:jt,66:$t,67:Kt,86:Gt,96:262,102:zt,105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},{22:jt,66:$t,67:Kt,86:Gt,96:263,102:zt,105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},{26:q,52:V,66:W,67:Y,91:J,97:264,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:98,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(dt,[2,102]),{84:[1,265]},e(dt,[2,106],{22:[1,266]}),e(dt,[2,107]),e(dt,[2,110]),e(dt,[2,112],{22:[1,267]}),e(dt,[2,113]),e(ht,[2,58]),e(ht,[2,59]),{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,58:[1,268],66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(ht,[2,66]),e(ht,[2,61]),e(ht,[2,62]),e(ht,[2,63]),{66:[1,269]},e(ht,[2,65]),e(ht,[2,67]),{22:mt,24:bt,26:vt,38:yt,42:wt,52:V,66:W,67:Y,72:[1,270],73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(ht,[2,69]),e(ht,[2,70]),e(ht,[2,72]),e(ht,[2,71]),e(ht,[2,73]),e(Ut,[2,4]),e([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:mt,24:bt,26:vt,38:yt,41:[1,271],42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{18:18,19:19,20:c,21:l,22:u,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:f,42:[1,272],43:31,44:d,46:A,48:p,50:35,51:45,52:g,54:46,66:m,67:b,86:v,87:y,88:w,89:T,90:k,91:C,95:E,105:x,106:_,109:B,111:S,112:L,116:47,118:I,119:M,120:O,121:N,122:D,123:F,124:P,125:R,126:Q,127:U},e(ut,[2,56]),e(dt,[2,115],{106:Zt}),e(te,[2,125],{108:274,22:jt,66:$t,67:Kt,86:Gt,102:zt,105:Xt,109:qt,110:Vt,111:Wt,112:Yt,113:Jt}),e(ee,[2,127]),e(ee,[2,129]),e(ee,[2,130]),e(ee,[2,131]),e(ee,[2,132]),e(ee,[2,133]),e(ee,[2,134]),e(ee,[2,135]),e(ee,[2,136]),e(ee,[2,137]),e(ee,[2,138]),e(ee,[2,139]),e(dt,[2,116],{106:Zt}),e(dt,[2,117],{106:Zt}),{22:[1,275]},e(dt,[2,118],{106:Zt}),{22:[1,276]},e(Ht,[2,124]),e(dt,[2,98],{106:Zt}),e(dt,[2,99],{106:Zt}),e(dt,[2,100],{115:100,117:178,26:q,52:V,66:W,67:Y,91:J,105:Z,106:tt,109:et,111:nt,112:rt,122:it,123:at,124:ot,125:st,126:ct,127:lt}),e(dt,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:K,21:G,23:z},e($,[2,42]),{22:jt,66:$t,67:Kt,86:Gt,102:zt,105:Xt,107:283,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},e(ee,[2,128]),{26:q,52:V,66:W,67:Y,91:J,97:284,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:98,122:it,123:at,124:ot,125:st,126:ct,127:lt},{26:q,52:V,66:W,67:Y,91:J,97:285,105:Z,106:tt,109:et,111:nt,112:rt,115:100,117:98,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(dt,[2,108]),e(dt,[2,114]),e(ht,[2,60]),{22:mt,24:bt,26:vt,38:yt,39:286,42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:140,84:Ct,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},e(ht,[2,68]),e(Ft,s,{17:287}),e(te,[2,126],{108:274,22:jt,66:$t,67:Kt,86:Gt,102:zt,105:Xt,109:qt,110:Vt,111:Wt,112:Yt,113:Jt}),e(dt,[2,121],{115:100,117:178,22:[1,288],26:q,52:V,66:W,67:Y,91:J,105:Z,106:tt,109:et,111:nt,112:rt,122:it,123:at,124:ot,125:st,126:ct,127:lt}),e(dt,[2,122],{115:100,117:178,22:[1,289],26:q,52:V,66:W,67:Y,91:J,105:Z,106:tt,109:et,111:nt,112:rt,122:it,123:at,124:ot,125:st,126:ct,127:lt}),{22:mt,24:bt,26:vt,38:yt,41:[1,290],42:wt,52:V,66:W,67:Y,73:Tt,81:kt,83:201,85:151,86:Et,87:xt,88:_t,89:Bt,90:St,91:Lt,92:It,94:142,95:Mt,105:Z,106:tt,109:Ot,111:nt,112:rt,113:Nt,114:Dt,115:148,122:it,123:at,124:ot,125:st,126:ct,127:lt},{18:18,19:19,20:c,21:l,22:u,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:f,42:[1,291],43:31,44:d,46:A,48:p,50:35,51:45,52:g,54:46,66:m,67:b,86:v,87:y,88:w,89:T,90:k,91:C,95:E,105:x,106:_,109:B,111:S,112:L,116:47,118:I,119:M,120:O,121:N,122:D,123:F,124:P,125:R,126:Q,127:U},{22:jt,66:$t,67:Kt,86:Gt,96:292,102:zt,105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},{22:jt,66:$t,67:Kt,86:Gt,96:293,102:zt,105:Xt,107:243,108:244,109:qt,110:Vt,111:Wt,112:Yt,113:Jt},e(ht,[2,64]),e($,[2,41]),e(dt,[2,119],{106:Zt}),e(dt,[2,120],{106:Zt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},re=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:case 37:return t.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:case 41:case 42:case 43:return 101;case 44:return this.popState(),25;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:case 68:case 69:return 82;case 70:case 71:case 72:return 81;case 73:return 59;case 74:return 60;case 75:return 61;case 76:return 62;case 77:return 63;case 78:return 64;case 79:return 65;case 80:return 69;case 81:return 70;case 82:return 55;case 83:return 56;case 84:return 109;case 85:return 112;case 86:return 127;case 87:return 124;case 88:return 113;case 89:case 90:return 125;case 91:return 114;case 92:return 73;case 93:return 92;case 94:return"SEP";case 95:return 91;case 96:return 66;case 97:return 75;case 98:return 74;case 99:return 77;case 100:return 76;case 101:return 122;case 102:return 123;case 103:return 68;case 104:return 57;case 105:return 58;case 106:return 40;case 107:return 41;case 108:return 71;case 109:return 72;case 110:return 133;case 111:return 21;case 112:return 22;case 113:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[44,45,46,47,48,49,50,51,52,53,54],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],inclusive:!0}}},t);function ie(){this.yy={}}return ne.lexer=re,ie.prototype=ne,ne.Parser=ie,new ie}();Ynt.parser=Ynt;const Jnt=Ynt,Znt=(t,e)=>{var n,r;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&("elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&null!==t.match(/^\s*graph/))},trt=(t,e)=>{var n,r;return"dagre-d3"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&("elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&(null!==t.match(/^\s*graph/)||null!==t.match(/^\s*flowchart/)))};let ert,nrt,rrt=0,irt=R8(),art={},ort=[],srt={},crt=[],lrt={},urt={},hrt=0,frt=!0,drt=[];const Art=t=>s6.sanitizeText(t,irt),prt=function(t,e,n){Wct.parseDirective(this,t,e,n)},grt=function(t){const e=Object.keys(art);for(const n of e)if(art[n].id===t)return art[n].domId;return t},mrt=function(t,e,n,r,i,a,o={}){let s,c=t;void 0!==c&&0!==c.trim().length&&(void 0===art[c]&&(art[c]={id:c,domId:"flowchart-"+c+"-"+rrt,styles:[],classes:[]}),rrt++,void 0!==e?(irt=R8(),s=Art(e.trim()),'"'===s[0]&&'"'===s[s.length-1]&&(s=s.substring(1,s.length-1)),art[c].text=s):void 0===art[c].text&&(art[c].text=t),void 0!==n&&(art[c].type=n),null!=r&&r.forEach((function(t){art[c].styles.push(t)})),null!=i&&i.forEach((function(t){art[c].classes.push(t)})),void 0!==a&&(art[c].dir=a),void 0===art[c].props?art[c].props=o:void 0!==o&&Object.assign(art[c].props,o))},brt=function(t,e,n,r){const i={start:t,end:e,type:void 0,text:""};void 0!==(r=n.text)&&(i.text=Art(r.trim()),'"'===i.text[0]&&'"'===i.text[i.text.length-1]&&(i.text=i.text.substring(1,i.text.length-1))),void 0!==n&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length),ort.push(i)},vrt=function(t,e,n,r){let i,a;for(i=0;i<t.length;i++)for(a=0;a<e.length;a++)brt(t[i],e[a],n,r)},yrt=function(t,e){t.forEach((function(t){"default"===t?ort.defaultInterpolate=e:ort[t].interpolate=e}))},wrt=function(t,e){t.forEach((function(t){"default"===t?ort.defaultStyle=e:(-1===B8.isSubstringInArray("fill",e)&&e.push("fill:none"),ort[t].style=e)}))},Trt=function(t,e){void 0===srt[t]&&(srt[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const n=e.replace("fill","bgFill").replace("color","fill");srt[t].textStyles.push(n)}srt[t].styles.push(e)}))},krt=function(t){ert=t,ert.match(/.*</)&&(ert="RL"),ert.match(/.*\^/)&&(ert="BT"),ert.match(/.*>/)&&(ert="LR"),ert.match(/.*v/)&&(ert="TB"),"TD"===ert&&(ert="TB")},Crt=function(t,e){t.split(",").forEach((function(t){let n=t;void 0!==art[n]&&art[n].classes.push(e),void 0!==lrt[n]&&lrt[n].classes.push(e)}))},Ert=function(t,e,n){t.split(",").forEach((function(t){void 0!==art[t]&&(art[t].link=B8.formatUrl(e,irt),art[t].linkTarget=n)})),Crt(t,"clickable")},xrt=function(t){return urt[t]},_rt=function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){let r=grt(t);if("loose"!==R8().securityLevel)return;if(void 0===e)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),void 0!==art[t]&&(art[t].haveCallback=!0,drt.push((function(){const t=document.querySelector(`[id="${r}"]`);null!==t&&t.addEventListener("click",(function(){B8.runFunc(e,...i)}),!1)})))}(t,e,n)})),Crt(t,"clickable")},Brt=function(t){drt.forEach((function(e){e(t)}))},Srt=function(){return ert.trim()},Lrt=function(){return art},Irt=function(){return ort},Mrt=function(){return srt},Ort=function(t){let e=i$(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=i$("body").append("div").attr("class","mermaidTooltip").style("opacity",0));i$(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=i$(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0);i$(this).classed("hover",!1)}))};drt.push(Ort);const Nrt=function(t="gen-1"){art={},srt={},ort=[],drt=[Ort],crt=[],lrt={},hrt=0,urt=[],frt=!0,nrt=t,h7()},Drt=t=>{nrt=t||"gen-2"},Frt=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},Prt=function(t,e,n){let r=t.trim(),i=n;t===n&&n.match(/\s/)&&(r=void 0);let a=[];const{nodeList:o,dir:s}=function(t){const e={boolean:{},number:{},string:{}},n=[];let r;return{nodeList:t.filter((function(t){const i=typeof t;return t.stmt&&"dir"===t.stmt?(r=t.value,!1):""!==t.trim()&&(i in e?!e[i].hasOwnProperty(t)&&(e[i][t]=!0):!n.includes(t)&&n.push(t))})),dir:r}}(a.concat.apply(a,e));if(a=o,"gen-1"===nrt)for(let t=0;t<a.length;t++)a[t]=grt(a[t]);r=r||"subGraph"+hrt,i=i||"",i=Art(i),hrt+=1;const c={id:r,nodes:a,title:i.trim(),classes:[],dir:s};return W5.info("Adding",c.id,c.nodes,c.dir),c.nodes=qrt(c,crt).nodes,crt.push(c),lrt[r]=c,r},Rrt=function(t){for(const[e,n]of crt.entries())if(n.id===t)return e;return-1};let Qrt=-1;const Urt=[],Hrt=function(t,e){const n=crt[e].nodes;if(Qrt+=1,Qrt>2e3)return;if(Urt[Qrt]=e,crt[e].id===t)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){const e=Rrt(n[r]);if(e>=0){const n=Hrt(t,e);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}},jrt=function(t){return Urt[t]},$rt=function(){Qrt=-1,crt.length>0&&Hrt("none",crt.length-1)},Krt=function(){return crt},Grt=()=>!!frt&&(frt=!1,!0),zrt=(t,e)=>{const n=(t=>{const e=t.trim();let n=e.slice(0,-1),r="arrow_open";switch(e.slice(-1)){case"x":r="arrow_cross","x"===e[0]&&(r="double_"+r,n=n.slice(1));break;case">":r="arrow_point","<"===e[0]&&(r="double_"+r,n=n.slice(1));break;case"o":r="arrow_circle","o"===e[0]&&(r="double_"+r,n=n.slice(1))}let i="normal",a=n.length-1;"="===n[0]&&(i="thick");let o=((t,e)=>{const n=e.length;let r=0;for(let i=0;i<n;++i)e[i]===t&&++r;return r})(".",n);return o&&(i="dotted",a=o),{type:r,stroke:i,length:a}})(t);let r;if(e){if(r=(t=>{let e=t.trim(),n="arrow_open";switch(e[0]){case"<":n="arrow_point",e=e.slice(1);break;case"x":n="arrow_cross",e=e.slice(1);break;case"o":n="arrow_circle",e=e.slice(1)}let r="normal";return e.includes("=")&&(r="thick"),e.includes(".")&&(r="dotted"),{type:n,stroke:r}})(e),r.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===r.type)r.type=n.type;else{if(r.type!==n.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return"double_arrow"===r.type&&(r.type="double_arrow_point"),r.length=n.length,r}return n},Xrt=(t,e)=>{let n=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(n=!0)})),n},qrt=(t,e)=>{const n=[];return t.nodes.forEach(((r,i)=>{Xrt(e,r)||n.push(t.nodes[i])})),{nodes:n}},Vrt={firstGraph:Grt},Wrt={parseDirective:prt,defaultConfig:()=>L8.flowchart,setAccTitle:f7,getAccTitle:d7,getAccDescription:p7,setAccDescription:A7,addVertex:mrt,lookUpDomId:grt,addLink:vrt,updateLinkInterpolate:yrt,updateLink:wrt,addClass:Trt,setDirection:krt,setClass:Crt,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(urt["gen-1"===nrt?grt(t):t]=Art(e))}))},getTooltip:xrt,setClickEvent:_rt,setLink:Ert,bindFunctions:Brt,getDirection:Srt,getVertices:Lrt,getEdges:Irt,getClasses:Mrt,clear:Nrt,setGen:Drt,defaultStyle:Frt,addSubGraph:Prt,getDepthFirstPos:jrt,indexNodes:$rt,getSubGraphs:Krt,destructLink:zrt,lex:Vrt,exists:Xrt,makeUniq:qrt,setDiagramTitle:g7,getDiagramTitle:m7},Yrt=Object.freeze(Object.defineProperty({__proto__:null,addClass:Trt,addLink:vrt,addSingleLink:brt,addSubGraph:Prt,addVertex:mrt,bindFunctions:Brt,clear:Nrt,default:Wrt,defaultStyle:Frt,destructLink:zrt,firstGraph:Grt,getClasses:Mrt,getDepthFirstPos:jrt,getDirection:Srt,getEdges:Irt,getSubGraphs:Krt,getTooltip:xrt,getVertices:Lrt,indexNodes:$rt,lex:Vrt,lookUpDomId:grt,parseDirective:prt,setClass:Crt,setClickEvent:_rt,setDirection:krt,setGen:Drt,setLink:Ert,updateLink:wrt,updateLinkInterpolate:yrt},Symbol.toStringTag,{value:"Module"}));const Jrt={},Zrt=function(t){const e=Object.keys(t);for(const n of e)Jrt[n]=t[n]},tit={},eit=function(t,e,n,r,i,a){const o=r.select(`[id="${n}"]`);Object.keys(t).forEach((function(n){const r=t[n];let s="default";r.classes.length>0&&(s=r.classes.join(" "));const c=d8(r.styles);let l,u=void 0!==r.text?r.text:r.id;if(a6(R8().flowchart.htmlLabels)){const t={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};l=G5(o,t).node(),l.parentNode.removeChild(l)}else{const t=i.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",c.labelStyle.replace("color:","fill:"));const e=u.split(s6.lineBreakRegex);for(const n of e){const e=i.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}l=t}let h=0,f="";switch(r.type){case"round":h=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}e.setNode(r.id,{labelStyle:c.labelStyle,shape:f,labelText:u,rx:h,ry:h,class:s,style:c.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:R8().flowchart.padding}),W5.info("setNode",{labelStyle:c.labelStyle,shape:f,labelText:u,rx:h,ry:h,class:s,style:c.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:R8().flowchart.padding})}))},nit=function(t,e,n){W5.info("abc78 edges = ",t);let r,i,a=0,o={};if(void 0!==t.defaultStyle){const e=d8(t.defaultStyle);r=e.style,i=e.labelStyle}t.forEach((function(n){a++;var s="L-"+n.start+"-"+n.end;void 0===o[s]?(o[s]=0,W5.info("abc78 new entry",s,o[s])):(o[s]++,W5.info("abc78 new entry",s,o[s]));let c=s+"-"+o[s];W5.info("abc78 new link id to be used is",s,c,o[s]);var l="LS-"+n.start,u="LE-"+n.end;const h={style:"",labelStyle:""};switch(h.minlen=n.length||1,"arrow_open"===n.type?h.arrowhead="none":h.arrowhead="normal",h.arrowTypeStart="arrow_open",h.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":h.arrowTypeStart="arrow_cross";case"arrow_cross":h.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":h.arrowTypeStart="arrow_point";case"arrow_point":h.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":h.arrowTypeStart="arrow_circle";case"arrow_circle":h.arrowTypeEnd="arrow_circle"}let f="",d="";switch(n.stroke){case"normal":f="fill:none;",void 0!==r&&(f=r),void 0!==i&&(d=i),h.thickness="normal",h.pattern="solid";break;case"dotted":h.thickness="normal",h.pattern="dotted",h.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":h.thickness="thick",h.pattern="solid",h.style="stroke-width: 3.5px;fill:none;"}if(void 0!==n.style){const t=d8(n.style);f=t.style,d=t.labelStyle}h.style=h.style+=f,h.labelStyle=h.labelStyle+=d,void 0!==n.interpolate?h.curve=h8(n.interpolate,xV):void 0!==t.defaultInterpolate?h.curve=h8(t.defaultInterpolate,xV):h.curve=h8(tit.curve,xV),void 0===n.text?void 0!==n.style&&(h.arrowheadStyle="fill: #333"):(h.arrowheadStyle="fill: #333",h.labelpos="c"),h.labelType="text",h.label=n.text.replace(s6.lineBreakRegex,"\n"),void 0===n.style&&(h.style=h.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),h.labelStyle=h.labelStyle.replace("color:","fill:"),h.id=c,h.classes="flowchart-link "+l+" "+u,e.setEdge(n.start,n.end,h,a)}))},rit={setConf:function(t){const e=Object.keys(t);for(const n of e)tit[n]=t[n]},addVertices:eit,addEdges:nit,getClasses:function(t,e){W5.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(t){return}},draw:function(t,e,n,r){W5.info("Drawing flowchart"),r.db.clear(),Wrt.setGen("gen-2"),r.parser.parse(t);let i=r.db.getDirection();void 0===i&&(i="TD");const{securityLevel:a,flowchart:o}=R8(),s=o.nodeSpacing||50,c=o.rankSpacing||50;let l;"sandbox"===a&&(l=i$("#i"+e));const u=i$("sandbox"===a?l.nodes()[0].contentDocument.body:"body"),h="sandbox"===a?l.nodes()[0].contentDocument:document,f=new c3({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:s,ranksep:c,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let d;const A=r.db.getSubGraphs();W5.info("Subgraphs - ",A);for(let t=A.length-1;t>=0;t--)d=A[t],W5.info("Subgraph - ",d),r.db.addVertex(d.id,d.title,"group",void 0,d.classes,d.dir);const p=r.db.getVertices(),g=r.db.getEdges();W5.info("Edges",g);let m=0;for(m=A.length-1;m>=0;m--){d=A[m],a$("cluster").append("text");for(let t=0;t<d.nodes.length;t++)W5.info("Setting up subgraphs",d.nodes[t],d.id),f.setParent(d.nodes[t],d.id)}eit(p,f,e,u,h,r),nit(g,f);const b=u.select(`[id="${e}"]`),v=u.select("#"+e+" g");if(_nt(v,f,["point","circle","cross"],"flowchart",e),B8.insertTitle(b,"flowchartTitleText",o.titleTopMargin,r.db.getDiagramTitle()),z8(f,b,o.diagramPadding,o.useMaxWidth),r.db.indexNodes("subGraph"+m),!o.htmlLabels){const t=h.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=h.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild)}}Object.keys(p).forEach((function(t){const n=p[t];if(n.link){const r=i$("#"+e+' [id="'+t+'"]');if(r){const t=h.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===a?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=r.insert((function(){return t}),":first-child"),i=r.select(".label-container");i&&e.append((function(){return i.node()}));const o=r.select(".label");o&&e.append((function(){return o.node()}))}}}))}};var iit=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,3],r=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],a=[1,15],o=[1,16],s=[1,17],c=[1,18],l=[1,19],u=[1,20],h=[1,21],f=[1,22],d=[1,23],A=[1,24],p=[1,25],g=[1,26],m=[1,27],b=[1,29],v=[1,31],y=[1,34],w=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],T={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:r.TopAxis(),this.$=a[s].substr(8);break;case 12:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 14:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 16:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 17:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 18:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 19:case 20:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 21:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 23:r.addTask(a[s-1],a[s]),this.$="task";break;case 27:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 28:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 29:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 30:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 31:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 32:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 33:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 34:case 40:this.$=a[s-1]+" "+a[s];break;case 35:case 36:case 38:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:case 39:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 41:r.parseDirective("%%{","open_directive");break;case 42:r.parseDirective(a[s],"type_directive");break;case 43:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 44:r.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:n,30:4,40:r},{1:[3]},{3:6,4:2,5:n,30:4,40:r},e(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:a,13:o,14:s,15:c,16:l,17:u,18:h,19:f,20:d,21:A,23:p,25:g,26:m,27:28,28:b,30:4,35:v,40:r},{32:32,33:[1,33],43:y},e([33,43],[2,42]),e(i,[2,8],{1:[2,2]}),e(i,[2,4]),{4:30,10:35,12:a,13:o,14:s,15:c,16:l,17:u,18:h,19:f,20:d,21:A,23:p,25:g,26:m,27:28,28:b,30:4,35:v,40:r},e(i,[2,6]),e(i,[2,7]),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,15]),e(i,[2,16]),e(i,[2,17]),{22:[1,36]},{24:[1,37]},e(i,[2,20]),e(i,[2,21]),e(i,[2,22]),{29:[1,38]},e(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},e(i,[2,5]),e(i,[2,18]),e(i,[2,19]),e(i,[2,23]),e(i,[2,27],{37:[1,44],38:[1,45]}),e(i,[2,33],{36:[1,46]}),e(w,[2,25]),{32:47,43:y},{43:[2,43]},e(i,[2,28],{38:[1,48]}),e(i,[2,29]),e(i,[2,31],{37:[1,49]}),{11:[1,50]},e(i,[2,30]),e(i,[2,32]),e(w,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},k=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}},t);function C(){this.yy={}}return T.lexer=k,C.prototype=T,T.Parser=C,new C}();iit.parser=iit;const ait=iit,oit=t=>null!==t.match(/^\s*gantt/);bU.extend(z5),bU.extend(X5),bU.extend(q5);let sit,cit="",lit="",uit="",hit=[],fit=[],dit={},Ait=[],pit=[],git="";const mit=["active","done","crit","milestone"];let bit=[],vit=!1,yit=!1,wit=0;const Tit=function(t,e,n,r){return!r.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||(!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim()))))},kit=function(t,e,n,r){if(!n.length||t.manualEndTime)return;let i,a;i=t.startTime instanceof Date?bU(t.startTime):bU(t.startTime,e,!0),i=i.add(1,"d"),a=t.endTime instanceof Date?bU(t.endTime):bU(t.endTime,e,!0);const[o,s]=Cit(i,a,e,n,r);t.endTime=o.toDate(),t.renderEndTime=s},Cit=function(t,e,n,r,i){let a=!1,o=null;for(;t<=e;)a||(o=e.toDate()),a=Tit(t,n,r,i),a&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,o]},Eit=function(t,e,n){n=n.trim();const r=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==r){let t=null;if(r[1].split(" ").forEach((function(e){let n=Nit(e);void 0!==n&&(t?n.endTime>t.endTime&&(t=n):t=n)})),t)return t.endTime;{const t=new Date;return t.setHours(0,0,0,0),t}}let i=bU(n,e.trim(),!0);if(i.isValid())return i.toDate();{W5.debug("Invalid date:"+n),W5.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime()))throw new Error("Invalid date:"+n);return t}},xit=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},_it=function(t,e,n,r=!1){n=n.trim();let i=bU(n,e.trim(),!0);if(i.isValid())return r&&(i=i.add(1,"d")),i.toDate();let a=bU(t);const[o,s]=xit(n);if(!Number.isNaN(o)){const t=a.add(o,s);t.isValid()&&(a=t)}return a.toDate()};let Bit=0;const Sit=function(t){return void 0===t?(Bit+=1,"task"+Bit):t};let Lit,Iit,Mit=[];const Oit={},Nit=function(t){const e=Oit[t];return Mit[e]},Dit=function(){const t=function(t){const e=Mit[t];let n="";switch(Mit[t].raw.startTime.type){case"prevTaskEnd":{const t=Nit(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=Eit(0,cit,Mit[t].raw.startTime.startData),n&&(Mit[t].startTime=n)}return Mit[t].startTime&&(Mit[t].endTime=_it(Mit[t].startTime,cit,Mit[t].raw.endTime.data,vit),Mit[t].endTime&&(Mit[t].processed=!0,Mit[t].manualEndTime=bU(Mit[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),kit(Mit[t],cit,fit,hit))),Mit[t].processed};let e=!0;for(const[n,r]of Mit.entries())t(n),e=e&&r.processed;return e},Fit=function(t,e){t.split(",").forEach((function(t){let n=Nit(t);void 0!==n&&n.classes.push(e)}))},Pit=function(t,e){bit.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){e()}))}),(function(){const n=document.querySelector(`[id="${t}-text"]`);null!==n&&n.addEventListener("click",(function(){e()}))}))},Rit={parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().gantt,clear:function(){Ait=[],pit=[],git="",bit=[],Bit=0,Lit=void 0,Iit=void 0,Mit=[],cit="",lit="",sit=void 0,uit="",hit=[],fit=[],vit=!1,yit=!1,wit=0,dit={},h7()},setDateFormat:function(t){cit=t},getDateFormat:function(){return cit},enableInclusiveEndDates:function(){vit=!0},endDatesAreInclusive:function(){return vit},enableTopAxis:function(){yit=!0},topAxisEnabled:function(){return yit},setAxisFormat:function(t){lit=t},getAxisFormat:function(){return lit},setTickInterval:function(t){sit=t},getTickInterval:function(){return sit},setTodayMarker:function(t){uit=t},getTodayMarker:function(){return uit},setAccTitle:f7,getAccTitle:d7,setDiagramTitle:g7,getDiagramTitle:m7,setAccDescription:A7,getAccDescription:p7,addSection:function(t){git=t,Ait.push(t)},getSections:function(){return Ait},getTasks:function(){let t=Dit();let e=0;for(;!t&&e<10;)t=Dit(),e++;return pit=Mit,pit},addTask:function(t,e){const n={section:git,type:git,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const r=n.split(","),i={};Qit(r,i,mit);for(let t=0;t<r.length;t++)r[t]=r[t].trim();switch(r.length){case 1:i.id=Sit(),i.startTime={type:"prevTaskEnd",id:t},i.endTime={data:r[0]};break;case 2:i.id=Sit(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=Sit(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]}}return i}(Iit,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=Iit,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.order=wit,wit++;const i=Mit.push(n);Iit=n.id,Oit[n.id]=i-1},findTaskById:Nit,addTaskOrg:function(t,e){const n={section:git,type:git,description:t,task:t,classes:[]},r=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const r=n.split(","),i={};Qit(r,i,mit);for(let t=0;t<r.length;t++)r[t]=r[t].trim();let a="";switch(r.length){case 1:i.id=Sit(),i.startTime=t.endTime,a=r[0];break;case 2:i.id=Sit(),i.startTime=Eit(0,cit,r[0]),a=r[1];break;case 3:i.id=Sit(r[0]),i.startTime=Eit(0,cit,r[1]),a=r[2]}return a&&(i.endTime=_it(i.startTime,cit,a,vit),i.manualEndTime=bU(a,"YYYY-MM-DD",!0).isValid(),kit(i,cit,fit,hit)),i}(Lit,e);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,Lit=n,pit.push(n)},setIncludes:function(t){hit=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return hit},setExcludes:function(t){fit=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return fit},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){if("loose"!==R8().securityLevel)return;if(void 0===e)return;let r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<r.length;t++){let e=r[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),r[t]=e}}0===r.length&&r.push(t),void 0!==Nit(t)&&Pit(t,(()=>{B8.runFunc(e,...r)}))}(t,e,n)})),Fit(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==R8().securityLevel&&(n=yU(e)),t.split(",").forEach((function(t){void 0!==Nit(t)&&(Pit(t,(()=>{window.open(n,"_self")})),dit[t]=n)})),Fit(t,"clickable")},getLinks:function(){return dit},bindFunctions:function(t){bit.forEach((function(e){e(t)}))},parseDuration:xit,isInvalidDate:Tit};function Qit(t,e,n){let r=!0;for(;r;)r=!1,n.forEach((function(n){const i=new RegExp("^\\s*"+n+"\\s*$");t[0].match(i)&&(e[n]=!0,t.shift(1),r=!0)}))}let Uit;const Hit={setConf:function(){W5.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,r){const i=R8().gantt,a=R8().securityLevel;let o;"sandbox"===a&&(o=i$("#i"+e));const s=i$("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),c="sandbox"===a?o.nodes()[0].contentDocument:document,l=c.getElementById(e);Uit=l.parentElement.offsetWidth,void 0===Uit&&(Uit=1200),void 0!==i.useWidth&&(Uit=i.useWidth);const u=r.db.getTasks(),h=u.length*(i.barHeight+i.barGap)+2*i.topPadding;l.setAttribute("viewBox","0 0 "+Uit+" "+h);const f=s.select(`[id="${e}"]`),d=function(){return Ez.apply(nV(LX,IX,EX,kX,cX,iX,nX,tX,Zz,FX).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}().domain([fH(u,(function(t){return t.startTime})),lH(u,(function(t){return t.endTime}))]).rangeRound([0,Uit-i.leftPadding-i.rightPadding]);let A=[];for(const t of u)A.push(t.type);const p=A;function g(t,e){return function(t){let e=t.length;const n={};for(;e;)n[t[--e]]=(n[t[e]]||0)+1;return n}(e)[t]||0}A=function(t){const e={},n=[];for(let r=0,i=t.length;r<i;++r)Object.prototype.hasOwnProperty.call(e,t[r])||(e[t[r]]=!0,n.push(t[r]));return n}(A),u.sort((function(t,e){const n=t.startTime,r=e.startTime;let i=0;return n>r?i=1:n<r&&(i=-1),i})),function(t,n,a){const o=i.barHeight,s=o+i.barGap,l=i.topPadding,u=i.leftPadding;Hz().domain([0,A.length]).range(["#00B9FA","#F95002"]).interpolate(LK);(function(t,e,n,a,o,s,c,l){const u=s.reduce(((t,{startTime:e})=>t?Math.min(t,e):e),0),h=s.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),A=r.db.getDateFormat();if(!u||!h)return;const p=[];let g=null,m=bU(u);for(;m.valueOf()<=h;)r.db.isInvalidDate(m,A,c,l)?g?g.end=m:g={start:m,end:m}:g&&(p.push(g),g=null),m=m.add(1,"d");f.append("g").selectAll("rect").data(p).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return d(t.start)+n})).attr("y",i.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return d(e)-d(t.start)})).attr("height",o-e-i.gridLineStartPadding).attr("transform-origin",(function(e,r){return(d(e.start)+n+.5*(d(e.end)-d(e.start))).toString()+"px "+(r*t+.5*o).toString()+"px"})).attr("class","exclude-range")})(s,l,u,0,a,t,r.db.getExcludes(),r.db.getIncludes()),function(t,e,n,a){let o=(s=d,EH(mH,s)).tickSize(-a+e+i.gridLineStartPadding).tickFormat(FX(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));var s;const c=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(null!==c){const t=c[1];switch(c[2]){case"minute":o.ticks(tX.every(t));break;case"hour":o.ticks(nX.every(t));break;case"day":o.ticks(iX.every(t));break;case"week":o.ticks(cX.every(t));break;case"month":o.ticks(kX.every(t))}}if(f.append("g").attr("class","grid").attr("transform","translate("+t+", "+(a-50)+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||i.topAxis){let n=function(t){return EH(pH,t)}(d).tickSize(-a+e+i.gridLineStartPadding).tickFormat(FX(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));if(null!==c){const t=c[1];switch(c[2]){case"minute":n.ticks(tX.every(t));break;case"hour":n.ticks(nX.every(t));break;case"day":n.ticks(iX.every(t));break;case"week":n.ticks(cX.every(t));break;case"month":n.ticks(kX.every(t))}}f.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(u,l,0,a),function(t,n,a,o,s,c,l){f.append("g").selectAll("rect").data(t).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+a-2})).attr("width",(function(){return l-i.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of A.entries())if(t.type===n)return"section section"+e%i.numberSectionStyles;return"section section0"}));const u=f.append("g").selectAll("rect").data(t).enter(),h=r.db.getLinks();u.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?d(t.startTime)+o+.5*(d(t.endTime)-d(t.startTime))-.5*s:d(t.startTime)+o})).attr("y",(function(t,e){return t.order*n+a})).attr("width",(function(t){return t.milestone?s:d(t.renderEndTime||t.endTime)-d(t.startTime)})).attr("height",s).attr("transform-origin",(function(t,e){return e=t.order,(d(t.startTime)+o+.5*(d(t.endTime)-d(t.startTime))).toString()+"px "+(e*n+a+.5*s).toString()+"px"})).attr("class",(function(t){const e="task";let n="";t.classes.length>0&&(n=t.classes.join(" "));let r=0;for(const[e,n]of A.entries())t.type===n&&(r=e%i.numberSectionStyles);let a="";return t.active?t.crit?a+=" activeCrit":a=" active":t.done?a=t.crit?" doneCrit":" done":t.crit&&(a+=" crit"),0===a.length&&(a=" task"),t.milestone&&(a=" milestone "+a),a+=r,a+=" "+n,e+a})),u.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",i.fontSize).attr("x",(function(t){let e=d(t.startTime),n=d(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(d(t.endTime)-d(t.startTime))-.5*s),t.milestone&&(n=e+s);const r=this.getBBox().width;return r>n-e?n+r+1.5*i.leftPadding>l?e+o-5:n+o+5:(n-e)/2+e+o})).attr("y",(function(t,e){return t.order*n+i.barHeight/2+(i.fontSize/2-2)+a})).attr("text-height",s).attr("class",(function(t){const e=d(t.startTime);let n=d(t.endTime);t.milestone&&(n=e+s);const r=this.getBBox().width;let a="";t.classes.length>0&&(a=t.classes.join(" "));let o=0;for(const[e,n]of A.entries())t.type===n&&(o=e%i.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+o:"activeText"+o),t.done?c=t.crit?c+" doneCritText"+o:c+" doneText"+o:t.crit&&(c=c+" critText"+o),t.milestone&&(c+=" milestoneText"),r>n-e?n+r+1.5*i.leftPadding>l?a+" taskTextOutsideLeft taskTextOutside"+o+" "+c:a+" taskTextOutsideRight taskTextOutside"+o+" "+c+" width-"+r:a+" taskText taskText"+o+" "+c+" width-"+r}));if("sandbox"===R8().securityLevel){let t;t=i$("#i"+e);const n=t.nodes()[0].contentDocument;u.filter((function(t){return void 0!==h[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),r=n.querySelector("#"+t.id+"-text");const i=e.parentNode;var a=n.createElement("a");a.setAttribute("xlink:href",h[t.id]),a.setAttribute("target","_top"),i.appendChild(a),a.appendChild(e),a.appendChild(r)}))}}(t,s,l,u,o,0,n),function(t,e){const n=[];let r=0;for(const[t,e]of A.entries())n[t]=[e,g(e,p)];f.append("g").selectAll("text").data(n).enter().append((function(t){const e=t[0].split(s6.lineBreakRegex),n=-(e.length-1)/2,r=c.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=c.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=n,r.appendChild(e)}return r})).attr("x",10).attr("y",(function(i,a){if(!(a>0))return i[1]*t/2+e;for(let o=0;o<a;o++)return r+=n[a-1][1],i[1]*t/2+r*t+e})).attr("font-size",i.sectionFontSize).attr("font-size",i.sectionFontSize).attr("class",(function(t){for(const[e,n]of A.entries())if(t[0]===n)return"sectionTitle sectionTitle"+e%i.numberSectionStyles;return"sectionTitle"}))}(s,l),function(t,e,n,a){const o=r.db.getTodayMarker();if("off"===o)return;const s=f.append("g").attr("class","today"),c=new Date,l=s.append("line");l.attr("x1",d(c)+t).attr("x2",d(c)+t).attr("y1",i.titleTopMargin).attr("y2",a-i.titleTopMargin).attr("class","today"),""!==o&&l.attr("style",o.replace(/,/g,";"))}(u,0,0,a)}(u,Uit,h),G8(f,h,Uit,i.useMaxWidth),f.append("text").text(r.db.getDiagramTitle()).attr("x",Uit/2).attr("y",i.titleTopMargin).attr("class","titleText")}};var jit=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[6,9,10],r={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,r,i,a,o){switch(a.length,i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},e(n,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},e(n,[2,3]),e(n,[2,4]),e(n,[2,5]),e(n,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},i=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}},t);function a(){this.yy={}}return r.lexer=i,a.prototype=r,r.Parser=a,new a}();jit.parser=jit;const $it=jit;var Kit="",Git=!1;const zit={setMessage:t=>{W5.debug("Setting message to: "+t),Kit=t},getMessage:()=>Kit,setInfo:t=>{Git=t},getInfo:()=>Git,clear:h7},Xit={draw:(t,e,n)=>{try{W5.debug("Rendering info diagram\n"+t);const r=R8().securityLevel;let i;"sandbox"===r&&(i=i$("#i"+e));const a=i$("sandbox"===r?i.nodes()[0].contentDocument.body:"body").select("#"+e);a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),a.attr("height",100),a.attr("width",400)}catch(t){W5.error("Error while rendering info diagram"),W5.error(t.message)}}},qit=t=>null!==t.match(/^\s*info/);var Vit=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,4],r=[1,5],i=[1,6],a=[1,7],o=[1,9],s=[1,11,13,15,17,19,20,26,27,28,29],c=[2,5],l=[1,6,11,13,15,17,19,20,26,27,28,29],u=[26,27,28],h=[2,8],f=[1,18],d=[1,19],A=[1,20],p=[1,21],g=[1,22],m=[1,23],b=[1,28],v=[6,26,27,28,29],y={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:r.addSection(a[s-1],r.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),r.setDiagramTitle(this.$);break;case 11:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 12:case 13:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 14:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 21:r.parseDirective("%%{","open_directive");break;case 22:r.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 24:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:n,21:8,26:r,27:i,28:a,29:o},{1:[3]},{3:10,4:2,5:3,6:n,21:8,26:r,27:i,28:a,29:o},{3:11,4:2,5:3,6:n,21:8,26:r,27:i,28:a,29:o},e(s,c,{7:12,8:[1,13]}),e(l,[2,18]),e(l,[2,19]),e(l,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},e(u,h,{21:8,9:16,10:17,5:24,1:[2,3],11:f,13:d,15:A,17:p,19:g,20:m,29:o}),e(s,c,{7:25}),{23:26,24:[1,27],32:b},e([24,32],[2,22]),e(s,[2,6]),{4:29,26:r,27:i,28:a},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},e(u,[2,13]),e(u,[2,14]),e(u,[2,15]),e(u,h,{21:8,9:16,10:17,5:24,1:[2,4],11:f,13:d,15:A,17:p,19:g,20:m,29:o}),e(v,[2,16]),{25:34,31:[1,35]},e(v,[2,24]),e(s,[2,7]),e(u,[2,9]),e(u,[2,10]),e(u,[2,11]),e(u,[2,12]),{23:36,32:b},{32:[2,23]},e(v,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},w=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}},t);function T(){this.yy={}}return y.lexer=w,T.prototype=y,y.Parser=T,new T}();Vit.parser=Vit;const Wit=Vit,Yit=t=>null!==t.match(/^\s*pie/)||null!==t.match(/^\s*bar/);let Jit={},Zit=!1;const tat={parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().pie,addSection:function(t,e){t=s6.sanitizeText(t,R8()),void 0===Jit[t]&&(Jit[t]=e,W5.debug("Added new section :",t))},getSections:()=>Jit,cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){Jit={},Zit=!1,h7()},setAccTitle:f7,getAccTitle:d7,setDiagramTitle:g7,getDiagramTitle:m7,setShowData:function(t){Zit=t},getShowData:function(){return Zit},getAccDescription:p7,setAccDescription:A7};let eat,nat=R8();const rat=450,iat={draw:(t,e,n,r)=>{try{nat=R8(),W5.debug("Rendering info diagram\n"+t);const n=R8().securityLevel;let g;"sandbox"===n&&(g=i$("#i"+e));const m=i$("sandbox"===n?g.nodes()[0].contentDocument.body:"body"),b="sandbox"===n?g.nodes()[0].contentDocument:document;r.db.clear(),r.parser.parse(t),W5.debug("Parsed info diagram");const v=b.getElementById(e);eat=v.parentElement.offsetWidth,void 0===eat&&(eat=1200),void 0!==nat.useWidth&&(eat=nat.useWidth),void 0!==nat.pie.useWidth&&(eat=nat.pie.useWidth);const y=m.select("#"+e);G8(y,rat,eat,nat.pie.useMaxWidth),v.setAttribute("viewBox","0 0 "+eat+" "+rat);var i=18,a=Math.min(eat,rat)/2-40,o=y.append("g").attr("transform","translate("+eat/2+",225)"),s=r.db.getSections(),c=0;Object.keys(s).forEach((function(t){c+=s[t]}));const w=nat.themeVariables;var l=[w.pie1,w.pie2,w.pie3,w.pie4,w.pie5,w.pie6,w.pie7,w.pie8,w.pie9,w.pie10,w.pie11,w.pie12],u=Sz().range(l),h=Object.entries(s).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),f=function(){var t=IV,e=LV,n=null,r=rV(0),i=rV(AV),a=rV(0);function o(o){var s,c,l,u,h,f=(o=CV(o)).length,d=0,A=new Array(f),p=new Array(f),g=+r.apply(this,arguments),m=Math.min(AV,Math.max(-AV,i.apply(this,arguments)-g)),b=Math.min(Math.abs(m)/f,a.apply(this,arguments)),v=b*(m<0?-1:1);for(s=0;s<f;++s)(h=p[A[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?WU(A).call(A,(function(t,n){return e(p[t],p[n])})):null!=n&&WU(A).call(A,(function(t,e){return n(o[t],o[e])})),s=0,l=d?(m-f*v)/d:0;s<f;++s,g=u)c=A[s],u=g+((h=p[c])>0?h*l:0)+v,p[c]={data:o[c],index:s,value:h,startAngle:g,endAngle:u,padAngle:b};return p}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:rV(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:rV(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:rV(+t),o):i},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:rV(+t),o):a},o}().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order})),d=f(h),A=kV().innerRadius(0).outerRadius(a);o.selectAll("mySlices").data(d).enter().append("path").attr("d",A).attr("fill",(function(t){return u(t.data.name)})).attr("class","pieCircle"),o.selectAll("mySlices").data(d).enter().append("text").text((function(t){return(t.data.value/c*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+A.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),o.append("text").text(r.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var p=o.selectAll(".legend").data(u.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*u.domain().length/2)+")"}));p.append("rect").attr("width",i).attr("height",i).style("fill",u).style("stroke",u),p.data(d).append("text").attr("x",22).attr("y",14).text((function(t){return r.db.getShowData()||nat.showData||nat.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(t){W5.error("Error while rendering info diagram"),W5.error(t)}}};var aat=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,3],r=[1,5],i=[1,6],a=[1,7],o=[1,8],s=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],c=[1,22],l=[2,13],u=[1,26],h=[1,27],f=[1,28],d=[1,29],A=[1,30],p=[1,31],g=[1,24],m=[1,32],b=[1,33],v=[1,36],y=[71,72],w=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],T=[1,56],k=[1,57],C=[1,58],E=[1,59],x=[1,60],_=[1,61],B=[1,62],S=[62,63],L=[1,74],I=[1,70],M=[1,71],O=[1,72],N=[1,73],D=[1,75],F=[1,79],P=[1,80],R=[1,77],Q=[1,78],U=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],H={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 6:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 7:case 8:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 9:r.parseDirective("%%{","open_directive");break;case 10:r.parseDirective(a[s],"type_directive");break;case 11:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 12:r.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:r.addRequirement(a[s-3],a[s-4]);break;case 20:r.setNewReqId(a[s-2]);break;case 21:r.setNewReqText(a[s-2]);break;case 22:r.setNewReqRisk(a[s-2]);break;case 23:r.setNewReqVerifyMethod(a[s-2]);break;case 26:this.$=r.RequirementType.REQUIREMENT;break;case 27:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=r.RiskLevel.LOW_RISK;break;case 33:this.$=r.RiskLevel.MED_RISK;break;case 34:this.$=r.RiskLevel.HIGH_RISK;break;case 35:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=r.VerifyType.VERIFY_TEST;break;case 39:r.addElement(a[s-3]);break;case 40:r.setNewElementType(a[s-2]);break;case 41:r.setNewElementDocRef(a[s-2]);break;case 44:r.addRelationship(a[s-2],a[s],a[s-4]);break;case 45:r.addRelationship(a[s-2],a[s-4],a[s]);break;case 46:this.$=r.Relationships.CONTAINS;break;case 47:this.$=r.Relationships.COPIES;break;case 48:this.$=r.Relationships.DERIVES;break;case 49:this.$=r.Relationships.SATISFIES;break;case 50:this.$=r.Relationships.VERIFIES;break;case 51:this.$=r.Relationships.REFINES;break;case 52:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:n,9:4,14:r,16:i,18:a,19:o},{1:[3]},{3:10,4:2,5:[1,9],6:n,9:4,14:r,16:i,18:a,19:o},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(s,[2,8]),{20:[2,9]},{3:16,4:2,6:n,9:4,14:r,16:i,18:a,19:o},{1:[2,2]},{4:21,5:c,7:17,8:l,9:4,14:r,16:i,18:a,19:o,23:18,24:19,25:20,26:23,32:25,40:u,41:h,42:f,43:d,44:A,45:p,53:g,71:m,72:b},{11:34,12:[1,35],22:v},e([12,22],[2,10]),e(s,[2,6]),e(s,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:c,7:38,8:l,9:4,14:r,16:i,18:a,19:o,23:18,24:19,25:20,26:23,32:25,40:u,41:h,42:f,43:d,44:A,45:p,53:g,71:m,72:b},{4:21,5:c,7:39,8:l,9:4,14:r,16:i,18:a,19:o,23:18,24:19,25:20,26:23,32:25,40:u,41:h,42:f,43:d,44:A,45:p,53:g,71:m,72:b},{4:21,5:c,7:40,8:l,9:4,14:r,16:i,18:a,19:o,23:18,24:19,25:20,26:23,32:25,40:u,41:h,42:f,43:d,44:A,45:p,53:g,71:m,72:b},{4:21,5:c,7:41,8:l,9:4,14:r,16:i,18:a,19:o,23:18,24:19,25:20,26:23,32:25,40:u,41:h,42:f,43:d,44:A,45:p,53:g,71:m,72:b},{4:21,5:c,7:42,8:l,9:4,14:r,16:i,18:a,19:o,23:18,24:19,25:20,26:23,32:25,40:u,41:h,42:f,43:d,44:A,45:p,53:g,71:m,72:b},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(y,[2,26]),e(y,[2,27]),e(y,[2,28]),e(y,[2,29]),e(y,[2,30]),e(y,[2,31]),e(w,[2,55]),e(w,[2,56]),e(s,[2,4]),{13:51,21:[1,52]},e(s,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:T,65:k,66:C,67:E,68:x,69:_,70:B},{61:63,64:T,65:k,66:C,67:E,68:x,69:_,70:B},{11:64,22:v},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(S,[2,46]),e(S,[2,47]),e(S,[2,48]),e(S,[2,49]),e(S,[2,50]),e(S,[2,51]),e(S,[2,52]),{63:[1,68]},e(s,[2,5]),{5:L,29:69,30:I,33:M,35:O,37:N,39:D},{5:F,39:P,55:76,56:R,58:Q},{32:81,71:m,72:b},{32:82,71:m,72:b},e(U,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:L,29:87,30:I,33:M,35:O,37:N,39:D},e(U,[2,25]),e(U,[2,39]),{31:[1,88]},{31:[1,89]},{5:F,39:P,55:90,56:R,58:Q},e(U,[2,43]),e(U,[2,44]),e(U,[2,45]),{32:91,71:m,72:b},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},e(U,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(U,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:L,29:116,30:I,33:M,35:O,37:N,39:D},{5:L,29:117,30:I,33:M,35:O,37:N,39:D},{5:L,29:118,30:I,33:M,35:O,37:N,39:D},{5:L,29:119,30:I,33:M,35:O,37:N,39:D},{5:F,39:P,55:120,56:R,58:Q},{5:F,39:P,55:121,56:R,58:Q},e(U,[2,20]),e(U,[2,21]),e(U,[2,22]),e(U,[2,23]),e(U,[2,40]),e(U,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},j=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return e.yytext=e.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}},t);function $(){this.yy={}}return H.lexer=j,$.prototype=H,H.Parser=$,new $}();aat.parser=aat;const oat=aat,sat=t=>null!==t.match(/^\s*requirement(Diagram)?/);let cat=[],lat={},uat={},hat={},fat={};const dat={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().req,addRequirement:(t,e)=>(void 0===uat[t]&&(uat[t]={name:t,type:e,id:lat.id,text:lat.text,risk:lat.risk,verifyMethod:lat.verifyMethod}),lat={},uat[t]),getRequirements:()=>uat,setNewReqId:t=>{void 0!==lat&&(lat.id=t)},setNewReqText:t=>{void 0!==lat&&(lat.text=t)},setNewReqRisk:t=>{void 0!==lat&&(lat.risk=t)},setNewReqVerifyMethod:t=>{void 0!==lat&&(lat.verifyMethod=t)},setAccTitle:f7,getAccTitle:d7,setAccDescription:A7,getAccDescription:p7,addElement:t=>(void 0===fat[t]&&(fat[t]={name:t,type:hat.type,docRef:hat.docRef},W5.info("Added new requirement: ",t)),hat={},fat[t]),getElements:()=>fat,setNewElementType:t=>{void 0!==hat&&(hat.type=t)},setNewElementDocRef:t=>{void 0!==hat&&(hat.docRef=t)},addRelationship:(t,e,n)=>{cat.push({type:t,src:e,dst:n})},getRelationships:()=>cat,clear:()=>{cat=[],lat={},uat={},hat={},fat={},h7()}},Aat={CONTAINS:"contains",ARROW:"arrow"},pat=Aat,gat=(t,e)=>{let n=t.append("defs").append("marker").attr("id",Aat.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");n.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),n.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),n.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",Aat.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1)};let mat={},bat=0;const vat=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",mat.rect_min_width+"px").attr("height",mat.rect_min_height+"px"),yat=(t,e,n)=>{let r=mat.rect_min_width/2,i=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",r).attr("y",mat.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((t=>{0==a?i.append("tspan").attr("text-anchor","middle").attr("x",mat.rect_min_width/2).attr("dy",0).text(t):i.append("tspan").attr("text-anchor","middle").attr("x",mat.rect_min_width/2).attr("dy",.75*mat.line_height).text(t),a++}));let o=1.5*mat.rect_padding+a*mat.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",mat.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:i,y:o}},wat=(t,e,n,r)=>{let i=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",mat.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),a=0;let o=[];return n.forEach((t=>{let e=t.length;for(;e>30&&a<3;){let n=t.substring(0,30);e=(t=t.substring(30,t.length)).length,o[o.length]=n,a++}if(3==a){let t=o[o.length-1];o[o.length-1]=t.substring(0,t.length-4)+"..."}else o[o.length]=t;a=0})),o.forEach((t=>{i.append("tspan").attr("x",mat.rect_padding).attr("dy",mat.line_height).text(t)})),i},Tat=function(t,e,n,r,i){const a=n.edge(kat(e.src),kat(e.dst)),o=SV().x((function(t){return t.x})).y((function(t){return t.y})),s=t.insert("path","#"+r).attr("class","er relationshipLine").attr("d",o(a.points)).attr("fill","none");e.type==i.db.Relationships.CONTAINS?s.attr("marker-start","url("+s6.getUrl(mat.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(s.attr("stroke-dasharray","10,7"),s.attr("marker-end","url("+s6.getUrl(mat.arrowMarkerAbsolute)+"#"+pat.ARROW+"_line_ending)")),((t,e,n,r)=>{const i=e.node().getTotalLength(),a=e.node().getPointAtLength(.5*i),o="rel"+bat;bat++;const s=t.append("text").attr("class","req relationshipLabel").attr("id",o).attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();t.insert("rect","#"+o).attr("class","req reqLabelBox").attr("x",a.x-s.width/2).attr("y",a.y-s.height/2).attr("width",s.width).attr("height",s.height).attr("fill","white").attr("fill-opacity","85%")})(t,s,0,`<<${e.type}>>`)},kat=t=>t.replace(/\s/g,"").replace(/\./g,"_"),Cat={draw:(t,e,n,r)=>{mat=R8().requirement,r.db.clear(),r.parser.parse(t);const i=mat.securityLevel;let a;"sandbox"===i&&(a=i$("#i"+e));const o=i$("sandbox"===i?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);gat(o,mat);const s=new c3({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:mat.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let c=r.db.getRequirements(),l=r.db.getElements(),u=r.db.getRelationships();((t,e,n)=>{Object.keys(t).forEach((r=>{let i=t[r];r=kat(r),W5.info("Added new requirement: ",r);const a=n.append("g").attr("id",r),o=vat(a,"req-"+r);let s=yat(a,r+"_title",[`<<${i.type}>>`,`${i.name}`]);wat(a,r+"_body",[`Id: ${i.id}`,`Text: ${i.text}`,`Risk: ${i.risk}`,`Verification: ${i.verifyMethod}`],s.y);const c=o.node().getBBox();e.setNode(r,{width:c.width,height:c.height,shape:"rect",id:r})}))})(c,s,o),((t,e,n)=>{Object.keys(t).forEach((r=>{let i=t[r];const a=kat(r),o=n.append("g").attr("id",a),s="element-"+a,c=vat(o,s);let l=yat(o,s+"_title",["<<Element>>",`${r}`]);wat(o,s+"_body",[`Type: ${i.type||"Not Specified"}`,`Doc Ref: ${i.docRef||"None"}`],l.y);const u=c.node().getBBox();e.setNode(a,{width:u.width,height:u.height,shape:"rect",id:a})}))})(l,s,o),((t,e)=>{t.forEach((function(t){let n=kat(t.src),r=kat(t.dst);e.setEdge(n,r,{relationship:t})}))})(u,s),k5(s),function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&(t.select("#"+n),t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )"))}))}(o,s),u.forEach((function(t){Tat(o,t,s,e,r)}));const h=mat.rect_padding,f=o.node().getBBox(),d=f.width+2*h,A=f.height+2*h;G8(o,A,d,mat.useMaxWidth),o.attr("viewBox",`${f.x-h} ${f.y-h} ${d} ${A}`)}};var Eat=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,2],r=[1,3],i=[1,5],a=[1,7],o=[2,5],s=[1,15],c=[1,17],l=[1,19],u=[1,21],h=[1,22],f=[1,23],d=[1,29],A=[1,30],p=[1,31],g=[1,32],m=[1,33],b=[1,34],v=[1,35],y=[1,36],w=[1,37],T=[1,38],k=[1,39],C=[1,40],E=[1,42],x=[1,43],_=[1,45],B=[1,46],S=[1,47],L=[1,48],I=[1,49],M=[1,50],O=[1,53],N=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],D=[4,5,21,54,56],F=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],P=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],R=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],Q=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],U=[71,72,73],H=[1,125],j=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],$={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.apply(a[s]),a[s];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 12:case 13:case 63:this.$=a[s];break;case 18:a[s-1].unshift({type:"boxStart",boxData:r.parseBoxData(a[s-2])}),a[s-1].push({type:"boxEnd",boxText:a[s-2]}),this.$=a[s-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 25:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 31:r.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 32:r.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 33:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 34:case 35:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 36:a[s-1].unshift({type:"loopStart",loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:"rectStart",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:"optStart",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:"altStart",altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:"parStart",parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:"criticalStart",criticalText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.CRITICAL_START}),a[s-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 42:a[s-1].unshift({type:"breakStart",breakText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_START}),a[s-1].push({type:"breakEnd",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 45:this.$=a[s-3].concat([{type:"option",optionText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 47:this.$=a[s-3].concat([{type:"and",parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 49:this.$=a[s-3].concat([{type:"else",altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 50:a[s-3].type="addParticipant",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].type="addParticipant",this.$=a[s-1];break;case 52:a[s-3].type="addActor",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 53:a[s-1].type="addActor",this.$=a[s-1];break;case 54:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 55:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 56:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 62:this.$=[a[s-2],a[s]];break;case 64:this.$=r.PLACEMENT.LEFTOF;break;case 65:this.$=r.PLACEMENT.RIGHTOF;break;case 66:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 67:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 68:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 69:this.$={type:"addParticipant",actor:a[s]};break;case 70:this.$=r.LINETYPE.SOLID_OPEN;break;case 71:this.$=r.LINETYPE.DOTTED_OPEN;break;case 72:this.$=r.LINETYPE.SOLID;break;case 73:this.$=r.LINETYPE.DOTTED;break;case 74:this.$=r.LINETYPE.SOLID_CROSS;break;case 75:this.$=r.LINETYPE.DOTTED_CROSS;break;case 76:this.$=r.LINETYPE.SOLID_POINT;break;case 77:this.$=r.LINETYPE.DOTTED_POINT;break;case 78:this.$=r.parseMessage(a[s].trim().substring(1));break;case 79:r.parseDirective("%%{","open_directive");break;case 80:r.parseDirective(a[s],"type_directive");break;case 81:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 82:r.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:n,5:r,6:4,7:i,14:6,83:a},{1:[3]},{3:8,4:n,5:r,6:4,7:i,14:6,83:a},{3:9,4:n,5:r,6:4,7:i,14:6,83:a},{3:10,4:n,5:r,6:4,7:i,14:6,83:a},e([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],o,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{16:51,17:[1,52],86:O},e([17,86],[2,80]),e(N,[2,6]),{6:41,10:54,13:18,14:6,19:l,22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},e(N,[2,8]),e(N,[2,9]),e(N,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:M},{27:61,73:M},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},e(N,[2,31]),e(N,[2,32]),{37:[1,67]},{39:[1,68]},e(N,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},e(N,[2,43]),{27:76,73:M},{27:77,73:M},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:M},{27:92,73:M},{27:93,73:M},{27:94,73:M},e([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},e(N,[2,7]),e(D,[2,10],{11:98}),e(N,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},e(N,[2,23]),{5:[1,102]},{5:[1,103]},e(N,[2,26]),e(N,[2,27]),e(N,[2,28]),e(N,[2,29]),e(N,[2,30]),e(N,[2,33]),e(N,[2,34]),e(F,o,{8:104}),e(F,o,{8:105}),e(F,o,{8:106}),e(P,o,{45:107,8:108}),e(R,o,{47:109,8:110}),e(Q,o,{49:111,8:112}),e(F,o,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:M},e(U,[2,70]),e(U,[2,71]),e(U,[2,72]),e(U,[2,73]),e(U,[2,74]),e(U,[2,75]),e(U,[2,76]),e(U,[2,77]),{27:121,73:M},{27:123,61:122,73:M},{73:[2,64]},{73:[2,65]},{59:124,82:H},{59:126,82:H},{59:127,82:H},{59:128,82:H},e(j,[2,15]),{16:129,86:O},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:E,56:x},{5:[1,135]},e(N,[2,21]),e(N,[2,22]),e(N,[2,24]),e(N,[2,25]),{4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,136],22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,137],22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,138],22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{21:[1,139]},{4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,21:[2,48],22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,53:[1,140],54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{21:[1,141]},{4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,21:[2,46],22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,52:[1,142],54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{21:[1,143]},{4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,21:[2,44],22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,51:[1,144],54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{4:s,5:c,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,145],22:20,23:u,26:h,27:44,28:f,29:24,30:25,31:26,32:27,33:28,34:d,35:A,36:p,38:g,40:m,41:b,42:v,43:y,44:w,46:T,48:k,50:C,54:E,56:x,57:_,62:B,63:S,64:L,65:I,73:M,83:a},{20:[1,146]},e(N,[2,51]),{20:[1,147]},e(N,[2,53]),{27:148,73:M},{27:149,73:M},{59:150,82:H},{59:151,82:H},{59:152,82:H},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},e(N,[2,18]),e(D,[2,11]),{13:155,54:E,56:x},e(D,[2,13]),e(D,[2,14]),e(N,[2,20]),e(N,[2,36]),e(N,[2,37]),e(N,[2,38]),e(N,[2,39]),{20:[1,156]},e(N,[2,40]),{20:[1,157]},e(N,[2,41]),{20:[1,158]},e(N,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:H},{59:162,82:H},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:M},e(j,[2,16]),e(D,[2,12]),e(P,o,{8:108,45:164}),e(R,o,{8:110,47:165}),e(Q,o,{8:112,49:166}),e(N,[2,50]),e(N,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},K=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:case 53:case 66:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return"acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 54:return e.yytext=e.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 67:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}},t);function G(){this.yy={}}return $.lexer=K,G.prototype=$,$.Parser=G,new G}();Eat.parser=Eat;const xat=Eat,_at=t=>null!==t.match(/^\s*sequenceDiagram/);let Bat,Sat,Lat,Iat={},Mat=[],Oat=[],Nat=!1;const Dat=function(t,e,n,r){let i=Lat;const a=Iat[t];if(a){if(Lat&&a.box&&Lat!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+Lat.name+"' at the same time.");if(i=a.box?a.box:Lat,a.box=i,a&&e===a.name&&null==n)return}null!=n&&null!=n.text||(n={text:e,wrap:null,type:r}),null!=r&&null!=n.text||(n={text:e,wrap:null,type:r}),Iat[t]={box:i,name:e,description:n.text,wrap:void 0===n.wrap&&Rat()||!!n.wrap,prevActor:Bat,links:{},properties:{},actorCnt:null,rectData:null,type:r||"participant"},Bat&&Iat[Bat]&&(Iat[Bat].nextActor=t),Lat&&Lat.actorKeys.push(t),Bat=t},Fat=function(t,e,n={text:void 0,wrap:void 0},r){if(r===Qat.ACTIVE_END){const e=(t=>{let e,n=0;for(e=0;e<Oat.length;e++)Oat[e].type===Qat.ACTIVE_START&&Oat[e].from.actor===t&&n++,Oat[e].type===Qat.ACTIVE_END&&Oat[e].from.actor===t&&n--;return n})(t.actor);if(e<1){let e=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}}return Oat.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&Rat()||!!n.wrap,type:r}),!0},Pat=function(t){return Iat[t]},Rat=()=>void 0!==Sat?Sat:R8().sequence.wrap,Qat={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31},Uat=function(t,e,n){n.text,void 0===n.wrap&&Rat()||n.wrap;const r=[].concat(t,t);Oat.push({from:r[0],to:r[1],message:n.text,wrap:void 0===n.wrap&&Rat()||!!n.wrap,type:Qat.NOTE,placement:e})},Hat=function(t,e){const n=Pat(t);try{let t=e6(e.text,R8());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"=");jat(n,JSON.parse(t))}catch(t){W5.error("error while parsing actor link text",t)}};function jat(t,e){if(null==t.links)t.links=e;else for(let n in e)t.links[n]=e[n]}const $at=function(t,e){const n=Pat(t);try{let t=e6(e.text,R8());Kat(n,JSON.parse(t))}catch(t){W5.error("error while parsing actor properties text",t)}};function Kat(t,e){if(null==t.properties)t.properties=e;else for(let n in e)t.properties[n]=e[n]}const Gat=function(t,e){const n=Pat(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&Kat(n,e.properties),e.links&&jat(n,e.links)}catch(t){W5.error("error while parsing actor details text",t)}},zat=function(t){if(Array.isArray(t))t.forEach((function(t){zat(t)}));else switch(t.type){case"sequenceIndex":Oat.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":Dat(t.actor,t.actor,t.description,"participant");break;case"addActor":Dat(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":Fat(t.actor,void 0,void 0,t.signalType);break;case"addNote":Uat(t.actor,t.placement,t.text);break;case"addLinks":Hat(t.actor,t.text);break;case"addALink":!function(t,e){const n=Pat(t);try{const t={};let o=e6(e.text,R8());var r=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var i=o.slice(0,r-1).trim(),a=o.slice(r+1).trim();t[i]=a,jat(n,t)}catch(t){W5.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":$at(t.actor,t.text);break;case"addDetails":Gat(t.actor,t.text);break;case"addMessage":Fat(t.from,t.to,t.msg,t.signalType);break;case"boxStart":!function(t){Mat.push({name:t.text,wrap:void 0===t.wrap&&Rat()||!!t.wrap,fill:t.color,actorKeys:[]}),Lat=Mat.slice(-1)[0]}(t.boxData);break;case"boxEnd":Lat=void 0;break;case"loopStart":Fat(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":Fat(void 0,void 0,void 0,t.signalType);break;case"rectStart":Fat(void 0,void 0,t.color,t.signalType);break;case"optStart":Fat(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":Fat(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":f7(t.text);break;case"parStart":case"and":Fat(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":Fat(void 0,void 0,t.criticalText,t.signalType);break;case"option":Fat(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":Fat(void 0,void 0,t.breakText,t.signalType)}},Xat={addActor:Dat,addMessage:function(t,e,n,r){Oat.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&Rat()||!!n.wrap,answer:r})},addSignal:Fat,addLinks:Hat,addDetails:Gat,addProperties:$at,autoWrap:Rat,setWrap:function(t){Sat=t},enableSequenceNumbers:function(){Nat=!0},disableSequenceNumbers:function(){Nat=!1},showSequenceNumbers:()=>Nat,getMessages:function(){return Oat},getActors:function(){return Iat},getActor:Pat,getActorKeys:function(){return Object.keys(Iat)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:d7,getBoxes:function(){return Mat},getDiagramTitle:m7,setDiagramTitle:g7,parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().sequence,clear:function(){Iat={},Mat=[],Oat=[],Nat=!1,h7()},parseMessage:function(t){const e=t.trim(),n={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return W5.debug("parseMessage:",n),n},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let n=null!=e&&e[1]?e[1].trim():"transparent",r=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",n)||(n="transparent",r=t.trim());else{const e=(new Option).style;e.color=n,e.color!==n&&(n="transparent",r=t.trim())}return{color:n,text:void 0!==r?e6(r.replace(/^:?(?:no)?wrap:/,""),R8()):void 0,wrap:void 0!==r?null!==r.match(/^:?wrap:/)||null===r.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:Qat,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Uat,setAccTitle:f7,apply:zat,setAccDescription:A7,getAccDescription:p7,hasAtLeastOneBox:function(){return Mat.length>0},hasAtLeastOneBoxWithTitle:function(){return Mat.some((t=>t.name))}};let qat=[];const Vat=()=>{qat.forEach((t=>{t()})),qat=[]},Wat=function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},Yat=(t,e)=>{(t=>{qat.push(t)})((()=>{const n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",(function(){tot("actor"+e+"_popup")})),n[0].addEventListener("mouseout",(function(){eot("actor"+e+"_popup")})))}))},Jat=function(t,e,n,r){const i=t.append("image");i.attr("x",e),i.attr("y",n);var a=yU(r);i.attr("xlink:href",a)},Zat=function(t,e,n,r){const i=t.append("use");i.attr("x",e),i.attr("y",n);var a=yU(r);i.attr("xlink:href","#"+a)},tot=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},eot=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},not=function(t,e){let n=0,r=0;const i=e.text.split(s6.lineBreakRegex),[a,o]=_8(e.fontSize);let s=[],c=0,l=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":l=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":l=()=>Math.round(e.y+(n+r+e.textMargin)/2);break;case"bottom":case"end":l=()=>Math.round(e.y+(n+r+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[u,h]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==a&&(c=u*a);const i=t.append("text");if(i.attr("x",e.x),i.attr("y",l()),void 0!==e.anchor&&i.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&i.style("font-family",e.fontFamily),void 0!==o&&i.style("font-size",o),void 0!==e.fontWeight&&i.style("font-weight",e.fontWeight),void 0!==e.fill&&i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class),void 0!==e.dy?i.attr("dy",e.dy):0!==c&&i.attr("dy",c),e.tspan){const t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(h)}else i.text(h);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,n=r),s.push(i)}return s},rot=function(t,e){const n=t.append("polygon");return n.attr("points",function(t,e,n,r,i){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+r-i)+" "+(t+n-1.2*i)+","+(e+r)+" "+t+","+(e+r)}(e.x,e.y,e.width,e.height,7)),n.attr("class","labelBox"),e.y=e.y+e.height/2,not(t,e),n};let iot=-1;const aot=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},oot=function(t,e){Wat(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},sot=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},cot=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},lot=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,a,o,s,c){const{actorFontSize:l,actorFontFamily:u,actorFontWeight:h}=c,[f,d]=_8(l),A=t.split(s6.lineBreakRegex);for(let t=0;t<A.length;t++){const c=t*f-f*(A.length-1)/2,l=e.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").style("font-size",d).style("font-weight",h).style("font-family",u);l.append("tspan").attr("x",n+a/2).attr("dy",c).text(A[t]),l.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(l,s)}}function n(t,n,i,a,o,s,c,l){const u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,o,s,c,l),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),uot=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").text(t),s)}function e(t,e,n,i,a,o,s,c){const{actorFontSize:l,actorFontFamily:u,actorFontWeight:h}=c,f=t.split(s6.lineBreakRegex);for(let t=0;t<f.length;t++){const a=t*l-l*(f.length-1)/2,c=e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").style("font-size",l).style("font-weight",h).style("font-family",u);c.append("tspan").attr("x",n).attr("dy",a).text(f[t]),c.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(c,s)}}function n(t,n,i,a,o,s,c,l){const u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,0,s,c,l),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),hot={drawRect:Wat,drawText:not,drawLabel:rot,drawActor:function(t,e,n,r){switch(e.type){case"actor":return function(t,e,n,r){const i=e.x+e.width/2,a=e.y+80;r||(iot++,t.append("line").attr("id","actor"+iot).attr("x1",i).attr("y1",a).attr("x2",i).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const o=t.append("g");o.attr("class","actor-man");const s=cot();s.x=e.x,s.y=e.y,s.fill="#eaeaea",s.width=e.width,s.height=e.height,s.class="actor",s.rx=3,s.ry=3,o.append("line").attr("id","actor-man-torso"+iot).attr("x1",i).attr("y1",e.y+25).attr("x2",i).attr("y2",e.y+45),o.append("line").attr("id","actor-man-arms"+iot).attr("x1",i-18).attr("y1",e.y+33).attr("x2",i+18).attr("y2",e.y+33),o.append("line").attr("x1",i-18).attr("y1",e.y+60).attr("x2",i).attr("y2",e.y+45),o.append("line").attr("x1",i).attr("y1",e.y+45).attr("x2",i+16).attr("y2",e.y+60);const c=o.append("circle");c.attr("cx",e.x+e.width/2),c.attr("cy",e.y+10),c.attr("r",15),c.attr("width",e.width),c.attr("height",e.height);const l=o.node().getBBox();return e.height=l.height,lot(n)(e.description,o,s.x,s.y+35,s.width,s.height,{class:"actor"},n),e.height}(t,e,n,r);case"participant":return function(t,e,n,r){const i=e.x+e.width/2,a=e.y+5,o=t.append("g");var s=o;r||(iot++,s.append("line").attr("id","actor"+iot).attr("x1",i).attr("y1",a).attr("x2",i).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),s=o.append("g"),e.actorCnt=iot,null!=e.links&&(s.attr("id","root-"+iot),Yat("#root-"+iot,iot)));const c=cot();var l="actor";null!=e.properties&&e.properties.class?l=e.properties.class:c.fill="#eaeaea",c.x=e.x,c.y=e.y,c.width=e.width,c.height=e.height,c.class=l,c.rx=3,c.ry=3;const u=Wat(s,c);if(e.rectData=c,null!=e.properties&&e.properties.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?Zat(s,c.x+c.width-20,c.y+10,t.substr(1)):Jat(s,c.x+c.width-20,c.y+10,t)}lot(n)(e.description,s,c.x,c.y,c.width,c.height,{class:"actor"},n);let h=e.height;if(u.node){const t=u.node().getBBox();e.height=t.height,h=t.height}return h}(t,e,n,r)}},drawBox:function(t,e,n){const r=t.append("g");oot(r,e),e.name&&lot(n)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},n),r.lower()},drawPopup:function(t,e,n,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const a=e.links,o=e.actorCnt,s=e.rectData;var c="none";i&&(c="block !important");const l=t.append("g");l.attr("id","actor"+o+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",c),Yat("#actor"+o+"_popup",o);var u="";void 0!==s.class&&(u=" "+s.class);let h=s.width>n?s.width:n;const f=l.append("rect");if(f.attr("class","actorPopupMenuPanel"+u),f.attr("x",s.x),f.attr("y",s.height),f.attr("fill",s.fill),f.attr("stroke",s.stroke),f.attr("width",h),f.attr("height",s.height),f.attr("rx",s.rx),f.attr("ry",s.ry),null!=a){var d=20;for(let t in a){var A=l.append("a"),p=yU(a[t]);A.attr("xlink:href",p),A.attr("target","_blank"),uot(r)(t,A,s.x+10,s.height+d,h,20,{class:"actor"},r),d+=30}}return f.attr("height",d),{height:s.height+d,width:h}},drawImage:Jat,drawEmbeddedImage:Zat,anchorElement:function(t){return t.append("g")},drawActivation:function(t,e,n,r,i){const a=cot(),o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+i%3,a.width=e.stopx-e.startx,a.height=n-e.starty,Wat(o,a)},drawLoop:function(t,e,n,r){const{boxMargin:i,boxTextMargin:a,labelBoxHeight:o,labelBoxWidth:s,messageFontFamily:c,messageFontSize:l,messageFontWeight:u}=r,h=t.append("g"),f=function(t,e,n,r){return h.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",r).attr("class","loopLine")};f(e.startx,e.starty,e.stopx,e.starty),f(e.stopx,e.starty,e.stopx,e.stopy),f(e.startx,e.stopy,e.stopx,e.stopy),f(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){f(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let d=sot();d.text=n,d.x=e.startx,d.y=e.starty,d.fontFamily=c,d.fontSize=l,d.fontWeight=u,d.anchor="middle",d.valign="middle",d.tspan=!1,d.width=s||50,d.height=o||20,d.textMargin=a,d.class="labelText",rot(h,d),d=sot(),d.text=e.title,d.x=e.startx+s/2+(e.stopx-e.startx)/2,d.y=e.starty+i+a,d.anchor="middle",d.valign="middle",d.textMargin=a,d.class="loopText",d.fontFamily=c,d.fontSize=l,d.fontWeight=u,d.wrap=!0;let A=not(h,d);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,n){if(t.message){d.text=t.message,d.x=e.startx+(e.stopx-e.startx)/2,d.y=e.sections[n].y+i+a,d.class="loopText",d.anchor="middle",d.valign="middle",d.tspan=!1,d.fontFamily=c,d.fontSize=l,d.fontWeight=u,d.wrap=e.wrap,A=not(h,d);let r=Math.round(A.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[n].height+=r-(i+a)}})),e.height=Math.round(e.stopy-e.starty),h},drawBackgroundRect:oot,insertArrowHead:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},insertArrowFilledHead:function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},insertSequenceNumber:function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},insertArrowCrossHead:function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},insertDatabaseIcon:function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},insertComputerIcon:function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},insertClockIcon:function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},getTextObj:sot,getNoteRect:cot,popupMenu:function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'block'; }"},popdownMenu:function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'none'; }"},fixLifeLineHeights:aot,sanitizeUrl:yU};let fot={};const dot={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((t=>t.height||0)))+(0===this.loops.length?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.messages.length?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.notes.length?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,vot(R8())},updateVal:function(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(t,e,n,r){const i=this;let a=0;function o(o){return function(s){a++;const c=i.sequenceItems.length-a+1;i.updateVal(s,"starty",e-c*fot.boxMargin,Math.min),i.updateVal(s,"stopy",r+c*fot.boxMargin,Math.max),i.updateVal(dot.data,"startx",t-c*fot.boxMargin,Math.min),i.updateVal(dot.data,"stopx",n+c*fot.boxMargin,Math.max),"activation"!==o&&(i.updateVal(s,"startx",t-c*fot.boxMargin,Math.min),i.updateVal(s,"stopx",n+c*fot.boxMargin,Math.max),i.updateVal(dot.data,"starty",e-c*fot.boxMargin,Math.min),i.updateVal(dot.data,"stopy",r+c*fot.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,n,r){const i=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,r),s=Math.max(e,r);this.updateVal(dot.data,"startx",i,Math.min),this.updateVal(dot.data,"starty",o,Math.min),this.updateVal(dot.data,"stopx",a,Math.max),this.updateVal(dot.data,"stopy",s,Math.max),this.updateBounds(i,o,a,s)},newActivation:function(t,e,n){const r=n[t.from.actor],i=yot(t.from.actor).length||0,a=r.x+r.width/2+(i-1)*fot.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+fot.activationWidth,stopy:void 0,actor:t.from.actor,anchored:hot.anchorElement(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:dot.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},Aot=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),pot=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),got=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});const mot=function(t,e,n,r,i,a,o){if(!0===i.hideUnusedParticipants){const t=new Set;a.forEach((e=>{t.add(e.from),t.add(e.to)})),n=n.filter((e=>t.has(e)))}let s,c=0,l=0,u=0;for(const i of n){const n=e[i],a=n.box;s&&s!=a&&(o||dot.models.addBox(s),l+=fot.boxMargin+s.margin),a&&a!=s&&(o||(a.x=c+l,a.y=r),l+=a.margin),n.width=n.width||fot.width,n.height=Math.max(n.height||fot.height,fot.height),n.margin=n.margin||fot.actorMargin,n.x=c+l,n.y=dot.getVerticalPos();const h=hot.drawActor(t,n,fot,o);u=Math.max(u,h),dot.insert(n.x,r,n.x+n.width,n.height),c+=n.width+l,n.box&&(n.box.width=c+a.margin-n.box.x),l=n.margin,s=n.box,dot.models.addActor(n)}s&&!o&&dot.models.addBox(s),dot.bumpVerticalPos(u)},bot=function(t,e,n,r){let i=0,a=0;for(const o of n){const n=e[o],s=kot(n),c=hot.drawPopup(t,n,s,fot,fot.forceMenus,r);c.height>i&&(i=c.height),c.width+n.x>a&&(a=c.width+n.x)}return{maxHeight:i,maxWidth:a}},vot=function(t){o8(fot,t),t.fontFamily&&(fot.actorFontFamily=fot.noteFontFamily=fot.messageFontFamily=t.fontFamily),t.fontSize&&(fot.actorFontSize=fot.noteFontSize=fot.messageFontSize=t.fontSize),t.fontWeight&&(fot.actorFontWeight=fot.noteFontWeight=fot.messageFontWeight=t.fontWeight)},yot=function(t){return dot.activations.filter((function(e){return e.actor===t}))},wot=function(t,e){const n=e[t],r=yot(t);return[r.reduce((function(t,e){return Math.min(t,e.startx)}),n.x+n.width/2),r.reduce((function(t,e){return Math.max(t,e.stopx)}),n.x+n.width/2)]};function Tot(t,e,n,r,i){dot.bumpVerticalPos(n);let a=r;if(e.id&&e.message&&t[e.id]){const n=t[e.id].width,i=Aot(fot);e.message=B8.wrapLabel(`[${e.message}]`,n-2*fot.wrapPadding,i),e.width=n,e.wrap=!0;const o=B8.calculateTextDimensions(e.message,i),s=Math.max(o.height,fot.labelBoxHeight);a=r+s,W5.debug(`${s} - ${e.message}`)}i(e),dot.bumpVerticalPos(a)}const kot=function(t){let e=0;const n=got(fot);for(const r in t.links){const t=B8.calculateTextDimensions(r,n).width+2*fot.wrapPadding+2*fot.boxMargin;e<t&&(e=t)}return e};const Cot=function(t,e,n,r){const i={},a=[];let o,s,c;return t.forEach((function(t){switch(t.id=B8.random({length:10}),t.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:a.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:t.message&&(o=a.pop(),i[o.id]=o,i[t.id]=o,a.push(o));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=a.pop(),i[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const n=e[t.from?t.from.actor:t.to.actor],r=yot(t.from?t.from.actor:t.to.actor).length,i=n.x+n.width/2+(r-1)*fot.activationWidth/2,a={startx:i,stopx:i+fot.activationWidth,actor:t.from.actor,enabled:!0};dot.activations.push(a)}break;case r.db.LINETYPE.ACTIVE_END:{const e=dot.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete dot.activations.splice(e,1)[0]}}void 0!==t.placement?(s=function(t,e,n){const r=e[t.from].x,i=e[t.to].x,a=t.wrap&&t.message;let o=B8.calculateTextDimensions(a?B8.wrapLabel(t.message,fot.width,pot(fot)):t.message,pot(fot));const s={width:a?fot.width:Math.max(fot.width,o.width+2*fot.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===n.db.PLACEMENT.RIGHTOF?(s.width=a?Math.max(fot.width,o.width):Math.max(e[t.from].width/2+e[t.to].width/2,o.width+2*fot.noteMargin),s.startx=r+(e[t.from].width+fot.actorMargin)/2):t.placement===n.db.PLACEMENT.LEFTOF?(s.width=a?Math.max(fot.width,o.width+2*fot.noteMargin):Math.max(e[t.from].width/2+e[t.to].width/2,o.width+2*fot.noteMargin),s.startx=r-s.width+(e[t.from].width-fot.actorMargin)/2):t.to===t.from?(o=B8.calculateTextDimensions(a?B8.wrapLabel(t.message,Math.max(fot.width,e[t.from].width),pot(fot)):t.message,pot(fot)),s.width=a?Math.max(fot.width,e[t.from].width):Math.max(e[t.from].width,fot.width,o.width+2*fot.noteMargin),s.startx=r+(e[t.from].width-s.width)/2):(s.width=Math.abs(r+e[t.from].width/2-(i+e[t.to].width/2))+fot.actorMargin,s.startx=r<i?r+e[t.from].width/2-fot.actorMargin/2:i+e[t.to].width/2-fot.actorMargin/2),a&&(s.message=B8.wrapLabel(t.message,s.width-2*fot.wrapPadding,pot(fot))),W5.debug(`NM:[${s.startx},${s.stopx},${s.starty},${s.stopy}:${s.width},${s.height}=${t.message}]`),s}(t,e,r),t.noteModel=s,a.forEach((t=>{o=t,o.from=Math.min(o.from,s.startx),o.to=Math.max(o.to,s.startx+s.width),o.width=Math.max(o.width,Math.abs(o.from-o.to))-fot.labelBoxWidth}))):(c=function(t,e,n){let r=!1;if([n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(r=!0),!r)return{};const i=wot(t.from,e),a=wot(t.to,e),o=i[0]<=a[0]?1:0,s=i[0]<a[0]?0:1,c=[...i,...a],l=Math.abs(a[s]-i[o]);t.wrap&&t.message&&(t.message=B8.wrapLabel(t.message,Math.max(l+2*fot.wrapPadding,fot.width),Aot(fot)));const u=B8.calculateTextDimensions(t.message,Aot(fot));return{width:Math.max(t.wrap?0:u.width+2*fot.wrapPadding,l+2*fot.wrapPadding,fot.width),height:0,startx:i[o],stopx:a[s],starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,c),toBounds:Math.max.apply(null,c)}}(t,e,r),t.msgModel=c,c.startx&&c.stopx&&a.length>0&&a.forEach((n=>{if(o=n,c.startx===c.stopx){const n=e[t.from],r=e[t.to];o.from=Math.min(n.x-c.width/2,n.x-n.width/2,o.from),o.to=Math.max(r.x+c.width/2,r.x+n.width/2,o.to),o.width=Math.max(o.width,Math.abs(o.to-o.from))-fot.labelBoxWidth}else o.from=Math.min(c.startx,o.from),o.to=Math.max(c.stopx,o.to),o.width=Math.max(o.width,c.width)-fot.labelBoxWidth})))})),dot.activations=[],W5.debug("Loop type widths:",i),i},Eot={bounds:dot,drawActors:mot,drawActorsPopup:bot,setConf:vot,draw:function(t,e,n,r){const{securityLevel:i,sequence:a}=R8();let o;fot=a,r.db.clear(),r.parser.parse(t),"sandbox"===i&&(o=i$("#i"+e));const s=i$("sandbox"===i?o.nodes()[0].contentDocument.body:"body"),c="sandbox"===i?o.nodes()[0].contentDocument:document;dot.init(),W5.debug(r.db);const l="sandbox"===i?s.select(`[id="${e}"]`):i$(`[id="${e}"]`),u=r.db.getActors(),h=r.db.getBoxes(),f=r.db.getActorKeys(),d=r.db.getMessages(),A=r.db.getDiagramTitle(),p=r.db.hasAtLeastOneBox(),g=r.db.hasAtLeastOneBoxWithTitle(),m=function(t,e,n){const r={};return e.forEach((function(e){if(t[e.to]&&t[e.from]){const i=t[e.to];if(e.placement===n.db.PLACEMENT.LEFTOF&&!i.prevActor)return;if(e.placement===n.db.PLACEMENT.RIGHTOF&&!i.nextActor)return;const a=void 0!==e.placement,o=!a,s=a?pot(fot):Aot(fot),c=e.wrap?B8.wrapLabel(e.message,fot.width-2*fot.wrapPadding,s):e.message,l=B8.calculateTextDimensions(c,s).width+2*fot.wrapPadding;o&&e.from===i.nextActor?r[e.to]=Math.max(r[e.to]||0,l):o&&e.from===i.prevActor?r[e.from]=Math.max(r[e.from]||0,l):o&&e.from===e.to?(r[e.from]=Math.max(r[e.from]||0,l/2),r[e.to]=Math.max(r[e.to]||0,l/2)):e.placement===n.db.PLACEMENT.RIGHTOF?r[e.from]=Math.max(r[e.from]||0,l):e.placement===n.db.PLACEMENT.LEFTOF?r[i.prevActor]=Math.max(r[i.prevActor]||0,l):e.placement===n.db.PLACEMENT.OVER&&(i.prevActor&&(r[i.prevActor]=Math.max(r[i.prevActor]||0,l/2)),i.nextActor&&(r[e.from]=Math.max(r[e.from]||0,l/2)))}})),W5.debug("maxMessageWidthPerActor:",r),r}(u,d,r);fot.height=function(t,e,n){let r=0;Object.keys(t).forEach((e=>{const n=t[e];n.wrap&&(n.description=B8.wrapLabel(n.description,fot.width-2*fot.wrapPadding,got(fot)));const i=B8.calculateTextDimensions(n.description,got(fot));n.width=n.wrap?fot.width:Math.max(fot.width,i.width+2*fot.wrapPadding),n.height=n.wrap?Math.max(i.height,fot.height):fot.height,r=Math.max(r,n.height)}));for(const n in e){const r=t[n];if(!r)continue;const i=t[r.nextActor];if(!i){const t=e[n]+fot.actorMargin-r.width/2;r.margin=Math.max(t,fot.actorMargin);continue}const a=e[n]+fot.actorMargin-r.width/2-i.width/2;r.margin=Math.max(a,fot.actorMargin)}let i=0;return n.forEach((e=>{const n=Aot(fot);let r=e.actorKeys.reduce(((e,n)=>e+(t[n].width+(t[n].margin||0))),0);r-=2*fot.boxTextMargin,e.wrap&&(e.name=B8.wrapLabel(e.name,r-2*fot.wrapPadding,n));const a=B8.calculateTextDimensions(e.name,n);i=Math.max(a.height,i);const o=Math.max(r,a.width+2*fot.wrapPadding);if(e.margin=fot.boxTextMargin,r<o){const t=(o-r)/2;e.margin+=t}})),n.forEach((t=>t.textMaxHeight=i)),Math.max(r,fot.height)}(u,m,h),hot.insertComputerIcon(l),hot.insertDatabaseIcon(l),hot.insertClockIcon(l),p&&(dot.bumpVerticalPos(fot.boxMargin),g&&dot.bumpVerticalPos(h[0].textMaxHeight)),mot(l,u,f,0,fot,d,!1);const b=Cot(d,u,m,r);hot.insertArrowHead(l),hot.insertArrowCrossHead(l),hot.insertArrowFilledHead(l),hot.insertSequenceNumber(l);let v=1,y=1;const w=[];d.forEach((function(t){let e,n,i;switch(t.type){case r.db.LINETYPE.NOTE:n=t.noteModel,function(t,e){dot.bumpVerticalPos(fot.boxMargin),e.height=fot.boxMargin,e.starty=dot.getVerticalPos();const n=hot.getNoteRect();n.x=e.startx,n.y=e.starty,n.width=e.width||fot.width,n.class="note";const r=t.append("g"),i=hot.drawRect(r,n),a=hot.getTextObj();a.x=e.startx,a.y=e.starty,a.width=n.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=fot.noteFontFamily,a.fontSize=fot.noteFontSize,a.fontWeight=fot.noteFontWeight,a.anchor=fot.noteAlign,a.textMargin=fot.noteMargin,a.valign="center";const o=not(r,a),s=Math.round(o.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));i.attr("height",s+2*fot.noteMargin),e.height+=s+2*fot.noteMargin,dot.bumpVerticalPos(s+2*fot.noteMargin),e.stopy=e.starty+s+2*fot.noteMargin,e.stopx=e.startx+n.width,dot.insert(e.startx,e.starty,e.stopx,e.stopy),dot.models.addNote(e)}(l,n);break;case r.db.LINETYPE.ACTIVE_START:dot.newActivation(t,l,u);break;case r.db.LINETYPE.ACTIVE_END:!function(t,e){const n=dot.endActivation(t);n.starty+18>e&&(n.starty=e-6,e+=12),hot.drawActivation(l,n,e,fot,yot(t.from.actor).length),dot.insert(n.startx,e-10,n.stopx,e)}(t,dot.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:Tot(b,t,fot.boxMargin,fot.boxMargin+fot.boxTextMargin,(t=>dot.newLoop(t)));break;case r.db.LINETYPE.LOOP_END:e=dot.endLoop(),hot.drawLoop(l,e,"loop",fot),dot.bumpVerticalPos(e.stopy-dot.getVerticalPos()),dot.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:Tot(b,t,fot.boxMargin,fot.boxMargin,(t=>dot.newLoop(void 0,t.message)));break;case r.db.LINETYPE.RECT_END:e=dot.endLoop(),hot.drawBackgroundRect(l,e),dot.models.addLoop(e),dot.bumpVerticalPos(e.stopy-dot.getVerticalPos());break;case r.db.LINETYPE.OPT_START:Tot(b,t,fot.boxMargin,fot.boxMargin+fot.boxTextMargin,(t=>dot.newLoop(t)));break;case r.db.LINETYPE.OPT_END:e=dot.endLoop(),hot.drawLoop(l,e,"opt",fot),dot.bumpVerticalPos(e.stopy-dot.getVerticalPos()),dot.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:Tot(b,t,fot.boxMargin,fot.boxMargin+fot.boxTextMargin,(t=>dot.newLoop(t)));break;case r.db.LINETYPE.ALT_ELSE:Tot(b,t,fot.boxMargin+fot.boxTextMargin,fot.boxMargin,(t=>dot.addSectionToLoop(t)));break;case r.db.LINETYPE.ALT_END:e=dot.endLoop(),hot.drawLoop(l,e,"alt",fot),dot.bumpVerticalPos(e.stopy-dot.getVerticalPos()),dot.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:Tot(b,t,fot.boxMargin,fot.boxMargin+fot.boxTextMargin,(t=>dot.newLoop(t)));break;case r.db.LINETYPE.PAR_AND:Tot(b,t,fot.boxMargin+fot.boxTextMargin,fot.boxMargin,(t=>dot.addSectionToLoop(t)));break;case r.db.LINETYPE.PAR_END:e=dot.endLoop(),hot.drawLoop(l,e,"par",fot),dot.bumpVerticalPos(e.stopy-dot.getVerticalPos()),dot.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:v=t.message.start||v,y=t.message.step||y,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:Tot(b,t,fot.boxMargin,fot.boxMargin+fot.boxTextMargin,(t=>dot.newLoop(t)));break;case r.db.LINETYPE.CRITICAL_OPTION:Tot(b,t,fot.boxMargin+fot.boxTextMargin,fot.boxMargin,(t=>dot.addSectionToLoop(t)));break;case r.db.LINETYPE.CRITICAL_END:e=dot.endLoop(),hot.drawLoop(l,e,"critical",fot),dot.bumpVerticalPos(e.stopy-dot.getVerticalPos()),dot.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:Tot(b,t,fot.boxMargin,fot.boxMargin+fot.boxTextMargin,(t=>dot.newLoop(t)));break;case r.db.LINETYPE.BREAK_END:e=dot.endLoop(),hot.drawLoop(l,e,"break",fot),dot.bumpVerticalPos(e.stopy-dot.getVerticalPos()),dot.models.addLoop(e);break;default:try{i=t.msgModel,i.starty=dot.getVerticalPos(),i.sequenceIndex=v,i.sequenceVisible=r.db.showSequenceNumbers();const e=function(t,e){dot.bumpVerticalPos(10);const{startx:n,stopx:r,message:i}=e,a=s6.splitBreaks(i).length,o=B8.calculateTextDimensions(i,Aot(fot)),s=o.height/a;let c;e.height+=s,dot.bumpVerticalPos(s);let l=o.height-10;const u=o.width;if(n===r){c=dot.getVerticalPos()+l,fot.rightAngles||(l+=fot.boxMargin,c=dot.getVerticalPos()+l),l+=30;const t=Math.max(u/2,fot.width/2);dot.insert(n-t,dot.getVerticalPos()-10+l,r+t,dot.getVerticalPos()+30+l)}else l+=fot.boxMargin,c=dot.getVerticalPos()+l,dot.insert(n,c-10,r,c);return dot.bumpVerticalPos(l),e.height+=l,e.stopy=e.starty+e.height,dot.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),c}(0,i);w.push({messageModel:i,lineStartY:e}),dot.models.addMessage(i)}catch(t){W5.error("error while drawing message",t)}}[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN,r.db.LINETYPE.SOLID,r.db.LINETYPE.DOTTED,r.db.LINETYPE.SOLID_CROSS,r.db.LINETYPE.DOTTED_CROSS,r.db.LINETYPE.SOLID_POINT,r.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(v+=y)})),w.forEach((t=>function(t,e,n,r){const{startx:i,stopx:a,starty:o,message:s,type:c,sequenceIndex:l,sequenceVisible:u}=e,h=B8.calculateTextDimensions(s,Aot(fot)),f=hot.getTextObj();f.x=i,f.y=o+10,f.width=a-i,f.class="messageText",f.dy="1em",f.text=s,f.fontFamily=fot.messageFontFamily,f.fontSize=fot.messageFontSize,f.fontWeight=fot.messageFontWeight,f.anchor=fot.messageAlign,f.valign="center",f.textMargin=fot.wrapPadding,f.tspan=!1,not(t,f);const d=h.width;let A;i===a?A=fot.rightAngles?t.append("path").attr("d",`M ${i},${n} H ${i+Math.max(fot.width/2,d/2)} V ${n+25} H ${i}`):t.append("path").attr("d","M "+i+","+n+" C "+(i+60)+","+(n-10)+" "+(i+60)+","+(n+30)+" "+i+","+(n+20)):(A=t.append("line"),A.attr("x1",i),A.attr("y1",n),A.attr("x2",a),A.attr("y2",n)),c===r.db.LINETYPE.DOTTED||c===r.db.LINETYPE.DOTTED_CROSS||c===r.db.LINETYPE.DOTTED_POINT||c===r.db.LINETYPE.DOTTED_OPEN?(A.style("stroke-dasharray","3, 3"),A.attr("class","messageLine1")):A.attr("class","messageLine0");let p="";fot.arrowMarkerAbsolute&&(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,p=p.replace(/\(/g,"\\("),p=p.replace(/\)/g,"\\)")),A.attr("stroke-width",2),A.attr("stroke","none"),A.style("fill","none"),c!==r.db.LINETYPE.SOLID&&c!==r.db.LINETYPE.DOTTED||A.attr("marker-end","url("+p+"#arrowhead)"),c!==r.db.LINETYPE.SOLID_POINT&&c!==r.db.LINETYPE.DOTTED_POINT||A.attr("marker-end","url("+p+"#filled-head)"),c!==r.db.LINETYPE.SOLID_CROSS&&c!==r.db.LINETYPE.DOTTED_CROSS||A.attr("marker-end","url("+p+"#crosshead)"),(u||fot.showSequenceNumbers)&&(A.attr("marker-start","url("+p+"#sequencenumber)"),t.append("text").attr("x",i).attr("y",n+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(l))}(l,t.messageModel,t.lineStartY,r))),fot.mirrorActors&&(dot.bumpVerticalPos(2*fot.boxMargin),mot(l,u,f,dot.getVerticalPos(),fot,d,!0),dot.bumpVerticalPos(fot.boxMargin),aot(l,dot.getVerticalPos())),dot.models.boxes.forEach((function(t){t.height=dot.getVerticalPos()-t.y,dot.insert(t.x,t.y,t.x+t.width,t.height),t.startx=t.x,t.starty=t.y,t.stopx=t.startx+t.width,t.stopy=t.starty+t.height,t.stroke="rgb(0,0,0, 0.5)",hot.drawBox(l,t,fot)})),p&&dot.bumpVerticalPos(fot.boxMargin);const T=bot(l,u,f,c),{bounds:k}=dot.getBounds();W5.debug("For line height fix Querying: #"+e+" .actor-line");a$("#"+e+" .actor-line").attr("y2",k.stopy);let C=k.stopy-k.starty;C<T.maxHeight&&(C=T.maxHeight);let E=C+2*fot.diagramMarginY;fot.mirrorActors&&(E=E-fot.boxMargin+fot.bottomMarginAdj);let x=k.stopx-k.startx;x<T.maxWidth&&(x=T.maxWidth);const _=x+2*fot.diagramMarginX;A&&l.append("text").text(A).attr("x",(k.stopx-k.startx)/2-2*fot.diagramMarginX).attr("y",-25),G8(l,E,_,fot.useMaxWidth);const B=A?40:0;l.attr("viewBox",k.startx-fot.diagramMarginX+" -"+(fot.diagramMarginY+B)+" "+_+" "+(E+B)),W5.debug("models:",dot.models)}};var xot=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,2],r=[1,3],i=[1,5],a=[1,7],o=[2,5],s=[1,15],c=[1,17],l=[1,21],u=[1,22],h=[1,23],f=[1,24],d=[1,37],A=[1,25],p=[1,26],g=[1,27],m=[1,28],b=[1,29],v=[1,32],y=[1,33],w=[1,34],T=[1,35],k=[1,36],C=[1,39],E=[1,40],x=[1,41],_=[1,42],B=[1,38],S=[1,45],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],I=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],M=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],O=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],N={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 12:this.$=a[s];break;case 9:this.$="nl";break;case 13:const t=a[s-1];t.description=r.trimColon(a[s]),this.$=t;break;case 14:this.$={stmt:"relation",state1:a[s-2],state2:a[s]};break;case 15:const e=r.trimColon(a[s]);this.$={stmt:"relation",state1:a[s-3],state2:a[s-1],description:e};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(":")){var u=a[s].split(":");c=u[0],l=[l,u[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 21:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:"state",id:a[s],type:"fork"};break;case 23:this.$={stmt:"state",id:a[s],type:"join"};break;case 24:this.$={stmt:"state",id:a[s],type:"choice"};break;case 25:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 31:case 32:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:a[s-1].trim(),classes:a[s].trim()};break;case 35:this.$={stmt:"applyClass",id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:r.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:r.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:r.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[s].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[s-2].trim(),classes:[a[s].trim()],type:"default",description:""};break;case 50:r.parseDirective("%%{","open_directive");break;case 51:r.parseDirective(a[s],"type_directive");break;case 52:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 53:r.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:n,5:r,6:4,7:i,45:6,60:a},{1:[3]},{3:8,4:n,5:r,6:4,7:i,45:6,60:a},{3:9,4:n,5:r,6:4,7:i,45:6,60:a},{3:10,4:n,5:r,6:4,7:i,45:6,60:a},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],o,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:s,5:c,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:u,19:h,22:f,24:d,25:A,26:p,27:g,28:m,29:b,32:31,33:v,35:y,37:w,38:T,42:k,45:6,50:C,51:E,52:x,53:_,56:B,60:a},{47:43,48:[1,44],63:S},e([48,63],[2,51]),e(L,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:l,17:u,19:h,22:f,24:d,25:A,26:p,27:g,28:m,29:b,32:31,33:v,35:y,37:w,38:T,42:k,45:6,50:C,51:E,52:x,53:_,56:B,60:a},e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(L,[2,11]),e(L,[2,12],{14:[1,47],15:[1,48]}),e(L,[2,16]),{18:[1,49]},e(L,[2,18],{20:[1,50]}),{23:[1,51]},e(L,[2,22]),e(L,[2,23]),e(L,[2,24]),e(L,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},e(L,[2,28]),e(L,[2,29]),{34:[1,56]},{36:[1,57]},e(L,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},e(I,[2,44],{57:[1,61]}),e(I,[2,45],{57:[1,62]}),e(L,[2,38]),e(L,[2,39]),e(L,[2,40]),e(L,[2,41]),e(M,[2,36]),{49:63,62:[1,64]},e(M,[2,53]),e(L,[2,7]),e(L,[2,13]),{13:65,24:d,56:B},e(L,[2,17]),e(O,o,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},e(L,[2,30]),e(L,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:S},{63:[2,52]},e(L,[2,14],{14:[1,76]}),{4:s,5:c,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:u,19:h,21:[1,77],22:f,24:d,25:A,26:p,27:g,28:m,29:b,32:31,33:v,35:y,37:w,38:T,42:k,45:6,50:C,51:E,52:x,53:_,56:B,60:a},e(L,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},e(L,[2,33]),e(L,[2,34]),e(L,[2,35]),e(I,[2,46]),e(I,[2,47]),e(M,[2,37]),e(L,[2,15]),e(L,[2,19]),e(O,o,{8:81}),e(L,[2,26]),e(L,[2,27]),{4:s,5:c,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:u,19:h,21:[1,82],22:f,24:d,25:A,26:p,27:g,28:m,29:b,32:31,33:v,35:y,37:w,38:T,42:k,45:6,50:C,51:E,52:x,53:_,56:B,60:a},e(L,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},D=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 69:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return e.yytext=e.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}},t);function F(){this.yy={}}return N.lexer=D,F.prototype=N,N.Parser=F,new F}();xot.parser=xot;const _ot=xot,Bot=(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*stateDiagram/)},Sot=(t,e)=>{var n;return null!==t.match(/^\s*stateDiagram-v2/)||!(!t.match(/^\s*stateDiagram/)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))},Lot="state",Iot="relation",Mot="default",Oot="divider",Not="[*]",Dot="start",Fot=Not,Pot="color",Rot="fill";let Qot="LR",Uot=[],Hot={};let jot={root:{relations:[],states:{},documents:{}}},$ot=jot.root,Kot=0,Got=0;const zot=t=>JSON.parse(JSON.stringify(t)),Xot=(t,e,n)=>{if(e.stmt===Iot)Xot(t,e.state1,!0),Xot(t,e.state2,!1);else if(e.stmt===Lot&&("[*]"===e.id?(e.id=n?t.id+"_start":t.id+"_end",e.start=n):e.id=e.id.trim()),e.doc){const t=[];let n,r=[];for(n=0;n<e.doc.length;n++)if(e.doc[n].type===Oot){const i=zot(e.doc[n]);i.doc=zot(r),t.push(i),r=[]}else r.push(e.doc[n]);if(t.length>0&&r.length>0){const n={stmt:Lot,id:p8(),type:"divider",doc:zot(r)};t.push(zot(n)),e.doc=t}e.doc.forEach((t=>Xot(e,t,!0)))}},qot=function(t,e=Mot,n=null,r=null,i=null,a=null,o=null,s=null){const c=null==t?void 0:t.trim();if(void 0===$ot.states[c]?(W5.info("Adding state ",c,r),$ot.states[c]={id:c,descriptions:[],type:e,doc:n,note:i,classes:[],styles:[],textStyles:[]}):($ot.states[c].doc||($ot.states[c].doc=n),$ot.states[c].type||($ot.states[c].type=e)),r&&(W5.info("Setting state description",c,r),"string"==typeof r&&tst(c,r.trim()),"object"==typeof r&&r.forEach((t=>tst(c,t.trim())))),i&&($ot.states[c].note=i,$ot.states[c].note.text=s6.sanitizeText($ot.states[c].note.text,R8())),a){W5.info("Setting state classes",c,a);("string"==typeof a?[a]:a).forEach((t=>nst(c,t.trim())))}if(o){W5.info("Setting state styles",c,o);("string"==typeof o?[o]:o).forEach((t=>rst(c,t.trim())))}if(s){W5.info("Setting state styles",c,o);("string"==typeof s?[s]:s).forEach((t=>ist(c,t.trim())))}},Vot=function(t){jot={root:{relations:[],states:{},documents:{}}},$ot=jot.root,Kot=0,Hot={},t||h7()},Wot=function(t){return $ot.states[t]};function Yot(t=""){let e=t;return t===Not&&(Kot++,e=`${Dot}${Kot}`),e}function Jot(t="",e=Mot){return t===Not?Dot:e}const Zot=function(t,e,n){if("object"==typeof t)!function(t,e,n){let r=Yot(t.id.trim()),i=Jot(t.id.trim(),t.type),a=Yot(e.id.trim()),o=Jot(e.id.trim(),e.type);qot(r,i,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),qot(a,o,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),$ot.relations.push({id1:r,id2:a,relationTitle:s6.sanitizeText(n,R8())})}(t,e,n);else{const r=Yot(t.trim()),i=Jot(t),a=function(t=""){let e=t;return t===Fot&&(Kot++,e=`end${Kot}`),e}(e.trim()),o=function(t="",e=Mot){return t===Fot?"end":e}(e);qot(r,i),qot(a,o),$ot.relations.push({id1:r,id2:a,title:s6.sanitizeText(n,R8())})}},tst=function(t,e){const n=$ot.states[t],r=e.startsWith(":")?e.replace(":","").trim():e;n.descriptions.push(s6.sanitizeText(r,R8()))},est=function(t,e=""){void 0===Hot[t]&&(Hot[t]={id:t,styles:[],textStyles:[]});const n=Hot[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(Pot)){const t=e.replace(Rot,"bgFill").replace(Pot,Rot);n.textStyles.push(t)}n.styles.push(e)}))},nst=function(t,e){t.split(",").forEach((function(t){let n=Wot(t);if(void 0===n){const e=t.trim();qot(e),n=Wot(e)}n.classes.push(e)}))},rst=function(t,e){const n=Wot(t);void 0!==n&&n.textStyles.push(e)},ist=function(t,e){const n=Wot(t);void 0!==n&&n.textStyles.push(e)},ast={parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().state,addState:qot,clear:Vot,getState:Wot,getStates:function(){return $ot.states},getRelations:function(){return $ot.relations},getClasses:function(){return Hot},getDirection:()=>Qot,addRelation:Zot,getDividerId:()=>(Got++,"divider-id-"+Got),setDirection:t=>{Qot=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){W5.info("Documents = ",jot)},getRootDoc:()=>Uot,setRootDoc:t=>{W5.info("Setting root doc",t),Uot=t},getRootDocV2:()=>(Xot({id:"root"},{id:"root",doc:Uot},!0),{id:"root",doc:Uot}),extract:t=>{let e;e=t.doc?t.doc:t,W5.info(e),Vot(!0),W5.info("Extract",e),e.forEach((t=>{switch(t.stmt){case Lot:qot(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case Iot:Zot(t.state1,t.state2,t.description);break;case"classDef":est(t.id.trim(),t.classes);break;case"applyClass":nst(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:d7,setAccTitle:f7,getAccDescription:p7,setAccDescription:A7,addStyleClass:est,setCssClass:nst,addDescription:tst,setDiagramTitle:g7,getDiagramTitle:m7},ost=(t,e)=>{const n=t.append("text").attr("x",2*R8().state.padding).attr("y",R8().state.textHeight+1.3*R8().state.padding).attr("font-size",R8().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=n.height,i=t.append("text").attr("x",R8().state.padding).attr("y",r+.4*R8().state.padding+R8().state.dividerMargin+R8().state.textHeight).attr("class","state-description");let a=!0,o=!0;e.descriptions.forEach((function(t){a||(!function(t,e,n){const r=t.append("tspan").attr("x",2*R8().state.padding).text(e);n||r.attr("dy",R8().state.textHeight)}(i,t,o),o=!1),a=!1}));const s=t.append("line").attr("x1",R8().state.padding).attr("y1",R8().state.padding+r+R8().state.dividerMargin/2).attr("y2",R8().state.padding+r+R8().state.dividerMargin/2).attr("class","descr-divider"),c=i.node().getBBox(),l=Math.max(c.width,n.width);return s.attr("x2",l+3*R8().state.padding),t.insert("rect",":first-child").attr("x",R8().state.padding).attr("y",R8().state.padding).attr("width",l+2*R8().state.padding).attr("height",c.height+r+2*R8().state.padding).attr("rx",R8().state.radius),t},sst=(t,e,n)=>{const r=R8().state.padding,i=2*R8().state.padding,a=t.node().getBBox(),o=a.width,s=a.x,c=t.append("text").attr("x",0).attr("y",R8().state.titleShift).attr("font-size",R8().state.fontSize).attr("class","state-title").text(e.id),l=c.node().getBBox().width+i;let u,h=Math.max(l,o);h===o&&(h+=i);const f=t.node().getBBox();e.doc,u=s-r,l>o&&(u=(o-h)/2+r),Math.abs(s-f.x)<r&&l>o&&(u=s-(l-o)/2);const d=1-R8().state.textHeight;return t.insert("rect",":first-child").attr("x",u).attr("y",d).attr("class",n?"alt-composit":"composit").attr("width",h).attr("height",f.height+R8().state.textHeight+R8().state.titleShift+1).attr("rx","0"),c.attr("x",u+r),l<=o&&c.attr("x",s+(h-i)/2-l/2+r),t.insert("rect",":first-child").attr("x",u).attr("y",R8().state.titleShift-R8().state.textHeight-R8().state.padding).attr("width",h).attr("height",3*R8().state.textHeight).attr("rx",R8().state.radius),t.insert("rect",":first-child").attr("x",u).attr("y",R8().state.titleShift-R8().state.textHeight-R8().state.padding).attr("width",h).attr("height",f.height+3+2*R8().state.textHeight).attr("rx",R8().state.radius),t},cst=(t,e)=>{e.attr("class","state-note");const n=e.append("rect").attr("x",0).attr("y",R8().state.padding),r=e.append("g"),{textWidth:i,textHeight:a}=((t,e,n,r)=>{let i=0;const a=r.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let o=t.replace(/\r\n/g,"<br/>");o=o.replace(/\n/g,"<br/>");const s=o.split(s6.lineBreakRegex);let c=1.25*R8().state.noteMargin;for(const t of s){const r=t.trim();if(r.length>0){const t=a.append("tspan");t.text(r),0===c&&(c+=t.node().getBBox().height),i+=c,t.attr("x",e+R8().state.noteMargin),t.attr("y",n+i+1.25*R8().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:i}})(t,0,0,r);return n.attr("height",a+2*R8().state.noteMargin),n.attr("width",i+2*R8().state.noteMargin),n},lst=function(t,e){const n=e.id,r={id:n,label:e.id,width:0,height:0},i=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",R8().state.sizeUnit).attr("cx",R8().state.padding+R8().state.sizeUnit).attr("cy",R8().state.padding+R8().state.sizeUnit)})(i),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",R8().state.sizeUnit+R8().state.miniPadding).attr("cx",R8().state.padding+R8().state.sizeUnit+R8().state.miniPadding).attr("cy",R8().state.padding+R8().state.sizeUnit+R8().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",R8().state.sizeUnit).attr("cx",R8().state.padding+R8().state.sizeUnit+2).attr("cy",R8().state.padding+R8().state.sizeUnit+2)})(i),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let n=R8().state.forkWidth,r=R8().state.forkHeight;if(e.parentId){let t=n;n=r,r=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",r).attr("x",R8().state.padding).attr("y",R8().state.padding)})(i,e),"note"===e.type&&cst(e.note.text,i),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",R8().state.textHeight).attr("class","divider").attr("x2",2*R8().state.textHeight).attr("y1",0).attr("y2",0)})(i),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const n=t.append("text").attr("x",2*R8().state.padding).attr("y",R8().state.textHeight+2*R8().state.padding).attr("font-size",R8().state.fontSize).attr("class","state-title").text(e.id),r=n.node().getBBox();t.insert("rect",":first-child").attr("x",R8().state.padding).attr("y",R8().state.padding).attr("width",r.width+2*R8().state.padding).attr("height",r.height+2*R8().state.padding).attr("rx",R8().state.radius)})(i,e),"default"===e.type&&e.descriptions.length>0&&ost(i,e);const a=i.node().getBBox();return r.width=a.width+2*R8().state.padding,r.height=a.height+2*R8().state.padding,r};let ust=0;let hst;const fst={},dst=t=>t?t.length*hst.fontSizeFactor:1,Ast=(t,e,n,r,i,a,o)=>{const s=new c3({compound:!0,multigraph:!0});let c,l=!0;for(c=0;c<t.length;c++)if("relation"===t[c].stmt){l=!1;break}n?s.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:l?1:hst.edgeLengthFactor,nodeSep:l?1:50,isMultiGraph:!0}):s.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:l?1:hst.edgeLengthFactor,nodeSep:l?1:50,ranker:"tight-tree",isMultiGraph:!0}),s.setDefaultEdgeLabel((function(){return{}})),o.db.extract(t);const u=o.db.getStates(),h=o.db.getRelations(),f=Object.keys(u);for(const t of f){const c=u[t];let l;if(n&&(c.parentId=n),c.doc){let t=e.append("g").attr("id",c.id).attr("class","stateGroup");l=Ast(c.doc,t,c.id,!r,i,a,o);{t=sst(t,c,r);let e=t.node().getBBox();l.width=e.width,l.height=e.height+hst.padding/2,fst[c.id]={y:hst.compositTitleSize}}}else l=lst(e,c);if(c.note){const t={descriptions:[],id:c.id+"-note",note:c.note,type:"note"},n=lst(e,t);"left of"===c.note.position?(s.setNode(l.id+"-note",n),s.setNode(l.id,l)):(s.setNode(l.id,l),s.setNode(l.id+"-note",n)),s.setParent(l.id,l.id+"-group"),s.setParent(l.id+"-note",l.id+"-group")}else s.setNode(l.id,l)}W5.debug("Count=",s.nodeCount(),s);let d=0;h.forEach((function(t){d++,W5.debug("Setting edge",t),s.setEdge(t.id1,t.id2,{relation:t,width:dst(t.title),height:hst.labelHeight*s6.getRows(t.title).length,labelpos:"c"},"id"+d)})),k5(s),W5.debug("Graph after layout",s.nodes());const A=e.node();s.nodes().forEach((function(t){if(void 0!==t&&void 0!==s.node(t)){W5.warn("Node "+t+": "+JSON.stringify(s.node(t))),i.select("#"+A.id+" #"+t).attr("transform","translate("+(s.node(t).x-s.node(t).width/2)+","+(s.node(t).y+(fst[t]?fst[t].y:0)-s.node(t).height/2)+" )"),i.select("#"+A.id+" #"+t).attr("data-x-shift",s.node(t).x-s.node(t).width/2);a.querySelectorAll("#"+A.id+" #"+t+" .divider").forEach((t=>{const e=t.parentElement;let n=0,r=0;e&&(e.parentElement&&(n=e.parentElement.getBBox().width),r=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(r)&&(r=0)),t.setAttribute("x1",0-r+8),t.setAttribute("x2",n-r-8)}))}else W5.debug("No Node "+t+": "+JSON.stringify(s.node(t)))}));let p=A.getBBox();s.edges().forEach((function(t){void 0!==t&&void 0!==s.edge(t)&&(W5.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(s.edge(t))),function(t,e,n){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const r=e.points,i=SV().x((function(t){return t.x})).y((function(t){return t.y})).curve(FV),a=t.append("path").attr("d",i(r)).attr("id","edge"+ust).attr("class","transition");let o="";if(R8().state.arrowMarkerAbsolute&&(o=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,o=o.replace(/\(/g,"\\("),o=o.replace(/\)/g,"\\)")),a.attr("marker-end","url("+o+"#"+function(t){switch(t){case ast.relationType.AGGREGATION:return"aggregation";case ast.relationType.EXTENSION:return"extension";case ast.relationType.COMPOSITION:return"composition";case ast.relationType.DEPENDENCY:return"dependency"}}(ast.relationType.DEPENDENCY)+"End)"),void 0!==n.title){const r=t.append("g").attr("class","stateLabel"),{x:i,y:a}=B8.calcLabelPosition(e.points),o=s6.getRows(n.title);let s=0;const c=[];let l=0,u=0;for(let t=0;t<=o.length;t++){const e=r.append("text").attr("text-anchor","middle").text(o[t]).attr("x",i).attr("y",a+s),n=e.node().getBBox();if(l=Math.max(l,n.width),u=Math.min(u,n.x),W5.info(n.x,i,a+s),0===s){const t=e.node().getBBox();s=t.height,W5.info("Title height",s,a)}c.push(e)}let h=s*o.length;if(o.length>1){const t=(o.length-1)*s*.5;c.forEach(((e,n)=>e.attr("y",a+n*s-t))),h=s*o.length}const f=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",i-l/2-R8().state.padding/2).attr("y",a-h/2-R8().state.padding/2-3.5).attr("width",l+R8().state.padding).attr("height",h+R8().state.padding),W5.info(f)}ust++}(e,s.edge(t),s.edge(t).relation))})),p=A.getBBox();const g={id:n||"root",label:n||"root",width:0,height:0};return g.width=p.width+2*hst.padding,g.height=p.height+2*hst.padding,W5.debug("Doc rendered",g,s),g},pst={setConf:function(){},draw:function(t,e,n,r){hst=R8().state;const i=R8().securityLevel;let a;"sandbox"===i&&(a=i$("#i"+e));const o=i$("sandbox"===i?a.nodes()[0].contentDocument.body:"body"),s="sandbox"===i?a.nodes()[0].contentDocument:document;W5.debug("Rendering diagram "+t);const c=o.select(`[id='${e}']`);c.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z");new c3({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const l=r.db.getRootDoc();Ast(l,c,void 0,!1,o,s,r);const u=hst.padding,h=c.node().getBBox(),f=h.width+2*u,d=h.height+2*u;G8(c,d,1.75*f,hst.useMaxWidth),c.attr("viewBox",`${h.x-hst.padding} ${h.y-hst.padding} `+f+" "+d)}},gst="rect",mst="rectWithTitle",bst="statediagram",vst=`${bst}-state`,yst="transition",wst=`${yst} note-edge`,Tst=`${bst}-note`,kst=`${bst}-cluster`,Cst=`${bst}-cluster-alt`,Est="parent",xst="note",_st="----",Bst=`${_st}${xst}`,Sst=`${_st}${Est}`,Lst="fill:none",Ist="fill: #333",Mst="text",Ost="normal";let Nst={},Dst=0;function Fst(t="",e=0,n="",r=_st){return`state-${t}${null!==n&&n.length>0?`${r}${n}`:""}-${e}`}const Pst=(t,e,n,r,i,a)=>{const o=n.id,s=null==(c=r[o])?"":c.classes?c.classes.join(" "):"";var c;if("root"!==o){let e=gst;!0===n.start&&(e="start"),!1===n.start&&(e="end"),n.type!==Mot&&(e=n.type),Nst[o]||(Nst[o]={id:o,shape:e,description:s6.sanitizeText(o,R8()),classes:`${s} ${vst}`});const r=Nst[o];n.description&&(Array.isArray(r.description)?(r.shape=mst,r.description.push(n.description)):r.description.length>0?(r.shape=mst,r.description===o?r.description=[n.description]:r.description=[r.description,n.description]):(r.shape=gst,r.description=n.description),r.description=s6.sanitizeTextOrArray(r.description,R8())),1===r.description.length&&r.shape===mst&&(r.shape=gst),!r.type&&n.doc&&(W5.info("Setting cluster for ",o,Qst(n)),r.type="group",r.dir=Qst(n),r.shape=n.type===Oot?"divider":"roundedWithTitle",r.classes=r.classes+" "+kst+" "+(a?Cst:""));const i={labelStyle:"",shape:r.shape,labelText:r.description,classes:r.classes,style:"",id:o,dir:r.dir,domId:Fst(o,Dst),type:r.type,padding:15};if(n.note){const e={labelStyle:"",shape:"note",labelText:n.note.text,classes:Tst,style:"",id:o+Bst+"-"+Dst,domId:Fst(o,Dst,xst),type:r.type,padding:15},a={labelStyle:"",shape:"noteGroup",labelText:n.note.text,classes:r.classes,style:"",id:o+Sst,domId:Fst(o,Dst,Est),type:"group",padding:0};Dst++;const s=o+Sst;t.setNode(s,a),t.setNode(e.id,e),t.setNode(o,i),t.setParent(o,s),t.setParent(e.id,s);let c=o,l=e.id;"left of"===n.note.position&&(c=e.id,l=o),t.setEdge(c,l,{arrowhead:"none",arrowType:"",style:Lst,labelStyle:"",classes:wst,arrowheadStyle:Ist,labelpos:"c",labelType:Mst,thickness:Ost})}else t.setNode(o,i)}e&&"root"!==e.id&&(W5.trace("Setting node ",o," to be child of its parent ",e.id),t.setParent(o,e.id)),n.doc&&(W5.trace("Adding nodes children "),Rst(t,n,n.doc,r,i,!a))},Rst=(t,e,n,r,i,a)=>{W5.trace("items",n),n.forEach((n=>{switch(n.stmt){case Lot:case Mot:Pst(t,e,n,r,i,a);break;case Iot:{Pst(t,e,n.state1,r,i,a),Pst(t,e,n.state2,r,i,a);const o={id:"edge"+Dst,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:Lst,labelStyle:"",label:s6.sanitizeText(n.description,R8()),arrowheadStyle:Ist,labelpos:"c",labelType:Mst,thickness:Ost,classes:yst};t.setEdge(n.state1.id,n.state2.id,o,Dst),Dst++}}}))},Qst=(t,e="TB")=>{let n=e;if(t.doc)for(let e=0;e<t.doc.length;e++){const r=t.doc[e];"dir"===r.stmt&&(n=r.value)}return n},Ust={setConf:function(t){const e=Object.keys(t);for(const n of e)t[n]},getClasses:function(t,e){W5.trace("Extracting classes"),e.db.clear();try{return e.parser.parse(t),e.db.extract(e.db.getRootDocV2()),e.db.getClasses()}catch(t){return t}},draw:function(t,e,n,r){W5.info("Drawing state diagram (v2)",e),Nst={},r.db.getDirection();const{securityLevel:i,state:a}=R8(),o=a.nodeSpacing||50,s=a.rankSpacing||50;W5.info(r.db.getRootDocV2()),r.db.extract(r.db.getRootDocV2()),W5.info(r.db.getRootDocV2());const c=r.db.getStates(),l=new c3({multigraph:!0,compound:!0}).setGraph({rankdir:Qst(r.db.getRootDocV2()),nodesep:o,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let u;Pst(l,void 0,r.db.getRootDocV2(),c,r.db,!0),"sandbox"===i&&(u=i$("#i"+e));const h=i$("sandbox"===i?u.nodes()[0].contentDocument.body:"body"),f=h.select(`[id="${e}"]`),d=h.select("#"+e+" g");_nt(d,l,["barb"],bst,e);B8.insertTitle(f,"statediagramTitleText",a.titleTopMargin,r.db.getDiagramTitle());const A=f.node().getBBox(),p=A.width+16,g=A.height+16;f.attr("class",bst);const m=f.node().getBBox();G8(f,g,p,a.useMaxWidth);const b=`${m.x-8} ${m.y-8} ${p} ${g}`;W5.debug(`viewBox ${b}`),f.attr("viewBox",b);const v=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const t of v){const e=t.getBBox(),n=document.createElementNS("http://www.w3.org/2000/svg",gst);n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",e.width),n.setAttribute("height",e.height),t.insertBefore(n,t.firstChild)}}};var Hst=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,2],r=[1,5],i=[6,9,11,17,18,20,22,23,24,26],a=[1,15],o=[1,16],s=[1,17],c=[1,18],l=[1,19],u=[1,20],h=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],d={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 16:r.addTask(a[s-1],a[s]),this.$="task";break;case 18:r.parseDirective("%%{","open_directive");break;case 19:r.parseDirective(a[s],"type_directive");break;case 20:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 21:r.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:n,7:3,12:4,26:r},{1:[3]},e(i,[2,3],{5:6}),{3:7,4:n,7:3,12:4,26:r},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:a,18:o,20:s,22:c,23:l,24:u,26:r},{1:[2,2]},{14:22,15:[1,23],29:h},e([15,29],[2,19]),e(i,[2,8],{1:[2,1]}),e(i,[2,4]),{7:21,10:25,12:4,17:a,18:o,20:s,22:c,23:l,24:u,26:r},e(i,[2,6]),e(i,[2,7]),e(i,[2,11]),{19:[1,26]},{21:[1,27]},e(i,[2,14]),e(i,[2,15]),{25:[1,28]},e(i,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(i,[2,5]),e(i,[2,12]),e(i,[2,13]),e(i,[2,16]),e(f,[2,9]),{14:32,29:h},{29:[2,20]},{11:[1,33]},e(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},A=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}},t);function p(){this.yy={}}return d.lexer=A,p.prototype=d,d.Parser=p,new p}();Hst.parser=Hst;const jst=Hst,$st=t=>null!==t.match(/^\s*journey/);let Kst="";const Gst=[],zst=[],Xst=[],qst=function(){let t=!0;for(const[e,n]of Xst.entries())Xst[e].processed,t=t&&n.processed;return t},Vst={parseDirective:function(t,e,n){Wct.parseDirective(this,t,e,n)},getConfig:()=>R8().journey,clear:function(){Gst.length=0,zst.length=0,Kst="",Xst.length=0,h7()},setDiagramTitle:g7,getDiagramTitle:m7,setAccTitle:f7,getAccTitle:d7,setAccDescription:A7,getAccDescription:p7,addSection:function(t){Kst=t,Gst.push(t)},getSections:function(){return Gst},getTasks:function(){let t=qst();let e=0;for(;!t&&e<100;)t=qst(),e++;return zst.push(...Xst),zst},addTask:function(t,e){const n=e.substr(1).split(":");let r=0,i=[];1===n.length?(r=Number(n[0]),i=[]):(r=Number(n[0]),i=n[1].split(","));const a=i.map((t=>t.trim())),o={section:Kst,type:Kst,people:a,task:t,score:r};Xst.push(o)},addTaskOrg:function(t){const e={section:Kst,type:Kst,description:t,task:t,classes:[]};zst.push(e)},getActors:function(){return function(){const t=[];return zst.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},Wst=function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},Yst=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},Jst=function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),void 0!==e.class&&r.attr("class",e.class);const i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(n),r};let Zst=-1;const tct=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},ect=function(){function t(t,e,n,i,a,o,s,c){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,a,o,s,c,l){const{taskFontSize:u,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let t=0;t<f.length;t++){const c=t*u-u*(f.length-1)/2,d=e.append("text").attr("x",n+a/2).attr("y",i).attr("fill",l).style("text-anchor","middle").style("font-size",u).style("font-family",h);d.append("tspan").attr("x",n+a/2).attr("dy",c).text(f[t]),d.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(d,s)}}function n(t,n,i,a,o,s,c,l){const u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,o,s,c,l),r(h,c)}function r(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),nct=Yst,rct=function(t,e,n){const r=t.append("g"),i=tct();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=n.width,i.height=n.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,Wst(r,i),ect(n)(e.text,r,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},n,e.colour)},ict=Jst,act=function(t,e,n){const r=e.x+n.width/2,i=t.append("g");Zst++;i.append("line").attr("id","task"+Zst).attr("x1",r).attr("y1",e.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),function(t,e){const n=15,r=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?function(t){const r=kV().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",r).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(i):e.score<3?function(t){const r=kV().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",r).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(i):i.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(i,{cx:r,cy:300+30*(5-e.score),score:e.score});const a=tct();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=n.width,a.height=n.height,a.class="task task-type-"+e.num,a.rx=3,a.ry=3,Wst(i,a);let o=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,r={cx:o,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};Yst(i,r),o+=10})),ect(n)(e.task,i,a.x,a.y,a.width,a.height,{class:"task"},n,e.colour)},oct=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},sct={};const cct=R8().journey,lct=cct.leftMargin,uct={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(t,e,n,r){const i=R8().journey,a=this;let o=0;var s;this.sequenceItems.forEach((function(c){o++;const l=a.sequenceItems.length-o+1;a.updateVal(c,"starty",e-l*i.boxMargin,Math.min),a.updateVal(c,"stopy",r+l*i.boxMargin,Math.max),a.updateVal(uct.data,"startx",t-l*i.boxMargin,Math.min),a.updateVal(uct.data,"stopx",n+l*i.boxMargin,Math.max),"activation"!==s&&(a.updateVal(c,"startx",t-l*i.boxMargin,Math.min),a.updateVal(c,"stopx",n+l*i.boxMargin,Math.max),a.updateVal(uct.data,"starty",e-l*i.boxMargin,Math.min),a.updateVal(uct.data,"stopy",r+l*i.boxMargin,Math.max))}))},insert:function(t,e,n,r){const i=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,r),s=Math.max(e,r);this.updateVal(uct.data,"startx",i,Math.min),this.updateVal(uct.data,"starty",o,Math.min),this.updateVal(uct.data,"stopx",a,Math.max),this.updateVal(uct.data,"stopy",s,Math.max),this.updateBounds(i,o,a,s)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},hct=cct.sectionFills,fct=cct.sectionColours,dct=function(t,e,n){const r=R8().journey;let i="";const a=n+(2*r.height+r.diagramMarginY);let o=0,s="#CCC",c="black",l=0;for(const[n,u]of e.entries()){if(i!==u.section){s=hct[o%hct.length],l=o%hct.length,c=fct[o%fct.length];const e={x:n*r.taskMargin+n*r.width+lct,y:50,text:u.section,fill:s,num:l,colour:c};rct(t,e,r),i=u.section,o++}const e=u.people.reduce(((t,e)=>(sct[e]&&(t[e]=sct[e]),t)),{});u.x=n*r.taskMargin+n*r.width+lct,u.y=a,u.width=r.diagramMarginX,u.height=r.diagramMarginY,u.colour=c,u.fill=s,u.num=l,u.actors=e,act(t,u,r),uct.insert(u.x,u.y,u.x+u.width+r.taskMargin,450)}},Act={setConf:function(t){Object.keys(t).forEach((function(e){cct[e]=t[e]}))},draw:function(t,e,n,r){const i=R8().journey;r.db.clear(),r.parser.parse(t+"\n");const a=R8().securityLevel;let o;"sandbox"===a&&(o=i$("#i"+e));const s=i$("sandbox"===a?o.nodes()[0].contentDocument.body:"body");uct.init();const c=s.select("#"+e);oct(c);const l=r.db.getTasks(),u=r.db.getDiagramTitle(),h=r.db.getActors();for(const t in sct)delete sct[t];let f=0;h.forEach((t=>{sct[t]={color:i.actorColours[f%i.actorColours.length],position:f},f++})),function(t){const e=R8().journey;let n=60;Object.keys(sct).forEach((r=>{const i=sct[r].color,a={cx:20,cy:n,r:7,fill:i,stroke:"#000",pos:sct[r].position};nct(t,a);const o={x:40,y:n+7,fill:"#666",text:r,textMargin:5|e.boxTextMargin};ict(t,o),n+=20}))}(c),uct.insert(0,0,lct,50*Object.keys(sct).length),dct(c,l,0);const d=uct.getBounds();u&&c.append("text").text(u).attr("x",lct).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const A=d.stopy-d.starty+2*i.diagramMarginY,p=lct+d.stopx+2*i.diagramMarginX;G8(c,A,p,i.useMaxWidth),c.append("line").attr("x1",lct).attr("y1",4*i.height).attr("x2",p-lct-4).attr("y2",4*i.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const g=u?70:0;c.attr("viewBox",`${d.startx} -25 ${p} ${A+g}`),c.attr("preserveAspectRatio","xMinYMin meet"),c.attr("height",A+g+25)}};let pct={};const gct={setConf:function(t){pct={...pct,...t}},draw:(t,e,n)=>{try{W5.debug("Renering svg for syntax error\n");const t=i$("#"+e),r=t.append("g");r.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),r.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),r.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),r.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),r.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),r.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),r.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),r.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+n),t.attr("height",100),t.attr("width",500),t.attr("viewBox","768 0 912 512")}catch(t){W5.error("Error while rendering info diagram"),W5.error((r=t)instanceof Error?r.message:String(r))}var r}},mct="flowchart-elk",bct={id:mct,detector:(t,e)=>{var n;return!!(t.match(/^\s*flowchart-elk/)||t.match(/^\s*flowchart|graph/)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.resolve().then((function(){return wlt}));return{id:mct,diagram:t}}},vct=bct,yct="timeline",wct={id:yct,detector:t=>null!==t.match(/^\s*timeline/),loader:async()=>{const{diagram:t}=await Promise.resolve().then((function(){return Ylt}));return{id:yct,diagram:t}}},Tct=wct,kct="mindmap",Cct={id:kct,detector:t=>null!==t.match(/^\s*mindmap/),loader:async()=>{const{diagram:t}=await Promise.resolve().then((function(){return Cut}));return{id:kct,diagram:t}}},Ect=Cct;let xct=!1;const _ct=()=>{xct||(xct=!0,r8(vct,Tct,Ect),L7("error",{db:{clear:()=>{}},styles:V8,renderer:gct,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},(t=>"error"===t.toLowerCase().trim())),L7("---",{db:{clear:()=>{}},styles:V8,renderer:gct,parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with unindented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),L7("c4",{parser:ptt,db:Ltt,renderer:cet,styles:i7,init:t=>{cet.setConf(t.c4)}},gtt),L7("class",{parser:het,db:Let,renderer:$et,styles:X8,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Let.clear()}},fet),L7("classDiagram",{parser:het,db:Let,renderer:Int,styles:X8,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Let.clear()}},det),L7("er",{parser:Ont,db:Rnt,renderer:Wnt,styles:q8},Nnt),L7("gantt",{parser:ait,db:Rit,renderer:Hit,styles:Y8},oit),L7("info",{parser:$it,db:zit,renderer:Xit,styles:J8},qit),L7("pie",{parser:Wit,db:tat,renderer:iat,styles:Z8},Yit),L7("requirement",{parser:oat,db:dat,renderer:Cat,styles:t7},sat),L7("sequence",{parser:xat,db:Xat,renderer:Eot,styles:e7,init:t=>{if(t.sequence||(t.sequence={}),t.sequence.arrowMarkerAbsolute=t.arrowMarkerAbsolute,"sequenceDiagram"in t)throw new Error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.");Xat.setWrap(t.wrap),Eot.setConf(t.sequence)}},_at),L7("state",{parser:_ot,db:ast,renderer:pst,styles:n7,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,ast.clear()}},Bot),L7("stateDiagram",{parser:_ot,db:ast,renderer:Ust,styles:n7,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,ast.clear()}},Sot),L7("journey",{parser:jst,db:Vst,renderer:Act,styles:r7,init:t=>{Act.setConf(t.journey),Vst.clear()}},$st),L7("flowchart",{parser:Jnt,db:Wrt,renderer:rit,styles:W8,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Zrt(t.flowchart),Wrt.clear(),Wrt.setGen("gen-1")}},Znt),L7("flowchart-v2",{parser:Jnt,db:Wrt,renderer:rit,styles:W8,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,P8({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),rit.setConf(t.flowchart),Wrt.clear(),Wrt.setGen("gen-2")}},trt),L7("gitGraph",{parser:O7,db:Y7,renderer:ftt,styles:dtt},N7))};class Bct{constructor(t,e){var n,r;this.txt=t,this.type="graph",this.detectTypeFailed=!1;const i=R8();this.txt=t;try{this.type=n8(t,i)}catch(t){this.handleError(t,e),this.type="error",this.detectTypeFailed=!0}const a=I7(this.type);W5.debug("Type "+this.type),this.db=a.db,null==(r=(n=this.db).clear)||r.call(n),this.renderer=a.renderer,this.parser=a.parser;const o=this.parser.parse.bind(this.parser);this.parser.parse=t=>o(function(t,e){var n;const r=t.match(J9);if(r){const i=Y9(r[1],{schema:W9});return(null==i?void 0:i.title)&&(null==(n=e.setDiagramTitle)||n.call(e,i.title)),t.slice(r[0].length)}return t}(t,this.db)),this.parser.parser.yy=this.db,a.init&&(a.init(i),W5.info("Initialized diagram "+this.type,i)),this.txt+="\n",this.parse(this.txt,e)}parse(t,e){var n,r;if(this.detectTypeFailed)return!1;try{return t+="\n",null==(r=(n=this.db).clear)||r.call(n),this.parser.parse(t),!0}catch(t){this.handleError(t,e)}return!1}handleError(t,e){if(void 0===e)throw t;x8(t)?e(t.str,t.hash):e(t)}getParser(){return this.parser}getType(){return this.type}}const Sct=(t,e)=>{const n=n8(t,R8());try{I7(n)}catch(r){const i=e8[n].loader;if(!i)throw new Error(`Diagram ${n} not found.`);return i().then((({diagram:r})=>(L7(n,r,void 0),new Bct(t,e))))}return new Bct(t,e)},Lct=Bct,Ict="graphics-document document";const Mct=["graph","flowchart","flowchart-v2","stateDiagram","stateDiagram-v2"],Oct="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",Nct="sandbox",Dct="loose",Fct="http://www.w3.org/1999/xlink",Pct="http://www.w3.org/1999/xhtml",Rct=["foreignobject"],Qct=["dominant-baseline"];const Uct=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})),e},Hct=function(t){let e=t;return e=e.replace(/fl°°/g,"&#"),e=e.replace(/fl°/g,"&"),e=e.replace(/¶ß/g,";"),e},jct=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,$ct=(t,e,n,r)=>{const i=((t,e,n={})=>{var r;let i="";if(void 0!==t.themeCSS&&(i+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(i+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(i+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!_4(n)&&Mct.includes(e)){const e=t.htmlLabels||(null==(r=t.flowchart)?void 0:r.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in n){const r=n[t];_4(r.styles)||e.forEach((t=>{i+=jct(r.id,t,r.styles)})),_4(r.textStyles)||(i+=jct(r.id,"tspan",r.textStyles))}}return i})(t,e,n);return CJ(vJ(`${r}{${o7(e,i,t.themeVariables)}}`),EJ)},Kct=(t="",e,n)=>{let r=t;return n||e||(r=r.replace(/marker-end="url\(.*?#/g,'marker-end="url(#')),r=Hct(r),r=r.replace(/<br>/g,"<br/>"),r},Gct=(t="",e)=>`<iframe style="width:100%;height:${e?e.viewBox.baseVal.height+"px":"100%"};border:0;margin:0;" src="data:text/html;base64,${btoa('<body style="margin:0">'+t+"</body>")}" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The "iframe" tag is not supported by your browser.\n</iframe>`,zct=(t,e,n,r,i)=>{const a=t.append("div");a.attr("id",n),r&&a.attr("style",r);const o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&o.attr("xmlns:xlink",i),o.append("g"),t};function Xct(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const qct=(t,e,n,r)=>{var i,a,o;null==(i=t.getElementById(e))||i.remove(),null==(a=t.getElementById(n))||a.remove(),null==(o=t.getElementById(r))||o.remove()};function Vct(t,e,n,r){!function(t,e){t.attr("role",Ict),_4(e)||t.attr("aria-roledescription",e)}(e,t),function(t,e,n,r){if(void 0!==t.insert&&(e||n)){if(n){const e="chart-desc-"+r;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n)}if(e){const n="chart-title-"+r;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}(e,n,r,e.attr("id"))}const Wct=Object.freeze({render:function(t,e,n,r){var i,a,o,s;_ct(),H8();const c=B8.detectInit(e);c&&(C8(c),U8(c));const l=R8();W5.debug(l),e.length>((null==l?void 0:l.maxTextSize)??5e4)&&(e=Oct),e=e.replace(/\r\n?/g,"\n");const u="#"+t,h="i"+t,f="#"+h,d="d"+t,A="#"+d;let p=i$("body");const g=l.securityLevel===Nct,m=l.securityLevel===Dct,b=l.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),g){const t=Xct(i$(r),h);p=i$(t.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=i$(r);zct(p,t,d,`font-family: ${b}`,Fct)}else{if(qct(document,t,d,h),g){const t=Xct(i$("body"),h);p=i$(t.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=i$("body");zct(p,t,d)}let v,y;e=Uct(e);try{if(v=Sct(e),"then"in v)throw new Error("Diagram is a promise. Use renderAsync.")}catch(t){v=new Lct("error"),y=t}const w=p.select(A).node(),T=v.type,k=w.firstChild,C=k.firstChild,E=Mct.includes(T)?v.renderer.getClasses(e,v):{},x=$ct(l,T,E,u),_=document.createElement("style");_.innerHTML=x,k.insertBefore(_,C);try{v.renderer.draw(e,t,S8,v)}catch(n){throw gct.draw(e,t,S8),n}Vct(T,p.select(`${A} svg`),null==(a=(i=v.db).getAccTitle)?void 0:a.call(i),null==(s=(o=v.db).getAccDescription)?void 0:s.call(o)),p.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",Pct);let B=p.select(A).node().innerHTML;if(W5.debug("config.arrowMarkerAbsolute",l.arrowMarkerAbsolute),B=Kct(B,g,a6(l.arrowMarkerAbsolute)),g){const t=p.select(A+" svg").node();B=Gct(B,t)}else m||(B=dW.sanitize(B,{ADD_TAGS:Rct,ADD_ATTR:Qct}));if(void 0!==n)switch(T){case"flowchart":case"flowchart-v2":n(B,Wrt.bindFunctions);break;case"gantt":n(B,Rit.bindFunctions);break;case"class":case"classDiagram":n(B,Let.bindFunctions);break;default:n(B)}else W5.debug("CB = undefined!");Vat();const S=i$(g?f:A).node();if(S&&"remove"in S&&S.remove(),y)throw y;return B},renderAsync:async function(t,e,n,r){var i,a,o,s;_ct(),H8();const c=B8.detectInit(e);c&&(C8(c),U8(c));const l=R8();W5.debug(l),e.length>((null==l?void 0:l.maxTextSize)??5e4)&&(e=Oct),e=e.replace(/\r\n?/g,"\n");const u="#"+t,h="i"+t,f="#"+h,d="d"+t,A="#"+d;let p=i$("body");const g=l.securityLevel===Nct,m=l.securityLevel===Dct,b=l.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),g){const t=Xct(i$(r),h);p=i$(t.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=i$(r);zct(p,t,d,`font-family: ${b}`,Fct)}else{if(qct(document,t,d,h),g){const t=Xct(i$("body"),h);p=i$(t.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=i$("body");zct(p,t,d)}let v,y;e=Uct(e);try{v=await Sct(e)}catch(t){v=new Lct("error"),y=t}const w=p.select(A).node(),T=v.type,k=w.firstChild,C=k.firstChild,E=Mct.includes(T)?v.renderer.getClasses(e,v):{},x=$ct(l,T,E,u),_=document.createElement("style");_.innerHTML=x,k.insertBefore(_,C);try{await v.renderer.draw(e,t,S8,v)}catch(n){throw gct.draw(e,t,S8),n}Vct(T,p.select(`${A} svg`),null==(a=(i=v.db).getAccTitle)?void 0:a.call(i),null==(s=(o=v.db).getAccDescription)?void 0:s.call(o)),p.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",Pct);let B=p.select(A).node().innerHTML;if(W5.debug("config.arrowMarkerAbsolute",l.arrowMarkerAbsolute),B=Kct(B,g,a6(l.arrowMarkerAbsolute)),g){const t=p.select(A+" svg").node();B=Gct(B,t)}else m||(B=dW.sanitize(B,{ADD_TAGS:Rct,ADD_ATTR:Qct}));if(void 0!==n)switch(T){case"flowchart":case"flowchart-v2":n(B,Wrt.bindFunctions);break;case"gantt":n(B,Rit.bindFunctions);break;case"class":case"classDiagram":n(B,Let.bindFunctions);break;default:n(B)}else W5.debug("CB = undefined!");Vat();const S=i$(g?f:A).node();if(S&&"remove"in S&&S.remove(),y)throw y;return B},parse:function(t,e){return _ct(),new Lct(t,e).parse(t,e)},parseAsync:async function(t,e){return _ct(),(await Sct(t,e)).parse(t,e)},parseDirective:w7,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),I8=o8({},t),(null==t?void 0:t.theme)&&t.theme in f6?t.themeVariables=f6[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=f6.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?(t=>(M8=o8({},L8),M8=o8(M8,t),t.theme&&f6[t.theme]&&(M8.themeVariables=f6[t.theme].getThemeVariables(t.themeVariables)),D8(M8,O8),M8))(t):F8();Y5(n.logLevel),_ct()},getConfig:R8,setConfig:P8,getSiteConfig:F8,updateSiteConfig:t=>(M8=o8(M8,t),D8(M8,O8),M8),reset:()=>{H8()},globalReset:()=>{H8(L8)},defaultConfig:L8});Y5(R8().logLevel),H8(R8());const Yct=(t,e,n)=>{W5.warn(t),x8(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},Jct=async function(t,e,n){const r=Wct.getConfig();let i;if(t&&(rlt.sequenceConfig=t),W5.debug((n?"":"No ")+"Callback function found"),void 0===e)i=document.querySelectorAll(".mermaid");else if("string"==typeof e)i=document.querySelectorAll(e);else if(e instanceof HTMLElement)i=[e];else{if(!(e instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");i=e}W5.debug(`Found ${i.length} diagrams`),void 0!==(null==t?void 0:t.startOnLoad)&&(W5.debug("Start On Load: "+(null==t?void 0:t.startOnLoad)),Wct.updateSiteConfig({startOnLoad:null==t?void 0:t.startOnLoad}));const a=new B8.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let o;const s=[];for(const t of Array.from(i)){if(W5.info("Rendering diagram: "+t.id),t.getAttribute("data-processed"))continue;t.setAttribute("data-processed","true");const e=`mermaid-${a.next()}`;o=t.innerHTML,o=mU(B8.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=B8.detectInit(o);r&&W5.debug("Detected early reinit: ",r);try{await Wct.renderAsync(e,o,((r,i)=>{t.innerHTML=r,void 0!==n&&n(e),i&&i(t)}),t)}catch(t){Yct(t,s,rlt.parseError)}}if(s.length>0)throw s[0]},Zct=function(){if(rlt.startOnLoad){const{startOnLoad:t}=Wct.getConfig();t&&rlt.init().catch((t=>W5.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",Zct,!1);const tlt=[];let elt=!1;const nlt=async()=>{if(!elt){for(elt=!0;tlt.length>0;){const t=tlt.shift();if(t)try{await t()}catch(t){W5.error("Error executing queue",t)}}elt=!1}},rlt={startOnLoad:!0,diagrams:{},mermaidAPI:Wct,parse:t=>Wct.parse(t,rlt.parseError),parseAsync:t=>new Promise(((e,n)=>{tlt.push((()=>new Promise(((r,i)=>{Wct.parseAsync(t,rlt.parseError).then((t=>{r(t),e(t)}),(t=>{W5.error("Error parsing",t),i(t),n(t)}))})))),nlt().catch(n)})),render:Wct.render,renderAsync:(t,e,n,r)=>new Promise(((i,a)=>{tlt.push((()=>new Promise(((o,s)=>{Wct.renderAsync(t,e,n,r).then((t=>{o(t),i(t)}),(t=>{W5.error("Error parsing",t),s(t),a(t)}))})))),nlt().catch(a)})),init:async function(t,e,n){try{await Jct(t,e,n)}catch(t){W5.warn("Syntax Error rendering"),x8(t)&&W5.warn(t.str),rlt.parseError&&rlt.parseError(t)}},initThrowsErrors:function(t,e,n){const r=Wct.getConfig();let i;if(t&&(rlt.sequenceConfig=t),W5.debug((n?"":"No ")+"Callback function found"),void 0===e)i=document.querySelectorAll(".mermaid");else if("string"==typeof e)i=document.querySelectorAll(e);else if(e instanceof HTMLElement)i=[e];else{if(!(e instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");i=e}W5.debug(`Found ${i.length} diagrams`),void 0!==(null==t?void 0:t.startOnLoad)&&(W5.debug("Start On Load: "+(null==t?void 0:t.startOnLoad)),Wct.updateSiteConfig({startOnLoad:null==t?void 0:t.startOnLoad}));const a=new B8.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let o;const s=[];for(const t of Array.from(i)){if(W5.info("Rendering diagram: "+t.id),t.getAttribute("data-processed"))continue;t.setAttribute("data-processed","true");const e=`mermaid-${a.next()}`;o=t.innerHTML,o=mU(B8.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=B8.detectInit(o);r&&W5.debug("Detected early reinit: ",r);try{Wct.render(e,o,((r,i)=>{t.innerHTML=r,void 0!==n&&n(e),i&&i(t)}),t)}catch(t){Yct(t,s,rlt.parseError)}}if(s.length>0)throw s[0]},initThrowsErrorsAsync:Jct,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{e?r8(...t):await(async(...t)=>{W5.debug(`Loading ${t.length} external diagrams`);const e=await Promise.allSettled(t.map((async({id:t,detector:e,loader:n})=>{const{diagram:r}=await n();L7(t,r,e)}))),n=e.filter((t=>"rejected"===t.status));if(n.length>0){W5.error(`Failed to load ${n.length} external diagrams`);for(const t of n)W5.error(t);throw new Error(`Failed to load ${n.length} external diagrams`)}})(...t)},initialize:function(t){Wct.initialize(t)},parseError:void 0,contentLoaded:Zct,setParseErrorHandler:function(t){rlt.parseError=t}};var ilt=null==rlt?void 0:rlt.mermaidAPI;iU.usePlugin(cU,{mermaidAPI:ilt,theme:"default",sequence:{useMaxWidth:!1}}),iU.usePlugin(gU,{});var alt=r((function(t,n){t.exports=function(){function t(e,n,r){function i(s,c){if(!n[s]){if(!e[s]){if(!c&&a)return a();if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};e[s][0].call(u.exports,(function(t){return i(e[s][1][t]||t)}),u,u.exports,t,e,n,r)}return n[s].exports}for(var o=a,s=0;s<r.length;s++)i(r[s]);return i}return t}()({1:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.defaultLayoutOptions,a=void 0===r?{}:r,s=n.algorithms,c=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,l=n.workerFactory,u=n.workerUrl;if(i(this,t),this.defaultLayoutOptions=a,this.initialized=!1,void 0===u&&void 0===l)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var h=l;void 0!==u&&void 0===l&&(h=function(t){return new Worker(t)});var f=h(u);if("function"!=typeof f.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new o(f),this.worker.postMessage({cmd:"register",algorithms:c}).then((function(t){return e.initialized=!0})).catch(console.err)}return r(t,[{key:"layout",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.layoutOptions,r=void 0===n?this.defaultLayoutOptions:n,i=e.logging,a=void 0!==i&&i,o=e.measureExecutionTime,s=void 0!==o&&o;return t?this.worker.postMessage({cmd:"layout",graph:t,layoutOptions:r,options:{logging:a,measureExecutionTime:s}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),t}();n.default=a;var o=function(){function t(e){var n=this;if(i(this,t),void 0===e)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=e,this.worker.onmessage=function(t){setTimeout((function(){n.receive(n,t)}),0)}}return r(t,[{key:"postMessage",value:function(t){var e=this.id||0;this.id=e+1,t.id=e;var n=this;return new Promise((function(r,i){n.resolvers[e]=function(t,e){t?(n.convertGwtStyleError(t),i(t)):r(e)},n.worker.postMessage(t)}))}},{key:"receive",value:function(t,e){var n=e.data,r=t.resolvers[n.id];r&&(delete t.resolvers[n.id],n.error?r(n.error):r(null,n.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(t){if(t){var e=t.__java$exception;e&&(e.cause&&e.cause.backingJsObject&&(t.cause=e.cause.backingJsObject,this.convertGwtStyleError(t.cause)),delete t.__java$exception)}}}]),t}()},{}],2:[function(t,n,r){(function(t){(function(){var e;function i(){}function a(){}function o(){}function s(){}function c(){}function l(){}function u(){}function h(){}function f(){}function d(){}function A(){}function p(){}function g(){}function m(){}function b(){}function v(){}function y(){}function w(){}function T(){}function k(){}function C(){}function E(){}function x(){}function _(){}function B(){}function S(){}function L(){}function I(){}function M(){}function O(){}function N(){}function D(){}function F(){}function P(){}function R(){}function Q(){}function U(){}function H(){}function j(){}function $(){}function K(){}function G(){}function z(){}function X(){}function q(){}function V(){}function W(){}function Y(){}function J(){}function Z(){}function tt(){}function et(){}function nt(){}function rt(){}function it(){}function at(){}function ot(){}function st(){}function ct(){}function lt(){}function ut(){}function ht(){}function ft(){}function dt(){}function At(){}function pt(){}function gt(){}function mt(){}function bt(){}function vt(){}function yt(){}function wt(){}function Tt(){}function kt(){}function Ct(){}function Et(){}function xt(){}function _t(){}function Bt(){}function St(){}function Lt(){}function It(){}function Mt(){}function Ot(){}function Nt(){}function Dt(){}function Ft(){}function Pt(){}function Rt(){}function Qt(){}function Ut(){}function Ht(){}function jt(){}function $t(){}function Kt(){}function Gt(){}function zt(){}function Xt(){}function qt(){}function Vt(){}function Wt(){}function Yt(){}function Jt(){}function Zt(){}function te(){}function ee(){}function ne(){}function re(){}function ie(){}function ae(){}function oe(){}function se(){}function ce(){}function le(){}function ue(){}function he(){}function fe(){}function de(){}function Ae(){}function pe(){}function ge(){}function me(){}function be(){}function ve(){}function ye(){}function we(){}function Te(){}function ke(){}function Ce(){}function Ee(){}function xe(){}function _e(){}function Be(){}function Se(){}function Le(){}function Ie(){}function Me(){}function Oe(){}function Ne(){}function De(){}function Fe(){}function Pe(){}function Re(){}function Qe(){}function Ue(){}function He(){}function je(){}function $e(){}function Ke(){}function Ge(){}function ze(){}function Xe(){}function qe(){}function Ve(){}function We(){}function Ye(){}function Je(){}function Ze(){}function tn(){}function en(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function ln(){}function un(){}function hn(){}function fn(){}function dn(){}function An(){}function pn(){}function gn(){}function mn(){}function bn(){}function vn(){}function yn(){}function wn(){}function Tn(){}function kn(){}function Cn(){}function En(){}function xn(){}function _n(){}function Bn(){}function Sn(){}function Ln(){}function In(){}function Mn(){}function On(){}function Nn(){}function Dn(){}function Fn(){}function Pn(){}function Rn(){}function Qn(){}function Un(){}function Hn(){}function jn(){}function $n(){}function Kn(){}function Gn(){}function zn(){}function Xn(){}function qn(){}function Vn(){}function Wn(){}function Yn(){}function Jn(){}function Zn(){}function tr(){}function er(){}function nr(){}function rr(){}function ir(){}function ar(){}function or(){}function sr(){}function cr(){}function lr(){}function ur(){}function hr(){}function fr(){}function dr(){}function Ar(){}function pr(){}function gr(){}function mr(){}function br(){}function vr(){}function yr(){}function wr(){}function Tr(){}function kr(){}function Cr(){}function Er(){}function xr(){}function _r(){}function Br(){}function Sr(){}function Lr(){}function Ir(){}function Mr(){}function Or(){}function Nr(){}function Dr(){}function Fr(){}function Pr(){}function Rr(){}function Qr(){}function Ur(){}function Hr(){}function jr(){}function $r(){}function Kr(){}function Gr(){}function zr(){}function Xr(){}function qr(){}function Vr(){}function Wr(){}function Yr(){}function Jr(){}function Zr(){}function ti(){}function ei(){}function ni(){}function ri(){}function ii(){}function ai(){}function oi(){}function si(){}function ci(){}function li(){}function ui(){}function hi(){}function fi(){}function di(){}function Ai(){}function pi(){}function gi(){}function mi(){}function bi(){}function vi(){}function yi(){}function wi(){}function Ti(){}function ki(){}function Ci(){}function Ei(){}function xi(){}function _i(){}function Bi(){}function Si(){}function Li(){}function Ii(){}function Mi(){}function Oi(){}function Ni(){}function Di(){}function Fi(){}function Pi(){}function Ri(){}function Qi(){}function Ui(){}function Hi(){}function ji(){}function $i(){}function Ki(){}function Gi(){}function zi(){}function Xi(){}function qi(){}function Vi(){}function Wi(){}function Yi(){}function Ji(){}function Zi(){}function ta(){}function ea(){}function na(){}function ra(){}function ia(){}function aa(){}function oa(){}function sa(){}function ca(){}function la(){}function ua(){}function ha(){}function fa(){}function da(){}function Aa(){}function pa(){}function ga(){}function ma(){}function ba(){}function va(){}function ya(){}function wa(){}function Ta(){}function ka(){}function Ca(){}function Ea(){}function xa(){}function _a(){}function Ba(){}function Sa(){}function La(){}function Ia(){}function Ma(){}function Oa(){}function Na(){}function Da(){}function Fa(){}function Pa(){}function Ra(){}function Qa(){}function Ua(){}function Ha(){}function ja(){}function $a(){}function Ka(){}function Ga(){}function za(){}function Xa(){}function qa(){}function Va(){}function Wa(){}function Ya(){}function Ja(){}function Za(){}function to(){}function eo(){}function no(){}function ro(){}function io(){}function ao(){}function oo(){}function so(){}function co(){}function lo(){}function uo(){}function ho(){}function fo(){}function Ao(){}function po(){}function go(){}function mo(){}function bo(){}function vo(){}function yo(){}function wo(){}function To(){}function ko(){}function Co(){}function Eo(){}function xo(){}function _o(){}function Bo(){}function So(){}function Lo(){}function Io(){}function Mo(){}function Oo(){}function No(){}function Do(){}function Fo(){}function Po(){}function Ro(){}function Qo(){}function Uo(){}function Ho(){}function jo(){}function $o(){}function Ko(){}function Go(){}function zo(){}function Xo(){}function qo(){}function Vo(){}function Wo(){}function Yo(){}function Jo(){}function Zo(){}function ts(){}function es(){}function ns(){}function rs(){}function is(){}function as(){}function os(){}function ss(){}function cs(){}function ls(){}function us(){}function hs(){}function fs(){}function ds(){}function As(){}function ps(){}function gs(){}function ms(){}function bs(){}function vs(){}function ys(){}function ws(){}function Ts(){}function ks(){}function Cs(){}function Es(){}function xs(){}function _s(){}function Bs(){}function Ss(){}function Ls(){}function Is(){}function Ms(){}function Os(){}function Ns(){}function Ds(){}function Fs(){}function Ps(){}function Rs(){}function Qs(){}function Us(){}function Hs(){}function js(){}function $s(){}function Ks(){}function Gs(){}function zs(){}function Xs(){}function qs(){}function Vs(){}function Ws(){}function Ys(){}function Js(){}function Zs(){}function tc(){}function ec(){}function nc(){}function rc(){}function ic(){}function ac(){}function oc(){}function sc(){}function cc(){}function lc(){}function uc(){}function hc(){}function fc(){}function dc(){}function Ac(){}function pc(){}function gc(){}function mc(){}function bc(){}function vc(){}function yc(){}function wc(){}function Tc(){}function kc(){}function Cc(){}function Ec(){}function xc(){}function _c(){}function Bc(){}function Sc(){}function Lc(){}function Ic(){}function Mc(){}function Oc(){}function Nc(){}function Dc(){}function Fc(){}function Pc(){}function Rc(){}function Qc(){}function Uc(){}function Hc(){}function jc(){}function $c(){}function Kc(){}function Gc(){}function zc(){}function Xc(){}function qc(){}function Vc(){}function Wc(){}function Yc(){}function Jc(){}function Zc(){}function tl(){}function el(){}function nl(){}function rl(){}function il(){}function al(){}function ol(){}function sl(){}function cl(){}function ll(){}function ul(){}function hl(){}function fl(){}function dl(){}function Al(){}function pl(){}function gl(){}function ml(){}function bl(){}function vl(){}function yl(){}function wl(){}function Tl(){}function kl(){}function Cl(){}function El(){}function xl(){}function _l(){}function Bl(){}function Sl(){}function Ll(){}function Il(){}function Ml(){}function Ol(){}function Nl(){}function Dl(){}function Fl(){}function Pl(){}function Rl(){}function Ql(){}function Ul(){}function Hl(){}function jl(){}function $l(){}function Kl(){}function Gl(){}function zl(){}function Xl(){}function ql(){}function Vl(){}function Wl(){}function Yl(){}function Jl(){}function Zl(){}function tu(){}function eu(){}function nu(){}function ru(){}function iu(){}function au(){}function ou(){}function su(){}function cu(){}function lu(){}function uu(){}function hu(){}function fu(){}function du(){}function Au(){}function pu(){}function gu(){}function mu(){}function bu(){}function vu(){}function yu(){}function wu(){}function Tu(){}function ku(){}function Cu(){}function Eu(){}function xu(){}function _u(){}function Bu(){}function Su(){}function Lu(){}function Iu(){}function Mu(){}function Ou(){}function Nu(){}function Du(){}function Fu(){}function Pu(){}function Ru(){}function Qu(){ey()}function Uu(){$lt()}function Hu(){Tmt()}function ju(){Rwt()}function $u(){wxt()}function Ku(){uPt()}function Gu(){Pyt()}function zu(){rwt()}function Xu(){wE()}function qu(){mE()}function Vu(){HQ()}function Wu(){TE()}function Yu(){Bit()}function Ju(){CE()}function Zu(){_6()}function th(){xrt()}function eh(){q9()}function nh(){PZ()}function rh(){Klt()}function ih(){REt()}function ah(){_rt()}function oh(){K2()}function sh(){uqt()}function ch(){$yt()}function lh(){RZ()}function uh(){HXt()}function hh(){DZ()}function fh(){Brt()}function dh(){Wst()}function Ah(){jZ()}function ph(){x8()}function gh(){EE()}function mh(){PIt()}function bh(){Gyt()}function vh(){Qat()}function yh(){CEt()}function wh(){fPt()}function Th(){Ubt()}function kh(){_It()}function Ch(){Fot()}function Eh(){UZ()}function xh(){cQt()}function _h(){IIt()}function Bh(){XMt()}function Sh(){O8()}function Lh(){EEt()}function Ih(){cqt()}function Mh(){zlt()}function Oh(){mpt()}function Nh(){jHt()}function Dh(){aQ()}function Fh(){dat()}function Ph(){uUt()}function Rh(t){vq(t)}function Qh(t){this.a=t}function Uh(t){this.a=t}function Hh(t){this.a=t}function jh(t){this.a=t}function $h(t){this.a=t}function Kh(t){this.a=t}function Gh(t){this.a=t}function zh(t){this.a=t}function Xh(t){this.a=t}function qh(t){this.a=t}function Vh(t){this.a=t}function Wh(t){this.a=t}function Yh(t){this.a=t}function Jh(t){this.a=t}function Zh(t){this.a=t}function tf(t){this.a=t}function ef(t){this.a=t}function nf(t){this.a=t}function rf(t){this.a=t}function af(t){this.a=t}function of(t){this.a=t}function sf(t){this.b=t}function cf(t){this.c=t}function lf(t){this.a=t}function uf(t){this.a=t}function hf(t){this.a=t}function ff(t){this.a=t}function df(t){this.a=t}function Af(t){this.a=t}function pf(t){this.a=t}function gf(t){this.a=t}function mf(t){this.a=t}function bf(t){this.a=t}function vf(t){this.a=t}function yf(t){this.a=t}function wf(t){this.a=t}function Tf(t){this.a=t}function kf(t){this.a=t}function Cf(t){this.a=t}function Ef(t){this.a=t}function xf(){this.a=[]}function _f(t,e){t.a=e}function Bf(t,e){t.a=e}function Sf(t,e){t.b=e}function Lf(t,e){t.b=e}function If(t,e){t.b=e}function Mf(t,e){t.j=e}function Of(t,e){t.g=e}function Nf(t,e){t.i=e}function Df(t,e){t.c=e}function Ff(t,e){t.d=e}function Pf(t,e){t.d=e}function Rf(t,e){t.c=e}function Qf(t,e){t.k=e}function Uf(t,e){t.c=e}function Hf(t,e){t.c=e}function jf(t,e){t.a=e}function $f(t,e){t.a=e}function Kf(t,e){t.f=e}function Gf(t,e){t.a=e}function zf(t,e){t.b=e}function Xf(t,e){t.d=e}function qf(t,e){t.i=e}function Vf(t,e){t.o=e}function Wf(t,e){t.r=e}function Yf(t,e){t.a=e}function Jf(t,e){t.b=e}function Zf(t,e){t.e=e}function td(t,e){t.f=e}function ed(t,e){t.g=e}function nd(t,e){t.e=e}function rd(t,e){t.f=e}function id(t,e){t.f=e}function ad(t,e){t.n=e}function od(t,e){t.a=e}function sd(t,e){t.a=e}function cd(t,e){t.c=e}function ld(t,e){t.c=e}function ud(t,e){t.d=e}function hd(t,e){t.e=e}function fd(t,e){t.g=e}function dd(t,e){t.a=e}function Ad(t,e){t.c=e}function pd(t,e){t.d=e}function gd(t,e){t.e=e}function md(t,e){t.f=e}function bd(t,e){t.j=e}function vd(t,e){t.a=e}function yd(t,e){t.b=e}function wd(t,e){t.a=e}function Td(t){t.b=t.a}function kd(t){t.c=t.d.d}function Cd(t){this.d=t}function Ed(t){this.a=t}function xd(t){this.a=t}function _d(t){this.a=t}function Bd(t){this.a=t}function Sd(t){this.a=t}function Ld(t){this.a=t}function Id(t){this.a=t}function Md(t){this.a=t}function Od(t){this.a=t}function Nd(t){this.a=t}function Dd(t){this.a=t}function Fd(t){this.a=t}function Pd(t){this.a=t}function Rd(t){this.a=t}function Qd(t){this.b=t}function Ud(t){this.b=t}function Hd(t){this.b=t}function jd(t){this.a=t}function $d(t){this.a=t}function Kd(t){this.a=t}function Gd(t){this.c=t}function zd(t){this.c=t}function Xd(t){this.c=t}function qd(t){this.a=t}function Vd(t){this.a=t}function Wd(t){this.a=t}function Yd(t){this.a=t}function Jd(t){this.a=t}function Zd(t){this.a=t}function tA(t){this.a=t}function eA(t){this.a=t}function nA(t){this.a=t}function rA(t){this.a=t}function iA(t){this.a=t}function aA(t){this.a=t}function oA(t){this.a=t}function sA(t){this.a=t}function cA(t){this.a=t}function lA(t){this.a=t}function uA(t){this.a=t}function hA(t){this.a=t}function fA(t){this.a=t}function dA(t){this.a=t}function AA(t){this.a=t}function pA(t){this.a=t}function gA(t){this.a=t}function mA(t){this.a=t}function bA(t){this.a=t}function vA(t){this.a=t}function yA(t){this.a=t}function wA(t){this.a=t}function TA(t){this.a=t}function kA(t){this.a=t}function CA(t){this.a=t}function EA(t){this.a=t}function xA(t){this.a=t}function _A(t){this.a=t}function BA(t){this.a=t}function SA(t){this.a=t}function LA(t){this.a=t}function IA(t){this.a=t}function MA(t){this.a=t}function OA(t){this.a=t}function NA(t){this.a=t}function DA(t){this.a=t}function FA(t){this.a=t}function PA(t){this.a=t}function RA(t){this.a=t}function QA(t){this.e=t}function UA(t){this.a=t}function HA(t){this.a=t}function jA(t){this.a=t}function $A(t){this.a=t}function KA(t){this.a=t}function GA(t){this.a=t}function zA(t){this.a=t}function XA(t){this.a=t}function qA(t){this.a=t}function VA(t){this.a=t}function WA(t){this.a=t}function YA(t){this.a=t}function JA(t){this.a=t}function ZA(t){this.a=t}function tp(t){this.a=t}function ep(t){this.a=t}function np(t){this.a=t}function rp(t){this.a=t}function ip(t){this.a=t}function ap(t){this.a=t}function op(t){this.a=t}function sp(t){this.a=t}function cp(t){this.a=t}function lp(t){this.a=t}function up(t){this.a=t}function hp(t){this.a=t}function fp(t){this.a=t}function dp(t){this.a=t}function Ap(t){this.a=t}function pp(t){this.a=t}function gp(t){this.a=t}function mp(t){this.a=t}function bp(t){this.a=t}function vp(t){this.a=t}function yp(t){this.a=t}function wp(t){this.a=t}function Tp(t){this.a=t}function kp(t){this.a=t}function Cp(t){this.a=t}function Ep(t){this.a=t}function xp(t){this.a=t}function _p(t){this.a=t}function Bp(t){this.a=t}function Sp(t){this.a=t}function Lp(t){this.a=t}function Ip(t){this.a=t}function Mp(t){this.a=t}function Op(t){this.a=t}function Np(t){this.a=t}function Dp(t){this.a=t}function Fp(t){this.a=t}function Pp(t){this.a=t}function Rp(t){this.a=t}function Qp(t){this.c=t}function Up(t){this.b=t}function Hp(t){this.a=t}function jp(t){this.a=t}function $p(t){this.a=t}function Kp(t){this.a=t}function Gp(t){this.a=t}function zp(t){this.a=t}function Xp(t){this.a=t}function qp(t){this.a=t}function Vp(t){this.a=t}function Wp(t){this.a=t}function Yp(t){this.a=t}function Jp(t){this.a=t}function Zp(t){this.a=t}function tg(t){this.a=t}function eg(t){this.a=t}function ng(t){this.a=t}function rg(t){this.a=t}function ig(t){this.a=t}function ag(t){this.a=t}function og(t){this.a=t}function sg(t){this.a=t}function cg(t){this.a=t}function lg(t){this.a=t}function ug(t){this.a=t}function hg(t){this.a=t}function fg(t){this.a=t}function dg(t){this.a=t}function Ag(t){this.a=t}function pg(t){this.a=t}function gg(t){this.a=t}function mg(t){this.a=t}function bg(t){this.a=t}function vg(t){this.a=t}function yg(t){this.a=t}function wg(t){this.a=t}function Tg(t){this.a=t}function kg(t){this.a=t}function Cg(t){this.a=t}function Eg(t){this.a=t}function xg(t){this.a=t}function _g(t){this.a=t}function Bg(t){this.a=t}function Sg(t){this.a=t}function Lg(t){this.a=t}function Ig(t){this.a=t}function Mg(t){this.a=t}function Og(t){this.a=t}function Ng(t){this.a=t}function Dg(t){this.a=t}function Fg(t){this.a=t}function Pg(t){this.a=t}function Rg(t){this.a=t}function Qg(t){this.a=t}function Ug(t){this.a=t}function Hg(t){this.a=t}function jg(t){this.a=t}function $g(t){this.a=t}function Kg(t){this.a=t}function Gg(t){this.a=t}function zg(t){this.a=t}function Xg(t){this.a=t}function qg(t){this.a=t}function Vg(t){this.a=t}function Wg(t){this.a=t}function Yg(t){this.a=t}function Jg(t){this.a=t}function Zg(t){this.a=t}function tm(t){this.a=t}function em(t){this.a=t}function nm(t){this.a=t}function rm(t){this.a=t}function im(t){this.a=t}function am(t){this.b=t}function om(t){this.f=t}function sm(t){this.a=t}function cm(t){this.a=t}function lm(t){this.a=t}function um(t){this.a=t}function hm(t){this.a=t}function fm(t){this.a=t}function dm(t){this.a=t}function Am(t){this.a=t}function pm(t){this.a=t}function gm(t){this.a=t}function mm(t){this.a=t}function bm(t){this.b=t}function vm(t){this.c=t}function ym(t){this.e=t}function wm(t){this.a=t}function Tm(t){this.a=t}function km(t){this.a=t}function Cm(t){this.a=t}function Em(t){this.a=t}function xm(t){this.d=t}function _m(t){this.a=t}function Bm(t){this.a=t}function Sm(t){this.e=t}function Lm(){this.a=0}function Im(){NI(this)}function Mm(){OI(this)}function Om(){Lz(this)}function Nm(){fV(this)}function Dm(){}function Fm(){this.c=LMe}function Pm(t,e){e.Wb(t)}function Rm(t,e){t.b+=e}function Qm(t){t.b=new ow}function Um(t){return t.e}function Hm(t){return t.a}function jm(t){return t.a}function $m(t){return t.a}function Km(t){return t.a}function Gm(t){return t.a}function zm(){return null}function Xm(){return null}function qm(){ik(),AXt()}function Vm(t){t.b.tf(t.e)}function Wm(t,e){t.b=e-t.b}function Ym(t,e){t.a=e-t.a}function Jm(t,e){e.ad(t.a)}function Zm(t,e){jBt(e,t)}function tb(t,e,n){t.Od(n,e)}function eb(t,e){t.e=e,e.b=t}function nb(t){sQ(),this.a=t}function rb(t){sQ(),this.a=t}function ib(t){sQ(),this.a=t}function ab(t){zX(),this.a=t}function ob(t){EY(),eee.be(t)}function sb(){AN.call(this)}function cb(){AN.call(this)}function lb(){sb.call(this)}function ub(){sb.call(this)}function hb(){sb.call(this)}function fb(){sb.call(this)}function db(){sb.call(this)}function Ab(){sb.call(this)}function pb(){sb.call(this)}function gb(){sb.call(this)}function mb(){sb.call(this)}function bb(){sb.call(this)}function vb(){sb.call(this)}function yb(){this.a=this}function wb(){this.Bb|=256}function Tb(){this.b=new EL}function kb(){kb=L,new Om}function Cb(){lb.call(this)}function Eb(t,e){t.length=e}function xb(t,e){zH(t.a,e)}function _b(t,e){Gxt(t.c,e)}function Bb(t,e){Tz(t.b,e)}function Sb(t,e){Bbt(t.a,e)}function Lb(t,e){Sft(t.a,e)}function Ib(t,e){fot(t.e,e)}function Mb(t){LLt(t.c,t.b)}function Ob(t,e){t.kc().Nb(e)}function Nb(t){this.a=pdt(t)}function Db(){this.a=new Om}function Fb(){this.a=new Om}function Pb(){this.a=new Mm}function Rb(){this.a=new Mm}function Qb(){this.a=new Mm}function Ub(){this.a=new yt}function Hb(){this.a=new v6}function jb(){this.a=new fe}function $b(){this.a=new zC}function Kb(){this.a=new N0}function Gb(){this.a=new rZ}function zb(){this.a=new SP}function Xb(){this.a=new Mm}function qb(){this.a=new Mm}function Vb(){this.a=new Mm}function Wb(){this.a=new Mm}function Yb(){this.d=new Mm}function Jb(){this.a=new Db}function Zb(){this.a=new Om}function tv(){this.b=new Om}function ev(){this.b=new Mm}function nv(){this.e=new Mm}function rv(){this.d=new Mm}function iv(){this.a=new ih}function av(){Mm.call(this)}function ov(){Pb.call(this)}function sv(){MP.call(this)}function cv(){qb.call(this)}function lv(){uv.call(this)}function uv(){Dm.call(this)}function hv(){Dm.call(this)}function fv(){hv.call(this)}function dv(){dY.call(this)}function Av(){dY.call(this)}function pv(){zv.call(this)}function gv(){zv.call(this)}function mv(){zv.call(this)}function bv(){Xv.call(this)}function vv(){VC.call(this)}function yv(){rc.call(this)}function wv(){rc.call(this)}function Tv(){Jv.call(this)}function kv(){Jv.call(this)}function Cv(){Om.call(this)}function Ev(){Om.call(this)}function xv(){Om.call(this)}function _v(){Db.call(this)}function Bv(){wrt.call(this)}function Sv(){wb.call(this)}function Lv(){BO.call(this)}function Iv(){BO.call(this)}function Mv(){Om.call(this)}function Ov(){Om.call(this)}function Nv(){Om.call(this)}function Dv(){yc.call(this)}function Fv(){yc.call(this)}function Pv(){Dv.call(this)}function Rv(){Fu.call(this)}function Qv(t){Aet.call(this,t)}function Uv(t){Aet.call(this,t)}function Hv(t){Xh.call(this,t)}function jv(t){kC.call(this,t)}function $v(t){jv.call(this,t)}function Kv(t){kC.call(this,t)}function Gv(){this.a=new VC}function zv(){this.a=new Db}function Xv(){this.a=new Om}function qv(){this.a=new Mm}function Vv(){this.j=new Mm}function Wv(){this.a=new qo}function Yv(){this.a=new Ik}function Jv(){this.a=new vc}function Zv(){Zv=L,Rte=new Ow}function ty(){ty=L,Pte=new Mw}function ey(){ey=L,Ste=new a}function ny(){ny=L,Kte=new rN}function ry(t){jv.call(this,t)}function iy(t){jv.call(this,t)}function ay(t){d3.call(this,t)}function oy(t){d3.call(this,t)}function sy(t){XR.call(this,t)}function cy(t){vxt.call(this,t)}function ly(t){xC.call(this,t)}function uy(t){BC.call(this,t)}function hy(t){BC.call(this,t)}function fy(t){BC.call(this,t)}function dy(t){lG.call(this,t)}function Ay(t){dy.call(this,t)}function py(){Ef.call(this,{})}function gy(t){xO(),this.a=t}function my(t){t.b=null,t.c=0}function by(t,e){t.e=e,_Dt(t,e)}function vy(t,e){t.a=e,aBt(t)}function yy(t,e,n){t.a[e.g]=n}function wy(t,e,n){dTt(n,t,e)}function Ty(t,e){YP(e.i,t.n)}function ky(t,e){clt(t).td(e)}function Cy(t,e){return t*t/e}function Ey(t,e){return t.g-e.g}function xy(t){return new Cf(t)}function _y(t){return new jX(t)}function By(t){dy.call(this,t)}function Sy(t){dy.call(this,t)}function Ly(t){dy.call(this,t)}function Iy(t){lG.call(this,t)}function My(t){Rat(),this.a=t}function Oy(t){iQ(),this.a=t}function Ny(t){RK(),this.f=t}function Dy(t){RK(),this.f=t}function Fy(t){dy.call(this,t)}function Py(t){dy.call(this,t)}function Ry(t){dy.call(this,t)}function Qy(t){dy.call(this,t)}function Uy(t){dy.call(this,t)}function Hy(t){return vq(t),t}function jy(t){return vq(t),t}function $y(t){return vq(t),t}function Ky(t){return vq(t),t}function Gy(t){return vq(t),t}function zy(t){return t.b==t.c}function Xy(t){return!!t&&t.b}function qy(t){return!!t&&t.k}function Vy(t){return!!t&&t.j}function Wy(t){vq(t),this.a=t}function Yy(t){return Jct(t),t}function Jy(t){gz(t,t.length)}function Zy(t){dy.call(this,t)}function tw(t){dy.call(this,t)}function ew(t){dy.call(this,t)}function nw(t){dy.call(this,t)}function rw(t){dy.call(this,t)}function iw(t){dy.call(this,t)}function aw(t){YN.call(this,t,0)}function ow(){o1.call(this,12,3)}function sw(){sw=L,tee=new T}function cw(){cw=L,Wte=new i}function lw(){lw=L,ree=new g}function uw(){uw=L,lee=new b}function hw(){throw Um(new pb)}function fw(){throw Um(new pb)}function dw(){throw Um(new pb)}function Aw(){throw Um(new pb)}function pw(){throw Um(new pb)}function gw(){throw Um(new pb)}function mw(){this.a=CF(bX(Qqt))}function bw(t){sQ(),this.a=bX(t)}function vw(t,e){t.Td(e),e.Sd(t)}function yw(t,e){t.a.ec().Mc(e)}function ww(t,e,n){t.c.lf(e,n)}function Tw(t){Sy.call(this,t)}function kw(t){Py.call(this,t)}function Cw(){Sd.call(this,"")}function Ew(){Sd.call(this,"")}function xw(){Sd.call(this,"")}function _w(){Sd.call(this,"")}function Bw(t){Sy.call(this,t)}function Sw(t){Ud.call(this,t)}function Lw(t){hN.call(this,t)}function Iw(t){Sw.call(this,t)}function Mw(){Jh.call(this,null)}function Ow(){Jh.call(this,null)}function Nw(){Nw=L,EY()}function Dw(){Dw=L,vne=bkt()}function Fw(t){return t.a?t.b:0}function Pw(t){return t.a?t.b:0}function Rw(t,e){return t.a-e.a}function Qw(t,e){return t.a-e.a}function Uw(t,e){return t.a-e.a}function Hw(t,e){return m7(t,e)}function jw(t,e){return AZ(t,e)}function $w(t,e){return e in t.a}function Kw(t,e){return t.f=e,t}function Gw(t,e){return t.b=e,t}function zw(t,e){return t.c=e,t}function Xw(t,e){return t.g=e,t}function qw(t,e){return t.a=e,t}function Vw(t,e){return t.f=e,t}function Ww(t,e){return t.k=e,t}function Yw(t,e){return t.a=e,t}function Jw(t,e){return t.e=e,t}function Zw(t,e){return t.e=e,t}function tT(t,e){return t.f=e,t}function eT(t,e){t.b=!0,t.d=e}function nT(t,e){t.b=new fI(e)}function rT(t,e,n){e.td(t.a[n])}function iT(t,e,n){e.we(t.a[n])}function aT(t,e){return t.b-e.b}function oT(t,e){return t.g-e.g}function sT(t,e){return t.s-e.s}function cT(t,e){return t?0:e-1}function lT(t,e){return t?0:e-1}function uT(t,e){return t?e-1:0}function hT(t,e){return e.Yf(t)}function fT(t,e){return t.b=e,t}function dT(t,e){return t.a=e,t}function AT(t,e){return t.c=e,t}function pT(t,e){return t.d=e,t}function gT(t,e){return t.e=e,t}function mT(t,e){return t.f=e,t}function bT(t,e){return t.a=e,t}function vT(t,e){return t.b=e,t}function yT(t,e){return t.c=e,t}function wT(t,e){return t.c=e,t}function TT(t,e){return t.b=e,t}function kT(t,e){return t.d=e,t}function CT(t,e){return t.e=e,t}function ET(t,e){return t.f=e,t}function xT(t,e){return t.g=e,t}function _T(t,e){return t.a=e,t}function BT(t,e){return t.i=e,t}function ST(t,e){return t.j=e,t}function LT(t,e){return t.k=e,t}function IT(t,e){return t.j=e,t}function MT(t,e){REt(),xZ(e,t)}function OT(t,e,n){jK(t.a,e,n)}function NT(t){QV.call(this,t)}function DT(t){QV.call(this,t)}function FT(t){JR.call(this,t)}function PT(t){jdt.call(this,t)}function RT(t){pet.call(this,t)}function QT(t){pW.call(this,t)}function UT(t){pW.call(this,t)}function HT(){BM.call(this,"")}function jT(){this.a=0,this.b=0}function $T(){this.b=0,this.a=0}function KT(t,e){t.b=0,Ont(t,e)}function GT(t,e){t.c=e,t.b=!0}function zT(t,e){return t.c._b(e)}function XT(t){return t.e&&t.e()}function qT(t){return t?t.d:null}function VT(t,e){return pht(t.b,e)}function WT(t){return t?t.g:null}function YT(t){return t?t.i:null}function JT(t){return wF(t),t.o}function ZT(){ZT=L,dLe=zwt()}function tk(){tk=L,ALe=sCt()}function ek(){ek=L,YIe=qwt()}function nk(){nk=L,fOe=Xwt()}function rk(){rk=L,dOe=nBt()}function ik(){ik=L,lIe=irt()}function ak(){throw Um(new pb)}function ok(){throw Um(new pb)}function sk(){throw Um(new pb)}function ck(){throw Um(new pb)}function lk(){throw Um(new pb)}function uk(){throw Um(new pb)}function hk(t){this.a=new GC(t)}function fk(t){hzt(),DXt(this,t)}function dk(t){this.a=new zG(t)}function Ak(t,e){for(;t.ye(e););}function pk(t,e){for(;t.sd(e););}function gk(t,e){return t.a+=e,t}function mk(t,e){return t.a+=e,t}function bk(t,e){return t.a+=e,t}function vk(t,e){return t.a+=e,t}function yk(t){return wq(t),t.a}function wk(t){return t.b!=t.d.c}function Tk(t){return t.l|t.m<<22}function kk(t,e){return t.d[e.p]}function Ck(t,e){return EDt(t,e)}function Ek(t,e,n){t.splice(e,n)}function xk(t){t.c?OFt(t):NFt(t)}function _k(t){this.a=0,this.b=t}function Bk(){this.a=new _Nt(eTe)}function Sk(){this.b=new _Nt(Hye)}function Lk(){this.b=new _Nt(zke)}function Ik(){this.b=new _Nt(zke)}function Mk(){throw Um(new pb)}function Ok(){throw Um(new pb)}function Nk(){throw Um(new pb)}function Dk(){throw Um(new pb)}function Fk(){throw Um(new pb)}function Pk(){throw Um(new pb)}function Rk(){throw Um(new pb)}function Qk(){throw Um(new pb)}function Uk(){throw Um(new pb)}function Hk(){throw Um(new pb)}function jk(){throw Um(new bb)}function $k(){throw Um(new bb)}function Kk(t){this.a=new Gk(t)}function Gk(t){$rt(this,t,Skt())}function zk(t){return!t||pq(t)}function Xk(t){return-1!=GOe[t]}function qk(){0!=iee&&(iee=0),oee=-1}function Vk(){null==xqt&&(xqt=[])}function Wk(t,e){tIt(qW(t.a),e)}function Yk(t,e){tIt(qW(t.a),e)}function Jk(t,e){UO.call(this,t,e)}function Zk(t,e){Jk.call(this,t,e)}function tC(t,e){this.b=t,this.c=e}function eC(t,e){this.b=t,this.a=e}function nC(t,e){this.a=t,this.b=e}function rC(t,e){this.a=t,this.b=e}function iC(t,e){this.a=t,this.b=e}function aC(t,e){this.a=t,this.b=e}function oC(t,e){this.a=t,this.b=e}function sC(t,e){this.a=t,this.b=e}function cC(t,e){this.a=t,this.b=e}function lC(t,e){this.a=t,this.b=e}function uC(t,e){this.b=t,this.a=e}function hC(t,e){this.b=t,this.a=e}function fC(t,e){this.b=t,this.a=e}function dC(t,e){this.b=t,this.a=e}function AC(t,e){this.f=t,this.g=e}function pC(t,e){this.e=t,this.d=e}function gC(t,e){this.g=t,this.i=e}function mC(t,e){this.a=t,this.b=e}function bC(t,e){this.a=t,this.f=e}function vC(t,e){this.b=t,this.c=e}function yC(t,e){this.a=t,this.b=e}function wC(t,e){this.a=t,this.b=e}function TC(t,e){this.a=t,this.b=e}function kC(t){iN(t.dc()),this.c=t}function CC(t){this.b=QH(bX(t),83)}function EC(t){this.a=QH(bX(t),83)}function xC(t){this.a=QH(bX(t),15)}function _C(t){this.a=QH(bX(t),15)}function BC(t){this.b=QH(bX(t),47)}function SC(){this.q=new e.Date}function LC(){LC=L,Uee=new I}function IC(){IC=L,hne=new _}function MC(t){return t.f.c+t.g.c}function OC(t,e){return t.b.Hc(e)}function NC(t,e){return t.b.Ic(e)}function DC(t,e){return t.b.Qc(e)}function FC(t,e){return t.b.Hc(e)}function PC(t,e){return t.c.uc(e)}function RC(t,e){return t.a._b(e)}function QC(t,e){return Oht(t.c,e)}function UC(t,e){return cz(t.b,e)}function HC(t,e){return t>e&&e<SVt}function jC(t,e){return t.Gc(e),t}function $C(t,e){return Qit(t,e),t}function KC(t){return GX(),t?cee:see}function GC(t){Zst.call(this,t,0)}function zC(){zG.call(this,null)}function XC(){Q9.call(this,null)}function qC(t){this.c=t,Stt(this)}function VC(){EM(this),bW(this)}function WC(t,e){wq(t),t.a.Nb(e)}function YC(t,e){return t.Gc(e),t}function JC(t,e){return t.a.f=e,t}function ZC(t,e){return t.a.d=e,t}function tE(t,e){return t.a.g=e,t}function eE(t,e){return t.a.j=e,t}function nE(t,e){return t.a.a=e,t}function rE(t,e){return t.a.d=e,t}function iE(t,e){return t.a.e=e,t}function aE(t,e){return t.a.g=e,t}function oE(t,e){return t.a.f=e,t}function sE(t){return t.b=!1,t}function cE(){cE=L,Ene=new xL}function lE(){lE=L,xne=new _L}function uE(){uE=L,Une=new z}function hE(){hE=L,gse=new Pe}function fE(){fE=L,nae=new _D}function dE(){dE=L,Zne=new lt}function AE(){AE=L,vse=new Re}function pE(){pE=L,sre=new At}function gE(){gE=L,joe=new ve}function mE(){mE=L,Rse=new jT}function bE(){bE=L,$oe=new xe}function vE(){vE=L,Xoe=new NK}function yE(){yE=L,cse=new Ce}function wE(){wE=L,Qse=new dn}function TE(){TE=L,Jce=new Yn}function kE(){kE=L,fle=new Oi}function CE(){CE=L,qle=new ia}function EE(){EE=L,zwe=new Q2}function xE(){xE=L,Gke=new IE}function _E(){_E=L,qke=new gF}function BE(){BE=L,jCe=new Gq}function SE(){SE=L,zme=new Vs}function LE(){Ert(),this.c=new ow}function IE(){AC.call(this,H1t,0)}function ME(t,e){Ygt(t.c.b,e.c,e)}function OE(t,e){Ygt(t.c.c,e.b,e)}function NE(t,e,n){mZ(t.d,e.f,n)}function DE(t,e,n,r){Ymt(t,r,e,n)}function FE(t,e,n,r){oNt(r,t,e,n)}function PE(t,e,n,r){szt(r,t,e,n)}function RE(t,e){return t.a=e.g,t}function QE(t,e){return ewt(t.a,e)}function UE(t){return t.b?t.b:t.a}function HE(t){return(t.c+t.a)/2}function jE(){jE=L,uLe=new nc}function $E(){$E=L,xLe=new hc}function KE(){KE=L,NIe=new Ev}function GE(){GE=L,$Ie=new xv}function zE(){zE=L,jIe=new Mv}function XE(){XE=L,WIe=new Nv}function qE(){qE=L,IMe=new $M}function VE(){VE=L,MMe=new KM}function WE(){WE=L,eOe=new Nl}function YE(){YE=L,rOe=new Dl}function JE(){JE=L,gIe=new Om}function ZE(){ZE=L,zMe=new Mm}function tx(){tx=L,TNe=new Ru}function ex(t){e.clearTimeout(t)}function nx(t){this.a=QH(bX(t),224)}function rx(t){return QH(t,42).cd()}function ix(t){return t.b<t.d.gc()}function ax(t,e){return xK(t.a,e)}function ox(t,e){return qut(t,e)>0}function sx(t,e){return qut(t,e)<0}function cx(t,e){return t.a.get(e)}function lx(t,e){return e.split(t)}function ux(t,e){return cz(t.e,e)}function hx(t){return vq(t),!1}function fx(t){f1.call(this,t,21)}function dx(t,e){PJ.call(this,t,e)}function Ax(t,e){AC.call(this,t,e)}function px(t,e){AC.call(this,t,e)}function gx(t){XX(),XR.call(this,t)}function mx(t,e){yK(t,t.length,e)}function bx(t,e){qz(t,t.length,e)}function vx(t,e,n){e.ud(t.a.Ge(n))}function yx(t,e,n){e.we(t.a.Fe(n))}function wx(t,e,n){e.td(t.a.Kb(n))}function Tx(t,e,n){t.Mb(n)&&e.td(n)}function kx(t,e,n){t.splice(e,0,n)}function Cx(t,e){return CN(t.e,e)}function Ex(t,e){this.d=t,this.e=e}function xx(t,e){this.b=t,this.a=e}function _x(t,e){this.b=t,this.a=e}function Bx(t,e){this.b=t,this.a=e}function Sx(t,e){this.a=t,this.b=e}function Lx(t,e){this.a=t,this.b=e}function Ix(t,e){this.a=t,this.b=e}function Mx(t,e){this.a=t,this.b=e}function Ox(t,e){this.a=t,this.b=e}function Nx(t,e){this.b=t,this.a=e}function Dx(t,e){this.b=t,this.a=e}function Fx(t,e){AC.call(this,t,e)}function Px(t,e){AC.call(this,t,e)}function Rx(t,e){AC.call(this,t,e)}function Qx(t,e){AC.call(this,t,e)}function Ux(t,e){AC.call(this,t,e)}function Hx(t,e){AC.call(this,t,e)}function jx(t,e){AC.call(this,t,e)}function $x(t,e){AC.call(this,t,e)}function Kx(t,e){AC.call(this,t,e)}function Gx(t,e){AC.call(this,t,e)}function zx(t,e){AC.call(this,t,e)}function Xx(t,e){AC.call(this,t,e)}function qx(t,e){AC.call(this,t,e)}function Vx(t,e){AC.call(this,t,e)}function Wx(t,e){AC.call(this,t,e)}function Yx(t,e){AC.call(this,t,e)}function Jx(t,e){AC.call(this,t,e)}function Zx(t,e){AC.call(this,t,e)}function t_(t,e){this.a=t,this.b=e}function e_(t,e){this.a=t,this.b=e}function n_(t,e){this.a=t,this.b=e}function r_(t,e){this.a=t,this.b=e}function i_(t,e){this.a=t,this.b=e}function a_(t,e){this.a=t,this.b=e}function o_(t,e){this.a=t,this.b=e}function s_(t,e){this.a=t,this.b=e}function c_(t,e){this.a=t,this.b=e}function l_(t,e){this.b=t,this.a=e}function u_(t,e){this.b=t,this.a=e}function h_(t,e){this.b=t,this.a=e}function f_(t,e){this.b=t,this.a=e}function d_(t,e){this.c=t,this.d=e}function A_(t,e){this.e=t,this.d=e}function p_(t,e){this.a=t,this.b=e}function g_(t,e){this.b=e,this.c=t}function m_(t,e){AC.call(this,t,e)}function b_(t,e){AC.call(this,t,e)}function v_(t,e){AC.call(this,t,e)}function y_(t,e){AC.call(this,t,e)}function w_(t,e){AC.call(this,t,e)}function T_(t,e){AC.call(this,t,e)}function k_(t,e){AC.call(this,t,e)}function C_(t,e){AC.call(this,t,e)}function E_(t,e){AC.call(this,t,e)}function x_(t,e){AC.call(this,t,e)}function __(t,e){AC.call(this,t,e)}function B_(t,e){AC.call(this,t,e)}function S_(t,e){AC.call(this,t,e)}function L_(t,e){AC.call(this,t,e)}function I_(t,e){AC.call(this,t,e)}function M_(t,e){AC.call(this,t,e)}function O_(t,e){AC.call(this,t,e)}function N_(t,e){AC.call(this,t,e)}function D_(t,e){AC.call(this,t,e)}function F_(t,e){AC.call(this,t,e)}function P_(t,e){AC.call(this,t,e)}function R_(t,e){AC.call(this,t,e)}function Q_(t,e){AC.call(this,t,e)}function U_(t,e){AC.call(this,t,e)}function H_(t,e){AC.call(this,t,e)}function j_(t,e){AC.call(this,t,e)}function $_(t,e){AC.call(this,t,e)}function K_(t,e){AC.call(this,t,e)}function G_(t,e){AC.call(this,t,e)}function z_(t,e){AC.call(this,t,e)}function X_(t,e){AC.call(this,t,e)}function q_(t,e){AC.call(this,t,e)}function V_(t,e){AC.call(this,t,e)}function W_(t,e){AC.call(this,t,e)}function Y_(t,e){this.b=t,this.a=e}function J_(t,e){this.a=t,this.b=e}function Z_(t,e){this.a=t,this.b=e}function tB(t,e){this.a=t,this.b=e}function eB(t,e){this.a=t,this.b=e}function nB(t,e){AC.call(this,t,e)}function rB(t,e){AC.call(this,t,e)}function iB(t,e){this.b=t,this.d=e}function aB(t,e){AC.call(this,t,e)}function oB(t,e){AC.call(this,t,e)}function sB(t,e){this.a=t,this.b=e}function cB(t,e){this.a=t,this.b=e}function lB(t,e){AC.call(this,t,e)}function uB(t,e){AC.call(this,t,e)}function hB(t,e){AC.call(this,t,e)}function fB(t,e){AC.call(this,t,e)}function dB(t,e){AC.call(this,t,e)}function AB(t,e){AC.call(this,t,e)}function pB(t,e){AC.call(this,t,e)}function gB(t,e){AC.call(this,t,e)}function mB(t,e){AC.call(this,t,e)}function bB(t,e){AC.call(this,t,e)}function vB(t,e){AC.call(this,t,e)}function yB(t,e){AC.call(this,t,e)}function wB(t,e){AC.call(this,t,e)}function TB(t,e){AC.call(this,t,e)}function kB(t,e){AC.call(this,t,e)}function CB(t,e){AC.call(this,t,e)}function EB(t,e){return CN(t.c,e)}function xB(t,e){return CN(e.b,t)}function _B(t,e){return-t.b.Je(e)}function BB(t,e){return CN(t.g,e)}function SB(t,e){AC.call(this,t,e)}function LB(t,e){AC.call(this,t,e)}function IB(t,e){this.a=t,this.b=e}function MB(t,e){this.a=t,this.b=e}function OB(t,e){this.a=t,this.b=e}function NB(t,e){AC.call(this,t,e)}function DB(t,e){AC.call(this,t,e)}function FB(t,e){AC.call(this,t,e)}function PB(t,e){AC.call(this,t,e)}function RB(t,e){AC.call(this,t,e)}function QB(t,e){AC.call(this,t,e)}function UB(t,e){AC.call(this,t,e)}function HB(t,e){AC.call(this,t,e)}function jB(t,e){AC.call(this,t,e)}function $B(t,e){AC.call(this,t,e)}function KB(t,e){AC.call(this,t,e)}function GB(t,e){AC.call(this,t,e)}function zB(t,e){AC.call(this,t,e)}function XB(t,e){AC.call(this,t,e)}function qB(t,e){AC.call(this,t,e)}function VB(t,e){AC.call(this,t,e)}function WB(t,e){this.a=t,this.b=e}function YB(t,e){this.a=t,this.b=e}function JB(t,e){this.a=t,this.b=e}function ZB(t,e){this.a=t,this.b=e}function tS(t,e){this.a=t,this.b=e}function eS(t,e){this.a=t,this.b=e}function nS(t,e){this.a=t,this.b=e}function rS(t,e){AC.call(this,t,e)}function iS(t,e){this.a=t,this.b=e}function aS(t,e){this.a=t,this.b=e}function oS(t,e){this.a=t,this.b=e}function sS(t,e){this.a=t,this.b=e}function cS(t,e){this.a=t,this.b=e}function lS(t,e){this.a=t,this.b=e}function uS(t,e){this.b=t,this.a=e}function hS(t,e){this.b=t,this.a=e}function fS(t,e){this.b=t,this.a=e}function dS(t,e){this.b=t,this.a=e}function AS(t,e){this.a=t,this.b=e}function pS(t,e){this.a=t,this.b=e}function gS(t,e){YOt(t.a,QH(e,56))}function mS(t,e){g7(t.a,QH(e,11))}function bS(t,e){return cj(),e!=t}function vS(){return Dw(),new vne}function yS(){HZ(),this.b=new Db}function wS(){ADt(),this.a=new Db}function TS(){FZ(),FK.call(this)}function kS(t,e){AC.call(this,t,e)}function CS(t,e){this.a=t,this.b=e}function ES(t,e){this.a=t,this.b=e}function xS(t,e){this.a=t,this.b=e}function _S(t,e){this.a=t,this.b=e}function BS(t,e){this.a=t,this.b=e}function SS(t,e){this.a=t,this.b=e}function LS(t,e){this.d=t,this.b=e}function IS(t,e){this.d=t,this.e=e}function MS(t,e){this.f=t,this.c=e}function OS(t,e){this.b=t,this.c=e}function NS(t,e){this.i=t,this.g=e}function DS(t,e){this.e=t,this.a=e}function FS(t,e){this.a=t,this.b=e}function PS(t,e){t.i=null,ait(t,e)}function RS(t,e){t&&Xq(aIe,t,e)}function QS(t,e){return rpt(t.a,e)}function US(t){return apt(t.c,t.b)}function HS(t){return t?t.dd():null}function jS(t){return null==t?null:t}function $S(t){return typeof t===Iqt}function KS(t){return typeof t===Mqt}function GS(t){return typeof t===Oqt}function zS(t,e){return t.Hd().Xb(e)}function XS(t,e){return Vat(t.Kc(),e)}function qS(t,e){return 0==qut(t,e)}function VS(t,e){return qut(t,e)>=0}function WS(t,e){return 0!=qut(t,e)}function YS(t){return""+(vq(t),t)}function JS(t,e){return t.substr(e)}function ZS(t){return Kdt(t),t.d.gc()}function tL(t){return KLt(t,t.c),t}function eL(t){return Wj(null==t),t}function nL(t,e){return t.a+=""+e,t}function rL(t,e){return t.a+=""+e,t}function iL(t,e){return t.a+=""+e,t}function aL(t,e){return t.a+=""+e,t}function oL(t,e){return t.a+=""+e,t}function sL(t,e){return t.a+=""+e,t}function cL(t,e){n5(t,e,t.a,t.a.a)}function lL(t,e){n5(t,e,t.c.b,t.c)}function uL(t,e,n){PTt(e,F_t(t,n))}function hL(t,e,n){PTt(e,F_t(t,n))}function fL(t,e){Ttt(new SO(t),e)}function dL(t,e){t.q.setTime(y2(e))}function AL(t,e){$G.call(this,t,e)}function pL(t,e){$G.call(this,t,e)}function gL(t,e){$G.call(this,t,e)}function mL(t){Lz(this),kat(this,t)}function bL(t){return u1(t,0),null}function vL(t){return t.a=0,t.b=0,t}function yL(t,e){return t.a=e.g+1,t}function wL(t,e){return 2==t.j[e.p]}function TL(t){return sX(QH(t,79))}function kL(){kL=L,Sie=hut(tmt())}function CL(){CL=L,Yce=hut(TNt())}function EL(){this.b=new GC(tet(12))}function xL(){this.b=0,this.a=!1}function _L(){this.b=0,this.a=!1}function BL(t){this.a=t,Qu.call(this)}function SL(t){this.a=t,Qu.call(this)}function LL(t,e){eP.call(this,t,e)}function IL(t,e){ZP.call(this,t,e)}function ML(t,e){NS.call(this,t,e)}function OL(t,e){Lot.call(this,t,e)}function NL(t,e){qN.call(this,t,e)}function DL(t,e){JE(),Xq(gIe,t,e)}function FL(t,e){return lD(t.a,0,e)}function PL(t,e){return t.a.a.a.cc(e)}function RL(t,e){return jS(t)===jS(e)}function QL(t,e){return xft(t.a,e.a)}function UL(t,e){return wM(t.a,e.a)}function HL(t,e){return Rz(t.a,e.a)}function jL(t,e){return t.indexOf(e)}function $L(t,e){return t==e?0:t?1:-1}function KL(t){return t<10?"0"+t:""+t}function GL(t){return bX(t),new BL(t)}function zL(t){return kM(t.l,t.m,t.h)}function XL(t){return xJ((vq(t),t))}function qL(t){return xJ((vq(t),t))}function VL(t,e){return wM(t.g,e.g)}function WL(t){return typeof t===Mqt}function YL(t){return t==Yoe||t==tse}function JL(t){return t==Yoe||t==Joe}function ZL(t){return w7(t.b.b,t,0)}function tI(t){this.a=vS(),this.b=t}function eI(t){this.a=vS(),this.b=t}function nI(t,e){return zH(t.a,e),e}function rI(t,e){return zH(t.c,e),t}function iI(t,e){return Yat(t.a,e),t}function aI(t,e){return jQ(),e.a+=t}function oI(t,e){return jQ(),e.a+=t}function sI(t,e){return jQ(),e.c+=t}function cI(t,e){$8(t,0,t.length,e)}function lI(){tA.call(this,new g3)}function uI(){aK.call(this,0,0,0,0)}function hI(){KV.call(this,0,0,0,0)}function fI(t){this.a=t.a,this.b=t.b}function dI(t){return t==P_e||t==R_e}function AI(t){return t==U_e||t==F_e}function pI(t){return t==lbe||t==cbe}function gI(t){return t!=qBe&&t!=VBe}function mI(t){return t.Lg()&&t.Mg()}function bI(t){return mV(QH(t,118))}function vI(t){return Yat(new Q2,t)}function yI(t,e){return new Lot(e,t)}function wI(t,e){return new Lot(e,t)}function TI(t,e,n){wnt(t,e),Tnt(t,n)}function kI(t,e,n){Ent(t,e),Cnt(t,n)}function CI(t,e,n){xnt(t,e),_nt(t,n)}function EI(t,e,n){knt(t,e),Snt(t,n)}function xI(t,e,n){Bnt(t,e),Lnt(t,n)}function _I(t,e){Dlt(t,e),Nnt(t,t.D)}function BI(t){MS.call(this,t,!0)}function SI(t,e,n){MF.call(this,t,e,n)}function LI(t){SFt(),cot.call(this,t)}function II(){Ax.call(this,"Head",1)}function MI(){Ax.call(this,"Tail",3)}function OI(t){t.c=O9(Lte,Hqt,1,0,5,1)}function NI(t){t.a=O9(Lte,Hqt,1,8,5,1)}function DI(t){Set(t.xf(),new CA(t))}function FI(t){return null!=t?Zct(t):0}function PI(t,e){return _et(e,zJ(t))}function RI(t,e){return _et(e,zJ(t))}function QI(t,e){return t[t.length]=e}function UI(t,e){return t[t.length]=e}function HI(t){return RH(t.b.Kc(),t.a)}function jI(t,e){return Grt(EX(t.d),e)}function $I(t,e){return Grt(EX(t.g),e)}function KI(t,e){return Grt(EX(t.j),e)}function GI(t,e){eP.call(this,t.b,e)}function zI(t){aK.call(this,t,t,t,t)}function XI(t){return t.b&&qHt(t),t.a}function qI(t){return t.b&&qHt(t),t.c}function VI(t,e){qne||(t.b=e)}function WI(t,e,n){return LX(t,e,n),n}function YI(t,e,n){LX(t.c[e.g],e.g,n)}function JI(t,e,n){QH(t.c,69).Xh(e,n)}function ZI(t,e,n){CI(n,n.i+t,n.j+e)}function tM(t,e){l8(i3(t.a),t1(e))}function eM(t,e){l8(U7(t.a),e1(e))}function nM(t){dqt(),Sm.call(this,t)}function rM(t){return null==t?0:Zct(t)}function iM(){iM=L,sye=new Hdt(oBe)}function aM(){aM=L,new oM,new Mm}function oM(){new Om,new Om,new Om}function sM(){sM=L,kb(),nee=new Om}function cM(){cM=L,e.Math.log(2)}function lM(){lM=L,$E(),NMe=xLe}function uM(){throw Um(new Zy(kte))}function hM(){throw Um(new Zy(kte))}function fM(){throw Um(new Zy(Cte))}function dM(){throw Um(new Zy(Cte))}function AM(t){this.a=t,qH.call(this,t)}function pM(t){this.a=t,CC.call(this,t)}function gM(t){this.a=t,CC.call(this,t)}function mM(t,e){bK(t.c,t.c.length,e)}function bM(t){return t.a<t.c.c.length}function vM(t){return t.a<t.c.a.length}function yM(t,e){return t.a?t.b:e.De()}function wM(t,e){return t<e?-1:t>e?1:0}function TM(t,e){return qut(t,e)>0?t:e}function kM(t,e,n){return{l:t,m:e,h:n}}function CM(t,e){null!=t.a&&mS(e,t.a)}function EM(t){t.a=new M,t.c=new M}function xM(t){this.b=t,this.a=new Mm}function _M(t){this.b=new ee,this.a=t}function BM(t){IP.call(this),this.a=t}function SM(){Ax.call(this,"Range",2)}function LM(){tTt(),this.a=new _Nt(Koe)}function IM(t,e){bX(e),wV(t).Jc(new d)}function MM(t,e){return QZ(),e.n.b+=t}function OM(t,e,n){return Xq(t.g,n,e)}function NM(t,e,n){return Xq(t.k,n,e)}function DM(t,e){return Xq(t.a,e.a,e)}function FM(t,e,n){return Bpt(e,n,t.c)}function PM(t){return new OB(t.c,t.d)}function RM(t){return new OB(t.c,t.d)}function QM(t){return new OB(t.a,t.b)}function UM(t,e){return tGt(t.a,e,null)}function HM(t){CZ(t,null),kZ(t,null)}function jM(t){zZ(t,null),XZ(t,null)}function $M(){qN.call(this,null,null)}function KM(){VN.call(this,null,null)}function GM(t){this.a=t,Om.call(this)}function zM(t){this.b=(CW(),new Gd(t))}function XM(t){t.j=O9(Qee,cVt,310,0,0,1)}function qM(t,e,n){t.c.Vc(e,QH(n,133))}function VM(t,e,n){t.c.ji(e,QH(n,133))}function WM(t,e){c$t(t),t.Gc(QH(e,15))}function YM(t,e){return U$t(t.c,t.b,e)}function JM(t,e){return new pN(t.Kc(),e)}function ZM(t,e){return-1!=Qst(t.Kc(),e)}function tO(t,e){return null!=t.a.Bc(e)}function eO(t){return t.Ob()?t.Pb():null}function nO(t){return Upt(t,0,t.length)}function rO(t,e){return null!=t&&Vmt(t,e)}function iO(t,e){t.q.setHours(e),hHt(t,e)}function aO(t,e){t.c&&(Dj(e),vJ(e))}function oO(t,e,n){QH(t.Kb(n),164).Nb(e)}function sO(t,e,n){return HKt(t,e,n),n}function cO(t,e,n){t.a=1502^e,t.b=n^aYt}function lO(t,e,n){return t.a[e.g][n.g]}function uO(t,e){return t.a[e.c.p][e.p]}function hO(t,e){return t.e[e.c.p][e.p]}function fO(t,e){return t.c[e.c.p][e.p]}function dO(t,e){return t.j[e.p]=gOt(e)}function AO(t,e){return l6(t.f,e.tg())}function pO(t,e){return l6(t.b,e.tg())}function gO(t,e){return t.a<GR(e)?-1:1}function mO(t,e,n){return n?0!=e:e!=t-1}function bO(t,e,n){return t.a=e,t.b=n,t}function vO(t,e){return t.a*=e,t.b*=e,t}function yO(t,e,n){return LX(t.g,e,n),n}function wO(t,e,n,r){LX(t.a[e.g],n.g,r)}function TO(t,e){PD(e,t.a.a.a,t.a.a.b)}function kO(t){t.a=QH(vot(t.b.a,4),126)}function CO(t){t.a=QH(vot(t.b.a,4),126)}function EO(t){BY(t,n9t),HOt(t,Bzt(t))}function xO(){xO=L,Cne=new gy(null)}function _O(){(_O=L)(),Lne=new G}function BO(){this.Bb|=256,this.Bb|=512}function SO(t){this.i=t,this.f=this.i.j}function LO(t,e,n){bj.call(this,t,e,n)}function IO(t,e,n){LO.call(this,t,e,n)}function MO(t,e,n){LO.call(this,t,e,n)}function OO(t,e,n){IO.call(this,t,e,n)}function NO(t,e,n){bj.call(this,t,e,n)}function DO(t,e,n){bj.call(this,t,e,n)}function FO(t,e,n){kj.call(this,t,e,n)}function PO(t,e,n){kj.call(this,t,e,n)}function RO(t,e,n){FO.call(this,t,e,n)}function QO(t,e,n){NO.call(this,t,e,n)}function UO(t,e){this.a=t,CC.call(this,e)}function HO(t,e){this.a=t,aw.call(this,e)}function jO(t,e){this.a=t,aw.call(this,e)}function $O(t,e){this.a=t,aw.call(this,e)}function KO(t){this.a=t,cf.call(this,t.d)}function GO(t){this.c=t,this.a=this.c.a}function zO(t,e){this.a=e,aw.call(this,t)}function XO(t,e){this.a=e,d3.call(this,t)}function qO(t,e){this.a=t,d3.call(this,e)}function VO(t,e){return fG(hG(t.c)).Xb(e)}function WO(t,e){return edt(t,new xw,e).a}function YO(t,e){return bX(e),new JO(t,e)}function JO(t,e){this.a=e,BC.call(this,t)}function ZO(t){this.b=t,this.a=this.b.a.e}function tN(t){t.b.Qb(),--t.d.f.d,LK(t.d)}function eN(t){Jh.call(this,QH(bX(t),35))}function nN(t){Jh.call(this,QH(bX(t),35))}function rN(){AC.call(this,"INSTANCE",0)}function iN(t){if(!t)throw Um(new fb)}function aN(t){if(!t)throw Um(new db)}function oN(t){if(!t)throw Um(new bb)}function sN(){sN=L,WE(),nOe=new Ph}function cN(){cN=L,gee=!1,mee=!0}function lN(t){Sd.call(this,(vq(t),t))}function uN(t){Sd.call(this,(vq(t),t))}function hN(t){Ud.call(this,t),this.a=t}function fN(t){Hd.call(this,t),this.a=t}function dN(t){Sw.call(this,t),this.a=t}function AN(){XM(this),yW(this),this._d()}function pN(t,e){this.a=e,BC.call(this,t)}function gN(t,e){return new P_t(t.a,t.b,e)}function mN(t,e){return t.lastIndexOf(e)}function bN(t,e,n){return t.indexOf(e,n)}function vN(t){return null==t?Kqt:Udt(t)}function yN(t){return null==t?null:t.name}function wN(t){return null!=t.a?t.a:null}function TN(t){return wk(t.a)?a1(t):null}function kN(t,e){return null!=LJ(t.a,e)}function CN(t,e){return!!e&&t.b[e.g]==e}function EN(t){return t.$H||(t.$H=++rre)}function xN(t){return t.l+t.m*BWt+t.h*SWt}function _N(t,e){return zH(e.a,t.a),t.a}function BN(t,e){return zH(e.b,t.a),t.a}function SN(t,e){return zH(e.a,t.a),t.a}function LN(t){return ED(null!=t.a),t.a}function IN(t){tA.call(this,new H9(t))}function MN(t,e){Egt.call(this,t,e,null)}function ON(t){this.a=t,Qd.call(this,t)}function NN(){NN=L,Iie=new eP(AJt,0)}function DN(t,e){return++t.b,zH(t.a,e)}function FN(t,e){return++t.b,b7(t.a,e)}function PN(t,e){return xft(t.n.a,e.n.a)}function RN(t,e){return xft(t.c.d,e.c.d)}function QN(t,e){return xft(t.c.c,e.c.c)}function UN(t,e){return QH(c6(t.b,e),15)}function HN(t,e){return t.n.b=(vq(e),e)}function jN(t,e){return t.n.b=(vq(e),e)}function $N(t){return bM(t.a)||bM(t.b)}function KN(t,e,n){return p4(t,e,n,t.b)}function GN(t,e,n){return p4(t,e,n,t.c)}function zN(t,e,n){QH(N7(t,e),21).Fc(n)}function XN(t,e,n){Sft(t.a,n),Bbt(t.a,e)}function qN(t,e){qE(),this.a=t,this.b=e}function VN(t,e){VE(),this.b=t,this.c=e}function WN(t,e){RK(),this.f=e,this.d=t}function YN(t,e){f6(e,t),this.d=t,this.c=e}function JN(t){var e;e=t.a,t.a=t.b,t.b=e}function ZN(t){return jQ(),!!t&&!t.dc()}function tD(t){return new c3(3,t)}function eD(t,e){return new hR(t,t.gc(),e)}function nD(t){return ny(),xtt((NZ(),zte),t)}function rD(t){this.d=t,SO.call(this,t)}function iD(t){this.c=t,SO.call(this,t)}function aD(t){this.c=t,rD.call(this,t)}function oD(){kE(),this.b=new bp(this)}function sD(t){return hrt(t,LVt),new W6(t)}function cD(t){return EY(),parseInt(t)||-1}function lD(t,e,n){return t.substr(e,n-e)}function uD(t,e,n){return bN(t,WCt(e),n)}function hD(t){return Xz(t.c,t.c.length)}function fD(t){return null!=t.f?t.f:""+t.g}function dD(t){return null!=t.f?t.f:""+t.g}function AD(t){return ED(0!=t.b),t.a.a.c}function pD(t){return ED(0!=t.b),t.c.b.c}function gD(t){rO(t,150)&&QH(t,150).Gh()}function mD(t){return t.b=QH(mW(t.a),42)}function bD(t){cE(),this.b=t,this.a=!0}function vD(t){lE(),this.b=t,this.a=!0}function yD(t){t.d=new xD(t),t.e=new Om}function wD(t){if(!t)throw Um(new gb)}function TD(t){if(!t)throw Um(new fb)}function kD(t){if(!t)throw Um(new db)}function CD(t){if(!t)throw Um(new ub)}function ED(t){if(!t)throw Um(new bb)}function xD(t){JH.call(this,t,null,null)}function _D(){AC.call(this,"POLYOMINO",0)}function BD(t,e,n,r){sG.call(this,t,e,n,r)}function SD(t,e){return REt(),YSt(t,e.e,e)}function LD(t,e,n){return SE(),n.qg(t,e)}function ID(t,e){return!!t.q&&cz(t.q,e)}function MD(t,e){return t>0?e*e/t:e*e*100}function OD(t,e){return t>0?e/(t*t):100*e}function ND(t,e,n){return zH(e,sAt(t,n))}function DD(t,e,n){O8(),t.Xe(e)&&n.td(t)}function FD(t,e,n){t.Zc(e).Rb(n)}function PD(t,e,n){return t.a+=e,t.b+=n,t}function RD(t,e,n){return t.a*=e,t.b*=n,t}function QD(t,e,n){return t.a-=e,t.b-=n,t}function UD(t,e){return t.a=e.a,t.b=e.b,t}function HD(t){return t.a=-t.a,t.b=-t.b,t}function jD(t){this.c=t,this.a=1,this.b=1}function $D(t){this.c=t,xnt(t,0),_nt(t,0)}function KD(t){VC.call(this),Znt(this,t)}function GD(t){FXt(),Qm(this),this.mf(t)}function zD(t,e){qE(),qN.call(this,t,e)}function XD(t,e){VE(),VN.call(this,t,e)}function qD(t,e){VE(),VN.call(this,t,e)}function VD(t,e){VE(),XD.call(this,t,e)}function WD(t,e,n){b8.call(this,t,e,n,2)}function YD(t,e){lM(),rK.call(this,t,e)}function JD(t,e){lM(),YD.call(this,t,e)}function ZD(t,e){lM(),YD.call(this,t,e)}function tF(t,e){lM(),ZD.call(this,t,e)}function eF(t,e){lM(),rK.call(this,t,e)}function nF(t,e){lM(),eF.call(this,t,e)}function rF(t,e){lM(),rK.call(this,t,e)}function iF(t,e){return t.c.Fc(QH(e,133))}function aF(t,e,n){return Ojt(R7(t,e),n)}function oF(t,e,n){return e.Qk(t.e,t.c,n)}function sF(t,e,n){return e.Rk(t.e,t.c,n)}function cF(t,e){return tht(t.e,QH(e,49))}function lF(t,e,n){cft(U7(t.a),e,e1(n))}function uF(t,e,n){cft(i3(t.a),e,t1(n))}function hF(t,e){e.$modCount=t.$modCount}function fF(){fF=L,Xwe=new am("root")}function dF(){dF=L,AIe=new Tv,new kv}function AF(){this.a=new pJ,this.b=new pJ}function pF(){wrt.call(this),this.Bb|=UWt}function gF(){AC.call(this,"GROW_TREE",0)}function mF(t){return null==t?null:dzt(t)}function bF(t){return null==t?null:Mxt(t)}function vF(t){return null==t?null:Udt(t)}function yF(t){return null==t?null:Udt(t)}function wF(t){null==t.o&&pMt(t)}function TF(t){return Wj(null==t||$S(t)),t}function kF(t){return Wj(null==t||KS(t)),t}function CF(t){return Wj(null==t||GS(t)),t}function EF(t){this.q=new e.Date(y2(t))}function xF(t,e){this.c=t,pC.call(this,t,e)}function _F(t,e){this.a=t,xF.call(this,t,e)}function BF(t,e){this.d=t,kd(this),this.b=e}function SF(t,e){Q9.call(this,t),this.a=e}function LF(t,e){Q9.call(this,t),this.a=e}function IF(t){jAt.call(this,0,0),this.f=t}function MF(t,e,n){z6.call(this,t,e,n,null)}function OF(t,e,n){z6.call(this,t,e,n,null)}function NF(t,e,n){return t.ue(e,n)<=0?n:e}function DF(t,e,n){return t.ue(e,n)<=0?e:n}function FF(t,e){return QH(utt(t.b,e),149)}function PF(t,e){return QH(utt(t.c,e),229)}function RF(t){return QH(O$(t.a,t.b),287)}function QF(t){return new OB(t.c,t.d+t.a)}function UF(t){return QZ(),pI(QH(t,197))}function HF(){HF=L,Lie=Zft((bpt(),PSe))}function jF(t,e){e.a?QDt(t,e):kN(t.a,e.b)}function $F(t,e){qne||zH(t.a,e)}function KF(t,e){return mE(),dot(e.d.i,t)}function GF(t,e){return Bit(),new iRt(e,t)}function zF(t,e){return BY(e,oJt),t.f=e,t}function XF(t,e,n){return n=kQt(t,e,3,n)}function qF(t,e,n){return n=kQt(t,e,6,n)}function VF(t,e,n){return n=kQt(t,e,9,n)}function WF(t,e,n){++t.j,t.Ki(),I9(t,e,n)}function YF(t,e,n){++t.j,t.Hi(e,t.oi(e,n))}function JF(t,e,n){t.Zc(e).Rb(n)}function ZF(t,e,n){return JHt(t.c,t.b,e,n)}function tP(t,e){return(e&Dqt)%t.d.length}function eP(t,e){am.call(this,t),this.a=e}function nP(t,e){vm.call(this,t),this.a=e}function rP(t,e){vm.call(this,t),this.a=e}function iP(t,e){this.c=t,pet.call(this,e)}function aP(t,e){this.a=t,bm.call(this,e)}function oP(t,e){this.a=t,bm.call(this,e)}function sP(t){this.a=(hrt(t,LVt),new W6(t))}function cP(t){this.a=(hrt(t,LVt),new W6(t))}function lP(t){return!t.a&&(t.a=new A),t.a}function uP(t){return t>8?0:t+1}function hP(t,e){return cN(),t==e?0:t?1:-1}function fP(t,e,n){return mK(t,QH(e,22),n)}function dP(t,e,n){return t.apply(e,n)}function AP(t,e,n){return t.a+=Upt(e,0,n),t}function pP(t,e){var n;return n=t.e,t.e=e,n}function gP(t,e){t[nYt].call(t,e)}function mP(t,e){t[nYt].call(t,e)}function bP(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1}function vP(t){Lz(t.e),t.d.b=t.d,t.d.a=t.d}function yP(t){t.b?yP(t.b):t.f.c.zc(t.e,t.d)}function wP(t,e,n){dE(),_f(t,e.Ce(t.a,n))}function TP(t,e){return qT(Cpt(t.a,e,!0))}function kP(t,e){return qT(Ept(t.a,e,!0))}function CP(t,e){return Hw(new Array(e),t)}function EP(t){return String.fromCharCode(t)}function xP(t){return null==t?null:t.message}function _P(){this.a=new Mm,this.b=new Mm}function BP(){this.a=new fe,this.b=new Tb}function SP(){this.b=new jT,this.c=new Mm}function LP(){this.d=new jT,this.e=new jT}function IP(){this.n=new jT,this.o=new jT}function MP(){this.n=new hv,this.i=new hI}function OP(){this.a=new Ju,this.b=new sa}function NP(){this.a=new Mm,this.d=new Mm}function DP(){this.b=new Db,this.a=new Db}function FP(){this.b=new Om,this.a=new Om}function PP(){this.b=new Sk,this.a=new go}function RP(){MP.call(this),this.a=new jT}function QP(t){Sot.call(this,t,(Y8(),Mne))}function UP(t,e,n,r){aK.call(this,t,e,n,r)}function HP(t,e,n){null!=n&&Mrt(e,Lvt(t,n))}function jP(t,e,n){null!=n&&Ort(e,Lvt(t,n))}function $P(t,e,n){return n=kQt(t,e,11,n)}function KP(t,e){return t.a+=e.a,t.b+=e.b,t}function GP(t,e){return t.a-=e.a,t.b-=e.b,t}function zP(t,e){return t.n.a=(vq(e),e+10)}function XP(t,e){return t.n.a=(vq(e),e+10)}function qP(t,e){return e==t||ETt(_Ot(e),t)}function VP(t,e){return null==Xq(t.a,e,"")}function WP(t,e){return mE(),!dot(e.d.i,t)}function YP(t,e){dI(t.f)?iMt(t,e):BCt(t,e)}function JP(t,e){return e.Hh(t.a)}function ZP(t,e){Sy.call(this,e8t+t+s9t+e)}function tR(t,e,n,r){tz.call(this,t,e,n,r)}function eR(t,e,n,r){tz.call(this,t,e,n,r)}function nR(t,e,n,r){eR.call(this,t,e,n,r)}function rR(t,e,n,r){ez.call(this,t,e,n,r)}function iR(t,e,n,r){ez.call(this,t,e,n,r)}function aR(t,e,n,r){ez.call(this,t,e,n,r)}function oR(t,e,n,r){iR.call(this,t,e,n,r)}function sR(t,e,n,r){iR.call(this,t,e,n,r)}function cR(t,e,n,r){aR.call(this,t,e,n,r)}function lR(t,e,n,r){sR.call(this,t,e,n,r)}function uR(t,e,n,r){YG.call(this,t,e,n,r)}function hR(t,e,n){this.a=t,YN.call(this,e,n)}function fR(t,e,n){this.c=e,this.b=n,this.a=t}function dR(t,e,n){return t.d=QH(e.Kb(n),164)}function AR(t,e){return t.Aj().Nh().Kh(t,e)}function pR(t,e){return t.Aj().Nh().Ih(t,e)}function gR(t,e){return vq(t),jS(t)===jS(e)}function mR(t,e){return vq(t),jS(t)===jS(e)}function bR(t,e){return qT(Cpt(t.a,e,!1))}function vR(t,e){return qT(Ept(t.a,e,!1))}function yR(t,e){return t.b.sd(new Lx(t,e))}function wR(t,e){return t.b.sd(new Ix(t,e))}function TR(t,e){return t.b.sd(new Mx(t,e))}function kR(t,e,n){return t.lastIndexOf(e,n)}function CR(t,e,n){return xft(t[e.b],t[n.b])}function ER(t,e){return lct(e,(HXt(),Dpe),t)}function xR(t,e){return wM(e.a.d.p,t.a.d.p)}function _R(t,e){return wM(t.a.d.p,e.a.d.p)}function BR(t,e){return xft(t.c-t.s,e.c-e.s)}function SR(t){return t.c?w7(t.c.a,t,0):-1}function LR(t){return t<100?null:new RT(t)}function IR(t){return t==KBe||t==zBe||t==GBe}function MR(t,e){return rO(e,15)&&VFt(t.c,e)}function OR(t,e){qne||e&&(t.d=e)}function NR(t,e){return!!hlt(t,e)}function DR(t,e){this.c=t,jz.call(this,t,e)}function FR(t){this.c=t,gL.call(this,fVt,0)}function PR(t,e){WH.call(this,t,t.length,e)}function RR(t,e,n){return QH(t.c,69).lk(e,n)}function QR(t,e,n){return QH(t.c,69).mk(e,n)}function UR(t,e,n){return oF(t,QH(e,332),n)}function HR(t,e,n){return sF(t,QH(e,332),n)}function jR(t,e,n){return Bkt(t,QH(e,332),n)}function $R(t,e,n){return VCt(t,QH(e,332),n)}function KR(t,e){return null==e?null:hht(t.b,e)}function GR(t){return KS(t)?(vq(t),t):t.ke()}function zR(t){return!isNaN(t)&&!isFinite(t)}function XR(t){sQ(),this.a=(CW(),new Sw(t))}function qR(t){cj(),this.d=t,this.a=new Im}function VR(t,e,n){this.a=t,this.b=e,this.c=n}function WR(t,e,n){this.a=t,this.b=e,this.c=n}function YR(t,e,n){this.d=t,this.b=n,this.a=e}function JR(t){EM(this),bW(this),Qit(this,t)}function ZR(t){OI(this),ZH(this.c,0,t.Pc())}function tQ(t){lq(t.a),$9(t.c,t.b),t.b=null}function eQ(t){this.a=t,LC(),uot(Date.now())}function nQ(){nQ=L,ere=new i,nre=new i}function rQ(){rQ=L,Tne=new O,kne=new N}function iQ(){iQ=L,hIe=O9(Lte,Hqt,1,0,5,1)}function aQ(){aQ=L,TMe=O9(Lte,Hqt,1,0,5,1)}function oQ(){oQ=L,kMe=O9(Lte,Hqt,1,0,5,1)}function sQ(){sQ=L,new nb((CW(),CW(),cne))}function cQ(t){return Y8(),xtt((J8(),Pne),t)}function lQ(t){return jlt(),xtt((t9(),Yne),t)}function uQ(t){return lmt(),xtt((_3(),pre),t)}function hQ(t){return Dtt(),xtt((B3(),vre),t)}function fQ(t){return tPt(),xtt((Not(),Rre),t)}function dQ(t){return Det(),xtt((Y6(),zre),t)}function AQ(t){return W8(),xtt((J6(),Zre),t)}function pQ(t){return j7(),xtt((Z6(),aie),t)}function gQ(t){return Aqt(),xtt((kL(),Sie),t)}function mQ(t){return Dot(),xtt((t7(),Pie),t)}function bQ(t){return Hmt(),xtt((e7(),$ie),t)}function vQ(t){return jmt(),xtt((n7(),eae),t)}function yQ(t){return fE(),xtt((q2(),iae),t)}function wQ(t){return Ftt(),xtt((S3(),Pae),t)}function TQ(t){return H7(),xtt((e9(),Ioe),t)}function kQ(t){return vEt(),xtt((Gtt(),Hoe),t)}function CQ(t){return Lst(),xtt((Z8(),nse),t)}function EQ(t){return Uht(),xtt((n9(),Ase),t)}function xQ(t,e){if(!t)throw Um(new Py(e))}function _Q(t){return oxt(),xtt((lnt(),Sse),t)}function BQ(t){aK.call(this,t.d,t.c,t.a,t.b)}function SQ(t){aK.call(this,t.d,t.c,t.a,t.b)}function LQ(t,e,n){this.b=t,this.c=e,this.a=n}function IQ(t,e,n){this.b=t,this.a=e,this.c=n}function MQ(t,e,n){this.a=t,this.b=e,this.c=n}function OQ(t,e,n){this.a=t,this.b=e,this.c=n}function NQ(t,e,n){this.a=t,this.b=e,this.c=n}function DQ(t,e,n){this.a=t,this.b=e,this.c=n}function FQ(t,e,n){this.b=t,this.a=e,this.c=n}function PQ(t,e,n){this.e=e,this.b=t,this.d=n}function RQ(t,e,n){return dE(),t.a.Od(e,n),e}function QQ(t){var e;return(e=new wt).e=t,e}function UQ(t){var e;return(e=new Yb).b=t,e}function HQ(){HQ=L,Kse=new Nn,Gse=new Dn}function jQ(){jQ=L,dle=new bi,Ale=new vi}function $Q(t){return Bst(),xtt((i7(),ole),t)}function KQ(t){return Sst(),xtt((o7(),wle),t)}function GQ(t){return yFt(),xtt(($at(),Xle),t)}function zQ(t){return I_t(),xtt((fnt(),nue),t)}function XQ(t){return X9(),xtt((D3(),oue),t)}function qQ(t){return Srt(),xtt((r9(),hue),t)}function VQ(t){return Mkt(),xtt((Utt(),Ble),t)}function WQ(t){return _it(),xtt((o9(),Ple),t)}function YQ(t){return ort(),xtt((i9(),gue),t)}function JQ(t){return qbt(),xtt((Rtt(),kue),t)}function ZQ(t){return Ptt(),xtt((I3(),_ue),t)}function tU(t){return Yst(),xtt((a9(),Mue),t)}function eU(t){return pxt(),xtt((gnt(),Uue),t)}function nU(t){return A7(),xtt((M3(),Kue),t)}function rU(t){return UTt(),xtt((Ant(),Jue),t)}function iU(t){return YEt(),xtt((dnt(),ohe),t)}function aU(t){return fFt(),xtt((qst(),bhe),t)}function oU(t){return Pot(),xtt((c9(),khe),t)}function sU(t){return $7(),xtt((s9(),Bhe),t)}function cU(t){return $2(),xtt((F3(),Mhe),t)}function lU(t){return kdt(),xtt((Htt(),$fe),t)}function uU(t){return kCt(),xtt((pnt(),nbe),t)}function hU(t){return Cut(),xtt((l9(),sbe),t)}function fU(t){return fbt(),xtt((s7(),dbe),t)}function dU(t){return art(),xtt((f9(),Kbe),t)}function AU(t){return cNt(),xtt((jat(),Lbe),t)}function pU(t){return bct(),xtt((h9(),Dbe),t)}function gU(t){return K7(),xtt((N3(),Qbe),t)}function mU(t){return Hat(),xtt((u9(),Vbe),t)}function bU(t){return Obt(),xtt((Qtt(),ybe),t)}function vU(t){return S6(),xtt((O3(),Zbe),t)}function yU(t){return Glt(),xtt((A9(),ive),t)}function wU(t){return Aat(),xtt((p9(),lve),t)}function TU(t){return Ist(),xtt((d9(),Ave),t)}function kU(t){return srt(),xtt((g9(),Mve),t)}function CU(t){return q3(),xtt((R3(),jve),t)}function EU(t){return AJ(),xtt((Q3(),eye),t)}function xU(t){return oZ(),xtt((U3(),aye),t)}function _U(t){return B6(),xtt((P3(),Eye),t)}function BU(t){return dJ(),xtt((H3(),Nye),t)}function SU(t){return Kyt(),xtt((r7(),Uye),t)}function LU(t){return D_t(),xtt((mnt(),Wye),t)}function IU(t){return sZ(),xtt((K3(),Rwe),t)}function MU(t){return xit(),xtt(($3(),Ywe),t)}function OU(t){return Q0(),xtt((j3(),jwe),t)}function NU(t){return _dt(),xtt((m9(),nTe),t)}function DU(t){return N8(),xtt((G3(),oTe),t)}function FU(t){return Hlt(),xtt((b9(),hTe),t)}function PU(t){return Svt(),xtt((a7(),$Te),t)}function RU(t){return Uat(),xtt((y9(),qTe),t)}function QU(t){return Edt(),xtt((v9(),tke),t)}function UU(t){return WOt(),xtt((Ktt(),Qke),t)}function HU(t){return xdt(),xtt((w9(),Kke),t)}function jU(t){return xE(),xtt((z2(),Xke),t)}function $U(t){return _E(),xtt((G2(),Wke),t)}function KU(t){return L6(),xtt((X3(),tCe),t)}function GU(t){return Ixt(),xtt((jtt(),sCe),t)}function zU(t){return BE(),xtt((X2(),KCe),t)}function XU(t){return Mst(),xtt((z3(),qCe),t)}function qU(t){return rmt(),xtt(($tt(),hEe),t)}function VU(t){return x_t(),xtt((Kat(),wEe),t)}function WU(t){return dbt(),xtt((hnt(),OEe),t)}function YU(t){return dkt(),xtt((unt(),ZEe),t)}function JU(t){return hqt(),xtt((CL(),Yce),t)}function ZU(t){return Eit(),xtt((L3(),$se),t)}function tH(t){return Qht(),xtt((ztt(),j_e),t)}function eH(t){return Fet(),xtt((k9(),X_e),t)}function nH(t){return Cdt(),xtt((u7(),Z_e),t)}function rH(t){return ZCt(),xtt((vnt(),sBe),t)}function iH(t){return oht(),xtt((T9(),vBe),t)}function aH(t){return zyt(),xtt((l7(),EBe),t)}function oH(t){return ZIt(),xtt((Oot(),FBe),t)}function sH(t){return imt(),xtt((Xtt(),$Be),t)}function cH(t){return Vkt(),xtt((Het(),YBe),t)}function lH(t){return hSt(),xtt((bnt(),aSe),t)}function uH(t){return bpt(),xtt((f7(),QSe),t)}function hH(t){return ZRt(),xtt((Vst(),WSe),t)}function fH(t){return yzt(),xtt((qtt(),BSe),t)}function dH(t){return QAt(),xtt((h7(),nLe),t)}function AH(t){return Ult(),xtt((c7(),lLe),t)}function pH(t){return lIt(),xtt((Gat(),nIe),t)}function gH(t,e){return vq(t),t+(vq(e),e)}function mH(t,e){return LC(),l8(qW(t.a),e)}function bH(t,e){return LC(),l8(qW(t.a),e)}function vH(t,e){this.c=t,this.a=e,this.b=e-t}function yH(t,e,n){this.a=t,this.b=e,this.c=n}function wH(t,e,n){this.a=t,this.b=e,this.c=n}function TH(t,e,n){this.a=t,this.b=e,this.c=n}function kH(t,e,n){this.a=t,this.b=e,this.c=n}function CH(t,e,n){this.a=t,this.b=e,this.c=n}function EH(t,e,n){this.e=t,this.a=e,this.c=n}function xH(t,e,n){lM(),mJ.call(this,t,e,n)}function _H(t,e,n){lM(),nq.call(this,t,e,n)}function BH(t,e,n){lM(),nq.call(this,t,e,n)}function SH(t,e,n){lM(),nq.call(this,t,e,n)}function LH(t,e,n){lM(),_H.call(this,t,e,n)}function IH(t,e,n){lM(),_H.call(this,t,e,n)}function MH(t,e,n){lM(),IH.call(this,t,e,n)}function OH(t,e,n){lM(),BH.call(this,t,e,n)}function NH(t,e,n){lM(),SH.call(this,t,e,n)}function DH(t,e){return bX(t),bX(e),new cC(t,e)}function FH(t,e){return bX(t),bX(e),new Pj(t,e)}function PH(t,e){return bX(t),bX(e),new Rj(t,e)}function RH(t,e){return bX(t),bX(e),new uC(t,e)}function QH(t,e){return Wj(null==t||Vmt(t,e)),t}function UH(t){var e;return ltt(e=new Mm,t),e}function HH(t){var e;return ltt(e=new Db,t),e}function jH(t){var e;return jit(e=new $b,t),e}function $H(t){var e;return jit(e=new VC,t),e}function KH(t){return!t.e&&(t.e=new Mm),t.e}function GH(t){return!t.c&&(t.c=new Hc),t.c}function zH(t,e){return t.c[t.c.length]=e,!0}function XH(t,e){this.c=t,this.b=e,this.a=!1}function qH(t){this.d=t,kd(this),this.b=nG(t.d)}function VH(){this.a=";,;",this.b="",this.c=""}function WH(t,e,n){KG.call(this,e,n),this.a=t}function YH(t,e,n){this.b=t,AL.call(this,e,n)}function JH(t,e,n){this.c=t,Ex.call(this,e,n)}function ZH(t,e,n){RBt(n,0,t,e,n.length,!1)}function tj(t,e,n,r,i){t.b=e,t.c=n,t.d=r,t.a=i}function ej(t,e){e&&(t.b=e,t.a=(wq(e),e.a))}function nj(t,e,n,r,i){t.d=e,t.c=n,t.a=r,t.b=i}function rj(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function ij(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function aj(t){return oot(Oz(WL(t)?xot(t):t))}function oj(t,e){return wM(o$(t.d),o$(e.d))}function sj(t,e){return e==(yzt(),xSe)?t.c:t.d}function cj(){cj=L,yzt(),Dve=xSe,Fve=oSe}function lj(){this.b=jy(kF(bmt((uPt(),ioe))))}function uj(t){return dE(),O9(Lte,Hqt,1,t,5,1)}function hj(t){return new OB(t.c+t.b,t.d+t.a)}function fj(t,e){return CE(),wM(t.d.p,e.d.p)}function dj(t){return ED(0!=t.b),Let(t,t.a.a)}function Aj(t){return ED(0!=t.b),Let(t,t.c.b)}function pj(t,e){if(!t)throw Um(new Ly(e))}function gj(t,e){if(!t)throw Um(new Py(e))}function mj(t,e,n){d_.call(this,t,e),this.b=n}function bj(t,e,n){IS.call(this,t,e),this.c=n}function vj(t,e,n){fet.call(this,e,n),this.d=t}function yj(t){oQ(),yc.call(this),this.th(t)}function wj(t,e,n){this.a=t,ML.call(this,e,n)}function Tj(t,e,n){this.a=t,ML.call(this,e,n)}function kj(t,e,n){IS.call(this,t,e),this.c=n}function Cj(){D5(),oq.call(this,(zE(),jIe))}function Ej(t){return null!=t&&!zdt(t,LIe,IIe)}function xj(t,e){return(Xht(t)<<4|Xht(e))&VVt}function _j(t,e){return Jq(),Kbt(t,e),new jq(t,e)}function Bj(t,e){var n;t.n&&(n=e,zH(t.f,n))}function Sj(t,e,n){net(t,e,new jX(n))}function Lj(t,e){var n;return n=t.c,Prt(t,e),n}function Ij(t,e){return t.g=e<0?-1:e,t}function Mj(t,e){return Ket(t),t.a*=e,t.b*=e,t}function Oj(t,e,n,r,i){t.c=e,t.d=n,t.b=r,t.a=i}function Nj(t,e){return n5(t,e,t.c.b,t.c),!0}function Dj(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function Fj(t){this.b=t,this.a=uG(this.b.a).Ed()}function Pj(t,e){this.b=t,this.a=e,Qu.call(this)}function Rj(t,e){this.a=t,this.b=e,Qu.call(this)}function Qj(t,e){KG.call(this,e,1040),this.a=t}function Uj(t){return 0==t||isNaN(t)?t:t<0?-1:1}function Hj(t){return kW(),xEt(t)==WJ(SEt(t))}function jj(t){return kW(),SEt(t)==WJ(xEt(t))}function $j(t,e){return WTt(t,new d_(e.a,e.b))}function Kj(t){return!h5(t)&&t.c.i.c==t.d.i.c}function Gj(t){var e;return e=t.n,t.a.b+e.d+e.a}function zj(t){var e;return e=t.n,t.e.b+e.d+e.a}function Xj(t){var e;return e=t.n,t.e.a+e.b+e.c}function qj(t){return dqt(),new oK(0,t)}function Vj(t){return t.a?t.a:tW(t)}function Wj(t){if(!t)throw Um(new Fy(null))}function Yj(){Yj=L,CW(),iOe=new jd(x7t)}function Jj(){Jj=L,new cbt((Zv(),Rte),(ty(),Pte))}function Zj(){Zj=L,Bee=O9(Lee,cVt,19,256,0,1)}function t$(t,e,n,r){aAt.call(this,t,e,n,r,0,0)}function e$(t,e,n){return Xq(t.b,QH(n.b,17),e)}function n$(t,e,n){return Xq(t.b,QH(n.b,17),e)}function r$(t,e){return zH(t,new OB(e.a,e.b))}function i$(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function a$(t){return t.e.c.length+t.g.c.length}function o$(t){return t.e.c.length-t.g.c.length}function s$(t){return t.b.c.length-t.e.c.length}function c$(t){return QZ(),(yzt(),hSe).Hc(t.j)}function l$(t){oQ(),yj.call(this,t),this.a=-1}function u$(t,e){OS.call(this,t,e),this.a=this}function h$(t,e){var n;return(n=mX(t,e)).i=2,n}function f$(t,e){return++t.j,t.Ti(e)}function d$(t,e,n){return t.a=-1,zN(t,e.g,n),t}function A$(t,e,n){PGt(t.a,t.b,t.c,QH(e,202),n)}function p$(t,e){Urt(t,null==e?null:(vq(e),e))}function g$(t,e){Frt(t,null==e?null:(vq(e),e))}function m$(t,e){Frt(t,null==e?null:(vq(e),e))}function b$(t,e,n){return new fR(dq(t).Ie(),n,e)}function v$(t,e,n,r,i,a){return qTt(t,e,n,r,i,0,a)}function y$(){y$=L,wee=O9(kee,cVt,217,256,0,1)}function w$(){w$=L,Iee=O9(Fee,cVt,162,256,0,1)}function T$(){T$=L,Pee=O9(Ree,cVt,184,256,0,1)}function k$(){k$=L,Cee=O9(Eee,cVt,172,128,0,1)}function C$(){tj(this,!1,!1,!1,!1)}function E$(t){zX(),this.a=(CW(),new jd(bX(t)))}function x$(t){for(bX(t);t.Ob();)t.Pb(),t.Qb()}function _$(t){t.a.cd(),QH(t.a.dd(),14).gc(),fw()}function B$(t){this.c=t,this.b=this.c.d.vc().Kc()}function S$(t){this.c=t,this.a=new qC(this.c.a)}function L$(t){this.a=new GC(t.gc()),Qit(this,t)}function I$(t){tA.call(this,new g3),Qit(this,t)}function M$(t,e){return t.a+=Upt(e,0,e.length),t}function O$(t,e){return u1(e,t.c.length),t.c[e]}function N$(t,e){return u1(e,t.a.length),t.a[e]}function D$(t,e){dE(),Q9.call(this,t),this.a=e}function F$(t,e){return wgt(rdt(wgt(t.a).a,e.a))}function P$(t,e){return vq(t),Oat(t,(vq(e),e))}function R$(t,e){return vq(e),Oat(e,(vq(t),t))}function Q$(t,e){return LX(e,0,U$(e[0],wgt(1)))}function U$(t,e){return F$(QH(t,162),QH(e,162))}function H$(t){return t.c-QH(O$(t.a,t.b),287).b}function j$(t){return t.q?t.q:(CW(),CW(),lne)}function $$(t){return t.e.Hd().gc()*t.c.Hd().gc()}function K$(t,e,n){return wM(e.d[t.g],n.d[t.g])}function G$(t,e,n){return wM(t.d[e.p],t.d[n.p])}function z$(t,e,n){return wM(t.d[e.p],t.d[n.p])}function X$(t,e,n){return wM(t.d[e.p],t.d[n.p])}function q$(t,e,n){return wM(t.d[e.p],t.d[n.p])}function V$(t,n,r){return e.Math.min(r/t,1/n)}function W$(t,n){return t?0:e.Math.max(0,n-1)}function Y$(t,e){var n;for(n=0;n<e;++n)t[n]=-1}function J$(t){var e;return(e=okt(t))?J$(e):t}function Z$(t,e){return null==t.a&&dPt(t),t.a[e]}function tK(t){return t.c?t.c.f:t.e.b}function eK(t){return t.c?t.c.g:t.e.a}function nK(t){pet.call(this,t.gc()),pX(this,t)}function rK(t,e){lM(),ym.call(this,e),this.a=t}function iK(t,e,n){this.a=t,LO.call(this,e,n,2)}function aK(t,e,n,r){nj(this,t,e,n,r)}function oK(t,e){dqt(),Sm.call(this,t),this.a=e}function sK(t){this.b=new VC,this.a=t,this.c=-1}function cK(){this.d=new OB(0,0),this.e=new Db}function lK(t){YN.call(this,0,0),this.a=t,this.b=0}function uK(t){this.a=t,this.c=new Om,rct(this)}function hK(t){if(t.e.c!=t.b)throw Um(new gb)}function fK(t){if(t.c.e!=t.a)throw Um(new gb)}function dK(t){return WL(t)?0|t:Tk(t)}function AK(t,e){return dqt(),new Kz(t,e)}function pK(t,e){return null==t?null==e:mR(t,e)}function gK(t,e){return null==t?null==e:bgt(t,e)}function mK(t,e,n){return sit(t.a,e),wz(t,e.g,n)}function bK(t,e,n){nut(0,e,t.length),$8(t,0,e,n)}function vK(t,e,n){IZ(e,t.c.length),kx(t.c,e,n)}function yK(t,e,n){var r;for(r=0;r<e;++r)t[r]=n}function wK(t,e){var n;return Ict(n=Zft(t),e),n}function TK(t,e){return!t&&(t=[]),t[t.length]=e,t}function kK(t,e){return!(void 0===t.a.get(e))}function CK(t,e){return zrt(new tt,new aA(t),e)}function EK(t){return null==t?Cne:new gy(vq(t))}function xK(t,e){return rO(e,22)&&CN(t,QH(e,22))}function _K(t,e){return rO(e,22)&&Iet(t,QH(e,22))}function BK(t){return HMt(t,26)*rYt+HMt(t,27)*iYt}function SK(t){return Array.isArray(t)&&t.im===S}function LK(t){t.b?LK(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function IK(t,e){KP(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function MK(t,e){IK(t,GP(new OB(e.a,e.b),t.c))}function OK(t,e){this.b=new VC,this.a=t,this.c=e}function NK(){this.b=new Se,this.c=new uY(this)}function DK(){this.d=new bt,this.e=new lY(this)}function FK(){FZ(),this.f=new VC,this.e=new VC}function PK(){QZ(),this.k=new Om,this.d=new Db}function RK(){RK=L,hLe=new GI((cqt(),i_e),0)}function QK(){QK=L,jte=new lK(O9(Lte,Hqt,1,0,5,1))}function UK(t,e,n){qIt(n,t,1),zH(e,new r_(n,t))}function HK(t,e,n){Qwt(n,t,1),zH(e,new h_(n,t))}function jK(t,e,n){return Tz(t,new Ox(e.a,n.a))}function $K(t,e,n){return-wM(t.f[e.p],t.f[n.p])}function KK(t,e,n){var r;t&&((r=t.i).c=e,r.b=n)}function GK(t,e,n){var r;t&&((r=t.i).d=e,r.a=n)}function zK(t,e,n){return t.a=-1,zN(t,e.g+1,n),t}function XK(t,e,n){return n=kQt(t,QH(e,49),7,n)}function qK(t,e,n){return n=kQt(t,QH(e,49),3,n)}function VK(t,e,n){this.a=t,IO.call(this,e,n,22)}function WK(t,e,n){this.a=t,IO.call(this,e,n,14)}function YK(t,e,n,r){lM(),M0.call(this,t,e,n,r)}function JK(t,e,n,r){lM(),M0.call(this,t,e,n,r)}function ZK(t,e){0!=(e.Bb&l6t)&&!t.a.o&&(t.a.o=e)}function tG(t){return null!=t&&Nz(t)&&!(t.im===S)}function eG(t){return!Array.isArray(t)&&t.im===S}function nG(t){return rO(t,15)?QH(t,15).Yc():t.Kc()}function rG(t){return t.Qc(O9(Lte,Hqt,1,t.gc(),5,1))}function iG(t,e){return hgt(R7(t,e))?e.Qh():null}function aG(t){t?Qvt(t,(LC(),Uee)):LC()}function oG(t){this.a=(QK(),jte),this.d=QH(bX(t),47)}function sG(t,e,n,r){this.a=t,z6.call(this,t,e,n,r)}function cG(t){tx(),this.a=0,this.b=t-1,this.c=1}function lG(t){XM(this),this.g=t,yW(this),this._d()}function uG(t){return t.c?t.c:t.c=t.Id()}function hG(t){return t.d?t.d:t.d=t.Jd()}function fG(t){return t.c||(t.c=t.Dd())}function dG(t){return t.f||(t.f=t.Dc())}function AG(t){return t.i||(t.i=t.bc())}function pG(t){return dqt(),new gJ(10,t,0)}function gG(t){return WL(t)?""+t:$Ft(t)}function mG(t){if(t.e.j!=t.d)throw Um(new gb)}function bG(t,e){return oot(hxt(WL(t)?xot(t):t,e))}function vG(t,e){return oot(wIt(WL(t)?xot(t):t,e))}function yG(t,e){return oot(Yxt(WL(t)?xot(t):t,e))}function wG(t,e){return hP((vq(t),t),(vq(e),e))}function TG(t,e){return xft((vq(t),t),(vq(e),e))}function kG(t,e){return bX(e),t.a.Ad(e)&&!t.b.Ad(e)}function CG(t,e){return kM(t.l&e.l,t.m&e.m,t.h&e.h)}function EG(t,e){return kM(t.l|e.l,t.m|e.m,t.h|e.h)}function xG(t,e){return kM(t.l^e.l,t.m^e.m,t.h^e.h)}function _G(t,e){return Iht(t,(vq(e),new nA(e)))}function BG(t,e){return Iht(t,(vq(e),new rA(e)))}function SG(t){return pat(),0!=QH(t,11).e.c.length}function LG(t){return pat(),0!=QH(t,11).g.c.length}function IG(t,e){return Bit(),xft(e.a.o.a,t.a.o.a)}function MG(t,e,n){return kzt(t,QH(e,11),QH(n,11))}function OG(t){return t.e?N6(t.e):null}function NG(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function DG(t,e,n){t.a.Mb(n)&&(t.b=!0,e.td(n))}function FG(t,e){if(t<0||t>=e)throw Um(new Cb)}function PG(t,e,n){return LX(e,0,U$(e[0],n[0])),e}function RG(t,e,n){e.Ye(n,jy(kF(DX(t.b,n)))*t.a)}function QG(t,e,n){return wFt(),Dat(t,e)&&Dat(t,n)}function UG(t){return hSt(),!t.Hc(tSe)&&!t.Hc(nSe)}function HG(t){return new OB(t.c+t.b/2,t.d+t.a/2)}function jG(t,e){return e.kh()?tht(t.b,QH(e,49)):e}function $G(t,e){this.e=t,this.d=0!=(64&e)?e|lVt:e}function KG(t,e){this.c=0,this.d=t,this.b=64|e|lVt}function GG(t){this.b=new W6(11),this.a=(EW(),t)}function zG(t){this.b=null,this.a=(EW(),t||fne)}function XG(t){this.a=rbt(t.a),this.b=new ZR(t.b)}function qG(t){this.b=t,rD.call(this,t),kO(this)}function VG(t){this.b=t,aD.call(this,t),CO(this)}function WG(t,e,n){this.a=t,tR.call(this,e,n,5,6)}function YG(t,e,n,r){this.b=t,LO.call(this,e,n,r)}function JG(t,e,n,r,i){v8.call(this,t,e,n,r,i,-1)}function ZG(t,e,n,r,i){y8.call(this,t,e,n,r,i,-1)}function tz(t,e,n,r){LO.call(this,t,e,n),this.b=r}function ez(t,e,n,r){bj.call(this,t,e,n),this.b=r}function nz(t){MS.call(this,t,!1),this.a=!1}function rz(t,e){this.b=t,cf.call(this,t.b),this.a=e}function iz(t,e){zX(),yC.call(this,t,cht(new Wy(e)))}function az(t,e){return dqt(),new rq(t,e,0)}function oz(t,e){return dqt(),new rq(6,t,e)}function sz(t,e){return mR(t.substr(0,e.length),e)}function cz(t,e){return GS(e)?tY(t,e):!!SY(t.f,e)}function lz(t,e){for(vq(e);t.Ob();)e.td(t.Pb())}function uz(t,e,n){SFt(),this.e=t,this.d=e,this.a=n}function hz(t,e,n,r){var i;(i=t.i).i=e,i.a=n,i.b=r}function fz(t){var e;for(e=t;e.f;)e=e.f;return e}function dz(t){var e;return ED(null!=(e=Tct(t))),e}function Az(t){var e;return ED(null!=(e=bft(t))),e}function pz(t,e){var n;return f6(e,n=t.a.gc()),n-e}function gz(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function mz(t,e,n,r){var i;for(i=e;i<n;++i)t[i]=r}function bz(t,e,n,r){nut(e,n,t.length),mz(t,e,n,r)}function vz(t,e,n){FG(n,t.a.c.length),r5(t.a,n,e)}function yz(t,e,n){this.c=t,this.a=e,CW(),this.b=n}function wz(t,e,n){var r;return r=t.b[e],t.b[e]=n,r}function Tz(t,e){return null==t.a.zc(e,t)}function kz(t){if(!t)throw Um(new bb);return t.d}function Cz(t,e){if(null==t)throw Um(new Uy(e))}function Ez(t,e){return!!e&&Qit(t,e)}function xz(t,e,n){return eut(t,e.g,n),sit(t.c,e),t}function _z(t){return CGt(t,(Qht(),P_e)),t.d=!0,t}function Bz(t){return!t.j&&bd(t,QRt(t.g,t.b)),t.j}function Sz(t){kD(-1!=t.b),s6(t.c,t.a=t.b),t.b=-1}function Lz(t){t.f=new tI(t),t.g=new eI(t),oY(t)}function Iz(t){return new D$(null,Hz(t,t.length))}function Mz(t){return new oG(new zO(t.a.length,t.a))}function Oz(t){return kM(~t.l&EWt,~t.m&EWt,~t.h&xWt)}function Nz(t){return typeof t===Lqt||typeof t===Nqt}function Dz(t){return t==FWt?N7t:t==PWt?"-INF":""+t}function Fz(t){return t==FWt?N7t:t==PWt?"-INF":""+t}function Pz(t,n){return t>0?e.Math.log(t/n):-100}function Rz(t,e){return qut(t,e)<0?-1:qut(t,e)>0?1:0}function Qz(t,e,n){return Ejt(t,QH(e,46),QH(n,167))}function Uz(t,e){return QH(fG(uG(t.a)).Xb(e),42).cd()}function Hz(t,e){return get(e,t.length),new Qj(t,e)}function jz(t,e){this.d=t,SO.call(this,t),this.e=e}function $z(t){this.d=(vq(t),t),this.a=0,this.c=fVt}function Kz(t,e){Sm.call(this,1),this.a=t,this.b=e}function Gz(t,e){return t.c?Gz(t.c,e):zH(t.b,e),t}function zz(t,e,n){var r;return r=dtt(t,e),n3(t,e,n),r}function Xz(t,e){return m7(t.slice(0,e),t)}function qz(t,e,n){var r;for(r=0;r<e;++r)LX(t,r,n)}function Vz(t,e,n,r,i){for(;e<n;)r[i++]=lV(t,e++)}function Wz(t,e){return xft(t.c.c+t.c.b,e.c.c+e.c.b)}function Yz(t,e){return null==Cct(t.a,e,(cN(),gee))}function Jz(t,e){n5(t.d,e,t.b.b,t.b),++t.a,t.c=null}function Zz(t,e){WM(t,rO(e,153)?e:QH(e,1937).gl())}function tX(t,e){WC(LV(t.Oc(),new Yi),new _p(e))}function eX(t,e,n,r,i){Okt(t,QH(c6(e.k,n),15),n,r,i)}function nX(t){t.s=NaN,t.c=NaN,JLt(t,t.e),JLt(t,t.j)}function rX(t){t.a=null,t.e=null,Lz(t.b),t.d=0,++t.c}function iX(t){return e.Math.abs(t.d.e-t.e.e)-t.a}function aX(t,e,n){return QH(t.c._c(e,QH(n,133)),42)}function oX(){return ny(),xst(jw(Xte,1),IVt,538,0,[Kte])}function sX(t){return kW(),WJ(xEt(t))==WJ(SEt(t))}function cX(t){LP.call(this),this.a=t,zH(t.a,this)}function lX(t,e){this.d=Eft(t),this.c=e,this.a=.5*e}function uX(){g3.call(this),this.a=!0,this.b=!0}function hX(t){return(null==t.i&&jUt(t),t.i).length}function fX(t){return rO(t,99)&&0!=(QH(t,18).Bb&l6t)}function dX(t,e){++t.j,cCt(t,t.i,e),KSt(t,QH(e,332))}function AX(t,e){return e=t.nk(null,e),ICt(t,null,e)}function pX(t,e){return t.hi()&&(e=JJ(t,e)),t.Wh(e)}function gX(t,e,n){var r;return Vnt(n,r=mX(t,e)),r}function mX(t,e){var n;return(n=new gct).j=t,n.d=e,n}function bX(t){if(null==t)throw Um(new Ab);return t}function vX(t){return t.j||(t.j=new ff(t))}function yX(t){return t.f||(t.f=new KO(t))}function wX(t){return t.k||(t.k=new qh(t))}function TX(t){return t.k||(t.k=new qh(t))}function kX(t){return t.g||(t.g=new Xh(t))}function CX(t){return t.i||(t.i=new Yh(t))}function EX(t){return t.d||(t.d=new tf(t))}function xX(t){return bX(t),rO(t,475)?QH(t,475):Udt(t)}function _X(t){return rO(t,607)?t:new hJ(t)}function BX(t,e){return f2(e,t.c.b.c.gc()),new sC(t,e)}function SX(t,e,n){return dqt(),new T0(t,e,n)}function LX(t,e,n){return CD(null==n||VQt(t,n)),t[e]=n}function IX(t,e){var n;return f2(e,n=t.a.gc()),n-1-e}function MX(t,e){return t.a+=String.fromCharCode(e),t}function OX(t,e){return t.a+=String.fromCharCode(e),t}function NX(t,e){for(vq(e);t.c<t.d;)t.ze(e,t.c++)}function DX(t,e){return GS(e)?CJ(t,e):HS(SY(t.f,e))}function FX(t,e){return kW(),t==xEt(e)?SEt(e):xEt(e)}function PX(t,e){JX(t,new jX(null!=e.f?e.f:""+e.g))}function RX(t,e){JX(t,new jX(null!=e.f?e.f:""+e.g))}function QX(t){this.b=new Mm,this.a=new Mm,this.c=t}function UX(t){this.c=new jT,this.a=new Mm,this.b=t}function HX(t){LP.call(this),this.a=new jT,this.c=t}function jX(t){if(null==t)throw Um(new Ab);this.a=t}function $X(t){kb(),this.b=new Mm,this.a=t,mKt(this,t)}function KX(t){this.c=t,this.a=new VC,this.b=new VC}function GX(){GX=L,see=new kf(!1),cee=new kf(!0)}function zX(){zX=L,sQ(),Qte=new CY((CW(),CW(),cne))}function XX(){XX=L,sQ(),qte=new gx((CW(),CW(),une))}function qX(){qX=L,JIe=$St(),pqt(),tMe&&Fwt()}function VX(t,e){return Bit(),QH(oV(t,e.d),15).Fc(e)}function WX(t,e,n,r){return 0==n||(n-r)/n<t.e||e>=t.g}function YX(t,e,n){return OPt(t,vit(t,e,n))}function JX(t,e){var n;dtt(t,n=t.a.length),n3(t,n,e)}function ZX(t,e){console[t].call(console,e)}function tq(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e))}function eq(t,e,n){QH(e.b,65),Set(e.a,new wH(t,n,e))}function nq(t,e,n){ym.call(this,e),this.a=t,this.b=n}function rq(t,e,n){Sm.call(this,t),this.a=e,this.b=n}function iq(t,e,n){this.a=t,vm.call(this,e),this.b=n}function aq(t,e,n){this.a=t,U2.call(this,8,e,null,n)}function oq(t){this.a=(vq(R8t),R8t),this.b=t,new Mv}function sq(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function cq(t){this.c=t,this.b=t.a.d.a,hF(t.a.e,this)}function lq(t){kD(-1!=t.c),t.d.$c(t.c),t.b=t.c,t.c=-1}function uq(t){return e.Math.sqrt(t.a*t.a+t.b*t.b)}function hq(t,e){return FG(e,t.a.c.length),O$(t.a,e)}function fq(t,e){return jS(t)===jS(e)||null!=t&&Oht(t,e)}function dq(t){return 0>=t?new XC:Xrt(t-1)}function Aq(t){return!!kNe&&tY(kNe,t)}function pq(t){return t?t.dc():!t.Kc().Ob()}function gq(t){return!t.a&&t.c?t.c.b:t.a}function mq(t){return!t.a&&(t.a=new LO(LLe,t,4)),t.a}function bq(t){return!t.d&&(t.d=new LO(zIe,t,1)),t.d}function vq(t){if(null==t)throw Um(new Ab);return t}function yq(t){t.c?t.c.He():(t.d=!0,VNt(t))}function wq(t){t.c?wq(t.c):(Vft(t),t.d=!0)}function Tq(t){TV(t.a),t.b=O9(Lte,Hqt,1,t.b.length,5,1)}function kq(t,e){return wM(e.j.c.length,t.j.c.length)}function Cq(t,e){t.c<0||t.b.b<t.c?lL(t.b,e):t.a._e(e)}function Eq(t,e){var n;(n=t.Yg(e))>=0?t.Bh(n):iSt(t,e)}function xq(t){return t.c.i.c==t.d.i.c}function _q(t){if(4!=t.p)throw Um(new db);return t.e}function Bq(t){if(3!=t.p)throw Um(new db);return t.e}function Sq(t){if(6!=t.p)throw Um(new db);return t.f}function Lq(t){if(6!=t.p)throw Um(new db);return t.k}function Iq(t){if(3!=t.p)throw Um(new db);return t.j}function Mq(t){if(4!=t.p)throw Um(new db);return t.j}function Oq(t){return!t.b&&(t.b=new Tm(new Ov)),t.b}function Nq(t){return-2==t.c&&Ad(t,oEt(t.g,t.b)),t.c}function Dq(t,e){var n;return(n=mX("",t)).n=e,n.i=1,n}function Fq(t,e){IK(QH(e.b,65),t),Set(e.a,new SA(t))}function Pq(t,e){l8((!t.a&&(t.a=new oP(t,t)),t.a),e)}function Rq(t,e){this.b=t,jz.call(this,t,e),kO(this)}function Qq(t,e){this.b=t,DR.call(this,t,e),CO(this)}function Uq(t,e,n,r){gC.call(this,t,e),this.d=n,this.a=r}function Hq(t,e,n,r){gC.call(this,t,n),this.a=e,this.f=r}function jq(t,e){zM.call(this,qrt(bX(t),bX(e))),this.a=e}function $q(){AEt.call(this,E7t,(nk(),fOe)),X$t(this)}function Kq(){AEt.call(this,q8t,(ek(),YIe)),Sjt(this)}function Gq(){AC.call(this,"DELAUNAY_TRIANGULATION",0)}function zq(t){return String.fromCharCode.apply(null,t)}function Xq(t,e,n){return GS(e)?mZ(t,e,n):wBt(t.f,e,n)}function qq(t){return CW(),t?t.ve():(EW(),EW(),Ane)}function Vq(t,e,n){return Ost(),n.pg(t,QH(e.cd(),146))}function Wq(t,e){return Jj(),new cbt(new nN(t),new eN(e))}function Yq(t){return hrt(t,OVt),Ztt(rdt(rdt(5,t),t/10|0))}function Jq(){Jq=L,Ute=new cy(xst(jw(Hte,1),yVt,42,0,[]))}function Zq(t){return!t.d&&(t.d=new Ud(t.c.Cc())),t.d}function tV(t){return!t.a&&(t.a=new Iw(t.c.vc())),t.a}function eV(t){return!t.b&&(t.b=new Sw(t.c.ec())),t.b}function nV(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function rV(t,e){return jS(t)===jS(e)||null!=t&&Oht(t,e)}function iV(t,e){return cN(),QH(e.b,19).a<t}function aV(t,e){return cN(),QH(e.a,19).a<t}function oV(t,e){return xK(t.a,e)?t.b[QH(e,22).g]:null}function sV(t,e,n,r){t.a=lD(t.a,0,e)+""+r+JS(t.a,n)}function cV(t,e){t.u.Hc((hSt(),tSe))&&xSt(t,e),$6(t,e)}function lV(t,e){return h1(e,t.length),t.charCodeAt(e)}function uV(){dy.call(this,"There is no more element.")}function hV(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function fV(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function dV(t,e,n,r){return Fat(t,e,n,!1),Jht(t,r),t}function AV(t){return t.j.c=O9(Lte,Hqt,1,0,5,1),t.a=-1,t}function pV(t){return!t.c&&(t.c=new cR(DLe,t,5,8)),t.c}function gV(t){return!t.b&&(t.b=new cR(DLe,t,4,7)),t.b}function mV(t){return!t.n&&(t.n=new tz(jLe,t,1,7)),t.n}function bV(t){return!t.c&&(t.c=new tz(KLe,t,9,9)),t.c}function vV(t){return t.e==_7t&&gd(t,kgt(t.g,t.b)),t.e}function yV(t){return t.f==_7t&&md(t,gwt(t.g,t.b)),t.f}function wV(t){var e;return!(e=t.b)&&(t.b=e=new Vh(t)),e}function TV(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function kV(t){if(Kdt(t.d),t.d.d!=t.c)throw Um(new gb)}function CV(t,e){this.b=t,this.c=e,this.a=new qC(this.b)}function EV(t,e,n){this.a=zVt,this.d=t,this.b=e,this.c=n}function xV(t,e){this.d=(vq(t),t),this.a=16449,this.c=e}function _V(t,e){Yft(t,jy(Fnt(e,"x")),jy(Fnt(e,"y")))}function BV(t,e){Yft(t,jy(Fnt(e,"x")),jy(Fnt(e,"y")))}function SV(t,e){return Vft(t),new D$(t,new q8(e,t.a))}function LV(t,e){return Vft(t),new D$(t,new k6(e,t.a))}function IV(t,e){return Vft(t),new SF(t,new w6(e,t.a))}function MV(t,e){return Vft(t),new LF(t,new T6(e,t.a))}function OV(t,e){return new pY(QH(bX(t),62),QH(bX(e),62))}function NV(t,e){return yE(),xft((vq(t),t),(vq(e),e))}function DV(){return fE(),xst(jw(Eae,1),IVt,481,0,[nae])}function FV(){return xE(),xst(jw(Vke,1),IVt,482,0,[Gke])}function PV(){return _E(),xst(jw(Zke,1),IVt,551,0,[qke])}function RV(){return BE(),xst(jw(XCe,1),IVt,530,0,[jCe])}function QV(t){this.a=new Mm,this.e=O9(BNe,cVt,48,t,0,2)}function UV(t,e,n,r){this.a=t,this.e=e,this.d=n,this.c=r}function HV(t,e,n,r){this.a=t,this.c=e,this.b=n,this.d=r}function jV(t,e,n,r){this.c=t,this.b=e,this.a=n,this.d=r}function $V(t,e,n,r){this.c=t,this.b=e,this.d=n,this.a=r}function KV(t,e,n,r){this.c=t,this.d=e,this.b=n,this.a=r}function GV(t,e,n,r){this.a=t,this.d=e,this.c=n,this.b=r}function zV(t,e,n,r){AC.call(this,t,e),this.a=n,this.b=r}function XV(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function qV(t,e,n){Tjt(t.a,n),Zot(n),LIt(t.b,n),r$t(e,n)}function VV(t,e,n){var r;return r=Izt(t),e.Kh(n,r)}function WV(t,e){var n,r;return(n=t/e)>(r=xJ(n))&&++r,r}function YV(t){var e;return int(e=new Fm,t),e}function JV(t){var e;return DEt(e=new Fm,t),e}function ZV(t,e){return Pat(e,DX(t.f,e)),null}function tW(t){return Wrt(t)||null}function eW(t){return!t.b&&(t.b=new tz(FLe,t,12,3)),t.b}function nW(t){return null!=t&&OC(vIe,t.toLowerCase())}function rW(t,e){return xft(eK(t)*tK(t),eK(e)*tK(e))}function iW(t,e){return xft(eK(t)*tK(t),eK(e)*tK(e))}function aW(t,e){return xft(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function oW(t,e){return xft(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function sW(t,e,n){n.a?_nt(t,e.b-t.f/2):xnt(t,e.a-t.g/2)}function cW(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function lW(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function uW(t,e,n,r){this.e=t,this.a=e,this.c=n,this.d=r}function hW(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function fW(t,e,n,r){lM(),t6.call(this,e,n,r),this.a=t}function dW(t,e,n,r){lM(),t6.call(this,e,n,r),this.a=t}function AW(t,e){this.a=t,BF.call(this,t,QH(t.d,15).Zc(e))}function pW(t){this.f=t,this.c=this.f.e,t.f>0&&oTt(this)}function gW(t,e,n,r){this.b=t,this.c=r,gL.call(this,e,n)}function mW(t){return ED(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function bW(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function vW(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function yW(t){return t.n&&(t.e!==QVt&&t._d(),t.j=null),t}function wW(t){return Wj(null==t||Nz(t)&&!(t.im===S)),t}function TW(t){this.b=new Mm,pst(this.b,this.b),this.a=t}function kW(){kW=L,Cae=new Mm,kae=new Om,Tae=new Mm}function CW(){CW=L,cne=new x,lne=new B,une=new E}function EW(){EW=L,fne=new P,dne=new P,Ane=new R}function xW(){xW=L,cre=new pt,ure=new DK,lre=new gt}function _W(){256==ire&&(ere=nre,nre=new i,ire=0),++ire}function BW(t){return t.f||(t.f=new pC(t,t.c))}function SW(t){return VSt(t)&&Hy(TF(JIt(t,(HXt(),dge))))}function LW(t,e){return YSt(t,QH(bEt(e,(HXt(),zge)),19),e)}function IW(t,e){return kht(t.j,e.s,e.c)+kht(e.e,t.s,t.c)}function MW(t,e){t.e&&!t.e.a&&(Rm(t.e,e),MW(t.e,e))}function OW(t,e){t.d&&!t.d.a&&(Rm(t.d,e),OW(t.d,e))}function NW(t,e){return-xft(eK(t)*tK(t),eK(e)*tK(e))}function DW(t){return QH(t.cd(),146).tg()+":"+Udt(t.dd())}function FW(t){var e;jQ(),(e=QH(t.g,10)).n.a=t.d.c+e.d.b}function PW(t,e,n){return kE(),Ndt(QH(DX(t.e,e),522),n)}function RW(t,e){return tlt(t),tlt(e),Ey(QH(t,22),QH(e,22))}function QW(t,e,n){t.i=0,t.e=0,e!=n&&zct(t,e,n)}function UW(t,e,n){t.i=0,t.e=0,e!=n&&Xct(t,e,n)}function HW(t,e,n){net(t,e,new Cf(GR(n)))}function jW(t,e,n,r,i,a){y8.call(this,t,e,n,r,i,a?-2:-1)}function $W(t,e,n,r){IS.call(this,e,n),this.b=t,this.a=r}function KW(t,e){new VC,this.a=new vv,this.b=t,this.c=e}function GW(t,e){return QH(bEt(t,(lqt(),rfe)),15).Fc(e),e}function zW(t,e){if(null==t)throw Um(new Uy(e));return t}function XW(t){return!t.q&&(t.q=new tz(XIe,t,11,10)),t.q}function qW(t){return!t.s&&(t.s=new tz(PIe,t,21,17)),t.s}function VW(t){return!t.a&&(t.a=new tz($Le,t,10,11)),t.a}function WW(t){return rO(t,14)?new L$(QH(t,14)):HH(t.Kc())}function YW(t){return new HO(t,t.e.Hd().gc()*t.c.Hd().gc())}function JW(t){return new jO(t,t.e.Hd().gc()*t.c.Hd().gc())}function ZW(t){return t&&t.hashCode?t.hashCode():EN(t)}function tY(t,e){return null==e?!!SY(t.f,null):kK(t.g,e)}function eY(t){return bX(t),evt(new oG(YO(t.a.Kc(),new u)))}function nY(t){return CW(),rO(t,54)?new Lw(t):new hN(t)}function rY(t,e,n){return!!t.f&&t.f.Ne(e,n)}function iY(t,e){return t.a=lD(t.a,0,e)+""+JS(t.a,e+1),t}function aY(t,e){var n;return(n=tO(t.a,e))&&(e.d=null),n}function oY(t){var e,n;e=0|(n=t).$modCount,n.$modCount=e+1}function sY(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function cY(t){this.b=t,this.a=new dk(QH(bX(new te),62))}function lY(t){this.c=t,this.b=new dk(QH(bX(new mt),62))}function uY(t){this.c=t,this.b=new dk(QH(bX(new Be),62))}function hY(){this.a=new qb,this.b=new cv,this.d=new De}function fY(){this.a=new vv,this.b=(hrt(3,LVt),new W6(3))}function dY(){this.b=new Db,this.d=new VC,this.e=new ov}function AY(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function pY(t,e){$v.call(this,new zG(t)),this.a=t,this.b=e}function gY(){nxt(this,new Nh),this.wb=(qX(),JIe),ek()}function mY(t){SCt(t,"No crossing minimization",1),Hxt(t)}function bY(t){Nw(),e.setTimeout((function(){throw t}),0)}function vY(t){return t.u||(E5(t),t.u=new aP(t,t)),t.u}function yY(t){return QH(vot(t,16),26)||t.zh()}function wY(t,e){return rO(e,146)&&mR(t.b,QH(e,146).tg())}function TY(t,e){return t.a?e.Wg().Kc():QH(e.Wg(),69).Zh()}function kY(t){return t.k==(oxt(),xse)&&ID(t,(lqt(),$he))}function CY(t){this.a=(CW(),rO(t,54)?new Lw(t):new hN(t))}function EY(){var t,e;EY=L,e=!Dpt(),t=new p,eee=e?new k:t}function xY(t,e){var n;return n=JT(t.gm),null==e?n:n+": "+e}function _Y(t,e){var n;return y3(n=t.b.Qc(e),t.b.gc()),n}function BY(t,e){if(null==t)throw Um(new Uy(e));return t}function SY(t,e){return lut(t,e,pZ(t,null==e?0:t.b.se(e)))}function LY(t,e,n){return n>=0&&mR(t.substr(n,e.length),e)}function IY(t,e,n,r,i,a,o){return new h3(t.e,e,n,r,i,a,o)}function MY(t,e,n,r,i,a){this.a=t,yrt.call(this,e,n,r,i,a)}function OY(t,e,n,r,i,a){this.a=t,yrt.call(this,e,n,r,i,a)}function NY(t,e){this.g=t,this.d=xst(jw(Bse,1),a1t,10,0,[e])}function DY(t,e){this.e=t,this.a=Lte,this.b=LPt(e),this.c=e}function FY(t,e){MP.call(this),Net(this),this.a=t,this.c=e}function PY(t,e,n,r){LX(t.c[e.g],n.g,r),LX(t.c[n.g],e.g,r)}function RY(t,e,n,r){LX(t.c[e.g],e.g,n),LX(t.b[e.g],e.g,r)}function QY(){return S6(),xst(jw(rve,1),IVt,376,0,[Ybe,Wbe])}function UY(){return A7(),xst(jw(Yue,1),IVt,479,0,[jue,Hue])}function HY(){return Ptt(),xst(jw(Iue,1),IVt,419,0,[Cue,Eue])}function jY(){return X9(),xst(jw(uue,1),IVt,422,0,[rue,iue])}function $Y(){return $2(),xst(jw(jfe,1),IVt,420,0,[She,Lhe])}function KY(){return K7(),xst(jw($be,1),IVt,421,0,[Fbe,Pbe])}function GY(){return q3(),xst(jw(Xve,1),IVt,523,0,[Uve,Qve])}function zY(){return B6(),xst(jw(Oye,1),IVt,520,0,[kye,Tye])}function XY(){return AJ(),xst(jw(iye,1),IVt,516,0,[Zve,Jve])}function qY(){return oZ(),xst(jw(Cye,1),IVt,515,0,[nye,rye])}function VY(){return dJ(),xst(jw(Qye,1),IVt,455,0,[Iye,Mye])}function WY(){return Q0(),xst(jw(Wwe,1),IVt,425,0,[Uwe,Qwe])}function YY(){return sZ(),xst(jw(Hwe,1),IVt,480,0,[Dwe,Fwe])}function JY(){return xit(),xst(jw(eTe,1),IVt,495,0,[qwe,Vwe])}function ZY(){return N8(),xst(jw(uTe,1),IVt,426,0,[rTe,iTe])}function tJ(){return Mst(),xst(jw(VCe,1),IVt,429,0,[zCe,GCe])}function eJ(){return L6(),xst(jw(oCe,1),IVt,430,0,[Jke,Yke])}function nJ(){return lmt(),xst(jw(bre,1),IVt,428,0,[dre,fre])}function rJ(){return Dtt(),xst(jw(Fre,1),IVt,427,0,[gre,mre])}function iJ(){return Ftt(),xst(jw(Loe,1),IVt,424,0,[Nae,Dae])}function aJ(){return Eit(),xst(jw(zse,1),IVt,511,0,[Hse,Use])}function oJ(t,e,n,r){return n>=0?t.jh(e,n,r):t.Sg(null,n,r)}function sJ(t){return 0==t.b.b?t.a.$e():dj(t.b)}function cJ(t){if(5!=t.p)throw Um(new db);return dK(t.f)}function lJ(t){if(5!=t.p)throw Um(new db);return dK(t.k)}function uJ(t){return jS(t.a)===jS((dat(),xMe))&&F$t(t),t.a}function hJ(t){this.a=QH(bX(t),271),this.b=(CW(),new dN(t))}function fJ(t,e){Yf(this,new OB(t.a,t.b)),Jf(this,$H(e))}function dJ(){dJ=L,Iye=new oB(iJt,0),Mye=new oB(aJt,1)}function AJ(){AJ=L,Zve=new rB(aJt,0),Jve=new rB(iJt,1)}function pJ(){iy.call(this,new GC(tet(12))),iN(!0),this.a=2}function gJ(t,e,n){dqt(),Sm.call(this,t),this.b=e,this.a=n}function mJ(t,e,n){lM(),ym.call(this,e),this.a=t,this.b=n}function bJ(t){MP.call(this),Net(this),this.a=t,this.c=!0}function vJ(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function yJ(t){grt(t.a),DI(t.a),tAt(new EA(t.a))}function wJ(t,e){sPt(t,!0),Set(t.e.wf(),new LQ(t,!0,e))}function TJ(t,e){return r3(e),Wnt(t,O9(BNe,lWt,25,e,15,1),e)}function kJ(t,e){return kW(),t==WJ(xEt(e))||t==WJ(SEt(e))}function CJ(t,e){return null==e?HS(SY(t.f,null)):cx(t.g,e)}function EJ(t){return 0==t.b?null:(ED(0!=t.b),Let(t,t.a.a))}function xJ(t){return 0|Math.max(Math.min(t,Dqt),-2147483648)}function _J(t,e){var n=Jte[t.charCodeAt(0)];return null==n?t:n}function BJ(t,e){return zW(t,"set1"),zW(e,"set2"),new wC(t,e)}function SJ(t,e){return KP(HD(Zet(t.f,e)),t.f.d)}function LJ(t,e){var n;return WKt(t,e,n=new $),n.d}function IJ(t,e,n,r){var i;i=new RP,e.a[n.g]=i,mK(t.b,r,i)}function MJ(t,e,n){var r;(r=t.Yg(e))>=0?t.sh(r,n):kOt(t,e,n)}function OJ(t,e,n){cZ(),t&&Xq(oIe,t,e),t&&Xq(aIe,t,n)}function NJ(t,e,n){this.i=new Mm,this.b=t,this.g=e,this.a=n}function DJ(t,e,n){this.c=new Mm,this.e=t,this.f=e,this.b=n}function FJ(t,e,n){this.a=new Mm,this.e=t,this.f=e,this.c=n}function PJ(t,e){XM(this),this.f=e,this.g=t,yW(this),this._d()}function RJ(t,e){var n;n=t.q.getHours(),t.q.setDate(e),hHt(t,n)}function QJ(t,e){var n;for(bX(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function UJ(t){var e;return Ict(e=new hk(tet(t.length)),t),e}function HJ(t){function e(){}return e.prototype=t||{},new e}function jJ(t,e){return!!dst(t,e)&&(ert(t),!0)}function $J(t,e){if(null==e)throw Um(new Ab);return ogt(t,e)}function KJ(t){if(t.qe())return null;var e=t.n;return Eqt[e]}function GJ(t){return t.Db>>16!=3?null:QH(t.Cb,33)}function zJ(t){return t.Db>>16!=9?null:QH(t.Cb,33)}function XJ(t){return t.Db>>16!=6?null:QH(t.Cb,79)}function qJ(t){return t.Db>>16!=7?null:QH(t.Cb,235)}function VJ(t){return t.Db>>16!=7?null:QH(t.Cb,160)}function WJ(t){return t.Db>>16!=11?null:QH(t.Cb,33)}function YJ(t,e){var n;return(n=t.Yg(e))>=0?t.lh(n):jSt(t,e)}function JJ(t,e){var n;return sEt(n=new I$(e),t),new ZR(n)}function ZJ(t){var e;return e=t.d,e=t.si(t.f),l8(t,e),e.Ob()}function tZ(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function eZ(t,n){return e.Math.abs(t)<e.Math.abs(n)?t:n}function nZ(t){return!t.a&&(t.a=new tz($Le,t,10,11)),t.a.i>0}function rZ(){this.a=new lI,this.e=new Db,this.g=0,this.i=0}function iZ(t){this.a=t,this.b=O9(Pve,cVt,1944,t.e.length,0,2)}function aZ(t,e,n){var r;r=Oct(t,e,n),t.b=new bit(r.c.length)}function oZ(){oZ=L,nye=new nB(gJt,0),rye=new nB("UP",1)}function sZ(){sZ=L,Dwe=new hB(G4t,0),Fwe=new hB("FAN",1)}function cZ(){cZ=L,oIe=new Om,aIe=new Om,RS(bne,new pc)}function lZ(t){if(0!=t.p)throw Um(new db);return WS(t.f,0)}function uZ(t){if(0!=t.p)throw Um(new db);return WS(t.k,0)}function hZ(t){return t.Db>>16!=3?null:QH(t.Cb,147)}function fZ(t){return t.Db>>16!=6?null:QH(t.Cb,235)}function dZ(t){return t.Db>>16!=17?null:QH(t.Cb,26)}function AZ(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function pZ(t,e){var n;return null==(n=t.a.get(e))?new Array:n}function gZ(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),hHt(t,n)}function mZ(t,e,n){return null==e?wBt(t.f,null,n):odt(t.g,e,n)}function bZ(t,e,n,r,i,a){return new M7(t.e,e,t.aj(),n,r,i,a)}function vZ(t,e,n){return t.a=lD(t.a,0,e)+""+n+JS(t.a,e),t}function yZ(t,e,n){return zH(t.a,(Jq(),Kbt(e,n),new gC(e,n))),t}function wZ(t){return oN(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function TZ(t){return oN(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function kZ(t,e){t.d&&b7(t.d.e,t),t.d=e,t.d&&zH(t.d.e,t)}function CZ(t,e){t.c&&b7(t.c.g,t),t.c=e,t.c&&zH(t.c.g,t)}function EZ(t,e){t.c&&b7(t.c.a,t),t.c=e,t.c&&zH(t.c.a,t)}function xZ(t,e){t.i&&b7(t.i.j,t),t.i=e,t.i&&zH(t.i.j,t)}function _Z(t,e,n){this.a=e,this.c=t,this.b=(bX(n),new ZR(n))}function BZ(t,e,n){this.a=e,this.c=t,this.b=(bX(n),new ZR(n))}function SZ(t,e){this.a=t,this.c=QM(this.a),this.b=new AY(e)}function LZ(t){return Vft(t),SV(t,new gA(new Db))}function IZ(t,e){if(t<0||t>e)throw Um(new Sy(wYt+t+TYt+e))}function MZ(t,e){return _K(t.a,e)?wz(t,QH(e,22).g,null):null}function OZ(t){return Eut(),cN(),0!=QH(t.a,81).d.e}function NZ(){NZ=L,zte=hut((ny(),xst(jw(Xte,1),IVt,538,0,[Kte])))}function DZ(){DZ=L,pve=zK(new Q2,(vEt(),Qoe),(hqt(),Hce))}function FZ(){FZ=L,gve=zK(new Q2,(vEt(),Qoe),(hqt(),Hce))}function PZ(){PZ=L,bve=zK(new Q2,(vEt(),Qoe),(hqt(),Hce))}function RZ(){RZ=L,$ve=d$(new Q2,(vEt(),Qoe),(hqt(),dce))}function QZ(){QZ=L,qve=d$(new Q2,(vEt(),Qoe),(hqt(),dce))}function UZ(){UZ=L,Yve=d$(new Q2,(vEt(),Qoe),(hqt(),dce))}function HZ(){HZ=L,oye=d$(new Q2,(vEt(),Qoe),(hqt(),dce))}function jZ(){jZ=L,$we=zK(new Q2,(Kyt(),Rye),(D_t(),$ye))}function $Z(t,e,n,r){this.c=t,this.d=r,zZ(this,e),XZ(this,n)}function KZ(t){this.c=new VC,this.b=t.b,this.d=t.c,this.a=t.a}function GZ(t){this.a=e.Math.cos(t),this.b=e.Math.sin(t)}function zZ(t,e){t.a&&b7(t.a.k,t),t.a=e,t.a&&zH(t.a.k,t)}function XZ(t,e){t.b&&b7(t.b.f,t),t.b=e,t.b&&zH(t.b.f,t)}function qZ(t,e){eq(t,t.b,t.c),QH(t.b.b,65),e&&QH(e.b,65).b}function VZ(t,e){Kft(t,e),rO(t.Cb,88)&&LBt(E5(QH(t.Cb,88)),2)}function WZ(t,e){rO(t.Cb,88)&&LBt(E5(QH(t.Cb,88)),4),Oit(t,e)}function YZ(t,e){rO(t.Cb,179)&&(QH(t.Cb,179).tb=null),Oit(t,e)}function JZ(t,e){return YE(),ctt(e)?new u$(e,t):new OS(e,t)}function ZZ(t,e){null!=e.c&&JX(t,new jX(e.c))}function t1(t){var e;return ek(),int(e=new Fm,t),e}function e1(t){var e;return ek(),int(e=new Fm,t),e}function n1(t,e){var n;return n=new UX(t),e.c[e.c.length]=n,n}function r1(t,e){var n;return(n=QH(hht(BW(t.a),e),14))?n.gc():0}function i1(t){return Vft(t),EW(),EW(),vet(t,dne)}function a1(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function o1(t,e){Kv.call(this,new GC(tet(t))),hrt(e,sVt),this.a=e}function s1(t,e,n){Hht(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function c1(t,e,n){var r;Hht(e,n,t.c.length),r=n-e,Ek(t.c,e,r)}function l1(t,e){cO(t,dK(t0(vG(e,24),cYt)),dK(t0(e,cYt)))}function u1(t,e){if(t<0||t>=e)throw Um(new Sy(wYt+t+TYt+e))}function h1(t,e){if(t<0||t>=e)throw Um(new Bw(wYt+t+TYt+e))}function f1(t,e){this.b=(vq(t),t),this.a=0==(e&RWt)?64|e|lVt:e}function d1(t){NI(this),Eb(this.a,yct(e.Math.max(8,t))<<1)}function A1(t){return Lct(xst(jw(EEe,1),cVt,8,0,[t.i.n,t.n,t.a]))}function p1(){return jlt(),xst(jw(Jne,1),IVt,132,0,[$ne,Kne,Gne])}function g1(){return Det(),xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])}function m1(){return W8(),xst(jw(tie,1),IVt,461,0,[Vre,qre,Wre])}function b1(){return j7(),xst(jw(Bie,1),IVt,462,0,[rie,nie,eie])}function v1(){return Uht(),xst(jw(mse,1),IVt,423,0,[fse,hse,use])}function y1(){return H7(),xst(jw(Uoe,1),IVt,379,0,[Boe,_oe,Soe])}function w1(){return Cut(),xst(jw(fbe,1),IVt,378,0,[rbe,ibe,abe])}function T1(){return Srt(),xst(jw(pue,1),IVt,314,0,[cue,sue,lue])}function k1(){return ort(),xst(jw(Tue,1),IVt,337,0,[fue,Aue,due])}function C1(){return Yst(),xst(jw(Que,1),IVt,450,0,[Sue,Bue,Lue])}function E1(){return _it(),xst(jw(zle,1),IVt,361,0,[Dle,Nle,Ole])}function x1(){return $7(),xst(jw(Ihe,1),IVt,303,0,[Ehe,xhe,Che])}function _1(){return Pot(),xst(jw(_he,1),IVt,292,0,[yhe,whe,vhe])}function B1(){return art(),xst(jw(qbe,1),IVt,452,0,[jbe,Ube,Hbe])}function S1(){return bct(),xst(jw(Rbe,1),IVt,339,0,[Mbe,Ibe,Obe])}function L1(){return Hat(),xst(jw(Jbe,1),IVt,375,0,[Gbe,zbe,Xbe])}function I1(){return Ist(),xst(jw(Cve,1),IVt,377,0,[hve,fve,uve])}function M1(){return Glt(),xst(jw(cve,1),IVt,336,0,[tve,eve,nve])}function O1(){return Aat(),xst(jw(dve,1),IVt,338,0,[sve,ave,ove])}function N1(){return srt(),xst(jw(Ove,1),IVt,454,0,[Bve,Sve,Lve])}function D1(){return _dt(),xst(jw(aTe,1),IVt,442,0,[tTe,Jwe,Zwe])}function F1(){return Hlt(),xst(jw(jTe,1),IVt,380,0,[sTe,cTe,lTe])}function P1(){return Edt(),xst(jw(Mke,1),IVt,381,0,[YTe,JTe,WTe])}function R1(){return Uat(),xst(jw(VTe,1),IVt,293,0,[GTe,zTe,KTe])}function Q1(){return xdt(),xst(jw(zke,1),IVt,437,0,[Uke,Hke,jke])}function U1(){return oht(),xst(jw(CBe,1),IVt,334,0,[gBe,pBe,mBe])}function H1(){return Fet(),xst(jw(J_e,1),IVt,272,0,[$_e,K_e,G_e])}function j1(t,e){return yMt(t,e,rO(e,99)&&0!=(QH(e,18).Bb&UWt))}function $1(t,e,n){var r;return(r=ijt(t,e,!1)).b<=e&&r.a<=n}function K1(t,e,n){var r;(r=new ao).b=e,r.a=n,++e.b,zH(t.d,r)}function G1(t,e){var n;return TD(!!(n=(vq(t),t).g)),vq(e),n(e)}function z1(t,e){var n,r;return r=pz(t,e),n=t.a.Zc(r),new vC(t,n)}function X1(t){return t.Db>>16!=6?null:QH(iIt(t),235)}function q1(t){if(2!=t.p)throw Um(new db);return dK(t.f)&VVt}function V1(t){if(2!=t.p)throw Um(new db);return dK(t.k)&VVt}function W1(t){return t.a==(D5(),ZMe)&&dd(t,eOt(t.g,t.b)),t.a}function Y1(t){return t.d==(D5(),ZMe)&&pd(t,ORt(t.g,t.b)),t.d}function J1(t){return ED(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function Z1(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function t0(t,e){return oot(CG(WL(t)?xot(t):t,WL(e)?xot(e):e))}function e0(t,e){return oot(EG(WL(t)?xot(t):t,WL(e)?xot(e):e))}function n0(t,e){return oot(xG(WL(t)?xot(t):t,WL(e)?xot(e):e))}function r0(t){return rdt(bG(uot(HMt(t,32)),32),uot(HMt(t,32)))}function i0(t){return bX(t),rO(t,14)?new ZR(QH(t,14)):UH(t.Kc())}function a0(t,e){return Ntt(),t.c==e.c?xft(e.d,t.d):xft(t.c,e.c)}function o0(t,e){return Ntt(),t.c==e.c?xft(t.d,e.d):xft(t.c,e.c)}function s0(t,e){return Ntt(),t.c==e.c?xft(t.d,e.d):xft(e.c,t.c)}function c0(t,e){return Ntt(),t.c==e.c?xft(e.d,t.d):xft(e.c,t.c)}function l0(t,e){var n;n=jy(kF(t.a.We((cqt(),B_e)))),qzt(t,e,n)}function u0(t,e){var n;n=QH(DX(t.g,e),57),Set(e.d,new o_(t,n))}function h0(t,e){var n,r;return(n=syt(t))<(r=syt(e))?-1:n>r?1:0}function f0(t,e){var n;return n=C7(e),QH(DX(t.c,n),19).a}function d0(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function A0(t){return null==t.c||0==t.c.length?"n_"+t.g:"n_"+t.c}function p0(t){return null==t.c||0==t.c.length?"n_"+t.b:"n_"+t.c}function g0(t,e){return t&&t.equals?t.equals(e):jS(t)===jS(e)}function m0(t,e){return 0==e?!!t.o&&0!=t.o.f:mmt(t,e)}function b0(t,e,n){var r;t.n&&e&&n&&(r=new tc,zH(t.e,r))}function v0(t,e,n){var r;r=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=r}function y0(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function w0(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function T0(t,e,n){Sm.call(this,25),this.b=t,this.a=e,this.c=n}function k0(t){dqt(),Sm.call(this,t),this.c=!1,this.a=!1}function C0(t,e,n,r,i,a){Hnt.call(this,t,e,n,r,i),a&&(this.o=-2)}function E0(t,e,n,r,i,a){jnt.call(this,t,e,n,r,i),a&&(this.o=-2)}function x0(t,e,n,r,i,a){W5.call(this,t,e,n,r,i),a&&(this.o=-2)}function _0(t,e,n,r,i,a){Gnt.call(this,t,e,n,r,i),a&&(this.o=-2)}function B0(t,e,n,r,i,a){Y5.call(this,t,e,n,r,i),a&&(this.o=-2)}function S0(t,e,n,r,i,a){$nt.call(this,t,e,n,r,i),a&&(this.o=-2)}function L0(t,e,n,r,i,a){Knt.call(this,t,e,n,r,i),a&&(this.o=-2)}function I0(t,e,n,r,i,a){J5.call(this,t,e,n,r,i),a&&(this.o=-2)}function M0(t,e,n,r){ym.call(this,n),this.b=t,this.c=e,this.d=r}function O0(t,e){this.a=new Mm,this.d=new Mm,this.f=t,this.c=e}function N0(){this.c=new LM,this.a=new hY,this.b=new tv,hE()}function D0(){Ost(),this.b=new Om,this.a=new Om,this.c=new Mm}function F0(t,e){this.g=t,this.d=(D5(),ZMe),this.a=ZMe,this.b=e}function P0(t,e){this.f=t,this.a=(D5(),JMe),this.c=JMe,this.b=e}function R0(t,e){!t.c&&(t.c=new Tat(t,0)),Cjt(t.c,(G$t(),LOe),e)}function Q0(){Q0=L,Uwe=new fB("DFS",0),Qwe=new fB("BFS",1)}function U0(t,e,n){var r;return!!(r=QH(t.Zb().xc(e),14))&&r.Hc(n)}function H0(t,e,n){var r;return!!(r=QH(t.Zb().xc(e),14))&&r.Mc(n)}function j0(t,e,n,r){return t.a+=""+lD(null==e?Kqt:Udt(e),n,r),t}function $0(t,e,n,r,i,a){return Fat(t,e,n,a),Yht(t,r),tft(t,i),t}function K0(t){return ED(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function G0(t){for(;t.d>0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0)}function z0(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function X0(t){return!(!t.a||0==U7(t.a.a).i||t.b&&Pbt(t.b))}function q0(t){return!(!t.u||0==i3(t.u.a).i||t.n&&Fbt(t.n))}function V0(t){return b$(t.e.Hd().gc()*t.c.Hd().gc(),16,new jh(t))}function W0(t,e){return Rz(uot(t.q.getTime()),uot(e.q.getTime()))}function Y0(t){return QH(Vgt(t,O9(bse,i1t,17,t.c.length,0,1)),474)}function J0(t){return QH(Vgt(t,O9(Bse,a1t,10,t.c.length,0,1)),193)}function Z0(t){return QZ(),!(h5(t)||!h5(t)&&t.c.i.c==t.d.i.c)}function t2(t,e,n){bX(t),Nyt(new _Z(new ZR(t),e,n))}function e2(t,e,n){bX(t),Dyt(new BZ(new ZR(t),e,n))}function n2(t,e){var n;return n=1-e,t.a[n]=dit(t.a[n],n),dit(t,e)}function r2(t,e){var n;t.e=new Wv,mM(n=dFt(e),t.c),BFt(t,n,0)}function i2(t,e,n,r){var i;(i=new vs).a=e,i.b=n,i.c=r,Nj(t.a,i)}function a2(t,e,n,r){var i;(i=new vs).a=e,i.b=n,i.c=r,Nj(t.b,i)}function o2(t){var e,n;return n=tQt(e=new uX,t),vGt(e),n}function s2(){var t,e;return t=new Fm,zH(zMe,e=t),e}function c2(t){return t.j.c=O9(Lte,Hqt,1,0,5,1),TV(t.c),AV(t.a),t}function l2(t){return kE(),rO(t.g,10)?QH(t.g,10):null}function u2(t){return!wV(t).dc()&&(IM(t,new v),!0)}function h2(t){if(!("stack"in t))try{throw t}catch(t){}return t}function f2(t,e){if(t<0||t>=e)throw Um(new Sy(MBt(t,e)));return t}function d2(t,e,n){if(t<0||e<t||e>n)throw Um(new Sy(s_t(t,e,n)))}function A2(t,e){if(Tz(t.a,e),e.d)throw Um(new dy(BYt));e.d=t}function p2(t,e){if(e.$modCount!=t.$modCount)throw Um(new gb)}function g2(t,e){return!!rO(e,42)&&Cvt(t.a,QH(e,42))}function m2(t,e){return!!rO(e,42)&&Cvt(t.a,QH(e,42))}function b2(t,e){return!!rO(e,42)&&Cvt(t.a,QH(e,42))}function v2(t,e){return t.a<=t.b&&(e.ud(t.a++),!0)}function y2(t){var e;return WL(t)?-0==(e=t)?0:e:ptt(t)}function w2(t){var e;return wq(t),e=new U,Ak(t.a,new AA(e)),e}function T2(t){var e;return wq(t),e=new Q,Ak(t.a,new dA(e)),e}function k2(t,e){this.a=t,Cd.call(this,t),IZ(e,t.gc()),this.b=e}function C2(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function E2(t){return b$(t.e.Hd().gc()*t.c.Hd().gc(),273,new Hh(t))}function x2(t){return new W6((hrt(t,OVt),Ztt(rdt(rdt(5,t),t/10|0))))}function _2(t){return QH(Vgt(t,O9(jse,o1t,11,t.c.length,0,1)),1943)}function B2(t,e,n){return n.f.c.length>0?Qz(t.a,e,n):Qz(t.b,e,n)}function S2(t,e,n){t.d&&b7(t.d.e,t),t.d=e,t.d&&vK(t.d.e,n,t)}function L2(t,e){mXt(e,t),ij(t.d),ij(QH(bEt(t,(HXt(),Sge)),207))}function I2(t,e){gXt(e,t),rj(t.d),rj(QH(bEt(t,(HXt(),Sge)),207))}function M2(t,e){var n,r;return r=null,(n=$J(t,e))&&(r=n.fe()),r}function O2(t,e){var n,r;return r=null,(n=dtt(t,e))&&(r=n.ie()),r}function N2(t,e){var n,r;return r=null,(n=$J(t,e))&&(r=n.ie()),r}function D2(t,e){var n,r;return r=null,(n=$J(t,e))&&(r=v_t(n)),r}function F2(t,e,n){var r;return r=Vpt(n),dRt(t.g,r,e),dRt(t.i,e,n),e}function P2(t,e,n){var r;r=Mpt();try{return dP(t,e,n)}finally{b4(r)}}function R2(t){var e;e=t.Wg(),this.a=rO(e,69)?QH(e,69).Zh():e.Kc()}function Q2(){Vv.call(this),this.j.c=O9(Lte,Hqt,1,0,5,1),this.a=-1}function U2(t,e,n,r){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1}function H2(t,e,n,r){this.e=r,this.d=null,this.c=t,this.a=e,this.b=n}function j2(t,e,n){this.d=new Rp(this),this.e=t,this.i=e,this.f=n}function $2(){$2=L,She=new N_(eJt,0),Lhe=new N_("TOP_LEFT",1)}function K2(){K2=L,Tve=Wq(nft(1),nft(4)),wve=Wq(nft(1),nft(2))}function G2(){G2=L,Wke=hut((_E(),xst(jw(Zke,1),IVt,551,0,[qke])))}function z2(){z2=L,Xke=hut((xE(),xst(jw(Vke,1),IVt,482,0,[Gke])))}function X2(){X2=L,KCe=hut((BE(),xst(jw(XCe,1),IVt,530,0,[jCe])))}function q2(){q2=L,iae=hut((fE(),xst(jw(Eae,1),IVt,481,0,[nae])))}function V2(){return Dot(),xst(jw(jie,1),IVt,406,0,[Die,Mie,Oie,Nie])}function W2(){return Y8(),xst(jw(Rne,1),IVt,297,0,[Mne,One,Nne,Dne])}function Y2(){return jmt(),xst(jw(rae,1),IVt,394,0,[Yie,Wie,Jie,Zie])}function J2(){return Hmt(),xst(jw(Kie,1),IVt,323,0,[Qie,Rie,Uie,Hie])}function Z2(){return Lst(),xst(jw(dse,1),IVt,405,0,[Yoe,tse,Joe,Zoe])}function t4(){return Bst(),xst(jw(ple,1),IVt,360,0,[ile,nle,rle,ele])}function e4(t,e,n,r){return rO(n,54)?new BD(t,e,n,r):new sG(t,e,n,r)}function n4(){return Sst(),xst(jw(_le,1),IVt,411,0,[gle,mle,ble,vle])}function r4(t){return t.j==(yzt(),CSe)&&CN(GLt(t),oSe)}function i4(t,e){var n;CZ(n=e.a,e.c.d),kZ(n,e.d.d),Jet(n.a,t.n)}function a4(t,e){return QH(LN(_G(QH(c6(t.k,e),15).Oc(),qle)),113)}function o4(t,e){return QH(LN(BG(QH(c6(t.k,e),15).Oc(),qle)),113)}function s4(t){return new f1(tat(QH(t.a.dd(),14).gc(),t.a.cd()),16)}function c4(t){return rO(t,14)?QH(t,14).dc():!t.Kc().Ob()}function l4(t){return kE(),rO(t.g,145)?QH(t.g,145):null}function u4(t){if(t.e.g!=t.b)throw Um(new gb);return!!t.c&&t.d>0}function h4(t){return ED(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function f4(t,e){vq(e),LX(t.a,t.c,e),t.c=t.c+1&t.a.length-1,dyt(t)}function d4(t,e){vq(e),t.b=t.b-1&t.a.length-1,LX(t.a,t.b,e),dyt(t)}function A4(t,e){var n;for(n=t.j.c.length;n<e;n++)zH(t.j,t.rg())}function p4(t,e,n,r){var i;return i=r[e.g][n.g],jy(kF(bEt(t.a,i)))}function g4(t,e,n,r,i){this.i=t,this.a=e,this.e=n,this.j=r,this.f=i}function m4(t,e,n,r,i){this.a=t,this.e=e,this.f=n,this.b=r,this.g=i}function b4(t){t&&_tt((sw(),tee)),--iee,t&&-1!=oee&&(ex(oee),oee=-1)}function v4(){return fbt(),xst(jw(vbe,1),IVt,197,0,[ube,hbe,lbe,cbe])}function y4(){return Kyt(),xst(jw(Hye,1),IVt,393,0,[Dye,Fye,Pye,Rye])}function w4(){return Svt(),xst(jw(XTe,1),IVt,340,0,[HTe,QTe,UTe,RTe])}function T4(){return bpt(),xst(jw(VSe,1),IVt,374,0,[FSe,PSe,DSe,NSe])}function k4(){return zyt(),xst(jw(DBe,1),IVt,285,0,[kBe,yBe,wBe,TBe])}function C4(){return Cdt(),xst(jw(oBe,1),IVt,218,0,[Y_e,V_e,q_e,W_e])}function E4(){return QAt(),xst(jw(rLe,1),IVt,311,0,[tLe,YSe,ZSe,JSe])}function x4(){return Ult(),xst(jw(fLe,1),IVt,396,0,[aLe,oLe,iLe,sLe])}function _4(t){return cZ(),cz(oIe,t)?QH(DX(oIe,t),331).ug():null}function B4(t,e,n){return e<0?jSt(t,n):QH(n,66).Nj().Sj(t,t.yh(),e)}function S4(t,e,n){var r;return r=Vpt(n),dRt(t.d,r,e),Xq(t.e,e,n),e}function L4(t,e,n){var r;return r=Vpt(n),dRt(t.j,r,e),Xq(t.k,e,n),e}function I4(t){var e;return ZT(),e=new ic,t&&HOt(e,t),e}function M4(t){var e;return e=t.ri(t.i),t.i>0&&ajt(t.g,0,e,0,t.i),e}function O4(t,e){var n;return JE(),!(n=QH(DX(gIe,t),55))||n.wj(e)}function N4(t){if(1!=t.p)throw Um(new db);return dK(t.f)<<24>>24}function D4(t){if(1!=t.p)throw Um(new db);return dK(t.k)<<24>>24}function F4(t){if(7!=t.p)throw Um(new db);return dK(t.k)<<16>>16}function P4(t){if(7!=t.p)throw Um(new db);return dK(t.f)<<16>>16}function R4(t){var e;for(e=0;t.Ob();)t.Pb(),e=rdt(e,1);return Ztt(e)}function Q4(t,e){var n;return n=new _w,t.xd(n),n.a+="..",e.yd(n),n.a}function U4(t,e,n){var r;r=QH(DX(t.g,n),57),zH(t.a.c,new nS(e,r))}function H4(t,e,n){return TG(kF(HS(SY(t.f,e))),kF(HS(SY(t.f,n))))}function j4(t,e,n){return GUt(t,e,n,rO(e,99)&&0!=(QH(e,18).Bb&UWt))}function $4(t,e,n){return gHt(t,e,n,rO(e,99)&&0!=(QH(e,18).Bb&UWt))}function K4(t,e,n){return NMt(t,e,n,rO(e,99)&&0!=(QH(e,18).Bb&UWt))}function G4(t,e){return t==(oxt(),xse)&&e==xse?4:t==xse||e==xse?8:32}function z4(t,e){return jS(e)===jS(t)?"(this Map)":null==e?Kqt:Udt(e)}function X4(t,e){return QH(null==e?HS(SY(t.f,null)):cx(t.g,e),281)}function q4(t,e,n){var r;return r=Vpt(n),Xq(t.b,r,e),Xq(t.c,e,n),e}function V4(t,e){var n;for(n=e;n;)PD(t,n.i,n.j),n=WJ(n);return t}function W4(t,e){var n;return n=nY(UH(new x7(t,e))),x$(new x7(t,e)),n}function Y4(t,e){var n;return YE(),kxt(n=QH(t,66).Mj(),e),n.Ok(e)}function J4(t,e,n,r,i){zH(e,bBt(i,zMt(i,n,r))),GEt(t,i,e)}function Z4(t,e,n){t.i=0,t.e=0,e!=n&&(Xct(t,e,n),zct(t,e,n))}function t3(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+cWt),hHt(t,n)}function e3(t,e,n){if(n){var r=n.ee();t.a[e]=r(n)}else delete t.a[e]}function n3(t,e,n){if(n){var r=n.ee();n=r(n)}else n=void 0;t.a[e]=n}function r3(t){if(t<0)throw Um(new Qy("Negative array size: "+t))}function i3(t){return t.n||(E5(t),t.n=new VK(t,zIe,t),vY(t)),t.n}function a3(t){return ED(t.a<t.c.a.length),t.b=t.a,Stt(t),t.c.b[t.b]}function o3(t){t.b!=t.c&&(t.a=O9(Lte,Hqt,1,8,5,1),t.b=0,t.c=0)}function s3(t){this.b=new Om,this.c=new Om,this.d=new Om,this.a=t}function c3(t,e){dqt(),Sm.call(this,t),this.a=e,this.c=-1,this.b=-1}function l3(t,e,n,r){y0.call(this,1,n,r),this.c=t,this.b=e}function u3(t,e,n,r){w0.call(this,1,n,r),this.c=t,this.b=e}function h3(t,e,n,r,i,a,o){yrt.call(this,e,r,i,a,o),this.c=t,this.a=n}function f3(t,e,n){this.e=t,this.a=Lte,this.b=LPt(e),this.c=e,this.d=n}function d3(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function A3(t){this.c=t,this.a=QH(Bwt(t),148),this.b=this.a.Aj().Nh()}function p3(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function g3(){Om.call(this),yD(this),this.d.b=this.d,this.d.a=this.d}function m3(t,e){LP.call(this),this.a=t,this.b=e,zH(this.a.b,this)}function b3(t,e){return eL(null!=e?CJ(t,e):HS(SY(t.f,e)))}function v3(t,e){return eL(null!=e?CJ(t,e):HS(SY(t.f,e)))}function y3(t,e){var n;for(n=0;n<e;++n)LX(t,n,new Kd(QH(t[n],42)))}function w3(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function T3(t,e){var n;return Klt(),0!=(n=t.j.g-e.j.g)?n:0}function k3(t,e){return vq(e),null!=t.a?EK(e.Kb(t.a)):Cne}function C3(t){var e;return t?new I$(t):(jit(e=new lI,t),e)}function E3(t,e){return e.b.Kb(T7(t,e.c.Ee(),new bA(e)))}function x3(t){vCt(),cO(this,dK(t0(vG(t,24),cYt)),dK(t0(t,cYt)))}function _3(){_3=L,pre=hut((lmt(),xst(jw(bre,1),IVt,428,0,[dre,fre])))}function B3(){B3=L,vre=hut((Dtt(),xst(jw(Fre,1),IVt,427,0,[gre,mre])))}function S3(){S3=L,Pae=hut((Ftt(),xst(jw(Loe,1),IVt,424,0,[Nae,Dae])))}function L3(){L3=L,$se=hut((Eit(),xst(jw(zse,1),IVt,511,0,[Hse,Use])))}function I3(){I3=L,_ue=hut((Ptt(),xst(jw(Iue,1),IVt,419,0,[Cue,Eue])))}function M3(){M3=L,Kue=hut((A7(),xst(jw(Yue,1),IVt,479,0,[jue,Hue])))}function O3(){O3=L,Zbe=hut((S6(),xst(jw(rve,1),IVt,376,0,[Ybe,Wbe])))}function N3(){N3=L,Qbe=hut((K7(),xst(jw($be,1),IVt,421,0,[Fbe,Pbe])))}function D3(){D3=L,oue=hut((X9(),xst(jw(uue,1),IVt,422,0,[rue,iue])))}function F3(){F3=L,Mhe=hut(($2(),xst(jw(jfe,1),IVt,420,0,[She,Lhe])))}function P3(){P3=L,Eye=hut((B6(),xst(jw(Oye,1),IVt,520,0,[kye,Tye])))}function R3(){R3=L,jve=hut((q3(),xst(jw(Xve,1),IVt,523,0,[Uve,Qve])))}function Q3(){Q3=L,eye=hut((AJ(),xst(jw(iye,1),IVt,516,0,[Zve,Jve])))}function U3(){U3=L,aye=hut((oZ(),xst(jw(Cye,1),IVt,515,0,[nye,rye])))}function H3(){H3=L,Nye=hut((dJ(),xst(jw(Qye,1),IVt,455,0,[Iye,Mye])))}function j3(){j3=L,jwe=hut((Q0(),xst(jw(Wwe,1),IVt,425,0,[Uwe,Qwe])))}function $3(){$3=L,Ywe=hut((xit(),xst(jw(eTe,1),IVt,495,0,[qwe,Vwe])))}function K3(){K3=L,Rwe=hut((sZ(),xst(jw(Hwe,1),IVt,480,0,[Dwe,Fwe])))}function G3(){G3=L,oTe=hut((N8(),xst(jw(uTe,1),IVt,426,0,[rTe,iTe])))}function z3(){z3=L,qCe=hut((Mst(),xst(jw(VCe,1),IVt,429,0,[zCe,GCe])))}function X3(){X3=L,tCe=hut((L6(),xst(jw(oCe,1),IVt,430,0,[Jke,Yke])))}function q3(){q3=L,Uve=new W_("UPPER",0),Qve=new W_("LOWER",1)}function V3(t,e){var n;HW(n=new py,"x",e.a),HW(n,"y",e.b),JX(t,n)}function W3(t,e){var n;HW(n=new py,"x",e.a),HW(n,"y",e.b),JX(t,n)}function Y3(t,e){var n,r;r=!1;do{r|=n=fct(t,e)}while(n);return r}function J3(t,e){var n,r;for(n=e,r=0;n>0;)r+=t.a[n],n-=n&-n;return r}function Z3(t,e){var n;for(n=e;n;)PD(t,-n.i,-n.j),n=WJ(n);return t}function t5(t,e){var n,r;for(vq(e),r=t.Kc();r.Ob();)n=r.Pb(),e.td(n)}function e5(t,e){var n;return new gC(n=e.cd(),t.e.pc(n,QH(e.dd(),14)))}function n5(t,e,n,r){var i;(i=new M).c=e,i.b=n,i.a=r,r.b=n.a=i,++t.b}function r5(t,e,n){var r;return u1(e,t.c.length),r=t.c[e],t.c[e]=n,r}function i5(t,e,n){return QH(null==e?wBt(t.f,null,n):odt(t.g,e,n),281)}function a5(t){return t.c&&t.d?p0(t.c)+"->"+p0(t.d):"e_"+EN(t)}function o5(t,e){return(Vft(t),yk(new D$(t,new q8(e,t.a)))).sd(Zne)}function s5(){return vEt(),xst(jw(Koe,1),IVt,356,0,[Doe,Foe,Poe,Roe,Qoe])}function c5(){return yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])}function l5(t){return Nw(),function(){return P2(t,this,arguments)}}function u5(){return Date.now?Date.now():(new Date).getTime()}function h5(t){return!(!t.c||!t.d||!t.c.i||t.c.i!=t.d.i)}function f5(t){if(!t.c.Sb())throw Um(new bb);return t.a=!0,t.c.Ub()}function d5(t){t.i=0,bx(t.b,null),bx(t.c,null),t.a=null,t.e=null,++t.g}function A5(t){dx.call(this,null==t?Kqt:Udt(t),rO(t,78)?QH(t,78):null)}function p5(t){eqt(),Qm(this),this.a=new VC,Alt(this,t),Nj(this.a,t)}function g5(){OI(this),this.b=new OB(FWt,FWt),this.a=new OB(PWt,PWt)}function m5(t,e){this.c=0,this.b=e,pL.call(this,t,17493),this.a=this.c}function b5(t){v5(),qne||(this.c=t,this.e=!0,this.a=new Mm)}function v5(){v5=L,qne=!0,zne=!1,Xne=!1,Wne=!1,Vne=!1}function y5(t,e){return!!rO(e,149)&&mR(t.c,QH(e,149).c)}function w5(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function T5(t,e){return QH(utt(t.d,e),23)||QH(utt(t.e,e),23)}function k5(t){this.b=t,SO.call(this,t),this.a=QH(vot(this.b.a,4),126)}function C5(t){this.b=t,iD.call(this,t),this.a=QH(vot(this.b.a,4),126)}function E5(t){return t.t||(t.t=new dm(t),cft(new Oy(t),0,t.t)),t.t}function x5(){return Qht(),xst(jw(z_e,1),IVt,103,0,[Q_e,R_e,P_e,F_e,U_e])}function _5(){return imt(),xst(jw(WBe,1),IVt,249,0,[QBe,HBe,PBe,RBe,UBe])}function B5(){return rmt(),xst(jw(yEe,1),IVt,175,0,[cEe,sEe,aEe,lEe,oEe])}function S5(){return Ixt(),xst(jw($Ce,1),IVt,316,0,[eCe,nCe,aCe,rCe,iCe])}function L5(){return Obt(),xst(jw(Sbe,1),IVt,315,0,[bbe,pbe,gbe,Abe,mbe])}function I5(){return qbt(),xst(jw(xue,1),IVt,335,0,[bue,mue,yue,wue,vue])}function M5(){return WOt(),xst(jw($ke,1),IVt,355,0,[Nke,Oke,Fke,Dke,Pke])}function O5(){return Mkt(),xst(jw(Fle,1),IVt,363,0,[kle,Ele,xle,Cle,Tle])}function N5(){return kdt(),xst(jw(ebe,1),IVt,163,0,[Hfe,Pfe,Rfe,Qfe,Ufe])}function D5(){var t,e;D5=L,ek(),e=new wb,JMe=e,t=new Bv,ZMe=t}function F5(t){var e;return t.c||rO(e=t.r,88)&&(t.c=QH(e,26)),t.c}function P5(t){return t.e=3,t.d=t.Yb(),2!=t.e&&(t.e=0,!0)}function R5(t){return kM(t&EWt,t>>22&EWt,t<0?xWt:0)}function Q5(t){var e,n,r;for(n=0,r=(e=t).length;n<r;++n)yq(e[n])}function U5(t,e){var n,r;(n=QH(fht(t.c,e),14))&&(r=n.gc(),n.$b(),t.d-=r)}function H5(t,e){var n;return!!(n=hlt(t,e.cd()))&&rV(n.e,e.dd())}function j5(t,e){return 0==e||0==t.e?t:e>0?Tpt(t,e):BDt(t,-e)}function $5(t,e){return 0==e||0==t.e?t:e>0?BDt(t,e):Tpt(t,-e)}function K5(t){if(AIt(t))return t.c=t.a,t.a.Pb();throw Um(new bb)}function G5(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(oxt(),kse)&&n.k==kse}function z5(t){var e;return jot(e=new fY,t),lct(e,(HXt(),gge),null),e}function X5(t,e,n){var r;return(r=t.Yg(e))>=0?t._g(r,n,!0):iLt(t,e,n)}function q5(t,e,n,r){var i;for(i=0;i<Yre;i++)GK(t.a[e.g][i],n,r[e.g])}function V5(t,e,n,r){var i;for(i=0;i<Jre;i++)KK(t.a[i][e.g],n,r[e.g])}function W5(t,e,n,r,i){y0.call(this,e,r,i),this.c=t,this.a=n}function Y5(t,e,n,r,i){w0.call(this,e,r,i),this.c=t,this.a=n}function J5(t,e,n,r,i){e6.call(this,e,r,i),this.c=t,this.a=n}function Z5(t,e,n,r,i){e6.call(this,e,r,i),this.c=t,this.b=n}function t6(t,e,n){ym.call(this,n),this.b=t,this.c=e,this.d=(UAt(),jMe)}function e6(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function n6(t,e,n){var r;kat(r=new GM(t.a),t.a.a),wBt(r.f,e,n),t.a.a=r}function r6(t,e){t.qi(t.i+1),yO(t,t.i,t.oi(t.i,e)),t.bi(t.i++,e),t.ci()}function i6(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.di(n,e),t.ci()}function a6(t){var e;return bX(t),Ict(e=new W6(Yq(t.length)),t),e}function o6(t){var e;return bX(t),Y_t(e=t?new ZR(t):UH(t.Kc())),cht(e)}function s6(t,e){var n;return u1(e,t.c.length),n=t.c[e],Ek(t.c,e,1),n}function c6(t,e){var n;return!(n=QH(t.c.xc(e),14))&&(n=t.ic(e)),t.pc(e,n)}function l6(t,e){var n,r;return vq(t),n=t,vq(e),n==(r=e)?0:n<r?-1:1}function u6(t){var e;return e=t.e+t.f,isNaN(e)&&zR(t.d)?t.d:e}function h6(t,e){return t.a?oL(t.a,t.b):t.a=new uN(t.d),iL(t.a,e),t}function f6(t,e){if(t<0||t>e)throw Um(new Sy(ABt(t,e,"index")));return t}function d6(t,e,n,r){var i;return mCt(i=O9(BNe,lWt,25,e,15,1),t,e,n,r),i}function A6(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),hHt(t,n)}function p6(t,n){return e.Math.min(z9(n.a,t.d.d.c),z9(n.b,t.d.d.c))}function g6(t,e){return GS(e)?null==e?pIt(t.f,null):$ot(t.g,e):pIt(t.f,e)}function m6(t){this.c=t,this.a=new zd(this.c.a),this.b=new zd(this.c.b)}function b6(){this.e=new Mm,this.c=new Mm,this.d=new Mm,this.b=new Mm}function v6(){this.g=new Qb,this.b=new Qb,this.a=new Mm,this.k=new Mm}function y6(t,e,n){this.a=t,this.c=e,this.d=n,zH(e.e,this),zH(n.b,this)}function w6(t,e){AL.call(this,e.rd(),-6&e.qd()),vq(t),this.a=t,this.b=e}function T6(t,e){pL.call(this,e.rd(),-6&e.qd()),vq(t),this.a=t,this.b=e}function k6(t,e){gL.call(this,e.rd(),-6&e.qd()),vq(t),this.a=t,this.b=e}function C6(t,e,n){this.a=t,this.b=e,this.c=n,zH(t.t,this),zH(e.i,this)}function E6(){this.b=new VC,this.a=new VC,this.b=new VC,this.a=new VC}function x6(){x6=L,TEe=new am("org.eclipse.elk.labels.labelManager")}function _6(){_6=L,tle=new eP("separateLayerConnections",(Bst(),ile))}function B6(){B6=L,kye=new aB("REGULAR",0),Tye=new aB("CRITICAL",1)}function S6(){S6=L,Ybe=new G_("STACKED",0),Wbe=new G_("SEQUENCED",1)}function L6(){L6=L,Jke=new TB("FIXED",0),Yke=new TB("CENTER_NODE",1)}function I6(t,e){var n;return n=NKt(t,e),t.b=new bit(n.c.length),v$t(t,n)}function M6(t,e,n){return++t.e,--t.f,QH(t.d[e].$c(n),133).dd()}function O6(t){var e;return t.a||rO(e=t.r,148)&&(t.a=QH(e,148)),t.a}function N6(t){return t.a?t.e?N6(t.e):null:t}function D6(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function F6(t,e){return vq(e),t.c<t.d&&(t.ze(e,t.c++),!0)}function P6(t,e){return!!cz(t.a,e)&&(g6(t.a,e),!0)}function R6(t){var e;return e=t.cd(),DH(QH(t.dd(),14).Nc(),new zh(e))}function Q6(t){var e;return e=QH(Xz(t.b,t.b.length),9),new VR(t.a,e,t.c)}function U6(t){return Vft(t),new SF(t,new YH(t,t.a.e,4|t.a.d))}function H6(t){var e;for(wq(t),e=0;t.a.sd(new ut);)e=rdt(e,1);return e}function j6(t,e,n){var r,i;for(r=0,i=0;i<e.length;i++)r+=t.$f(e[i],r,n)}function $6(t,e){var n;t.C&&((n=QH(oV(t.b,e),124).n).d=t.C.d,n.a=t.C.a)}function K6(t,e,n){return f2(e,t.e.Hd().gc()),f2(n,t.c.Hd().gc()),t.a[e][n]}function G6(t,e){SFt(),this.e=t,this.d=1,this.a=xst(jw(BNe,1),lWt,25,15,[e])}function z6(t,e,n,r){this.f=t,this.e=e,this.d=n,this.b=r,this.c=r?r.d:null}function X6(t){var e,n,r,i;i=t.d,e=t.a,n=t.b,r=t.c,t.d=n,t.a=r,t.b=i,t.c=e}function q6(t,e,n,r){bUt(t,e,n,gHt(t,e,r,rO(e,99)&&0!=(QH(e,18).Bb&UWt)))}function V6(t,e){SCt(e,"Label management",1),eL(bEt(t,(x6(),TEe))),Hxt(e)}function W6(t){OI(this),gj(t>=0,"Initial capacity must not be negative")}function Y6(){Y6=L,zre=hut((Det(),xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])))}function J6(){J6=L,Zre=hut((W8(),xst(jw(tie,1),IVt,461,0,[Vre,qre,Wre])))}function Z6(){Z6=L,aie=hut((j7(),xst(jw(Bie,1),IVt,462,0,[rie,nie,eie])))}function t9(){t9=L,Yne=hut((jlt(),xst(jw(Jne,1),IVt,132,0,[$ne,Kne,Gne])))}function e9(){e9=L,Ioe=hut((H7(),xst(jw(Uoe,1),IVt,379,0,[Boe,_oe,Soe])))}function n9(){n9=L,Ase=hut((Uht(),xst(jw(mse,1),IVt,423,0,[fse,hse,use])))}function r9(){r9=L,hue=hut((Srt(),xst(jw(pue,1),IVt,314,0,[cue,sue,lue])))}function i9(){i9=L,gue=hut((ort(),xst(jw(Tue,1),IVt,337,0,[fue,Aue,due])))}function a9(){a9=L,Mue=hut((Yst(),xst(jw(Que,1),IVt,450,0,[Sue,Bue,Lue])))}function o9(){o9=L,Ple=hut((_it(),xst(jw(zle,1),IVt,361,0,[Dle,Nle,Ole])))}function s9(){s9=L,Bhe=hut(($7(),xst(jw(Ihe,1),IVt,303,0,[Ehe,xhe,Che])))}function c9(){c9=L,khe=hut((Pot(),xst(jw(_he,1),IVt,292,0,[yhe,whe,vhe])))}function l9(){l9=L,sbe=hut((Cut(),xst(jw(fbe,1),IVt,378,0,[rbe,ibe,abe])))}function u9(){u9=L,Vbe=hut((Hat(),xst(jw(Jbe,1),IVt,375,0,[Gbe,zbe,Xbe])))}function h9(){h9=L,Dbe=hut((bct(),xst(jw(Rbe,1),IVt,339,0,[Mbe,Ibe,Obe])))}function f9(){f9=L,Kbe=hut((art(),xst(jw(qbe,1),IVt,452,0,[jbe,Ube,Hbe])))}function d9(){d9=L,Ave=hut((Ist(),xst(jw(Cve,1),IVt,377,0,[hve,fve,uve])))}function A9(){A9=L,ive=hut((Glt(),xst(jw(cve,1),IVt,336,0,[tve,eve,nve])))}function p9(){p9=L,lve=hut((Aat(),xst(jw(dve,1),IVt,338,0,[sve,ave,ove])))}function g9(){g9=L,Mve=hut((srt(),xst(jw(Ove,1),IVt,454,0,[Bve,Sve,Lve])))}function m9(){m9=L,nTe=hut((_dt(),xst(jw(aTe,1),IVt,442,0,[tTe,Jwe,Zwe])))}function b9(){b9=L,hTe=hut((Hlt(),xst(jw(jTe,1),IVt,380,0,[sTe,cTe,lTe])))}function v9(){v9=L,tke=hut((Edt(),xst(jw(Mke,1),IVt,381,0,[YTe,JTe,WTe])))}function y9(){y9=L,qTe=hut((Uat(),xst(jw(VTe,1),IVt,293,0,[GTe,zTe,KTe])))}function w9(){w9=L,Kke=hut((xdt(),xst(jw(zke,1),IVt,437,0,[Uke,Hke,jke])))}function T9(){T9=L,vBe=hut((oht(),xst(jw(CBe,1),IVt,334,0,[gBe,pBe,mBe])))}function k9(){k9=L,X_e=hut((Fet(),xst(jw(J_e,1),IVt,272,0,[$_e,K_e,G_e])))}function C9(){return Vkt(),xst(jw(iSe,1),IVt,98,0,[VBe,qBe,XBe,KBe,zBe,GBe])}function E9(t,e){return!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),rpt(t.o,e)}function x9(t){return!t.g&&(t.g=new lc),!t.g.d&&(t.g.d=new um(t)),t.g.d}function _9(t){return!t.g&&(t.g=new lc),!t.g.a&&(t.g.a=new hm(t)),t.g.a}function B9(t){return!t.g&&(t.g=new lc),!t.g.b&&(t.g.b=new lm(t)),t.g.b}function S9(t){return!t.g&&(t.g=new lc),!t.g.c&&(t.g.c=new fm(t)),t.g.c}function L9(t,e,n){var r,i;for(i=new Lot(e,t),r=0;r<n;++r)ibt(i);return i}function I9(t,e,n){var r,i;if(null!=n)for(r=0;r<e;++r)i=n[r],t.fi(r,i)}function M9(t,e,n,r){var i;return LUt(i=O9(BNe,lWt,25,e+1,15,1),t,e,n,r),i}function O9(t,e,n,r,i,a){var o;return o=Uvt(i,r),10!=i&&xst(jw(t,a),e,n,i,o),o}function N9(t,e,n,r){return n&&(r=n.gh(e,LAt(n.Tg(),t.c.Lj()),null,r)),r}function D9(t,e,n,r){return n&&(r=n.ih(e,LAt(n.Tg(),t.c.Lj()),null,r)),r}function F9(t,e,n){QH(t.b,65),QH(t.b,65),QH(t.b,65),Set(t.a,new MQ(n,e,t))}function P9(t,e,n){if(t<0||e>n||e<t)throw Um(new Bw(bYt+t+yYt+e+lYt+n))}function R9(t){if(!t)throw Um(new Ry("Unable to add element to queue"))}function Q9(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new Mm)}function U9(t,e){Ex.call(this,t,e),this.a=O9(Fne,yVt,436,2,0,1),this.b=!0}function H9(t){Zst.call(this,t,0),yD(this),this.d.b=this.d,this.d.a=this.d}function j9(t){var e;return 0==(e=t.b).b?null:QH(Dmt(e,0),188).b}function $9(t,e){var n;return(n=new $).c=!0,n.d=e.dd(),WKt(t,e.cd(),n)}function K9(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),hHt(t,n)}function G9(t,e,n){var r;(r=t.b[n.c.p][n.p]).b+=e.b,r.c+=e.c,r.a+=e.a,++r.a}function z9(t,n){var r,i;return r=t.a-n.a,i=t.b-n.b,e.Math.sqrt(r*r+i*i)}function X9(){X9=L,rue=new w_("QUADRATIC",0),iue=new w_("SCANLINE",1)}function q9(){q9=L,mve=zK(d$(new Q2,(vEt(),Doe),(hqt(),vce)),Qoe,Hce)}function V9(){return dkt(),xst(jw(H_e,1),IVt,291,0,[YEe,WEe,VEe,XEe,zEe,qEe])}function W9(){return dbt(),xst(jw(JEe,1),IVt,248,0,[xEe,SEe,LEe,IEe,_Ee,BEe])}function Y9(){return I_t(),xst(jw(aue,1),IVt,227,0,[Yle,Zle,Wle,Jle,tue,Vle])}function J9(){return YEt(),xst(jw(mhe,1),IVt,275,0,[rhe,the,ihe,nhe,ehe,Zue])}function Z9(){return UTt(),xst(jw(ahe,1),IVt,274,0,[que,Xue,Wue,zue,Vue,Gue])}function t8(){return kCt(),xst(jw(obe,1),IVt,313,0,[Zme,Yme,Vme,Wme,tbe,Jme])}function e8(){return pxt(),xst(jw($ue,1),IVt,276,0,[Nue,Oue,Fue,Due,Rue,Pue])}function n8(){return D_t(),xst(jw(Pwe,1),IVt,327,0,[qye,Kye,zye,Gye,Xye,$ye])}function r8(){return hSt(),xst(jw(_Se,1),IVt,273,0,[nSe,tSe,eSe,ZBe,JBe,rSe])}function i8(){return ZCt(),xst(jw(bBe,1),IVt,312,0,[iBe,nBe,aBe,tBe,rBe,eBe])}function a8(){return oxt(),xst(jw(Lse,1),IVt,267,0,[xse,Ese,kse,_se,Cse,Tse])}function o8(t){kD(!!t.c),p2(t.e,t),t.c.Qb(),t.c=null,t.b=Ast(t),hF(t.e,t)}function s8(t){return p2(t.c.a.e,t),ED(t.b!=t.c.a.d),t.a=t.b,t.b=t.b.a,t.a}function c8(t){var e;return t.a||-1==t.b||(e=t.c.Tg(),t.a=eet(e,t.b)),t.a}function l8(t,e){return!(t.hi()&&t.Hc(e)||(t.Yh(e),0))}function u8(t,e){return BY(e,"Horizontal alignment cannot be null"),t.b=e,t}function h8(t,e,n){var r;return dqt(),r=Jzt(t,e),n&&r&&Aq(t)&&(r=null),r}function f8(t,e,n){var r;for(r=t.Kc();r.Ob();)JPt(QH(r.Pb(),37),e,n)}function d8(t,e){var n;for(n=e.Kc();n.Ob();)IRt(t,QH(n.Pb(),37),0,0)}function A8(t,n,r){var i;t.d[n.g]=r,(i=t.g.c)[n.g]=e.Math.max(i[n.g],r+1)}function p8(t,e){var n,r,i;return i=t.r,r=t.d,(n=ijt(t,e,!0)).b!=i||n.a!=r}function g8(t,e){return ux(t.e,e)||Ygt(t.e,e,new nmt(e)),QH(utt(t.e,e),113)}function m8(t,e,n,r){return vq(t),vq(e),vq(n),vq(r),new yz(t,e,new K)}function b8(t,e,n,r){this.rj(),this.a=e,this.b=t,this.c=new YG(this,e,n,r)}function v8(t,e,n,r,i,a){U2.call(this,e,r,i,a),this.c=t,this.b=n}function y8(t,e,n,r,i,a){U2.call(this,e,r,i,a),this.c=t,this.a=n}function w8(t,e,n){var r,i;i=null,(r=$J(t,n))&&(i=v_t(r)),zgt(e,n,i)}function T8(t,e,n){var r,i;i=null,(r=$J(t,n))&&(i=v_t(r)),zgt(e,n,i)}function k8(t,e,n){var r;return(r=IMt(t.b,e))?Ojt(R7(t,r),n):null}function C8(t,e){var n;return(n=t.Yg(e))>=0?t._g(n,!0,!0):iLt(t,e,!0)}function E8(t,e){return xft(jy(kF(bEt(t,(lqt(),Tfe)))),jy(kF(bEt(e,Tfe))))}function x8(){x8=L,Kwe=sgt(sgt(RE(new Q2,(Kyt(),Fye)),(D_t(),qye)),Kye)}function _8(t,e,n){var r;return r=Oct(t,e,n),t.b=new bit(r.c.length),cFt(t,r)}function B8(t){if(t.b<=0)throw Um(new bb);return--t.b,t.a-=t.c.c,nft(t.a)}function S8(t){var e;if(!t.a)throw Um(new uV);return e=t.a,t.a=WJ(t.a),e}function L8(t){for(;!t.a;)if(!TR(t.c,new pA(t)))return!1;return!0}function I8(t){return bX(t),rO(t,198)?QH(t,198):new of(t)}function M8(t){O8(),QH(t.We((cqt(),l_e)),174).Fc((hSt(),eSe)),t.Ye(c_e,null)}function O8(){O8=L,ZCe=new As,eEe=new ps,tEe=mlt((cqt(),c_e),ZCe,Hxe,eEe)}function N8(){N8=L,rTe=new pB("LEAF_NUMBER",0),iTe=new pB("NODE_SIZE",1)}function D8(t,e,n){t.a=e,t.c=n,t.b.a.$b(),bW(t.d),t.e.a.c=O9(Lte,Hqt,1,0,5,1)}function F8(t){t.a=O9(BNe,lWt,25,t.b+1,15,1),t.c=O9(BNe,lWt,25,t.b,15,1),t.d=0}function P8(t,e){t.a.ue(e.d,t.b)>0&&(zH(t.c,new mj(e.c,e.d,t.d)),t.b=e.d)}function R8(t,e){if(null==t.g||e>=t.i)throw Um(new IL(e,t.i));return t.g[e]}function Q8(t,e,n){if(Nlt(t,n),null!=n&&!t.wj(n))throw Um(new ub);return n}function U8(t){var e;if(t.Ek())for(e=t.i-1;e>=0;--e)Xet(t,e);return M4(t)}function H8(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function j8(t,e){var n;return r3(e),(n=m7(t.slice(0,e),t)).length=e,n}function $8(t,e,n,r){EW(),r=r||fne,pBt(t.slice(e,n),t,e,n,-e,r)}function K8(t,e,n,r,i){return e<0?iLt(t,n,r):QH(n,66).Nj().Pj(t,t.yh(),e,r,i)}function G8(t){return rO(t,172)?""+QH(t,172).a:null==t?null:Udt(t)}function z8(t){return rO(t,172)?""+QH(t,172).a:null==t?null:Udt(t)}function X8(t,e){if(e.a)throw Um(new dy(BYt));Tz(t.a,e),e.a=t,!t.j&&(t.j=e)}function q8(t,e){gL.call(this,e.rd(),-16449&e.qd()),vq(t),this.a=t,this.c=e}function V8(t,e){var n,r;return r=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),K6(t,r,n)}function W8(){W8=L,Vre=new jx(iJt,0),qre=new jx(eJt,1),Wre=new jx(aJt,2)}function Y8(){Y8=L,Mne=new Ax("All",0),One=new II,Nne=new SM,Dne=new MI}function J8(){J8=L,Pne=hut((Y8(),xst(jw(Rne,1),IVt,297,0,[Mne,One,Nne,Dne])))}function Z8(){Z8=L,nse=hut((Lst(),xst(jw(dse,1),IVt,405,0,[Yoe,tse,Joe,Zoe])))}function t7(){t7=L,Pie=hut((Dot(),xst(jw(jie,1),IVt,406,0,[Die,Mie,Oie,Nie])))}function e7(){e7=L,$ie=hut((Hmt(),xst(jw(Kie,1),IVt,323,0,[Qie,Rie,Uie,Hie])))}function n7(){n7=L,eae=hut((jmt(),xst(jw(rae,1),IVt,394,0,[Yie,Wie,Jie,Zie])))}function r7(){r7=L,Uye=hut((Kyt(),xst(jw(Hye,1),IVt,393,0,[Dye,Fye,Pye,Rye])))}function i7(){i7=L,ole=hut((Bst(),xst(jw(ple,1),IVt,360,0,[ile,nle,rle,ele])))}function a7(){a7=L,$Te=hut((Svt(),xst(jw(XTe,1),IVt,340,0,[HTe,QTe,UTe,RTe])))}function o7(){o7=L,wle=hut((Sst(),xst(jw(_le,1),IVt,411,0,[gle,mle,ble,vle])))}function s7(){s7=L,dbe=hut((fbt(),xst(jw(vbe,1),IVt,197,0,[ube,hbe,lbe,cbe])))}function c7(){c7=L,lLe=hut((Ult(),xst(jw(fLe,1),IVt,396,0,[aLe,oLe,iLe,sLe])))}function l7(){l7=L,EBe=hut((zyt(),xst(jw(DBe,1),IVt,285,0,[kBe,yBe,wBe,TBe])))}function u7(){u7=L,Z_e=hut((Cdt(),xst(jw(oBe,1),IVt,218,0,[Y_e,V_e,q_e,W_e])))}function h7(){h7=L,nLe=hut((QAt(),xst(jw(rLe,1),IVt,311,0,[tLe,YSe,ZSe,JSe])))}function f7(){f7=L,QSe=hut((bpt(),xst(jw(VSe,1),IVt,374,0,[FSe,PSe,DSe,NSe])))}function d7(){d7=L,jHt(),QOe=FWt,ROe=PWt,HOe=new Md(FWt),UOe=new Md(PWt)}function A7(){A7=L,jue=new B_(VZt,0),Hue=new B_("IMPROVE_STRAIGHTNESS",1)}function p7(t,e){return cj(),zH(t,new nS(e,nft(e.e.c.length+e.g.c.length)))}function g7(t,e){return cj(),zH(t,new nS(e,nft(e.e.c.length+e.g.c.length)))}function m7(t,e){return 10!=gtt(e)&&xst(tlt(e),e.hm,e.__elementTypeId$,gtt(e),t),t}function b7(t,e){var n;return-1!=(n=w7(t,e,0))&&(s6(t,n),!0)}function v7(t,e){var n;return(n=QH(g6(t.e,e),387))?(Dj(n),n.e):null}function y7(t){var e;return WL(t)&&(e=0-t,!isNaN(e))?e:oot(act(t))}function w7(t,e,n){for(;n<t.c.length;++n)if(rV(e,t.c[n]))return n;return-1}function T7(t,e,n){var r;return wq(t),(r=new ct).a=e,t.a.Nb(new _x(r,n)),r.a}function k7(t){var e;return wq(t),e=O9(MNe,jWt,25,0,15,1),Ak(t.a,new fA(e)),e}function C7(t){var e;return e=QH(O$(t.j,0),11),QH(bEt(e,(lqt(),dfe)),11)}function E7(t){var e;if(!Jrt(t))throw Um(new bb);return t.e=1,e=t.d,t.d=null,e}function x7(t,e){var n;this.f=t,this.b=e,n=QH(DX(t.b,e),283),this.c=n?n.b:null}function _7(){jQ(),this.b=new Om,this.f=new Om,this.g=new Om,this.e=new Om}function B7(t,e){this.a=O9(Bse,a1t,10,t.a.c.length,0,1),Vgt(t.a,this.a),this.b=e}function S7(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--QH(O$(t.c.a,e),10).p}function L7(t){var e;null!=(e=t.Ai())&&-1!=t.d&&QH(e,92).Ng(t),t.i&&t.i.Fi()}function I7(t){XM(this),this.g=t?xY(t,t.$d()):null,this.f=t,yW(this),this._d()}function M7(t,e,n,r,i,a,o){yrt.call(this,e,r,i,a,o),this.c=t,this.b=n}function O7(t,e,n,r,i){return vq(t),vq(e),vq(n),vq(r),vq(i),new yz(t,e,r)}function N7(t,e){if(e<0)throw Um(new Sy(Z3t+e));return A4(t,e+1),O$(t.j,e)}function D7(t,e,n,r){if(!t)throw Um(new Py(IPt(e,xst(jw(Lte,1),Hqt,1,5,[n,r]))))}function F7(t,e){return rV(e,O$(t.f,0))||rV(e,O$(t.f,1))||rV(e,O$(t.f,2))}function P7(t,e){IR(QH(QH(t.f,33).We((cqt(),a_e)),98))&&Vdt(bV(QH(t.f,33)),e)}function R7(t,e){var n,r;return!(r=(n=QH(e,675)).Oh())&&n.Rh(r=new DS(t,e)),r}function Q7(t,e){var n,r;return!(r=(n=QH(e,677)).pk())&&n.tk(r=new F0(t,e)),r}function U7(t){return t.b||(t.b=new WK(t,zIe,t),!t.a&&(t.a=new oP(t,t))),t.b}function H7(){H7=L,Boe=new zx("XY",0),_oe=new zx("X",1),Soe=new zx("Y",2)}function j7(){j7=L,rie=new $x("TOP",0),nie=new $x(eJt,1),eie=new $x(sJt,2)}function $7(){$7=L,Ehe=new O_(VZt,0),xhe=new O_("TOP",1),Che=new O_(sJt,2)}function K7(){K7=L,Fbe=new j_("INPUT_ORDER",0),Pbe=new j_("PORT_DEGREE",1)}function G7(){G7=L,fee=kM(EWt,EWt,524287),dee=kM(0,0,_Wt),Aee=R5(1),R5(2),pee=R5(0)}function z7(t,e,n){t.a.c=O9(Lte,Hqt,1,0,5,1),z$t(t,e,n),0==t.a.c.length||uQt(t,e)}function X7(t){var e,n;return Vz(t,0,n=t.length,e=O9(_Ne,XVt,25,n,15,1),0),e}function q7(t){var e;return t.dh()||(e=hX(t.Tg())-t.Ah(),t.ph().bk(e)),t.Pg()}function V7(t){var e;return null==(e=ent(vot(t,32)))&&(ugt(t),e=ent(vot(t,32))),e}function W7(t,e){var n;return(n=LAt(t.d,e))>=0?Jmt(t,n,!0,!0):iLt(t,e,!0)}function Y7(t,e){var n,r;return kE(),n=l4(t),r=l4(e),!!n&&!!r&&!Pmt(n.k,r.k)}function J7(t,e){xnt(t,null==e||zR((vq(e),e))||isNaN((vq(e),e))?0:(vq(e),e))}function Z7(t,e){_nt(t,null==e||zR((vq(e),e))||isNaN((vq(e),e))?0:(vq(e),e))}function ttt(t,e){Ent(t,null==e||zR((vq(e),e))||isNaN((vq(e),e))?0:(vq(e),e))}function ett(t,e){Cnt(t,null==e||zR((vq(e),e))||isNaN((vq(e),e))?0:(vq(e),e))}function ntt(t){(this.q?this.q:(CW(),CW(),lne)).Ac(t.q?t.q:(CW(),CW(),lne))}function rtt(t,e){return rO(e,99)&&0!=(QH(e,18).Bb&UWt)?new OL(e,t):new Lot(e,t)}function itt(t,e){return rO(e,99)&&0!=(QH(e,18).Bb&UWt)?new OL(e,t):new Lot(e,t)}function att(t,e){Xie=new ne,tae=e,QH((zie=t).b,65),F9(zie,Xie,null),o$t(zie)}function ott(t,e,n){var r;return r=t.g[e],yO(t,e,t.oi(e,n)),t.gi(e,n,r),t.ci(),r}function stt(t,e){var n;return(n=t.Xc(e))>=0&&(t.$c(n),!0)}function ctt(t){var e;return t.d!=t.r&&(e=Bwt(t),t.e=!!e&&e.Cj()==T8t,t.d=e),t.e}function ltt(t,e){var n;for(bX(t),bX(e),n=!1;e.Ob();)n|=t.Fc(e.Pb());return n}function utt(t,e){var n;return(n=QH(DX(t.e,e),387))?(aO(t,n),n.e):null}function htt(t){var e,n;return e=t/60|0,0==(n=t%60)?""+e:e+":"+n}function ftt(t,e){return Vft(t),new D$(t,new FR(new k6(e,t.a)))}function dtt(t,e){var n=t.a[e],r=(Jst(),uee)[typeof n];return r?r(n):yut(typeof n)}function Att(t){switch(t.g){case 0:return Dqt;case 1:return-1;default:return 0}}function ptt(t){return Pwt(t,(G7(),pee))<0?-xN(act(t)):t.l+t.m*BWt+t.h*SWt}function gtt(t){return null==t.__elementTypeCategory$?10:t.__elementTypeCategory$}function mtt(t){var e;return null!=(e=0==t.b.c.length?null:O$(t.b,0))&&lit(t,0),e}function btt(t,e){for(;e[0]<t.length&&jL(" \t\r\n",WCt(lV(t,e[0])))>=0;)++e[0]}function vtt(t,e){this.e=e,this.a=qot(t),this.a<54?this.f=y2(t):this.c=Zgt(t)}function ytt(t,e,n,r){dqt(),Sm.call(this,26),this.c=t,this.a=e,this.d=n,this.b=r}function wtt(t,e,n){var r,i;for(r=10,i=0;i<n-1;i++)e<r&&(t.a+="0"),r*=10;t.a+=e}function Ttt(t,e){var n;for(n=0;t.e!=t.i.gc();)A$(e,ymt(t),nft(n)),n!=Dqt&&++n}function ktt(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function Ctt(t,e){var n,r,i;i=e.c.i,r=(n=QH(DX(t.f,i),57)).d.c-n.e.c,Wit(e.a,r,0)}function Ett(t){var e,n;return e=t+128,!(n=(y$(),wee)[e])&&(n=wee[e]=new Ld(t)),n}function xtt(t,e){var n;return vq(e),Ott(!!(n=t[":"+e]),xst(jw(Lte,1),Hqt,1,5,[e])),n}function _tt(t){var e,n;if(t.b){n=null;do{e=t.b,t.b=null,n=c_t(e,n)}while(t.b);t.b=n}}function Btt(t){var e,n;if(t.a){n=null;do{e=t.a,t.a=null,n=c_t(e,n)}while(t.a);t.a=n}}function Stt(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function Ltt(t,e){var n,r;for(n=(r=e.c)+1;n<=e.f;n++)t.a[n]>t.a[r]&&(r=n);return r}function Itt(t,e){var n;return 0==(n=Bdt(t.e.c,e.e.c))?xft(t.e.d,e.e.d):n}function Mtt(t,e){return 0==e.e||0==t.e?ene:(ILt(),LNt(t,e))}function Ott(t,e){if(!t)throw Um(new Py(WNt("Enum constant undefined: %s",e)))}function Ntt(){Ntt=L,ase=new Ee,ose=new ke,rse=new Le,ise=new Ie,sse=new Me}function Dtt(){Dtt=L,gre=new Qx("BY_SIZE",0),mre=new Qx("BY_SIZE_AND_SHAPE",1)}function Ftt(){Ftt=L,Nae=new Gx("EADES",0),Dae=new Gx("FRUCHTERMAN_REINGOLD",1)}function Ptt(){Ptt=L,Cue=new E_("READING_DIRECTION",0),Eue=new E_("ROTATION",1)}function Rtt(){Rtt=L,kue=hut((qbt(),xst(jw(xue,1),IVt,335,0,[bue,mue,yue,wue,vue])))}function Qtt(){Qtt=L,ybe=hut((Obt(),xst(jw(Sbe,1),IVt,315,0,[bbe,pbe,gbe,Abe,mbe])))}function Utt(){Utt=L,Ble=hut((Mkt(),xst(jw(Fle,1),IVt,363,0,[kle,Ele,xle,Cle,Tle])))}function Htt(){Htt=L,$fe=hut((kdt(),xst(jw(ebe,1),IVt,163,0,[Hfe,Pfe,Rfe,Qfe,Ufe])))}function jtt(){jtt=L,sCe=hut((Ixt(),xst(jw($Ce,1),IVt,316,0,[eCe,nCe,aCe,rCe,iCe])))}function $tt(){$tt=L,hEe=hut((rmt(),xst(jw(yEe,1),IVt,175,0,[cEe,sEe,aEe,lEe,oEe])))}function Ktt(){Ktt=L,Qke=hut((WOt(),xst(jw($ke,1),IVt,355,0,[Nke,Oke,Fke,Dke,Pke])))}function Gtt(){Gtt=L,Hoe=hut((vEt(),xst(jw(Koe,1),IVt,356,0,[Doe,Foe,Poe,Roe,Qoe])))}function ztt(){ztt=L,j_e=hut((Qht(),xst(jw(z_e,1),IVt,103,0,[Q_e,R_e,P_e,F_e,U_e])))}function Xtt(){Xtt=L,$Be=hut((imt(),xst(jw(WBe,1),IVt,249,0,[QBe,HBe,PBe,RBe,UBe])))}function qtt(){qtt=L,BSe=hut((yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])))}function Vtt(t,e){var n;return(n=QH(DX(t.a,e),134))||(n=new Jt,Xq(t.a,e,n)),n}function Wtt(t){var e;return!!(e=QH(bEt(t,(lqt(),Dhe)),305))&&e.a==t}function Ytt(t){var e;return!!(e=QH(bEt(t,(lqt(),Dhe)),305))&&e.i==t}function Jtt(t,e){return vq(e),NG(t),!!t.d.Ob()&&(e.td(t.d.Pb()),!0)}function Ztt(t){return qut(t,Dqt)>0?Dqt:qut(t,RVt)<0?RVt:dK(t)}function tet(t){return t<3?(hrt(t,BVt),t+1):t<SVt?xJ(t/.75+1):Dqt}function eet(t,e){var n;return null==t.i&&jUt(t),n=t.i,e>=0&&e<n.length?n[e]:null}function net(t,e,n){var r;if(null==e)throw Um(new Ab);return r=$J(t,e),e3(t,e,n),r}function ret(t){return t.a>=-.01&&t.a<=uJt&&(t.a=0),t.b>=-.01&&t.b<=uJt&&(t.b=0),t}function iet(t,e){return e==(rQ(),rQ(),kne)?t.toLocaleLowerCase():t.toLowerCase()}function aet(t){return(0!=(2&t.i)?"interface ":0!=(1&t.i)?"":"class ")+(wF(t),t.o)}function oet(t){var e;e=new Lv,l8((!t.q&&(t.q=new tz(XIe,t,11,10)),t.q),e)}function set(t,e){var n;return n=e>0?e-1:e,LT(IT(Qnt(Ij(new Gv,n),t.n),t.j),t.k)}function cet(t,e,n,r){t.j=-1,jLt(t,T_t(t,e,n),(YE(),QH(e,66).Mj().Ok(r)))}function uet(t){this.g=t,this.f=new Mm,this.a=e.Math.min(this.g.c.c,this.g.d.c)}function het(t){this.b=new Mm,this.a=new Mm,this.c=new Mm,this.d=new Mm,this.e=t}function fet(t,e){this.a=new Om,this.e=new Om,this.b=(Cut(),abe),this.c=t,this.b=e}function det(t,e,n){MP.call(this),Net(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function Aet(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(ny(),Kte)}function pet(t){if(t<0)throw Um(new Py("Illegal Capacity: "+t));this.g=this.ri(t)}function get(t,e){if(0>t||t>e)throw Um(new Tw("fromIndex: 0, toIndex: "+t+lYt+e))}function met(t){var e;if(t.a==t.b.a)throw Um(new bb);return e=t.a,t.c=e,t.a=t.a.e,e}function bet(t){var e;kD(!!t.c),e=t.c.a,Let(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function vet(t,e){var n;return Vft(t),n=new gW(t,t.a.rd(),4|t.a.qd(),e),new D$(t,n)}function yet(t,e){var n,r;return(n=QH(hht(t.d,e),14))?(r=e,t.e.pc(r,n)):null}function wet(t,e){var n;for(n=t.Kc();n.Ob();)lct(QH(n.Pb(),70),(lqt(),afe),e)}function Tet(t){var e;return(e=jy(kF(bEt(t,(HXt(),ige)))))<0&&lct(t,ige,e=0),e}function ket(t,n,r){var i;Qwt(r,i=e.Math.max(0,t.b/2-.5),1),zH(n,new e_(r,i))}function Cet(t,e,n){return xJ(Uj(t.a.e[QH(e.a,10).p]-t.a.e[QH(n.a,10).p]))}function Eet(t,e,n,r,i,a){var o;CZ(o=z5(r),i),kZ(o,a),YSt(t.a,r,new IQ(o,e,n.f))}function xet(t,e){var n;if(!(n=ONt(t.Tg(),e)))throw Um(new Py(r6t+e+o6t));return n}function _et(t,e){var n;for(n=t;WJ(n);)if((n=WJ(n))==e)return!0;return!1}function Bet(t,e){var n,r,i;for(r=e.a.cd(),n=QH(e.a.dd(),14).gc(),i=0;i<n;i++)t.td(r)}function Set(t,e){var n,r,i,a;for(vq(e),i=0,a=(r=t.c).length;i<a;++i)n=r[i],e.td(n)}function Let(t,e){var n;return n=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--t.b,n}function Iet(t,e){return!(!e||t.b[e.g]!=e||(LX(t.b,e.g,null),--t.c,0))}function Met(t,e){return!!Jit(t,e,dK(idt(EVt,nV(dK(idt(null==e?0:Zct(e),xVt)),15))))}function Oet(t,e){IR(QH(bEt(QH(t.e,10),(HXt(),tme)),98))&&(CW(),mM(QH(t.e,10).j,e))}function Net(t){t.b=(W8(),qre),t.f=(j7(),nie),t.d=(hrt(2,LVt),new W6(2)),t.e=new jT}function Det(){Det=L,jre=new Hx("BEGIN",0),$re=new Hx(eJt,1),Kre=new Hx("END",2)}function Fet(){Fet=L,$_e=new PB(eJt,0),K_e=new PB("HEAD",1),G_e=new PB("TAIL",2)}function Pet(){return lIt(),xst(jw(rIe,1),IVt,237,0,[tIe,YLe,JLe,WLe,ZLe,qLe,XLe,VLe])}function Ret(){return x_t(),xst(jw(CEe,1),IVt,277,0,[vEe,fEe,gEe,bEe,dEe,AEe,pEe,mEe])}function Qet(){return yFt(),xst(jw(eue,1),IVt,270,0,[Qle,jle,Rle,Gle,Hle,Ule,Kle,$le])}function Uet(){return cNt(),xst(jw(Nbe,1),IVt,260,0,[_be,Tbe,Ebe,kbe,Cbe,wbe,xbe,Bbe])}function Het(){Het=L,YBe=hut((Vkt(),xst(jw(iSe,1),IVt,98,0,[VBe,qBe,XBe,KBe,zBe,GBe])))}function jet(){jet=L,Jre=(Det(),xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length,Yre=Jre}function $et(t){this.b=(bX(t),new ZR(t)),this.a=new Mm,this.d=new Mm,this.e=new jT}function Ket(t){var n;return(n=e.Math.sqrt(t.a*t.a+t.b*t.b))>0&&(t.a/=n,t.b/=n),t}function Get(t){var e;return t.w?t.w:((e=X1(t))&&!e.kh()&&(t.w=e),e)}function zet(t){var e;return null==t?null:qCt(e=QH(t,190),e.length)}function Xet(t,e){if(null==t.g||e>=t.i)throw Um(new IL(e,t.i));return t.li(e,t.g[e])}function qet(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)sit(t.b,e),e=Cft(e);sit(t.b,e)}function Vet(t){var e;for(e=0;e<t.c.length;e++)(u1(e,t.c.length),QH(t.c[e],11)).p=e}function Wet(t,e,n){var r,i,a;for(i=e[n],r=0;r<i.length;r++)a=i[r],t.e[a.c.p][a.p]=r}function Yet(t,e){var n,r,i,a;for(i=0,a=(r=t.d).length;i<a;++i)n=r[i],uO(t.g,n).a=e}function Jet(t,e){var n;for(n=cmt(t,0);n.b!=n.d.c;)KP(QH(h4(n),8),e);return t}function Zet(t,e){return GP(QM(QH(DX(t.g,e),8)),PM(QH(DX(t.f,e),460).b))}function tnt(t){var e;return p2(t.e,t),ED(t.b),t.c=t.a,e=QH(t.a.Pb(),42),t.b=Ast(t),e}function ent(t){var e;return Wj(null==t||Array.isArray(t)&&!((e=gtt(t))>=14&&e<=16)),t}function nnt(t,e,n){var r=function(){return t.apply(r,arguments)};return e.apply(r,n),r}function rnt(t,e,n){var r,i;r=e;do{i=jy(t.p[r.p])+n,t.p[r.p]=i,r=t.a[r.p]}while(r!=e)}function int(t,e){var n,r;r=t.a,n=Vht(t,e,null),r!=e&&!t.e&&(n=aGt(t,e,n)),n&&n.Fi()}function ant(t,n){return cM(),rrt(PVt),e.Math.abs(t-n)<=PVt||t==n||isNaN(t)&&isNaN(n)}function ont(t,n){return cM(),rrt(PVt),e.Math.abs(t-n)<=PVt||t==n||isNaN(t)&&isNaN(n)}function snt(t,e){return REt(),wM(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}function cnt(t,e){return YT(Yit(t,e,dK(idt(EVt,nV(dK(idt(null==e?0:Zct(e),xVt)),15)))))}function lnt(){lnt=L,Sse=hut((oxt(),xst(jw(Lse,1),IVt,267,0,[xse,Ese,kse,_se,Cse,Tse])))}function unt(){unt=L,ZEe=hut((dkt(),xst(jw(H_e,1),IVt,291,0,[YEe,WEe,VEe,XEe,zEe,qEe])))}function hnt(){hnt=L,OEe=hut((dbt(),xst(jw(JEe,1),IVt,248,0,[xEe,SEe,LEe,IEe,_Ee,BEe])))}function fnt(){fnt=L,nue=hut((I_t(),xst(jw(aue,1),IVt,227,0,[Yle,Zle,Wle,Jle,tue,Vle])))}function dnt(){dnt=L,ohe=hut((YEt(),xst(jw(mhe,1),IVt,275,0,[rhe,the,ihe,nhe,ehe,Zue])))}function Ant(){Ant=L,Jue=hut((UTt(),xst(jw(ahe,1),IVt,274,0,[que,Xue,Wue,zue,Vue,Gue])))}function pnt(){pnt=L,nbe=hut((kCt(),xst(jw(obe,1),IVt,313,0,[Zme,Yme,Vme,Wme,tbe,Jme])))}function gnt(){gnt=L,Uue=hut((pxt(),xst(jw($ue,1),IVt,276,0,[Nue,Oue,Fue,Due,Rue,Pue])))}function mnt(){mnt=L,Wye=hut((D_t(),xst(jw(Pwe,1),IVt,327,0,[qye,Kye,zye,Gye,Xye,$ye])))}function bnt(){bnt=L,aSe=hut((hSt(),xst(jw(_Se,1),IVt,273,0,[nSe,tSe,eSe,ZBe,JBe,rSe])))}function vnt(){vnt=L,sBe=hut((ZCt(),xst(jw(bBe,1),IVt,312,0,[iBe,nBe,aBe,tBe,rBe,eBe])))}function ynt(){return ZIt(),xst(jw(jBe,1),IVt,93,0,[_Be,xBe,SBe,NBe,OBe,MBe,LBe,IBe,BBe])}function wnt(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,0,n,t.a))}function Tnt(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,1,n,t.b))}function knt(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,3,n,t.b))}function Cnt(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,3,n,t.f))}function Ent(t,e){var n;n=t.g,t.g=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,4,n,t.g))}function xnt(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,5,n,t.i))}function _nt(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,6,n,t.j))}function Bnt(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,1,n,t.j))}function Snt(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,4,n,t.c))}function Lnt(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new l3(t,2,n,t.k))}function Int(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new u3(t,2,n,t.d))}function Mnt(t,e){var n;n=t.s,t.s=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new u3(t,4,n,t.s))}function Ont(t,e){var n;n=t.t,t.t=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new u3(t,5,n,t.t))}function Nnt(t,e){var n;n=t.F,t.F=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,5,n,e))}function Dnt(t,e){var n;return(n=QH(DX((JE(),gIe),t),55))?n.xj(e):O9(Lte,Hqt,1,e,5,1)}function Fnt(t,e){var n;return e in t.a&&(n=$J(t,e).he())?n.a:null}function Pnt(t,e){var n,r;return ZT(),r=new cc,!!e&&BNt(r,e),Nrt(n=r,t),n}function Rnt(t,e,n){if(Nlt(t,n),!t.Bk()&&null!=n&&!t.wj(n))throw Um(new ub);return n}function Qnt(t,e){return t.n=e,t.n?(t.f=new Mm,t.e=new Mm):(t.f=null,t.e=null),t}function Unt(t,e,n,r,i,a){var o;return Vnt(n,o=mX(t,e)),o.i=i?8:0,o.f=r,o.e=i,o.g=a,o}function Hnt(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=t,this.a=n}function jnt(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=t,this.a=n}function $nt(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=t,this.a=n}function Knt(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=t,this.a=n}function Gnt(t,e,n,r,i){this.d=e,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=t,this.a=n}function znt(t,e){var n,r,i,a;for(i=0,a=(r=e).length;i<a;++i)n=r[i],X8(t.a,n);return t}function Xnt(t){var e,n,r;for(n=0,r=(e=t).length;n<r;++n)bX(e[n]);return new SL(t)}function qnt(t){var e=/function(?:\s+([\w$]+))?\s*\(/.exec(t);return e&&e[1]||KVt}function Vnt(t,e){if(t){e.n=t;var n=KJ(e);n?n.gm=e:Eqt[t]=[e]}}function Wnt(t,n,r){var i;return i=t.length,RBt(t,0,n,0,e.Math.min(r,i),!0),n}function Ynt(t,e,n){var r,i;for(i=e.Kc();i.Ob();)r=QH(i.Pb(),79),Tz(t,QH(n.Kb(r),33))}function Jnt(){Vk();for(var t=xqt,e=0;e<arguments.length;e++)t.push(arguments[e])}function Znt(t,e){var n,r,i;for(r=0,i=(n=e).length;r<i;++r)n5(t,n[r],t.c.b,t.c)}function trt(t,n){t.b=e.Math.max(t.b,n.d),t.e+=n.r+(0==t.a.c.length?0:t.c),zH(t.a,n)}function ert(t){kD(t.c>=0),rgt(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function nrt(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=vut(t.f)),t.c).e}function rrt(t){if(!(t>=0))throw Um(new Py("tolerance ("+t+") must be >= 0"));return t}function irt(){return rEe||ylt(rEe=new SPt,xst(jw(Pre,1),Hqt,130,0,[new Ih])),rEe}function art(){art=L,jbe=new $_(lJt,0),Ube=new $_("INPUT",1),Hbe=new $_("OUTPUT",2)}function ort(){ort=L,fue=new k_("ARD",0),Aue=new k_("MSD",1),due=new k_("MANUAL",2)}function srt(){srt=L,Bve=new V_("BARYCENTER",0),Sve=new V_(T1t,1),Lve=new V_(k1t,2)}function crt(t,e){var n;if(n=t.gc(),e<0||e>n)throw Um(new ZP(e,n));return new DR(t,e)}function lrt(t,e){var n;return rO(e,42)?t.c.Mc(e):(n=rpt(t,e),Xpt(t,e),n)}function urt(t,e,n){return But(t,e),Oit(t,n),Mnt(t,0),Ont(t,1),Zht(t,!0),Wht(t,!0),t}function hrt(t,e){if(t<0)throw Um(new Py(e+" cannot be negative but was: "+t));return t}function frt(t,e){var n,r;for(n=0,r=t.gc();n<r;++n)if(rV(e,t.Xb(n)))return n;return-1}function drt(t){var e;for(e=t.c.Cc().Kc();e.Ob();)QH(e.Pb(),14).$b();t.c.$b(),t.d=0}function Art(t){var e,n,r,i;for(r=0,i=(n=t.a).length;r<i;++r)qz(e=n[r],e.length,null)}function prt(t){var e,n;if(0==t)return 32;for(n=0,e=1;0==(e&t);e<<=1)++n;return n}function grt(t){var e;for(e=new zd(eyt(t));e.a<e.c.c.length;)QH(J1(e),680).Gf()}function mrt(t){gE(),this.g=new Om,this.f=new Om,this.b=new Om,this.c=new pJ,this.i=t}function brt(){this.f=new jT,this.d=new fv,this.c=new jT,this.a=new Mm,this.b=new Mm}function vrt(t,e,n,r){this.rj(),this.a=e,this.b=t,this.c=null,this.c=new uR(this,e,n,r)}function yrt(t,e,n,r,i){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1,i||(this.o=-2-r-1)}function wrt(){BO.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=y6t}function Trt(){return ZRt(),xst(jw(eLe,1),IVt,259,0,[jSe,KSe,HSe,GSe,zSe,qSe,XSe,$Se,USe])}function krt(){return tPt(),xst(jw(Qre,1),IVt,250,0,[Dre,Lre,Ire,Sre,Ore,Nre,Mre,Bre,_re])}function Crt(){Crt=L,See=xst(jw(BNe,1),lWt,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Ert(){Ert=L,vve=d$(d$(d$(new Q2,(vEt(),Doe),(hqt(),rce)),Foe,Bce),Poe,_ce)}function xrt(){xrt=L,yve=d$(d$(d$(new Q2,(vEt(),Doe),(hqt(),rce)),Foe,Bce),Poe,_ce)}function _rt(){_rt=L,kve=d$(d$(d$(new Q2,(vEt(),Doe),(hqt(),rce)),Foe,Bce),Poe,_ce)}function Brt(){Brt=L,xve=zK(d$(d$(new Q2,(vEt(),Poe),(hqt(),Ice)),Roe,wce),Qoe,Lce)}function Srt(){Srt=L,cue=new T_("LAYER_SWEEP",0),sue=new T_(U1t,1),lue=new T_(VZt,2)}function Lrt(t,e){var n,r;return n=t.c,(r=e.e[t.p])>0?QH(O$(n.a,r-1),10):null}function Irt(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,2,n,t.k))}function Mrt(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,8,n,t.f))}function Ort(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,7,n,t.i))}function Nrt(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,8,n,t.a))}function Drt(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,0,n,t.b))}function Frt(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,0,n,t.b))}function Prt(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,1,n,t.c))}function Rrt(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,1,n,t.c))}function Qrt(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,4,n,t.c))}function Urt(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,1,n,t.d))}function Hrt(t,e){var n;n=t.D,t.D=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,2,n,t.D))}function jrt(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&0!=t.g&&jrt(t.i,e/t.r*t.i.d))}function $rt(t,e,n){var r;t.b=e,t.a=n,r=512==(512&t.a)?new Rv:new Fu,t.c=CFt(r,t.b,t.a)}function Krt(t,e){return IDt(t.e,e)?(YE(),ctt(e)?new u$(e,t):new OS(e,t)):new FS(e,t)}function Grt(t,e){return WT(Jit(t.a,e,dK(idt(EVt,nV(dK(idt(null==e?0:Zct(e),xVt)),15)))))}function zrt(t,e,n){return O7(t,new lA(e),new ot,new uA(n),xst(jw(Jne,1),IVt,132,0,[]))}function Xrt(t){return 0>t?new XC:new LF(null,new m5(t+1,t))}function qrt(t,e){var n;return CW(),n=new GC(1),GS(t)?mZ(n,t,e):wBt(n.f,t,e),new Gd(n)}function Vrt(t,e){var n,r;return(n=t.o+t.p)<(r=e.o+e.p)?-1:n==r?0:1}function Wrt(t){var e;return rO(e=bEt(t,(lqt(),dfe)),160)?bAt(QH(e,160)):null}function Yrt(t){var n;return(t=e.Math.max(t,2))>(n=yct(t))?(n<<=1)>0?n:SVt:n}function Jrt(t){switch(aN(3!=t.e),t.e){case 2:return!1;case 0:return!0}return P5(t)}function Zrt(t,e){var n;return!!rO(e,8)&&(n=QH(e,8),t.a==n.a&&t.b==n.b)}function tit(t,e,n){var r,i;return i=e>>5,r=31&e,t0(yG(t.n[n][i],dK(bG(r,1))),3)}function eit(t,e){var n,r;for(r=e.vc().Kc();r.Ob();)mTt(t,(n=QH(r.Pb(),42)).cd(),n.dd())}function nit(t,e){var n;n=new ne,QH(e.b,65),QH(e.b,65),QH(e.b,65),Set(e.a,new TH(t,n,e))}function rit(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,21,n,t.b))}function iit(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,11,n,t.d))}function ait(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,13,n,t.j))}function oit(t,e,n){var r,i,a;for(a=t.a.length-1,i=t.b,r=0;r<n;i=i+1&a,++r)LX(e,r,t.a[i])}function sit(t,e){var n;return vq(e),n=e.g,!t.b[n]&&(LX(t.b,n,e),++t.c,!0)}function cit(t,e){var n;return!((n=null==e?-1:w7(t.b,e,0))<0||(lit(t,n),0))}function lit(t,e){var n;n=s6(t.b,t.b.c.length-1),e<t.b.c.length&&(r5(t.b,e,n),PBt(t,e))}function uit(t,e){0==(v5(),qne?null:e.c).length&&$F(e,new X),mZ(t.a,qne?null:e.c,e)}function hit(t,e){SCt(e,"Hierarchical port constraint processing",1),fmt(t),WXt(t),Hxt(e)}function fit(t,e){var n,r;for(r=e.Kc();r.Ob();)n=QH(r.Pb(),266),t.b=!0,Tz(t.e,n),n.b=t}function dit(t,e){var n,r;return n=1-e,r=t.a[n],t.a[n]=r.a[e],r.a[e]=t,t.b=!0,r.b=!1,r}function Ait(t,e){var n,r;return n=QH(bEt(t,(HXt(),sme)),8),r=QH(bEt(e,sme),8),xft(n.b,r.b)}function pit(t){DK.call(this),this.b=jy(kF(bEt(t,(HXt(),bme)))),this.a=QH(bEt(t,Ype),218)}function git(t,e,n){j2.call(this,t,e,n),this.a=new Om,this.b=new Om,this.d=new zp(this)}function mit(t){this.e=t,this.d=new hk(tet(AG(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function bit(t){this.b=t,this.a=O9(BNe,lWt,25,t+1,15,1),this.c=O9(BNe,lWt,25,t,15,1),this.d=0}function vit(t,e,n){var r;return wDt(t,e,r=new Mm,n,!0,!0),t.b=new bit(r.c.length),r}function yit(t,e){var n;return(n=QH(DX(t.c,e),458))||((n=new rv).c=e,Xq(t.c,n.c,n)),n}function wit(t,e){var n=t.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(e[r++]=i);return e}function Tit(t){return null==t.b?(VE(),VE(),MMe):t.Lk()?t.Kk():t.Jk()}function kit(t){var e,n;for(n=new SO(t);n.e!=n.i.gc();)xnt(e=QH(ymt(n),33),0),_nt(e,0)}function Cit(){Cit=L,soe=new am(SZt),coe=new am(LZt),ooe=new am(IZt),aoe=new am(MZt)}function Eit(){Eit=L,Hse=new Yx("TO_INTERNAL_LTR",0),Use=new Yx("TO_INPUT_DIRECTION",1)}function xit(){xit=L,qwe=new dB("P1_NODE_PLACEMENT",0),Vwe=new dB("P2_EDGE_ROUTING",1)}function _it(){_it=L,Dle=new v_("START",0),Nle=new v_("MIDDLE",1),Ole=new v_("END",2)}function Bit(){Bit=L,Zce=new eP("edgelabelcenterednessanalysis.includelabel",(cN(),gee))}function Sit(t,e){WC(SV(new D$(null,new f1(new xd(t.b),1)),new WB(t,e)),new JB(t,e))}function Lit(){this.c=new _k(0),this.b=new _k(U4t),this.d=new _k(Q4t),this.a=new _k(YJt)}function Iit(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Kf(e=QH(n.Pb(),214),new HEt(e.e))}function Mit(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)$f(e=QH(n.Pb(),214),new XG(e.f))}function Oit(t,e){var n;n=t.zb,t.zb=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,1,n,t.zb))}function Nit(t,e){var n;n=t.xb,t.xb=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,3,n,t.xb))}function Dit(t,e){var n;n=t.yb,t.yb=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,2,n,t.yb))}function Fit(t,e){var n;(n=new Bv).n=e,l8((!t.s&&(t.s=new tz(PIe,t,21,17)),t.s),n)}function Pit(t,e){var n;(n=new pF).n=e,l8((!t.s&&(t.s=new tz(PIe,t,21,17)),t.s),n)}function Rit(t,e){var n,r;for($8(n=t.Pc(),0,n.length,e),r=0;r<n.length;r++)t._c(r,n[r])}function Qit(t,e){var n,r,i;for(vq(e),n=!1,i=e.Kc();i.Ob();)r=i.Pb(),n|=t.Fc(r);return n}function Uit(t){var e,n,r;for(e=0,r=t.Kc();r.Ob();)e=~~(e+=null!=(n=r.Pb())?Zct(n):0);return e}function Hit(t){var e;return 0==t?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+htt(t))}function jit(t,e){var n;return rO(e,14)?(n=QH(e,14),t.Gc(n)):ltt(t,QH(bX(e),20).Kc())}function $it(t,e,n){fet.call(this,e,n),this.d=O9(Bse,a1t,10,t.a.c.length,0,1),Vgt(t.a,this.d)}function Kit(t){t.a=null,t.e=null,t.b.c=O9(Lte,Hqt,1,0,5,1),t.f.c=O9(Lte,Hqt,1,0,5,1),t.c=null}function Git(t,e){e?null==t.B&&(t.B=t.D,t.D=null):null!=t.B&&(t.D=t.B,t.B=null)}function zit(t,e){return jy(kF(LN(Iht(LV(new D$(null,new f1(t.c.b,16)),new Op(t)),e))))}function Xit(t,e){return jy(kF(LN(Iht(LV(new D$(null,new f1(t.c.b,16)),new Mp(t)),e))))}function qit(t,e){SCt(e,y1t,1),WC(ftt(new D$(null,new f1(t.b,16)),new Je),new Ze),Hxt(e)}function Vit(t,e){var n,r;return n=QH(JIt(t,(Gyt(),ITe)),19),r=QH(JIt(e,ITe),19),wM(n.a,r.a)}function Wit(t,e,n){var r,i;for(i=cmt(t,0);i.b!=i.d.c;)(r=QH(h4(i),8)).a+=e,r.b+=n;return t}function Yit(t,e,n){var r;for(r=t.b[n&t.f];r;r=r.b)if(n==r.a&&fq(e,r.g))return r;return null}function Jit(t,e,n){var r;for(r=t.c[n&t.f];r;r=r.d)if(n==r.f&&fq(e,r.i))return r;return null}function Zit(t,e,n){var r,i,a;for(r=0,i=0;i<n;i++)a=e[i],t[i]=a<<1|r,r=a>>>31;0!=r&&(t[n]=r)}function tat(t,e){var n,r;for(CW(),r=new Mm,n=0;n<t;++n)r.c[r.c.length]=e;return new Lw(r)}function eat(t){var e;return qS((e=T2(t)).a,0)?(cE(),cE(),Ene):(cE(),new bD(e.b))}function nat(t){var e;return qS((e=T2(t)).a,0)?(cE(),cE(),Ene):(cE(),new bD(e.c))}function rat(t){var e;return qS((e=w2(t)).a,0)?(lE(),lE(),xne):(lE(),new vD(e.b))}function iat(t){return t.b.c.i.k==(oxt(),kse)?QH(bEt(t.b.c.i,(lqt(),dfe)),11):t.b.c}function aat(t){return t.b.d.i.k==(oxt(),kse)?QH(bEt(t.b.d.i,(lqt(),dfe)),11):t.b.d}function oat(t,e,n,r,i,a,o,s,c,l,u,h,f){return fBt(t,e,n,r,i,a,o,s,c,l,u,h,f),$ft(t,!1),t}function sat(t,e,n,r,i,a,o){AC.call(this,t,e),this.d=n,this.e=r,this.c=i,this.b=a,this.a=a6(o)}function cat(t,e){typeof window===Lqt&&typeof window.$gwt===Lqt&&(window.$gwt[t]=e)}function lat(t,e){return Lst(),t==Yoe&&e==tse||t==tse&&e==Yoe||t==Zoe&&e==Joe||t==Joe&&e==Zoe}function uat(t,e){return Lst(),t==Yoe&&e==Joe||t==Yoe&&e==Zoe||t==tse&&e==Zoe||t==tse&&e==Joe}function hat(t,n){return cM(),rrt(uJt),e.Math.abs(0-n)<=uJt||0==n||isNaN(0)&&isNaN(n)?0:t/n}function fat(){return fFt(),xst(jw(The,1),IVt,256,0,[che,uhe,hhe,fhe,dhe,Ahe,ghe,she,lhe,phe])}function dat(){dat=L,CMe=new _v,xMe=xst(jw(PIe,1),O8t,170,0,[]),EMe=xst(jw(XIe,1),N8t,59,0,[])}function Aat(){Aat=L,sve=new X_("NO",0),ave=new X_("GREEDY",1),ove=new X_("LOOK_BACK",2)}function pat(){pat=L,Nse=new He,Mse=new Ue,Ose=new je,Ise=new $e,Dse=new Ke,Fse=new Ge}function gat(t){var e,n;for(n=0,e=new zd(t.b);e.a<e.c.c.length;)QH(J1(e),29).p=n,++n}function mat(t,e){var n;return ISt(new OB((n=RCt(t)).c,n.d),new OB(n.b,n.a),t.rf(),e,t.Hf())}function bat(t,e){var n;return t.b?null:(n=set(t,t.g),Nj(t.a,n),n.i=t,t.d=e,n)}function vat(t,e,n){SCt(n,"DFS Treeifying phase",1),wpt(t,e),iDt(t,e),t.a=null,t.b=null,Hxt(n)}function yat(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new Mm,GBt(this),CW(),mM(this.a,null)}function wat(t){this.i=t.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),t.Qc(this.g))}function Tat(t,e){kj.call(this,GMe,t,e),this.b=this,this.a=aDt(t.Tg(),eet(this.e.Tg(),this.c))}function kat(t,e){var n,r;for(vq(e),r=e.vc().Kc();r.Ob();)n=QH(r.Pb(),42),t.zc(n.cd(),n.dd())}function Cat(t,e,n){var r;for(r=n.Kc();r.Ob();)if(!j4(t,e,r.Pb()))return!1;return!0}function Eat(t,e,n,r,i){var a;return n&&(a=LAt(e.Tg(),t.c),i=n.gh(e,-1-(-1==a?r:a),null,i)),i}function xat(t,e,n,r,i){var a;return n&&(a=LAt(e.Tg(),t.c),i=n.ih(e,-1-(-1==a?r:a),null,i)),i}function _at(t){var e;if(-2==t.b){if(0==t.e)e=-1;else for(e=0;0==t.a[e];e++);t.b=e}return t.b}function Bat(t){switch(t.g){case 2:return yzt(),xSe;case 4:return yzt(),oSe;default:return t}}function Sat(t){switch(t.g){case 1:return yzt(),CSe;case 3:return yzt(),sSe;default:return t}}function Lat(t){var e,n,r;return t.j==(yzt(),sSe)&&(n=CN(e=GLt(t),oSe),(r=CN(e,xSe))||r&&n)}function Iat(t){var e;return new VR(e=QH(t.e&&t.e(),9),QH(Xz(e,e.length),9),e.length)}function Mat(t,e){SCt(e,y1t,1),tAt(sE(new EA((AE(),new UV(t,!1,!1,new Qe))))),Hxt(e)}function Oat(t,e){return cN(),GS(t)?l6(t,CF(e)):KS(t)?TG(t,kF(e)):$S(t)?wG(t,TF(e)):t.wd(e)}function Nat(t,n){n.q=t,t.d=e.Math.max(t.d,n.r),t.b+=n.d+(0==t.a.c.length?0:t.c),zH(t.a,n)}function Dat(t,e){var n,r,i,a;return i=t.c,n=t.c+t.b,a=t.d,r=t.d+t.a,e.a>i&&e.a<n&&e.b>a&&e.b<r}function Fat(t,e,n,r){rO(t.Cb,179)&&(QH(t.Cb,179).tb=null),Oit(t,n),e&&RSt(t,e),r&&t.xk(!0)}function Pat(t,e){var n;HW(n=QH(e,183),"x",t.i),HW(n,"y",t.j),HW(n,_6t,t.g),HW(n,x6t,t.f)}function Rat(){Rat=L,_ve=sgt(yL(d$(d$(new Q2,(vEt(),Poe),(hqt(),Ice)),Roe,wce),Qoe),Lce)}function Qat(){Qat=L,Nve=sgt(yL(d$(d$(new Q2,(vEt(),Poe),(hqt(),Ice)),Roe,wce),Qoe),Lce)}function Uat(){Uat=L,GTe=new bB(VZt,0),zTe=new bB("POLAR_COORDINATE",1),KTe=new bB("ID",2)}function Hat(){Hat=L,Gbe=new K_("EQUALLY",0),zbe=new K_(bJt,1),Xbe=new K_("NORTH_SOUTH",2)}function jat(){jat=L,Lbe=hut((cNt(),xst(jw(Nbe,1),IVt,260,0,[_be,Tbe,Ebe,kbe,Cbe,wbe,xbe,Bbe])))}function $at(){$at=L,Xle=hut((yFt(),xst(jw(eue,1),IVt,270,0,[Qle,jle,Rle,Gle,Hle,Ule,Kle,$le])))}function Kat(){Kat=L,wEe=hut((x_t(),xst(jw(CEe,1),IVt,277,0,[vEe,fEe,gEe,bEe,dEe,AEe,pEe,mEe])))}function Gat(){Gat=L,nIe=hut((lIt(),xst(jw(rIe,1),IVt,237,0,[tIe,YLe,JLe,WLe,ZLe,qLe,XLe,VLe])))}function zat(){zat=L,qie=new eP("debugSVG",(cN(),!1)),Vie=new eP("overlapsExisted",!0)}function Xat(t,e){return O7(new oA(t),new sA(e),new cA(e),new et,xst(jw(Jne,1),IVt,132,0,[]))}function qat(){var t;return Hne||(Hne=new Fb,VI(t=new b5(""),(uE(),Une)),uit(Hne,t)),Hne}function Vat(t,e){for(bX(e);t.Ob();)if(!Vot(QH(t.Pb(),10)))return!1;return!0}function Wat(t,e){var n;return!!(n=zPt(irt(),t))&&(Wmt(e,(cqt(),m_e),n),!0)}function Yat(t,e){var n;for(n=0;n<e.j.c.length;n++)QH(N7(t,n),21).Gc(QH(N7(e,n),14));return t}function Jat(t,e){var n,r;for(r=new zd(e.b);r.a<r.c.c.length;)n=QH(J1(r),29),t.a[n.p]=VEt(n)}function Zat(t,e){var n,r;for(vq(e),r=t.vc().Kc();r.Ob();)n=QH(r.Pb(),42),e.Od(n.cd(),n.dd())}function tot(t,e){rO(e,83)?(QH(t.c,76).Xj(),eit(t,QH(e,83))):QH(t.c,76).Wb(e)}function eot(t){return rO(t,152)?o6(QH(t,152)):rO(t,131)?QH(t,131).a:rO(t,54)?new ly(t):new xC(t)}function not(t,e){return e<t.b.gc()?QH(t.b.Xb(e),10):e==t.b.gc()?t.a:QH(O$(t.e,e-t.b.gc()-1),10)}function rot(t,n){t.a=rdt(t.a,1),t.c=e.Math.min(t.c,n),t.b=e.Math.max(t.b,n),t.d=rdt(t.d,n)}function iot(t,e){SCt(e,"Edge and layer constraint edge reversal",1),QGt(MPt(t)),Hxt(e)}function aot(t){var e;null==t.d?(++t.e,t.f=0,rht(null)):(++t.e,e=t.d,t.d=null,t.f=0,rht(e))}function oot(t){var e;return 0==(e=t.h)?t.l+t.m*BWt:e==xWt?t.l+t.m*BWt-SWt:t}function sot(t){return HF(),t.A.Hc((bpt(),NSe))&&!t.B.Hc((ZRt(),KSe))?ZAt(t):null}function cot(t){if(vq(t),0==t.length)throw Um(new kw("Zero length BigInteger"));nRt(this,t)}function lot(t){if(!t)throw Um(new Ry("no calls to next() since the last call to remove()"))}function uot(t){return IWt<t&&t<SWt?t<0?e.Math.ceil(t):e.Math.floor(t):oot(pNt(t))}function hot(t,e){var n,r,i;for(n=t.c.Ee(),i=e.Kc();i.Ob();)r=i.Pb(),t.a.Od(n,r);return t.b.Kb(n)}function fot(t,e){var n,r,i;if(null!=(n=t.Jg())&&t.Mg())for(r=0,i=n.length;r<i;++r)n[r].ui(e)}function dot(t,e){var n,r;for(r=gq(n=t).e;r;){if((n=r)==e)return!0;r=gq(n).e}return!1}function Aot(t,e,n){var r,i;return(r=t.a.f[e.p])<(i=t.a.f[n.p])?-1:r==i?0:1}function pot(t,e,n){var r,i;return i=QH(KR(t.d,e),19),r=QH(KR(t.b,n),19),i&&r?K6(t,i.a,r.a):null}function got(t,e){var n,r;for(r=new SO(t);r.e!=r.i.gc();)CI(n=QH(ymt(r),33),n.i+e.b,n.j+e.d)}function mot(t,e){var n,r;for(r=new zd(e);r.a<r.c.c.length;)n=QH(J1(r),70),zH(t.d,n),PEt(t,n)}function bot(t,e){var n,r;r=new Mm,n=e;do{r.c[r.c.length]=n,n=QH(DX(t.k,n),17)}while(n);return r}function vot(t,e){var n;return 0!=(t.Db&e)?-1==(n=Fvt(t,e))?t.Eb:ent(t.Eb)[n]:null}function yot(t,e){var n;return(n=new Fh).G=e,!t.rb&&(t.rb=new WG(t,QIe,t)),l8(t.rb,n),n}function wot(t,e){var n;return(n=new wb).G=e,!t.rb&&(t.rb=new WG(t,QIe,t)),l8(t.rb,n),n}function Tot(t,e){switch(e){case 1:return!!t.n&&0!=t.n.i;case 2:return null!=t.k}return m0(t,e)}function kot(t){switch(t.a.g){case 1:return new wS;case 3:return new lyt;default:return new xh}}function Cot(t){var e;if(t.g>1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw Um(new bb)}function Eot(t){var e;return iM(),ax(sye,t)||((e=new so).a=t,fP(sye,t,e)),QH(oV(sye,t),635)}function xot(t){var e,n,r;return n=0,(r=t)<0&&(r+=SWt,n=xWt),e=xJ(r/BWt),kM(xJ(r-e*BWt),e,n)}function _ot(t){var e,n,r;for(r=0,n=new qC(t.a);n.a<n.c.a.length;)e=a3(n),t.b.Hc(e)&&++r;return r}function Bot(t){var e,n,r;for(e=1,r=t.Kc();r.Ob();)e=~~(e=31*e+(null==(n=r.Pb())?0:Zct(n)));return e}function Sot(t,e){var n;this.c=t,pvt(t,n=new Mm,e,t.b,null,!1,null,!1),this.a=new k2(n,0)}function Lot(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(YE(),QH(t,66).Oj()),this.k=aDt(e.e.Tg(),t)}function Iot(t,e,n){this.b=(vq(t),t),this.d=(vq(e),e),this.e=(vq(n),n),this.c=this.d+""+this.e}function Mot(){this.a=QH(bmt((uPt(),Hae)),19).a,this.c=jy(kF(bmt(roe))),this.b=jy(kF(bmt(Zae)))}function Oot(){Oot=L,FBe=hut((ZIt(),xst(jw(jBe,1),IVt,93,0,[_Be,xBe,SBe,NBe,OBe,MBe,LBe,IBe,BBe])))}function Not(){Not=L,Rre=hut((tPt(),xst(jw(Qre,1),IVt,250,0,[Dre,Lre,Ire,Sre,Ore,Nre,Mre,Bre,_re])))}function Dot(){Dot=L,Die=new Kx("UP",0),Mie=new Kx(gJt,1),Oie=new Kx(iJt,2),Nie=new Kx(aJt,3)}function Fot(){Fot=L,sZ(),bwe=new LL(z4t,vwe=Dwe),Q0(),gwe=new LL(X4t,mwe=Uwe)}function Pot(){Pot=L,yhe=new M_("ONE_SIDED",0),whe=new M_("TWO_SIDED",1),vhe=new M_("OFF",2)}function Rot(t){t.r=new Db,t.w=new Db,t.t=new Mm,t.i=new Mm,t.d=new Db,t.a=new hI,t.c=new Om}function Qot(t){this.n=new Mm,this.e=new VC,this.j=new VC,this.k=new Mm,this.f=new Mm,this.p=t}function Uot(t,e){t.c&&(YRt(t,e,!0),WC(new D$(null,new f1(e,16)),new Hp(t))),YRt(t,e,!1)}function Hot(t,e,n){return t==(srt(),Lve)?new _a:0!=HMt(e,1)?new DT(n.length):new NT(n.length)}function jot(t,e){var n;return e?((n=e.Ve()).dc()||(t.q?kat(t.q,n):t.q=new mL(n)),t):t}function $ot(t,e){var n;return void 0===(n=t.a.get(e))?++t.d:(mP(t.a,e),--t.c,oY(t.b)),n}function Kot(t,e){var n;return 0==(n=e.p-t.p)?xft(t.f.a*t.f.b,e.f.a*e.f.b):n}function Got(t,e){var n,r;return(n=t.f.c.length)<(r=e.f.c.length)?-1:n==r?0:1}function zot(t){return 0!=t.b.c.length&&QH(O$(t.b,0),70).a?QH(O$(t.b,0),70).a:tW(t)}function Xot(t){var e;if(t){if((e=t).dc())throw Um(new bb);return e.Xb(e.gc()-1)}return a1(t.Kc())}function qot(t){var e;return qut(t,0)<0&&(t=aj(t)),64-(0!=(e=dK(vG(t,32)))?JSt(e):JSt(dK(t))+32)}function Vot(t){var e;return e=QH(bEt(t,(lqt(),qhe)),61),t.k==(oxt(),kse)&&(e==(yzt(),xSe)||e==oSe)}function Wot(t,e,n){var r,i;(i=QH(bEt(t,(HXt(),gge)),74))&&(Xlt(r=new vv,0,i),Jet(r,n),Qit(e,r))}function Yot(t,e,n){var r,i,a,o;r=(o=gq(t)).d,i=o.c,a=t.n,e&&(a.a=a.a-r.b-i.a),n&&(a.b=a.b-r.d-i.b)}function Jot(t,e){var n,r;return(n=t.j)!=(r=e.j)?n.g-r.g:t.p==e.p?0:n==(yzt(),sSe)?t.p-e.p:e.p-t.p}function Zot(t){var e,n;for(xzt(t),n=new zd(t.d);n.a<n.c.c.length;)(e=QH(J1(n),101)).i&&zxt(e)}function tst(t,e,n,r,i){LX(t.c[e.g],n.g,r),LX(t.c[n.g],e.g,r),LX(t.b[e.g],n.g,i),LX(t.b[n.g],e.g,i)}function est(t,e,n,r){QH(n.b,65),QH(n.b,65),QH(r.b,65),QH(r.b,65),QH(r.b,65),Set(r.a,new wH(t,e,r))}function nst(t,e){t.d==(Qht(),P_e)||t.d==U_e?QH(e.a,57).c.Fc(QH(e.b,57)):QH(e.b,57).c.Fc(QH(e.a,57))}function rst(t,e,n,r){return 1==n?(!t.n&&(t.n=new tz(jLe,t,1,7)),Rmt(t.n,e,r)):ext(t,e,n,r)}function ist(t,e){var n;return Oit(n=new jc,e),l8((!t.A&&(t.A=new MO(_Me,t,7)),t.A),n),n}function ast(t,e,n){var r,i;return i=M2(e,L6t),gTt((r=new iS(t,n)).a,r.b,i),i}function ost(t){var e;return(!t.a||0==(1&t.Bb)&&t.a.kh())&&rO(e=Bwt(t),148)&&(t.a=QH(e,148)),t.a}function sst(t,e){var n,r;for(vq(e),r=e.Kc();r.Ob();)if(n=r.Pb(),!t.Hc(n))return!1;return!0}function cst(t,e){var n,r,i;return n=t.l+e.l,r=t.m+e.m+(n>>22),i=t.h+e.h+(r>>22),kM(n&EWt,r&EWt,i&xWt)}function lst(t,e){var n,r,i;return n=t.l-e.l,r=t.m-e.m+(n>>22),i=t.h-e.h+(r>>22),kM(n&EWt,r&EWt,i&xWt)}function ust(t){var e;return t<128?(!(e=(k$(),Cee)[t])&&(e=Cee[t]=new Id(t)),e):new Id(t)}function hst(t){var e;return rO(t,78)?t:((e=t&&t.__java$exception)||ob(e=new wut(t)),e)}function fst(t){if(rO(t,186))return QH(t,118);if(t)return null;throw Um(new Uy(e9t))}function dst(t,e){if(null==e)return!1;for(;t.a!=t.b;)if(Oht(e,Rut(t)))return!0;return!1}function Ast(t){return!!t.a.Ob()||t.a==t.d&&(t.a=new C2(t.e.f),t.a.Ob())}function pst(t,e){var n;return 0!=(n=e.Pc()).length&&(ZH(t.c,t.c.length,n),!0)}function gst(t,e,n){var r,i;for(i=e.vc().Kc();i.Ob();)r=QH(i.Pb(),42),t.yc(r.cd(),r.dd(),n);return t}function mst(t,e){var n;for(n=new zd(t.b);n.a<n.c.c.length;)lct(QH(J1(n),70),(lqt(),afe),e)}function bst(t,e,n){var r,i;for(i=new zd(t.b);i.a<i.c.c.length;)CI(r=QH(J1(i),33),r.i+e,r.j+n)}function vst(t,e){if(!t)throw Um(new Py(IPt("value already present: %s",xst(jw(Lte,1),Hqt,1,5,[e]))))}function yst(t,e){return!(!t||!e||t==e)&&Rpt(t.d.c,e.d.c+e.d.b)&&Rpt(e.d.c,t.d.c+t.d.b)}function wst(){return v5(),qne?new b5(null):QLt(qat(),"com.google.common.base.Strings")}function Tst(t,e){var n;return n=sD(e.a.gc()),WC(vet(new D$(null,new f1(e,1)),t.i),new MB(t,n)),n}function kst(t){var e;return Oit(e=new jc,"T"),l8((!t.d&&(t.d=new MO(_Me,t,11)),t.d),e),e}function Cst(t){var e,n,r,i;for(e=1,n=0,i=t.gc();n<i;++n)e=31*e+(null==(r=t.ki(n))?0:Zct(r));return e}function Est(t,e,n,r){var i;return f2(e,t.e.Hd().gc()),f2(n,t.c.Hd().gc()),i=t.a[e][n],LX(t.a[e],n,r),i}function xst(t,e,n,r,i){return i.gm=t,i.hm=e,i.im=S,i.__elementTypeId$=n,i.__elementTypeCategory$=r,i}function _st(t,n,r,i,a){return wFt(),e.Math.min(KKt(t,n,r,i,a),KKt(r,i,t,n,HD(new OB(a.a,a.b))))}function Bst(){Bst=L,ile=new Zx(VZt,0),nle=new Zx(_1t,1),rle=new Zx(B1t,2),ele=new Zx("BOTH",3)}function Sst(){Sst=L,gle=new m_(eJt,0),mle=new m_(iJt,1),ble=new m_(aJt,2),vle=new m_("TOP",3)}function Lst(){Lst=L,Yoe=new qx("Q1",0),tse=new qx("Q4",1),Joe=new qx("Q2",2),Zoe=new qx("Q3",3)}function Ist(){Ist=L,hve=new q_("OFF",0),fve=new q_("SINGLE_EDGE",1),uve=new q_("MULTI_EDGE",2)}function Mst(){Mst=L,zCe=new CB("MINIMUM_SPANNING_TREE",0),GCe=new CB("MAXIMUM_SPANNING_TREE",1)}function Ost(){Ost=L,new am("org.eclipse.elk.addLayoutConfig"),YCe=new ls,WCe=new ss}function Nst(t){var e,n;for(e=new VC,n=cmt(t.d,0);n.b!=n.d.c;)Nj(e,QH(h4(n),188).c);return e}function Dst(t){var e,n;for(n=new Mm,e=t.Kc();e.Ob();)pst(n,dFt(QH(e.Pb(),33)));return n}function Fst(t){var e;tHt(t,!0),e=qVt,ID(t,(HXt(),lme))&&(e+=QH(bEt(t,lme),19).a),lct(t,lme,nft(e))}function Pst(t,e,n){var r;Lz(t.a),Set(n.i,new yg(t)),ygt(t,r=new xM(QH(DX(t.a,e.b),65)),e),n.f=r}function Rst(t,e){var n,r;return n=t.c,(r=e.e[t.p])<n.a.c.length-1?QH(O$(n.a,r+1),10):null}function Qst(t,e){var n,r;for(zW(e,"predicate"),r=0;t.Ob();r++)if(n=t.Pb(),e.Lb(n))return r;return-1}function Ust(t,e){var n,r;if(r=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)r=e0(r,bG(1,n));return r}function Hst(t){var e,n,r;for(CW(),r=0,n=t.Kc();n.Ob();)r+=null!=(e=n.Pb())?Zct(e):0,r|=0;return r}function jst(t){var e;return ZT(),e=new oc,t&&l8((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a),e),e}function $st(t){var e;return(e=new m).a=t,e.b=vct(t),e.c=O9(Vee,cVt,2,2,6,1),e.c[0]=Hit(t),e.c[1]=Hit(t),e}function Kst(t,e){if(0===e)return!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),void t.o.c.$b();b_t(t,e)}function Gst(t,e,n){switch(n.g){case 2:t.b=e;break;case 1:t.c=e;break;case 4:t.d=e;break;case 3:t.a=e}}function zst(t){switch(t.g){case 1:return wBe;case 2:return yBe;case 3:return TBe;default:return kBe}}function Xst(t){switch(QH(bEt(t,(HXt(),vge)),163).g){case 2:case 4:return!0;default:return!1}}function qst(){qst=L,bhe=hut((fFt(),xst(jw(The,1),IVt,256,0,[che,uhe,hhe,fhe,dhe,Ahe,ghe,she,lhe,phe])))}function Vst(){Vst=L,WSe=hut((ZRt(),xst(jw(eLe,1),IVt,259,0,[jSe,KSe,HSe,GSe,zSe,qSe,XSe,$Se,USe])))}function Wst(){Wst=L,Gwe=d$(sgt(sgt(RE(d$(new Q2,(Kyt(),Fye),(D_t(),qye)),Pye),Gye),zye),Rye,Xye)}function Yst(){Yst=L,Sue=new x_(VZt,0),Bue=new x_("INCOMING_ONLY",1),Lue=new x_("OUTGOING_ONLY",2)}function Jst(){Jst=L,uee={boolean:KC,number:xy,string:_y,object:kBt,function:kBt,undefined:zm}}function Zst(t,e){gj(t>=0,"Negative initial capacity"),gj(e>=0,"Non-positive load factor"),Lz(this)}function tct(t,e,n){return!(t>=128)&&WS(t<64?t0(bG(1,t),n):t0(bG(1,t-64),e),0)}function ect(t,e){return!(!t||!e||t==e)&&Bdt(t.b.c,e.b.c+e.b.b)<0&&Bdt(e.b.c,t.b.c+t.b.b)<0}function nct(t){var e,n,r;return n=t.n,r=t.o,e=t.d,new KV(n.a-e.b,n.b-e.d,r.a+(e.b+e.c),r.b+(e.d+e.a))}function rct(t){var e,n,r,i;for(r=0,i=(n=t.a).length;r<i;++r)Ect(t,e=n[r],(yzt(),CSe)),Ect(t,e,sSe)}function ict(t){var e,n;for(null==t.j&&(t.j=(EY(),BTt(eee.ce(t)))),e=0,n=t.j.length;e<n;++e);}function act(t){var e,n;return kM(e=1+~t.l&EWt,n=~t.m+(0==e?1:0)&EWt,~t.h+(0==e&&0==n?1:0)&xWt)}function oct(t,e){return kUt(QH(QH(DX(t.g,e.a),46).a,65),QH(QH(DX(t.g,e.b),46).a,65))}function sct(t,e,n){var r;if(e>(r=t.gc()))throw Um(new ZP(e,r));return t.hi()&&(n=JJ(t,n)),t.Vh(e,n)}function cct(t,e,n){return null==n?(!t.q&&(t.q=new Om),g6(t.q,e)):(!t.q&&(t.q=new Om),Xq(t.q,e,n)),t}function lct(t,e,n){return null==n?(!t.q&&(t.q=new Om),g6(t.q,e)):(!t.q&&(t.q=new Om),Xq(t.q,e,n)),t}function uct(t){var e,n;return jot(n=new b6,t),lct(n,(Cit(),soe),t),eHt(t,n,e=new Om),EGt(t,n,e),n}function hct(t){var e,n,r;for(wFt(),n=O9(EEe,cVt,8,2,0,1),r=0,e=0;e<2;e++)r+=.5,n[e]=hvt(r,t);return n}function fct(t,e){var n,r,i;for(n=!1,r=t.a[e].length,i=0;i<r-1;i++)n|=xpt(t,e,i,i+1);return n}function dct(t,e,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=e;a<=r;a++)mvt(t,a,o)||QPt(t,a,o,!0,!1)}function Act(t,e){this.b=t,ML.call(this,(QH(Xet(qW((qX(),JIe).o),10),18),e.i),e.g),this.a=(dat(),xMe)}function pct(t,e){this.c=t,this.d=e,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function gct(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function mct(t,n,r){this.q=new e.Date,this.q.setFullYear(t+cWt,n,r),this.q.setHours(0,0,0,0),hHt(this,0)}function bct(){bct=L,Mbe=new H_(VZt,0),Ibe=new H_("NODES_AND_EDGES",1),Obe=new H_("PREFER_EDGES",2)}function vct(t){var e;return 0==t?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+htt(t))}function yct(t){var e;if(t<0)return RVt;if(0==t)return 0;for(e=SVt;0==(e&t);e>>=1);return e}function wct(t){var e,n;return 32==(n=JSt(t.h))?32==(e=JSt(t.m))?JSt(t.l)+32:e+20-10:n-12}function Tct(t){var e;return null==(e=t.a[t.b])?null:(LX(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function kct(t){var e,n;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,n=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||n}function Cct(t,e,n){var r,i;return r=new U9(e,n),i=new $,t.b=XDt(t,t.b,r,i),i.b||++t.c,t.b.b=!1,i.d}function Ect(t,e,n){var r,i,a;for(a=0,i=Mht(e,n).Kc();i.Ob();)r=QH(i.Pb(),11),Xq(t.c,r,nft(a++))}function xct(t){var e,n;for(n=new zd(t.a.b);n.a<n.c.c.length;)(e=QH(J1(n),81)).g.c=-e.g.c-e.g.b;yNt(t)}function _ct(t){var e,n;for(n=new zd(t.a.b);n.a<n.c.c.length;)(e=QH(J1(n),57)).d.c=-e.d.c-e.d.b;vNt(t)}function Bct(t){var e;return(!t.c||0==(1&t.Bb)&&0!=(64&t.c.Db))&&rO(e=Bwt(t),88)&&(t.c=QH(e,26)),t.c}function Sct(t){var e,n,r;e=1+~t.l&EWt,n=~t.m+(0==e?1:0)&EWt,r=~t.h+(0==e&&0==n?1:0)&xWt,t.l=e,t.m=n,t.h=r}function Lct(t){var e,n,r,i,a;for(e=new jT,i=0,a=(r=t).length;i<a;++i)n=r[i],e.a+=n.a,e.b+=n.b;return e}function Ict(t,e){var n,r,i,a,o;for(CW(),o=!1,i=0,a=(r=e).length;i<a;++i)n=r[i],o|=t.Fc(n);return o}function Mct(t){var e,n;for(wFt(),n=-17976931348623157e292,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function Oct(t,e,n){var r;return wDt(t,e,r=new Mm,(yzt(),oSe),!0,!1),wDt(t,n,r,xSe,!1,!1),r}function Nct(t,e,n){var r,i;return i=M2(e,"labels"),zIt((r=new AS(t,n)).a,r.b,i),i}function Dct(t,e,n,r){var i;return(i=bMt(t,e,n,r))||!(i=aft(t,n,r))||Q$t(t,e,i)?i:null}function Fct(t,e,n,r){var i;return(i=vMt(t,e,n,r))||!(i=oft(t,n,r))||Q$t(t,e,i)?i:null}function Pct(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!QH(N$(t.a,n),169).Lb(e))return!1;return!0}function Rct(t,e,n){if(bX(e),n.Ob())for(sL(e,xX(n.Pb()));n.Ob();)sL(e,t.a),sL(e,xX(n.Pb()));return e}function Qct(t){var e,n,r;for(CW(),r=1,n=t.Kc();n.Ob();)r=31*r+(null!=(e=n.Pb())?Zct(e):0),r|=0;return r}function Uct(t,e,n,r,i){var a;return a=wIt(t,e),n&&Sct(a),i&&(t=Evt(t,e),hee=r?act(t):kM(t.l,t.m,t.h)),a}function Hct(t,e){var n;try{e.Vd()}catch(e){if(!rO(e=hst(e),78))throw Um(e);n=e,t.c[t.c.length]=n}}function jct(t,e,n){var r,i;return rO(e,144)&&n?(r=QH(e,144),i=n,t.a[r.b][i.b]+t.a[i.b][r.b]):0}function $ct(t,e){switch(e){case 7:return!!t.e&&0!=t.e.i;case 8:return!!t.d&&0!=t.d.i}return uAt(t,e)}function Kct(t,e){switch(e.g){case 0:rO(t.b,631)||(t.b=new Mot);break;case 1:rO(t.b,632)||(t.b=new lj)}}function Gct(t,e){for(;null!=t.g||t.c?null==t.g||0!=t.i&&QH(t.g[t.i-1],47).Ob():ZJ(t);)gS(e,aOt(t))}function zct(t,e,n){t.g=L_t(t,e,(yzt(),oSe),t.b),t.d=L_t(t,n,oSe,t.b),0!=t.g.c&&0!=t.d.c&&KEt(t)}function Xct(t,e,n){t.g=L_t(t,e,(yzt(),xSe),t.j),t.d=L_t(t,n,xSe,t.j),0!=t.g.c&&0!=t.d.c&&KEt(t)}function qct(t,e,n){return!yk(SV(new D$(null,new f1(t.c,16)),new iA(new YB(e,n)))).sd((dE(),Zne))}function Vct(t){var e;return wq(t),e=new ct,t.a.sd(e)?(xO(),new gy(vq(e.a))):(xO(),xO(),Cne)}function Wct(t){var e;return!(t.b<=0)&&((e=jL("MLydhHmsSDkK",WCt(lV(t.c,0))))>1||e>=0&&t.b<3)}function Yct(t){var e,n;for(e=new vv,n=cmt(t,0);n.b!=n.d.c;)FD(e,0,new fI(QH(h4(n),8)));return e}function Jct(t){var e;for(e=new zd(t.a.b);e.a<e.c.c.length;)QH(J1(e),81).f.$b();vy(t.b,t),UNt(t)}function Zct(t){return GS(t)?mbt(t):KS(t)?XL(t):$S(t)?(vq(t),t?1231:1237):eG(t)?t.Hb():SK(t)?EN(t):ZW(t)}function tlt(t){return GS(t)?Vee:KS(t)?xee:$S(t)?yee:eG(t)||SK(t)?t.gm:t.gm||Array.isArray(t)&&jw(Zte,1)||Zte}function elt(t){if(0===t.g)return new os;throw Um(new Py(O3t+(null!=t.f?t.f:""+t.g)))}function nlt(t){if(0===t.g)return new is;throw Um(new Py(O3t+(null!=t.f?t.f:""+t.g)))}function rlt(t,e,n){if(0===e)return!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),void tot(t.o,n);vBt(t,e,n)}function ilt(t,e,n){this.g=t,this.e=new jT,this.f=new jT,this.d=new VC,this.b=new VC,this.a=e,this.c=n}function alt(t,e,n,r){this.b=new Mm,this.n=new Mm,this.i=r,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0}function olt(t){this.e=t,this.d=new p3(this.e.g),this.a=this.d,this.b=Ast(this),this.$modCount=t.$modCount}function slt(t){for(;!t.d||!t.d.Ob();){if(!t.b||zy(t.b))return null;t.d=QH(dz(t.b),47)}return t.d}function clt(t){return zH(t.c,(Ost(),YCe)),ont(t.a,jy(kF(bmt((FAt(),Xme)))))?new Ks:new xg(t)}function llt(t){switch(t.g){case 1:return Q4t;default:case 2:return 0;case 3:return YJt;case 4:return U4t}}function ult(){var t;return dqt(),CNe||(t=tD(Jzt("M",!0)),t=AK(Jzt("M",!1),t),CNe=t)}function hlt(t,e){var n,r,i;for(i=t.b;i;){if(0==(n=t.a.ue(e,i.d)))return i;r=n<0?0:1,i=i.a[r]}return null}function flt(t,e,n){var r,i;cN(),r=!!TL(n),(i=QH(e.xc(r),15))||(i=new Mm,e.zc(r,i)),i.Fc(n)}function dlt(t,e){var n,r;return(n=QH(JIt(t,(XMt(),dke)),19).a)==(r=QH(JIt(e,dke),19).a)||n<r?-1:n>r?1:0}function Alt(t,e){return!!fNt(t,e)&&(YSt(t.b,QH(bEt(e,(lqt(),Ghe)),21),e),Nj(t.a,e),!0)}function plt(t){var e,n;(e=QH(bEt(t,(lqt(),wfe)),10))&&(b7((n=e.c).a,e),0==n.a.c.length&&b7(gq(e).b,n))}function glt(t){return qne?O9(jne,AYt,572,0,0,1):QH(Vgt(t.a,O9(jne,AYt,572,t.a.c.length,0,1)),842)}function mlt(t,e,n,r){return Jq(),new cy(xst(jw(Hte,1),yVt,42,0,[(Kbt(t,e),new gC(t,e)),(Kbt(n,r),new gC(n,r))]))}function blt(t,e,n){var r;return urt(r=new Lv,e,n),l8((!t.q&&(t.q=new tz(XIe,t,11,10)),t.q),r),r}function vlt(t){var e,n,r,i;for(n=(i=lx(SLe,t)).length,r=O9(Vee,cVt,2,n,6,1),e=0;e<n;++e)r[e]=i[e];return r}function ylt(t,e){var n,r,i,a,o;for(i=0,a=(r=e).length;i<a;++i)n=r[i],o=new KX(t),n.Qe(o),OHt(o);Lz(t.f)}function wlt(t,e){var n;return e===t||!!rO(e,224)&&(n=QH(e,224),Oht(t.Zb(),n.Zb()))}function Tlt(t,e){var n;2*e+1>=t.b.c.length||(Tlt(t,2*e+1),(n=2*e+2)<t.b.c.length&&Tlt(t,n),PBt(t,e))}function klt(t,e,n){var r,i;this.g=t,this.c=e,this.a=this,this.d=this,i=Yrt(n),r=O9(Vte,_Vt,330,i,0,1),this.b=r}function Clt(t,e,n){var r;for(r=n-1;r>=0&&t[r]===e[r];r--);return r<0?0:sx(t0(t[r],GWt),t0(e[r],GWt))?-1:1}function Elt(t,e){var n,r;for(r=cmt(t,0);r.b!=r.d.c;)(n=QH(h4(r),214)).e.length>0&&(e.td(n),n.i&&gft(n))}function xlt(t,e){var n,r;return r=QH(vot(t.a,4),126),n=O9(fIe,n8t,415,e,0,1),null!=r&&ajt(r,0,n,0,r.length),n}function _lt(t,e){var n;return n=new rPt(0!=(256&t.f),t.i,t.a,t.d,0!=(16&t.f),t.j,t.g,e),null!=t.e||(n.c=t),n}function Blt(t,e){var n;for(n=t.Zb().Cc().Kc();n.Ob();)if(QH(n.Pb(),14).Hc(e))return!0;return!1}function Slt(t,e,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=e;a<=r;a++)if(mvt(t,a,o))return!0;return!1}function Llt(t,e,n){var r,i,a,o;for(vq(n),o=!1,a=t.Zc(e),i=n.Kc();i.Ob();)r=i.Pb(),a.Rb(r),o=!0;return o}function Ilt(t,e){var n;return t===e||!!rO(e,83)&&(n=QH(e,83),Kxt(uG(t),n.vc()))}function Mlt(t,e,n){var r,i;for(i=n.Kc();i.Ob();)if(r=QH(i.Pb(),42),t.re(e,r.dd()))return!0;return!1}function Olt(t,e,n){return t.d[e.p][n.p]||(nbt(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function Nlt(t,e){if(!t.ai()&&null==e)throw Um(new Py("The 'no null' constraint is violated"));return e}function Dlt(t,e){null==t.D&&null!=t.B&&(t.D=t.B,t.B=null),Hrt(t,null==e?null:(vq(e),e)),t.C&&t.yk(null)}function Flt(t,e){return!(!t||t==e||!ID(e,(lqt(),nfe)))&&QH(bEt(e,(lqt(),nfe)),10)!=t}function Plt(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.pl()}}function Rlt(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t.ql()}}function Qlt(t){PJ.call(this,"The given string does not match the expected format for individual spacings.",t)}function Ult(){Ult=L,aLe=new rS("ELK",0),oLe=new rS("JSON",1),iLe=new rS("DOT",2),sLe=new rS("SVG",3)}function Hlt(){Hlt=L,sTe=new gB(VZt,0),cTe=new gB("RADIAL_COMPACTION",1),lTe=new gB("WEDGE_COMPACTION",2)}function jlt(){jlt=L,$ne=new px("CONCURRENT",0),Kne=new px("IDENTITY_FINISH",1),Gne=new px("UNORDERED",2)}function $lt(){$lt=L,fE(),oae=new LL(UJt,sae=nae),aae=new am(HJt),cae=new am(jJt),lae=new am($Jt)}function Klt(){Klt=L,ule=new Tr,hle=new kr,lle=new Cr,cle=new Er,vq(new xr),sle=new F}function Glt(){Glt=L,tve=new z_("CONSERVATIVE",0),eve=new z_("CONSERVATIVE_SOFT",1),nve=new z_("SLOPPY",2)}function zlt(){zlt=L,dBe=new zI(15),fBe=new GI((cqt(),Gxe),dBe),ABe=A_e,cBe=ixe,lBe=Fxe,hBe=Qxe,uBe=Rxe}function Xlt(t,e,n){var r,i;for(r=new VC,i=cmt(n,0);i.b!=i.d.c;)Nj(r,new fI(QH(h4(i),8)));Llt(t,e,r)}function qlt(t){var e,n,r;for(e=0,r=O9(EEe,cVt,8,t.b,0,1),n=cmt(t,0);n.b!=n.d.c;)r[e++]=QH(h4(n),8);return r}function Vlt(t){var e;return!t.a&&(t.a=new tz(GIe,t,9,5)),0!=(e=t.a).i?UE(QH(Xet(e,0),678)):null}function Wlt(t,e){var n;return n=rdt(t,e),sx(n0(t,e),0)|VS(n0(t,n),0)?n:rdt(fVt,n0(yG(n,63),1))}function Ylt(t,e){var n;n=null!=bmt((FAt(),Xme))&&null!=e.wg()?jy(kF(e.wg()))/jy(kF(bmt(Xme))):1,Xq(t.b,e,n)}function Jlt(t,e){var n,r;return(n=QH(t.d.Bc(e),14))?((r=t.e.hc()).Gc(n),t.e.d-=n.gc(),n.$b(),r):null}function Zlt(t,e){var n,r;if(0!=(r=t.c[e]))for(t.c[e]=0,t.d-=r,n=e+1;n<t.a.length;)t.a[n]-=r,n+=n&-n}function tut(t){var e;if((e=t.a.c.length)>0)return FG(e-1,t.a.c.length),s6(t.a,e-1);throw Um(new mb)}function eut(t,e,n){if(e<0)throw Um(new Sy(Z3t+e));e<t.j.c.length?r5(t.j,e,n):(A4(t,e),zH(t.j,n))}function nut(t,e,n){if(t>e)throw Um(new Py(bYt+t+vYt+e));if(t<0||e>n)throw Um(new Tw(bYt+t+yYt+e+lYt+n))}function rut(t){if(!t.a||0==(8&t.a.i))throw Um(new Ry("Enumeration class expected for layout option "+t.f))}function iut(t){var e;++t.j,0==t.i?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.ri(t.i),ajt(e,0,t.g,0,t.i))}function aut(t,e){var n,r;for(n=t.a.length-1,t.c=t.c-1&n;e!=t.c;)r=e+1&n,LX(t.a,e,t.a[r]),e=r;LX(t.a,t.c,null)}function out(t,e){var n,r;for(n=t.a.length-1;e!=t.b;)r=e-1&n,LX(t.a,e,t.a[r]),e=r;LX(t.a,t.b,null),t.b=t.b+1&n}function sut(t,e,n){var r;return IZ(e,t.c.length),0!=(r=n.Pc()).length&&(ZH(t.c,e,r),!0)}function cut(t){var e,n;if(null==t)return null;for(e=0,n=t.length;e<n;e++)if(!Ej(t[e]))return t[e];return null}function lut(t,e,n){var r,i,a,o;for(a=0,o=(i=n).length;a<o;++a)if(r=i[a],t.b.re(e,r.cd()))return r;return null}function uut(t){var e,n,r,i,a;for(a=1,r=0,i=(n=t).length;r<i;++r)a=31*a+(null!=(e=n[r])?Zct(e):0),a|=0;return a}function hut(t){var e,n,r,i,a;for(e={},i=0,a=(r=t).length;i<a;++i)e[":"+(null!=(n=r[i]).f?n.f:""+n.g)]=n;return e}function fut(t){var e;for(bX(t),xQ(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&AIt(t);e++)K5(t);return e}function dut(t){var e,n,r;for(r=0,n=new oG(YO(t.a.Kc(),new u));AIt(n);)(e=QH(K5(n),17)).c.i==e.d.i||++r;return r}function Aut(t,e){var n,r,i;for(n=t,i=0;;){if(n==e)return i;if(!(r=n.e))throw Um(new fb);n=gq(r),++i}}function put(t,e){var n,r,i;for(i=e-t.f,r=new zd(t.d);r.a<r.c.c.length;)ypt(n=QH(J1(r),443),n.e,n.f+i);t.f=e}function gut(t,n,r){return e.Math.abs(n-t)<R4t||e.Math.abs(r-t)<R4t||(n-t>R4t?t-r>R4t:r-t>R4t)}function mut(t,e){return t?e&&!t.j||rO(t,124)&&0==QH(t,124).a.b?0:t.Re():0}function but(t,e){return t?e&&!t.k||rO(t,124)&&0==QH(t,124).a.a?0:t.Se():0}function vut(t){return SFt(),t<0?-1!=t?new Fmt(-1,-t):Wee:t<=10?Jee[xJ(t)]:new Fmt(1,t)}function yut(t){throw Jst(),Um(new Ay("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function wut(t){cw(),XM(this),yW(this),this.e=t,_Dt(this,t),this.g=null==t?Kqt:Udt(t),this.a="",this.b=t,this.a=""}function Tut(){this.a=new es,this.f=new dg(this),this.b=new Ag(this),this.i=new pg(this),this.e=new gg(this)}function kut(){ry.call(this,new H9(tet(16))),hrt(2,sVt),this.b=2,this.a=new Uq(null,null,0,null),eb(this.a,this.a)}function Cut(){Cut=L,rbe=new F_("DUMMY_NODE_OVER",0),ibe=new F_("DUMMY_NODE_UNDER",1),abe=new F_("EQUAL",2)}function Eut(){Eut=L,Goe=UJ(xst(jw(z_e,1),IVt,103,0,[(Qht(),P_e),R_e])),zoe=UJ(xst(jw(z_e,1),IVt,103,0,[U_e,F_e]))}function xut(t){return(yzt(),bSe).Hc(t.j)?jy(kF(bEt(t,(lqt(),Ife)))):Lct(xst(jw(EEe,1),cVt,8,0,[t.i.n,t.n,t.a])).b}function _ut(t){var e,n;for(e=t.b.a.a.ec().Kc();e.Ob();)n=new VMt(QH(e.Pb(),561),t.e,t.f),zH(t.g,n)}function But(t,e){var n,r;n=t.nk(e,null),r=null,e&&(ek(),int(r=new Fm,t.r)),(n=HCt(t,r,n))&&n.Fi()}function Sut(t,e){var n,r;for(r=0!=HMt(t.d,1),n=!0;n;)n=!1,n=e.c.Tf(e.e,r),n|=DNt(t,e,r,!1),r=!r;Iit(t)}function Lut(t,e){var n,r,i;return r=!1,n=e.q.d,e.d<t.b&&(i=ANt(e.q,t.b),e.q.d>i&&(akt(e.q,i),r=n!=e.q.d)),r}function Iut(t,n){var r,i,a,o,s;return o=n.i,s=n.j,i=o-(r=t.f).i,a=s-r.j,e.Math.sqrt(i*i+a*a)}function Mut(t,e){var n;return(n=Wpt(t))||(Fjt(),l8((n=new xm(W_t(e))).Vk(),t)),n}function Out(t,e){var n,r;return(n=QH(t.c.Bc(e),14))?((r=t.hc()).Gc(n),t.d-=n.gc(),n.$b(),t.mc(r)):t.jc()}function Nut(t,e){var n;for(n=0;n<e.length;n++)if(t==(h1(n,e.length),e.charCodeAt(n)))return!0;return!1}function Dut(t,e){var n;for(n=0;n<e.length;n++)if(t==(h1(n,e.length),e.charCodeAt(n)))return!0;return!1}function Fut(t){var e,n;if(null==t)return!1;for(e=0,n=t.length;e<n;e++)if(!Ej(t[e]))return!1;return!0}function Put(t){var e;if(0!=t.c)return t.c;for(e=0;e<t.a.length;e++)t.c=33*t.c+(-1&t.a[e]);return t.c=t.c*t.e,t.c}function Rut(t){var e;return ED(t.a!=t.b),e=t.d.a[t.a],wD(t.b==t.d.c&&null!=e),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function Qut(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw Um(new bb);return e=t.a,t.a+=t.c.c,++t.b,nft(e)}function Uut(t){var e;return e=new uet(t),e2(t.a,sse,new Wy(xst(jw(Woe,1),Hqt,369,0,[e]))),e.d&&zH(e.f,e.d),e.f}function Hut(t){var e;return jot(e=new BM(t.a),t),lct(e,(lqt(),dfe),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function jut(t,e,n,r){var i,a;for(a=t.Kc();a.Ob();)(i=QH(a.Pb(),70)).n.a=e.a+(r.a-i.o.a)/2,i.n.b=e.b,e.b+=i.o.b+n}function $ut(t,e,n){var r;for(r=e.a.a.ec().Kc();r.Ob();)if(rY(t,QH(r.Pb(),57),n))return!0;return!1}function Kut(t){var e,n;for(n=new zd(t.r);n.a<n.c.c.length;)if(e=QH(J1(n),10),t.n[e.p]<=0)return e;return null}function Gut(t){var e,n;for(n=new Db,e=new zd(t);e.a<e.c.c.length;)Qit(n,AFt(QH(J1(e),33)));return n}function zut(t){var e;return e=vI(xve),QH(bEt(t,(lqt(),Yhe)),21).Hc((fFt(),dhe))&&d$(e,(vEt(),Poe),(hqt(),Qce)),e}function Xut(t,e,n){var r;r=new CLt(t,e),YSt(t.r,e.Hf(),r),n&&!UG(t.u)&&(r.c=new bJ(t.d),Set(e.wf(),new xA(r)))}function qut(t,e){var n;return WL(t)&&WL(e)&&(n=t-e,!isNaN(n))?n:Pwt(WL(t)?xot(t):t,WL(e)?xot(e):e)}function Vut(t,e){return e<t.length&&(h1(e,t.length),63!=t.charCodeAt(e))&&(h1(e,t.length),35!=t.charCodeAt(e))}function Wut(t,e,n,r){var i,a;t.a=e,a=r?0:1,t.f=(i=new Jxt(t.c,t.a,n,a),new oPt(n,t.a,i,t.e,t.b,t.c==(srt(),Sve)))}function Yut(t,e,n){var r,i;return i=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,1,i,e),n?n.Ei(r):n=r),n}function Jut(t,e,n){var r,i;return i=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,3,i,e),n?n.Ei(r):n=r),n}function Zut(t,e,n){var r,i;return i=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,0,i,e),n?n.Ei(r):n=r),n}function tht(t,e){var n,r,i,a;return(a=yBt((r=e,(i=t?Wpt(t):null)&&i.Xk(),r)))==e&&(n=Wpt(t))&&n.Xk(),a}function eht(t,e){var n,r,i;for(i=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return e<0?1/i:i}function nht(t,e){var n,r,i;for(i=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return e<0?1/i:i}function rht(t){var e,n;if(null!=t)for(n=0;n<t.length;++n)(e=t[n])&&(QH(e.g,367),e.i)}function iht(t){var n,r,i;for(i=0,r=new zd(t.a);r.a<r.c.c.length;)n=QH(J1(r),187),i=e.Math.max(i,n.g);return i}function aht(t){var e,n,r;for(r=new zd(t.b);r.a<r.c.c.length;)(e=(n=QH(J1(r),214)).c.Rf()?n.f:n.a)&&d$t(e,n.j)}function oht(){oht=L,gBe=new UB("INHERIT",0),pBe=new UB("INCLUDE_CHILDREN",1),mBe=new UB("SEPARATE_CHILDREN",2)}function sht(t,e){switch(e){case 1:return!t.n&&(t.n=new tz(jLe,t,1,7)),void c$t(t.n);case 2:return void Irt(t,null)}Kst(t,e)}function cht(t){switch(t.gc()){case 0:return Qte;case 1:return new E$(bX(t.Xb(0)));default:return new CY(t)}}function lht(t){switch(sQ(),t.gc()){case 0:return XX(),qte;case 1:return new bw(t.Kc().Pb());default:return new gx(t)}}function uht(t){switch(sQ(),t.c){case 0:return XX(),qte;case 1:return new bw(YBt(new qC(t)));default:return new sy(t)}}function hht(t,e){bX(t);try{return t.xc(e)}catch(t){if(rO(t=hst(t),205)||rO(t,173))return null;throw Um(t)}}function fht(t,e){bX(t);try{return t.Bc(e)}catch(t){if(rO(t=hst(t),205)||rO(t,173))return null;throw Um(t)}}function dht(t,e){bX(t);try{return t.Hc(e)}catch(t){if(rO(t=hst(t),205)||rO(t,173))return!1;throw Um(t)}}function Aht(t,e){bX(t);try{return t.Mc(e)}catch(t){if(rO(t=hst(t),205)||rO(t,173))return!1;throw Um(t)}}function pht(t,e){bX(t);try{return t._b(e)}catch(t){if(rO(t=hst(t),205)||rO(t,173))return!1;throw Um(t)}}function ght(t,e){t.a.c.length>0&&Alt(QH(O$(t.a,t.a.c.length-1),570),e)||zH(t.a,new p5(e))}function mht(t){var e,n;jQ(),e=t.d.c-t.e.c,Set((n=QH(t.g,145)).b,new yp(e)),Set(n.c,new wp(e)),t5(n.i,new Tp(e))}function bht(t){var e;return(e=new xw).a+="VerticalSegment ",aL(e,t.e),e.a+=" ",oL(e,WO(new mw,new zd(t.k))),e.a}function vht(t){var e;return(e=QH(utt(t.c.c,""),229))||(e=new KZ(yT(vT(new bs,""),"Other")),Ygt(t.c.c,"",e)),e}function yht(t){var e;return 0!=(64&t.Db)?xMt(t):((e=new lN(xMt(t))).a+=" (name: ",rL(e,t.zb),e.a+=")",e.a)}function wht(t,e,n){var r,i;return i=t.sb,t.sb=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,4,i,e),n?n.Ei(r):n=r),n}function Tht(t,e){var n,r;for(n=0,r=adt(t,e).Kc();r.Ob();)n+=null!=bEt(QH(r.Pb(),11),(lqt(),wfe))?1:0;return n}function kht(t,e,n){var r,i,a;for(r=0,a=cmt(t,0);a.b!=a.d.c&&!((i=jy(kF(h4(a))))>n);)i>=e&&++r;return r}function Cht(t,e,n){var r;return r=new M7(t.e,3,13,null,e.c||(pqt(),lMe),obt(t,e),!1),n?n.Ei(r):n=r,n}function Eht(t,e,n){var r;return r=new M7(t.e,4,13,e.c||(pqt(),lMe),null,obt(t,e),!1),n?n.Ei(r):n=r,n}function xht(t,e,n){var r,i;return i=t.r,t.r=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,8,i,t.r),n?n.Ei(r):n=r),n}function _ht(t,e){var n,r;return!(r=(n=QH(e,676)).vk())&&n.wk(r=rO(e,88)?new LS(t,QH(e,26)):new P0(t,QH(e,148))),r}function Bht(t,e,n){var r;t.qi(t.i+1),r=t.oi(e,n),e!=t.i&&ajt(t.g,e,t.g,e+1,t.i-e),LX(t.g,e,r),++t.i,t.bi(e,n),t.ci()}function Sht(t,e){var n;return e.a&&(n=e.a.a.length,t.a?oL(t.a,t.b):t.a=new uN(t.d),j0(t.a,e.a,e.d.length,n)),t}function Lht(t,e){var n,r,i;if(e.vi(t.a),null!=(i=QH(vot(t.a,8),1936)))for(n=0,r=i.length;n<r;++n)null.jm()}function Iht(t,e){var n;return n=new ct,t.a.sd(n)?(xO(),new gy(vq(T7(t,n.a,e)))):(wq(t),xO(),xO(),Cne)}function Mht(t,e){switch(e.g){case 2:case 1:return adt(t,e);case 3:case 4:return eot(adt(t,e))}return CW(),CW(),cne}function Oht(t,e){return GS(t)?mR(t,e):KS(t)?gR(t,e):$S(t)?(vq(t),jS(t)===jS(e)):eG(t)?t.Fb(e):SK(t)?RL(t,e):g0(t,e)}function Nht(t){return t?0!=(1&t.i)?t==SNe?yee:t==BNe?Lee:t==ONe?_ee:t==MNe?xee:t==LNe?Fee:t==NNe?Ree:t==INe?kee:Eee:t:null}function Dht(t,e,n,r,i){0!=e&&0!=r&&(1==e?i[r]=Abt(i,n,r,t[0]):1==r?i[e]=Abt(i,t,e,n[0]):WLt(t,n,i,e,r))}function Fht(t,e){var n;0!=t.c.length&&(cI(n=QH(Vgt(t,O9(Bse,a1t,10,t.c.length,0,1)),193),new Ln),eLt(n,e))}function Pht(t,e){var n;0!=t.c.length&&(cI(n=QH(Vgt(t,O9(Bse,a1t,10,t.c.length,0,1)),193),new In),eLt(n,e))}function Rht(t,e,n,r){switch(e){case 1:return!t.n&&(t.n=new tz(jLe,t,1,7)),t.n;case 2:return t.k}return Tyt(t,e,n,r)}function Qht(){Qht=L,Q_e=new FB(lJt,0),R_e=new FB(aJt,1),P_e=new FB(iJt,2),F_e=new FB(gJt,3),U_e=new FB("UP",4)}function Uht(){Uht=L,fse=new Vx(VZt,0),hse=new Vx("INSIDE_PORT_SIDE_GROUPS",1),use=new Vx("FORCE_MODEL_ORDER",2)}function Hht(t,e,n){if(t<0||e>n)throw Um(new Sy(bYt+t+yYt+e+", size: "+n));if(t>e)throw Um(new Py(bYt+t+vYt+e))}function jht(t,e,n){if(e<0)iSt(t,n);else{if(!n.Ij())throw Um(new Py(r6t+n.ne()+i6t));QH(n,66).Nj().Vj(t,t.yh(),e)}}function $ht(t,e,n,r,i,a,o,s){var c;for(c=n;a<o;)c>=r||e<n&&s.ue(t[e],t[c])<=0?LX(i,a++,t[e++]):LX(i,a++,t[c++])}function Kht(t,e,n,r,i,a){this.e=new Mm,this.f=(art(),jbe),zH(this.e,t),this.d=e,this.a=n,this.b=r,this.f=i,this.c=a}function Ght(t,e){var n,r;for(r=new SO(t);r.e!=r.i.gc();)if(n=QH(ymt(r),26),jS(e)===jS(n))return!0;return!1}function zht(t){var e,n,r,i;for(Aqt(),r=0,i=(n=tmt()).length;r<i;++r)if(-1!=w7((e=n[r]).a,t,0))return e;return _ie}function Xht(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function qht(t){var e;return 0!=(64&t.Db)?xMt(t):((e=new lN(xMt(t))).a+=" (source: ",rL(e,t.d),e.a+=")",e.a)}function Vht(t,e,n){var r,i;return i=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,5,i,t.a),n?Pkt(n,r):n=r),n}function Wht(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,2,n,e))}function Yht(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,8,n,e))}function Jht(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,8,n,e))}function Zht(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,3,n,e))}function tft(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,9,n,e))}function eft(t,e){var n;return-1==t.b&&t.a&&(n=t.a.Gj(),t.b=n?t.c.Xg(t.a.aj(),n):LAt(t.c.Tg(),t.a)),t.c.Og(t.b,e)}function nft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(Zj(),Bee)[e])&&(n=Bee[e]=new Od(t)),n):new Od(t)}function rft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(T$(),Pee)[e])&&(n=Pee[e]=new Dd(t)),n):new Dd(t)}function ift(t){var e;return t.k==(oxt(),kse)&&((e=QH(bEt(t,(lqt(),qhe)),61))==(yzt(),sSe)||e==CSe)}function aft(t,e,n){var r,i;return(i=IMt(t.b,e))&&(r=QH(Ojt(R7(t,i),""),26))?bMt(t,r,e,n):null}function oft(t,e,n){var r,i;return(i=IMt(t.b,e))&&(r=QH(Ojt(R7(t,i),""),26))?vMt(t,r,e,n):null}function sft(t,e){var n,r;for(r=new SO(t);r.e!=r.i.gc();)if(n=QH(ymt(r),138),jS(e)===jS(n))return!0;return!1}function cft(t,e,n){var r;if(e>(r=t.gc()))throw Um(new ZP(e,r));if(t.hi()&&t.Hc(n))throw Um(new Py(a9t));t.Xh(e,n)}function lft(t,e){var n;if(null==(n=cnt(t.i,e)))throw Um(new tw("Node did not exist in input."));return Pat(e,n),null}function uft(t,e){var n;if(rO(n=ONt(t,e),322))return QH(n,34);throw Um(new Py(r6t+e+"' is not a valid attribute"))}function hft(t,e,n){var r,i;for(i=rO(e,99)&&0!=(QH(e,18).Bb&UWt)?new OL(e,t):new Lot(e,t),r=0;r<n;++r)ibt(i);return i}function fft(t){var e,n,r;for(r=0,n=t.length,e=0;e<n;e++)32==t[e]||13==t[e]||10==t[e]||9==t[e]||(t[r++]=t[e]);return r}function dft(t){var e,n,r;for(e=new Mm,r=new zd(t.b);r.a<r.c.c.length;)n=QH(J1(r),594),pst(e,QH(n.jf(),14));return e}function Aft(t){var e,n;for(n=QH(bEt(t,(j$t(),uwe)),15).Kc();n.Ob();)Nj((e=QH(n.Pb(),188)).b.d,e),Nj(e.c.b,e)}function pft(t){switch(QH(bEt(t,(lqt(),efe)),303).g){case 1:lct(t,efe,($7(),Che));break;case 2:lct(t,efe,($7(),xhe))}}function gft(t){var e;t.g&&(NDt((e=t.c.Rf()?t.f:t.a).a,t.o,!0),NDt(e.a,t.o,!1),lct(t.o,(HXt(),tme),(Vkt(),KBe)))}function mft(t){var e;if(!t.a)throw Um(new Ry("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,OW(t,e),MW(t,e)}function bft(t){var e;return null==(e=t.a[t.c-1&t.a.length-1])?null:(t.c=t.c-1&t.a.length-1,LX(t.a,t.c,null),e)}function vft(t){var e,n;for(n=t.p.a.ec().Kc();n.Ob();)if((e=QH(n.Pb(),213)).f&&t.b[e.c]<-1e-10)return e;return null}function yft(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new KV(e.d,0,e.a,e.b);default:return null}}function wft(t){switch(t.g){case 2:return R_e;case 1:return P_e;case 4:return F_e;case 3:return U_e;default:return Q_e}}function Tft(t){switch(t.g){case 1:return xSe;case 2:return sSe;case 3:return oSe;case 4:return CSe;default:return ESe}}function kft(t){switch(t.g){case 1:return CSe;case 2:return xSe;case 3:return sSe;case 4:return oSe;default:return ESe}}function Cft(t){switch(t.g){case 1:return oSe;case 2:return CSe;case 3:return xSe;case 4:return sSe;default:return ESe}}function Eft(t){switch(t){case 0:return new mv;case 1:return new pv;case 2:return new gv;default:throw Um(new fb)}}function xft(t,e){return t<e?-1:t>e?1:t==e?0==t?xft(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function _ft(t,e){SCt(e,"Sort end labels",1),WC(SV(ftt(new D$(null,new f1(t.b,16)),new An),new pn),new gn),Hxt(e)}function Bft(t,e,n){var r,i;return t.ej()?(i=t.fj(),r=WSt(t,e,n),t.$i(t.Zi(7,nft(n),r,e,i)),r):WSt(t,e,n)}function Sft(t,e){var n,r,i;null==t.d?(++t.e,--t.f):(i=e.cd(),M6(t,r=((n=e.Sh())&Dqt)%t.d.length,LMt(t,r,n,i)))}function Lft(t,e){var n;n=0!=(t.Bb&y6t),e?t.Bb|=y6t:t.Bb&=-1025,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,10,n,e))}function Ift(t,e){var n;n=0!=(t.Bb&RWt),e?t.Bb|=RWt:t.Bb&=-4097,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,12,n,e))}function Mft(t,e){var n;n=0!=(t.Bb&k8t),e?t.Bb|=k8t:t.Bb&=-8193,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,15,n,e))}function Oft(t,e){var n;n=0!=(t.Bb&C8t),e?t.Bb|=C8t:t.Bb&=-2049,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,11,n,e))}function Nft(t,e){var n;return 0!=(n=xft(t.b.c,e.b.c))||0!=(n=xft(t.a.a,e.a.a))?n:xft(t.a.b,e.a.b)}function Dft(t,e){var n;if(null==(n=DX(t.k,e)))throw Um(new tw("Port did not exist in input."));return Pat(e,n),null}function Fft(t){var e,n;for(n=$Mt(Get(t)).Kc();n.Ob();)if(OQt(t,e=CF(n.Pb())))return b3((KE(),NIe),e);return null}function Pft(t,e){var n,r,i,a,o;for(o=aDt(t.e.Tg(),e),a=0,n=QH(t.g,119),i=0;i<t.i;++i)r=n[i],o.rl(r.ak())&&++a;return a}function Rft(t,e,n){var r,i;return r=QH(e.We(t.a),35),i=QH(n.We(t.a),35),null!=r&&null!=i?Oat(r,i):null!=r?-1:null!=i?1:0}function Qft(t,e,n){var r;if(t.c)hEt(t.c,e,n);else for(r=new zd(t.b);r.a<r.c.c.length;)Qft(QH(J1(r),157),e,n)}function Uft(t,e){var n,r;for(r=new zd(e);r.a<r.c.c.length;)n=QH(J1(r),46),b7(t.b.b,n.b),aY(QH(n.a,189),QH(n.b,81))}function Hft(t){var e,n;for(n=OX(new xw,91),e=!0;t.Ob();)e||(n.a+=Qqt),e=!1,aL(n,t.Pb());return(n.a+="]",n).a}function jft(t,e){var n;n=0!=(t.Bb&lVt),e?t.Bb|=lVt:t.Bb&=-16385,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,16,n,e))}function $ft(t,e){var n;n=0!=(t.Bb&l6t),e?t.Bb|=l6t:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,18,n,e))}function Kft(t,e){var n;n=0!=(t.Bb&l6t),e?t.Bb|=l6t:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,18,n,e))}function Gft(t,e){var n;n=0!=(t.Bb&UWt),e?t.Bb|=UWt:t.Bb&=-65537,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new Z5(t,1,20,n,e))}function zft(t){var e;return e=O9(_Ne,XVt,25,2,15,1),t-=UWt,e[0]=(t>>10)+HWt&VVt,e[1]=56320+(1023&t)&VVt,Upt(e,0,e.length)}function Xft(t){var e;return(e=QH(bEt(t,(HXt(),Kpe)),103))==(Qht(),Q_e)?jy(kF(bEt(t,wpe)))>=1?R_e:F_e:e}function qft(t){switch(QH(bEt(t,(HXt(),Ype)),218).g){case 1:return new ra;case 3:return new ca;default:return new na}}function Vft(t){if(t.c)Vft(t.c);else if(t.d)throw Um(new Ry("Stream already terminated, can't be modified or used"))}function Wft(t){var e;return 0!=(64&t.Db)?xMt(t):((e=new lN(xMt(t))).a+=" (identifier: ",rL(e,t.k),e.a+=")",e.a)}function Yft(t,e,n){var r;return ZT(),wnt(r=new ac,e),Tnt(r,n),t&&l8((!t.a&&(t.a=new LO(MLe,t,5)),t.a),r),r}function Jft(t,e,n,r){var i,a;return vq(r),vq(n),null==(a=null==(i=t.xc(e))?n:YC(QH(i,15),QH(n,14)))?t.Bc(e):t.zc(e,a),a}function Zft(t){var e,n,r,i;return sit(n=new VR(e=QH(XT((i=(r=t.gm).f)==Gte?r:i),9),QH(CP(e,e.length),9),0),t),n}function tdt(t,e,n){var r,i;for(i=t.a.ec().Kc();i.Ob();)if(r=QH(i.Pb(),10),sst(n,QH(O$(e,r.p),14)))return r;return null}function edt(t,e,n){try{Rct(t,e,n)}catch(t){throw rO(t=hst(t),597)?Um(new A5(t)):Um(t)}return e}function ndt(t,e){var n;return WL(t)&&WL(e)&&IWt<(n=t-e)&&n<SWt?n:oot(lst(WL(t)?xot(t):t,WL(e)?xot(e):e))}function rdt(t,e){var n;return WL(t)&&WL(e)&&IWt<(n=t+e)&&n<SWt?n:oot(cst(WL(t)?xot(t):t,WL(e)?xot(e):e))}function idt(t,e){var n;return WL(t)&&WL(e)&&IWt<(n=t*e)&&n<SWt?n:oot(u$t(WL(t)?xot(t):t,WL(e)?xot(e):e))}function adt(t,e){var n;return t.i||eSt(t),(n=QH(oV(t.g,e),46))?new s1(t.j,QH(n.a,19).a,QH(n.b,19).a):(CW(),CW(),cne)}function odt(t,e,n){var r;return r=t.a.get(e),t.a.set(e,void 0===n?null:n),void 0===r?(++t.c,oY(t.b)):++t.d,r}function sdt(t,n,r){t.n=v$(LNe,[cVt,QWt],[364,25],14,[r,xJ(e.Math.ceil(n/32))],2),t.o=n,t.p=r,t.j=n-1>>1,t.k=r-1>>1}function cdt(){var t,n,r;vCt(),r=Ine+++Date.now(),t=xJ(e.Math.floor(r*oYt))&cYt,n=xJ(r-t*sYt),this.a=1502^t,this.b=n^aYt}function ldt(t){var e,n;for(e=new Mm,n=new zd(t.j);n.a<n.c.c.length;)zH(e,QH(J1(n),11).b);return bX(e),new BL(e)}function udt(t){var e,n;for(e=new Mm,n=new zd(t.j);n.a<n.c.c.length;)zH(e,QH(J1(n),11).e);return bX(e),new BL(e)}function hdt(t){var e,n;for(e=new Mm,n=new zd(t.j);n.a<n.c.c.length;)zH(e,QH(J1(n),11).g);return bX(e),new BL(e)}function fdt(t){var e,n;for(n=tMt(Get(dZ(t))).Kc();n.Ob();)if(OQt(t,e=CF(n.Pb())))return v3((GE(),$Ie),e);return null}function ddt(t){var e,n;for(e=0,n=t.length;e<n;e++)if(null==t[e])throw Um(new Uy("at index "+e));return new Wy(t)}function Adt(t,e){var n;if(rO(n=ONt(t.Tg(),e),99))return QH(n,18);throw Um(new Py(r6t+e+"' is not a valid reference"))}function pdt(t){var e;return(e=fxt(t))>34028234663852886e22?FWt:e<-34028234663852886e22?PWt:e}function gdt(t){return t=((t=((t-=t>>1&1431655765)>>2&858993459)+(858993459&t))>>4)+t&252645135,t+=t>>8,63&(t+=t>>16)}function mdt(t){var e,n,r;for(e=new cP(t.Hd().gc()),r=0,n=I8(t.Hd().Kc());n.Ob();)yZ(e,n.Pb(),nft(r++));return Oxt(e.a)}function bdt(t,e){var n,r,i;for(i=new Om,r=e.vc().Kc();r.Ob();)Xq(i,(n=QH(r.Pb(),42)).cd(),hot(t,QH(n.dd(),15)));return i}function vdt(t,e){0==t.n.c.length&&zH(t.n,new DJ(t.s,t.t,t.i)),zH(t.b,e),cvt(QH(O$(t.n,t.n.c.length-1),211),e),UUt(t,e)}function ydt(t){return t.c==t.b.b&&t.i==t.g.b||(t.a.c=O9(Lte,Hqt,1,0,5,1),pst(t.a,t.b),pst(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function wdt(t,e){var n,r;for(r=0,n=QH(e.Kb(t),20).Kc();n.Ob();)Hy(TF(bEt(QH(n.Pb(),17),(lqt(),xfe))))||++r;return r}function Tdt(t,n){var r,i;i=jy(kF(ept(l2(n),(HXt(),bme)))),Qwt(n,r=e.Math.max(0,i/2-.5),1),zH(t,new u_(n,r))}function kdt(){kdt=L,Hfe=new Q_(VZt,0),Pfe=new Q_("FIRST",1),Rfe=new Q_(_1t,2),Qfe=new Q_("LAST",3),Ufe=new Q_(B1t,4)}function Cdt(){Cdt=L,Y_e=new RB(lJt,0),V_e=new RB("POLYLINE",1),q_e=new RB("ORTHOGONAL",2),W_e=new RB("SPLINES",3)}function Edt(){Edt=L,YTe=new vB("ASPECT_RATIO_DRIVEN",0),JTe=new vB("MAX_SCALE_DRIVEN",1),WTe=new vB("AREA_DRIVEN",2)}function xdt(){xdt=L,Uke=new wB("P1_STRUCTURE",0),Hke=new wB("P2_PROCESSING_ORDER",1),jke=new wB("P3_EXECUTION",2)}function _dt(){_dt=L,tTe=new AB("OVERLAP_REMOVAL",0),Jwe=new AB("COMPACTION",1),Zwe=new AB("GRAPH_SIZE_CALCULATION",2)}function Bdt(t,n){return cM(),rrt(PVt),e.Math.abs(t-n)<=PVt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:$L(isNaN(t),isNaN(n))}function Sdt(t,e){var n,r;for(n=cmt(t,0);n.b!=n.d.c;){if((r=$y(kF(h4(n))))==e)return;if(r>e){K0(n);break}}Jz(n,e)}function Ldt(t,e){var n,r,i,a,o;if(n=e.f,Ygt(t.c.d,n,e),null!=e.g)for(a=0,o=(i=e.g).length;a<o;++a)r=i[a],Ygt(t.c.e,r,e)}function Idt(t,e,n,r){var i,a,o;for(i=e+1;i<n;++i)for(a=i;a>e&&r.ue(t[a-1],t[a])>0;--a)o=t[a],LX(t,a,t[a-1]),LX(t,a-1,o)}function Mdt(t,e,n,r){if(e<0)kOt(t,n,r);else{if(!n.Ij())throw Um(new Py(r6t+n.ne()+i6t));QH(n,66).Nj().Tj(t,t.yh(),e,r)}}function Odt(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw Um(new Py("Node "+e+" not part of edge "+t))}function Ndt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Ddt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Fdt(t,e,n,r){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return Rht(t,e,n,r)}function Pdt(t){return t.k==(oxt(),xse)&&o5(new D$(null,new $z(new oG(YO(hdt(t).a.Kc(),new u)))),new $i)}function Rdt(t){return null==t.e?t:(!t.c&&(t.c=new rPt(0!=(256&t.f),t.i,t.a,t.d,0!=(16&t.f),t.j,t.g,null)),t.c)}function Qdt(t,e){return t.h==_Wt&&0==t.m&&0==t.l?(e&&(hee=kM(0,0,0)),zL((G7(),Aee))):(e&&(hee=kM(t.l,t.m,t.h)),kM(0,0,0))}function Udt(t){return Array.isArray(t)&&t.im===S?JT(tlt(t))+"@"+(Zct(t)>>>0).toString(16):t.toString()}function Hdt(t){var e;this.a=new VR(e=QH(t.e&&t.e(),9),QH(CP(e,e.length),9),0),this.b=O9(Lte,Hqt,1,this.a.a.length,5,1)}function jdt(t){var e,n,r;for(this.a=new lI,r=new zd(t);r.a<r.c.c.length;)n=QH(J1(r),14),fit(e=new cK,n),Tz(this.a,e)}function $dt(t){var e,n;for(HF(),e=t.o.b,n=QH(QH(c6(t.r,(yzt(),CSe)),21),84).Kc();n.Ob();)QH(n.Pb(),111).e.b+=e}function Kdt(t){var e;if(t.b){if(Kdt(t.b),t.b.d!=t.c)throw Um(new gb)}else t.d.dc()&&(e=QH(t.f.c.xc(t.e),14))&&(t.d=e)}function Gdt(t){var e;return null==t||(e=t.length)>0&&(h1(e-1,t.length),58==t.charCodeAt(e-1))&&!zdt(t,LIe,IIe)}function zdt(t,e,n){var r,i;for(r=0,i=t.length;r<i;r++)if(tct((h1(r,t.length),t.charCodeAt(r)),e,n))return!0;return!1}function Xdt(t,e){var n,r;for(r=t.e.a.ec().Kc();r.Ob();)if(txt(e,(n=QH(r.Pb(),266)).d)||BBt(e,n.d))return!0;return!1}function qdt(t,e){var n,r,i;for(i=(r=HPt(t,e))[r.length-1]/2,n=0;n<r.length;n++)if(r[n]>=i)return e.c+n;return e.c+e.b.gc()}function Vdt(t,e){var n,r,i,a;for(dF(),i=e,$8(r=U8(t),0,r.length,i),n=0;n<r.length;n++)n!=(a=pwt(t,r[n],n))&&Bft(t,n,a)}function Wdt(t,e){var n,r,i,a,o,s;for(r=0,n=0,o=0,s=(a=e).length;o<s;++o)(i=a[o])>0&&(r+=i,++n);return n>1&&(r+=t.d*(n-1)),r}function Ydt(t){var e,n,r;for((r=new Cw).a+="[",e=0,n=t.gc();e<n;)rL(r,vN(t.ki(e))),++e<n&&(r.a+=Qqt);return r.a+="]",r.a}function Jdt(t){var e,n,r;return r=LCt(t),!zk(t.c)&&(net(r,"knownLayouters",n=new xf),e=new nm(n),t5(t.c,e)),r}function Zdt(t,e){var n,r;for(vq(e),n=!1,r=new zd(t);r.a<r.c.c.length;)vAt(e,J1(r),!1)&&(Sz(r),n=!0);return n}function tAt(t){var e,n;for(n=jy(kF(t.a.We((cqt(),B_e)))),e=new zd(t.a.xf());e.a<e.c.c.length;)qzt(t,QH(J1(e),680),n)}function eAt(t,e){var n,r;for(r=new zd(e);r.a<r.c.c.length;)n=QH(J1(r),46),zH(t.b.b,QH(n.b,81)),A2(QH(n.a,189),QH(n.b,81))}function nAt(t,e,n){var r,i;for(r=(i=t.a.b).c.length;r<n;r++)vK(i,0,new UX(t.a));EZ(e,QH(O$(i,i.c.length-n),29)),t.b[e.p]=n}function rAt(t,e,n){var r;!(r=n)&&(r=Ij(new Gv,0)),SCt(r,jZt,2),bbt(t.b,e,bat(r,1)),P$t(t,e,bat(r,1)),jzt(e,bat(r,1)),Hxt(r)}function iAt(t,e,n,r,i){QZ(),GNt(iE(rE(nE(aE(new Ub,0),i.d.e-t),e),i.d)),GNt(iE(rE(nE(aE(new Ub,0),n-i.a.e),i.a),r))}function aAt(t,e,n,r,i,a){this.a=t,this.c=e,this.b=n,this.f=r,this.d=i,this.e=a,this.c>0&&this.b>0&&V$(this.c,this.b,this.a)}function oAt(t){FAt(),this.c=a6(xst(jw(nEe,1),Hqt,831,0,[zme])),this.b=new Om,this.a=t,Xq(this.b,Xme,1),Set(qme,new Eg(this))}function sAt(t,e){var n;return t.d?cz(t.b,e)?QH(DX(t.b,e),51):(n=e.Kf(),Xq(t.b,e,n),n):e.Kf()}function cAt(t,e){var n;return jS(t)===jS(e)||!!rO(e,91)&&(n=QH(e,91),t.e==n.e&&t.d==n.d&&w3(t,n.a))}function lAt(t){switch(yzt(),t.g){case 4:return sSe;case 1:return oSe;case 3:return CSe;case 2:return xSe;default:return ESe}}function uAt(t,e){switch(e){case 3:return 0!=t.f;case 4:return 0!=t.g;case 5:return 0!=t.i;case 6:return 0!=t.j}return Tot(t,e)}function hAt(t){switch(t.g){case 0:return new Go;case 1:return new zo;default:throw Um(new Py(i3t+(null!=t.f?t.f:""+t.g)))}}function fAt(t){switch(t.g){case 0:return new Ko;case 1:return new Xo;default:throw Um(new Py(C1t+(null!=t.f?t.f:""+t.g)))}}function dAt(t){switch(t.g){case 0:return new Xv;case 1:return new bv;default:throw Um(new Py(O3t+(null!=t.f?t.f:""+t.g)))}}function AAt(t){switch(t.g){case 1:return new Ro;case 2:return new AF;default:throw Um(new Py(i3t+(null!=t.f?t.f:""+t.g)))}}function pAt(t){var e,n;if(t.b)return t.b;for(n=qne?null:t.d;n;){if(e=qne?null:n.b)return e;n=qne?null:n.d}return uE(),Une}function gAt(t){var e,n;return 0==t.e?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&_at(t)==t.d-1&&(--n,n|=0),e-=JSt(n))}function mAt(t){var e,n,r;return t<tne.length?tne[t]:(e=31&t,(r=O9(BNe,lWt,25,1+(n=t>>5),15,1))[n]=1<<e,new uz(1,n+1,r))}function bAt(t){var e,n,r;return(n=t.zg())?rO(e=t.Ug(),160)&&null!=(r=bAt(QH(e,160)))?r+"."+n:n:null}function vAt(t,e,n){var r,i;for(i=t.Kc();i.Ob();)if(r=i.Pb(),jS(e)===jS(r)||null!=e&&Oht(e,r))return n&&i.Qb(),!0;return!1}function yAt(t,e,n){var r,i;if(++t.j,n.dc())return!1;for(i=n.Kc();i.Ob();)r=i.Pb(),t.Hi(e,t.oi(e,r)),++e;return!0}function wAt(t,e,n,r){var i,a;if((a=n-e)<3)for(;a<3;)t*=10,++a;else{for(i=1;a>3;)i*=10,--a;t=(t+(i>>1))/i|0}return r.i=t,!0}function TAt(t){return Eut(),cN(),!!(Ddt(QH(t.a,81).j,QH(t.b,103))||0!=QH(t.a,81).d.e&&Ddt(QH(t.a,81).j,QH(t.b,103)))}function kAt(t){O8(),QH(t.We((cqt(),Hxe)),174).Hc((ZRt(),XSe))&&(QH(t.We(l_e),174).Fc((hSt(),rSe)),QH(t.We(Hxe),174).Mc(XSe))}function CAt(t,e){var n;if(e){for(n=0;n<t.i;++n)if(QH(t.g[n],366).Di(e))return!1;return l8(t,e)}return!1}function EAt(t){var e,n,r;for(e=new xf,r=new Hd(t.b.Kc());r.b.Ob();)n=qxt(QH(r.b.Pb(),686)),zz(e,e.a.length,n);return e.a}function xAt(t){var e;return!t.c&&(t.c=new Ot),mM(t.d,new Dt),WRt(t),e=hFt(t),WC(new D$(null,new f1(t.d,16)),new _A(t)),e}function _At(t){var e;return 0!=(64&t.Db)?yht(t):((e=new lN(yht(t))).a+=" (instanceClassName: ",rL(e,t.D),e.a+=")",e.a)}function BAt(t,e){var n,r;e&&(n=Fnt(e,"x"),knt(new Yg(t).a,(vq(n),n)),r=Fnt(e,"y"),Snt(new Jg(t).a,(vq(r),r)))}function SAt(t,e){var n,r;e&&(n=Fnt(e,"x"),Bnt(new Xg(t).a,(vq(n),n)),r=Fnt(e,"y"),Lnt(new Vg(t).a,(vq(r),r)))}function LAt(t,e){var n,r,i;if(null==t.i&&jUt(t),n=t.i,-1!=(r=e.aj()))for(i=n.length;r<i;++r)if(n[r]==e)return r;return-1}function IAt(t){var e,n,r,i;for(n=QH(t.g,674),r=t.i-1;r>=0;--r)for(e=n[r],i=0;i<r;++i)if(mUt(t,e,n[i])){Myt(t,r);break}}function MAt(t){var e=t.e;function n(t){return t&&0!=t.length?"\t"+t.join("\n\t"):""}return e&&(e.stack||n(t[GVt]))}function OAt(t){var e;switch(zX(),(e=t.Pc()).length){case 0:return Qte;case 1:return new E$(bX(e[0]));default:return new CY(ddt(e))}}function NAt(t,e){switch(e.g){case 1:return FH(t.j,(pat(),Mse));case 2:return FH(t.j,(pat(),Nse));default:return CW(),CW(),cne}}function DAt(t,e){switch(e){case 3:return void Cnt(t,0);case 4:return void Ent(t,0);case 5:return void xnt(t,0);case 6:return void _nt(t,0)}sht(t,e)}function FAt(){FAt=L,SE(),HXt(),Xme=Bme,qme=a6(xst(jw(uEe,1),y4t,146,0,[mme,bme,yme,wme,Cme,Eme,xme,_me,Lme,Mme,vme,Tme,Sme]))}function PAt(t){var e,n;e=t.d==(I_t(),Wle),n=Ikt(t),lct(t.a,(HXt(),vpe),e&&!n||!e&&n?(dbt(),LEe):(dbt(),SEe))}function RAt(t,e){var n;return(n=QH(E3(t,m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15)).Qc(uj(n.gc()))}function QAt(){QAt=L,tLe=new VB("SIMPLE",0),YSe=new VB("GROUP_DEC",1),ZSe=new VB("GROUP_MIXED",2),JSe=new VB("GROUP_INC",3)}function UAt(){UAt=L,jMe=new Mc,DMe=new Oc,FMe=new Nc,PMe=new Dc,RMe=new Fc,QMe=new Pc,UMe=new Rc,HMe=new Qc,$Me=new Uc}function HAt(t,e,n){jet(),sv.call(this),this.a=v$(Gre,[cVt,rJt],[595,212],0,[Jre,Yre],2),this.c=new hI,this.g=t,this.f=e,this.d=n}function jAt(t,n){this.n=v$(LNe,[cVt,QWt],[364,25],14,[n,xJ(e.Math.ceil(t/32))],2),this.o=t,this.p=n,this.j=t-1>>1,this.k=n-1>>1}function $At(t,e){SCt(e,"End label post-processing",1),WC(SV(ftt(new D$(null,new f1(t.b,16)),new on),new sn),new cn),Hxt(e)}function KAt(t,e,n){var r;return r=jy(t.p[e.i.p])+jy(t.d[e.i.p])+e.n.b+e.a.b,jy(t.p[n.i.p])+jy(t.d[n.i.p])+n.n.b+n.a.b-r}function GAt(t,e,n){var r,i;for(r=t0(n,GWt),i=0;0!=qut(r,0)&&i<e;i++)r=rdt(r,t0(t[i],GWt)),t[i]=dK(r),r=vG(r,32);return dK(r)}function zAt(t){var e,n,r,i;for(i=0,n=0,r=t.length;n<r;n++)h1(n,t.length),(e=t.charCodeAt(n))<64&&(i=e0(i,bG(1,e)));return i}function XAt(t){var e;return null==t?null:new LI((e=QHt(t,!0)).length>0&&(h1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function qAt(t){var e;return null==t?null:new LI((e=QHt(t,!0)).length>0&&(h1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function VAt(t,e){return t.i>0&&(e.length<t.i&&(e=Dnt(tlt(e).c,t.i)),ajt(t.g,0,e,0,t.i)),e.length>t.i&&LX(e,t.i,null),e}function WAt(t,e,n){var r,i,a;return t.ej()?(r=t.i,a=t.fj(),Bht(t,r,e),i=t.Zi(3,null,e,r,a),n?n.Ei(i):n=i):Bht(t,t.i,e),n}function YAt(t,e,n){var r,i;return r=new M7(t.e,4,10,rO(i=e.c,88)?QH(i,26):(pqt(),fMe),null,obt(t,e),!1),n?n.Ei(r):n=r,n}function JAt(t,e,n){var r,i;return r=new M7(t.e,3,10,null,rO(i=e.c,88)?QH(i,26):(pqt(),fMe),obt(t,e),!1),n?n.Ei(r):n=r,n}function ZAt(t){var e;return HF(),e=new fI(QH(t.e.We((cqt(),Qxe)),8)),t.B.Hc((ZRt(),jSe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function tpt(t){return fbt(),(t.q?t.q:(CW(),CW(),lne))._b((HXt(),Dge))?QH(bEt(t,Dge),197):QH(bEt(gq(t),Fge),197)}function ept(t,e){var n,r;return r=null,ID(t,(HXt(),kme))&&(n=QH(bEt(t,kme),94)).Xe(e)&&(r=n.We(e)),null==r&&(r=bEt(gq(t),e)),r}function npt(t,e){var n,r,i;return!!rO(e,42)&&(r=(n=QH(e,42)).cd(),fq(i=hht(t.Rc(),r),n.dd())&&(null!=i||t.Rc()._b(r)))}function rpt(t,e){var n;return t.f>0&&(t.qj(),-1!=LMt(t,((n=null==e?0:Zct(e))&Dqt)%t.d.length,n,e))}function ipt(t,e){var n,r;return t.f>0&&(t.qj(),n=aLt(t,((r=null==e?0:Zct(e))&Dqt)%t.d.length,r,e))?n.dd():null}function apt(t,e){var n,r,i,a;for(a=aDt(t.e.Tg(),e),n=QH(t.g,119),i=0;i<t.i;++i)if(r=n[i],a.rl(r.ak()))return!1;return!0}function opt(t){if(null==t.b){for(;t.a.Ob();)if(t.b=t.a.Pb(),!QH(t.b,49).Zg())return!0;return t.b=null,!1}return!0}function spt(t,e){t.mj();try{t.d.Vc(t.e++,e),t.f=t.d.j,t.g=-1}catch(t){throw rO(t=hst(t),73)?Um(new gb):Um(t)}}function cpt(t,e){var n,r;return sM(),r=null,e==(n=lP((lw(),lw(),ree)))&&(r=QH(CJ(nee,t),615)),r||(r=new $X(t),e==n&&mZ(nee,t,r)),r}function lpt(t,n){var r,i;t.a=rdt(t.a,1),t.c=e.Math.min(t.c,n),t.b=e.Math.max(t.b,n),t.d+=n,r=n-t.f,i=t.e+r,t.f=i-t.e-r,t.e=i}function upt(t,e){var n;t.c=e,t.a=gAt(e),t.a<54&&(t.f=(n=e.d>1?e0(bG(e.a[1],32),t0(e.a[0],GWt)):t0(e.a[0],GWt),y2(idt(e.e,n))))}function hpt(t,e){var n;return WL(t)&&WL(e)&&IWt<(n=t%e)&&n<SWt?n:oot((L$t(WL(t)?xot(t):t,WL(e)?xot(e):e,!0),hee))}function fpt(t,e){var n;DGt(e),(n=QH(bEt(t,(HXt(),Wpe)),276))&&lct(t,Wpe,Lyt(n)),JN(t.c),JN(t.f),X6(t.d),X6(QH(bEt(t,Sge),207))}function dpt(t){this.e=O9(BNe,lWt,25,t.length,15,1),this.c=O9(SNe,JYt,25,t.length,16,1),this.b=O9(SNe,JYt,25,t.length,16,1),this.f=0}function Apt(t){var e,n;for(t.j=O9(MNe,jWt,25,t.p.c.length,15,1),n=new zd(t.p);n.a<n.c.c.length;)e=QH(J1(n),10),t.j[e.p]=e.o.b/t.i}function ppt(t){var e;0!=t.c&&(1==(e=QH(O$(t.a,t.b),287)).b?(++t.b,t.b<t.a.c.length&&Td(QH(O$(t.a,t.b),287))):--e.b,--t.c)}function gpt(t){var e;e=t.a;do{(e=QH(K5(new oG(YO(hdt(e).a.Kc(),new u))),17).d.i).k==(oxt(),Ese)&&zH(t.e,e)}while(e.k==(oxt(),Ese))}function mpt(){mpt=L,ISe=new zI(15),LSe=new GI((cqt(),Gxe),ISe),OSe=new GI(I_e,15),MSe=new GI(g_e,nft(0)),SSe=new GI(rxe,AZt)}function bpt(){bpt=L,FSe=new XB("PORTS",0),PSe=new XB("PORT_LABELS",1),DSe=new XB("NODE_LABELS",2),NSe=new XB("MINIMUM_SIZE",3)}function vpt(t,e){var n,r;for(r=e.length,n=0;n<r;n+=2)WDt(t,(h1(n,e.length),e.charCodeAt(n)),(h1(n+1,e.length),e.charCodeAt(n+1)))}function ypt(t,e,n){var r,i,a,o;for(a=e-t.e,o=n-t.f,i=new zd(t.a);i.a<i.c.c.length;)kbt(r=QH(J1(i),187),r.s+a,r.t+o);t.e=e,t.f=n}function wpt(t,e){var n,r,i;for(i=e.b.b,t.a=new VC,t.b=O9(BNe,lWt,25,i,15,1),n=0,r=cmt(e.b,0);r.b!=r.d.c;)QH(h4(r),86).g=n++}function Tpt(t,e){var n,r,i,a;return n=e>>5,e&=31,i=t.d+n+(0==e?0:1),NCt(r=O9(BNe,lWt,25,i,15,1),t.a,n,e),G0(a=new uz(t.e,i,r)),a}function kpt(t,e,n){var r,i;r=QH(CJ(tNe,e),117),i=QH(CJ(eNe,e),117),n?(mZ(tNe,t,r),mZ(eNe,t,i)):(mZ(eNe,t,r),mZ(tNe,t,i))}function Cpt(t,e,n){var r,i,a;for(i=null,a=t.b;a;){if(r=t.a.ue(e,a.d),n&&0==r)return a;r>=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function Ept(t,e,n){var r,i,a;for(i=null,a=t.b;a;){if(r=t.a.ue(e,a.d),n&&0==r)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function xpt(t,e,n,r){var i,a,o;return i=!1,MKt(t.f,n,r)&&(Ngt(t.f,t.a[e][n],t.a[e][r]),o=(a=t.a[e])[r],a[r]=a[n],a[n]=o,i=!0),i}function _pt(t,e,n,r,i){var a,o,s;for(o=i;e.b!=e.c;)a=QH(dz(e),10),s=QH(adt(a,r).Xb(0),11),t.d[s.p]=o++,n.c[n.c.length]=s;return o}function Bpt(t,n,r){var i,a,o,s,c;return s=t.k,c=n.k,a=kF(ept(t,i=r[s.g][c.g])),o=kF(ept(n,i)),e.Math.max((vq(a),a),(vq(o),o))}function Spt(t,e,n){var r,i,a,o;for(r=n/t.c.length,i=0,o=new zd(t);o.a<o.c.c.length;)put(a=QH(J1(o),200),a.f+r*i),aTt(a,e,r),++i}function Lpt(t,e,n){var r,i,a;for(i=QH(DX(t.b,n),177),r=0,a=new zd(e.j);a.a<a.c.c.length;)i[QH(J1(a),113).d.p]&&++r;return r}function Ipt(t){var e,n;return null!=(e=QH(vot(t.a,4),126))?(ajt(e,0,n=O9(fIe,n8t,415,e.length,0,1),0,e.length),n):hIe}function Mpt(){var t;return 0!=iee&&(t=u5())-aee>2e3&&(aee=t,oee=e.setTimeout(qk,10)),0==iee++&&(Btt((sw(),tee)),!0)}function Opt(t,e){var n;for(n=new oG(YO(hdt(t).a.Kc(),new u));AIt(n);)if(QH(K5(n),17).d.i.c==e)return!1;return!0}function Npt(t,e){var n;if(rO(e,245)){n=QH(e,245);try{return 0==t.vd(n)}catch(t){if(!rO(t=hst(t),205))throw Um(t)}}return!1}function Dpt(){return Error.stackTraceLimit>0?(e.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Fpt(t,n){return cM(),cM(),rrt(PVt),(e.Math.abs(t-n)<=PVt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:$L(isNaN(t),isNaN(n)))>0}function Ppt(t,n){return cM(),cM(),rrt(PVt),(e.Math.abs(t-n)<=PVt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:$L(isNaN(t),isNaN(n)))<0}function Rpt(t,n){return cM(),cM(),rrt(PVt),(e.Math.abs(t-n)<=PVt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:$L(isNaN(t),isNaN(n)))<=0}function Qpt(t,e){for(var n=0;!e[n]||""==e[n];)n++;for(var r=e[n++];n<e.length;n++)e[n]&&""!=e[n]&&(r+=t+e[n]);return r}function Upt(t,n,r){var i,a,o,s;for(P9(n,o=n+r,t.length),s="",a=n;a<o;)i=e.Math.min(a+1e4,o),s+=zq(t.slice(a,i)),a=i;return s}function Hpt(t){var e,n,r,i;if(null==t)return null;for(i=new Mm,n=0,r=(e=vlt(t)).length;n<r;++n)zH(i,QHt(e[n],!0));return i}function jpt(t){var e,n,r,i;if(null==t)return null;for(i=new Mm,n=0,r=(e=vlt(t)).length;n<r;++n)zH(i,QHt(e[n],!0));return i}function $pt(t){var e,n,r,i;if(null==t)return null;for(i=new Mm,n=0,r=(e=vlt(t)).length;n<r;++n)zH(i,QHt(e[n],!0));return i}function Kpt(t,e){var n,r,i;if(t.c)Ent(t.c,e);else for(n=e-eK(t),i=new zd(t.d);i.a<i.c.c.length;)Kpt(r=QH(J1(i),157),eK(r)+n)}function Gpt(t,e){var n,r,i;if(t.c)Cnt(t.c,e);else for(n=e-tK(t),i=new zd(t.a);i.a<i.c.c.length;)Gpt(r=QH(J1(i),157),tK(r)+n)}function zpt(t,e){var n,r,i;for(r=new W6(e.gc()),n=e.Kc();n.Ob();)(i=tQt(t,QH(n.Pb(),56)))&&(r.c[r.c.length]=i);return r}function Xpt(t,e){var n,r;return t.qj(),(n=aLt(t,((r=null==e?0:Zct(e))&Dqt)%t.d.length,r,e))?(lrt(t,n),n.dd()):null}function qpt(t){var e,n;for(n=o_t(t),e=null;2==t.c;)VXt(t),e||(dqt(),dqt(),t$t(e=new nM(2),n),n=e),n.$l(o_t(t));return n}function Vpt(t){if(!(j6t in t.a))throw Um(new tw("Every element must have an id."));return ySt($J(t,j6t))}function Wpt(t){var e,n,r;if(!(r=t.Zg()))for(e=0,n=t.eh();n;n=n.eh()){if(++e>$Wt)return n.fh();if((r=n.Zg())||n==t)break}return r}function Ypt(t){return cZ(),rO(t,156)?QH(DX(aIe,bne),288).vg(t):cz(aIe,tlt(t))?QH(DX(aIe,tlt(t)),288).vg(t):null}function Jpt(t){if(bgt(a5t,t))return cN(),mee;if(bgt(o5t,t))return cN(),gee;throw Um(new Py("Expecting true or false"))}function Zpt(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw Um(new Py("Input edge is not connected to the input port."))}function tgt(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*Clt(t.a,e.a,t.d)}function egt(t){return t>=48&&t<48+e.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function ngt(t,e){var n;return jS(e)===jS(t)||!!rO(e,21)&&(n=QH(e,21)).gc()==t.gc()&&t.Ic(n)}function rgt(t,e){var n,r,i;return r=t.a.length-1,n=e-t.b&r,i=t.c-e&r,wD(n<(t.c-t.b&r)),n>=i?(aut(t,e),-1):(out(t,e),1)}function igt(t,e){var n,r;for(h1(e,t.length),n=t.charCodeAt(e),r=e+1;r<t.length&&(h1(r,t.length),t.charCodeAt(r)==n);)++r;return r-e}function agt(t){switch(t.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function ogt(t,e){var n,r=t.a;e=String(e),r.hasOwnProperty(e)&&(n=r[e]);var i=(Jst(),uee)[typeof n];return i?i(n):yut(typeof n)}function sgt(t,e){if(t.a<0)throw Um(new Ry("Did not call before(...) or after(...) before calling add(...)."));return zN(t,t.a,e),t}function cgt(t,e,n,r){var i;0!=e.c.length&&(i=COt(n,r),WC(vet(new D$(null,new f1(oSt(e),1)),new ko),new GV(t,n,i,r)))}function lgt(t,e,n){var r;0!=(t.Db&e)?null==n?XLt(t,e):-1==(r=Fvt(t,e))?t.Eb=n:LX(ent(t.Eb),r,n):null!=n&&bDt(t,e,n)}function ugt(t){var e;return 0==(32&t.Db)&&0!=(e=hX(QH(vot(t,16),26)||t.zh())-hX(t.zh()))&&lgt(t,32,O9(Lte,Hqt,1,e,5,1)),t}function hgt(t){var e;return t.b||GT(t,!(e=JP(t.e,t.a))||!mR(o5t,ipt((!e.b&&(e.b=new WD((pqt(),bMe),KMe,e)),e.b),"qualified"))),t.c}function fgt(t,e,n){var r,i;return((i=(r=QH(Xet(U7(t.a),e),87)).c||(pqt(),lMe)).kh()?tht(t.b,QH(i,49)):i)==n?hUt(r):int(r,n),i}function dgt(t,e){(e||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,t)}function Agt(t,e,n,r){QH(n.b,65),QH(n.b,65),QH(r.b,65),QH(r.b,65).c.b,F9(r,e,t)}function pgt(t){var e,n;for(e=new zd(t.g);e.a<e.c.c.length;)QH(J1(e),562);KGt(n=new vDt(t.g,jy(t.a),t.c)),t.g=n.b,t.d=n.a}function ggt(t,n,r){n.b=e.Math.max(n.b,-r.a),n.c=e.Math.max(n.c,r.a-t.a),n.d=e.Math.max(n.d,-r.b),n.a=e.Math.max(n.a,r.b-t.b)}function mgt(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:Zct(t)-Zct(e)}function bgt(t,e){return vq(t),null!=e&&(!!mR(t,e)||t.length==e.length&&mR(t.toLowerCase(),e.toLowerCase()))}function vgt(t,e){var n,r,i,a;for(r=0,i=e.gc();r<i;++r)rO(n=e.il(r),99)&&0!=(QH(n,18).Bb&l6t)&&null!=(a=e.jl(r))&&tQt(t,QH(a,56))}function ygt(t,e,n){var r,i,a;for(a=new zd(n.a);a.a<a.c.c.length;)i=QH(J1(a),221),r=new xM(QH(DX(t.a,i.b),65)),zH(e.a,r),ygt(t,r,i)}function wgt(t){var e,n;return qut(t,-129)>0&&qut(t,128)<0?(e=dK(t)+128,!(n=(w$(),Iee)[e])&&(n=Iee[e]=new Nd(t)),n):new Nd(t)}function Tgt(t,e){var n,r;return(n=e.Hh(t.a))&&null!=(r=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),t9t)))?r:e.ne()}function kgt(t,e){var n,r;return(n=e.Hh(t.a))&&null!=(r=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),t9t)))?r:e.ne()}function Cgt(t,e){var n,r;for(HZ(),r=new oG(YO(ldt(t).a.Kc(),new u));AIt(r);)if((n=QH(K5(r),17)).d.i==e||n.c.i==e)return n;return null}function Egt(t,e,n){this.c=t,this.f=new Mm,this.e=new jT,this.j=new C$,this.n=new C$,this.b=e,this.g=new KV(e.c,e.d,e.b,e.a),this.a=n}function xgt(t){var e,n,r,i;for(this.a=new lI,this.d=new Db,this.e=0,r=0,i=(n=t).length;r<i;++r)e=n[r],!this.f&&(this.f=e),A2(this,e)}function _gt(t){SFt(),0==t.length?(this.e=0,this.d=1,this.a=xst(jw(BNe,1),lWt,25,15,[0])):(this.e=1,this.d=t.length,this.a=t,G0(this))}function Bgt(t,e,n){sv.call(this),this.a=O9(Gre,rJt,212,(Det(),xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length,0,1),this.b=t,this.d=e,this.c=n}function Sgt(t){this.d=new Mm,this.e=new g3,this.c=O9(BNe,lWt,25,(yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length,15,1),this.b=t}function Lgt(t){var e,n,r,i;for(lct(i=QH(bEt(t,(lqt(),dfe)),11),Ife,t.i.n.b),n=0,r=(e=Y0(t.e)).length;n<r;++n)kZ(e[n],i)}function Igt(t){var e,n,r,i;for(lct(e=QH(bEt(t,(lqt(),dfe)),11),Ife,t.i.n.b),r=0,i=(n=Y0(t.g)).length;r<i;++r)CZ(n[r],e)}function Mgt(t){var e,n;return!!ID(t.d.i,(HXt(),zge))&&(e=QH(bEt(t.c.i,zge),19),n=QH(bEt(t.d.i,zge),19),wM(e.a,n.a)>0)}function Ogt(t){var e;jS(JIt(t,(cqt(),wxe)))===jS((oht(),gBe))&&(WJ(t)?(e=QH(JIt(WJ(t),wxe),334),Wmt(t,wxe,e)):Wmt(t,wxe,mBe))}function Ngt(t,e,n){var r,i;uEt(t.e,e,n,(yzt(),xSe)),uEt(t.i,e,n,oSe),t.a&&(i=QH(bEt(e,(lqt(),dfe)),11),r=QH(bEt(n,dfe),11),v0(t.g,i,r))}function Dgt(t,e,n){var r,i,a;r=e.c.p,a=e.p,t.b[r][a]=new NY(t,e),n&&(t.a[r][a]=new Qp(e),(i=QH(bEt(e,(lqt(),nfe)),10))&&YSt(t.d,i,e))}function Fgt(t,e){var n,r,i;if(zH(Cae,t),e.Fc(t),n=QH(DX(kae,t),21))for(i=n.Kc();i.Ob();)r=QH(i.Pb(),33),-1!=w7(Cae,r,0)||Fgt(r,e)}function Pgt(t,e,n){var r;(zne?(pAt(t),1):Xne||Wne?(uE(),1):Vne&&(uE(),0))&&((r=new eQ(e)).b=n,axt(t,r))}function Rgt(t,e){var n;n=!t.A.Hc((bpt(),PSe))||t.q==(Vkt(),GBe),t.u.Hc((hSt(),tSe))?n?Ozt(t,e):azt(t,e):t.u.Hc(nSe)&&(n?LGt(t,e):Yzt(t,e))}function Qgt(t,e){var n,r;++t.j,null!=e&&sLt(e,n=rO(r=t.a.Cb,97)?QH(r,97).Jg():null)?lgt(t.a,4,n):lgt(t.a,4,QH(e,126))}function Ugt(t,n,r){return new KV(e.Math.min(t.a,n.a)-r/2,e.Math.min(t.b,n.b)-r/2,e.Math.abs(t.a-n.a)+r,e.Math.abs(t.b-n.b)+r)}function Hgt(t,e){var n,r;return 0!=(n=wM(t.a.c.p,e.a.c.p))?n:0!=(r=wM(t.a.d.i.p,e.a.d.i.p))?r:wM(e.a.d.p,t.a.d.p)}function jgt(t,e,n){var r,i,a,o;return(a=e.j)!=(o=n.j)?a.g-o.g:(r=t.f[e.p],i=t.f[n.p],0==r&&0==i?0:0==r?-1:0==i?1:xft(r,i))}function $gt(t,e,n){var r;if(!n[e.d])for(n[e.d]=!0,r=new zd(ydt(e));r.a<r.c.c.length;)$gt(t,Odt(QH(J1(r),213),e),n)}function Kgt(t,e,n){var r;switch(r=n[t.g][e],t.g){case 1:case 3:return new OB(0,r);case 2:case 4:return new OB(r,0);default:return null}}function Ggt(t,e,n){var r;r=QH(sJ(e.f),209);try{r.Ze(t,n),Cq(e.f,r)}catch(t){throw rO(t=hst(t),102),Um(t)}}function zgt(t,e,n){var r,i,a,o;return r=null,(a=gKt(irt(),e))&&(i=null,null!=(o=J$t(a,n))&&(i=t.Ye(a,o)),r=i),r}function Xgt(t,e,n,r){var i;return i=new M7(t.e,1,13,e.c||(pqt(),lMe),n.c||(pqt(),lMe),obt(t,e),!1),r?r.Ei(i):r=i,r}function qgt(t,e,n,r){var i;if(e>=(i=t.length))return i;for(e=e>0?e:0;e<i&&!tct((h1(e,t.length),t.charCodeAt(e)),n,r);e++);return e}function Vgt(t,e){var n,r;for(r=t.c.length,e.length<r&&(e=Hw(new Array(r),e)),n=0;n<r;++n)LX(e,n,t.c[n]);return e.length>r&&LX(e,r,null),e}function Wgt(t,e){var n,r;for(r=t.a.length,e.length<r&&(e=Hw(new Array(r),e)),n=0;n<r;++n)LX(e,n,t.a[n]);return e.length>r&&LX(e,r,null),e}function Ygt(t,e,n){var r,i,a;return(i=QH(DX(t.e,e),387))?(a=pP(i,n),aO(t,i),a):(r=new JH(t,e,n),Xq(t.e,e,r),vJ(r),null)}function Jgt(t){var e;if(null==t)return null;if(null==(e=MMt(QHt(t,!0))))throw Um(new ew("Invalid hexBinary value: '"+t+"'"));return e}function Zgt(t){return SFt(),qut(t,0)<0?0!=qut(t,-1)?new mkt(-1,y7(t)):Wee:qut(t,10)<=0?Jee[dK(t)]:new mkt(1,t)}function tmt(){return Aqt(),xst(jw(Fie,1),IVt,159,0,[Eie,Cie,xie,gie,pie,mie,yie,vie,bie,kie,Tie,wie,die,fie,Aie,uie,lie,hie,sie,oie,cie,_ie])}function emt(t){var e;this.d=new Mm,this.j=new jT,this.g=new jT,e=t.g.b,this.f=QH(bEt(gq(e),(HXt(),Kpe)),103),this.e=jy(kF(pmt(e,Cme)))}function nmt(t){this.b=new Mm,this.e=new Mm,this.d=t,this.a=!yk(SV(new D$(null,new $z(new m6(t.b))),new iA(new Ki))).sd((dE(),Zne))}function rmt(){rmt=L,cEe=new SB("PARENTS",0),sEe=new SB("NODES",1),aEe=new SB("EDGES",2),lEe=new SB("PORTS",3),oEe=new SB("LABELS",4)}function imt(){imt=L,QBe=new $B("DISTRIBUTED",0),HBe=new $B("JUSTIFIED",1),PBe=new $B("BEGIN",2),RBe=new $B(eJt,3),UBe=new $B("END",4)}function amt(t){switch(t.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function omt(t){switch(t.g){case 1:return Qht(),U_e;case 4:return Qht(),P_e;case 2:return Qht(),R_e;case 3:return Qht(),F_e}return Qht(),Q_e}function smt(t,e,n){var r;switch((r=n.q.getFullYear()-cWt+cWt)<0&&(r=-r),e){case 1:t.a+=r;break;case 2:wtt(t,r%100,2);break;default:wtt(t,r,e)}}function cmt(t,e){var n,r;if(IZ(e,t.b),e>=t.b>>1)for(r=t.c,n=t.b;n>e;--n)r=r.b;else for(r=t.a.a,n=0;n<e;++n)r=r.a;return new YR(t,e,r)}function lmt(){lmt=L,dre=new Rx("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),fre=new Rx("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function umt(t){var e,n,r;for(mM(n=oBt(t),Qse),(r=t.d).c=O9(Lte,Hqt,1,0,5,1),e=new zd(n);e.a<e.c.c.length;)pst(r,QH(J1(e),456).b)}function hmt(t){var e,n;for(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),e=(n=t.o).c.Kc();e.e!=e.i.gc();)QH(e.nj(),42).dd();return S9(n)}function fmt(t){var e;IR(QH(bEt(t,(HXt(),tme)),98))&&(uLt((u1(0,(e=t.b).c.length),QH(e.c[0],29))),uLt(QH(O$(e,e.c.length-1),29)))}function dmt(t,n){var r,i,a,o;for(r=0,a=new zd(n.a);a.a<a.c.c.length;)o=(i=QH(J1(a),10)).o.a+i.d.c+i.d.b+t.j,r=e.Math.max(r,o);return r}function Amt(t){var e,n,r,i;for(i=0,n=0,r=t.length;n<r;n++)h1(n,t.length),(e=t.charCodeAt(n))>=64&&e<128&&(i=e0(i,bG(1,e-64)));return i}function pmt(t,e){var n,r;return r=null,ID(t,(cqt(),x_e))&&(n=QH(bEt(t,x_e),94)).Xe(e)&&(r=n.We(e)),null==r&&gq(t)&&(r=bEt(gq(t),e)),r}function gmt(t,e){var n,r,i;(r=(i=e.d.i).k)!=(oxt(),xse)&&r!=Tse&&AIt(n=new oG(YO(hdt(i).a.Kc(),new u)))&&Xq(t.k,e,QH(K5(n),17))}function mmt(t,e){var n,r,i;return r=eet(t.Tg(),e),(n=e-t.Ah())<0?(i=t.Yg(r))>=0?t.lh(i):jSt(t,r):n<0?jSt(t,r):QH(r,66).Nj().Sj(t,t.yh(),n)}function bmt(t){var e;if(rO(t.a,4)){if(null==(e=Ypt(t.a)))throw Um(new Ry(s5t+t.b+"'. "+r5t+(wF(uIe),uIe.k)+i5t));return e}return t.a}function vmt(t){var e;if(null==t)return null;if(null==(e=Gzt(QHt(t,!0))))throw Um(new ew("Invalid base64Binary value: '"+t+"'"));return e}function ymt(t){var e;try{return e=t.i.Xb(t.e),t.mj(),t.g=t.e++,e}catch(e){throw rO(e=hst(e),73)?(t.mj(),Um(new bb)):Um(e)}}function wmt(t){var e;try{return e=t.c.ki(t.e),t.mj(),t.g=t.e++,e}catch(e){throw rO(e=hst(e),73)?(t.mj(),Um(new bb)):Um(e)}}function Tmt(){Tmt=L,cqt(),wae=T_e,pae=bxe,uae=rxe,gae=Gxe,Rwt(),vae=kre,bae=wre,yae=Ere,mae=yre,$lt(),fae=oae,hae=aae,dae=cae,Aae=lae}function kmt(t){switch(yE(),this.c=new Mm,this.d=t,t.g){case 0:case 2:this.a=qq(cse),this.b=FWt;break;case 3:case 1:this.a=cse,this.b=PWt}}function Cmt(t,e,n){var r;if(t.c)xnt(t.c,t.c.i+e),_nt(t.c,t.c.j+n);else for(r=new zd(t.b);r.a<r.c.c.length;)Cmt(QH(J1(r),157),e,n)}function Emt(t,e){var n,r;if(t.j.length!=e.j.length)return!1;for(n=0,r=t.j.length;n<r;n++)if(!mR(t.j[n],e.j[n]))return!1;return!0}function xmt(t,e,n){var r;e.a.length>0&&(zH(t.b,new XH(e.a,n)),0<(r=e.a.length)?e.a=e.a.substr(0,0):0>r&&(e.a+=nO(O9(_Ne,XVt,25,-r,15,1))))}function _mt(t,e){var n,r,i;for(n=t.o,i=QH(QH(c6(t.r,e),21),84).Kc();i.Ob();)(r=QH(i.Pb(),111)).e.a=Ayt(r,n.a),r.e.b=n.b*jy(kF(r.b.We(Iie)))}function Bmt(t,e){var n,r,i,a;return i=t.k,n=jy(kF(bEt(t,(lqt(),Tfe)))),a=e.k,r=jy(kF(bEt(e,Tfe))),a!=(oxt(),kse)?-1:i!=kse?1:n==r?0:n<r?-1:1}function Smt(t,e){var n,r;return n=QH(QH(DX(t.g,e.a),46).a,65),r=QH(QH(DX(t.g,e.b),46).a,65),z9(e.a,e.b)-z9(e.a,PM(n.b))-z9(e.b,PM(r.b))}function Lmt(t,e){var n;return n=QH(bEt(t,(HXt(),gge)),74),ZM(e,gse)?n?bW(n):(n=new vv,lct(t,gge,n)):n&&lct(t,gge,null),n}function Imt(t){var e;return(e=new xw).a+="n",t.k!=(oxt(),xse)&&oL(oL((e.a+="(",e),dD(t.k).toLowerCase()),")"),oL((e.a+="_",e),pyt(t)),e.a}function Mmt(t,e){SCt(e,"Self-Loop post-processing",1),WC(SV(SV(ftt(new D$(null,new f1(t.b,16)),new Dr),new Fr),new Pr),new Rr),Hxt(e)}function Omt(t,e,n,r){var i;return n>=0?t.hh(e,n,r):(t.eh()&&(r=(i=t.Vg())>=0?t.Qg(r):t.eh().ih(t,-1-i,null,r)),t.Sg(e,n,r))}function Nmt(t,e){switch(e){case 7:return!t.e&&(t.e=new cR(FLe,t,7,4)),void c$t(t.e);case 8:return!t.d&&(t.d=new cR(FLe,t,8,5)),void c$t(t.d)}DAt(t,e)}function Dmt(t,e){var n;n=t.Zc(e);try{return n.Pb()}catch(t){throw rO(t=hst(t),109)?Um(new Sy("Can't get element "+e)):Um(t)}}function Fmt(t,e){this.e=t,e<zWt?(this.d=1,this.a=xst(jw(BNe,1),lWt,25,15,[0|e])):(this.d=2,this.a=xst(jw(BNe,1),lWt,25,15,[e%zWt|0,e/zWt|0]))}function Pmt(t,e){var n,r,i,a;for(CW(),n=t,a=e,rO(t,21)&&!rO(e,21)&&(n=e,a=t),i=n.Kc();i.Ob();)if(r=i.Pb(),a.Hc(r))return!1;return!0}function Rmt(t,e,n){var r,i,a,o;return-1!=(r=t.Xc(e))&&(t.ej()?(a=t.fj(),o=Myt(t,r),i=t.Zi(4,o,null,r,a),n?n.Ei(i):n=i):Myt(t,r)),n}function Qmt(t,e,n){var r,i,a,o;return-1!=(r=t.Xc(e))&&(t.ej()?(a=t.fj(),o=f$(t,r),i=t.Zi(4,o,null,r,a),n?n.Ei(i):n=i):f$(t,r)),n}function Umt(t,e){var n;switch(n=QH(oV(t.b,e),124).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t)}t.C&&(n.b=t.C.b,n.c=t.C.c)}function Hmt(){Hmt=L,Qie=new Px(bJt,0),Rie=new Px(vJt,1),Uie=new Px(yJt,2),Hie=new Px(wJt,3),Qie.a=!1,Rie.a=!0,Uie.a=!1,Hie.a=!0}function jmt(){jmt=L,Yie=new Fx(bJt,0),Wie=new Fx(vJt,1),Jie=new Fx(yJt,2),Zie=new Fx(wJt,3),Yie.a=!1,Wie.a=!0,Jie.a=!1,Zie.a=!0}function $mt(t){var e;e=t.a;do{(e=QH(K5(new oG(YO(udt(e).a.Kc(),new u))),17).c.i).k==(oxt(),Ese)&&t.b.Fc(e)}while(e.k==(oxt(),Ese));t.b=eot(t.b)}function Kmt(t){var e,n,r;for(r=t.c.a,t.p=(bX(r),new ZR(r)),n=new zd(r);n.a<n.c.c.length;)(e=QH(J1(n),10)).p=lBt(e).a;CW(),mM(t.p,new La)}function Gmt(t){var e,n,r;if(n=0,0==(r=dFt(t)).c.length)return 1;for(e=new zd(r);e.a<e.c.c.length;)n+=Gmt(QH(J1(e),33));return n}function zmt(t,e){var n,r,i;for(i=0,r=QH(QH(c6(t.r,e),21),84).Kc();r.Ob();)i+=(n=QH(r.Pb(),111)).d.b+n.b.rf().a+n.d.c,r.Ob()&&(i+=t.w);return i}function Xmt(t,e){var n,r,i;for(i=0,r=QH(QH(c6(t.r,e),21),84).Kc();r.Ob();)i+=(n=QH(r.Pb(),111)).d.d+n.b.rf().b+n.d.a,r.Ob()&&(i+=t.w);return i}function qmt(t,e,n,r){if(e.a<r.a)return!0;if(e.a==r.a){if(e.b<r.b)return!0;if(e.b==r.b&&t.b>n.b)return!0}return!1}function Vmt(t,e){return GS(t)?!!Sqt[e]:t.hm?!!t.hm[e]:KS(t)?!!Bqt[e]:!!$S(t)&&!!_qt[e]}function Wmt(t,e,n){return null==n?(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),Xpt(t.o,e)):(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),mTt(t.o,e,n)),t}function Ymt(t,e,n,r){var i;(i=zht(e.Xe((cqt(),Nxe))?QH(e.We(Nxe),21):t.j))!=(Aqt(),_ie)&&(n&&!agt(i)||Gxt(OMt(t,i,r),e))}function Jmt(t,e,n,r){var i,a,o;return a=eet(t.Tg(),e),(i=e-t.Ah())<0?(o=t.Yg(a))>=0?t._g(o,n,!0):iLt(t,a,n):QH(a,66).Nj().Pj(t,t.yh(),i,n,r)}function Zmt(t,e,n,r){var i,a;n.mh(e)&&(YE(),ctt(e)?vgt(t,QH(n.ah(e),153)):(i=(a=e)?QH(r,49).xh(a):null)&&Pm(n.ah(e),i))}function tbt(t){switch(t.g){case 1:return Dot(),Die;case 3:return Dot(),Mie;case 2:return Dot(),Nie;case 4:return Dot(),Oie;default:return null}}function ebt(t){switch(typeof t){case Oqt:return mbt(t);case Mqt:return xJ(t);case Iqt:return cN(),t?1231:1237;default:return null==t?0:EN(t)}}function nbt(t,e,n){if(t.e)switch(t.b){case 1:QW(t.c,e,n);break;case 0:UW(t.c,e,n)}else Z4(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}function rbt(t){var e,n;if(null==t)return null;for(n=O9(Bse,cVt,193,t.length,0,2),e=0;e<n.length;e++)n[e]=QH(j8(t[e],t[e].length),193);return n}function ibt(t){var e;if(Plt(t))return mG(t),t.Lk()&&(e=QSt(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw Um(new bb)}function abt(t,e){var n,r,i,a;return(a=t.o)<(n=t.p)?a*=a:n*=n,r=a+n,(a=e.o)<(n=e.p)?a*=a:n*=n,r<(i=a+n)?-1:r==i?0:1}function obt(t,e){var n,r;if((r=Xyt(t,e))>=0)return r;if(t.Fk())for(n=0;n<t.i;++n)if(jS(t.Gk(QH(t.g[n],56)))===jS(e))return n;return-1}function sbt(t,e,n){var r,i;if(e>=(i=t.gc()))throw Um(new ZP(e,i));if(t.hi()&&(r=t.Xc(n))>=0&&r!=e)throw Um(new Py(a9t));return t.mi(e,n)}function cbt(t,e){if(this.a=QH(bX(t),245),this.b=QH(bX(e),245),t.vd(e)>0||t==(ty(),Pte)||e==(Zv(),Rte))throw Um(new Py("Invalid range: "+Q4(t,e)))}function lbt(t){var e,n;for(this.b=new Mm,this.c=t,this.a=!1,n=new zd(t.a);n.a<n.c.c.length;)e=QH(J1(n),10),this.a=this.a|e.k==(oxt(),xse)}function ubt(t,e){var n,r,i;for(n=SN(new Hb,t),i=new zd(e);i.a<i.c.c.length;)r=QH(J1(i),121),GNt(iE(rE(aE(nE(new Ub,0),0),n),r));return n}function hbt(t,e,n){var r,i,a;for(i=new oG(YO((e?udt(t):hdt(t)).a.Kc(),new u));AIt(i);)r=QH(K5(i),17),(a=e?r.c.i:r.d.i).k==(oxt(),Cse)&&EZ(a,n)}function fbt(){fbt=L,ube=new P_(VZt,0),hbe=new P_("PORT_POSITION",1),lbe=new P_("NODE_SIZE_WHERE_SPACE_PERMITS",2),cbe=new P_("NODE_SIZE",3)}function dbt(){dbt=L,xEe=new NB("AUTOMATIC",0),SEe=new NB(iJt,1),LEe=new NB(aJt,2),IEe=new NB("TOP",3),_Ee=new NB(sJt,4),BEe=new NB(eJt,5)}function Abt(t,e,n,r){var i,a;for(ILt(),i=0,a=0;a<n;a++)i=rdt(idt(t0(e[a],GWt),t0(r,GWt)),t0(dK(i),GWt)),t[a]=dK(i),i=yG(i,32);return dK(i)}function pbt(t,n,r){var i,a;for(a=0,i=0;i<Yre;i++)a=e.Math.max(a,mut(t.a[n.g][i],r));return n==(Det(),$re)&&t.b&&(a=e.Math.max(a,t.b.b)),a}function gbt(t,e){var n,r;if(TD(e>0),(e&-e)==e)return xJ(e*HMt(t,31)*4.656612873077393e-10);do{r=(n=HMt(t,31))%e}while(n-r+(e-1)<0);return xJ(r)}function mbt(t){var e,n,r;return nQ(),null!=(r=nre[n=":"+t])?xJ((vq(r),r)):(e=null==(r=ere[n])?YNt(t):xJ((vq(r),r)),_W(),nre[n]=e,e)}function bbt(t,e,n){SCt(n,"Compound graph preprocessor",1),t.a=new pJ,OGt(t,e,null),$jt(t,e),tNt(t),lct(e,(lqt(),Uhe),t.a),t.a=null,Lz(t.b),Hxt(n)}function vbt(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}function ybt(t){var e,n,r;for(r=QH(c6(t.a,(Mkt(),Ele)),15).Kc();r.Ob();)eX(t,n=QH(r.Pb(),101),(e=Hyt(n))[0],(_it(),Ole),0),eX(t,n,e[1],Dle,1)}function wbt(t){var e,n,r;for(r=QH(c6(t.a,(Mkt(),xle)),15).Kc();r.Ob();)eX(t,n=QH(r.Pb(),101),(e=Hyt(n))[0],(_it(),Ole),0),eX(t,n,e[1],Dle,1)}function Tbt(t){switch(t.g){case 0:return null;case 1:return new Lit;case 2:return new Wv;default:throw Um(new Py(i3t+(null!=t.f?t.f:""+t.g)))}}function kbt(t,e,n){var r,i;for(bst(t,e-t.s,n-t.t),i=new zd(t.n);i.a<i.c.c.length;)nd(r=QH(J1(i),211),r.e+e-t.s),rd(r,r.f+n-t.t);t.s=e,t.t=n}function Cbt(t){var e,n,r,i;for(n=0,r=new zd(t.a);r.a<r.c.c.length;)QH(J1(r),121).d=n++;return i=null,(e=dxt(t)).c.length>1&&(i=ubt(t,e)),i}function Ebt(t){var e;return t.f&&t.f.kh()&&(e=QH(t.f,49),t.f=QH(tht(t,e),82),t.f!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,9,8,e,t.f))),t.f}function xbt(t){var e;return t.i&&t.i.kh()&&(e=QH(t.i,49),t.i=QH(tht(t,e),82),t.i!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,9,7,e,t.i))),t.i}function _bt(t){var e;return t.b&&0!=(64&t.b.Db)&&(e=t.b,t.b=QH(tht(t,e),18),t.b!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,9,21,e,t.b))),t.b}function Bbt(t,e){var n,r,i;null==t.d?(++t.e,++t.f):(r=e.Sh(),uNt(t,t.f+1),i=(r&Dqt)%t.d.length,!(n=t.d[i])&&(n=t.d[i]=t.uj()),n.Fc(e),++t.f)}function Sbt(t,e,n){var r;return!e.Kj()&&(-2!=e.Zj()?null==(r=e.zj())?null==n:Oht(r,n):e.Hj()==t.e.Tg()&&null==n)}function Lbt(){var t;hrt(16,BVt),t=Yrt(16),this.b=O9($te,_Vt,317,t,0,1),this.c=O9($te,_Vt,317,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function Ibt(t){IP.call(this),this.k=(oxt(),xse),this.j=(hrt(6,LVt),new W6(6)),this.b=(hrt(2,LVt),new W6(2)),this.d=new lv,this.f=new fv,this.a=t}function Mbt(t){var e,n;t.c.length<=1||(A_t(t,QH((e=TFt(t,(yzt(),CSe))).a,19).a,QH(e.b,19).a),A_t(t,QH((n=TFt(t,xSe)).a,19).a,QH(n.b,19).a))}function Obt(){Obt=L,bbe=new R_("SIMPLE",0),pbe=new R_(U1t,1),gbe=new R_("LINEAR_SEGMENTS",2),Abe=new R_("BRANDES_KOEPF",3),mbe=new R_(w4t,4)}function Nbt(t,e,n){IR(QH(bEt(e,(HXt(),tme)),98))||(z7(t,e,Dxt(e,n)),z7(t,e,Dxt(e,(yzt(),CSe))),z7(t,e,Dxt(e,sSe)),CW(),mM(e.j,new Pp(t)))}function Dbt(t,e,n,r){var i;for(i=QH(c6(r?t.a:t.b,e),21).Kc();i.Ob();)if(RFt(t,n,QH(i.Pb(),33)))return!0;return!1}function Fbt(t){var e,n;for(n=new SO(t);n.e!=n.i.gc();)if((e=QH(ymt(n),87)).e||0!=(!e.d&&(e.d=new LO(zIe,e,1)),e.d).i)return!0;return!1}function Pbt(t){var e,n;for(n=new SO(t);n.e!=n.i.gc();)if((e=QH(ymt(n),87)).e||0!=(!e.d&&(e.d=new LO(zIe,e,1)),e.d).i)return!0;return!1}function Rbt(t){var e,n;for(e=0,n=new zd(t.c.a);n.a<n.c.c.length;)e+=R4(new oG(YO(hdt(QH(J1(n),10)).a.Kc(),new u)));return e/t.c.a.c.length}function Qbt(t){var e,n;for(t.c||K$t(t),n=new vv,J1(e=new zd(t.a));e.a<e.c.c.length;)Nj(n,QH(J1(e),407).a);return ED(0!=n.b),Let(n,n.c.b),n}function Ubt(){Ubt=L,fPt(),HCe=DCe,QCe=new zI(8),new GI((cqt(),Gxe),QCe),new GI(I_e,8),UCe=OCe,PCe=kCe,RCe=CCe,FCe=new GI(uxe,(cN(),!1))}function Hbt(t,e,n,r){switch(e){case 7:return!t.e&&(t.e=new cR(FLe,t,7,4)),t.e;case 8:return!t.d&&(t.d=new cR(FLe,t,8,5)),t.d}return Fdt(t,e,n,r)}function jbt(t){var e;return t.a&&t.a.kh()&&(e=QH(t.a,49),t.a=QH(tht(t,e),138),t.a!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,9,5,e,t.a))),t.a}function $bt(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function Kbt(t,e){if(null==t)throw Um(new Uy("null key in entry: null="+e));if(null==e)throw Um(new Uy("null value in entry: "+t+"=null"))}function Gbt(t,e){for(var n,r;t.Ob();){if(!e.Ob())return!1;if(n=t.Pb(),r=e.Pb(),!(jS(n)===jS(r)||null!=n&&Oht(n,r)))return!1}return!e.Ob()}function zbt(t,n){var r;return r=xst(jw(MNe,1),jWt,25,15,[mut(t.a[0],n),mut(t.a[1],n),mut(t.a[2],n)]),t.d&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function Xbt(t,n){var r;return r=xst(jw(MNe,1),jWt,25,15,[but(t.a[0],n),but(t.a[1],n),but(t.a[2],n)]),t.d&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function qbt(){qbt=L,bue=new C_("GREEDY",0),mue=new C_(H1t,1),yue=new C_(U1t,2),wue=new C_("MODEL_ORDER",3),vue=new C_("GREEDY_MODEL_ORDER",4)}function Vbt(t,e){var n,r,i;for(t.b[e.g]=1,r=cmt(e.d,0);r.b!=r.d.c;)i=(n=QH(h4(r),188)).c,1==t.b[i.g]?Nj(t.a,n):2==t.b[i.g]?t.b[i.g]=1:Vbt(t,i)}function Wbt(t,e){var n,r,i;for(i=new W6(e.gc()),r=e.Kc();r.Ob();)(n=QH(r.Pb(),286)).c==n.f?l_t(t,n,n.c):r_t(t,n)||(i.c[i.c.length]=n);return i}function Ybt(t,e,n){var r,i,a,o;for(o=t.r+e,t.r+=e,t.d+=n,r=n/t.n.c.length,i=0,a=new zd(t.n);a.a<a.c.c.length;)dMt(QH(J1(a),211),o,r,i),++i}function Jbt(t){var e,n;for(my(t.b.a),t.a=O9(hre,Hqt,57,t.c.c.a.b.c.length,0,1),e=0,n=new zd(t.c.c.a.b);n.a<n.c.c.length;)QH(J1(n),57).f=e++}function Zbt(t){var e,n;for(my(t.b.a),t.a=O9(qoe,Hqt,81,t.c.a.a.b.c.length,0,1),e=0,n=new zd(t.c.a.a.b);n.a<n.c.c.length;)QH(J1(n),81).i=e++}function tvt(t,e,n){SCt(n,"Shrinking tree compaction",1),Hy(TF(bEt(e,(zat(),qie))))?(nit(t,e.f),att(e.f,e.c)):att(e.f,e.c),Hxt(n)}function evt(t){var e;if(e=fut(t),!AIt(t))throw Um(new Sy("position (0) must be less than the number of elements that remained ("+e+")"));return K5(t)}function nvt(t,e,n){try{return mvt(t,e+t.j,n+t.k)}catch(t){throw rO(t=hst(t),73)?Um(new Sy(t.g+_Jt+e+Qqt+n+").")):Um(t)}}function rvt(t,e,n){try{return bvt(t,e+t.j,n+t.k)}catch(t){throw rO(t=hst(t),73)?Um(new Sy(t.g+_Jt+e+Qqt+n+").")):Um(t)}}function ivt(t,e,n){try{return vvt(t,e+t.j,n+t.k)}catch(t){throw rO(t=hst(t),73)?Um(new Sy(t.g+_Jt+e+Qqt+n+").")):Um(t)}}function avt(t){switch(t.g){case 1:return yzt(),xSe;case 4:return yzt(),sSe;case 3:return yzt(),oSe;case 2:return yzt(),CSe;default:return yzt(),ESe}}function ovt(t,e,n){e.k==(oxt(),xse)&&n.k==Ese&&(t.d=Tht(e,(yzt(),CSe)),t.b=Tht(e,sSe)),n.k==xse&&e.k==Ese&&(t.d=Tht(n,(yzt(),sSe)),t.b=Tht(n,CSe))}function svt(t,e){var n,r;for(r=adt(t,e).Kc();r.Ob();)if(null!=bEt(n=QH(r.Pb(),11),(lqt(),wfe))||$N(new m6(n.b)))return!0;return!1}function cvt(t,n){return xnt(n,t.e+t.d+(0==t.c.c.length?0:t.b)),_nt(n,t.f),t.a=e.Math.max(t.a,n.f),t.d+=n.g+(0==t.c.c.length?0:t.b),zH(t.c,n),!0}function lvt(t,e,n){var r,i,a,o;for(o=0,r=n/t.a.c.length,a=new zd(t.a);a.a<a.c.c.length;)kbt(i=QH(J1(a),187),i.s,i.t+o*r),Ybt(i,t.d-i.r+e,r),++o}function uvt(t){var e,n,r;for(n=new zd(t.b);n.a<n.c.c.length;)for(e=0,r=new zd(QH(J1(n),29).a);r.a<r.c.c.length;)QH(J1(r),10).p=e++}function hvt(t,e){var n,r,i,a,o,s;for(i=e.length-1,o=0,s=0,r=0;r<=i;r++)a=e[r],n=gxt(i,r)*eht(1-t,i-r)*eht(t,r),o+=a.a*n,s+=a.b*n;return new OB(o,s)}function fvt(t,e){var n,r,i,a,o;for(n=e.gc(),t.qi(t.i+n),a=e.Kc(),o=t.i,t.i+=n,r=o;r<t.i;++r)i=a.Pb(),yO(t,r,t.oi(r,i)),t.bi(r,i),t.ci();return 0!=n}function dvt(t,e,n){var r,i,a;return t.ej()?(r=t.Vi(),a=t.fj(),++t.j,t.Hi(r,t.oi(r,e)),i=t.Zi(3,null,e,r,a),n?n.Ei(i):n=i):YF(t,t.Vi(),e),n}function Avt(t,e,n){var r,i,a;return(0!=(64&(a=rO(i=(r=QH(Xet(i3(t.a),e),87)).c,88)?QH(i,26):(pqt(),fMe)).Db)?tht(t.b,a):a)==n?hUt(r):int(r,n),a}function pvt(t,e,n,r,i,a,o,s){var c,l;r&&((c=r.a[0])&&pvt(t,e,n,c,i,a,o,s),Byt(t,n,r.d,i,a,o,s)&&e.Fc(r),(l=r.a[1])&&pvt(t,e,n,l,i,a,o,s))}function gvt(t,e){var n;return t.a||(n=O9(MNe,jWt,25,0,15,1),Ak(t.b.a,new hA(n)),n.sort(nnt(C.prototype.te,C,[])),t.a=new PR(n,t.d)),F6(t.a,e)}function mvt(t,e,n){try{return qS(tit(t,e,n),1)}catch(r){throw rO(r=hst(r),320)?Um(new Sy(CJt+t.o+"*"+t.p+EJt+e+Qqt+n+xJt)):Um(r)}}function bvt(t,e,n){try{return qS(tit(t,e,n),0)}catch(r){throw rO(r=hst(r),320)?Um(new Sy(CJt+t.o+"*"+t.p+EJt+e+Qqt+n+xJt)):Um(r)}}function vvt(t,e,n){try{return qS(tit(t,e,n),2)}catch(r){throw rO(r=hst(r),320)?Um(new Sy(CJt+t.o+"*"+t.p+EJt+e+Qqt+n+xJt)):Um(r)}}function yvt(t,e){if(-1==t.g)throw Um(new db);t.mj();try{t.d._c(t.g,e),t.f=t.d.j}catch(t){throw rO(t=hst(t),73)?Um(new gb):Um(t)}}function wvt(t,e,n){SCt(n,"Linear segments node placement",1),t.b=QH(bEt(e,(lqt(),Sfe)),304),qXt(t,e),mjt(t,e),Vjt(t,e),lXt(t),t.a=null,t.b=null,Hxt(n)}function Tvt(t,e){var n,r,i,a;for(a=t.gc(),e.length<a&&(e=Hw(new Array(a),e)),i=e,r=t.Kc(),n=0;n<a;++n)LX(i,n,r.Pb());return e.length>a&&LX(e,a,null),e}function kvt(t,e){var n,r;if(r=t.gc(),null==e){for(n=0;n<r;n++)if(null==t.Xb(n))return n}else for(n=0;n<r;n++)if(Oht(e,t.Xb(n)))return n;return-1}function Cvt(t,e){var n,r,i;return n=e.cd(),i=e.dd(),r=t.xc(n),!(!(jS(i)===jS(r)||null!=i&&Oht(i,r))||null==r&&!t._b(n))}function Evt(t,e){var n,r,i;return e<=22?(n=t.l&(1<<e)-1,r=i=0):e<=44?(n=t.l,r=t.m&(1<<e-22)-1,i=0):(n=t.l,r=t.m,i=t.h&(1<<e-44)-1),kM(n,r,i)}function xvt(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}function _vt(t,e){var n,r;switch(r=e.c,n=e.a,t.b.g){case 0:n.d=t.e-r.a-r.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-r.a-r.d;break;case 3:n.c=t.e+r.d}}function Bvt(t,e,n,r){var i,a;this.a=e,this.c=r,Lf(this,new OB(-(i=t.a).c,-i.d)),KP(this.b,n),a=r/2,e.a?QD(this.b,0,a):QD(this.b,a,0),zH(t.c,this)}function Svt(){Svt=L,HTe=new mB(VZt,0),QTe=new mB(j1t,1),UTe=new mB("EDGE_LENGTH_BY_POSITION",2),RTe=new mB("CROSSING_MINIMIZATION_BY_POSITION",3)}function Lvt(t,e){var n,r;if(n=QH(cnt(t.g,e),33))return n;if(r=QH(cnt(t.j,e),118))return r;throw Um(new tw("Referenced shape does not exist: "+e))}function Ivt(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Um(new Py("Node 'one' must be either source or target of edge 'edge'."))}function Mvt(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw Um(new Py("Node "+e+" is neither source nor target of edge "+t))}function Ovt(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),hz(t,e,(Sst(),vle),n);break;case 1:case 3:hz(t,e,(Sst(),gle),null)}}function Nvt(t,e,n,r,i,a){var o,s,c,l,u;for(o=nTt(e,n,a),s=n==(yzt(),sSe)||n==xSe?-1:1,l=t[n.g],u=0;u<l.length;u++)(c=l[u])>0&&(c+=i),l[u]=o,o+=s*(c+r)}function Dvt(t){var e,n,r;for(r=t.f,t.n=O9(MNe,jWt,25,r,15,1),t.d=O9(MNe,jWt,25,r,15,1),e=0;e<r;e++)n=QH(O$(t.c.b,e),29),t.n[e]=dmt(t,n),t.d[e]=qOt(t,n)}function Fvt(t,e){var n,r,i;for(i=0,r=2;r<e;r<<=1)0!=(t.Db&r)&&++i;if(0==i){for(n=e<<=1;n<=128;n<<=1)if(0!=(t.Db&n))return 0;return-1}return i}function Pvt(t,e){var n,r,i,a,o;for(o=aDt(t.e.Tg(),e),a=null,n=QH(t.g,119),i=0;i<t.i;++i)r=n[i],o.rl(r.ak())&&(!a&&(a=new gc),l8(a,r));a&&aXt(t,a)}function Rvt(t){var e,n;if(!t)return null;if(t.dc())return"";for(n=new Cw,e=t.Kc();e.Ob();)rL(n,CF(e.Pb())),n.a+=" ";return FL(n,n.a.length-1)}function Qvt(t,e,n){var r,i,a,o;for(ict(t),null==t.k&&(t.k=O9(Yte,cVt,78,0,0,1)),i=0,a=(r=t.k).length;i<a;++i)Qvt(r[i]);(o=t.f)&&Qvt(o)}function Uvt(t,e){var n,r=new Array(e);switch(t){case 14:case 15:n=0;break;case 16:n=!1;break;default:return r}for(var i=0;i<e;++i)r[i]=n;return r}function Hvt(t){var e;for(e=new zd(t.a.b);e.a<e.c.c.length;)QH(J1(e),57).c.$b();Set(dI(t.d)?t.a.c:t.a.d,new kA(t)),t.c.Me(t),RDt(t)}function jvt(t){var e,n,r;for(n=new zd(t.e.c);n.a<n.c.c.length;){for(r=new zd((e=QH(J1(n),282)).b);r.a<r.c.c.length;)RHt(QH(J1(r),447));UBt(e)}}function $vt(t){var n,r,i,a,o;for(i=0,o=0,a=0,r=new zd(t.a);r.a<r.c.c.length;)n=QH(J1(r),187),o=e.Math.max(o,n.r),i+=n.d+(a>0?t.c:0),++a;t.b=i,t.d=o}function Kvt(t,n){var r,i,a,o,s;for(i=0,a=0,r=0,s=new zd(n);s.a<s.c.c.length;)o=QH(J1(s),200),i=e.Math.max(i,o.e),a+=o.b+(r>0?t.g:0),++r;t.c=a,t.d=i}function Gvt(t,n){var r;return r=xst(jw(MNe,1),jWt,25,15,[pbt(t,(Det(),jre),n),pbt(t,$re,n),pbt(t,Kre,n)]),t.f&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function zvt(t,e,n){try{QPt(t,e+t.j,n+t.k,!1,!0)}catch(t){throw rO(t=hst(t),73)?Um(new Sy(t.g+_Jt+e+Qqt+n+").")):Um(t)}}function Xvt(t,e,n){try{QPt(t,e+t.j,n+t.k,!0,!1)}catch(t){throw rO(t=hst(t),73)?Um(new Sy(t.g+_Jt+e+Qqt+n+").")):Um(t)}}function qvt(t){var e;ID(t,(HXt(),Lge))&&((e=QH(bEt(t,Lge),21)).Hc((ZIt(),_Be))?(e.Mc(_Be),e.Fc(SBe)):e.Hc(SBe)&&(e.Mc(SBe),e.Fc(_Be)))}function Vvt(t){var e;ID(t,(HXt(),Lge))&&((e=QH(bEt(t,Lge),21)).Hc((ZIt(),NBe))?(e.Mc(NBe),e.Fc(MBe)):e.Hc(MBe)&&(e.Mc(MBe),e.Fc(NBe)))}function Wvt(t,e,n){SCt(n,"Self-Loop ordering",1),WC(LV(SV(SV(ftt(new D$(null,new f1(e.b,16)),new Sr),new Lr),new Ir),new Mr),new hp(t)),Hxt(n)}function Yvt(t,e,n,r){var i,a;for(i=e;i<t.c.length;i++){if(u1(i,t.c.length),a=QH(t.c[i],11),!n.Mb(a))return i;r.c[r.c.length]=a}return t.c.length}function Jvt(t,e,n,r){var i,a,o;return null==t.a&&Axt(t,e),o=e.b.j.c.length,a=n.d.p,(i=r.d.p-1)<0&&(i=o-1),a<=i?t.a[i]-t.a[a]:t.a[o-1]-t.a[a]+t.a[i]}function Zvt(t){var e,n;if(!t.b)for(t.b=x2(QH(t.f,33).Ag().i),n=new SO(QH(t.f,33).Ag());n.e!=n.i.gc();)e=QH(ymt(n),137),zH(t.b,new Dy(e));return t.b}function tyt(t){var e,n;if(!t.e)for(t.e=x2(bV(QH(t.f,33)).i),n=new SO(bV(QH(t.f,33)));n.e!=n.i.gc();)e=QH(ymt(n),118),zH(t.e,new om(e));return t.e}function eyt(t){var e,n;if(!t.a)for(t.a=x2(VW(QH(t.f,33)).i),n=new SO(VW(QH(t.f,33)));n.e!=n.i.gc();)e=QH(ymt(n),33),zH(t.a,new WN(t,e));return t.a}function nyt(t){var e;if(!t.C&&(null!=t.D||null!=t.B))if(e=fGt(t))t.yk(e);else try{t.yk(null)}catch(t){if(!rO(t=hst(t),60))throw Um(t)}return t.C}function ryt(t){switch(t.q.g){case 5:yTt(t,(yzt(),sSe)),yTt(t,CSe);break;case 4:iKt(t,(yzt(),sSe)),iKt(t,CSe);break;default:Q_t(t,(yzt(),sSe)),Q_t(t,CSe)}}function iyt(t){switch(t.q.g){case 5:wTt(t,(yzt(),oSe)),wTt(t,xSe);break;case 4:aKt(t,(yzt(),oSe)),aKt(t,xSe);break;default:U_t(t,(yzt(),oSe)),U_t(t,xSe)}}function ayt(t,n){var r,i,a;for(a=new jT,i=t.Kc();i.Ob();)JPt(r=QH(i.Pb(),37),a.a,0),a.a+=r.f.a+n,a.b=e.Math.max(a.b,r.f.b);return a.b>0&&(a.b+=n),a}function oyt(t,n){var r,i,a;for(a=new jT,i=t.Kc();i.Ob();)JPt(r=QH(i.Pb(),37),0,a.b),a.b+=r.f.b+n,a.a=e.Math.max(a.a,r.f.a);return a.a>0&&(a.a+=n),a}function syt(t){var n,r,i;for(i=Dqt,r=new zd(t.a);r.a<r.c.c.length;)ID(n=QH(J1(r),10),(lqt(),ffe))&&(i=e.Math.min(i,QH(bEt(n,ffe),19).a));return i}function cyt(t,e){var n,r;if(0==e.length)return 0;for(n=YX(t.a,e[0],(yzt(),xSe)),n+=YX(t.a,e[e.length-1],oSe),r=0;r<e.length;r++)n+=jEt(t,r,e);return n}function lyt(){pDt(),this.c=new Mm,this.i=new Mm,this.e=new lI,this.f=new lI,this.g=new lI,this.j=new Mm,this.a=new Mm,this.b=new Om,this.k=new Om}function uyt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,5,HLe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hyt(t){EY();var e=t.e;if(e&&e.stack){var n=e.stack,r=e+"\n";return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split("\n")}return[]}function fyt(t){var e;return Crt(),(e=See)[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[15&t]<<28}function dyt(t){var n,r,i;t.b==t.c&&(i=t.a.length,r=yct(e.Math.max(8,i))<<1,0!=t.b?(oit(t,n=CP(t.a,r),i),t.a=n,t.b=0):Eb(t.a,r),t.c=i)}function Ayt(t,e){var n;return(n=t.b).Xe((cqt(),i_e))?n.Hf()==(yzt(),xSe)?-n.rf().a-jy(kF(n.We(i_e))):e+jy(kF(n.We(i_e))):n.Hf()==(yzt(),xSe)?-n.rf().a:e}function pyt(t){var e;return 0!=t.b.c.length&&QH(O$(t.b,0),70).a?QH(O$(t.b,0),70).a:null!=(e=tW(t))?e:""+(t.c?w7(t.c.a,t,0):-1)}function gyt(t){var e;return 0!=t.f.c.length&&QH(O$(t.f,0),70).a?QH(O$(t.f,0),70).a:null!=(e=tW(t))?e:""+(t.i?w7(t.i.j,t,0):-1)}function myt(t,e){var n,r;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(r=QH(t.Xb(n),128),n==t.gc()-1||!r.o)return new nS(nft(n),r);return null}function byt(t,e,n){var r,i,a,o;for(a=t.c,r=n?t:e,i=(n?e:t).p+1;i<r.p;++i)if((o=QH(O$(a.a,i),10)).k!=(oxt(),Tse)&&!Mwt(o))return!1;return!0}function vyt(t){var n,r,i,a,o;for(o=0,a=PWt,i=0,r=new zd(t.a);r.a<r.c.c.length;)o+=(n=QH(J1(r),187)).r+(i>0?t.c:0),a=e.Math.max(a,n.d),++i;t.e=o,t.b=a}function yyt(t){var e,n;if(!t.b)for(t.b=x2(QH(t.f,118).Ag().i),n=new SO(QH(t.f,118).Ag());n.e!=n.i.gc();)e=QH(ymt(n),137),zH(t.b,new Dy(e));return t.b}function wyt(t,e){var n,r,i;if(e.dc())return dF(),dF(),AIe;for(n=new iP(t,e.gc()),i=new SO(t);i.e!=i.i.gc();)r=ymt(i),e.Hc(r)&&l8(n,r);return n}function Tyt(t,e,n,r){return 0==e?r?(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),t.o):(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),S9(t.o)):Jmt(t,e,n,r)}function kyt(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)gD(Xet(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)gD(Xet(t.vb,e));iG((B_t(),WMe),t),t.Bb|=1}function Cyt(t,e,n,r,i,a,o,s,c,l,u,h,f,d){return fBt(t,e,r,null,i,a,o,s,c,l,f,!0,d),Kft(t,u),rO(t.Cb,88)&&LBt(E5(QH(t.Cb,88)),2),n&&rit(t,n),Gft(t,h),t}function Eyt(t){var e;if(null==t)return null;e=0;try{e=hQt(t,RVt,Dqt)&VVt}catch(n){if(!rO(n=hst(n),127))throw Um(n);e=X7(t)[0]}return ust(e)}function xyt(t){var e;if(null==t)return null;e=0;try{e=hQt(t,RVt,Dqt)&VVt}catch(n){if(!rO(n=hst(n),127))throw Um(n);e=X7(t)[0]}return ust(e)}function _yt(t,e){var n,r,i;return!((i=t.h-e.h)<0||(n=t.l-e.l,(i+=(r=t.m-e.m+(n>>22))>>22)<0||(t.l=n&EWt,t.m=r&EWt,t.h=i&xWt,0)))}function Byt(t,e,n,r,i,a,o){var s,c;return!(e.Ae()&&(c=t.a.ue(n,r),c<0||!i&&0==c)||e.Be()&&(s=t.a.ue(n,a),s>0||!o&&0==s))}function Syt(t,e){if(Klt(),0!=t.j.g-e.j.g)return 0;switch(t.j.g){case 2:return wdt(e,hle)-wdt(t,hle);case 4:return wdt(t,ule)-wdt(e,ule)}return 0}function Lyt(t){switch(t.g){case 0:return Oue;case 1:return Nue;case 2:return Due;case 3:return Fue;case 4:return Pue;case 5:return Rue;default:return null}}function Iyt(t,e,n){var r,i;return But(i=new Iv,e),Oit(i,n),l8((!t.c&&(t.c=new tz(qIe,t,12,10)),t.c),i),Mnt(r=i,0),Ont(r,1),Zht(r,!0),Wht(r,!0),r}function Myt(t,e){var n,r;if(e>=t.i)throw Um(new IL(e,t.i));return++t.j,n=t.g[e],(r=t.i-e-1)>0&&ajt(t.g,e+1,t.g,e,r),LX(t.g,--t.i,null),t.fi(e,n),t.ci(),n}function Oyt(t,e){var n;return t.Db>>16==17?t.Cb.ih(t,21,UIe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Nyt(t){var e,n,r;for(CW(),mM(t.c,t.a),r=new zd(t.c);r.a<r.c.c.length;)for(n=J1(r),e=new zd(t.b);e.a<e.c.c.length;)QH(J1(e),679).Ke(n)}function Dyt(t){var e,n,r;for(CW(),mM(t.c,t.a),r=new zd(t.c);r.a<r.c.c.length;)for(n=J1(r),e=new zd(t.b);e.a<e.c.c.length;)QH(J1(e),369).Ke(n)}function Fyt(t){var e,n,r,i,a;for(i=Dqt,a=null,r=new zd(t.d);r.a<r.c.c.length;)(n=QH(J1(r),213)).d.j^n.e.j&&(e=n.e.e-n.d.e-n.a)<i&&(i=e,a=n);return a}function Pyt(){Pyt=L,doe=new LL(OZt,(cN(),!1)),loe=new LL(NZt,100),H7(),uoe=new LL(DZt,hoe=Boe),foe=new LL(FZt,hZt),Aoe=new LL(PZt,nft(Dqt))}function Ryt(t,e,n){var r,i,a,o,s,c;for(c=0,i=0,a=(r=t.a[e]).length;i<a;++i)for(s=Mht(r[i],n).Kc();s.Ob();)o=QH(s.Pb(),11),Xq(t.f,o,nft(c++))}function Qyt(t,e,n){var r,i;if(n)for(i=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);i.Ob();)YSt(t,e,ySt(dtt(n,QH(i.Pb(),19).a)))}function Uyt(t,e,n){var r,i;if(n)for(i=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);i.Ob();)YSt(t,e,ySt(dtt(n,QH(i.Pb(),19).a)))}function Hyt(t){var e;return REt(),$8(e=QH(Tvt(AG(t.k),O9(RSe,WZt,61,2,0,1)),122),0,e.length,null),e[0]==(yzt(),sSe)&&e[1]==xSe&&(LX(e,0,xSe),LX(e,1,sSe)),e}function jyt(t,e,n){var r,i,a;return a=cFt(t,i=zNt(t,e,n)),F8(t.b),v0(t,e,n),CW(),mM(i,new Xp(t)),r=cFt(t,i),F8(t.b),v0(t,n,e),new nS(nft(a),nft(r))}function $yt(){$yt=L,Kve=d$(new Q2,(vEt(),Qoe),(hqt(),dce)),Gve=new eP("linearSegments.inputPrio",nft(0)),zve=new eP("linearSegments.outputPrio",nft(0))}function Kyt(){Kyt=L,Dye=new lB("P1_TREEIFICATION",0),Fye=new lB("P2_NODE_ORDERING",1),Pye=new lB("P3_NODE_PLACEMENT",2),Rye=new lB("P4_EDGE_ROUTING",3)}function Gyt(){Gyt=L,cqt(),OTe=A_e,FTe=I_e,xTe=Fxe,_Te=Qxe,BTe=Hxe,ETe=Nxe,STe=Kxe,MTe=l_e,PIt(),kTe=fTe,CTe=dTe,LTe=pTe,ITe=mTe,NTe=bTe,DTe=vTe,PTe=wTe}function zyt(){zyt=L,kBe=new HB("UNKNOWN",0),yBe=new HB("ABOVE",1),wBe=new HB("BELOW",2),TBe=new HB("INLINE",3),new eP("org.eclipse.elk.labelSide",kBe)}function Xyt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Oht(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if(jS(t.g[n])===jS(e))return n;return-1}function qyt(t,e,n){var r,i;return e.c==(art(),Hbe)&&n.c==Ube?-1:e.c==Ube&&n.c==Hbe?1:(r=Aut(e.a,t.a),i=Aut(n.a,t.a),e.c==Hbe?i-r:r-i)}function Vyt(t,e,n){if(n&&(e<0||e>n.a.c.length))throw Um(new Py("index must be >= 0 and <= layer node count"));t.c&&b7(t.c.a,t),t.c=n,n&&vK(n.a,e,t)}function Wyt(t,e){var n,r,i;for(r=new oG(YO(ldt(t).a.Kc(),new u));AIt(r);)return n=QH(K5(r),17),new Uh(bX((i=QH(e.Kb(n),10)).n.b+i.o.b/2));return ey(),ey(),Ste}function Yyt(t,e){this.c=new Om,this.a=t,this.b=e,this.d=QH(bEt(t,(lqt(),Sfe)),304),jS(bEt(t,(HXt(),Ige)))===jS((A7(),Hue))?this.e=new Av:this.e=new dv}function Jyt(t,n){var r,i,a;for(a=0,i=new zd(t);i.a<i.c.c.length;)r=QH(J1(i),33),a+=e.Math.pow(r.g*r.f-n,2);return e.Math.sqrt(a/(t.c.length-1))}function Zyt(t,e){var n,r;return r=null,t.Xe((cqt(),x_e))&&(n=QH(t.We(x_e),94)).Xe(e)&&(r=n.We(e)),null==r&&t.yf()&&(r=t.yf().We(e)),null==r&&(r=bmt(e)),r}function twt(t,e){var n,r;n=t.Zc(e);try{return r=n.Pb(),n.Qb(),r}catch(t){throw rO(t=hst(t),109)?Um(new Sy("Can't remove element "+e)):Um(t)}}function ewt(t,e){var n,r,i;if(0==(n=DHt(t,e,i=new mct((r=new SC).q.getFullYear()-cWt,r.q.getMonth(),r.q.getDate())))||n<e.length)throw Um(new Py(e));return i}function nwt(t,e){var n,r,i;for(vq(e),TD(e!=t),i=t.b.c.length,r=e.Kc();r.Ob();)n=r.Pb(),zH(t.b,vq(n));return i!=t.b.c.length&&(Tlt(t,0),!0)}function rwt(){rwt=L,cqt(),voe=xxe,new GI(dxe,(cN(),!0)),Toe=Fxe,koe=Qxe,Coe=Hxe,woe=Nxe,Eoe=Kxe,xoe=l_e,Pyt(),boe=doe,goe=uoe,moe=foe,yoe=Aoe,poe=loe}function iwt(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw Um(new Py("'port' must be either the source port or target port of the edge."))}function awt(t,e,n){var r,i;switch(i=t.o,r=t.d,e.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}function owt(t,e,n,r){var i,a,o;for(EZ(e,QH(r.Xb(0),29)),o=r.bd(1,r.gc()),a=QH(n.Kb(e),20).Kc();a.Ob();)owt(t,(i=QH(a.Pb(),17)).c.i==e?i.d.i:i.c.i,n,o)}function swt(t){var e;return e=new Om,ID(t,(lqt(),Nfe))?QH(bEt(t,Nfe),83):(WC(SV(new D$(null,new f1(t.j,16)),new ei),new Ap(e)),lct(t,Nfe,e),e)}function cwt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,6,FLe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(_Xt(),bLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function lwt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,1,OLe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(_Xt(),yLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function uwt(t,e){var n;return t.Db>>16==9?t.Cb.ih(t,9,$Le,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(_Xt(),TLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hwt(t,e){var n;return t.Db>>16==5?t.Cb.ih(t,9,KIe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(pqt(),oMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function fwt(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,0,RLe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(pqt(),ZIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function dwt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,6,HLe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(pqt(),pMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Awt(){this.a=new dc,this.g=new Lbt,this.j=new Lbt,this.b=new Om,this.d=new Lbt,this.i=new Lbt,this.k=new Om,this.c=new Om,this.e=new Om,this.f=new Om}function pwt(t,e,n){var r,i,a;for(n<0&&(n=0),a=t.i,i=n;i<a;i++)if(r=Xet(t,i),null==e){if(null==r)return i}else if(jS(e)===jS(r)||Oht(e,r))return i;return-1}function gwt(t,e){var n,r;return(n=e.Hh(t.a))?(r=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),w7t)),mR(T7t,r)?iG(t,Get(e.Hj())):r):null}function mwt(t,e){var n,r;if(e){if(e==t)return!0;for(n=0,r=QH(e,49).eh();r&&r!=e;r=r.eh()){if(++n>$Wt)return mwt(t,r);if(r==t)return!0}}return!1}function bwt(t){switch(NN(),t.q.g){case 5:mSt(t,(yzt(),sSe)),mSt(t,CSe);break;case 4:KMt(t,(yzt(),sSe)),KMt(t,CSe);break;default:mzt(t,(yzt(),sSe)),mzt(t,CSe)}}function vwt(t){switch(NN(),t.q.g){case 5:ELt(t,(yzt(),oSe)),ELt(t,xSe);break;case 4:_mt(t,(yzt(),oSe)),_mt(t,xSe);break;default:bzt(t,(yzt(),oSe)),bzt(t,xSe)}}function ywt(t){var e,n;(e=QH(bEt(t,(uPt(),Jae)),19))?(n=e.a,lct(t,(Cit(),coe),0==n?new cdt:new x3(n))):lct(t,(Cit(),coe),new x3(1))}function wwt(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}function Twt(t,e){switch(t.g){case 0:return e==(kdt(),Rfe)?nle:rle;case 1:return e==(kdt(),Rfe)?nle:ele;case 2:return e==(kdt(),Rfe)?ele:rle;default:return ele}}function kwt(t,n){var r,i,a;for(b7(t.a,n),t.e-=n.r+(0==t.a.c.length?0:t.c),a=Z4t,i=new zd(t.a);i.a<i.c.c.length;)r=QH(J1(i),187),a=e.Math.max(a,r.d);t.b=a}function Cwt(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,12,$Le,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(_Xt(),mLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Ewt(t,e){var n;return t.Db>>16==11?t.Cb.ih(t,10,$Le,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(_Xt(),wLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function xwt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,11,UIe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(pqt(),dMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function _wt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,12,XIe,e):(n=_bt(QH(eet(QH(vot(t,16),26)||(pqt(),gMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Bwt(t){var e;return 0==(1&t.Bb)&&t.r&&t.r.kh()&&(e=QH(t.r,49),t.r=QH(tht(t,e),138),t.r!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,9,8,e,t.r))),t.r}function Swt(t,n,r){var i;return i=xst(jw(MNe,1),jWt,25,15,[nEt(t,(Det(),jre),n,r),nEt(t,$re,n,r),nEt(t,Kre,n,r)]),t.f&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function Lwt(t,e){var n,r,i;if(0!=(i=Wbt(t,e)).c.length)for(mM(i,new er),n=i.c.length,r=0;r<n;r++)l_t(t,(u1(r,i.c.length),QH(i.c[r],286)),kFt(t,i,r))}function Iwt(t){var e,n,r;for(r=QH(c6(t.a,(Mkt(),Tle)),15).Kc();r.Ob();)for(e=AG((n=QH(r.Pb(),101)).k).Kc();e.Ob();)eX(t,n,QH(e.Pb(),61),(_it(),Nle),1)}function Mwt(t){var e,n;if(t.k==(oxt(),Ese))for(n=new oG(YO(ldt(t).a.Kc(),new u));AIt(n);)if(!h5(e=QH(K5(n),17))&&t.c==LTt(e,t).c)return!0;return!1}function Owt(t){var e,n;if(t.k==(oxt(),Ese))for(n=new oG(YO(ldt(t).a.Kc(),new u));AIt(n);)if(!h5(e=QH(K5(n),17))&&e.c.i.c==e.d.i.c)return!0;return!1}function Nwt(t,e){var n,r;for(SCt(e,"Dull edge routing",1),r=cmt(t.b,0);r.b!=r.d.c;)for(n=cmt(QH(h4(r),86).d,0);n.b!=n.d.c;)bW(QH(h4(n),188).a)}function Dwt(t,e){var n,r,i;if(e)for(i=((n=new cG(e.a.length)).b-n.a)*n.c<0?(tx(),TNe):new GO(n);i.Ob();)(r=O2(e,QH(i.Pb(),19).a))&&SMt(t,r)}function Fwt(){var t;for(ZE(),ZXt((qX(),JIe)),RXt(JIe),kyt(JIe),pqt(),LMe=lMe,t=new zd(zMe);t.a<t.c.c.length;)aGt(QH(J1(t),241),lMe,null);return!0}function Pwt(t,e){var n,r,i,a,o,s;return(o=t.h>>19)!=(s=e.h>>19)?s-o:(r=t.h)!=(a=e.h)?r-a:(n=t.m)!=(i=e.m)?n-i:t.l-e.l}function Rwt(){Rwt=L,tPt(),Ere=new LL(GYt,xre=Ore),Dtt(),kre=new LL(zYt,Cre=mre),lmt(),wre=new LL(XYt,Tre=dre),yre=new LL(qYt,(cN(),!0))}function Qwt(t,e,n){var r,i;r=e*n,rO(t.g,145)?(i=l4(t)).f.d?i.f.a||(t.d.a+=r+uJt):(t.d.d-=r+uJt,t.d.a+=r+uJt):rO(t.g,10)&&(t.d.d-=r,t.d.a+=2*r)}function Uwt(t,n,r){var i,a,o,s,c;for(a=t[r.g],c=new zd(n.d);c.a<c.c.c.length;)(o=(s=QH(J1(c),101)).i)&&o.i==r&&(a[i=s.d[r.g]]=e.Math.max(a[i],o.j.b))}function Hwt(t,n){var r,i,a,o,s;for(i=0,a=0,r=0,s=new zd(n.d);s.a<s.c.c.length;)$vt(o=QH(J1(s),443)),i=e.Math.max(i,o.b),a+=o.d+(r>0?t.g:0),++r;n.b=i,n.e=a}function jwt(t){var e,n,r;if(r=t.b,HC(t.i,r.length)){for(n=2*r.length,t.b=O9($te,_Vt,317,n,0,1),t.c=O9($te,_Vt,317,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)WBt(t,e,e);++t.g}}function $wt(t,e,n,r){var i,a,o,s;for(i=0;i<e.o;i++)for(a=i-e.j+n,o=0;o<e.p;o++)s=o-e.k+r,mvt(e,i,o)?ivt(t,a,s)||zvt(t,a,s):vvt(e,i,o)&&(nvt(t,a,s)||Xvt(t,a,s))}function Kwt(t,e,n){var r;(r=e.c.i).k==(oxt(),Ese)?(lct(t,(lqt(),cfe),QH(bEt(r,cfe),11)),lct(t,lfe,QH(bEt(r,lfe),11))):(lct(t,(lqt(),cfe),e.c),lct(t,lfe,n.d))}function Gwt(t,n,r){var i,a,o,s,c,l;return wFt(),s=n/2,o=r/2,c=1,l=1,(i=e.Math.abs(t.a))>s&&(c=s/i),(a=e.Math.abs(t.b))>o&&(l=o/a),vO(t,e.Math.min(c,l)),t}function zwt(){var t,e;jHt();try{if(e=QH(zTt((zE(),jIe),v6t),2014))return e}catch(e){if(!rO(e=hst(e),102))throw Um(e);t=e,aG((aM(),t))}return new sc}function Xwt(){var t,e;d7();try{if(e=QH(zTt((zE(),jIe),E7t),2024))return e}catch(e){if(!rO(e=hst(e),102))throw Um(e);t=e,aG((aM(),t))}return new Fl}function qwt(){var t,e;jHt();try{if(e=QH(zTt((zE(),jIe),q8t),1941))return e}catch(e){if(!rO(e=hst(e),102))throw Um(e);t=e,aG((aM(),t))}return new $c}function Vwt(t,e,n){var r,i;return i=t.e,t.e=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,4,i,e),n?n.Ei(r):n=r),i!=e&&(n=aGt(t,e?yOt(t,e):t.a,n)),n}function Wwt(){SC.call(this),this.e=-1,this.a=!1,this.p=RVt,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=RVt}function Ywt(t,e){var n,r,i;if(r=t.b.d.d,t.a||(r+=t.b.d.a),i=e.b.d.d,e.a||(i+=e.b.d.a),0==(n=xft(r,i))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Jwt(t,e){var n,r,i;if(r=t.b.b.d,t.a||(r+=t.b.b.a),i=e.b.b.d,e.a||(i+=e.b.b.a),0==(n=xft(r,i))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Zwt(t,e){var n,r,i;if(r=t.b.g.d,t.a||(r+=t.b.g.a),i=e.b.g.d,e.a||(i+=e.b.g.a),0==(n=xft(r,i))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function tTt(){tTt=L,Moe=zK(d$(d$(d$(new Q2,(vEt(),Roe),(hqt(),bce)),Roe,Tce),Qoe,Sce),Qoe,oce),Noe=d$(d$(new Q2,Roe,Wse),Roe,sce),Ooe=zK(new Q2,Qoe,lce)}function eTt(t){var e,n,r,i,a;for(e=QH(bEt(t,(lqt(),$he)),83),a=t.n,r=e.Cc().Kc();r.Ob();)(i=(n=QH(r.Pb(),306)).i).c+=a.a,i.d+=a.b,n.c?OFt(n):NFt(n);lct(t,$he,null)}function nTt(t,e,n){var r,i;switch(r=(i=t.b).d,e.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function rTt(t){var e,n,r,i,a;if(r=0,i=JJt,t.b)for(e=0;e<360;e++)n=.017453292519943295*e,GRt(t,t.d,0,0,J4t,n),(a=t.b.ig(t.d))<i&&(r=n,i=a);GRt(t,t.d,0,0,J4t,r)}function iTt(t,e){var n,r,i,a;for(a=new Om,e.e=null,e.f=null,r=new zd(e.i);r.a<r.c.c.length;)n=QH(J1(r),65),i=QH(DX(t.g,n.a),46),n.a=HG(n.b),Xq(a,n.a,i);t.g=a}function aTt(t,e,n){var r,i,a,o,s;for(i=(e-t.e)/t.d.c.length,a=0,s=new zd(t.d);s.a<s.c.c.length;)o=QH(J1(s),443),r=t.b-o.b+n,ypt(o,o.e+a*i,o.f),lvt(o,i,r),++a}function oTt(t){var e;if(t.f.qj(),-1!=t.b){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if((e=t.f.d[t.a])&&0!=e.i)return void(t.b=0);t.b=-1}function sTt(t,e){var n,r,i;for(n=IBt(t,0==(i=e.c.length)?"":(u1(0,e.c.length),CF(e.c[0]))),r=1;r<i&&n;++r)n=QH(n,49).oh((u1(r,e.c.length),CF(e.c[r])));return n}function cTt(t,e){var n,r;for(r=new zd(e);r.a<r.c.c.length;)n=QH(J1(r),10),t.c[n.c.p][n.p].a=BK(t.i),t.c[n.c.p][n.p].d=jy(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1}function lTt(t,n){var r,i,a;for(a=0,i=new zd(t);i.a<i.c.c.length;)r=QH(J1(i),157),a+=e.Math.pow(eK(r)*tK(r)-n,2);return e.Math.sqrt(a/(t.c.length-1))}function uTt(t,e,n,r){var i,a,o;return o=OPt(t,a=jPt(t,e,n,r)),uEt(t,e,n,r),F8(t.b),CW(),mM(a,new qp(t)),i=OPt(t,a),uEt(t,n,e,r),F8(t.b),new nS(nft(o),nft(i))}function hTt(t,e,n){var r;for(SCt(n,"Interactive node placement",1),t.a=QH(bEt(e,(lqt(),Sfe)),304),r=new zd(e.b);r.a<r.c.c.length;)ZDt(t,QH(J1(r),29));Hxt(n)}function fTt(t,e){SCt(e,"General Compactor",1),e.n&&t&&b0(e,o2(t),(Ult(),aLe)),AAt(QH(JIt(t,(Gyt(),CTe)),380)).hg(t),e.n&&t&&b0(e,o2(t),(Ult(),aLe))}function dTt(t,e,n){var r,i;for(xI(t,t.j+e,t.k+n),i=new SO((!t.a&&(t.a=new LO(MLe,t,5)),t.a));i.e!=i.i.gc();)TI(r=QH(ymt(i),469),r.a+e,r.b+n);EI(t,t.b+e,t.c+n)}function ATt(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new cR(FLe,t,7,4)),WAt(t.e,e,r);case 8:return!t.d&&(t.d=new cR(FLe,t,8,5)),WAt(t.d,e,r)}return QCt(t,e,n,r)}function pTt(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new cR(FLe,t,7,4)),Rmt(t.e,e,r);case 8:return!t.d&&(t.d=new cR(FLe,t,8,5)),Rmt(t.d,e,r)}return rst(t,e,n,r)}function gTt(t,e,n){var r,i,a;if(n)for(a=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);a.Ob();)(i=O2(n,QH(a.Pb(),19).a))&&fSt(t,i,e)}function mTt(t,e,n){var r,i,a;return t.qj(),a=null==e?0:Zct(e),t.f>0&&(i=aLt(t,(a&Dqt)%t.d.length,a,e))?i.ed(n):(r=t.tj(a,e,n),t.c.Fc(r),null)}function bTt(t,e){var n,r,i,a;switch(_ht(t,e)._k()){case 3:case 2:for(i=0,a=(n=WHt(e)).i;i<a;++i)if(5==Nq(Q7(t,r=QH(Xet(n,i),34))))return r}return null}function vTt(t){var e,n,r,i,a;if(HC(t.f,t.b.length))for(r=O9(Vte,_Vt,330,2*t.b.length,0,1),t.b=r,i=r.length-1,n=t.a;n!=t;n=n.Rd())e=(a=QH(n,330)).d&i,a.a=r[e],r[e]=a}function yTt(t,n){var r,i,a,o;for(o=0,a=QH(QH(c6(t.r,n),21),84).Kc();a.Ob();)i=QH(a.Pb(),111),o=e.Math.max(o,i.e.a+i.b.rf().a);(r=QH(oV(t.b,n),124)).n.b=0,r.a.a=o}function wTt(t,n){var r,i,a,o;for(r=0,o=QH(QH(c6(t.r,n),21),84).Kc();o.Ob();)a=QH(o.Pb(),111),r=e.Math.max(r,a.e.b+a.b.rf().b);(i=QH(oV(t.b,n),124)).n.d=0,i.a.b=r}function TTt(t){var e,n;return n=QH(bEt(t,(lqt(),Yhe)),21),e=vI(gye),n.Hc((fFt(),Ahe))&&Yat(e,vye),n.Hc(ghe)&&Yat(e,wye),n.Hc(she)&&Yat(e,mye),n.Hc(lhe)&&Yat(e,bye),e}function kTt(t,e){var n;SCt(e,"Delaunay triangulation",1),n=new Mm,Set(t.i,new bg(n)),Hy(TF(bEt(t,(zat(),qie)))),t.e?Qit(t.e,IXt(n)):t.e=IXt(n),Hxt(e)}function CTt(t){if(t<0)throw Um(new Py("The input must be positive"));return t<kEe.length?y2(kEe[t]):e.Math.sqrt(J4t*t)*(nht(t,t)/eht(2.718281828459045,t))}function ETt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Oht(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if(jS(t.g[n])===jS(e))return!0;return!1}function xTt(t,e){if(null==e){for(;t.a.Ob();)if(null==QH(t.a.Pb(),42).dd())return!0}else for(;t.a.Ob();)if(Oht(e,QH(t.a.Pb(),42).dd()))return!0;return!1}function _Tt(t,e){var n;return e===t||!!rO(e,664)&&(n=QH(e,1947),ngt(t.g||(t.g=new Wh(t)),n.g||(n.g=new Wh(n))))}function BTt(t){var n,r,i;for(n="Sz",r="ez",i=e.Math.min(t.length,5)-1;i>=0;i--)if(mR(t[i].d,n)||mR(t[i].d,r)){t.length>=i+1&&t.splice(0,i+1);break}return t}function STt(t,n){var r;return WL(t)&&WL(n)&&IWt<(r=t/n)&&r<SWt?r<0?e.Math.ceil(r):e.Math.floor(r):oot(L$t(WL(t)?xot(t):t,WL(n)?xot(n):n,!1))}function LTt(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw Um(new Py("'node' must either be the source node or target node of the edge."))}function ITt(t){var e,n,r,i;if(i=QH(bEt(t,(lqt(),Rhe)),37)){for(r=new jT,e=gq(t.c.i);e!=i;)e=gq(n=e.e),PD(KP(KP(r,n.n),e.c),e.d.b,e.d.d);return r}return Rse}function MTt(t){var e;WC(ftt(new D$(null,new f1((e=QH(bEt(t,(lqt(),Bfe)),403)).d,16)),new Qr),new fp(t)),WC(SV(new D$(null,new f1(e.d,16)),new Ur),new dp(t))}function OTt(t,e){var n,r;for(n=new oG(YO((e?hdt(t):udt(t)).a.Kc(),new u));AIt(n);)if((r=LTt(QH(K5(n),17),t)).k==(oxt(),Ese)&&r.c!=t.c)return r;return null}function NTt(t){var n,r,i;for(r=new zd(t.p);r.a<r.c.c.length;)(n=QH(J1(r),10)).k==(oxt(),xse)&&(i=n.o.b,t.i=e.Math.min(t.i,i),t.g=e.Math.max(t.g,i))}function DTt(t,e,n){var r,i,a;for(a=new zd(e);a.a<a.c.c.length;)r=QH(J1(a),10),t.c[r.c.p][r.p].e=!1;for(i=new zd(e);i.a<i.c.c.length;)NGt(t,r=QH(J1(i),10),n)}function FTt(t,n,r){var i,a;(i=kht(n.j,r.s,r.c)+kht(r.e,n.s,n.c))==(a=kht(r.j,n.s,n.c)+kht(n.e,r.s,r.c))?i>0&&(t.b+=2,t.a+=i):(t.b+=1,t.a+=e.Math.min(i,a))}function PTt(t,e){var n;if(n=!1,GS(e)&&(n=!0,JX(t,new jX(CF(e)))),n||rO(e,236)&&(n=!0,JX(t,new Cf(GR(QH(e,236))))),!n)throw Um(new Iy(H6t))}function RTt(t,e,n,r){var i,a,o;return i=new M7(t.e,1,10,rO(o=e.c,88)?QH(o,26):(pqt(),fMe),rO(a=n.c,88)?QH(a,26):(pqt(),fMe),obt(t,e),!1),r?r.Ei(i):r=i,r}function QTt(t){var e,n;switch(QH(bEt(gq(t),(HXt(),pge)),420).g){case 0:return e=t.n,n=t.o,new OB(e.a+n.a/2,e.b+n.b/2);case 1:return new fI(t.n);default:return null}}function UTt(){UTt=L,que=new S_(VZt,0),Xue=new S_("LEFTUP",1),Wue=new S_("RIGHTUP",2),zue=new S_("LEFTDOWN",3),Vue=new S_("RIGHTDOWN",4),Gue=new S_("BALANCED",5)}function HTt(t,e,n){var r,i,a;if(0==(r=xft(t.a[e.p],t.a[n.p]))){if(i=QH(bEt(e,(lqt(),rfe)),15),a=QH(bEt(n,rfe),15),i.Hc(n))return-1;if(a.Hc(e))return 1}return r}function jTt(t){switch(t.g){case 1:return new Uo;case 2:return new Ho;case 3:return new Qo;case 0:return null;default:throw Um(new Py(i3t+(null!=t.f?t.f:""+t.g)))}}function $Tt(t,e,n){switch(e){case 1:return!t.n&&(t.n=new tz(jLe,t,1,7)),c$t(t.n),!t.n&&(t.n=new tz(jLe,t,1,7)),void pX(t.n,QH(n,14));case 2:return void Irt(t,CF(n))}rlt(t,e,n)}function KTt(t,e,n){switch(e){case 3:return void Cnt(t,jy(kF(n)));case 4:return void Ent(t,jy(kF(n)));case 5:return void xnt(t,jy(kF(n)));case 6:return void _nt(t,jy(kF(n)))}$Tt(t,e,n)}function GTt(t,e,n){var r,i;(r=HCt(i=new Iv,e,null))&&r.Fi(),Oit(i,n),l8((!t.c&&(t.c=new tz(qIe,t,12,10)),t.c),i),Mnt(i,0),Ont(i,1),Zht(i,!0),Wht(i,!0)}function zTt(t,e){var n,r;return rO(n=cx(t.g,e),235)?((r=QH(n,235)).Qh(),r.Nh()):rO(n,498)?r=QH(n,1938).b:null}function XTt(t,e,n,r){var i,a;return bX(e),bX(n),D7(!!(a=QH(KR(t.d,e),19)),"Row %s not in %s",e,t.e),D7(!!(i=QH(KR(t.b,n),19)),"Column %s not in %s",n,t.c),Est(t,a.a,i.a,r)}function qTt(t,e,n,r,i,a,o){var s,c,l,u,h;if(h=Uvt(s=(l=a==o-1)?r:0,u=i[a]),10!=r&&xst(jw(t,o-a),e[a],n[a],s,h),!l)for(++a,c=0;c<u;++c)h[c]=qTt(t,e,n,r,i,a,o);return h}function VTt(t){if(-1==t.g)throw Um(new db);t.mj();try{t.i.$c(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(t){throw rO(t=hst(t),73)?Um(new gb):Um(t)}}function WTt(t,n){return t.b.a=e.Math.min(t.b.a,n.c),t.b.b=e.Math.min(t.b.b,n.d),t.a.a=e.Math.max(t.a.a,n.c),t.a.b=e.Math.max(t.a.b,n.d),t.c[t.c.length]=n,!0}function YTt(t){var e,n,r;for(r=-1,n=0,e=new zd(t);e.a<e.c.c.length;){if(QH(J1(e),243).c==(art(),Ube)){r=0==n?0:n-1;break}n==t.c.length-1&&(r=n),n+=1}return r}function JTt(t){var n,r,i,a;for(a=0,n=0,i=new zd(t.c);i.a<i.c.c.length;)xnt(r=QH(J1(i),33),t.e+a),_nt(r,t.f),a+=r.g+t.b,n=e.Math.max(n,r.f+t.b);t.d=a-t.b,t.a=n-t.b}function ZTt(t){var e,n,r;for(n=new zd(t.a.b);n.a<n.c.c.length;)r=(e=QH(J1(n),57)).d.c,e.d.c=e.d.d,e.d.d=r,r=e.d.b,e.d.b=e.d.a,e.d.a=r,r=e.b.a,e.b.a=e.b.b,e.b.b=r;vNt(t)}function tkt(t){var e,n,r;for(n=new zd(t.a.b);n.a<n.c.c.length;)r=(e=QH(J1(n),81)).g.c,e.g.c=e.g.d,e.g.d=r,r=e.g.b,e.g.b=e.g.a,e.g.a=r,r=e.e.a,e.e.a=e.e.b,e.e.b=r;yNt(t)}function ekt(t){var e,n,r,i,a;for(a=AG(t.k),yzt(),r=0,i=(n=xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length;r<i;++r)if((e=n[r])!=ESe&&!a.Hc(e))return e;return null}function nkt(t,e){var n,r;return(r=QH(wN(Vct(SV(new D$(null,new f1(e.j,16)),new da))),11))&&(n=QH(O$(r.e,0),17))?QH(bEt(n,(lqt(),ffe)),19).a:Att(t.b)}function rkt(t,e){var n,r,i;for(i=new zd(e.a);i.a<i.c.c.length;)for(r=QH(J1(i),10),Jy(t.d),n=new oG(YO(hdt(r).a.Kc(),new u));AIt(n);)zLt(t,r,QH(K5(n),17).d.i)}function ikt(t,e){var n,r;for(b7(t.b,e),r=new zd(t.n);r.a<r.c.c.length;)if(-1!=w7((n=QH(J1(r),211)).c,e,0)){b7(n.c,e),JTt(n),0==n.c.c.length&&b7(t.n,n);break}ujt(t)}function akt(t,n){var r,i,a,o,s;for(s=t.f,a=0,o=0,i=new zd(t.a);i.a<i.c.c.length;)kbt(r=QH(J1(i),187),t.e,s),p8(r,n),o=e.Math.max(o,r.r),a=s+=r.d+t.c;t.d=o,t.b=a}function okt(t){var e,n;return c4(n=dOt(t))?null:(bX(n),e=QH(evt(new oG(YO(n.a.Kc(),new u))),79),xCt(QH(Xet((!e.b&&(e.b=new cR(DLe,e,4,7)),e.b),0),82)))}function skt(t){return t.o||(t.Lj()?t.o=new iq(t,t,null):t.rk()?t.o=new nP(t,null):1==Nq(Q7((B_t(),WMe),t))?t.o=new A3(t):t.o=new rP(t,null)),t.o}function ckt(t,e,n,r){var i,a,o,s,c;n.mh(e)&&(i=(o=e)?QH(r,49).xh(o):null)&&(c=n.ah(e),(s=e.t)>1||-1==s?(a=QH(c,15),i.Wb(zpt(t,a))):i.Wb(tQt(t,QH(c,56))))}function lkt(t,e,n,r){Vk();var i=xqt;function a(){for(var t=0;t<i.length;t++)i[t]()}if(t)try{QNe(a)()}catch(n){t(e,n)}else QNe(a)()}function ukt(t){var e,n,r,i,a;for(r=new olt(new Ed(t.b).a);r.b;)e=QH((n=tnt(r)).cd(),10),a=QH(QH(n.dd(),46).a,10),i=QH(QH(n.dd(),46).b,8),KP(vL(e.n),KP(QM(a.n),i))}function hkt(t){switch(QH(bEt(t.b,(HXt(),tge)),375).g){case 1:WC(LV(ftt(new D$(null,new f1(t.d,16)),new Qi),new Ui),new Hi);break;case 2:mPt(t);break;case 0:_Bt(t)}}function fkt(t,e,n){SCt(n,"Straight Line Edge Routing",1),n.n&&e&&b0(n,o2(e),(Ult(),aLe)),bjt(t,QH(JIt(e,(fF(),Xwe)),33)),n.n&&e&&b0(n,o2(e),(Ult(),aLe))}function dkt(){dkt=L,YEe=new DB("V_TOP",0),WEe=new DB("V_CENTER",1),VEe=new DB("V_BOTTOM",2),XEe=new DB("H_LEFT",3),zEe=new DB("H_CENTER",4),qEe=new DB("H_RIGHT",5)}function Akt(t){var e;return 0!=(64&t.Db)?_At(t):((e=new lN(_At(t))).a+=" (abstract: ",bk(e,0!=(256&t.Bb)),e.a+=", interface: ",bk(e,0!=(512&t.Bb)),e.a+=")",e.a)}function pkt(t,e,n,r){var i,a,o;return mI(t.e)&&(o=IY(t,1,i=e.ak(),e.dd(),a=n.dd(),i.$j()?gHt(t,i,a,rO(i,99)&&0!=(QH(i,18).Bb&UWt)):-1,!0),r?r.Ei(o):r=o),r}function gkt(t){var e;null==t.c&&(e=jS(t.b)===jS(Wte)?null:t.b,t.d=null==e?Kqt:tG(e)?yN(wW(e)):GS(e)?jVt:JT(tlt(e)),t.a=t.a+": "+(tG(e)?xP(wW(e)):e+""),t.c="("+t.d+") "+t.a)}function mkt(t,e){this.e=t,qS(t0(e,-4294967296),0)?(this.d=1,this.a=xst(jw(BNe,1),lWt,25,15,[dK(e)])):(this.d=2,this.a=xst(jw(BNe,1),lWt,25,15,[dK(e),dK(vG(e,32))]))}function bkt(){function t(){try{return(new Map).entries().next().done}catch(t){return!1}}return typeof Map===Nqt&&Map.prototype.entries&&t()?Map:fzt()}function vkt(t,e){var n,r,i;for(i=new k2(t.e,0),n=0;i.b<i.d.gc();){if((r=jy((ED(i.b<i.d.gc()),kF(i.d.Xb(i.c=i.b++))))-e)>D4t)return n;r>-1e-6&&++n}return n}function ykt(t,e){var n;e!=t.b?(n=null,t.b&&(n=oJ(t.b,t,-4,n)),e&&(n=Omt(e,t,-4,n)),(n=Jut(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,3,e,e))}function wkt(t,e){var n;e!=t.f?(n=null,t.f&&(n=oJ(t.f,t,-1,n)),e&&(n=Omt(e,t,-1,n)),(n=Zut(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,0,e,e))}function Tkt(t){var e,n,r;if(null==t)return null;if((n=QH(t,15)).dc())return"";for(r=new Cw,e=n.Kc();e.Ob();)rL(r,(G$t(),CF(e.Pb()))),r.a+=" ";return FL(r,r.a.length-1)}function kkt(t){var e,n,r;if(null==t)return null;if((n=QH(t,15)).dc())return"";for(r=new Cw,e=n.Kc();e.Ob();)rL(r,(G$t(),CF(e.Pb()))),r.a+=" ";return FL(r,r.a.length-1)}function Ckt(t,e,n){var r,i;return r=t.c[e.c.p][e.p],i=t.c[n.c.p][n.p],null!=r.a&&null!=i.a?TG(r.a,i.a):null!=r.a?-1:null!=i.a?1:0}function Ekt(t,e){var n,r,i;if(e)for(i=((n=new cG(e.a.length)).b-n.a)*n.c<0?(tx(),TNe):new GO(n);i.Ob();)r=O2(e,QH(i.Pb(),19).a),BV(new Qg(t).a,r)}function xkt(t,e){var n,r,i;if(e)for(i=((n=new cG(e.a.length)).b-n.a)*n.c<0?(tx(),TNe):new GO(n);i.Ob();)r=O2(e,QH(i.Pb(),19).a),_V(new Lg(t).a,r)}function _kt(t){if(null!=t&&t.length>0&&33==lV(t,t.length-1))try{return null==W_t(lD(t,0,t.length-1)).e}catch(t){if(!rO(t=hst(t),32))throw Um(t)}return!1}function Bkt(t,e,n){var r,i,a;return r=e.ak(),a=e.dd(),i=r.$j()?IY(t,3,r,null,a,gHt(t,r,a,rO(r,99)&&0!=(QH(r,18).Bb&UWt)),!0):IY(t,1,r,r.zj(),a,-1,!0),n?n.Ei(i):n=i,n}function Skt(){var t,e,n;for(e=0,t=0;t<1;t++){if(0==(n=VLt((h1(t,1),"X".charCodeAt(t)))))throw Um(new iw("Unknown Option: "+"X".substr(t)));e|=n}return e}function Lkt(t,e,n){var r,i;switch(r=Xft(gq(e)),xZ(i=new _xt,e),n.g){case 1:jBt(i,kft(lAt(r)));break;case 2:jBt(i,lAt(r))}return lct(i,(HXt(),Zge),kF(bEt(t,Zge))),i}function Ikt(t){var e,n;return e=QH(K5(new oG(YO(udt(t.a).a.Kc(),new u))),17),n=QH(K5(new oG(YO(hdt(t.a).a.Kc(),new u))),17),Hy(TF(bEt(e,(lqt(),xfe))))||Hy(TF(bEt(n,xfe)))}function Mkt(){Mkt=L,kle=new b_("ONE_SIDE",0),Ele=new b_("TWO_SIDES_CORNER",1),xle=new b_("TWO_SIDES_OPPOSING",2),Cle=new b_("THREE_SIDES",3),Tle=new b_("FOUR_SIDES",4)}function Okt(t,e,n,r,i){var a,o;a=QH(E3(SV(e.Oc(),new Zi),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15),o=QH(pot(t.b,n,r),15),0==i?o.Wc(0,a):o.Gc(a)}function Nkt(t,e){var n,r,i;for(r=new zd(e.a);r.a<r.c.c.length;)for(n=new oG(YO(udt(QH(J1(r),10)).a.Kc(),new u));AIt(n);)i=QH(K5(n),17).c.i.p,t.n[i]=t.n[i]-1}function Dkt(t,e){var n,r,i,a;for(i=new zd(e.d);i.a<i.c.c.length;)for(r=QH(J1(i),101),a=QH(DX(t.c,r),112).o,n=new qC(r.b);n.a<n.c.a.length;)A8(r,QH(a3(n),61),a)}function Fkt(t){var e;for(e=new zd(t.e.b);e.a<e.c.c.length;)lGt(t,QH(J1(e),29));WC(SV(ftt(ftt(new D$(null,new f1(t.e.b,16)),new Xa),new Za),new to),new cg(t))}function Pkt(t,e){return!!e&&!t.Di(e)&&(t.i?t.i.Ei(e):rO(e,143)?(t.i=QH(e,143),!0):(t.i=new mc,t.i.Ei(e)))}function Rkt(t){if(t=QHt(t,!0),mR(a5t,t)||mR("1",t))return cN(),mee;if(mR(o5t,t)||mR("0",t))return cN(),gee;throw Um(new ew("Invalid boolean value: '"+t+"'"))}function Qkt(t,e,n){var r,i,a;for(i=t.vc().Kc();i.Ob();)if(a=(r=QH(i.Pb(),42)).cd(),jS(e)===jS(a)||null!=e&&Oht(e,a))return n&&(r=new Ex(r.cd(),r.dd()),i.Qb()),r;return null}function Ukt(t){var e,n,r;HF(),t.B.Hc((ZRt(),HSe))&&(r=t.f.i,e=new AY(t.a.c),(n=new hv).b=e.c-r.c,n.d=e.d-r.d,n.c=r.c+r.b-(e.c+e.b),n.a=r.d+r.a-(e.d+e.a),t.e.Ff(n))}function Hkt(t,n,r,i){var a,o,s;for(s=e.Math.min(r,XUt(QH(t.b,65),n,r,i)),o=new zd(t.a);o.a<o.c.c.length;)(a=QH(J1(o),221))!=n&&(s=e.Math.min(s,Hkt(a,n,s,i)));return s}function jkt(t){var e,n,r;for(r=O9(Bse,cVt,193,t.b.c.length,0,2),n=new k2(t.b,0);n.b<n.d.gc();)ED(n.b<n.d.gc()),e=QH(n.d.Xb(n.c=n.b++),29),r[n.b-1]=J0(e.a);return r}function $kt(t,e,n,r,i){var a,o,s,c;for(o=Jw(Yw(UQ(tbt(n)),r),awt(t,n,i)),c=Dxt(t,n).Kc();c.Ob();)e[(s=QH(c.Pb(),11)).p]&&(a=e[s.p].i,zH(o.d,new OK(a,yft(o,a))));xAt(o)}function Kkt(t,e){this.f=new Om,this.b=new Om,this.j=new Om,this.a=t,this.c=e,this.c>0&&Ryt(this,this.c-1,(yzt(),oSe)),this.c<this.a.length-1&&Ryt(this,this.c+1,(yzt(),xSe))}function Gkt(t){t.length>0&&t[0].length>0&&(this.c=Hy(TF(bEt(gq(t[0][0]),(lqt(),ife))))),this.a=O9(Eve,cVt,2018,t.length,0,2),this.b=O9(Ive,cVt,2019,t.length,0,2),this.d=new kut}function zkt(t){return 0!=t.c.length&&((u1(0,t.c.length),QH(t.c[0],17)).c.i.k==(oxt(),Ese)||o5(LV(new D$(null,new f1(t,16)),new Ra),new Qa))}function Xkt(t,e,n){return SCt(n,"Tree layout",1),c2(t.b),xz(t.b,(Kyt(),Dye),Dye),xz(t.b,Fye,Fye),xz(t.b,Pye,Pye),xz(t.b,Rye,Rye),t.a=I$t(t.b,e),hDt(t,e,bat(n,1)),Hxt(n),e}function qkt(t,n){var r,i,a,o,s,c;for(s=dFt(n),a=n.f,c=n.g,o=e.Math.sqrt(a*a+c*c),i=0,r=new zd(s);r.a<r.c.c.length;)i+=qkt(t,QH(J1(r),33));return e.Math.max(i,o)}function Vkt(){Vkt=L,VBe=new KB(lJt,0),qBe=new KB("FREE",1),XBe=new KB("FIXED_SIDE",2),KBe=new KB("FIXED_ORDER",3),zBe=new KB("FIXED_RATIO",4),GBe=new KB("FIXED_POS",5)}function Wkt(t,e){var n,r,i;if(n=e.Hh(t.a))for(i=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),k7t)),r=1;r<(B_t(),YMe).length;++r)if(mR(YMe[r],i))return r;return 0}function Ykt(t){var e,n,r,i;if(null==t)return Kqt;for(i=new Iot(Qqt,"[","]"),n=0,r=(e=t).length;n<r;++n)h6(i,""+e[n]);return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Jkt(t){var e,n,r,i;if(null==t)return Kqt;for(i=new Iot(Qqt,"[","]"),n=0,r=(e=t).length;n<r;++n)h6(i,""+e[n]);return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Zkt(t){var e,n,r;for(r=new Iot(Qqt,"{","}"),n=t.vc().Kc();n.Ob();)h6(r,z4(t,(e=QH(n.Pb(),42)).cd())+"="+z4(t,e.dd()));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function tCt(t){for(var e,n,r,i;!zy(t.o);)n=QH(dz(t.o),46),r=QH(n.a,121),i=Odt(e=QH(n.b,213),r),e.e==r?(DN(i.g,e),r.e=i.e+e.a):(DN(i.b,e),r.e=i.e-e.a),zH(t.e.a,r)}function eCt(t,e){var n,r,i;for(n=null,i=QH(e.Kb(t),20).Kc();i.Ob();)if(r=QH(i.Pb(),17),n){if((r.c.i==t?r.d.i:r.c.i)!=n)return!1}else n=r.c.i==t?r.d.i:r.c.i;return!0}function nCt(t,e){var n,r,i;for(r=new zd(VOt(t,!1,e));r.a<r.c.c.length;)0==(n=QH(J1(r),129)).d?(zZ(n,null),XZ(n,null)):(i=n.a,zZ(n,n.b),XZ(n,i))}function rCt(t){var e,n;return Yat(e=new Q2,xye),(n=QH(bEt(t,(lqt(),Yhe)),21)).Hc((fFt(),ghe))&&Yat(e,Lye),n.Hc(she)&&Yat(e,_ye),n.Hc(Ahe)&&Yat(e,Sye),n.Hc(lhe)&&Yat(e,Bye),e}function iCt(t){var e,n,r,i;for(E$t(t),n=new oG(YO(ldt(t).a.Kc(),new u));AIt(n);)i=(r=(e=QH(K5(n),17)).c.i==t)?e.d:e.c,r?kZ(e,null):CZ(e,null),lct(e,(lqt(),mfe),i),oIt(t,i.i)}function aCt(t,e,n,r){var i,a;switch(i=n[(a=e.i).g][t.d[a.g]],a.g){case 1:i-=r+e.j.b,e.g.b=i;break;case 3:i+=r,e.g.b=i;break;case 4:i-=r+e.j.a,e.g.a=i;break;case 2:i+=r,e.g.a=i}}function oCt(t){var e,n;for(n=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));n.e!=n.i.gc();)if(!AIt(new oG(YO(dOt(e=QH(ymt(n),33)).a.Kc(),new u))))return e;return null}function sCt(){var t;return GLe?QH(IMt((zE(),jIe),v6t),2016):(t=QH(rO(CJ((zE(),jIe),v6t),555)?CJ(jIe,v6t):new cIt,555),GLe=!0,RKt(t),wqt(t),kyt(t),mZ(jIe,v6t,t),t)}function cCt(t,e,n){var r,i;if(0==t.j)return n;if(i=QH(Rnt(t,e,n),72),!(r=n.ak()).Ij()||!t.a.rl(r))throw Um(new dy("Invalid entry feature '"+r.Hj().zb+"."+r.ne()+"'"));return i}function lCt(t,e){var n,r,i,a,o,s,c;for(s=0,c=(o=t.a).length;s<c;++s)for(i=0,a=(r=o[s]).length;i<a;++i)if(n=r[i],jS(e)===jS(n)||null!=e&&Oht(e,n))return!0;return!1}function uCt(t){var e,n,r;return qut(t,0)>=0?(n=STt(t,LWt),r=hpt(t,LWt)):(n=STt(e=yG(t,1),5e8),r=rdt(bG(r=hpt(e,5e8),1),t0(t,1))),e0(bG(r,32),t0(n,GWt))}function hCt(t,e,n){var r;switch(ED(0!=e.b),r=QH(Let(e,e.a.a),8),n.g){case 0:r.b=0;break;case 2:r.b=t.f;break;case 3:r.a=0;break;default:r.a=t.g}return Jz(cmt(e,0),r),e}function fCt(t,e,n,r){var i,a,o,s,c;switch(c=t.b,s=Kgt(o=(a=e.d).j,c.d[o.g],n),i=KP(QM(a.n),a.a),a.j.g){case 1:case 3:s.a+=i.a;break;case 2:case 4:s.b+=i.b}n5(r,s,r.c.b,r.c)}function dCt(t,e,n){var r,i,a,o;for(o=w7(t.e,e,0),(a=new nv).b=n,r=new k2(t.e,o);r.b<r.d.gc();)ED(r.b<r.d.gc()),(i=QH(r.d.Xb(r.c=r.b++),10)).p=n,zH(a.e,i),lq(r);return a}function ACt(t,e,n,r){var i,a,o,s,c;for(i=null,a=0,s=new zd(e);s.a<s.c.c.length;)c=(o=QH(J1(s),33)).i+o.g,t<o.j+o.f+r&&(i?n.i-c<n.i-a&&(i=o):i=o,a=i.i+i.g);return i?a+r:0}function pCt(t,e,n,r){var i,a,o,s,c;for(a=null,i=0,s=new zd(e);s.a<s.c.c.length;)c=(o=QH(J1(s),33)).j+o.f,t<o.i+o.g+r&&(a?n.j-c<n.j-i&&(a=o):a=o,i=a.j+a.f);return a?i+r:0}function gCt(t){var e,n,r;for(e=!1,r=t.b.c.length,n=0;n<r;n++)Wct(QH(O$(t.b,n),434))?!e&&n+1<r&&Wct(QH(O$(t.b,n+1),434))&&(e=!0,QH(O$(t.b,n),434).a=!0):e=!1}function mCt(t,e,n,r,i){var a,o;for(a=0,o=0;o<i;o++)a=rdt(a,ndt(t0(e[o],GWt),t0(r[o],GWt))),t[o]=dK(a),a=vG(a,32);for(;o<n;o++)a=rdt(a,t0(e[o],GWt)),t[o]=dK(a),a=vG(a,32)}function bCt(t,e){var n,r;for(ILt(),SFt(),r=Yee,n=t;e>1;e>>=1)0!=(1&e)&&(r=Mtt(r,n)),n=1==n.d?Mtt(n,n):new _gt(BQt(n.a,n.d,O9(BNe,lWt,25,n.d<<1,15,1)));return r=Mtt(r,n)}function vCt(){var t,e,n,r;for(vCt=L,Bne=O9(MNe,jWt,25,25,15,1),Sne=O9(MNe,jWt,25,33,15,1),r=152587890625e-16,e=32;e>=0;e--)Sne[e]=r,r*=.5;for(n=1,t=24;t>=0;t--)Bne[t]=n,n*=.5}function yCt(t){var e,n;if(Hy(TF(JIt(t,(HXt(),fge)))))for(n=new oG(YO(AOt(t).a.Kc(),new u));AIt(n);)if(VSt(e=QH(K5(n),79))&&Hy(TF(JIt(e,dge))))return!0;return!1}function wCt(t,e){var n,r,i;Tz(t.f,e)&&(e.b=t,r=e.c,-1!=w7(t.j,r,0)||zH(t.j,r),i=e.d,-1!=w7(t.j,i,0)||zH(t.j,i),0!=(n=e.a.b).c.length&&(!t.i&&(t.i=new emt(t)),mot(t.i,n)))}function TCt(t){var e,n,r,i;return(n=(e=t.c.d).j)==(i=(r=t.d.d).j)?e.p<r.p?0:1:Cft(n)==i?0:Tft(n)==i?1:CN(t.b.b,Cft(n))?0:1}function kCt(){kCt=L,Zme=new D_(w4t,0),Yme=new D_("LONGEST_PATH",1),Vme=new D_("COFFMAN_GRAHAM",2),Wme=new D_(U1t,3),tbe=new D_("STRETCH_WIDTH",4),Jme=new D_("MIN_WIDTH",5)}function CCt(t){var e;this.d=new Om,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new sK(t.e),this.a=t.a,t.f?this.g=t.f:this.g=new VR(e=QH(XT(rIe),9),QH(CP(e,e.length),9),0)}function ECt(t,e){var n,r,i,a;!(i=N2(r=t,"layoutOptions"))&&(i=N2(r,C6t)),i&&(n=null,(a=i)&&(n=new TC(a,wit(a,O9(Vee,cVt,2,0,6,1)))),n&&t5(n,new fS(a,e)))}function xCt(t){if(rO(t,239))return QH(t,33);if(rO(t,186))return zJ(QH(t,118));throw Um(t?new Zy("Only support nodes and ports."):new Uy(e9t))}function _Ct(t,e,n,r){return e>=0&&mR(t.substr(e,3),"GMT")||e>=0&&mR(t.substr(e,3),"UTC")?(n[0]=e+3,vQt(t,n,r)):vQt(t,n,r)}function BCt(t,e){var n,r,i,a,o;for(a=t.g.a,o=t.g.b,r=new zd(t.d);r.a<r.c.c.length;)(i=(n=QH(J1(r),70)).n).a=a,t.i==(yzt(),sSe)?i.b=o+t.j.b-n.o.b:i.b=o,KP(i,e),a+=n.o.a+t.e}function SCt(t,e,n){if(t.b)throw Um(new Ry("The task is already done."));return null==t.p&&(t.p=e,t.r=n,t.k&&(t.o=(LC(),idt(uot(Date.now()),qVt))),!0)}function LCt(t){var e;return e=new py,null!=t.tg()&&Sj(e,j6t,t.tg()),null!=t.ne()&&Sj(e,t9t,t.ne()),null!=t.sg()&&Sj(e,"description",t.sg()),e}function ICt(t,e,n){var r,i,a;return a=t.q,t.q=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new JG(t,1,9,a,e),n?n.Ei(i):n=i),e?(r=e.c)!=t.r&&(n=t.nk(r,n)):t.r&&(n=t.nk(null,n)),n}function MCt(t,e,n){var r,i;for(n=Omt(e,t.e,-1-t.c,n),i=new km(new olt(new Ed(Oq(t.a).a).a));i.a.b;)n=aGt(r=QH(tnt(i.a).cd(),87),yOt(r,t.a),n);return n}function OCt(t,e,n){var r,i;for(n=oJ(e,t.e,-1-t.c,n),i=new km(new olt(new Ed(Oq(t.a).a).a));i.a.b;)n=aGt(r=QH(tnt(i.a).cd(),87),yOt(r,t.a),n);return n}function NCt(t,e,n,r){var i,a,o;if(0==r)ajt(e,0,t,n,t.length-n);else for(o=32-r,t[t.length-1]=0,a=t.length-1;a>n;a--)t[a]|=e[a-n-1]>>>o,t[a-1]=e[a-n-1]<<r;for(i=0;i<n;i++)t[i]=0}function DCt(t){var n,r,i,a,o;for(n=0,r=0,o=t.Kc();o.Ob();)i=QH(o.Pb(),111),n=e.Math.max(n,i.d.b),r=e.Math.max(r,i.d.c);for(a=t.Kc();a.Ob();)(i=QH(a.Pb(),111)).d.b=n,i.d.c=r}function FCt(t){var n,r,i,a,o;for(r=0,n=0,o=t.Kc();o.Ob();)i=QH(o.Pb(),111),r=e.Math.max(r,i.d.d),n=e.Math.max(n,i.d.a);for(a=t.Kc();a.Ob();)(i=QH(a.Pb(),111)).d.d=r,i.d.a=n}function PCt(t,e){var n,r,i,a;for(a=new Mm,i=0,r=e.Kc();r.Ob();){for(n=nft(QH(r.Pb(),19).a+i);n.a<t.f&&!Z$(t,n.a);)n=nft(n.a+1),++i;if(n.a>=t.f)break;a.c[a.c.length]=n}return a}function RCt(t){var e,n,r,i;for(e=null,i=new zd(t.wf());i.a<i.c.c.length;)n=new KV((r=QH(J1(i),181)).qf().a,r.qf().b,r.rf().a,r.rf().b),e?__t(e,n):e=n;return!e&&(e=new hI),e}function QCt(t,e,n,r){return 1==n?(!t.n&&(t.n=new tz(jLe,t,1,7)),WAt(t.n,e,r)):QH(eet(QH(vot(t,16),26)||t.zh(),n),66).Nj().Qj(t,ugt(t),n-hX(t.zh()),e,r)}function UCt(t,e,n){var r,i,a,o,s;for(r=n.gc(),t.qi(t.i+r),(s=t.i-e)>0&&ajt(t.g,e,t.g,e+r,s),o=n.Kc(),t.i+=r,i=0;i<r;++i)a=o.Pb(),yO(t,e,t.oi(e,a)),t.bi(e,a),t.ci(),++e;return 0!=r}function HCt(t,e,n){var r;return e!=t.q?(t.q&&(n=oJ(t.q,t,-10,n)),e&&(n=Omt(e,t,-10,n)),n=ICt(t,e,n)):0!=(4&t.Db)&&0==(1&t.Db)&&(r=new JG(t,1,9,e,e),n?n.Ei(r):n=r),n}function jCt(t,e,n,r){return xQ(0==(n&lVt),"flatMap does not support SUBSIZED characteristic"),xQ(0==(4&n),"flatMap does not support SORTED characteristic"),bX(t),bX(e),new H2(t,n,r,e)}function $Ct(t,e){Cz(e,"Cannot suppress a null exception."),gj(e!=t,"Exception can not suppress itself."),t.i||(null==t.k?t.k=xst(jw(Yte,1),cVt,78,0,[e]):t.k[t.k.length]=e)}function KCt(t,e,n,r){var i,a,o,s,c,l;for(o=n.length,a=0,i=-1,l=iet(t.substr(e),(rQ(),Tne)),s=0;s<o;++s)(c=n[s].length)>a&&sz(l,iet(n[s],Tne))&&(i=s,a=c);return i>=0&&(r[0]=e+a),i}function GCt(t,e){var n;if(0!=(n=VL(t.b.Hf(),e.b.Hf())))return n;switch(t.b.Hf().g){case 1:case 2:return wM(t.b.sf(),e.b.sf());case 3:case 4:return wM(e.b.sf(),t.b.sf())}return 0}function zCt(t){var e,n,r;for(r=t.e.c.length,t.a=v$(BNe,[cVt,lWt],[48,25],15,[r,r],2),n=new zd(t.c);n.a<n.c.c.length;)e=QH(J1(n),282),t.a[e.c.b][e.d.b]+=QH(bEt(e,(uPt(),Yae)),19).a}function XCt(t,e,n){SCt(n,"Grow Tree",1),t.b=e.f,Hy(TF(bEt(e,(zat(),qie))))?(t.c=new ne,qZ(t,null)):t.c=new ne,t.a=!1,QNt(t,e.f),lct(e,Vie,(cN(),!!t.a)),Hxt(n)}function qCt(t,e){var n,r,i,a,o;if(null==t)return null;for(o=O9(_Ne,XVt,25,2*e,15,1),r=0,i=0;r<e;++r)n=t[r]>>4&15,a=15&t[r],o[i++]=BLe[n],o[i++]=BLe[a];return Upt(o,0,o.length)}function VCt(t,e,n){var r,i,a;return r=e.ak(),a=e.dd(),i=r.$j()?IY(t,4,r,a,null,gHt(t,r,a,rO(r,99)&&0!=(QH(r,18).Bb&UWt)),!0):IY(t,r.Kj()?2:1,r,a,r.zj(),-1,!0),n?n.Ei(i):n=i,n}function WCt(t){var e,n;return t>=UWt?(e=HWt+(t-UWt>>10&1023)&VVt,n=56320+(t-UWt&1023)&VVt,String.fromCharCode(e)+""+String.fromCharCode(n)):String.fromCharCode(t&VVt)}function YCt(t,e){var n,r,i,a;return HF(),(i=QH(QH(c6(t.r,e),21),84)).gc()>=2&&(r=QH(i.Kc().Pb(),111),n=t.u.Hc((hSt(),ZBe)),a=t.u.Hc(rSe),!r.a&&!n&&(2==i.gc()||a))}function JCt(t,e,n,r,i){var a,o,s;for(a=eFt(t,e,n,r,i),s=!1;!a;)TMt(t,i,!0),s=!0,a=eFt(t,e,n,r,i);s&&TMt(t,i,!1),0!=(o=Dst(i)).c.length&&(t.d&&t.d.lg(o),JCt(t,i,n,r,o))}function ZCt(){ZCt=L,iBe=new QB(VZt,0),nBe=new QB("DIRECTED",1),aBe=new QB("UNDIRECTED",2),tBe=new QB("ASSOCIATION",3),rBe=new QB("GENERALIZATION",4),eBe=new QB("DEPENDENCY",5)}function tEt(t,e){var n;if(!zJ(t))throw Um(new Ry(Q5t));switch(n=zJ(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}function eEt(t,e){var n,r;for(vq(e),r=t.b.c.length,zH(t.b,e);r>0;){if(n=r,r=(r-1)/2|0,t.a.ue(O$(t.b,r),e)<=0)return r5(t.b,n,e),!0;r5(t.b,n,O$(t.b,r))}return r5(t.b,r,e),!0}function nEt(t,n,r,i){var a,o;if(a=0,r)a=but(t.a[r.g][n.g],i);else for(o=0;o<Jre;o++)a=e.Math.max(a,but(t.a[o][n.g],i));return n==(Det(),$re)&&t.b&&(a=e.Math.max(a,t.b.a)),a}function rEt(t,e){var n,r,i,a,o;return r=t.i,i=e.i,!(!r||!i)&&r.i==i.i&&r.i!=(yzt(),oSe)&&r.i!=(yzt(),xSe)&&(n=(a=r.g.a)+r.j.a,a<=(o=i.g.a)+i.j.a&&n>=o)}function iEt(t,e,n,r){var i;if(i=!1,GS(r)&&(i=!0,Sj(e,n,CF(r))),i||$S(r)&&(i=!0,iEt(t,e,n,r)),i||rO(r,236)&&(i=!0,HW(e,n,QH(r,236))),!i)throw Um(new Iy(H6t))}function aEt(t,e){var n,r,i;if((n=e.Hh(t.a))&&null!=(i=ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),Q8t)))for(r=1;r<(B_t(),qMe).length;++r)if(mR(qMe[r],i))return r;return 0}function oEt(t,e){var n,r,i;if((n=e.Hh(t.a))&&null!=(i=ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),Q8t)))for(r=1;r<(B_t(),VMe).length;++r)if(mR(VMe[r],i))return r;return 0}function sEt(t,e){var n,r,i,a;if(vq(e),(a=t.a.gc())<e.gc())for(n=t.a.ec().Kc();n.Ob();)r=n.Pb(),e.Hc(r)&&n.Qb();else for(i=e.Kc();i.Ob();)r=i.Pb(),t.a.Bc(r);return a!=t.a.gc()}function cEt(t){var e,n;switch(n=QM(Lct(xst(jw(EEe,1),cVt,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function lEt(t){var e;for(Bit(),e=QH(K5(new oG(YO(udt(t).a.Kc(),new u))),17).c.i;e.k==(oxt(),Ese);)lct(e,(lqt(),ofe),(cN(),!0)),e=QH(K5(new oG(YO(udt(e).a.Kc(),new u))),17).c.i}function uEt(t,e,n,r){var i,a,o;for(o=Mht(e,r).Kc();o.Ob();)i=QH(o.Pb(),11),t.d[i.p]=t.d[i.p]+t.c[n.p];for(a=Mht(n,r).Kc();a.Ob();)i=QH(a.Pb(),11),t.d[i.p]=t.d[i.p]-t.c[e.p]}function hEt(t,e,n){var r,i;for(i=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));i.e!=i.i.gc();)CI(r=QH(ymt(i),33),r.i+e,r.j+n);t5((!t.b&&(t.b=new tz(FLe,t,12,3)),t.b),new ZB(e,n))}function fEt(t,e,n,r){var i,a;for(i=null==(a=e).d||t.a.ue(n.d,a.d)>0?1:0;a.a[i]!=n;)a=a.a[i],i=t.a.ue(n.d,a.d)>0?1:0;a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function dEt(t){return hSt(),!(_ot(BJ(wK(tSe,xst(jw(_Se,1),IVt,273,0,[nSe])),t))>1||_ot(BJ(wK(ZBe,xst(jw(_Se,1),IVt,273,0,[JBe,rSe])),t))>1)}function AEt(t,e){rO(CJ((zE(),jIe),t),498)?mZ(jIe,t,new BS(this,e)):mZ(jIe,t,this),nxt(this,e),e==(ek(),YIe)?(this.wb=QH(this,1939),QH(e,1941)):this.wb=(qX(),JIe)}function pEt(t){var e,n;if(null==t)return null;for(e=null,n=0;n<_Le.length;++n)try{return QE(_Le[n],t)}catch(t){if(!rO(t=hst(t),32))throw Um(t);e=t}throw Um(new I7(e))}function gEt(){gEt=L,pne=xst(jw(Vee,1),cVt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),gne=xst(jw(Vee,1),cVt,2,6,["Jan","Feb","Mar","Apr",tWt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function mEt(t){var e,n,r;(e=mR(typeof e,pYt)?null:new ht)&&(uE(),ZX(n=(r=900)>=qVt?"error":r>=900?"warn":r>=800?"info":"log",t.a),t.b&&NNt(e,n,t.b,"Exception: ",!0))}function bEt(t,e){var n,r;return!t.q&&(t.q=new Om),null!=(r=DX(t.q,e))?r:(rO(n=e.wg(),4)&&(null==n?(!t.q&&(t.q=new Om),g6(t.q,e)):(!t.q&&(t.q=new Om),Xq(t.q,e,n))),n)}function vEt(){vEt=L,Doe=new Xx("P1_CYCLE_BREAKING",0),Foe=new Xx("P2_LAYERING",1),Poe=new Xx("P3_NODE_ORDERING",2),Roe=new Xx("P4_NODE_PLACEMENT",3),Qoe=new Xx("P5_EDGE_ROUTING",4)}function yEt(t,e){var n,r,i,a;for(r=(1==e?zoe:Goe).a.ec().Kc();r.Ob();)for(n=QH(r.Pb(),103),a=QH(c6(t.f.c,n),21).Kc();a.Ob();)i=QH(a.Pb(),46),b7(t.b.b,i.b),b7(t.b.a,QH(i.b,81).d)}function wEt(t,e){var n;if(Ntt(),t.c==e.c){if(t.b==e.b||lat(t.b,e.b)){if(n=YL(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return wM(t.b.g,e.b.g)}return xft(t.c,e.c)}function TEt(t,e){var n;SCt(e,"Hierarchical port position processing",1),(n=t.b).c.length>0&&nQt((u1(0,n.c.length),QH(n.c[0],29)),t),n.c.length>1&&nQt(QH(O$(n,n.c.length-1),29),t),Hxt(e)}function kEt(t,e){var n,r;if(OEt(t,e))return!0;for(r=new zd(e);r.a<r.c.c.length;){if(RFt(t,n=QH(J1(r),33),okt(n)))return!0;if(Iut(t,n)-t.g<=t.a)return!0}return!1}function CEt(){CEt=L,fPt(),vCe=DCe,gCe=ICe,pCe=SCe,dCe=ECe,ACe=_Ce,fCe=new zI(8),hCe=new GI((cqt(),Gxe),fCe),mCe=new GI(I_e,8),bCe=OCe,cCe=yCe,lCe=TCe,uCe=new GI(uxe,(cN(),!1))}function EEt(){EEt=L,$Ee=new zI(15),jEe=new GI((cqt(),Gxe),$Ee),GEe=new GI(I_e,15),KEe=new GI(p_e,nft(0)),PEe=yxe,QEe=Fxe,HEe=Hxe,NEe=new GI(rxe,u5t),REe=xxe,UEe=Qxe,DEe=axe,FEe=cxe}function xEt(t){if(1!=(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c).i)throw Um(new Py(r9t));return xCt(QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82))}function _Et(t){if(1!=(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c).i)throw Um(new Py(r9t));return fst(QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82))}function BEt(t){if(1!=(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c).i)throw Um(new Py(r9t));return fst(QH(Xet((!t.c&&(t.c=new cR(DLe,t,5,8)),t.c),0),82))}function SEt(t){if(1!=(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c).i)throw Um(new Py(r9t));return xCt(QH(Xet((!t.c&&(t.c=new cR(DLe,t,5,8)),t.c),0),82))}function LEt(t,e,n){var r,i,a;if(++t.j,e>=(i=t.Vi())||e<0)throw Um(new Sy(o9t+e+s9t+i));if(n>=i||n<0)throw Um(new Sy(c9t+n+s9t+i));return e!=n?(a=t.Ti(n),t.Hi(e,a),r=a):r=t.Oi(n),r}function IEt(t){var e,n,r;if(r=t,t)for(e=0,n=t.Ug();n;n=n.Ug()){if(++e>$Wt)return IEt(n);if(r=n,n==t)throw Um(new Ry("There is a cycle in the containment hierarchy of "+t))}return r}function MEt(t){var e,n,r;for(r=new Iot(Qqt,"[","]"),n=t.Kc();n.Ob();)h6(r,jS(e=n.Pb())===jS(t)?"(this Collection)":null==e?Kqt:Udt(e));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function OEt(t,e){var n,r;if(r=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?r|=RFt(t,QH(e.Xb(n),33),QH(e.Xb(n+1),33)):r|=RFt(t,QH(e.Xb(n),33),QH(e.Xb(0),33));return r}function NEt(t,e){var n;e!=t.a?(n=null,t.a&&(n=QH(t.a,49).ih(t,4,HLe,n)),e&&(n=QH(e,49).gh(t,4,HLe,n)),(n=Yut(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,1,e,e))}function DEt(t,e){var n;e!=t.e?(t.e&&P6(Oq(t.e),t),e&&(!e.b&&(e.b=new Tm(new Ov)),VP(e.b,t)),(n=Vwt(t,e,null))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,4,e,e))}function FEt(t){var e,n,r;for(n=t.length,r=0;r<n&&(h1(r,t.length),t.charCodeAt(r)<=32);)++r;for(e=n;e>r&&(h1(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return r>0||e<n?t.substr(r,e-r):t}function PEt(t,n){var r;r=n.o,dI(t.f)?(t.j.a=e.Math.max(t.j.a,r.a),t.j.b+=r.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=r.a,t.j.b=e.Math.max(t.j.b,r.b),t.d.c.length>1&&(t.j.a+=t.e))}function REt(){REt=L,Lle=xst(jw(RSe,1),WZt,61,0,[(yzt(),sSe),oSe,CSe]),Sle=xst(jw(RSe,1),WZt,61,0,[oSe,CSe,xSe]),Ile=xst(jw(RSe,1),WZt,61,0,[CSe,xSe,sSe]),Mle=xst(jw(RSe,1),WZt,61,0,[xSe,sSe,oSe])}function QEt(t,e,n,r){var i,a,o,s,c;if(a=t.c.d,o=t.d.d,a.j!=o.j)for(c=t.b,i=a.j,s=null;i!=o.j;)s=0==e?Cft(i):Tft(i),Nj(r,KP(Kgt(i,c.d[i.g],n),Kgt(s,c.d[s.g],n))),i=s}function UEt(t,e,n,r){var i,a,o,s,c;return s=QH((o=jyt(t.a,e,n)).a,19).a,a=QH(o.b,19).a,r&&(c=QH(bEt(e,(lqt(),wfe)),10),i=QH(bEt(n,wfe),10),c&&i&&(Z4(t.b,c,i),s+=t.b.i,a+=t.b.e)),s>a}function HEt(t){var e,n,r,i,a,o,s,c;for(this.a=rbt(t),this.b=new Mm,r=0,i=(n=t).length;r<i;++r)for(e=n[r],a=new Mm,zH(this.b,a),s=0,c=(o=e).length;s<c;++s)zH(a,new ZR(o[s].j))}function jEt(t,e,n){var r,i,a;return a=0,r=n[e],e<n.length-1&&(i=n[e+1],t.b[e]?(a=fqt(t.d,r,i),a+=YX(t.a,r,(yzt(),oSe)),a+=YX(t.a,i,xSe)):a=_8(t.a,r,i)),t.c[e]&&(a+=I6(t.a,r)),a}function $Et(t,e,n,r,i){var a,o,s,c;for(c=null,s=new zd(r);s.a<s.c.c.length;)if((o=QH(J1(s),441))!=n&&-1!=w7(o.e,i,0)){c=o;break}CZ(a=z5(i),n.b),kZ(a,c.b),YSt(t.a,i,new IQ(a,e,n.f))}function KEt(t){for(;0!=t.g.c&&0!=t.d.c;)RF(t.g).c>RF(t.d).c?(t.i+=t.g.c,ppt(t.d)):RF(t.d).c>RF(t.g).c?(t.e+=t.d.c,ppt(t.g)):(t.i+=H$(t.g),t.e+=H$(t.d),ppt(t.g),ppt(t.d))}function GEt(t,e,n){var r,i,a,o;for(a=e.q,o=e.r,new $Z((B6(),Tye),e,a,1),new $Z(Tye,a,o,1),i=new zd(n);i.a<i.c.c.length;)(r=QH(J1(i),112))!=a&&r!=e&&r!=o&&(pjt(t.a,r,e),pjt(t.a,r,o))}function zEt(t,n,r,i){t.a.d=e.Math.min(n,r),t.a.a=e.Math.max(n,i)-t.a.d,n<r?(t.b=.5*(n+r),t.g=P4t*t.b+.9*n,t.f=P4t*t.b+.9*r):(t.b=.5*(n+i),t.g=P4t*t.b+.9*i,t.f=P4t*t.b+.9*n)}function XEt(){function t(){return(new Date).getTime()}Eqt={},!Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!Date.now&&(Date.now=t)}function qEt(t,e){var n,r;r=QH(bEt(e,(HXt(),tme)),98),lct(e,(lqt(),bfe),r),(n=e.e)&&(WC(new D$(null,new f1(n.a,16)),new DA(t)),WC(ftt(new D$(null,new f1(n.b,16)),new be),new FA(t)))}function VEt(t){var n,r,i,a;if(AI(QH(bEt(t.b,(HXt(),Kpe)),103)))return 0;for(n=0,i=new zd(t.a);i.a<i.c.c.length;)(r=QH(J1(i),10)).k==(oxt(),xse)&&(a=r.o.a,n=e.Math.max(n,a));return n}function WEt(t){switch(QH(bEt(t,(HXt(),vge)),163).g){case 1:lct(t,vge,(kdt(),Qfe));break;case 2:lct(t,vge,(kdt(),Ufe));break;case 3:lct(t,vge,(kdt(),Pfe));break;case 4:lct(t,vge,(kdt(),Rfe))}}function YEt(){YEt=L,rhe=new L_(VZt,0),the=new L_(iJt,1),ihe=new L_(aJt,2),nhe=new L_("LEFT_RIGHT_CONSTRAINT_LOCKING",3),ehe=new L_("LEFT_RIGHT_CONNECTION_LOCKING",4),Zue=new L_(j1t,5)}function JEt(t,n,r){var i,a,o,s,c,l,u;c=r.a/2,o=r.b/2,l=1,u=1,(i=e.Math.abs(n.a-t.a))>c&&(l=c/i),(a=e.Math.abs(n.b-t.b))>o&&(u=o/a),s=e.Math.min(l,u),t.a+=s*(n.a-t.a),t.b+=s*(n.b-t.b)}function ZEt(t,e,n,r,i){var a,o;for(o=!1,a=QH(O$(n.b,0),33);lHt(t,e,a,r,i)&&(o=!0,ikt(n,a),0!=n.b.c.length);)a=QH(O$(n.b,0),33);return 0==n.b.c.length&&kwt(n.j,n),o&&$vt(e.q),o}function txt(t,e){var n,r,i,a;if(wFt(),e.b<2)return!1;for(r=n=QH(h4(a=cmt(e,0)),8);a.b!=a.d.c;){if(iNt(t,r,i=QH(h4(a),8)))return!0;r=i}return!!iNt(t,r,n)}function ext(t,e,n,r){return 0==n?(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),QR(t.o,e,r)):QH(eet(QH(vot(t,16),26)||t.zh(),n),66).Nj().Rj(t,ugt(t),n-hX(t.zh()),e,r)}function nxt(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=QH(t.sb,49).ih(t,1,QLe,n)),e&&(n=QH(e,49).gh(t,1,QLe,n)),(n=wht(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,4,e,e))}function rxt(t,e){var n,r;if(!e)throw Um(new tw("All edge sections need an end point."));n=Fnt(e,"x"),knt(new Fg(t).a,(vq(n),n)),r=Fnt(e,"y"),Snt(new Pg(t).a,(vq(r),r))}function ixt(t,e){var n,r;if(!e)throw Um(new tw("All edge sections need a start point."));n=Fnt(e,"x"),Bnt(new Og(t).a,(vq(n),n)),r=Fnt(e,"y"),Lnt(new Ng(t).a,(vq(r),r))}function axt(t,e){var n,r,i,a,o;for(r=0,a=glt(t).length;r<a;++r)mEt(e);for(o=!qne&&t.e?qne?null:t.d:null;o;){for(n=0,i=glt(o).length;n<i;++n)mEt(e);o=!qne&&o.e?qne?null:o.d:null}}function oxt(){oxt=L,xse=new Wx("NORMAL",0),Ese=new Wx("LONG_EDGE",1),kse=new Wx("EXTERNAL_PORT",2),_se=new Wx("NORTH_SOUTH_PORT",3),Cse=new Wx("LABEL",4),Tse=new Wx("BREAKING_POINT",5)}function sxt(t){var e,n,r,i;if(e=!1,ID(t,(lqt(),$he)))for(n=QH(bEt(t,$he),83),i=new zd(t.j);i.a<i.c.c.length;)YMt(r=QH(J1(i),11))&&(e||(nSt(gq(t)),e=!0),umt(QH(n.xc(r),306)))}function cxt(t,e,n){var r;SCt(n,"Self-Loop routing",1),r=qft(e),eL(bEt(e,(x6(),TEe))),WC(LV(SV(SV(ftt(new D$(null,new f1(e.b,16)),new Gr),new zr),new Xr),new qr),new t_(t,r)),Hxt(n)}function lxt(t){var e,n,r;return r=LCt(t),null!=t.e&&Sj(r,Z6t,t.e),!!t.k&&Sj(r,"type",dD(t.k)),!zk(t.j)&&(n=new xf,net(r,O6t,n),e=new rm(n),t5(t.j,e)),r}function uxt(t){var e,n,r,i;for(i=OX((hrt(t.gc(),"size"),new _w),123),r=!0,n=uG(t).Kc();n.Ob();)e=QH(n.Pb(),42),r||(i.a+=Qqt),r=!1,aL(OX(aL(i,e.cd()),61),e.dd());return(i.a+="}",i).a}function hxt(t,e){var n,r,i;return(e&=63)<22?(n=t.l<<e,r=t.m<<e|t.l>>22-e,i=t.h<<e|t.m>>22-e):e<44?(n=0,r=t.l<<e-22,i=t.m<<e-22|t.l>>44-e):(n=0,r=0,i=t.l<<e-44),kM(n&EWt,r&EWt,i&xWt)}function fxt(t){if(null==vee&&(vee=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!vee.test(t))throw Um(new kw(DWt+t+'"'));return parseFloat(t)}function dxt(t){var e,n,r,i;for(e=new Mm,gz(n=O9(SNe,JYt,25,t.a.c.length,16,1),n.length),i=new zd(t.a);i.a<i.c.c.length;)n[(r=QH(J1(i),121)).d]||(e.c[e.c.length]=r,$gt(t,r,n));return e}function Axt(t,e){var n,r,i,a;for(a=e.b.j,t.a=O9(BNe,lWt,25,a.c.length,15,1),i=0,r=0;r<a.c.length;r++)u1(r,a.c.length),0==(n=QH(a.c[r],11)).e.c.length&&0==n.g.c.length?i+=1:i+=3,t.a[r]=i}function pxt(){pxt=L,Nue=new __("ALWAYS_UP",0),Oue=new __("ALWAYS_DOWN",1),Fue=new __("DIRECTION_UP",2),Due=new __("DIRECTION_DOWN",3),Rue=new __("SMART_UP",4),Pue=new __("SMART_DOWN",5)}function gxt(t,e){if(t<0||e<0)throw Um(new Py("k and n must be positive"));if(e>t)throw Um(new Py("k must be smaller than n"));return 0==e||e==t?1:0==t?0:CTt(t)/(CTt(e)*CTt(t-e))}function mxt(t,e){var n,r,i,a;for(n=new BI(t);null!=n.g||n.c?null==n.g||0!=n.i&&QH(n.g[n.i-1],47).Ob():ZJ(n);)if(rO(a=QH(aOt(n),56),160))for(r=QH(a,160),i=0;i<e.length;i++)e[i].og(r)}function bxt(t){var e;return 0!=(64&t.Db)?Wft(t):((e=new lN(Wft(t))).a+=" (height: ",gk(e,t.f),e.a+=", width: ",gk(e,t.g),e.a+=", x: ",gk(e,t.i),e.a+=", y: ",gk(e,t.j),e.a+=")",e.a)}function vxt(t){var e,n,r,i,a,o;for(e=new g3,i=0,a=(r=t).length;i<a;++i)if(null!=Ygt(e,o=bX((n=r[i]).cd()),bX(n.dd())))throw Um(new Py("duplicate key: "+o));this.b=(CW(),new Gd(e))}function yxt(t){var e,n,r,i,a;if(null==t)return Kqt;for(a=new Iot(Qqt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],h6(a,String.fromCharCode(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function wxt(){wxt=L,Ftt(),_ae=new LL(sZt,Bae=Dae),nft(1),xae=new LL(cZt,nft(300)),nft(0),Iae=new LL(lZt,nft(0)),new Lm,Mae=new LL(uZt,hZt),new Lm,Sae=new LL(fZt,5),Oae=Dae,Lae=Nae}function Txt(t,e){var n,r,i,a;for(r=(1==e?zoe:Goe).a.ec().Kc();r.Ob();)for(n=QH(r.Pb(),103),a=QH(c6(t.f.c,n),21).Kc();a.Ob();)i=QH(a.Pb(),46),zH(t.b.b,QH(i.b,81)),zH(t.b.a,QH(i.b,81).d)}function kxt(t,e){var n;if(null!=e&&!t.c.Yj().wj(e))throw n=rO(e,56)?QH(e,56).Tg().zb:JT(tlt(e)),Um(new Fy(r6t+t.c.ne()+"'s type '"+t.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}function Cxt(t,e,n){var r,i;for(i=new k2(t.b,0);i.b<i.d.gc();)ED(i.b<i.d.gc()),jS(bEt(r=QH(i.d.Xb(i.c=i.b++),70),(lqt(),gfe)))===jS(e)&&(S_t(r.n,gq(t.c.i),n),lq(i),zH(e.b,r))}function Ext(t,e){if(e.a)switch(QH(bEt(e.b,(lqt(),bfe)),98).g){case 0:case 1:hkt(e);case 2:WC(new D$(null,new f1(e.d,16)),new Or),sIt(t.a,e)}else WC(new D$(null,new f1(e.d,16)),new Or)}function xxt(t){var n,r;return r=e.Math.sqrt((null==t.k&&(t.k=Xit(t,new ka)),jy(t.k)/(t.b*(null==t.g&&(t.g=zit(t,new Ta)),jy(t.g))))),n=dK(uot(e.Math.round(r))),n=e.Math.min(n,t.f)}function _xt(){pat(),IP.call(this),this.j=(yzt(),ESe),this.a=new jT,new lv,this.f=(hrt(2,LVt),new W6(2)),this.e=(hrt(4,LVt),new W6(4)),this.g=(hrt(4,LVt),new W6(4)),this.b=new c_(this.e,this.g)}function Bxt(t,e){var n;return!Hy(TF(bEt(e,(lqt(),xfe))))&&(n=e.c.i,(t!=(kdt(),Pfe)||n.k!=(oxt(),Cse))&&QH(bEt(n,(HXt(),vge)),163)!=Rfe)}function Sxt(t,e){var n;return!Hy(TF(bEt(e,(lqt(),xfe))))&&(n=e.d.i,(t!=(kdt(),Qfe)||n.k!=(oxt(),Cse))&&QH(bEt(n,(HXt(),vge)),163)!=Ufe)}function Lxt(t,e){var n,r,i,a,o,s,c;for(o=t.d,c=t.o,s=new KV(-o.b,-o.d,o.b+c.a+o.c,o.d+c.b+o.a),i=0,a=(r=e).length;i<a;++i)(n=r[i])&&__t(s,n.i);o.b=-s.c,o.d=-s.d,o.c=s.b-o.b-c.a,o.a=s.a-o.d-c.b}function Ixt(){Ixt=L,eCe=new kB("CENTER_DISTANCE",0),nCe=new kB("CIRCLE_UNDERLAP",1),aCe=new kB("RECTANGLE_UNDERLAP",2),rCe=new kB("INVERTED_OVERLAP",3),iCe=new kB("MINIMUM_ROOT_DISTANCE",4)}function Mxt(t){var e,n,r,i;if(PFt(),null==t)return null;for(r=t.length,e=O9(_Ne,XVt,25,2*r,15,1),n=0;n<r;n++)(i=t[n])<0&&(i+=256),e[2*n]=qOe[i>>4],e[2*n+1]=qOe[15&i];return Upt(e,0,e.length)}function Oxt(t){var e;switch(Jq(),t.c.length){case 0:return Ute;case 1:return _j((e=QH(YBt(new zd(t)),42)).cd(),e.dd());default:return new cy(QH(Vgt(t,O9(Hte,yVt,42,t.c.length,0,1)),165))}}function Nxt(t){var e,n,r,i,a;for(e=new Im,n=new Im,d4(e,t),d4(n,t);n.b!=n.c;)for(a=new zd(QH(dz(n),37).a);a.a<a.c.c.length;)(i=QH(J1(a),10)).e&&(d4(e,r=i.e),d4(n,r));return e}function Dxt(t,e){switch(e.g){case 1:return FH(t.j,(pat(),Ose));case 2:return FH(t.j,(pat(),Ise));case 3:return FH(t.j,(pat(),Dse));case 4:return FH(t.j,(pat(),Fse));default:return CW(),CW(),cne}}function Fxt(t,e){var n,r,i;n=sj(e,t.e),r=QH(DX(t.g.f,n),19).a,i=t.a.c.length-1,0!=t.a.c.length&&QH(O$(t.a,i),287).c==r?(++QH(O$(t.a,i),287).a,++QH(O$(t.a,i),287).b):zH(t.a,new jD(r))}function Pxt(t,e,n){var r,i;return 0!=(r=EPt(t,e,n))?r:ID(e,(lqt(),ffe))&&ID(n,ffe)?((i=wM(QH(bEt(e,ffe),19).a,QH(bEt(n,ffe),19).a))<0?oRt(t,e,n):i>0&&oRt(t,n,e),i):BLt(t,e,n)}function Rxt(t,e,n){var r,i,a,o;if(0!=e.b){for(r=new VC,o=cmt(e,0);o.b!=o.d.c;)Qit(r,Nst(a=QH(h4(o),86))),(i=a.e).a=QH(bEt(a,(j$t(),Awe)),19).a,i.b=QH(bEt(a,pwe),19).a;Rxt(t,r,bat(n,r.b/t.a|0))}}function Qxt(t,e){var n,r,i,a,o;if(t.e<=e)return t.g;if($1(t,t.g,e))return t.g;for(a=t.r,r=t.g,o=t.r,i=(a-r)/2+r;r+1<a;)(n=ijt(t,i,!1)).b<=i&&n.a<=e?(o=i,a=i):r=i,i=(a-r)/2+r;return o}function Uxt(t,e,n){SCt(n,"Recursive Graph Layout",lFt(t,e,!0)),mxt(e,xst(jw(JCe,1),Hqt,527,0,[new Sh])),E9(e,(cqt(),m_e))||mxt(e,xst(jw(JCe,1),Hqt,527,0,[new ms])),hXt(t,e,null,n),Hxt(n)}function Hxt(t){var e;if(null==t.p)throw Um(new Ry("The task has not begun yet."));t.b||(t.k&&(LC(),e=idt(uot(Date.now()),qVt),t.q=1e-9*y2(ndt(e,t.o))),t.c<t.r&&jrt(t,t.r-t.c),t.b=!0)}function jxt(t){var e,n,r;for(Nj(r=new vv,new OB(t.j,t.k)),n=new SO((!t.a&&(t.a=new LO(MLe,t,5)),t.a));n.e!=n.i.gc();)Nj(r,new OB((e=QH(ymt(n),469)).a,e.b));return Nj(r,new OB(t.b,t.c)),r}function $xt(t,e,n,r,i){var a,o,s,c;if(i)for(c=((a=new cG(i.a.length)).b-a.a)*a.c<0?(tx(),TNe):new GO(a);c.Ob();)s=O2(i,QH(c.Pb(),19).a),DQt((o=new cW(t,e,n,r)).a,o.b,o.c,o.d,s)}function Kxt(t,e){var n;if(jS(t)===jS(e))return!0;if(rO(e,21)){n=QH(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(t){if(rO(t=hst(t),173)||rO(t,205))return!1;throw Um(t)}}return!1}function Gxt(t,n){var r;zH(t.d,n),r=n.rf(),t.c?(t.e.a=e.Math.max(t.e.a,r.a),t.e.b+=r.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=r.a,t.e.b=e.Math.max(t.e.b,r.b),t.d.c.length>1&&(t.e.a+=t.a))}function zxt(t){var e,n,r,i;switch(e=(i=t.i).b,r=i.j,n=i.g,i.a.g){case 0:n.a=(t.g.b.o.a-r.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-r.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function Xxt(t,e,n,r,i){if(r<e||i<n)throw Um(new Py("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>r&&(t.a=r),t.b<n?t.b=n:t.b>i&&(t.b=i),t}function qxt(t){if(rO(t,149))return CNt(QH(t,149));if(rO(t,229))return Jdt(QH(t,229));if(rO(t,23))return lxt(QH(t,23));throw Um(new Py(K6t+MEt(new Wy(xst(jw(Lte,1),Hqt,1,5,[t])))))}function Vxt(t,e,n,r,i){var a,o,s;for(a=!0,o=0;o<r;o++)a&=0==n[o];if(0==i)ajt(n,r,t,0,e),o=e;else{for(s=32-i,a&=n[o]<<s==0,o=0;o<e-1;o++)t[o]=n[o+r]>>>i|n[o+r+1]<<s;t[o]=n[o+r]>>>i,++o}return a}function Wxt(t,e,n,r){var i,a;if(e.k==(oxt(),Ese))for(a=new oG(YO(udt(e).a.Kc(),new u));AIt(a);)if((i=QH(K5(a),17)).c.i.k==Ese&&t.c.a[i.c.i.c.p]==r&&t.c.a[e.c.p]==n)return!0;return!1}function Yxt(t,e){var n,r,i,a;return e&=63,n=t.h&xWt,e<22?(a=n>>>e,i=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(a=0,i=n>>>e-22,r=t.m>>e-22|t.h<<44-e):(a=0,i=0,r=n>>>e-44),kM(r&EWt,i&EWt,a&xWt)}function Jxt(t,e,n,r){var i;this.b=r,this.e=t==(srt(),Sve),i=e[n],this.d=v$(SNe,[cVt,JYt],[177,25],16,[i.length,i.length],2),this.a=v$(BNe,[cVt,lWt],[48,25],15,[i.length,i.length],2),this.c=new Kkt(e,n)}function Zxt(t){var e,n,r;for(t.k=new o1((yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length,t.j.c.length),r=new zd(t.j);r.a<r.c.c.length;)e=(n=QH(J1(r),113)).d.j,YSt(t.k,e,n);t.e=nNt(AG(t.k))}function t_t(t,e){var n,r,i;Tz(t.d,e),n=new To,Xq(t.c,e,n),n.f=xut(e.c),n.a=xut(e.d),n.d=(pDt(),(i=e.c.i.k)==(oxt(),xse)||i==Tse),n.e=(r=e.d.i.k)==xse||r==Tse,n.b=e.c.j==(yzt(),xSe),n.c=e.d.j==oSe}function e_t(t){var e,n,r,i,a;for(a=Dqt,i=Dqt,r=new zd(ydt(t));r.a<r.c.c.length;)e=(n=QH(J1(r),213)).e.e-n.d.e,n.e==t&&e<i?i=e:e<a&&(a=e);return i==Dqt&&(i=-1),a==Dqt&&(a=-1),new nS(nft(i),nft(a))}function n_t(t,n){var r,i,a;return a=JJt,jmt(),i=Yie,a=e.Math.abs(t.b),(r=e.Math.abs(n.f-t.b))<a&&(a=r,i=Jie),(r=e.Math.abs(t.a))<a&&(a=r,i=Zie),(r=e.Math.abs(n.g-t.a))<a&&(a=r,i=Wie),i}function r_t(t,e){var n,r,i;for(n=e.a.o.a,i=new Cd(new s1(gq(e.a).b,e.c,e.f+1));i.b<i.d.gc();)if(ED(i.b<i.d.gc()),(r=QH(i.d.Xb(i.c=i.b++),29)).c.a>=n)return l_t(t,e,r.p),!0;return!1}function i_t(t){var e;return 0!=(64&t.Db)?bxt(t):(e=new uN(J5t),!t.a||oL(oL((e.a+=' "',e),t.a),'"'),oL(vk(oL(vk(oL(vk(oL(vk((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function a_t(t,e,n){var r,i,a,o,s;for(s=aDt(t.e.Tg(),e),i=QH(t.g,119),r=0,o=0;o<t.i;++o)if(a=i[o],s.rl(a.ak())){if(r==n)return uFt(t,o),YE(),QH(e,66).Oj()?a:a.dd();++r}throw Um(new Sy(e8t+n+s9t+r))}function o_t(t){var e,n,r;if(2==(e=t.c)||7==e||1==e)return dqt(),dqt(),oNe;for(r=SXt(t),n=null;2!=(e=t.c)&&7!=e&&1!=e;)n||(dqt(),dqt(),t$t(n=new nM(1),r),r=n),t$t(n,SXt(t));return r}function s_t(t,e,n){return t<0||t>n?ABt(t,n,"start index"):e<0||e>n?ABt(e,n,"end index"):IPt("end index (%s) must not be less than start index (%s)",xst(jw(Lte,1),Hqt,1,5,[nft(e),nft(t)]))}function c_t(t,e){var n,r,i,a;for(r=0,i=t.length;r<i;r++){a=t[r];try{a[1]?a[0].jm()&&(e=TK(e,a)):a[0].jm()}catch(t){if(!rO(t=hst(t),78))throw Um(t);n=t,Nw(),bY(rO(n,477)?QH(n,477).ae():n)}}return e}function l_t(t,n,r){var i,a;for(r!=n.c+n.b.gc()&&djt(n.a,not(n,r-n.c)),a=n.a.c.p,t.a[a]=e.Math.max(t.a[a],n.a.o.a),i=QH(bEt(n.a,(lqt(),Efe)),15).Kc();i.Ob();)lct(QH(i.Pb(),70),Zce,(cN(),!0))}function u_t(t,n){var r,i,a;a=jNt(n),lct(n,(lqt(),ufe),a),a&&(i=Dqt,SY(t.f,a)&&(i=QH(HS(SY(t.f,a)),19).a),Hy(TF(bEt(r=QH(O$(n.g,0),17),xfe)))||Xq(t,a,nft(e.Math.min(QH(bEt(r,ffe),19).a,i))))}function h_t(t,e,n){var r,i,a,o;for(e.p=-1,o=NAt(e,(art(),Hbe)).Kc();o.Ob();)for(i=new zd(QH(o.Pb(),11).g);i.a<i.c.c.length;)e!=(a=(r=QH(J1(i),17)).d.i)&&(a.p<0?n.Fc(r):a.p>0&&h_t(t,a,n));e.p=0}function f_t(t){var e;this.c=new VC,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=new VR(e=QH(XT(yEe),9),QH(CP(e,e.length),9),0),this.g=t.f}function d_t(t){var e,n,r,i;for(e=OX(oL(new uN("Predicates."),"and"),40),n=!0,i=new Cd(t);i.b<i.d.gc();)ED(i.b<i.d.gc()),r=i.d.Xb(i.c=i.b++),n||(e.a+=","),e.a+=""+r,n=!1;return(e.a+=")",e).a}function A_t(t,e,n){var r,i,a;if(!(n<=e+2))for(i=(n-e)/2|0,r=0;r<i;++r)u1(e+r,t.c.length),a=QH(t.c[e+r],11),r5(t,e+r,(u1(n-r-1,t.c.length),QH(t.c[n-r-1],11))),u1(n-r-1,t.c.length),t.c[n-r-1]=a}function p_t(t,e,n){var r,i,a,o,s,c,l;s=(a=t.d.p).e,c=a.r,t.g=new qR(c),r=(o=t.d.o.c.p)>0?s[o-1]:O9(Bse,a1t,10,0,0,1),i=s[o],l=o<s.length-1?s[o+1]:O9(Bse,a1t,10,0,0,1),e==n-1?aZ(t.g,i,l):aZ(t.g,r,i)}function g_t(t){var e;this.j=new Mm,this.f=new Db,this.b=new VR(e=QH(XT(RSe),9),QH(CP(e,e.length),9),0),this.d=O9(BNe,lWt,25,(yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length,15,1),this.g=t}function m_t(t,e){var n,r,i;if(0!=e.c.length){for(n=kEt(t,e),i=!1;!n;)TMt(t,e,!0),i=!0,n=kEt(t,e);i&&TMt(t,e,!1),r=Dst(e),t.b&&t.b.lg(r),t.a=Iut(t,(u1(0,e.c.length),QH(e.c[0],33))),m_t(t,r)}}function b_t(t,e){var n,r,i;if(r=eet(t.Tg(),e),(n=e-t.Ah())<0){if(!r)throw Um(new Py(s6t+e+c6t));if(!r.Ij())throw Um(new Py(r6t+r.ne()+i6t));(i=t.Yg(r))>=0?t.Bh(i):iSt(t,r)}else jht(t,n,r)}function v_t(t){var e,n;if(n=null,e=!1,rO(t,204)&&(e=!0,n=QH(t,204).a),e||rO(t,258)&&(e=!0,n=""+QH(t,258).a),e||rO(t,483)&&(e=!0,n=""+QH(t,483).a),!e)throw Um(new Iy(H6t));return n}function y_t(t,e){var n,r;if(t.f){for(;e.Ob();)if(rO(r=(n=QH(e.Pb(),72)).ak(),99)&&0!=(QH(r,18).Bb&l6t)&&(!t.e||r.Gj()!=ILe||0!=r.aj())&&null!=n.dd())return e.Ub(),!0;return!1}return e.Ob()}function w_t(t,e){var n,r;if(t.f){for(;e.Sb();)if(rO(r=(n=QH(e.Ub(),72)).ak(),99)&&0!=(QH(r,18).Bb&l6t)&&(!t.e||r.Gj()!=ILe||0!=r.aj())&&null!=n.dd())return e.Pb(),!0;return!1}return e.Sb()}function T_t(t,e,n){var r,i,a,o,s,c;for(c=aDt(t.e.Tg(),e),r=0,s=t.i,i=QH(t.g,119),o=0;o<t.i;++o)if(a=i[o],c.rl(a.ak())){if(n==r)return o;++r,s=o+1}if(n==r)return s;throw Um(new Sy(e8t+n+s9t+r))}function k_t(t,n){var r,i,a;if(0==t.f.c.length)return null;for(a=new hI,r=new zd(t.f);r.a<r.c.c.length;)i=QH(J1(r),70).o,a.b=e.Math.max(a.b,i.a),a.a+=i.b;return a.a+=(t.f.c.length-1)*n,a}function C_t(t,e,n){var r,i,a;for(i=new oG(YO(ldt(n).a.Kc(),new u));AIt(i);)h5(r=QH(K5(i),17))||!h5(r)&&r.c.i.c==r.d.i.c||(a=KOt(t,r,n,new av)).c.length>1&&(e.c[e.c.length]=a)}function E_t(t){var e,n,r;for(Qit(n=new VC,t.o),r=new ov;0!=n.b;)Xzt(t,e=QH(0==n.b?null:(ED(0!=n.b),Let(n,n.a.a)),508),!0)&&zH(r.a,e);for(;0!=r.a.c.length;)Xzt(t,e=QH(tut(r),508),!1)}function x_t(){x_t=L,vEe=new LB(lJt,0),fEe=new LB("BOOLEAN",1),gEe=new LB("INT",2),bEe=new LB("STRING",3),dEe=new LB("DOUBLE",4),AEe=new LB("ENUM",5),pEe=new LB("ENUMSET",6),mEe=new LB("OBJECT",7)}function __t(t,n){var r,i,a,o,s;i=e.Math.min(t.c,n.c),o=e.Math.min(t.d,n.d),(a=e.Math.max(t.c+t.b,n.c+n.b))<i&&(r=i,i=a,a=r),(s=e.Math.max(t.d+t.a,n.d+n.a))<o&&(r=o,o=s,s=r),Oj(t,i,o,a-i,s-o)}function B_t(){B_t=L,VMe=xst(jw(Vee,1),cVt,2,6,[d7t,A7t,p7t,g7t,m7t,b7t,Z6t]),qMe=xst(jw(Vee,1),cVt,2,6,[d7t,"empty",A7t,P8t,"elementOnly"]),YMe=xst(jw(Vee,1),cVt,2,6,[d7t,"preserve","replace",v7t]),WMe=new Cj}function S_t(t,e,n){var r,i,a;if(e!=n){r=e;do{KP(t,r.c),(i=r.e)&&(PD(t,(a=r.d).b,a.d),KP(t,i.n),r=gq(i))}while(i);r=n;do{GP(t,r.c),(i=r.e)&&(QD(t,(a=r.d).b,a.d),GP(t,i.n),r=gq(i))}while(i)}}function L_t(t,e,n,r){var i,a,o,s,c;if(r.f.c+r.g.c==0)for(s=0,c=(o=t.a[t.c]).length;s<c;++s)Xq(r,a=o[s],new yat(t,a,n));return(i=QH(HS(SY(r.f,e)),663)).b=0,i.c=i.f,0==i.c||Td(QH(O$(i.a,i.b),287)),i}function I_t(){I_t=L,Yle=new y_("MEDIAN_LAYER",0),Zle=new y_("TAIL_LAYER",1),Wle=new y_("HEAD_LAYER",2),Jle=new y_("SPACE_EFFICIENT_LAYER",3),tue=new y_("WIDEST_LAYER",4),Vle=new y_("CENTER_LAYER",5)}function M_t(t){switch(t.g){case 0:case 1:case 2:return yzt(),sSe;case 3:case 4:case 5:return yzt(),CSe;case 6:case 7:case 8:return yzt(),xSe;case 9:case 10:case 11:return yzt(),oSe;default:return yzt(),ESe}}function O_t(t,e){var n;return 0!=t.c.length&&(n=tpt((u1(0,t.c.length),QH(t.c[0],17)).c.i),QZ(),n==(fbt(),lbe)||n==cbe||o5(LV(new D$(null,new f1(t,16)),new Ua),new eg(e)))}function N_t(t,e,n){var r,i,a;if(!t.b[e.g]){for(t.b[e.g]=!0,!(r=n)&&(r=new E6),Nj(r.b,e),a=t.a[e.g].Kc();a.Ob();)(i=QH(a.Pb(),188)).b!=e&&N_t(t,i.b,r),i.c!=e&&N_t(t,i.c,r),Nj(r.a,i);return r}return null}function D_t(){D_t=L,qye=new uB("ROOT_PROC",0),Kye=new uB("FAN_PROC",1),zye=new uB("NEIGHBORS_PROC",2),Gye=new uB("LEVEL_HEIGHT",3),Xye=new uB("NODE_POSITION_PROC",4),$ye=new uB("DETREEIFYING_PROC",5)}function F_t(t,e){if(rO(e,239))return $I(t,QH(e,33));if(rO(e,186))return KI(t,QH(e,118));if(rO(e,439))return jI(t,QH(e,202));throw Um(new Py(K6t+MEt(new Wy(xst(jw(Lte,1),Hqt,1,5,[e])))))}function P_t(t,e,n){var r,i;if(this.f=t,f6(n,i=(r=QH(DX(t.b,e),283))?r.a:0),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++<i;)TZ(this);else for(this.c=r?r.b:null;n-- >0;)wZ(this);this.b=e,this.a=null}function R_t(t,e){var n,r;e.a?KNt(t,e):(!!(n=QH(vR(t.b,e.b),57))&&n==t.a[e.b.f]&&!!n.a&&n.a!=e.b.a&&n.c.Fc(e.b),!!(r=QH(bR(t.b,e.b),57))&&t.a[r.f]==e.b&&!!r.a&&r.a!=e.b.a&&e.b.c.Fc(r),kN(t.b,e.b))}function Q_t(t,e){var n,r;if(n=QH(oV(t.b,e),124),QH(QH(c6(t.r,e),21),84).dc())return n.n.b=0,void(n.n.c=0);n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((bpt(),PSe))&&vPt(t,e),r=zmt(t,e),xFt(t,e)==(imt(),QBe)&&(r+=2*t.w),n.a.a=r}function U_t(t,e){var n,r;if(n=QH(oV(t.b,e),124),QH(QH(c6(t.r,e),21),84).dc())return n.n.d=0,void(n.n.a=0);n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((bpt(),PSe))&&yPt(t,e),r=Xmt(t,e),xFt(t,e)==(imt(),QBe)&&(r+=2*t.w),n.a.b=r}function H_t(t,e){var n,r,i,a;for(a=new Mm,r=new zd(e);r.a<r.c.c.length;)zH(a,new Dx(n=QH(J1(r),65),!0)),zH(a,new Dx(n,!1));my((i=new cY(t)).a.a),t2(a,t.b,new Wy(xst(jw(ore,1),Hqt,679,0,[i])))}function j_t(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A;return s=t.a,h=t.b,c=e.a,f=e.b,l=n.a,d=n.b,new OB(((a=s*f-h*c)*(l-(u=r.a))-(o=l*(A=r.b)-d*u)*(s-c))/(i=(s-c)*(d-A)-(h-f)*(l-u)),(a*(d-A)-o*(h-f))/i)}function $_t(t,e){var n,r,i;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,r=new oG(YO(hdt(e).a.Kc(),new u));AIt(r);)h5(n=QH(K5(r),17))||(i=n.d.i,t.a[i.p]?zH(t.b,n):$_t(t,i));t.a[e.p]=!1}}function K_t(t,e,n){var r;switch(r=0,QH(bEt(e,(HXt(),vge)),163).g){case 2:r=2*-n+t.a,++t.a;break;case 1:r=-n;break;case 3:r=n;break;case 4:r=2*n+t.b,++t.b}return ID(e,(lqt(),ffe))&&(r+=QH(bEt(e,ffe),19).a),r}function G_t(t,e,n){var r,i,a;for(n.zc(e,t),zH(t.n,e),a=t.p.eg(e),e.j==t.p.fg()?Sdt(t.e,a):Sdt(t.j,a),nX(t),i=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[new UA(e),new jA(e)])));AIt(i);)r=QH(K5(i),11),n._b(r)||G_t(t,r,n)}function z_t(t){var e,n;return QH(JIt(t,(cqt(),Fxe)),21).Hc((bpt(),NSe))?(n=QH(JIt(t,Hxe),21),e=new fI(QH(JIt(t,Qxe),8)),n.Hc((ZRt(),jSe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new jT}function X_t(t){var e,n,r;if(!t.b){for(r=new Bc,n=new iD(FHt(t));n.e!=n.i.gc();)0!=((e=QH(wmt(n),18)).Bb&l6t)&&l8(r,e);iut(r),t.b=new ML((QH(Xet(qW((qX(),JIe).o),8),18),r.i),r.g),E5(t).b&=-9}return t.b}function q_t(t,e){var n,r,i,a,o,s;o=QH(Tvt(AG(e.k),O9(RSe,WZt,61,2,0,1)),122),Jvt(t,s=e.g,n=o4(e,o[0]),r=a4(e,o[1]))<=Jvt(t,s,i=o4(e,o[1]),a=a4(e,o[0]))?(e.a=n,e.c=r):(e.a=i,e.c=a)}function V_t(t,e,n){var r,i,a;for(SCt(n,"Processor set neighbors",1),t.a=0==e.b.b?1:e.b.b,i=null,r=cmt(e.b,0);!i&&r.b!=r.d.c;)Hy(TF(bEt(a=QH(h4(r),86),(j$t(),dwe))))&&(i=a);i&&MFt(t,new hg(i),n),Hxt(n)}function W_t(t){var e,n,r,i;return Fjt(),e=-1==(r=jL(t,WCt(35)))?t:t.substr(0,r),n=-1==r?null:t.substr(r+1),(i=X4(yIe,e))?null!=n&&(i=_lt(i,(vq(n),n))):(i=XXt(e),i5(yIe,e,i),null!=n&&(i=_lt(i,n))),i}function Y_t(t){var e,n,r,i,a,o,s;if(CW(),rO(t,54))for(a=0,i=t.gc()-1;a<i;++a,--i)e=t.Xb(a),t._c(a,t.Xb(i)),t._c(i,e);else for(n=t.Yc(),o=t.Zc(t.gc());n.Tb()<o.Vb();)r=n.Pb(),s=o.Ub(),n.Wb(s),o.Wb(r)}function J_t(t,e){var n,r,i;SCt(e,"End label pre-processing",1),n=jy(kF(bEt(t,(HXt(),yme)))),r=jy(kF(bEt(t,Cme))),i=AI(QH(bEt(t,Kpe),103)),WC(ftt(new D$(null,new f1(t.b,16)),new un),new NQ(n,r,i)),Hxt(e)}function Z_t(t,e){var n,r,i,a,o,s;for(s=0,d4(a=new Im,e);a.b!=a.c;)for(s+=cyt((o=QH(dz(a),214)).d,o.e),i=new zd(o.b);i.a<i.c.c.length;)r=QH(J1(i),37),(n=QH(O$(t.b,r.p),214)).s||(s+=Z_t(t,n));return s}function tBt(t,n,r){var i,a;Rot(this),n==(dJ(),Iye)?Tz(this.r,t.c):Tz(this.w,t.c),Tz(r==Iye?this.r:this.w,t.d),t_t(this,t),zEt(this,i=xut(t.c),a=xut(t.d),a),this.o=(pDt(),e.Math.abs(i-a)<.2)}function eBt(t,e,n){var r,i,a,o,s;if(null!=(o=QH(vot(t.a,8),1936)))for(i=0,a=o.length;i<a;++i)null.jm();r=n,0==(1&t.a.Db)&&(s=new aq(t,n,e),r.ui(s)),rO(r,672)?QH(r,672).wi(t.a):r.ti()==t.a&&r.vi(null)}function nBt(){var t;return WOe?QH(IMt((zE(),jIe),E7t),1945):(czt(),t=QH(rO(CJ((zE(),jIe),E7t),586)?CJ(jIe,E7t):new $q,586),WOe=!0,pXt(t),gqt(t),Xq((XE(),WIe),t,new Rl),kyt(t),mZ(jIe,E7t,t),t)}function rBt(t,e,n,r){var i;return(i=KCt(t,n,xst(jw(Vee,1),cVt,2,6,[fWt,dWt,AWt,pWt,gWt,mWt,bWt]),e))<0&&(i=KCt(t,n,xst(jw(Vee,1),cVt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(i<0||(r.d=i,0))}function iBt(t,e,n,r){var i;return(i=KCt(t,n,xst(jw(Vee,1),cVt,2,6,[fWt,dWt,AWt,pWt,gWt,mWt,bWt]),e))<0&&(i=KCt(t,n,xst(jw(Vee,1),cVt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(i<0||(r.d=i,0))}function aBt(t){var e,n,r;for(RMt(t),r=new Mm,n=new zd(t.a.a.b);n.a<n.c.c.length;)zH(r,new l_(e=QH(J1(n),81),!0)),zH(r,new l_(e,!1));Zbt(t.c),e2(r,t.b,new Wy(xst(jw(Woe,1),Hqt,369,0,[t.c]))),mIt(t)}function oBt(t){var e,n,r,i;for(n=new Om,i=new zd(t.d);i.a<i.c.c.length;)r=QH(J1(i),181),e=QH(r.We((lqt(),Khe)),17),SY(n.f,e)||Xq(n,e,new TW(e)),zH(QH(HS(SY(n.f,e)),456).b,r);return new ZR(new Bd(n))}function sBt(t,e){var n,r,i,a,o;for(r=new d1(t.j.c.length),n=null,a=new zd(t.j);a.a<a.c.c.length;)(i=QH(J1(a),11)).j!=n&&(r.b==r.c||QMt(r,n,e),o3(r),n=i.j),(o=bIt(i))&&f4(r,o);r.b==r.c||QMt(r,n,e)}function cBt(t,e){var n,r;for(r=new k2(t.b,0);r.b<r.d.gc();)ED(r.b<r.d.gc()),n=QH(r.d.Xb(r.c=r.b++),70),QH(bEt(n,(HXt(),Vpe)),272)==(Fet(),K_e)&&(lq(r),zH(e.b,n),ID(n,(lqt(),Khe))||lct(n,Khe,t))}function lBt(t){var n,r,i;for(n=R4(new oG(YO(hdt(t).a.Kc(),new u))),r=new oG(YO(udt(t).a.Kc(),new u));AIt(r);)i=R4(new oG(YO(hdt(QH(K5(r),17).c.i).a.Kc(),new u))),n=e.Math.max(n,i);return nft(n)}function uBt(t,e,n){var r,i,a,o;for(SCt(n,"Processor arrange node",1),i=null,a=new VC,r=cmt(e.b,0);!i&&r.b!=r.d.c;)Hy(TF(bEt(o=QH(h4(r),86),(j$t(),dwe))))&&(i=o);n5(a,i,a.c.b,a.c),WGt(t,a,bat(n,1)),Hxt(n)}function hBt(t,e,n){var r,i,a;r=QH(JIt(t,(cqt(),cxe)),21),i=0,a=0,e.a>n.a&&(r.Hc((dkt(),zEe))?i=(e.a-n.a)/2:r.Hc(qEe)&&(i=e.a-n.a)),e.b>n.b&&(r.Hc((dkt(),WEe))?a=(e.b-n.b)/2:r.Hc(VEe)&&(a=e.b-n.b)),hEt(t,i,a)}function fBt(t,e,n,r,i,a,o,s,c,l,u,h,f){rO(t.Cb,88)&&LBt(E5(QH(t.Cb,88)),4),Oit(t,n),t.f=o,Ift(t,s),Oft(t,c),Lft(t,l),Mft(t,u),Zht(t,h),jft(t,f),Wht(t,!0),Mnt(t,i),t.ok(a),But(t,e),null!=r&&(t.i=null,ait(t,r))}function dBt(t){var e,n;if(t.f){for(;t.n>0;){if(rO(n=(e=QH(t.k.Xb(t.n-1),72)).ak(),99)&&0!=(QH(n,18).Bb&l6t)&&(!t.e||n.Gj()!=ILe||0!=n.aj())&&null!=e.dd())return!0;--t.n}return!1}return t.n>0}function ABt(t,e,n){if(t<0)return IPt(Uqt,xst(jw(Lte,1),Hqt,1,5,[n,nft(t)]));if(e<0)throw Um(new Py(jqt+e));return IPt("%s (%s) must not be greater than size (%s)",xst(jw(Lte,1),Hqt,1,5,[n,nft(t),nft(e)]))}function pBt(t,e,n,r,i,a){var o,s,c;if(r-n<7)Idt(e,n,r,a);else if(pBt(e,t,s=n+i,c=s+((o=r+i)-s>>1),-i,a),pBt(e,t,c,o,-i,a),a.ue(t[c-1],t[c])<=0)for(;n<r;)LX(e,n++,t[s++]);else $ht(t,s,c,o,e,n,r,a)}function gBt(t,e){var n,r,i;for(i=new Mm,r=new zd(t.c.a.b);r.a<r.c.c.length;)n=QH(J1(r),57),e.Lb(n)&&(zH(i,new Bx(n,!0)),zH(i,new Bx(n,!1)));Jbt(t.e),t2(i,t.d,new Wy(xst(jw(ore,1),Hqt,679,0,[t.e])))}function mBt(t,e){var n,r,i,a,o,s,c;for(c=e.d,i=e.b.j,s=new zd(c);s.a<s.c.c.length;)for(o=QH(J1(s),101),a=O9(SNe,JYt,25,i.c.length,16,1),Xq(t.b,o,a),n=o.a.d.p-1,r=o.c.d.p;n!=r;)a[n=(n+1)%i.c.length]=!0}function bBt(t,e){for(t.r=new Qot(t.p),Wf(t.r,t),Qit(t.r.j,t.j),bW(t.j),Nj(t.j,e),Nj(t.r.e,e),nX(t),nX(t.r);0!=t.f.c.length;)jM(QH(O$(t.f,0),129));for(;0!=t.k.c.length;)jM(QH(O$(t.k,0),129));return t.r}function vBt(t,e,n){var r,i,a;if(i=eet(t.Tg(),e),(r=e-t.Ah())<0){if(!i)throw Um(new Py(s6t+e+c6t));if(!i.Ij())throw Um(new Py(r6t+i.ne()+i6t));(a=t.Yg(i))>=0?t.sh(a,n):kOt(t,i,n)}else Mdt(t,r,i,n)}function yBt(t){var e,n,r,i;if(n=QH(t,49).qh())try{if(r=null,(e=IMt((zE(),jIe),CQt(Rdt(n))))&&(i=e.rh())&&(r=i.Wk(Gy(n.e))),r&&r!=t)return yBt(r)}catch(t){if(!rO(t=hst(t),60))throw Um(t)}return t}function wBt(t,e,n){var r,i,a,o;if(o=null==e?0:t.b.se(e),0==(i=null==(r=t.a.get(o))?new Array:r).length)t.a.set(o,i);else if(a=lut(t,e,i))return a.ed(n);return LX(i,i.length,new Ex(e,n)),++t.c,oY(t.b),null}function TBt(t,e){var n;return c2(t.a),xz(t.a,(xit(),qwe),qwe),xz(t.a,Vwe,Vwe),d$(n=new Q2,Vwe,(_dt(),tTe)),jS(JIt(e,(Gyt(),CTe)))!==jS((Hlt(),sTe))&&d$(n,Vwe,Jwe),d$(n,Vwe,Zwe),iI(t.a,n),I$t(t.a,e)}function kBt(t){if(!t)return uw(),lee;var n=t.valueOf?t.valueOf():t;if(n!==t){var r=uee[typeof n];return r?r(n):yut(typeof n)}return t instanceof Array||t instanceof e.Array?new Tf(t):new Ef(t)}function CBt(t,n,r){var i,a,o;switch(o=t.o,(a=(i=QH(oV(t.p,r),244)).i).b=ESt(i),a.a=CSt(i),a.b=e.Math.max(a.b,o.a),a.b>o.a&&!n&&(a.b=o.a),a.c=-(a.b-o.a)/2,r.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}RUt(i),$Ut(i)}function EBt(t,n,r){var i,a,o;switch(o=t.o,(a=(i=QH(oV(t.p,r),244)).i).b=ESt(i),a.a=CSt(i),a.a=e.Math.max(a.a,o.b),a.a>o.b&&!n&&(a.a=o.b),a.d=-(a.a-o.b)/2,r.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}RUt(i),$Ut(i)}function xBt(t,e){var n,r,i,a,o;if(!e.dc())if(i=QH(e.Xb(0),128),1!=e.gc())for(n=1;n<e.gc();)!i.j&&i.o||(a=myt(e,n))&&(r=QH(a.a,19).a,yDt(t,i,o=QH(a.b,128),n,r,e),n=r+1,i=o);else yDt(t,i,i,1,0,e)}function _Bt(t){var e,n,r,i;for(mM(i=new ZR(t.d),new Gi),yFt(),e=xst(jw(eue,1),IVt,270,0,[Qle,jle,Rle,Gle,Hle,Ule,Kle,$le]),n=0,r=new zd(i);r.a<r.c.c.length;)_Lt(QH(J1(r),101),e[n%e.length]),++n}function BBt(t,e){var n,r,i,a;if(wFt(),e.b<2)return!1;for(r=n=QH(h4(a=cmt(e,0)),8);a.b!=a.d.c;){if(i=QH(h4(a),8),!Dat(t,r)||!Dat(t,i))return!1;r=i}return!(!Dat(t,r)||!Dat(t,n))}function SBt(t,e){var n,r,i,a,o;return n=Fnt(o=t,"x"),J7(new Hg(e).a,n),r=Fnt(o,"y"),Z7(new jg(e).a,r),i=Fnt(o,_6t),ttt(new $g(e).a,i),a=Fnt(o,x6t),ett(new Kg(e).a,a),a}function LBt(t,e){APt(t,e),0!=(1&t.b)&&(t.a.a=null),0!=(2&t.b)&&(t.a.f=null),0!=(4&t.b)&&(t.a.g=null,t.a.i=null),0!=(16&t.b)&&(t.a.d=null,t.a.e=null),0!=(8&t.b)&&(t.a.b=null),0!=(32&t.b)&&(t.a.j=null,t.a.c=null)}function IBt(t,e){var n,r;if(r=0,e.length>0)try{r=hQt(e,RVt,Dqt)}catch(t){throw rO(t=hst(t),127)?Um(new I7(t)):Um(t)}return!t.a&&(t.a=new Cm(t)),r<(n=t.a).i&&r>=0?QH(Xet(n,r),56):null}function MBt(t,e){if(t<0)return IPt(Uqt,xst(jw(Lte,1),Hqt,1,5,["index",nft(t)]));if(e<0)throw Um(new Py(jqt+e));return IPt("%s (%s) must be less than size (%s)",xst(jw(Lte,1),Hqt,1,5,["index",nft(t),nft(e)]))}function OBt(t){var e,n,r,i,a;if(null==t)return Kqt;for(a=new Iot(Qqt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?oL(a.a,a.b):a.a=new uN(a.d),iL(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function NBt(t){var e,n,r,i,a;if(null==t)return Kqt;for(a=new Iot(Qqt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?oL(a.a,a.b):a.a=new uN(a.d),iL(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function DBt(t){var e,n,r,i,a;if(null==t)return Kqt;for(a=new Iot(Qqt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?oL(a.a,a.b):a.a=new uN(a.d),iL(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function FBt(t){var e,n,r,i,a;if(null==t)return Kqt;for(a=new Iot(Qqt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?oL(a.a,a.b):a.a=new uN(a.d),iL(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function PBt(t,e){var n,r,i,a,o,s;for(n=t.b.c.length,i=O$(t.b,e);2*e+1<n&&(s=a=2*e+1,(o=a+1)<n&&t.a.ue(O$(t.b,o),O$(t.b,a))<0&&(s=o),r=s,!(t.a.ue(i,O$(t.b,r))<0));)r5(t.b,e,O$(t.b,r)),e=r;r5(t.b,e,i)}function RBt(t,n,r,i,a,o){var s,c,l,u,h;for(jS(t)===jS(r)&&(t=t.slice(n,n+a),n=0),l=r,c=n,u=n+a;c<u;)a=(s=e.Math.min(c+1e4,u))-c,(h=t.slice(c,s)).splice(0,0,i,o?a:0),Array.prototype.splice.apply(l,h),c=s,i+=a}function QBt(t,e,n){var r,i;return r=n.d,i=n.e,t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]&&t.g[i.d]<=t.i[e.d]&&t.i[e.d]<=t.i[i.d]?!(t.i[r.d]<t.i[i.d]):t.i[r.d]<t.i[i.d]}function UBt(t){var e,n,r,i,a,o,s;if((r=t.a.c.length)>0)for(o=t.c.d,i=vO(GP(new OB((s=t.d.d).a,s.b),o),1/(r+1)),a=new OB(o.a,o.b),n=new zd(t.a);n.a<n.c.c.length;)(e=QH(J1(n),559)).d.a=a.a,e.d.b=a.b,KP(a,i)}function HBt(t,n,r){var i,a,o,s,c,l;for(l=FWt,o=new zd($Ot(t.b));o.a<o.c.c.length;)for(a=QH(J1(o),168),c=new zd($Ot(n.b));c.a<c.c.c.length;)s=QH(J1(c),168),i=_st(a.a,a.b,s.a,s.b,r),l=e.Math.min(l,i);return l}function jBt(t,e){if(!e)throw Um(new Ab);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function $Bt(t,n){var r,i;return rO(n.g,10)&&QH(n.g,10).k==(oxt(),kse)?FWt:l4(n)?e.Math.max(0,t.b/2-.5):(r=l2(n))?(i=jy(kF(ept(r,(HXt(),Bme)))),e.Math.max(0,i/2-.5)):FWt}function KBt(t,n){var r,i;return rO(n.g,10)&&QH(n.g,10).k==(oxt(),kse)?FWt:l4(n)?e.Math.max(0,t.b/2-.5):(r=l2(n))?(i=jy(kF(ept(r,(HXt(),Bme)))),e.Math.max(0,i/2-.5)):FWt}function GBt(t){var e,n,r,i;for(i=Mht(t.d,t.e).Kc();i.Ob();)for(r=QH(i.Pb(),11),n=new zd(t.e==(yzt(),xSe)?r.e:r.g);n.a<n.c.c.length;)h5(e=QH(J1(n),17))||e.c.i.c==e.d.i.c||(Fxt(t,e),++t.f,++t.c)}function zBt(t,e){var n,r;if(e.dc())return CW(),CW(),cne;for(zH(r=new Mm,nft(RVt)),n=1;n<t.f;++n)null==t.a&&dPt(t),t.a[n]&&zH(r,nft(n));return 1==r.c.length?(CW(),CW(),cne):(zH(r,nft(Dqt)),AHt(e,r))}function XBt(t,e){var n,r,i,a,o,s;n=iwt(e,s=e.c.i.k!=(oxt(),xse)?e.d:e.c).i,i=QH(DX(t.k,s),121),r=t.i[n.p].a,SR(s.i)<(n.c?w7(n.c.a,n,0):-1)?(a=i,o=r):(a=r,o=i),GNt(iE(rE(aE(nE(new Ub,0),4),a),o))}function qBt(t,e,n){var r,i,a;if(n)for(i=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);i.Ob();)(a=Lvt(t,ySt(dtt(n,QH(i.Pb(),19).a))))&&(!e.b&&(e.b=new cR(DLe,e,4,7)),l8(e.b,a))}function VBt(t,e,n){var r,i,a;if(n)for(i=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);i.Ob();)(a=Lvt(t,ySt(dtt(n,QH(i.Pb(),19).a))))&&(!e.c&&(e.c=new cR(DLe,e,5,8)),l8(e.c,a))}function WBt(t,e,n){var r,i;r=e.a&t.f,e.b=t.b[r],t.b[r]=e,i=e.f&t.f,e.d=t.c[i],t.c[i]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function YBt(t){var e,n,r;if(e=t.Pb(),!t.Ob())return e;for(r=aL(oL(new xw,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)aL((r.a+=Qqt,r),t.Pb());throw t.Ob()&&(r.a+=", ..."),r.a+=">",Um(new Py(r.a))}function JBt(t,e){var n;e.d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,e.e||e.c?(--(n=QH(DX(t.b,e.a),283)).a,e.e?e.e.c=e.c:n.b=e.c,e.c?e.c.e=e.e:n.c=e.e):((n=QH(g6(t.b,e.a),283)).a=0,++t.c),--t.d}function ZBt(t){var e,n;return n=-t.a,e=xst(jw(_Ne,1),XVt,25,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&VVt,e[2]=e[2]+(n/60|0)%10&VVt,e[3]=e[3]+(n%60/10|0)&VVt,e[4]=e[4]+n%10&VVt,Upt(e,0,e.length)}function tSt(t,e,n){var r,i;for(r=e.d,i=n.d;r.a-i.a==0&&r.b-i.b==0;)r.a+=HMt(t,26)*rYt+HMt(t,27)*iYt-.5,r.b+=HMt(t,26)*rYt+HMt(t,27)*iYt-.5,i.a+=HMt(t,26)*rYt+HMt(t,27)*iYt-.5,i.b+=HMt(t,26)*rYt+HMt(t,27)*iYt-.5}function eSt(t){var e,n,r,i;for(t.g=new Hdt(QH(bX(RSe),290)),r=0,yzt(),n=sSe,e=0;e<t.j.c.length;e++)(i=QH(O$(t.j,e),11)).j!=n&&(r!=e&&mK(t.g,n,new nS(nft(r),nft(e))),n=i.j,r=e);mK(t.g,n,new nS(nft(r),nft(e)))}function nSt(t){var e,n,r,i,a;for(n=0,e=new zd(t.b);e.a<e.c.c.length;)for(i=new zd(QH(J1(e),29).a);i.a<i.c.c.length;)for((r=QH(J1(i),10)).p=n++,a=new zd(r.j);a.a<a.c.c.length;)QH(J1(a),11).p=n++}function rSt(t,e,n,r,i){var a,o,s,c;if(e)for(o=e.Kc();o.Ob();)for(c=iPt(QH(o.Pb(),10),(art(),Hbe),n).Kc();c.Ob();)s=QH(c.Pb(),11),(a=QH(HS(SY(i.f,s)),112))||(a=new Qot(t.d),r.c[r.c.length]=a,G_t(a,s,i))}function iSt(t,e){var n,r,i;if(!(i=Q$t((B_t(),WMe),t.Tg(),e)))throw Um(new Py(r6t+e.ne()+i6t));YE(),QH(i,66).Oj()||(i=Y1(Q7(WMe,i))),r=QH((n=t.Yg(i))>=0?t._g(n,!0,!0):iLt(t,i,!0),153),QH(r,215).ol(e)}function aSt(t){var n,r;return t>-0x800000000000&&t<0x800000000000?0==t?0:((n=t<0)&&(t=-t),r=xJ(e.Math.floor(e.Math.log(t)/.6931471805599453)),(!n||t!=e.Math.pow(2,r))&&++r,r):qot(uot(t))}function oSt(t){var e,n,r,i,a,o,s;for(a=new lI,n=new zd(t);n.a<n.c.c.length;)o=(e=QH(J1(n),129)).a,s=e.b,a.a._b(o)||a.a._b(s)||(i=o,r=s,o.e.b+o.j.b>2&&s.e.b+s.j.b<=2&&(i=s,r=o),a.a.zc(i,a),i.q=r);return a}function sSt(t,e){var n,r,i;return jot(r=new Ibt(t),e),lct(r,(lqt(),Xhe),e),lct(r,(HXt(),tme),(Vkt(),GBe)),lct(r,vpe,(dbt(),BEe)),Qf(r,(oxt(),kse)),xZ(n=new _xt,r),jBt(n,(yzt(),xSe)),xZ(i=new _xt,r),jBt(i,oSe),r}function cSt(t){switch(t.g){case 0:return new My((srt(),Bve));case 1:return new fh;case 2:return new vh;default:throw Um(new Py("No implementation is available for the crossing minimizer "+(null!=t.f?t.f:""+t.g)))}}function lSt(t,e){var n,r,i,a;for(t.c[e.p]=!0,zH(t.a,e),a=new zd(e.j);a.a<a.c.c.length;)for(n=new m6((i=QH(J1(a),11)).b);bM(n.a)||bM(n.b);)r=Zpt(i,QH(bM(n.a)?J1(n.a):J1(n.b),17)).i,t.c[r.p]||lSt(t,r)}function uSt(t){var n,r,i,a,o,s,c;for(s=0,r=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));r.e!=r.i.gc();)c=(n=QH(ymt(r),33)).g,a=n.f,i=e.Math.sqrt(c*c+a*a),s=e.Math.max(i,s),o=uSt(n),s=e.Math.max(o,s);return s}function hSt(){hSt=L,nSe=new GB("OUTSIDE",0),tSe=new GB("INSIDE",1),eSe=new GB("NEXT_TO_PORT_IF_POSSIBLE",2),ZBe=new GB("ALWAYS_SAME_SIDE",3),JBe=new GB("ALWAYS_OTHER_SAME_SIDE",4),rSe=new GB("SPACE_EFFICIENT",5)}function fSt(t,e,n){var r,i,a,o;return Irt(r=F2(t,(ZT(),i=new yv,!!n&&ZOt(i,n),i),e),D2(e,j6t)),ECt(e,r),sMt(e,r),SBt(e,r),a=M2(e,"ports"),xOt((o=new pS(t,r)).a,o.b,a),Nct(t,e,r),ast(t,e,r),r}function dSt(t){var e,n;return n=-t.a,e=xst(jw(_Ne,1),XVt,25,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&VVt,e[2]=e[2]+(n/60|0)%10&VVt,e[4]=e[4]+(n%60/10|0)&VVt,e[5]=e[5]+n%10&VVt,Upt(e,0,e.length)}function ASt(t){var e;return e=xst(jw(_Ne,1),XVt,25,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&VVt,e[5]=e[5]+(t/60|0)%10&VVt,e[7]=e[7]+(t%60/10|0)&VVt,e[8]=e[8]+t%10&VVt,Upt(e,0,e.length)}function pSt(t){var e,n,r,i,a;if(null==t)return Kqt;for(a=new Iot(Qqt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?oL(a.a,a.b):a.a=new uN(a.d),iL(a.a,""+gG(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function gSt(t,n){var r,i,a;for(a=Dqt,i=new zd(ydt(n));i.a<i.c.c.length;)(r=QH(J1(i),213)).f&&!t.c[r.c]&&(t.c[r.c]=!0,a=e.Math.min(a,gSt(t,Odt(r,n))));return t.i[n.d]=t.j,t.g[n.d]=e.Math.min(a,t.j++),t.g[n.d]}function mSt(t,e){var n,r,i;for(i=QH(QH(c6(t.r,e),21),84).Kc();i.Ob();)(r=QH(i.Pb(),111)).e.b=(n=r.b).Xe((cqt(),i_e))?n.Hf()==(yzt(),sSe)?-n.rf().b-jy(kF(n.We(i_e))):jy(kF(n.We(i_e))):n.Hf()==(yzt(),sSe)?-n.rf().b:0}function bSt(t){var e,n,r,i,a,o,s;for(n=qI(t.e),a=vO(QD(QM(XI(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-a.a,i=n.b-a.b,s=0;s<t.c;s++){for(r=e,o=0;o<t.d;o++)Xdt(t.e,new KV(r,i,t.a,t.b))&&QPt(t,o,s,!1,!0),r+=t.a;i+=t.b}}function vSt(t){var e,n,r;if(Hy(TF(JIt(t,(cqt(),Cxe))))){for(r=new Mm,n=new oG(YO(AOt(t).a.Kc(),new u));AIt(n);)VSt(e=QH(K5(n),79))&&Hy(TF(JIt(e,Exe)))&&(r.c[r.c.length]=e);return r}return CW(),CW(),cne}function ySt(t){var e;if(e=!1,rO(t,204))return e=!0,QH(t,204).a;if(!e&&rO(t,258)&&QH(t,258).a%1==0)return e=!0,nft(qL(QH(t,258).a));throw Um(new tw("Id must be a string or an integer: '"+t+"'."))}function wSt(t,e){var n,r,i,a,o,s;for(a=null,i=new nz((!t.a&&(t.a=new Cm(t)),t.a));fLt(i);)if(WHt(o=(n=QH(aOt(i),56)).Tg()),null!=(r=(s=o.o)&&n.mh(s)?pR(ost(s),n.ah(s)):null)&&mR(r,e)){a=n;break}return a}function TSt(t,e,n){var r,i,a,o,s;if(hrt(n,"occurrences"),0==n)return(s=QH(hht(BW(t.a),e),14))?s.gc():0;if(!(o=QH(hht(BW(t.a),e),14)))return 0;if(n>=(a=o.gc()))o.$b();else for(i=o.Kc(),r=0;r<n;r++)i.Pb(),i.Qb();return a}function kSt(t,e,n){var r,i,a;return hrt(n,"oldCount"),hrt(0,"newCount"),((r=QH(hht(BW(t.a),e),14))?r.gc():0)==n&&(hrt(0,"count"),(a=-((i=QH(hht(BW(t.a),e),14))?i.gc():0))>0?fw():a<0&&TSt(t,e,-a),!0)}function CSt(t){var e,n,r,i,a,o;if(o=0,0==t.b){for(e=0,i=0,a=(r=zbt(t,!0)).length;i<a;++i)(n=r[i])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}else o=Fw(eat(IV(SV(Iz(t.a),new Ct),new Et)));return o>0?o+t.n.d+t.n.a:0}function ESt(t){var e,n,r,i,a,o;if(o=0,0==t.b)o=Fw(eat(IV(SV(Iz(t.a),new Tt),new kt)));else{for(e=0,i=0,a=(r=Xbt(t,!0)).length;i<a;++i)(n=r[i])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}return o>0?o+t.n.b+t.n.c:0}function xSt(t,n){var r,i,a,o;for(r=(o=QH(oV(t.b,n),124)).a,a=QH(QH(c6(t.r,n),21),84).Kc();a.Ob();)(i=QH(a.Pb(),111)).c&&(r.a=e.Math.max(r.a,Xj(i.c)));if(r.a>0)switch(n.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}function _St(t,e){var n,r,i;return 0==(n=QH(bEt(e,(uPt(),Yae)),19).a-QH(bEt(t,Yae),19).a)?(r=GP(QM(QH(bEt(t,(Cit(),aoe)),8)),QH(bEt(t,ooe),8)),i=GP(QM(QH(bEt(e,aoe),8)),QH(bEt(e,ooe),8)),xft(r.a*r.b,i.a*i.b)):n}function BSt(t,e){var n,r,i;return 0==(n=QH(bEt(e,(_It(),Lwe)),19).a-QH(bEt(t,Lwe),19).a)?(r=GP(QM(QH(bEt(t,(j$t(),Yye)),8)),QH(bEt(t,Jye),8)),i=GP(QM(QH(bEt(e,Yye),8)),QH(bEt(e,Jye),8)),xft(r.a*r.b,i.a*i.b)):n}function SSt(t){var e,n;return(n=new xw).a+="e_",null!=(e=zot(t))&&(n.a+=""+e),t.c&&t.d&&(oL((n.a+=" ",n),gyt(t.c)),oL(aL((n.a+="[",n),t.c.i),"]"),oL((n.a+=e1t,n),gyt(t.d)),oL(aL((n.a+="[",n),t.d.i),"]")),n.a}function LSt(t){switch(t.g){case 0:return new Ah;case 1:return new ph;case 2:return new dh;case 3:return new gh;default:throw Um(new Py("No implementation is available for the layout phase "+(null!=t.f?t.f:""+t.g)))}}function ISt(t,n,r,i,a){var o;switch(o=0,a.g){case 1:o=e.Math.max(0,n.b+t.b-(r.b+i));break;case 3:o=e.Math.max(0,-t.b-i);break;case 2:o=e.Math.max(0,-t.a-i);break;case 4:o=e.Math.max(0,n.a+t.a-(r.a+i))}return o}function MSt(t,e,n){var r,i,a;if(n)for(a=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);a.Ob();)i=O2(n,QH(a.Pb(),19).a),M6t in i.a||O6t in i.a?cRt(t,i,e):TXt(t,i,e),EO(QH(DX(t.b,Vpt(i)),79))}function OSt(t){var e,n;switch(t.b){case-1:return!0;case 0:return(n=t.t)>1||-1==n||(e=Bwt(t))&&(YE(),e.Cj()==T8t)?(t.b=-1,!0):(t.b=1,!1);default:return!1}}function NSt(t,e){var n,r,i,a,o;for(!e.s&&(e.s=new tz(PIe,e,21,17)),a=null,i=0,o=(r=e.s).i;i<o;++i)switch(Nq(Q7(t,n=QH(Xet(r,i),170)))){case 2:case 3:!a&&(a=new Mm),a.c[a.c.length]=n}return a||(CW(),CW(),cne)}function DSt(t,e){var n,r,i,a;if(VXt(t),0!=t.c||123!=t.a)throw Um(new iw(yqt((aM(),x9t))));if(a=112==e,r=t.d,(n=uD(t.i,125,r))<0)throw Um(new iw(yqt((aM(),_9t))));return i=lD(t.i,r,n),t.d=n+1,h8(i,a,512==(512&t.e))}function FSt(t){var e;if((e=QH(bEt(t,(HXt(),Hpe)),314))==(Srt(),cue))throw Um(new rw("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function PSt(t,e){var n,r,i,a;for(jQ(),n=null,i=e.Kc();i.Ob();)(r=QH(i.Pb(),128)).o||(zH((a=new xHt(RM(r.a),hj(r.a),null,QH(r.d.a.ec().Kc().Pb(),17))).c,r.a),t.c[t.c.length]=a,n&&zH(n.d,a),n=a)}function RSt(t,e){var n,r,i;if(e)if(0!=(4&e.i))for(r="[]",n=e.c;;n=n.c){if(0==(4&n.i)){Hrt(t,i=Ky((wF(n),n.o+r))),Nnt(t,i);break}r+="[]"}else Hrt(t,i=Ky((wF(e),e.o))),Nnt(t,i);else Hrt(t,null),Nnt(t,null);t.yk(e)}function QSt(t,e,n,r,i){var a,o,s,c;return jS(c=cF(t,QH(i,56)))!==jS(i)?(s=QH(t.g[n],72),yO(t,n,cCt(t,n,a=Y4(e,c))),mI(t.e)&&(Pkt(o=IY(t,9,a.ak(),i,c,r,!1),new M7(t.e,9,t.c,s,a,r,!1)),L7(o)),c):i}function USt(t,e,n){var r,i,a,o,s,c;for(r=QH(c6(t.c,e),15),i=QH(c6(t.c,n),15),a=r.Zc(r.gc()),o=i.Zc(i.gc());a.Sb()&&o.Sb();)if((s=QH(a.Ub(),19))!=(c=QH(o.Ub(),19)))return wM(s.a,c.a);return a.Ob()||o.Ob()?a.Ob()?1:-1:0}function HSt(t,e){var n,r;try{return G1(t.a,e)}catch(i){if(rO(i=hst(i),32)){try{if(r=hQt(e,RVt,Dqt),n=XT(t.a),r>=0&&r<n.length)return n[r]}catch(t){if(!rO(t=hst(t),127))throw Um(t)}return null}throw Um(i)}}function jSt(t,e){var n,r,i;if(i=Q$t((B_t(),WMe),t.Tg(),e))return YE(),QH(i,66).Oj()||(i=Y1(Q7(WMe,i))),r=QH((n=t.Yg(i))>=0?t._g(n,!0,!0):iLt(t,i,!0),153),QH(r,215).ll(e);throw Um(new Py(r6t+e.ne()+o6t))}function $St(){var t;return ZE(),XMe?QH(IMt((zE(),jIe),q8t),1939):(DL(Hte,new Bl),ZKt(),t=QH(rO(CJ((zE(),jIe),q8t),547)?CJ(jIe,q8t):new Kq,547),XMe=!0,sqt(t),kqt(t),Xq((XE(),WIe),t,new Kc),mZ(jIe,q8t,t),t)}function KSt(t,e){var n,r,i,a;t.j=-1,mI(t.e)?(n=t.i,a=0!=t.i,r6(t,e),r=new M7(t.e,3,t.c,null,e,n,a),i=e.Qk(t.e,t.c,null),(i=Bkt(t,e,i))?(i.Ei(r),i.Fi()):fot(t.e,r)):(r6(t,e),(i=e.Qk(t.e,t.c,null))&&i.Fi())}function GSt(t,e){var n,r,i;if(i=0,(r=e[0])>=t.length)return-1;for(h1(r,t.length),n=t.charCodeAt(r);n>=48&&n<=57&&(i=10*i+(n-48),!(++r>=t.length));)h1(r,t.length),n=t.charCodeAt(r);return r>e[0]?e[0]=r:i=-1,i}function zSt(t){var n,r,i,a,o;return r=a=QH(t.a,19).a,i=o=QH(t.b,19).a,n=e.Math.max(e.Math.abs(a),e.Math.abs(o)),a<=0&&a==o?(r=0,i=o-1):a==-n&&o!=n?(r=o,i=a,o>=0&&++r):(r=-o,i=a),new nS(nft(r),nft(i))}function XSt(t,e,n,r){var i,a,o,s,c,l;for(i=0;i<e.o;i++)for(a=i-e.j+n,o=0;o<e.p;o++)if(c=a,l=s=o-e.k+r,c+=t.j,l+=t.k,c>=0&&l>=0&&c<t.o&&l<t.p&&(!bvt(e,i,o)&&nvt(t,a,s)||mvt(e,i,o)&&!rvt(t,a,s)))return!0;return!1}function qSt(t,e,n){var r,i,a,o;a=t.c,o=t.d,i=(Lct(xst(jw(EEe,1),cVt,8,0,[a.i.n,a.n,a.a])).b+Lct(xst(jw(EEe,1),cVt,8,0,[o.i.n,o.n,o.a])).b)/2,r=null,r=a.j==(yzt(),oSe)?new OB(e+a.i.c.c.a+n,i):new OB(e-n,i),FD(t.a,0,r)}function VSt(t){var e,n,r;for(e=null,n=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c)])));AIt(n);)if(r=xCt(QH(K5(n),82)),e){if(e!=r)return!1}else e=r;return!0}function WSt(t,e,n){var r;if(++t.j,e>=t.i)throw Um(new Sy(o9t+e+s9t+t.i));if(n>=t.i)throw Um(new Sy(c9t+n+s9t+t.i));return r=t.g[n],e!=n&&(e<n?ajt(t.g,e,t.g,e+1,n-e):ajt(t.g,n+1,t.g,n,e-n),LX(t.g,e,r),t.ei(e,r,n),t.ci()),r}function YSt(t,e,n){var r;if(r=QH(t.c.xc(e),14))return!!r.Fc(n)&&(++t.d,!0);if((r=t.ic(e)).Fc(n))return++t.d,t.c.zc(e,r),!0;throw Um(new A5("New Collection violated the Collection spec"))}function JSt(t){var e,n,r;return t<0?0:0==t?32:(n=16-(e=(r=-(t>>16))>>16&16),n+=e=(r=(t>>=e)-256)>>16&8,n+=e=(r=(t<<=e)-RWt)>>16&4,(n+=e=(r=(t<<=e)-lVt)>>16&2)+2-(e=(r=(t<<=e)>>14)&~(r>>1)))}function ZSt(t){var e,n,r,i;for(kW(),Cae=new Mm,kae=new Om,Tae=new Mm,!t.a&&(t.a=new tz($Le,t,10,11)),Nzt(e=t.a),i=new SO(e);i.e!=i.i.gc();)r=QH(ymt(i),33),-1==w7(Cae,r,0)&&(n=new Mm,zH(Tae,n),Fgt(r,n));return Tae}function tLt(t,e,n){var r,i,a,o;t.a=n.b.d,rO(e,352)?(t5(a=jxt(i=iFt(QH(e,79),!1,!1)),r=new MA(t)),qUt(a,i),null!=e.We((cqt(),Bxe))&&t5(QH(e.We(Bxe),74),r)):((o=QH(e,470)).Hg(o.Dg()+t.a.a),o.Ig(o.Eg()+t.a.b))}function eLt(t,n){var r,i,a,o,s,c,l,u;for(u=jy(kF(bEt(n,(HXt(),Mme)))),l=t[0].n.a+t[0].o.a+t[0].d.c+u,c=1;c<t.length;c++)i=t[c].n,a=t[c].o,r=t[c].d,(o=i.a-r.b-l)<0&&(i.a-=o),(s=n.f).a=e.Math.max(s.a,i.a+a.a),l=i.a+a.a+r.c+u}function nLt(t,e){var n,r,i,a,o,s;return r=QH(QH(DX(t.g,e.a),46).a,65),i=QH(QH(DX(t.g,e.b),46).a,65),(n=Zjt(a=r.b,o=i.b))>=0?n:(s=uq(GP(new OB(o.c+o.b/2,o.d+o.a/2),new OB(a.c+a.b/2,a.d+a.a/2))),-(WQt(a,o)-1)*s)}function rLt(t,e,n){var r;WC(new D$(null,(!n.a&&(n.a=new tz(PLe,n,6,6)),new f1(n.a,16))),new tS(t,e)),WC(new D$(null,(!n.n&&(n.n=new tz(jLe,n,1,7)),new f1(n.n,16))),new eS(t,e)),(r=QH(JIt(n,(cqt(),Bxe)),74))&&Wit(r,t,e)}function iLt(t,e,n){var r,i,a;if(a=Q$t((B_t(),WMe),t.Tg(),e))return YE(),QH(a,66).Oj()||(a=Y1(Q7(WMe,a))),i=QH((r=t.Yg(a))>=0?t._g(r,!0,!0):iLt(t,a,!0),153),QH(i,215).hl(e,n);throw Um(new Py(r6t+e.ne()+o6t))}function aLt(t,e,n,r){var i,a,o,s,c;if(i=t.d[e])if(a=i.g,c=i.i,null!=r){for(s=0;s<c;++s)if((o=QH(a[s],133)).Sh()==n&&Oht(r,o.cd()))return o}else for(s=0;s<c;++s)if(jS((o=QH(a[s],133)).cd())===jS(r))return o;return null}function oLt(t,e){var n;if(e<0)throw Um(new By("Negative exponent"));if(0==e)return Yee;if(1==e||cAt(t,Yee)||cAt(t,ene))return t;if(!uIt(t,0)){for(n=1;!uIt(t,n);)++n;return Mtt(mAt(n*e),oLt($5(t,n),e))}return bCt(t,e)}function sLt(t,e){var n,r,i;if(jS(t)===jS(e))return!0;if(null==t||null==e)return!1;if(t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(r=t[n],i=e[n],!(jS(r)===jS(i)||null!=r&&Oht(r,i)))return!1;return!0}function cLt(t){var e,n,r;for(vE(),this.b=Xoe,this.c=(Qht(),Q_e),this.f=(bE(),$oe),this.a=t,Zw(this,new _e),yNt(this),r=new zd(t.b);r.a<r.c.c.length;)(n=QH(J1(r),81)).d||(e=new xgt(xst(jw(qoe,1),Hqt,81,0,[n])),zH(t.a,e))}function lLt(t,e,n){var r,i,a,o,s,c;if(!t||0==t.c.length)return null;for(a=new FY(e,!n),i=new zd(t);i.a<i.c.c.length;)r=QH(J1(i),70),Gxt(a,(AE(),new QA(r)));return(o=a.i).a=(c=a.n,a.e.b+c.d+c.a),o.b=(s=a.n,a.e.a+s.b+s.c),a}function uLt(t){var e,n,r,i,a,o,s;for(cI(s=J0(t.a),new _n),n=null,a=0,o=(i=s).length;a<o&&(r=i[a]).k==(oxt(),kse);++a)(e=QH(bEt(r,(lqt(),qhe)),61))!=(yzt(),xSe)&&e!=oSe||(n&&QH(bEt(n,rfe),15).Fc(r),n=r)}function hLt(t,e,n){var r,i,a,o,s,c;u1(e,t.c.length),s=QH(t.c[e],329),s6(t,e),s.b/2>=n&&(r=e,a=(c=(s.c+s.a)/2)-n,s.c<=c-n&&vK(t,r++,new vH(s.c,a)),(o=c+n)<=s.a&&(i=new vH(o,s.a),IZ(r,t.c.length),kx(t.c,r,i)))}function fLt(t){var e;if(t.c||null!=t.g){if(null==t.g)return!0;if(0==t.i)return!1;e=QH(t.g[t.i-1],47)}else t.d=t.si(t.f),l8(t,t.d),e=t.d;return e==t.b&&null.km>=null.jm()?(aOt(t),fLt(t)):e.Ob()}function dLt(t,e,n){var r,i,a,o;if(!(o=n)&&(o=Ij(new Gv,0)),SCt(o,jZt,1),IKt(t.c,e),1==(a=FKt(t.a,e)).gc())qjt(QH(a.Xb(0),37),o);else for(i=1/a.gc(),r=a.Kc();r.Ob();)qjt(QH(r.Pb(),37),bat(o,i));ww(t.a,a,e),QFt(e),Hxt(o)}function ALt(t){if(this.a=t,t.c.i.k==(oxt(),kse))this.c=t.c,this.d=QH(bEt(t.c.i,(lqt(),qhe)),61);else{if(t.d.i.k!=kse)throw Um(new Py("Edge "+t+" is not an external edge."));this.c=t.d,this.d=QH(bEt(t.d.i,(lqt(),qhe)),61)}}function pLt(t,e){var n,r,i;i=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,3,i,t.b)),e?e!=t&&(Oit(t,e.zb),Int(t,e.d),Qrt(t,null==(n=null==(r=e.c)?e.zb:r)||mR(n,e.zb)?null:n)):(Oit(t,null),Int(t,0),Qrt(t,null))}function gLt(t){var e,n;if(t.f){for(;t.n<t.o;){if(rO(n=(e=QH(t.j?t.j.pi(t.n):t.k.Xb(t.n),72)).ak(),99)&&0!=(QH(n,18).Bb&l6t)&&(!t.e||n.Gj()!=ILe||0!=n.aj())&&null!=e.dd())return!0;++t.n}return!1}return t.n<t.o}function mLt(t,e){var n;this.e=(zX(),bX(t),zX(),OAt(t)),this.c=(bX(e),OAt(e)),iN(this.e.Hd().dc()==this.c.Hd().dc()),this.d=mdt(this.e),this.b=mdt(this.c),n=v$(Lte,[cVt,Hqt],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,Art(this)}function bLt(t){return!Jte&&(Jte=Vzt()),'"'+t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(t){return _J(t)}))+'"'}function vLt(t){var e,n;for(xW(),this.b=cre,this.c=ure,this.g=(pE(),sre),this.d=(Qht(),Q_e),this.a=t,vNt(this),n=new zd(t.b);n.a<n.c.c.length;)!(e=QH(J1(n),57)).a&&_N(znt(new Gb,xst(jw(hre,1),Hqt,57,0,[e])),t),e.e=new AY(e.d)}function yLt(t){var e,n,r,i,a;for(i=t.e.c.length,r=O9(Fte,ZJt,15,i,0,1),a=new zd(t.e);a.a<a.c.c.length;)r[QH(J1(a),144).b]=new VC;for(n=new zd(t.c);n.a<n.c.c.length;)r[(e=QH(J1(n),282)).c.b].Fc(e),r[e.d.b].Fc(e);return r}function wLt(t){var e,n,r,i,a,o;for(o=sD(t.c.length),i=new zd(t);i.a<i.c.c.length;){for(r=QH(J1(i),10),a=new Db,n=new oG(YO(hdt(r).a.Kc(),new u));AIt(n);)(e=QH(K5(n),17)).c.i==e.d.i||Tz(a,e.d.i);o.c[o.c.length]=a}return o}function TLt(t,e){var n,r,i,a,o;if(e>=(o=null==(n=QH(vot(t.a,4),126))?0:n.length))throw Um(new ZP(e,o));return i=n[e],1==o?r=null:(ajt(n,0,r=O9(fIe,n8t,415,o-1,0,1),0,e),(a=o-e-1)>0&&ajt(n,e+1,r,e,a)),Qgt(t,r),eBt(t,e,i),i}function kLt(){kLt=L,cOe=QH(Xet(qW((rk(),dOe).qb),6),34),aOe=QH(Xet(qW(dOe.qb),3),34),oOe=QH(Xet(qW(dOe.qb),4),34),sOe=QH(Xet(qW(dOe.qb),5),18),skt(cOe),skt(aOe),skt(oOe),skt(sOe),lOe=new Wy(xst(jw(PIe,1),O8t,170,0,[cOe,aOe]))}function CLt(t,e){var n;this.d=new uv,this.b=e,this.e=new fI(e.qf()),n=t.u.Hc((hSt(),eSe)),t.u.Hc(tSe)?t.D?this.a=n&&!e.If():this.a=!0:t.u.Hc(nSe)?this.a=!!n&&!(e.zf().Kc().Ob()||e.Bf().Kc().Ob()):this.a=!1}function ELt(t,e){var n,r,i,a;for(n=t.o.a,a=QH(QH(c6(t.r,e),21),84).Kc();a.Ob();)(i=QH(a.Pb(),111)).e.a=(r=i.b).Xe((cqt(),i_e))?r.Hf()==(yzt(),xSe)?-r.rf().a-jy(kF(r.We(i_e))):n+jy(kF(r.We(i_e))):r.Hf()==(yzt(),xSe)?-r.rf().a:n}function xLt(t,e){var n,r,i;n=QH(bEt(t,(HXt(),Kpe)),103),i=QH(JIt(e,ame),61),(r=QH(bEt(t,tme),98))!=(Vkt(),qBe)&&r!=VBe?i==(yzt(),ESe)&&(i=SUt(e,n))==ESe&&(i=lAt(n)):i=zjt(e)>0?lAt(n):kft(lAt(n)),Wmt(e,ame,i)}function _Lt(t,e){var n,r,i,a,o;for(o=t.j,e.a!=e.b&&mM(o,new zi),i=o.c.length/2|0,r=0;r<i;r++)u1(r,o.c.length),(a=QH(o.c[r],113)).c&&jBt(a.d,e.a);for(n=i;n<o.c.length;n++)u1(n,o.c.length),(a=QH(o.c[n],113)).c&&jBt(a.d,e.b)}function BLt(t,e,n){var r,i,a;return r=t.c[e.c.p][e.p],i=t.c[n.c.p][n.p],null!=r.a&&null!=i.a?((a=TG(r.a,i.a))<0?oRt(t,e,n):a>0&&oRt(t,n,e),a):null!=r.a?(oRt(t,e,n),-1):null!=i.a?(oRt(t,n,e),1):0}function SLt(t,e){var n,r,i,a;t.ej()?(n=t.Vi(),a=t.fj(),++t.j,t.Hi(n,t.oi(n,e)),r=t.Zi(3,null,e,n,a),t.bj()&&(i=t.cj(e,null))?(i.Ei(r),i.Fi()):t.$i(r)):(tq(t,e),t.bj()&&(i=t.cj(e,null))&&i.Fi())}function LLt(t,e){var n,r,i,a,o;for(o=aDt(t.e.Tg(),e),i=new gc,n=QH(t.g,119),a=t.i;--a>=0;)r=n[a],o.rl(r.ak())&&l8(i,r);!aXt(t,i)&&mI(t.e)&&Ib(t,e.$j()?IY(t,6,e,(CW(),cne),null,-1,!1):IY(t,e.Kj()?2:1,e,null,null,-1,!1))}function ILt(){var t,e;for(ILt=L,ane=O9(sne,cVt,91,32,0,1),one=O9(sne,cVt,91,32,0,1),t=1,e=0;e<=18;e++)ane[e]=Zgt(t),one[e]=Zgt(bG(t,e)),t=idt(t,5);for(;e<one.length;e++)ane[e]=Mtt(ane[e-1],ane[1]),one[e]=Mtt(one[e-1],(SFt(),Zee))}function MLt(t,e){var n,r,i,a;return t.a==(YEt(),rhe)||(i=e.a.c,n=e.a.c+e.a.b,!(e.j&&(a=(r=e.A).c.c.a-r.o.a/2,i-(r.n.a+r.o.a)>a)||e.q&&(a=(r=e.C).c.c.a-r.o.a/2,r.n.a-n>a)))}function OLt(t,e){SCt(e,"Partition preprocessing",1),WC(QH(E3(SV(ftt(SV(new D$(null,new f1(t.a,16)),new br),new vr),new yr),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15).Oc(),new wr),Hxt(e)}function NLt(t){var e,n,r,i,a,o;for(HZ(),n=new g3,r=new zd(t.e.b);r.a<r.c.c.length;)for(a=new zd(QH(J1(r),29).a);a.a<a.c.c.length;)i=QH(J1(a),10),(e=QH(utt(n,o=t.g[i.p]),15))||Ygt(n,o,e=new Mm),e.Fc(i);return n}function DLt(t,e){var n,r,i,a,o;for(i=e.b.b,t.a=O9(Fte,ZJt,15,i,0,1),t.b=O9(SNe,JYt,25,i,16,1),o=cmt(e.b,0);o.b!=o.d.c;)a=QH(h4(o),86),t.a[a.g]=new VC;for(r=cmt(e.a,0);r.b!=r.d.c;)n=QH(h4(r),188),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n)}function FLt(t){var e;return 0!=(64&t.Db)?xMt(t):((e=new lN(xMt(t))).a+=" (startX: ",gk(e,t.j),e.a+=", startY: ",gk(e,t.k),e.a+=", endX: ",gk(e,t.b),e.a+=", endY: ",gk(e,t.c),e.a+=", identifier: ",rL(e,t.d),e.a+=")",e.a)}function PLt(t){var e;return 0!=(64&t.Db)?yht(t):((e=new lN(yht(t))).a+=" (ordered: ",bk(e,0!=(256&t.Bb)),e.a+=", unique: ",bk(e,0!=(512&t.Bb)),e.a+=", lowerBound: ",mk(e,t.s),e.a+=", upperBound: ",mk(e,t.t),e.a+=")",e.a)}function RLt(t,e,n,r,i,a,o,s){var c;return rO(t.Cb,88)&&LBt(E5(QH(t.Cb,88)),4),Oit(t,n),t.f=r,Ift(t,i),Oft(t,a),Lft(t,o),Mft(t,!1),Zht(t,!0),jft(t,s),Wht(t,!0),Mnt(t,0),t.b=0,Ont(t,1),(c=HCt(t,e,null))&&c.Fi(),$ft(t,!1),t}function QLt(t,n){var r,i;return QH(CJ(t.a,n),512)||(r=new b5(n),v5(),OR(r,QLt(t,lD(i=qne?null:r.c,0,e.Math.max(0,mN(i,WCt(46)))))),0==(qne?null:r.c).length&&$F(r,new X),mZ(t.a,qne?null:r.c,r),r)}function ULt(t,e){var n;t.b=e,t.g=new Mm,n=YLt(t.b),t.e=n,t.f=n,t.c=Hy(TF(bEt(t.b,(Rwt(),yre)))),t.a=kF(bEt(t.b,(cqt(),rxe))),null==t.a&&(t.a=1),jy(t.a)>1?t.e*=jy(t.a):t.f/=jy(t.a),_ut(t),pgt(t),kPt(t),lct(t.b,(Tmt(),Aae),t.g)}function HLt(t,e,n){var r,i,a,o,s;for(r=0,s=n,e||(r=n*(t.c.length-1),s*=-1),a=new zd(t);a.a<a.c.c.length;){for(lct(i=QH(J1(a),10),(HXt(),vpe),(dbt(),BEe)),i.o.a=r,o=Dxt(i,(yzt(),oSe)).Kc();o.Ob();)QH(o.Pb(),11).n.a=r;r+=s}}function jLt(t,e,n){var r,i,a;t.ej()?(a=t.fj(),Bht(t,e,n),r=t.Zi(3,null,n,e,a),t.bj()?(i=t.cj(n,null),t.ij()&&(i=t.jj(n,i)),i?(i.Ei(r),i.Fi()):t.$i(r)):t.$i(r)):(Bht(t,e,n),t.bj()&&(i=t.cj(n,null))&&i.Fi())}function $Lt(t,e,n){var r,i,a,o,s,c;return(s=t.Gk(n))!=n?(o=t.g[e],c=s,yO(t,e,t.oi(e,c)),a=o,t.gi(e,c,a),t.rk()&&(r=n,i=t.dj(r,null),!QH(s,49).eh()&&(i=t.cj(c,i)),i&&i.Fi()),mI(t.e)&&Ib(t,t.Zi(9,n,s,e,!1)),s):n}function KLt(t,e){var n,r,i;for(n=new zd(t.a.a);n.a<n.c.c.length;)QH(J1(n),189).g=!0;for(i=new zd(t.a.b);i.a<i.c.c.length;)(r=QH(J1(i),81)).k=Hy(TF(t.e.Kb(new nS(r,e)))),r.d.g=r.d.g&Hy(TF(t.e.Kb(new nS(r,e))));return t}function GLt(t){var e,n,r,i,a;if(n=new VR(e=QH(XT(RSe),9),QH(CP(e,e.length),9),0),a=QH(bEt(t,(lqt(),wfe)),10))for(i=new zd(a.j);i.a<i.c.c.length;)jS(bEt(r=QH(J1(i),11),dfe))===jS(t)&&$N(new m6(r.b))&&sit(n,r.j);return n}function zLt(t,e,n){var r,i,a,o;if(!t.d[n.p]){for(r=new oG(YO(hdt(n).a.Kc(),new u));AIt(r);){for(a=new oG(YO(udt(o=QH(K5(r),17).d.i).a.Kc(),new u));AIt(a);)(i=QH(K5(a),17)).c.i==e&&(t.a[i.p]=!0);zLt(t,e,o)}t.d[n.p]=!0}}function XLt(t,e){var n,r,i,a,o,s,c;if(1==(r=gdt(254&t.Db)))t.Eb=null;else if(a=ent(t.Eb),2==r)i=Fvt(t,e),t.Eb=a[0==i?1:0];else{for(o=O9(Lte,Hqt,1,r-1,5,1),n=2,s=0,c=0;n<=128;n<<=1)n==e?++s:0!=(t.Db&n)&&(o[c++]=a[s++]);t.Eb=o}t.Db&=~e}function qLt(t,e){var n,r,i,a,o;for(!e.s&&(e.s=new tz(PIe,e,21,17)),a=null,i=0,o=(r=e.s).i;i<o;++i)switch(Nq(Q7(t,n=QH(Xet(r,i),170)))){case 4:case 5:case 6:!a&&(a=new Mm),a.c[a.c.length]=n}return a||(CW(),CW(),cne)}function VLt(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=y6t}return e}function WLt(t,e,n,r,i){var a,o,s,c;if(jS(t)!==jS(e)||r!=i)for(s=0;s<r;s++){for(o=0,a=t[s],c=0;c<i;c++)o=rdt(rdt(idt(t0(a,GWt),t0(e[c],GWt)),t0(n[s+c],GWt)),t0(dK(o),GWt)),n[s+c]=dK(o),o=yG(o,32);n[s+i]=dK(o)}else BQt(t,r,n)}function YLt(t){var n,r,i,a,o,s,c,l,u,h,f;for(h=0,u=0,c=(a=t.a).a.gc(),i=a.a.ec().Kc();i.Ob();)(r=QH(i.Pb(),561)).b&&qHt(r),h+=(f=(n=r.a).a)+(s=n.b),u+=f*s;return l=e.Math.sqrt(400*c*u-4*u+h*h)+h,0==(o=2*(100*c-1))?l:l/o}function JLt(t,n){0!=n.b&&(isNaN(t.s)?t.s=jy((ED(0!=n.b),kF(n.a.a.c))):t.s=e.Math.min(t.s,jy((ED(0!=n.b),kF(n.a.a.c)))),isNaN(t.c)?t.c=jy((ED(0!=n.b),kF(n.c.b.c))):t.c=e.Math.max(t.c,jy((ED(0!=n.b),kF(n.c.b.c)))))}function ZLt(t){var e,n,r;for(e=null,n=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c)])));AIt(n);)if(r=xCt(QH(K5(n),82)),e){if(e!=WJ(r))return!0}else e=WJ(r);return!1}function tIt(t,e){var n,r,i,a;t.ej()?(n=t.i,a=t.fj(),r6(t,e),r=t.Zi(3,null,e,n,a),t.bj()?(i=t.cj(e,null),t.ij()&&(i=t.jj(e,i)),i?(i.Ei(r),i.Fi()):t.$i(r)):t.$i(r)):(r6(t,e),t.bj()&&(i=t.cj(e,null))&&i.Fi())}function eIt(t,e,n){var r,i,a;t.ej()?(a=t.fj(),++t.j,t.Hi(e,t.oi(e,n)),r=t.Zi(3,null,n,e,a),t.bj()&&(i=t.cj(n,null))?(i.Ei(r),i.Fi()):t.$i(r)):(++t.j,t.Hi(e,t.oi(e,n)),t.bj()&&(i=t.cj(n,null))&&i.Fi())}function nIt(t){var e,n,r,i;for(i=t.length,e=null,r=0;r<i;r++)h1(r,t.length),jL(".*+?{[()|\\^$",WCt(n=t.charCodeAt(r)))>=0?(e||(e=new Ew,r>0&&rL(e,t.substr(0,r))),e.a+="\\",MX(e,n&VVt)):e&&MX(e,n&VVt);return e?e.a:t}function rIt(t){var e;if(!t.a)throw Um(new Ry("IDataType class expected for layout option "+t.f));if(null==(e=_4(t.a)))throw Um(new Ry("Couldn't create new instance of property '"+t.f+"'. "+r5t+(wF(uIe),uIe.k)+i5t));return QH(e,414)}function iIt(t){var e,n,r,i,a;return(a=t.eh())&&a.kh()&&(i=tht(t,a))!=a?(n=t.Vg(),r=(e=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-e,null,null),t.Rg(QH(i,49),n),r&&r.Fi(),t.Lg()&&t.Mg()&&n>-1&&fot(t,new JG(t,9,n,a,i)),i):a}function aIt(t){var e,n,r,i,a,o,s;for(a=0,i=t.f.e,n=0;n<i.c.length;++n)for(u1(n,i.c.length),o=QH(i.c[n],144),r=n+1;r<i.c.length;++r)u1(r,i.c.length),s=QH(i.c[r],144),e=z9(o.d,s.d)-t.a[o.b][s.b],a+=t.i[o.b][s.b]*e*e;return a}function oIt(t,e){var n;if(!ID(e,(HXt(),vge))&&(n=Twt(QH(bEt(e,tle),360),QH(bEt(t,vge),163)),lct(e,tle,n),!AIt(new oG(YO(ldt(e).a.Kc(),new u)))))switch(n.g){case 1:lct(e,vge,(kdt(),Pfe));break;case 2:lct(e,vge,(kdt(),Qfe))}}function sIt(t,e){var n;bPt(t),t.a=(n=new ow,WC(new D$(null,new f1(e.d,16)),new Bp(n)),n),CDt(t,QH(bEt(e.b,(HXt(),ege)),376)),ybt(t),SIt(t),Iwt(t),wbt(t),w$t(t,e),WC(ftt(new D$(null,V0(CX(t.b).a)),new qi),new Vi),e.a=!1,t.a=null}function cIt(){AEt.call(this,v6t,(ZT(),dLe)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function lIt(){lIt=L,tIe=new kS($1t,0),YLe=new kS("INSIDE_SELF_LOOPS",1),JLe=new kS("MULTI_EDGES",2),WLe=new kS("EDGE_LABELS",3),ZLe=new kS("PORTS",4),qLe=new kS("COMPOUND",5),XLe=new kS("CLUSTERS",6),VLe=new kS("DISCONNECTED",7)}function uIt(t,e){var n,r,i;if(0==e)return 0!=(1&t.a[0]);if(e<0)throw Um(new By("Negative bit address"));if((i=e>>5)>=t.d)return t.e<0;if(n=t.a[i],e=1<<(31&e),t.e<0){if(i<(r=_at(t)))return!1;n=r==i?-n:~n}return 0!=(n&e)}function hIt(t,e,n,r){var i;QH(n.b,65),QH(n.b,65),QH(r.b,65),QH(r.b,65),Mj(i=GP(QM(QH(n.b,65).c),QH(r.b,65).c),HBt(QH(n.b,65),QH(r.b,65),i)),QH(r.b,65),QH(r.b,65),QH(r.b,65).c.a,i.a,QH(r.b,65).c.b,i.b,QH(r.b,65),Set(r.a,new TH(t,e,r))}function fIt(t,e){var n,r,i,a,o,s,c;if(a=e.e)for(n=iIt(a),r=QH(t.g,674),o=0;o<t.i;++o)if(jbt(c=r[o])==n&&(!c.d&&(c.d=new LO(zIe,c,1)),i=c.d,(s=QH(n.ah(pRt(a,a.Cb,a.Db>>16)),15).Xc(a))<i.i))return fIt(t,QH(Xet(i,s),87));return e}function dIt(t,e,n){var r,i=Eqt,a=i[t],o=a instanceof Array?a[0]:null;a&&!o?Cqt=a:(!(r=e&&e.prototype)&&(r=Eqt[e]),(Cqt=HJ(r)).hm=n,!e&&(Cqt.im=S),i[t]=Cqt);for(var s=3;s<arguments.length;++s)arguments[s].prototype=Cqt;o&&(Cqt.gm=o)}function AIt(t){for(var e;!QH(bX(t.a),47).Ob();){if(t.d=slt(t),!t.d)return!1;if(t.a=QH(t.d.Pb(),47),rO(t.a,39)){if(e=QH(t.a,39),t.a=e.a,!t.b&&(t.b=new Im),d4(t.b,t.d),e.b)for(;!zy(e.b);)d4(t.b,QH(Az(e.b),47));t.d=e.d}}return!0}function pIt(t,e){var n,r,i,a,o;for(a=null==e?0:t.b.se(e),r=null==(n=t.a.get(a))?new Array:n,o=0;o<r.length;o++)if(i=r[o],t.b.re(e,i.cd()))return 1==r.length?(r.length=0,gP(t.a,a)):r.splice(o,1),--t.c,oY(t.b),i.dd();return null}function gIt(t,e){var n,r,i,a;for(i=1,e.j=!0,a=null,r=new zd(ydt(e));r.a<r.c.c.length;)n=QH(J1(r),213),t.c[n.c]||(t.c[n.c]=!0,a=Odt(n,e),n.f?i+=gIt(t,a):a.j||n.a!=n.e.e-n.d.e||(n.f=!0,Tz(t.p,n),i+=gIt(t,a)));return i}function mIt(t){var n,r,i;for(r=new zd(t.a.a.b);r.a<r.c.c.length;)n=QH(J1(r),81),vq(0),(i=0)>0&&((!dI(t.a.c)||!n.n.d)&&(!AI(t.a.c)||!n.n.b)&&(n.g.d+=e.Math.max(0,i/2-.5)),(!dI(t.a.c)||!n.n.a)&&(!AI(t.a.c)||!n.n.c)&&(n.g.a-=i-1))}function bIt(t){var n,r,i,a,o;if(o=PQt(t,a=new Mm),n=QH(bEt(t,(lqt(),wfe)),10))for(i=new zd(n.j);i.a<i.c.c.length;)jS(bEt(r=QH(J1(i),11),dfe))===jS(t)&&(o=e.Math.max(o,PQt(r,a)));return 0==a.c.length||lct(t,hfe,o),-1!=o?a:null}function vIt(t,e,n){var r,i,a,o,s,c;i=(r=(a=QH(O$(e.e,0),17).c).i).k,s=(o=(c=QH(O$(n.g,0),17).d).i).k,i==(oxt(),Ese)?lct(t,(lqt(),cfe),QH(bEt(r,cfe),11)):lct(t,(lqt(),cfe),a),lct(t,(lqt(),lfe),s==Ese?QH(bEt(o,lfe),11):c)}function yIt(t,e){var n,r,i,a;for(n=(a=dK(idt(EVt,nV(dK(idt(null==e?0:Zct(e),xVt)),15))))&t.b.length-1,i=null,r=t.b[n];r;i=r,r=r.a)if(r.d==a&&fq(r.i,e))return i?i.a=r.a:t.b[n]=r.a,vw(r.c,r.f),eb(r.b,r.e),--t.f,++t.e,!0;return!1}function wIt(t,e){var n,r,i,a,o;return e&=63,(r=0!=((n=t.h)&_Wt))&&(n|=-1048576),e<22?(o=n>>e,a=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(o=r?xWt:0,a=n>>e-22,i=t.m>>e-22|n<<44-e):(o=r?xWt:0,a=r?EWt:0,i=n>>e-44),kM(i&EWt,a&EWt,o&xWt)}function TIt(t){var n,r,i,a,o,s;for(this.c=new Mm,this.d=t,i=FWt,a=FWt,n=PWt,r=PWt,s=cmt(t,0);s.b!=s.d.c;)o=QH(h4(s),8),i=e.Math.min(i,o.a),a=e.Math.min(a,o.b),n=e.Math.max(n,o.a),r=e.Math.max(r,o.b);this.a=new KV(i,a,n-i,r-a)}function kIt(t,e){var n,r,i,a;for(r=new zd(t.b);r.a<r.c.c.length;)for(a=new zd(QH(J1(r),29).a);a.a<a.c.c.length;)for((i=QH(J1(a),10)).k==(oxt(),Cse)&&lUt(i,e),n=new oG(YO(hdt(i).a.Kc(),new u));AIt(n);)mst(QH(K5(n),17),e)}function CIt(t){var e,n,r;this.c=t,r=QH(bEt(t,(HXt(),Kpe)),103),e=jy(kF(bEt(t,wpe))),n=jy(kF(bEt(t,Fme))),r==(Qht(),P_e)||r==R_e||r==Q_e?this.b=e*n:this.b=1/(e*n),this.j=jy(kF(bEt(t,Sme))),this.e=jy(kF(bEt(t,Bme))),this.f=t.b.c.length}function EIt(t){var e,n;for(t.e=O9(BNe,lWt,25,t.p.c.length,15,1),t.k=O9(BNe,lWt,25,t.p.c.length,15,1),n=new zd(t.p);n.a<n.c.c.length;)e=QH(J1(n),10),t.e[e.p]=R4(new oG(YO(udt(e).a.Kc(),new u))),t.k[e.p]=R4(new oG(YO(hdt(e).a.Kc(),new u)))}function xIt(t){var e,n,r,i,a;for(r=0,t.q=new Mm,e=new Db,a=new zd(t.p);a.a<a.c.c.length;){for((i=QH(J1(a),10)).p=r,n=new oG(YO(hdt(i).a.Kc(),new u));AIt(n);)Tz(e,QH(K5(n),17).d.i);e.a.Bc(i),zH(t.q,new L$(e)),e.a.$b(),++r}}function _It(){_It=L,Bwe=new zI(20),_we=new GI((cqt(),Gxe),Bwe),Owe=new GI(I_e,20),ywe=new GI(rxe,AZt),Lwe=new GI(p_e,nft(1)),Mwe=new GI(v_e,(cN(),!0)),wwe=uxe,kwe=Fxe,Cwe=Qxe,Ewe=Hxe,Twe=Nxe,xwe=Kxe,Swe=l_e,Fot(),Nwe=bwe,Iwe=gwe}function BIt(t,e){var n,r,i,a,o,s,c,l,u;if(t.a.f>0&&rO(e,42)&&(t.a.qj(),a=null==(c=(l=QH(e,42)).cd())?0:Zct(c),o=tP(t.a,a),n=t.a.d[o]))for(r=QH(n.g,367),u=n.i,s=0;s<u;++s)if((i=r[s]).Sh()==a&&i.Fb(l))return BIt(t,l),!0;return!1}function SIt(t){var e,n,r,i;for(i=QH(c6(t.a,(Mkt(),Cle)),15).Kc();i.Ob();)eX(t,r=QH(i.Pb(),101),(n=(e=AG(r.k)).Hc((yzt(),sSe))?e.Hc(oSe)?e.Hc(CSe)?e.Hc(xSe)?null:Lle:Mle:Ile:Sle)[0],(_it(),Ole),0),eX(t,r,n[1],Nle,1),eX(t,r,n[2],Dle,1)}function LIt(t,e){var n,r;YDt(t,e,n=bRt(e)),nCt(t.a,QH(bEt(gq(e.b),(lqt(),Cfe)),230)),fQt(t),Dkt(t,e),r=O9(BNe,lWt,25,e.b.j.c.length,15,1),cGt(t,e,(yzt(),sSe),r,n),cGt(t,e,oSe,r,n),cGt(t,e,CSe,r,n),cGt(t,e,xSe,r,n),t.a=null,t.c=null,t.b=null}function IIt(){IIt=L,Edt(),oke=new LL(T3t,ske=JTe),ike=new LL(k3t,(cN(),!0)),nft(-1),eke=new LL(C3t,nft(-1)),nft(-1),nke=new LL(E3t,nft(-1)),ake=new LL(x3t,!1),cke=new LL(_3t,!0),rke=new LL(B3t,!1),lke=new LL(S3t,-1)}function MIt(t,e,n){switch(e){case 7:return!t.e&&(t.e=new cR(FLe,t,7,4)),c$t(t.e),!t.e&&(t.e=new cR(FLe,t,7,4)),void pX(t.e,QH(n,14));case 8:return!t.d&&(t.d=new cR(FLe,t,8,5)),c$t(t.d),!t.d&&(t.d=new cR(FLe,t,8,5)),void pX(t.d,QH(n,14))}KTt(t,e,n)}function OIt(t,e){var n,r,i,a,o;if(jS(e)===jS(t))return!0;if(!rO(e,15))return!1;if(o=QH(e,15),t.gc()!=o.gc())return!1;for(a=o.Kc(),r=t.Kc();r.Ob();)if(n=r.Pb(),i=a.Pb(),!(jS(n)===jS(i)||null!=n&&Oht(n,i)))return!1;return!0}function NIt(t,e){var n,r,i,a;for((a=QH(E3(ftt(ftt(new D$(null,new f1(e.b,16)),new Pn),new Rn),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15)).Jc(new Qn),n=0,i=a.Kc();i.Ob();)-1==(r=QH(i.Pb(),11)).p&&QIt(t,r,n++)}function DIt(t){switch(t.g){case 0:return new Eh;case 1:return new lh;case 2:return new ch;case 3:return new yS;case 4:return new PK;default:throw Um(new Py("No implementation is available for the node placer "+(null!=t.f?t.f:""+t.g)))}}function FIt(t){switch(t.g){case 0:return new FK;case 1:return new hh;case 2:return new eh;case 3:return new nh;case 4:return new TS;default:throw Um(new Py("No implementation is available for the cycle breaker "+(null!=t.f?t.f:""+t.g)))}}function PIt(){PIt=L,mTe=new LL(o3t,nft(0)),bTe=new LL(s3t,0),Hlt(),dTe=new LL(c3t,ATe=sTe),nft(0),fTe=new LL(l3t,nft(1)),Uat(),vTe=new LL(u3t,yTe=GTe),N8(),wTe=new LL(h3t,TTe=iTe),Svt(),pTe=new LL(f3t,gTe=HTe)}function RIt(t,e,n){var r;r=null,e&&(r=e.d),WTt(t,new d_(e.n.a-r.b+n.a,e.n.b-r.d+n.b)),WTt(t,new d_(e.n.a-r.b+n.a,e.n.b+e.o.b+r.a+n.b)),WTt(t,new d_(e.n.a+e.o.a+r.c+n.a,e.n.b-r.d+n.b)),WTt(t,new d_(e.n.a+e.o.a+r.c+n.a,e.n.b+e.o.b+r.a+n.b))}function QIt(t,e,n){var r,i,a;for(e.p=n,a=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[new UA(e),new jA(e)])));AIt(a);)-1==(r=QH(K5(a),11)).p&&QIt(t,r,n);if(e.i.k==(oxt(),Ese))for(i=new zd(e.i.j);i.a<i.c.c.length;)(r=QH(J1(i),11))!=e&&-1==r.p&&QIt(t,r,n)}function UIt(t){var n,r,i,a,o;if(a=QH(E3(LZ(i1(t)),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15),i=JJt,a.gc()>=2)for(n=kF((r=a.Kc()).Pb());r.Ob();)o=n,n=kF(r.Pb()),i=e.Math.min(i,(vq(n),n-(vq(o),o)));return i}function HIt(t,e){var n,r,i,a,o;n5(r=new VC,e,r.c.b,r.c);do{for(ED(0!=r.b),n=QH(Let(r,r.a.a),86),t.b[n.g]=1,a=cmt(n.d,0);a.b!=a.d.c;)o=(i=QH(h4(a),188)).c,1==t.b[o.g]?Nj(t.a,i):2==t.b[o.g]?t.b[o.g]=1:n5(r,o,r.c.b,r.c)}while(0!=r.b)}function jIt(t,e){var n,r,i;if(jS(e)===jS(bX(t)))return!0;if(!rO(e,15))return!1;if(r=QH(e,15),(i=t.gc())!=r.gc())return!1;if(rO(r,54)){for(n=0;n<i;n++)if(!fq(t.Xb(n),r.Xb(n)))return!1;return!0}return Gbt(t.Kc(),r.Kc())}function $It(t,e){var n;if(0!=t.c.length){if(2==t.c.length)lUt((u1(0,t.c.length),QH(t.c[0],10)),(zyt(),yBe)),lUt((u1(1,t.c.length),QH(t.c[1],10)),wBe);else for(n=new zd(t);n.a<n.c.c.length;)lUt(QH(J1(n),10),e);t.c=O9(Lte,Hqt,1,0,5,1)}}function KIt(t){var e,n;if(2!=t.c.length)throw Um(new Ry("Order only allowed for two paths."));u1(0,t.c.length),e=QH(t.c[0],17),u1(1,t.c.length),n=QH(t.c[1],17),e.d.i!=n.c.i&&(t.c=O9(Lte,Hqt,1,0,5,1),t.c[t.c.length]=n,t.c[t.c.length]=e)}function GIt(t,e){var n,r,i,a,o;for(r=new g3,a=C3(new Wy(t.g)).a.ec().Kc();a.Ob();){if(!(i=QH(a.Pb(),10))){Bj(e,"There are no classes in a balanced layout.");break}(n=QH(utt(r,o=t.j[i.p]),15))||Ygt(r,o,n=new Mm),n.Fc(i)}return r}function zIt(t,e,n){var r,i,a,o;if(n)for(i=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);i.Ob();)(a=O2(n,QH(i.Pb(),19).a))&&(o=Pnt(D2(a,S6t),e),Xq(t.f,o,a),j6t in a.a&&Irt(o,D2(a,j6t)),ECt(a,o),SBt(a,o))}function XIt(t,e){var n,r,i;for(SCt(e,"Port side processing",1),i=new zd(t.a);i.a<i.c.c.length;)iHt(QH(J1(i),10));for(n=new zd(t.b);n.a<n.c.c.length;)for(r=new zd(QH(J1(n),29).a);r.a<r.c.c.length;)iHt(QH(J1(r),10));Hxt(e)}function qIt(t,e,n){var r,i,a,o,s;if(!(i=t.f)&&(i=QH(t.a.a.ec().Kc().Pb(),57)),Qwt(i,e,n),1!=t.a.a.gc())for(r=e*n,o=t.a.a.ec().Kc();o.Ob();)(a=QH(o.Pb(),57))!=i&&((s=l4(a)).f.d?(a.d.d+=r+uJt,a.d.a-=r+uJt):s.f.a&&(a.d.a-=r+uJt))}function VIt(t,n,r,i,a){var o,s,c,l,u,h,f,d,A;return s=r-t,c=i-n,l=(o=e.Math.atan2(s,c))+YJt,u=o-YJt,h=a*e.Math.sin(l)+t,d=a*e.Math.cos(l)+n,f=a*e.Math.sin(u)+t,A=a*e.Math.cos(u)+n,a6(xst(jw(EEe,1),cVt,8,0,[new OB(h,d),new OB(f,A)]))}function WIt(t,n,r,i){var a,o,s,c,l,u,h,f;a=r,o=h=n;do{o=t.a[o.p],f=t.g[o.p],c=jy(t.p[f.p])+jy(t.d[o.p])-o.d.d,(l=Lrt(o,i))&&(u=t.g[l.p],s=jy(t.p[u.p])+jy(t.d[l.p])+l.o.b+l.d.a,a=e.Math.min(a,c-(s+FM(t.k,o,l))))}while(h!=o);return a}function YIt(t,n,r,i){var a,o,s,c,l,u,h,f;a=r,o=h=n;do{o=t.a[o.p],f=t.g[o.p],s=jy(t.p[f.p])+jy(t.d[o.p])+o.o.b+o.d.a,(l=Rst(o,i))&&(u=t.g[l.p],c=jy(t.p[u.p])+jy(t.d[l.p])-l.d.d,a=e.Math.min(a,c-(s+FM(t.k,o,l))))}while(h!=o);return a}function JIt(t,e){var n,r;return!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),null!=(r=ipt(t.o,e))?r:(rO(n=e.wg(),4)&&(null==n?(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),Xpt(t.o,e)):(!t.o&&(t.o=new b8((_Xt(),kLe),eIe,t,0)),mTt(t.o,e,n))),n)}function ZIt(){ZIt=L,_Be=new jB("H_LEFT",0),xBe=new jB("H_CENTER",1),SBe=new jB("H_RIGHT",2),NBe=new jB("V_TOP",3),OBe=new jB("V_CENTER",4),MBe=new jB("V_BOTTOM",5),LBe=new jB("INSIDE",6),IBe=new jB("OUTSIDE",7),BBe=new jB("H_PRIORITY",8)}function tMt(t){var e,n,r,i,a,o,s;if((e=t.Hh(q8t))&&null!=(s=CF(ipt((!e.b&&(e.b=new WD((pqt(),bMe),KMe,e)),e.b),"settingDelegates")))){for(n=new Mm,a=0,o=(i=yRt(s,"\\w+")).length;a<o;++a)r=i[a],n.c[n.c.length]=r;return n}return CW(),CW(),cne}function eMt(t,e){var n,r,i,a,o,s,c;if(!e.f)throw Um(new Py("The input edge is not a tree edge."));for(a=null,i=Dqt,r=new zd(t.d);r.a<r.c.c.length;)s=(n=QH(J1(r),213)).d,c=n.e,QBt(t,s,e)&&!QBt(t,c,e)&&(o=c.e-s.e-n.a)<i&&(i=o,a=n);return a}function nMt(t){var e,n,r,i,a,o;if(!(t.f.e.c.length<=1)){e=0,i=aIt(t),n=FWt;do{for(e>0&&(i=n),o=new zd(t.f.e);o.a<o.c.c.length;)Hy(TF(bEt(a=QH(J1(o),144),(rwt(),boe))))||(r=JQt(t,a),KP(vL(a.d),r));n=aIt(t)}while(!WX(t,e++,i,n))}}function rMt(t,e){var n,r,i;for(SCt(e,"Layer constraint preprocessing",1),n=new Mm,i=new k2(t.a,0);i.b<i.d.gc();)ED(i.b<i.d.gc()),Xst(r=QH(i.d.Xb(i.c=i.b++),10))&&(iCt(r),n.c[n.c.length]=r,lq(i));0==n.c.length||lct(t,(lqt(),Jhe),n),Hxt(e)}function iMt(t,e){var n,r,i,a,o;for(a=t.g.a,o=t.g.b,r=new zd(t.d);r.a<r.c.c.length;)i=(n=QH(J1(r),70)).n,t.a==(Sst(),mle)||t.i==(yzt(),oSe)?i.a=a:t.a==ble||t.i==(yzt(),xSe)?i.a=a+t.j.a-n.o.a:i.a=a+(t.j.a-n.o.a)/2,i.b=o,KP(i,e),o+=n.o.b+t.e}function aMt(t,e,n){var r,i,a,o;for(SCt(n,"Processor set coordinates",1),t.a=0==e.b.b?1:e.b.b,a=null,r=cmt(e.b,0);!a&&r.b!=r.d.c;)Hy(TF(bEt(o=QH(h4(r),86),(j$t(),dwe))))&&(a=o,(i=o.e).a=QH(bEt(o,Awe),19).a,i.b=0);Rxt(t,Nst(a),bat(n,1)),Hxt(n)}function oMt(t,e,n){var r,i,a;for(SCt(n,"Processor determine the height for each level",1),t.a=0==e.b.b?1:e.b.b,i=null,r=cmt(e.b,0);!i&&r.b!=r.d.c;)Hy(TF(bEt(a=QH(h4(r),86),(j$t(),dwe))))&&(i=a);i&&JDt(t,a6(xst(jw(Vye,1),tZt,86,0,[i])),n),Hxt(n)}function sMt(t,e){var n,r,i,a,o;(a=N2(t,"individualSpacings"))&&(!E9(e,(cqt(),x_e))&&(n=new Js,Wmt(e,x_e,n)),i=QH(JIt(e,x_e),373),r=null,(o=a)&&(r=new TC(o,wit(o,O9(Vee,cVt,2,0,6,1)))),r&&t5(r,new dS(o,i)))}function cMt(t,e){var n,r,i,a,o,s;return a=null,(Y6t in(o=t).a||J6t in o.a||D6t in o.a)&&(s=jst(e),r=N2(o,Y6t),SAt(new Ug(s).a,r),i=N2(o,J6t),BAt(new Wg(s).a,i),n=M2(o,D6t),xkt(new Zg(s).a,n),a=n),a}function lMt(t,e){var n,r,i;if(e===t)return!0;if(rO(e,543)){if(i=QH(e,835),t.a.d!=i.a.d||wV(t).gc()!=wV(i).gc())return!1;for(r=wV(i).Kc();r.Ob();)if(r1(t,(n=QH(r.Pb(),416)).a.cd())!=QH(n.a.dd(),14).gc())return!1;return!0}return!1}function uMt(t){var e,n,r,i;return e=r=QH(t.a,19).a,n=i=QH(t.b,19).a,0==r&&0==i?n-=1:-1==r&&i<=0?(e=0,n-=2):r<=0&&i>0?(e-=1,n-=1):r>=0&&i<0?(e+=1,n+=1):r>0&&i>=0?(e-=1,n+=1):(e+=1,n-=1),new nS(nft(e),nft(n))}function hMt(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?Zct(t.a)-Zct(e.a):t.d==(q3(),Uve)&&e.d==Qve?-1:t.d==Qve&&e.d==Uve?1:0}function fMt(t,e){var n,r,i,a,o;return o=(a=e.a).c.i==e.b?a.d:a.c,r=a.c.i==e.b?a.c:a.d,(i=KAt(t.a,o,r))>0&&i<JJt?(n=WIt(t.a,r.i,i,t.c),rnt(t.a,r.i,-n),n>0):i<0&&-i<JJt&&(n=YIt(t.a,r.i,-i,t.c),rnt(t.a,r.i,n),n>0)}function dMt(t,e,n,r){var i,a,o,s,c,l;for(i=(e-t.d)/t.c.c.length,a=0,t.a+=n,t.d=e,l=new zd(t.c);l.a<l.c.c.length;)s=(c=QH(J1(l),33)).g,o=c.f,xnt(c,c.i+a*i),_nt(c,c.j+r*n),Ent(c,c.g+i),Cnt(c,t.a),++a,hBt(c,new OB(c.g,c.f),new OB(s,o))}function AMt(t){var e,n,r,i,a,o,s;if(null==t)return null;for(s=t.length,o=O9(INe,m6t,25,i=(s+1)/2|0,15,1),s%2!=0&&(o[--i]=JFt((h1(s-1,t.length),t.charCodeAt(s-1)))),n=0,r=0;n<i;++n)e=JFt(lV(t,r++)),a=JFt(lV(t,r++)),o[n]=(e<<4|a)<<24>>24;return o}function pMt(t){if(t.pe()){var e=t.c;return e.qe()?t.o="["+e.n:e.pe()?t.o="["+e.ne():t.o="[L"+e.ne()+";",t.b=e.me()+"[]",void(t.k=e.oe()+"[]")}var n=t.j,r=t.d;r=r.split("/"),t.o=Qpt(".",[n,Qpt("$",r)]),t.b=Qpt(".",[n,Qpt(".",r)]),t.k=r[r.length-1]}function gMt(t,e){var n,r,i,a,o;for(o=null,a=new zd(t.e.a);a.a<a.c.c.length;)if((i=QH(J1(a),121)).b.a.c.length==i.g.a.c.length){for(r=i.e,o=e_t(i),n=i.e-QH(o.a,19).a+1;n<i.e+QH(o.b,19).a;n++)e[n]<e[r]&&(r=n);e[r]<e[i.e]&&(--e[i.e],++e[r],i.e=r)}}function mMt(t){var n,r,i,a,o,s,c;for(i=FWt,r=PWt,n=new zd(t.e.b);n.a<n.c.c.length;)for(o=new zd(QH(J1(n),29).a);o.a<o.c.c.length;)a=QH(J1(o),10),s=(c=jy(t.p[a.p]))+jy(t.b[t.g[a.p].p]),i=e.Math.min(i,c),r=e.Math.max(r,s);return r-i}function bMt(t,e,n,r){var i,a,o,s,c;for(s=0,c=(i=wRt(t,e)).gc();s<c;++s)if(mR(r,vV(Q7(t,a=QH(i.Xb(s),170)))))if(o=yV(Q7(t,a)),null==n){if(null==o)return a}else if(mR(n,o))return a;return null}function vMt(t,e,n,r){var i,a,o,s,c;for(s=0,c=(i=TRt(t,e)).gc();s<c;++s)if(mR(r,vV(Q7(t,a=QH(i.Xb(s),170)))))if(o=yV(Q7(t,a)),null==n){if(null==o)return a}else if(mR(n,o))return a;return null}function yMt(t,e,n){var r,i,a,o,s,c;if(o=new gc,s=aDt(t.e.Tg(),e),r=QH(t.g,119),YE(),QH(e,66).Oj())for(a=0;a<t.i;++a)i=r[a],s.rl(i.ak())&&l8(o,i);else for(a=0;a<t.i;++a)i=r[a],s.rl(i.ak())&&(c=i.dd(),l8(o,n?QSt(t,e,a,o.i,c):c));return M4(o)}function wMt(t,e){var n,r,i,a;for(n=new Hdt(aue),I_t(),i=0,a=(r=xst(jw(aue,1),IVt,227,0,[Yle,Zle,Wle,Jle,tue,Vle])).length;i<a;++i)fP(n,r[i],new Mm);return WC(LV(SV(ftt(new D$(null,new f1(t.b,16)),new Zn),new tr),new cp(e)),new lp(n)),n}function TMt(t,n,r){var i,a,o,s,c,l,u,h;for(o=n.Kc();o.Ob();)l=(a=QH(o.Pb(),33)).i+a.g/2,h=a.j+a.f/2,c=l-((s=t.f).i+s.g/2),u=h-(s.j+s.f/2),i=e.Math.sqrt(c*c+u*u),c*=t.e/i,u*=t.e/i,r?(l-=c,h-=u):(l+=c,h+=u),xnt(a,l-a.g/2),_nt(a,h-a.f/2)}function kMt(t){var e,n,r;if(!t.c&&null!=t.b){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(r=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=r,r=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=r);t.c=!0}}function CMt(t,e){var n,r,i,a,o,s;for(a=(1==e?zoe:Goe).a.ec().Kc();a.Ob();)for(i=QH(a.Pb(),103),s=QH(c6(t.f.c,i),21).Kc();s.Ob();)switch(o=QH(s.Pb(),46),r=QH(o.b,81),n=QH(o.a,189).c,i.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function EMt(t,e){var n,r,i,a,o,s,c,l,u;for(l=-1,u=0,s=0,c=(o=t).length;s<c;++s){for(a=o[s],n=new vj(-1==l?t[0]:t[l],e,(Cut(),abe)),r=0;r<a.length;r++)for(i=r+1;i<a.length;i++)ID(a[r],(lqt(),ffe))&&ID(a[i],ffe)&&uXt(n,a[r],a[i])>0&&++u;++l}return u}function xMt(t){var e;return(e=new uN(JT(t.gm))).a+="@",oL(e,(Zct(t)>>>0).toString(16)),t.kh()?(e.a+=" (eProxyURI: ",aL(e,t.qh()),t.$g()&&(e.a+=" eClass: ",aL(e,t.$g())),e.a+=")"):t.$g()&&(e.a+=" (eClass: ",aL(e,t.$g()),e.a+=")"),e.a}function _Mt(t){var e,n,r;if(t.e)throw Um(new Ry((wF(Are),LYt+Are.k+IYt)));for(t.d==(Qht(),Q_e)&&kGt(t,P_e),n=new zd(t.a.a);n.a<n.c.c.length;)(e=QH(J1(n),307)).g=e.i;for(r=new zd(t.a.b);r.a<r.c.c.length;)QH(J1(r),57).i=PWt;return t.b.Le(t),t}function BMt(t,e){var n,r,i,a,o;if(e<2*t.b)throw Um(new Py("The knot vector must have at least two time the dimension elements."));for(t.f=1,i=0;i<t.b;i++)zH(t.e,0);for(n=o=e+1-2*t.b,a=1;a<o;a++)zH(t.e,a/n);if(t.d)for(r=0;r<t.b;r++)zH(t.e,1)}function SMt(t,e){var n,r,i,a,o;if(a=e,!(o=QH(Grt(EX(t.i),a),33)))throw Um(new tw("Unable to find elk node for json object '"+D2(a,j6t)+"' Panic!"));r=M2(a,"edges"),MSt((n=new aS(t,o)).a,n.b,r),i=M2(a,L6t),Dwt(new Mg(t).a,i)}function LMt(t,e,n,r){var i,a,o,s,c;if(null!=r){if(i=t.d[e])for(a=i.g,c=i.i,s=0;s<c;++s)if((o=QH(a[s],133)).Sh()==n&&Oht(r,o.cd()))return s}else if(i=t.d[e])for(a=i.g,c=i.i,s=0;s<c;++s)if(jS((o=QH(a[s],133)).cd())===jS(r))return s;return-1}function IMt(t,e){var n,r;return rO(n=null==e?HS(SY(t.f,null)):cx(t.g,e),235)?((r=QH(n,235)).Qh(),r):rO(n,498)?((r=QH(n,1938).a)&&(null==r.yb||(null==e?wBt(t.f,null,r):odt(t.g,e,r))),r):null}function MMt(t){var e,n,r,i,a,o,s;if(PFt(),null==t)return null;if((i=t.length)%2!=0)return null;for(e=X7(t),n=O9(INe,m6t,25,a=i/2|0,15,1),r=0;r<a;r++){if(-1==(o=XOe[e[2*r]]))return null;if(-1==(s=XOe[e[2*r+1]]))return null;n[r]=(o<<4|s)<<24>>24}return n}function OMt(t,e,n){var r,i,a;if(!(i=QH(oV(t.i,e),306)))if(i=new det(t.d,e,n),mK(t.i,e,i),agt(e))wO(t.a,e.c,e.b,i);else switch(a=M_t(e),r=QH(oV(t.p,a),244),a.g){case 1:case 3:i.j=!0,yy(r,e.b,i);break;case 4:case 2:i.k=!0,yy(r,e.c,i)}return i}function NMt(t,e,n,r){var i,a,o,s,c,l;if(s=new gc,c=aDt(t.e.Tg(),e),i=QH(t.g,119),YE(),QH(e,66).Oj())for(o=0;o<t.i;++o)a=i[o],c.rl(a.ak())&&l8(s,a);else for(o=0;o<t.i;++o)a=i[o],c.rl(a.ak())&&(l=a.dd(),l8(s,r?QSt(t,e,o,s.i,l):l));return VAt(s,n)}function DMt(t,n){var r,i,a,o,s,c;if((i=t.b[n.p])>=0)return i;for(a=1,o=new zd(n.j);o.a<o.c.c.length;)for(r=new zd(QH(J1(o),11).g);r.a<r.c.c.length;)n!=(c=QH(J1(r),17).d.i)&&(s=DMt(t,c),a=e.Math.max(a,s+1));return nAt(t,n,a),a}function FMt(t,e,n){var r,i,a;for(r=1;r<t.c.length;r++){for(u1(r,t.c.length),a=QH(t.c[r],10),i=r;i>0&&e.ue((u1(i-1,t.c.length),QH(t.c[i-1],10)),a)>0;)r5(t,i,(u1(i-1,t.c.length),QH(t.c[i-1],10))),--i;u1(i,t.c.length),t.c[i]=a}n.a=new Om,n.b=new Om}function PMt(t,e,n){var r,i,a,o,s,c,l;for(l=new VR(r=QH(e.e&&e.e(),9),QH(CP(r,r.length),9),0),o=0,s=(a=yRt(n,"[\\[\\]\\s,]+")).length;o<s;++o)if(0!=FEt(i=a[o]).length){if(null==(c=HSt(t,i)))return null;sit(l,QH(c,22))}return l}function RMt(t){var n,r,i;for(r=new zd(t.a.a.b);r.a<r.c.c.length;)n=QH(J1(r),81),vq(0),(i=0)>0&&((!dI(t.a.c)||!n.n.d)&&(!AI(t.a.c)||!n.n.b)&&(n.g.d-=e.Math.max(0,i/2-.5)),(!dI(t.a.c)||!n.n.a)&&(!AI(t.a.c)||!n.n.c)&&(n.g.a+=e.Math.max(0,i-1)))}function QMt(t,e,n){var r;if(2==(t.c-t.b&t.a.length-1))e==(yzt(),sSe)||e==oSe?(wet(QH(Tct(t),15),(zyt(),yBe)),wet(QH(Tct(t),15),wBe)):(wet(QH(Tct(t),15),(zyt(),wBe)),wet(QH(Tct(t),15),yBe));else for(r=new hV(t);r.a!=r.b;)wet(QH(Rut(r),15),n)}function UMt(t,e){var n,r,i,a,o,s;for(o=new k2(r=UH(new sm(t)),r.c.length),s=new k2(i=UH(new sm(e)),i.c.length),a=null;o.b>0&&s.b>0&&(ED(o.b>0),n=QH(o.a.Xb(o.c=--o.b),33),ED(s.b>0),n==QH(s.a.Xb(s.c=--s.b),33));)a=n;return a}function HMt(t,n){var r,i,a,o;return a=t.a*aYt+1502*t.b,o=t.b*aYt+11,a+=r=e.Math.floor(o*oYt),o-=r*sYt,a%=sYt,t.a=a,t.b=o,n<=24?e.Math.floor(t.a*Bne[n]):((i=t.a*(1<<n-24)+e.Math.floor(t.b*Sne[n]))>=2147483648&&(i-=zWt),i)}function jMt(t,e,n){var r,i,a,o;f0(t,e)>f0(t,n)?(r=adt(n,(yzt(),oSe)),t.d=r.dc()?0:a$(QH(r.Xb(0),11)),o=adt(e,xSe),t.b=o.dc()?0:a$(QH(o.Xb(0),11))):(i=adt(n,(yzt(),xSe)),t.d=i.dc()?0:a$(QH(i.Xb(0),11)),a=adt(e,oSe),t.b=a.dc()?0:a$(QH(a.Xb(0),11)))}function $Mt(t){var e,n,r,i,a,o,s;if(t&&(e=t.Hh(q8t))&&null!=(o=CF(ipt((!e.b&&(e.b=new WD((pqt(),bMe),KMe,e)),e.b),"conversionDelegates")))){for(s=new Mm,i=0,a=(r=yRt(o,"\\w+")).length;i<a;++i)n=r[i],s.c[s.c.length]=n;return s}return CW(),CW(),cne}function KMt(t,e){var n,r,i,a;for(n=t.o.a,a=QH(QH(c6(t.r,e),21),84).Kc();a.Ob();)(i=QH(a.Pb(),111)).e.a=n*jy(kF(i.b.We(Iie))),i.e.b=(r=i.b).Xe((cqt(),i_e))?r.Hf()==(yzt(),sSe)?-r.rf().b-jy(kF(r.We(i_e))):jy(kF(r.We(i_e))):r.Hf()==(yzt(),sSe)?-r.rf().b:0}function GMt(t){var e,n,r,i,a,o,s,c;e=!0,i=null,a=null;t:for(c=new zd(t.a);c.a<c.c.c.length;)for(r=new oG(YO(udt(s=QH(J1(c),10)).a.Kc(),new u));AIt(r);){if(n=QH(K5(r),17),i&&i!=s){e=!1;break t}if(i=s,o=n.c.i,a&&a!=o){e=!1;break t}a=o}return e}function zMt(t,e,n){var r,i,a,o,s,c;for(a=-1,s=-1,o=0;o<e.c.length&&(u1(o,e.c.length),!((i=QH(e.c[o],329)).c>t.c));o++)i.a>=t.s&&(a<0&&(a=o),s=o);return c=(t.s+t.c)/2,a>=0&&(c=HE((u1(r=WPt(t,e,a,s),e.c.length),QH(e.c[r],329))),hLt(e,r,n)),c}function XMt(){XMt=L,uke=new GI((cqt(),rxe),1.3),Ake=yxe,_ke=new zI(15),xke=new GI(Gxe,_ke),Lke=new GI(I_e,15),hke=cxe,yke=Fxe,wke=Qxe,Tke=Hxe,vke=Nxe,kke=Kxe,Bke=l_e,IIt(),Eke=oke,bke=ike,Cke=ake,Ske=cke,pke=rke,gke=xxe,mke=_xe,dke=nke,fke=eke,Ike=lke}function qMt(t,e,n){var r,i,a,o,s;for(Urt(i=new Tc,(vq(e),e)),!i.b&&(i.b=new WD((pqt(),bMe),KMe,i)),s=i.b,o=1;o<n.length;o+=2)mTt(s,n[o-1],n[o]);for(!t.Ab&&(t.Ab=new tz(DIe,t,0,3)),r=t.Ab,a=0;a<0;++a)r=mq(QH(Xet(r,r.i-1),590));l8(r,i)}function VMt(t,e,n){var r,i,a;for(IF.call(this,new Mm),this.a=e,this.b=n,this.e=t,t.b&&qHt(t),r=t.a,this.d=WV(r.a,this.a),this.c=WV(r.b,this.b),sdt(this,this.d,this.c),bSt(this),a=this.e.e.a.ec().Kc();a.Ob();)(i=QH(a.Pb(),266)).c.c.length>0&&N$t(this,i)}function WMt(t,e,n,r,i,a){var o,s,c;if(!i[e.b]){for(i[e.b]=!0,!(o=r)&&(o=new b6),zH(o.e,e),c=a[e.b].Kc();c.Ob();)(s=QH(c.Pb(),282)).d!=n&&s.c!=n&&(s.c!=e&&WMt(t,s.c,e,o,i,a),s.d!=e&&WMt(t,s.d,e,o,i,a),zH(o.c,s),pst(o.d,s.b));return o}return null}function YMt(t){var e,n,r;for(e=0,n=new zd(t.e);n.a<n.c.c.length;)o5(new D$(null,new f1(QH(J1(n),17).b,16)),new mn)&&++e;for(r=new zd(t.g);r.a<r.c.c.length;)o5(new D$(null,new f1(QH(J1(r),17).b,16)),new bn)&&++e;return e>=2}function JMt(t,e){var n,r,i,a;for(SCt(e,"Self-Loop pre-processing",1),r=new zd(t.a);r.a<r.c.c.length;)Pdt(n=QH(J1(r),10))&&(a=new Sgt(n),lct(n,(lqt(),Bfe),a),yQt(a),WC(LV(ftt(new D$(null,new f1((i=a).d,16)),new jr),new $r),new Kr),nDt(i));Hxt(e)}function ZMt(t,e,n,r,i){var a,o,s,c,l;for(a=t.c.d.j,o=QH(Dmt(n,0),8),l=1;l<n.b;l++)c=QH(Dmt(n,l),8),n5(r,o,r.c.b,r.c),s=vO(KP(new fI(o),c),.5),KP(s,vO(new GZ(llt(a)),i)),n5(r,s,r.c.b,r.c),o=c,a=0==e?Cft(a):Tft(a);Nj(r,(ED(0!=n.b),QH(n.c.b.c,8)))}function tOt(t){return ZIt(),!(_ot(BJ(wK(LBe,xst(jw(jBe,1),IVt,93,0,[IBe])),t))>1||_ot(BJ(wK(_Be,xst(jw(jBe,1),IVt,93,0,[xBe,SBe])),t))>1||_ot(BJ(wK(NBe,xst(jw(jBe,1),IVt,93,0,[OBe,MBe])),t))>1)}function eOt(t,e){var n,r,i;return(n=e.Hh(t.a))&&null!=(i=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),"affiliation")))?-1==(r=mN(i,WCt(35)))?oft(t,iG(t,Get(e.Hj())),i):0==r?oft(t,null,i.substr(1)):oft(t,i.substr(0,r),i.substr(r+1)):null}function nOt(t){var e,n;try{return null==t?Kqt:Udt(t)}catch(r){if(rO(r=hst(r),102))return e=r,n=JT(tlt(t))+"@"+(LC(),(ebt(t)>>>0).toString(16)),Pgt(wst(),(uE(),"Exception during lenientFormat for "+n),e),"<"+n+" threw "+JT(e.gm)+">";throw Um(r)}}function rOt(t){switch(t.g){case 0:return new ah;case 1:return new th;case 2:return new LE;case 3:return new Sa;case 4:return new DP;case 5:return new oh;default:throw Um(new Py("No implementation is available for the layerer "+(null!=t.f?t.f:""+t.g)))}}function iOt(t,e,n){var r,i,a;for(a=new zd(t.t);a.a<a.c.c.length;)(r=QH(J1(a),268)).b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&Nj(e,r.b));for(i=new zd(t.i);i.a<i.c.c.length;)(r=QH(J1(i),268)).a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&Nj(n,r.a))}function aOt(t){var e,n,r;if(null==t.g&&(t.d=t.si(t.f),l8(t,t.d),t.c))return t.f;if(r=(e=QH(t.g[t.i-1],47)).Pb(),t.e=e,(n=t.si(r)).Ob())t.d=n,l8(t,n);else for(t.d=null;!e.Ob()&&(LX(t.g,--t.i,null),0!=t.i);)e=QH(t.g[t.i-1],47);return r}function oOt(t,e){var n,r,i,a,o,s;if(i=(r=e).ak(),IDt(t.e,i)){if(i.hi()&&j4(t,i,r.dd()))return!1}else for(s=aDt(t.e.Tg(),i),n=QH(t.g,119),a=0;a<t.i;++a)if(o=n[a],s.rl(o.ak()))return!Oht(o,r)&&(QH(sbt(t,a,e),72),!0);return l8(t,e)}function sOt(t,n,r,i){var a,o,s;for(Qf(a=new Ibt(t),(oxt(),Cse)),lct(a,(lqt(),dfe),n),lct(a,Efe,i),lct(a,(HXt(),tme),(Vkt(),GBe)),lct(a,cfe,n.c),lct(a,lfe,n.d),KDt(n,a),s=e.Math.floor(r/2),o=new zd(a.j);o.a<o.c.c.length;)QH(J1(o),11).n.b=s;return a}function cOt(t,e){var n,r,i,a,o,s,c,l,u;for(c=sD(t.c-t.b&t.a.length-1),l=null,u=null,a=new hV(t);a.a!=a.b;)i=QH(Rut(a),10),n=(s=QH(bEt(i,(lqt(),cfe)),11))?s.i:null,r=(o=QH(bEt(i,lfe),11))?o.i:null,l==n&&u==r||($It(c,e),l=n,u=r),c.c[c.c.length]=i;$It(c,e)}function lOt(t){var n,r,i,a,o,s;for(n=0,r=new zd(t.a);r.a<r.c.c.length;)for(a=new oG(YO(hdt(QH(J1(r),10)).a.Kc(),new u));AIt(a);)t==(i=QH(K5(a),17)).d.i.c&&i.c.j==(yzt(),xSe)&&(o=A1(i.c).b,s=A1(i.d).b,n=e.Math.max(n,e.Math.abs(s-o)));return n}function uOt(t,e,n){var r,i;SCt(n,"Remove overlaps",1),n.n&&e&&b0(n,o2(e),(Ult(),aLe)),r=QH(JIt(e,(fF(),Xwe)),33),t.f=r,t.a=Tbt(QH(JIt(e,(Gyt(),DTe)),293)),ed(t,(vq(i=kF(JIt(e,(cqt(),I_e)))),i)),zGt(t,e,dFt(r),n),n.n&&e&&b0(n,o2(e),(Ult(),aLe))}function hOt(t,n,r){switch(r.g){case 1:return new OB(n.a,e.Math.min(t.d.b,n.b));case 2:return new OB(e.Math.max(t.c.a,n.a),n.b);case 3:return new OB(n.a,e.Math.max(t.c.b,n.b));case 4:return new OB(e.Math.min(n.a,t.d.a),n.b)}return new OB(n.a,n.b)}function fOt(t,e,n,r){var i,a,o,s,c,l,u,h,f;for(h=r?(yzt(),xSe):(yzt(),oSe),i=!1,l=0,u=(c=e[n]).length;l<u;++l)IR(QH(bEt(s=c[l],(HXt(),tme)),98))||(o=s.e,(f=!adt(s,h).dc()&&!!o)&&(a=jkt(o),t.b=new Kkt(a,r?0:a.length-1)),i|=iQt(t,s,h,f));return i}function dOt(t){var e,n,r;for(zH(e=sD(1+(!t.c&&(t.c=new tz(KLe,t,9,9)),t.c).i),(!t.d&&(t.d=new cR(FLe,t,8,5)),t.d)),r=new SO((!t.c&&(t.c=new tz(KLe,t,9,9)),t.c));r.e!=r.i.gc();)zH(e,(!(n=QH(ymt(r),118)).d&&(n.d=new cR(FLe,n,8,5)),n.d));return bX(e),new BL(e)}function AOt(t){var e,n,r;for(zH(e=sD(1+(!t.c&&(t.c=new tz(KLe,t,9,9)),t.c).i),(!t.e&&(t.e=new cR(FLe,t,7,4)),t.e)),r=new SO((!t.c&&(t.c=new tz(KLe,t,9,9)),t.c));r.e!=r.i.gc();)zH(e,(!(n=QH(ymt(r),118)).e&&(n.e=new cR(FLe,n,7,4)),n.e));return bX(e),new BL(e)}function pOt(t){var e,n,r,i;if(null==t)return null;if(r=QHt(t,!0),i=N7t.length,mR(r.substr(r.length-i,i),N7t))if(4==(n=r.length)){if(h1(0,r.length),43==(e=r.charCodeAt(0)))return QOe;if(45==e)return ROe}else if(3==n)return QOe;return fxt(r)}function gOt(t){var e,n,r,i;for(e=0,n=0,i=new zd(t.j);i.a<i.c.c.length;)if(e=dK(rdt(e,H6(SV(new D$(null,new f1((r=QH(J1(i),11)).e,16)),new Ya)))),n=dK(rdt(n,H6(SV(new D$(null,new f1(r.g,16)),new Ja)))),e>1||n>1)return 2;return e+n==1?2:0}function mOt(t,e,n){var r,i,a,o;for(SCt(n,"ELK Force",1),Hy(TF(JIt(e,(uPt(),zae))))||yJ(new TA((jE(),new Ny(e)))),ywt(o=uct(e)),Kct(t,QH(bEt(o,jae),424)),i=(a=HUt(t.a,o)).Kc();i.Ob();)r=QH(i.Pb(),231),xRt(t.b,r,bat(n,1/a.gc()));Ezt(o=$zt(a)),Hxt(n)}function bOt(t,e){var n,r,i;if(SCt(e,"Breaking Point Processor",1),SGt(t),Hy(TF(bEt(t,(HXt(),jme))))){for(r=new zd(t.b);r.a<r.c.c.length;)for(n=0,i=new zd(QH(J1(r),29).a);i.a<i.c.c.length;)QH(J1(i),10).p=n++;sjt(t),HDt(t,!0),HDt(t,!1)}Hxt(e)}function vOt(t,e,n){var r,i,a,o,s;for(o=t.c,a=(n.q?n.q:(CW(),CW(),lne)).vc().Kc();a.Ob();)i=QH(a.Pb(),42),!yk(SV(new D$(null,new f1(o,16)),new iA(new IB(e,i)))).sd((dE(),Zne))&&(rO(s=i.dd(),4)&&null!=(r=Ypt(s))&&(s=r),e.Ye(QH(i.cd(),146),s))}function yOt(t,e){var n,r,i,a;if(e){for(a=!(i=rO(t.Cb,88)||rO(t.Cb,99))&&rO(t.Cb,322),n=new SO((!e.a&&(e.a=new iK(e,zIe,e)),e.a));n.e!=n.i.gc();)if(r=hUt(QH(ymt(n),87)),i?rO(r,88):a?rO(r,148):r)return r;return i?(pqt(),fMe):(pqt(),lMe)}return null}function wOt(t,e){var n,r,i,a,o;for(SCt(e,"Constraints Postprocessor",1),a=0,i=new zd(t.b);i.a<i.c.c.length;){for(o=0,r=new zd(QH(J1(i),29).a);r.a<r.c.c.length;)(n=QH(J1(r),10)).k==(oxt(),xse)&&(lct(n,(HXt(),yge),nft(a)),lct(n,Qpe,nft(o)),++o);++a}Hxt(e)}function TOt(t,e,n,r){var i,a,o,s,c,l;for(GP(s=new OB(n,r),QH(bEt(e,(j$t(),Jye)),8)),l=cmt(e.b,0);l.b!=l.d.c;)KP((c=QH(h4(l),86)).e,s),Nj(t.b,c);for(o=cmt(e.a,0);o.b!=o.d.c;){for(i=cmt((a=QH(h4(o),188)).a,0);i.b!=i.d.c;)KP(QH(h4(i),8),s);Nj(t.a,a)}}function kOt(t,e,n){var r,i,a;if(!(a=Q$t((B_t(),WMe),t.Tg(),e)))throw Um(new Py(r6t+e.ne()+i6t));if(YE(),!QH(a,66).Oj()&&!(a=Y1(Q7(WMe,a))))throw Um(new Py(r6t+e.ne()+i6t));i=QH((r=t.Yg(a))>=0?t._g(r,!0,!0):iLt(t,a,!0),153),QH(i,215).ml(e,n)}function COt(t,e){var n,r,i,a,o;for(n=new Mm,i=ftt(new D$(null,new f1(t,16)),new Co),a=ftt(new D$(null,new f1(t,16)),new Eo),o=k7(U6(IV(ENt(xst(jw(tre,1),Hqt,833,0,[i,a])),new xo))),r=1;r<o.length;r++)o[r]-o[r-1]>=2*e&&zH(n,new vH(o[r-1]+e,o[r]-e));return n}function EOt(t,e,n){SCt(n,"Eades radial",1),n.n&&e&&b0(n,o2(e),(Ult(),aLe)),t.d=QH(JIt(e,(fF(),Xwe)),33),t.c=jy(kF(JIt(e,(Gyt(),NTe)))),t.e=Tbt(QH(JIt(e,DTe),293)),t.a=hAt(QH(JIt(e,PTe),426)),t.b=jTt(QH(JIt(e,LTe),340)),rTt(t),n.n&&e&&b0(n,o2(e),(Ult(),aLe))}function xOt(t,e,n){var r,i,a,o,s;if(n)for(a=((r=new cG(n.a.length)).b-r.a)*r.c<0?(tx(),TNe):new GO(r);a.Ob();)(i=O2(n,QH(a.Pb(),19).a))&&(Irt(o=L4(t,(ZT(),s=new wv,!!e&&UOt(s,e),s),i),D2(i,j6t)),ECt(i,o),SBt(i,o),Nct(t,i,o))}function _Ot(t){var e,n,r,i;if(!t.j){if(i=new Sc,null==(e=CMe).a.zc(t,e)){for(r=new SO(vY(t));r.e!=r.i.gc();)pX(i,_Ot(n=QH(ymt(r),26))),l8(i,n);e.a.Bc(t)}iut(i),t.j=new ML((QH(Xet(qW((qX(),JIe).o),11),18),i.i),i.g),E5(t).b&=-33}return t.j}function BOt(t){var e,n,r,i;if(null==t)return null;if(r=QHt(t,!0),i=N7t.length,mR(r.substr(r.length-i,i),N7t))if(4==(n=r.length)){if(h1(0,r.length),43==(e=r.charCodeAt(0)))return HOe;if(45==e)return UOe}else if(3==n)return HOe;return new Nb(r)}function SOt(t){var e,n,r;return 0!=((n=t.l)&n-1)||0!=((r=t.m)&r-1)||0!=((e=t.h)&e-1)||0==e&&0==r&&0==n?-1:0==e&&0==r&&0!=n?prt(n):0==e&&0!=r&&0==n?prt(r)+22:0!=e&&0==r&&0==n?prt(e)+44:-1}function LOt(t,e){var n,r,i,a;for(SCt(e,"Edge joining",1),n=Hy(TF(bEt(t,(HXt(),Nme)))),r=new zd(t.b);r.a<r.c.c.length;)for(a=new k2(QH(J1(r),29).a,0);a.b<a.d.gc();)ED(a.b<a.d.gc()),(i=QH(a.d.Xb(a.c=a.b++),10)).k==(oxt(),Ese)&&(rKt(i,n),lq(a));Hxt(e)}function IOt(t,e,n){var r;if(c2(t.b),xz(t.b,(xdt(),Uke),(BE(),jCe)),xz(t.b,Hke,e.g),xz(t.b,jke,e.a),t.a=I$t(t.b,e),SCt(n,"Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(r=new zd(t.a);r.a<r.c.c.length;)QH(J1(r),51).pf(e,bat(n,1));Hxt(n)}function MOt(t,e){var n,r,i,a,o;for(i=e.a&t.f,a=null,r=t.b[i];;r=r.b){if(r==e){a?a.b=e.b:t.b[i]=e.b;break}a=r}for(o=e.f&t.f,a=null,n=t.c[o];;n=n.d){if(n==e){a?a.d=e.d:t.c[o]=e.d;break}a=n}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}function OOt(t){var n,r,i,a,o,s,c,l,u,h;for(r=t.o,n=t.p,s=Dqt,a=RVt,c=Dqt,o=RVt,u=0;u<r;++u)for(h=0;h<n;++h)mvt(t,u,h)&&(s=e.Math.min(s,u),a=e.Math.max(a,u),c=e.Math.min(c,h),o=e.Math.max(o,h));return l=a-s+1,i=o-c+1,new XV(nft(s),nft(c),nft(l),nft(i))}function NOt(t,e){var n,r,i,a;for(ED((a=new k2(t,0)).b<a.d.gc()),n=QH(a.d.Xb(a.c=a.b++),140);a.b<a.d.gc();)ED(a.b<a.d.gc()),i=new mj((r=QH(a.d.Xb(a.c=a.b++),140)).c,n.d,e),ED(a.b>0),a.a.Xb(a.c=--a.b),bP(a,i),ED(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),i.a=!1,n=r}function DOt(t){var e,n,r,i,a;for(r=QH(bEt(t,(lqt(),Fhe)),11),a=new zd(t.j);a.a<a.c.c.length;){for(n=new zd((i=QH(J1(a),11)).g);n.a<n.c.c.length;)return kZ(QH(J1(n),17),r),i;for(e=new zd(i.e);e.a<e.c.c.length;)return CZ(QH(J1(e),17),r),i}return null}function FOt(t,n,r){var i,a;qut(i=uot(r.q.getTime()),0)<0?(a=qVt-dK(hpt(y7(i),qVt)))==qVt&&(a=0):a=dK(hpt(i,qVt)),1==n?OX(t,48+(a=e.Math.min((a+50)/100|0,9))&VVt):2==n?wtt(t,a=e.Math.min((a+5)/10|0,99),2):(wtt(t,a,3),n>3&&wtt(t,0,n-3))}function POt(t){var e,n,r,i;return jS(bEt(t,(HXt(),sge)))===jS((oht(),pBe))?!t.e&&jS(bEt(t,Dpe))!==jS((Pot(),vhe)):(r=QH(bEt(t,Fpe),292),i=Hy(TF(bEt(t,Upe)))||jS(bEt(t,Hpe))===jS((Srt(),sue)),e=QH(bEt(t,Npe),19).a,n=t.a.c.length,!i&&r!=(Pot(),vhe)&&(0==e||e>n))}function ROt(t){var e,n;for(n=0;n<t.c.length&&!(s$((u1(n,t.c.length),QH(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(s$((u1(e,t.c.length),QH(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function QOt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=6&&e){if(mwt(t,e))throw Um(new Py(d6t+FLt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?cwt(t,r):t.Cb.ih(t,-1-n,null,r)),e&&(r=Omt(e,t,6,r)),(r=qF(t,e,r))&&r.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,6,e,e))}function UOt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=9&&e){if(mwt(t,e))throw Um(new Py(d6t+GPt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?uwt(t,r):t.Cb.ih(t,-1-n,null,r)),e&&(r=Omt(e,t,9,r)),(r=VF(t,e,r))&&r.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,9,e,e))}function HOt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(mwt(t,e))throw Um(new Py(d6t+hjt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?Cwt(t,r):t.Cb.ih(t,-1-n,null,r)),e&&(r=Omt(e,t,12,r)),(r=XF(t,e,r))&&r.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,3,e,e))}function jOt(t){var e,n,r,i,a;if(r=Bwt(t),null==(a=t.j)&&r)return t.$j()?null:r.zj();if(rO(r,148)){if((n=r.Aj())&&(i=n.Nh())!=t.i){if((e=QH(r,148)).Ej())try{t.g=i.Kh(e,a)}catch(e){if(!rO(e=hst(e),78))throw Um(e);t.g=null}t.i=i}return t.g}return null}function $Ot(t){var e;return zH(e=new Mm,new Ox(new OB(t.c,t.d),new OB(t.c+t.b,t.d))),zH(e,new Ox(new OB(t.c,t.d),new OB(t.c,t.d+t.a))),zH(e,new Ox(new OB(t.c+t.b,t.d+t.a),new OB(t.c+t.b,t.d))),zH(e,new Ox(new OB(t.c+t.b,t.d+t.a),new OB(t.c,t.d+t.a))),e}function KOt(t,e,n,r){var i,a,o;if(o=LTt(e,n),r.c[r.c.length]=e,-1==t.j[o.p]||2==t.j[o.p]||t.a[e.p])return r;for(t.j[o.p]=-1,a=new oG(YO(ldt(o).a.Kc(),new u));AIt(a);)if(!h5(i=QH(K5(a),17))&&(h5(i)||i.c.i.c!=i.d.i.c)&&i!=e)return KOt(t,i,o,r);return r}function GOt(t,e,n){var r,i;for(i=e.a.ec().Kc();i.Ob();)r=QH(i.Pb(),79),!QH(DX(t.b,r),266)&&(WJ(xEt(r))==WJ(SEt(r))?tFt(t,r,n):xEt(r)==WJ(SEt(r))?null==DX(t.c,r)&&null!=DX(t.b,SEt(r))&&rGt(t,r,n,!1):null==DX(t.d,r)&&null!=DX(t.b,xEt(r))&&rGt(t,r,n,!0))}function zOt(t,e){var n,r,i,a,o,s,c;for(i=t.Kc();i.Ob();)for(r=QH(i.Pb(),10),xZ(s=new _xt,r),jBt(s,(yzt(),oSe)),lct(s,(lqt(),yfe),(cN(),!0)),o=e.Kc();o.Ob();)a=QH(o.Pb(),10),xZ(c=new _xt,a),jBt(c,xSe),lct(c,yfe,!0),lct(n=new fY,yfe,!0),CZ(n,s),kZ(n,c)}function XOt(t,e,n,r){var i,a,o,s;i=Lpt(t,e,n),a=Lpt(t,n,e),o=QH(DX(t.c,e),112),s=QH(DX(t.c,n),112),i<a?new $Z((B6(),kye),o,s,a-i):a<i?new $Z((B6(),kye),s,o,i-a):(0!=i||e.i&&n.i&&r[e.i.c][n.i.c])&&(new $Z((B6(),kye),o,s,0),new $Z(kye,s,o,0))}function qOt(t,e){var n,r,i,a,o,s;for(i=0,o=new zd(e.a);o.a<o.c.c.length;)for(i+=(a=QH(J1(o),10)).o.b+a.d.a+a.d.d+t.e,r=new oG(YO(udt(a).a.Kc(),new u));AIt(r);)(n=QH(K5(r),17)).c.i.k==(oxt(),_se)&&(i+=(s=QH(bEt(n.c.i,(lqt(),dfe)),10)).o.b+s.d.a+s.d.d);return i}function VOt(t,e,n){var r,i,a,o,s,c,l;for(a=new Mm,SHt(t,l=new VC,o=new VC,e),TGt(t,l,o,e,n),c=new zd(t);c.a<c.c.c.length;)for(i=new zd((s=QH(J1(c),112)).k);i.a<i.c.c.length;)r=QH(J1(i),129),(!e||r.c==(B6(),Tye))&&s.g>r.b.g&&(a.c[a.c.length]=r);return a}function WOt(){WOt=L,Nke=new yB("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Oke=new yB("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),Fke=new yB("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),Dke=new yB("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),Pke=new yB("WHOLE_DRAWING",4)}function YOt(t,e){if(rO(e,239))return lft(t,QH(e,33));if(rO(e,186))return Dft(t,QH(e,118));if(rO(e,354))return ZV(t,QH(e,137));if(rO(e,352))return YUt(t,QH(e,79));if(e)return null;throw Um(new Py(K6t+MEt(new Wy(xst(jw(Lte,1),Hqt,1,5,[e])))))}function JOt(t){var e,n,r,i,a,o,s;for(a=new VC,i=new zd(t.d.a);i.a<i.c.c.length;)0==(r=QH(J1(i),121)).b.a.c.length&&n5(a,r,a.c.b,a.c);if(a.b>1)for(e=SN((n=new Hb,++t.b,n),t.d),s=cmt(a,0);s.b!=s.d.c;)o=QH(h4(s),121),GNt(iE(rE(aE(nE(new Ub,1),0),e),o))}function ZOt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=11&&e){if(mwt(t,e))throw Um(new Py(d6t+KPt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?Ewt(t,r):t.Cb.ih(t,-1-n,null,r)),e&&(r=Omt(e,t,10,r)),(r=$P(t,e,r))&&r.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,11,e,e))}function tNt(t){var e,n,r,i;for(r=new olt(new Ed(t.b).a);r.b;)i=QH((n=tnt(r)).cd(),11),lct(e=QH(n.dd(),10),(lqt(),dfe),i),lct(i,wfe,e),lct(i,tfe,(cN(),!0)),jBt(i,QH(bEt(e,qhe),61)),bEt(e,qhe),lct(i.i,(HXt(),tme),(Vkt(),XBe)),QH(bEt(gq(i.i),Yhe),21).Fc((fFt(),dhe))}function eNt(t,e,n){var r,i,a;if(r=0,i=0,t.c)for(a=new zd(t.d.i.j);a.a<a.c.c.length;)r+=QH(J1(a),11).e.c.length;else r=1;if(t.d)for(a=new zd(t.c.i.j);a.a<a.c.c.length;)i+=QH(J1(a),11).g.c.length;else i=1;return(n+e)/2+.4*xJ(Uj(i-r))*(n-e)}function nNt(t){var e,n;if(Mkt(),t.Hc((yzt(),ESe)))throw Um(new Py("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return kle;case 2:return e=t.Hc(oSe)&&t.Hc(xSe),n=t.Hc(sSe)&&t.Hc(CSe),e||n?xle:Ele;case 3:return Cle;case 4:return Tle;default:return null}}function rNt(t,e,n){var r,i,a,o;for(SCt(n,"Breaking Point Removing",1),t.a=QH(bEt(e,(HXt(),Ype)),218),i=new zd(e.b);i.a<i.c.c.length;)for(o=new zd(i0(QH(J1(i),29).a));o.a<o.c.c.length;)Wtt(a=QH(J1(o),10))&&!(r=QH(bEt(a,(lqt(),Dhe)),305)).d&&Kzt(t,r);Hxt(n)}function iNt(t,e,n){return wFt(),(!Dat(t,e)||!Dat(t,n))&&(bGt(new OB(t.c,t.d),new OB(t.c+t.b,t.d),e,n)||bGt(new OB(t.c+t.b,t.d),new OB(t.c+t.b,t.d+t.a),e,n)||bGt(new OB(t.c+t.b,t.d+t.a),new OB(t.c,t.d+t.a),e,n)||bGt(new OB(t.c,t.d+t.a),new OB(t.c,t.d),e,n))}function aNt(t,e){var n,r,i,a;if(!t.dc())for(n=0,r=t.gc();n<r;++n)if(null==(a=CF(t.Xb(n)))?null==e:mR(a.substr(0,3),"!##")?null!=e&&(i=e.length,!mR(a.substr(a.length-i,i),e)||a.length!=e.length+3)&&!mR(E7t,e):mR(a,x7t)&&!mR(E7t,e)||mR(a,e))return!0;return!1}function oNt(t,e,n,r){var i,a,o,s,c,l;for(o=t.j.c.length,c=O9(iie,rJt,306,o,0,1),s=0;s<o;s++)(a=QH(O$(t.j,s),11)).p=s,c[s]=lLt(bIt(a),n,r);for(qNt(t,c,n,e,r),l=new Om,i=0;i<c.length;i++)c[i]&&Xq(l,QH(O$(t.j,i),11),c[i]);l.f.c+l.g.c!=0&&(lct(t,(lqt(),$he),l),Lxt(t,c))}function sNt(t,e,n){var r,i;for(r=new zd(t.a.b);r.a<r.c.c.length;)if((i=l2(QH(J1(r),57)))&&i.k==(oxt(),kse))switch(QH(bEt(i,(lqt(),qhe)),61).g){case 4:i.n.a=e.a;break;case 2:i.n.a=n.a-(i.o.a+i.d.c);break;case 1:i.n.b=e.b;break;case 3:i.n.b=n.b-(i.o.b+i.d.a)}}function cNt(){cNt=L,_be=new U_(VZt,0),Tbe=new U_("NIKOLOV",1),Ebe=new U_("NIKOLOV_PIXEL",2),kbe=new U_("NIKOLOV_IMPROVED",3),Cbe=new U_("NIKOLOV_IMPROVED_PIXEL",4),wbe=new U_("DUMMYNODE_PERCENTAGE",5),xbe=new U_("NODECOUNT_PERCENTAGE",6),Bbe=new U_("NO_BOUNDARY",7)}function lNt(t,e,n){var r,i,a;if(!(i=QH(JIt(e,(EEt(),KEe)),19))&&(i=nft(0)),!(a=QH(JIt(n,KEe),19))&&(a=nft(0)),i.a>a.a)return-1;if(i.a<a.a)return 1;if(t.a){if(0!=(r=xft(e.j,n.j)))return r;if(0!=(r=xft(e.i,n.i)))return r}return xft(e.g*e.f,n.g*n.f)}function uNt(t,e){var n,r,i,a,o,s,c,l,u,h;if(++t.e,e>(c=null==t.d?0:t.d.length)){for(u=t.d,t.d=O9(sIe,i8t,63,2*c+4,0,1),a=0;a<c;++a)if(l=u[a])for(r=l.g,h=l.i,s=0;s<h;++s)o=tP(t,(i=QH(r[s],133)).Sh()),!(n=t.d[o])&&(n=t.d[o]=t.uj()),n.Fc(i);return!0}return!1}function hNt(t,e,n){var r,i,a,o,s,c;if(a=(i=n).ak(),IDt(t.e,a)){if(a.hi())for(r=QH(t.g,119),o=0;o<t.i;++o)if(Oht(s=r[o],i)&&o!=e)throw Um(new Py(a9t))}else for(c=aDt(t.e.Tg(),a),r=QH(t.g,119),o=0;o<t.i;++o)if(s=r[o],c.rl(s.ak()))throw Um(new Py(B7t));cft(t,e,n)}function fNt(t,e){var n,r,i,a,o,s;for(n=QH(bEt(e,(lqt(),Ghe)),21),o=QH(c6((FXt(),lse),n),21),s=QH(c6(pse,n),21),a=o.Kc();a.Ob();)if(r=QH(a.Pb(),21),!QH(c6(t.b,r),15).dc())return!1;for(i=s.Kc();i.Ob();)if(r=QH(i.Pb(),21),!QH(c6(t.b,r),15).dc())return!1;return!0}function dNt(t,e){var n,r,i;for(SCt(e,"Partition postprocessing",1),n=new zd(t.b);n.a<n.c.c.length;)for(r=new zd(QH(J1(n),29).a);r.a<r.c.c.length;)for(i=new zd(QH(J1(r),10).j);i.a<i.c.c.length;)Hy(TF(bEt(QH(J1(i),11),(lqt(),yfe))))&&Sz(i);Hxt(e)}function ANt(t,e){var n,r,i,a,o,s,c;if(1==t.a.c.length)return Qxt(QH(O$(t.a,0),187),e);for(i=iht(t),o=0,s=t.d,r=i,c=t.d,a=(s-r)/2+r;r+1<s;){for(o=0,n=new zd(t.a);n.a<n.c.c.length;)o+=ijt(QH(J1(n),187),a,!1).a;o<e?(c=a,s=a):r=a,a=(s-r)/2+r}return c}function pNt(t){var e,n,r,i;return isNaN(t)?(G7(),pee):t<-0x8000000000000000?(G7(),dee):t>=0x8000000000000000?(G7(),fee):(r=!1,t<0&&(r=!0,t=-t),n=0,t>=SWt&&(t-=(n=xJ(t/SWt))*SWt),e=0,t>=BWt&&(t-=(e=xJ(t/BWt))*BWt),i=kM(xJ(t),e,n),r&&Sct(i),i)}function gNt(t,e){var n,r,i,a;for(n=!e||!t.u.Hc((hSt(),tSe)),a=0,i=new zd(t.e.Cf());i.a<i.c.c.length;){if((r=QH(J1(i),838)).Hf()==(yzt(),ESe))throw Um(new Py("Label and node size calculator can only be used with ports that have port sides assigned."));r.vf(a++),Xut(t,r,n)}}function mNt(t,e){var n,r,i,a;return(r=e.Hh(t.a))&&(!r.b&&(r.b=new WD((pqt(),bMe),KMe,r)),null!=(n=CF(ipt(r.b,Y8t)))&&rO(a=-1==(i=n.lastIndexOf("#"))?aF(t,e.Aj(),n):0==i?k8(t,null,n.substr(1)):k8(t,n.substr(0,i),n.substr(i+1)),148))?QH(a,148):null}function bNt(t,e){var n,r,i,a;return(n=e.Hh(t.a))&&(!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),null!=(i=CF(ipt(n.b,y7t)))&&rO(a=-1==(r=i.lastIndexOf("#"))?aF(t,e.Aj(),i):0==r?k8(t,null,i.substr(1)):k8(t,i.substr(0,r),i.substr(r+1)),148))?QH(a,148):null}function vNt(t){var e,n,r,i,a;for(n=new zd(t.a.a);n.a<n.c.c.length;){for((e=QH(J1(n),307)).j=null,a=e.a.a.ec().Kc();a.Ob();)vL((r=QH(a.Pb(),57)).b),(!e.j||r.d.c<e.j.d.c)&&(e.j=r);for(i=e.a.a.ec().Kc();i.Ob();)(r=QH(i.Pb(),57)).b.a=r.d.c-e.j.d.c,r.b.b=r.d.d-e.j.d.d}return t}function yNt(t){var e,n,r,i,a;for(n=new zd(t.a.a);n.a<n.c.c.length;){for((e=QH(J1(n),189)).f=null,a=e.a.a.ec().Kc();a.Ob();)vL((r=QH(a.Pb(),81)).e),(!e.f||r.g.c<e.f.g.c)&&(e.f=r);for(i=e.a.a.ec().Kc();i.Ob();)(r=QH(i.Pb(),81)).e.a=r.g.c-e.f.g.c,r.e.b=r.g.d-e.f.g.d}return t}function wNt(t){var n,r,i;return r=QH(t.a,19).a,i=QH(t.b,19).a,r<(n=e.Math.max(e.Math.abs(r),e.Math.abs(i)))&&i==-n?new nS(nft(r+1),nft(i)):r==n&&i<n?new nS(nft(r),nft(i+1)):r>=-n&&i==n?new nS(nft(r-1),nft(i)):new nS(nft(r),nft(i-1))}function TNt(){return hqt(),xst(jw(ale,1),IVt,77,0,[nce,Zse,rce,vce,Rce,kce,Kce,Bce,Fce,Ace,Mce,_ce,Pce,uce,zce,Xse,Ice,Uce,yce,Qce,qce,Nce,qse,Dce,Vce,jce,Xce,wce,sce,Tce,bce,Gce,Yse,ace,Ece,Wse,xce,gce,hce,Sce,dce,tce,Jse,mce,fce,Lce,$ce,Vse,Oce,pce,Cce,cce,oce,Hce,ice,lce,ece])}function kNt(t,e,n){t.d=0,t.b=0,e.k==(oxt(),_se)&&n.k==_se&&QH(bEt(e,(lqt(),dfe)),10)==QH(bEt(n,dfe),10)&&(C7(e).j==(yzt(),sSe)?jMt(t,e,n):jMt(t,n,e)),e.k==_se&&n.k==Ese?C7(e).j==(yzt(),sSe)?t.d=1:t.b=1:n.k==_se&&e.k==Ese&&(C7(n).j==(yzt(),sSe)?t.b=1:t.d=1),ovt(t,e,n)}function CNt(t){var e,n,r,i,a;return a=LCt(t),null!=t.a&&Sj(a,"category",t.a),!zk(new xd(t.d))&&(net(a,"knownOptions",r=new xf),e=new tm(r),t5(new xd(t.d),e)),!zk(t.g)&&(net(a,"supportedFeatures",i=new xf),n=new em(i),t5(t.g,n)),a}function ENt(t){var e,n,r,i,a,o,s,c;for(e=336,n=0,i=new sP(t.length),s=0,c=(o=t).length;s<c;++s)Vft(a=o[s]),wq(a),r=a.a,zH(i.a,bX(r)),e&=r.qd(),n=Wlt(n,r.rd());return QH(QH(Gz(new D$(null,jCt(new f1((zX(),OAt(i.a)),16),new w,e,n)),new wf(t)),670),833)}function xNt(t,e){var n;t.d&&(e.c!=t.e.c||uat(t.e.b,e.b))&&(zH(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),JL(e.b)?t.c=e:t.b=e,(e.b==(Lst(),Yoe)&&!e.a||e.b==Joe&&e.a||e.b==Zoe&&e.a||e.b==tse&&!e.a)&&t.c&&t.b&&(n=new KV(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function _Nt(t){var e;if(Vv.call(this),this.i=new ds,this.g=t,this.f=QH(t.e&&t.e(),9).length,0==this.f)throw Um(new Py("There must be at least one phase in the phase enumeration."));this.c=new VR(e=QH(XT(this.g),9),QH(CP(e,e.length),9),0),this.a=new Q2,this.b=new Om}function BNt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=7&&e){if(mwt(t,e))throw Um(new Py(d6t+i_t(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?lwt(t,r):t.Cb.ih(t,-1-n,null,r)),e&&(r=QH(e,49).gh(t,1,OLe,r)),(r=XK(t,e,r))&&r.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,7,e,e))}function SNt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(mwt(t,e))throw Um(new Py(d6t+qht(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?fwt(t,r):t.Cb.ih(t,-1-n,null,r)),e&&(r=QH(e,49).gh(t,0,RLe,r)),(r=qK(t,e,r))&&r.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,3,e,e))}function LNt(t,e){var n,r,i,a,o,s,c,l,u;return ILt(),e.d>t.d&&(s=t,t=e,e=s),e.d<63?zDt(t,e):(l=$5(t,o=(-2&t.d)<<4),u=$5(e,o),r=oHt(t,j5(l,o)),i=oHt(e,j5(u,o)),c=LNt(l,u),n=LNt(r,i),a=j5(a=Ijt(Ijt(a=LNt(oHt(l,r),oHt(i,u)),c),n),o),Ijt(Ijt(c=j5(c,o<<1),a),n))}function INt(t,e,n){var r,i,a,o,s;for(o=Mht(t,n),s=O9(Bse,a1t,10,e.length,0,1),r=0,a=o.Kc();a.Ob();)Hy(TF(bEt(i=QH(a.Pb(),11),(lqt(),tfe))))&&(s[r++]=QH(bEt(i,wfe),10));if(r<e.length)throw Um(new Ry("Expected "+e.length+" hierarchical ports, but found only "+r+"."));return s}function MNt(t,e){var n,r,i,a,o,s;if(!t.tb){for(!t.rb&&(t.rb=new WG(t,QIe,t)),s=new GC((a=t.rb).i),i=new SO(a);i.e!=i.i.gc();)r=QH(ymt(i),138),(n=QH(null==(o=r.ne())?wBt(s.f,null,r):odt(s.g,o,r),138))&&(null==o?wBt(s.f,null,n):odt(s.g,o,n));t.tb=s}return QH(CJ(t.tb,e),138)}function ONt(t,e){var n,r,i,a,o;if((null==t.i&&jUt(t),t.i).length,!t.p){for(o=new GC(1+(3*t.g.i/2|0)),i=new iD(t.g);i.e!=i.i.gc();)r=QH(wmt(i),170),(n=QH(null==(a=r.ne())?wBt(o.f,null,r):odt(o.g,a,r),170))&&(null==a?wBt(o.f,null,n):odt(o.g,a,n));t.p=o}return QH(CJ(t.p,e),170)}function NNt(t,e,n,r,i){var a,o,s,c;for(dgt(r+xY(n,n.$d()),i),ZX(e,MAt(n)),(a=n.f)&&NNt(t,e,a,"Caused by: ",!1),null==n.k&&(n.k=O9(Yte,cVt,78,0,0,1)),s=0,c=(o=n.k).length;s<c;++s)NNt(t,e,o[s],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console)}function DNt(t,e,n,r){var i,a,o,s;for(o=(s=e.e).length,a=e.q._f(s,n?0:o-1,n),a|=pPt(t,s[n?0:o-1],n,r),i=n?1:o-2;n?i<o:i>=0;i+=n?1:-1)a|=e.c.Sf(s,i,n,r&&!Hy(TF(bEt(e.j,(lqt(),Whe))))&&!Hy(TF(bEt(e.j,(lqt(),_fe))))),a|=e.q._f(s,i,n),a|=pPt(t,s[i],n,r);return Tz(t.c,e),a}function FNt(t,e,n){var r,i,a,o,s,c,l,u;for(l=0,u=(c=_2(t.j)).length;l<u;++l){if(s=c[l],n==(art(),Ube)||n==jbe)for(a=0,o=(i=Y0(s.g)).length;a<o;++a)Sxt(e,r=i[a])&&tHt(r,!0);if(n==Hbe||n==jbe)for(a=0,o=(i=Y0(s.e)).length;a<o;++a)Bxt(e,r=i[a])&&tHt(r,!0)}}function PNt(t){var e,n;switch(e=null,n=null,ekt(t).g){case 1:yzt(),e=oSe,n=xSe;break;case 2:yzt(),e=CSe,n=sSe;break;case 3:yzt(),e=xSe,n=oSe;break;case 4:yzt(),e=sSe,n=CSe}jf(t,QH(LN(BG(QH(c6(t.k,e),15).Oc(),qle)),113)),Hf(t,QH(LN(_G(QH(c6(t.k,n),15).Oc(),qle)),113))}function RNt(t){var e,n,r,i,a,o;if((i=QH(O$(t.j,0),11)).e.c.length+i.g.c.length==0)t.n.a=0;else{for(o=0,r=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[new UA(i),new jA(i)])));AIt(r);)o+=(n=QH(K5(r),11)).i.n.a+n.n.a+n.a.a;a=(e=QH(bEt(t,(HXt(),Jge)),8))?e.a:0,t.n.a=o/(i.e.c.length+i.g.c.length)-a}}function QNt(t,e){var n,r,i;for(r=new zd(e.a);r.a<r.c.c.length;)n=QH(J1(r),221),IK(QH(n.b,65),GP(QM(QH(e.b,65).c),QH(e.b,65).a)),(i=WQt(QH(e.b,65).b,QH(n.b,65).b))>1&&(t.a=!0),MK(QH(n.b,65),KP(QM(QH(e.b,65).c),vO(GP(QM(QH(n.b,65).a),QH(e.b,65).a),i))),qZ(t,e),QNt(t,n)}function UNt(t){var e,n,r,i,a,o;for(i=new zd(t.a.a);i.a<i.c.c.length;)(n=QH(J1(i),189)).e=0,n.d.a.$b();for(r=new zd(t.a.a);r.a<r.c.c.length;)for(e=(n=QH(J1(r),189)).a.a.ec().Kc();e.Ob();)for(o=QH(e.Pb(),81).f.Kc();o.Ob();)(a=QH(o.Pb(),81)).d!=n&&(Tz(n.d,a),++a.d.e)}function HNt(t){var e,n,r,i,a,o,s,c;for(n=0,e=c=t.j.c.length,i=2*c,s=new zd(t.j);s.a<s.c.c.length;)switch((o=QH(J1(s),11)).j.g){case 2:case 4:o.p=-1;break;case 1:case 3:r=o.e.c.length,a=o.g.c.length,o.p=r>0&&a>0?e++:r>0?n++:a>0?i++:n++}CW(),mM(t.j,new dr)}function jNt(t){var e,n;n=null,e=QH(O$(t.g,0),17);do{if(ID(n=e.d.i,(lqt(),lfe)))return QH(bEt(n,lfe),11).i;if(n.k!=(oxt(),xse)&&AIt(new oG(YO(hdt(n).a.Kc(),new u))))e=QH(K5(new oG(YO(hdt(n).a.Kc(),new u))),17);else if(n.k!=xse)return null}while(n&&n.k!=(oxt(),xse));return n}function $Nt(t,e){var n,r,i,a,o,s,c,l,u;for(s=e.j,o=e.g,c=QH(O$(s,s.c.length-1),113),u1(0,s.c.length),l=Jvt(t,o,c,u=QH(s.c[0],113)),a=1;a<s.c.length;a++)u1(a-1,s.c.length),n=QH(s.c[a-1],113),u1(a,s.c.length),(r=Jvt(t,o,n,i=QH(s.c[a],113)))>l&&(c=n,u=i,l=r);e.a=u,e.c=c}function KNt(t,e){var n;if(!Yz(t.b,e.b))throw Um(new Ry("Invalid hitboxes for scanline constraint calculation."));(yst(e.b,QH(kP(t.b,e.b),57))||yst(e.b,QH(TP(t.b,e.b),57)))&&(LC(),e.b),t.a[e.b.f]=QH(vR(t.b,e.b),57),(n=QH(bR(t.b,e.b),57))&&(t.a[n.f]=e.b)}function GNt(t){if(!t.a.d||!t.a.e)throw Um(new Ry((wF(Ure),Ure.k+" must have a source and target "+(wF(Hre),Hre.k+" specified."))));if(t.a.d==t.a.e)throw Um(new Ry("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return DN(t.a.d.g,t.a),DN(t.a.e.b,t.a),t.a}function zNt(t,e,n){var r,i,a,o,s,c,l;for(l=new dk(new Wp(t)),s=0,c=(o=xst(jw(jse,1),o1t,11,0,[e,n])).length;s<c;++s)for(a=o[s],Cct(l.a,a,(cN(),gee)),i=new m6(a.b);bM(i.a)||bM(i.b);)(r=QH(bM(i.a)?J1(i.a):J1(i.b),17)).c==r.d||Yz(l,a==r.c?r.d:r.c);return bX(l),new ZR(l)}function XNt(t,e,n){var r,i,a,o,s,c;if(r=0,0!=e.b&&0!=n.b){a=cmt(e,0),o=cmt(n,0),s=jy(kF(h4(a))),c=jy(kF(h4(o))),i=!0;do{if(s>c-t.b&&s<c+t.b)return-1;s>c-t.a&&s<c+t.a&&++r,s<=c&&a.b!=a.d.c?s=jy(kF(h4(a))):c<=s&&o.b!=o.d.c?c=jy(kF(h4(o))):i=!1}while(i)}return r}function qNt(t,e,n,r,i){var a,o,s,c;for(c=new VR(a=QH(XT(RSe),9),QH(CP(a,a.length),9),0),s=new zd(t.j);s.a<s.c.c.length;)e[(o=QH(J1(s),11)).p]&&(Uzt(o,e[o.p],r),sit(c,o.j));i?($kt(t,e,(yzt(),oSe),2*n,r),$kt(t,e,xSe,2*n,r)):($kt(t,e,(yzt(),sSe),2*n,r),$kt(t,e,CSe,2*n,r))}function VNt(t){var e,n,r,i,a;if(a=new Mm,Set(t.b,new vA(a)),t.b.c=O9(Lte,Hqt,1,0,5,1),0!=a.c.length){for(u1(0,a.c.length),e=QH(a.c[0],78),n=1,r=a.c.length;n<r;++n)u1(n,a.c.length),(i=QH(a.c[n],78))!=e&&$Ct(e,i);if(rO(e,60))throw Um(QH(e,60));if(rO(e,289))throw Um(QH(e,289))}}function WNt(t,e){var n,r,i,a;for(t=null==t?Kqt:(vq(t),t),n=new _w,a=0,r=0;r<e.length&&-1!=(i=t.indexOf("%s",a));)oL(n,t.substr(a,i-a)),aL(n,e[r++]),a=i+2;if(oL(n,t.substr(a)),r<e.length){for(n.a+=" [",aL(n,e[r++]);r<e.length;)n.a+=Qqt,aL(n,e[r++]);n.a+="]"}return n.a}function YNt(t){var e,n,r,i;for(e=0,i=(r=t.length)-4,n=0;n<i;)h1(n+3,t.length),e=t.charCodeAt(n+3)+(h1(n+2,t.length),31*(t.charCodeAt(n+2)+(h1(n+1,t.length),31*(t.charCodeAt(n+1)+(h1(n,t.length),31*(t.charCodeAt(n)+31*e)))))),e|=0,n+=4;for(;n<r;)e=31*e+lV(t,n++);return e|=0}function JNt(t){var e;for(e=new oG(YO(hdt(t).a.Kc(),new u));AIt(e);)if(QH(K5(e),17).d.i.k!=(oxt(),Cse))throw Um(new nw(x1t+pyt(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function ZNt(t,n,r,i){var a,o,s,c,l,h,f;for(c=0,l=new zd(t.a);l.a<l.c.c.length;){for(s=0,o=new oG(YO(udt(QH(J1(l),10)).a.Kc(),new u));AIt(o);)h=A1((a=QH(K5(o),17)).c).b,f=A1(a.d).b,s=e.Math.max(s,e.Math.abs(f-h));c=e.Math.max(c,s)}return i*e.Math.min(1,n/r)*c}function tDt(t){var e;return e=new Ew,0!=(256&t)&&(e.a+="F"),0!=(128&t)&&(e.a+="H"),0!=(512&t)&&(e.a+="X"),0!=(2&t)&&(e.a+="i"),0!=(8&t)&&(e.a+="m"),0!=(4&t)&&(e.a+="s"),0!=(32&t)&&(e.a+="u"),0!=(64&t)&&(e.a+="w"),0!=(16&t)&&(e.a+="x"),0!=(t&y6t)&&(e.a+=","),Ky(e.a)}function eDt(t,e){var n,r,i;for(SCt(e,"Resize child graph to fit parent.",1),r=new zd(t.b);r.a<r.c.c.length;)n=QH(J1(r),29),pst(t.a,n.a),n.a.c=O9(Lte,Hqt,1,0,5,1);for(i=new zd(t.a);i.a<i.c.c.length;)EZ(QH(J1(i),10),null);t.b.c=O9(Lte,Hqt,1,0,5,1),UDt(t),t.e&&EQt(t.e,t),Hxt(e)}function nDt(t){var e,n,r,i,a,o,s;if(i=(r=t.b).e,a=IR(QH(bEt(r,(HXt(),tme)),98)),n=!!i&&QH(bEt(i,(lqt(),Yhe)),21).Hc((fFt(),uhe)),!a&&!n)for(s=new Fd(new Bd(t.e).a.vc().Kc());s.a.Ob();)e=QH(s.a.Pb(),42),(o=QH(e.dd(),113)).a&&(xZ(o.d,null),o.c=!0,t.a=!0)}function rDt(t){var e,n,r,i,a,o,s,c,l,u,h,f;for(h=-1,f=0,l=0,u=(c=t).length;l<u;++l){for(o=0,s=(a=c[l]).length;o<s;++o)for(i=a[o],e=new p_(-1==h?t[0]:t[h],swt(i)),n=0;n<i.j.c.length;n++)for(r=n+1;r<i.j.c.length;r++)MG(e,QH(O$(i.j,n),11),QH(O$(i.j,r),11))>0&&++f;++h}return f}function iDt(t,e){var n,r,i,a,o;for(o=QH(bEt(e,(_It(),Iwe)),425),a=cmt(e.b,0);a.b!=a.d.c;)if(i=QH(h4(a),86),0==t.b[i.g]){switch(o.g){case 0:Vbt(t,i);break;case 1:HIt(t,i)}t.b[i.g]=2}for(r=cmt(t.a,0);r.b!=r.d.c;)vAt((n=QH(h4(r),188)).b.d,n,!0),vAt(n.c.b,n,!0);lct(e,(j$t(),uwe),t.a)}function aDt(t,e){var n,r,i,a;return YE(),e?e==(G$t(),DOe)||(e==mOe||e==pOe||e==gOe)&&t!=AOe?new izt(t,e):((n=(r=QH(e,677)).pk())||(vV(Q7((B_t(),WMe),e)),n=r.pk()),!n.i&&(n.i=new Om),!(i=QH(HS(SY((a=n.i).f,t)),1942))&&Xq(a,t,i=new izt(t,e)),i):rOe}function oDt(t,e){var n,r,i,a,o,s,c,l;for(s=QH(bEt(t,(lqt(),dfe)),11),c=Lct(xst(jw(EEe,1),cVt,8,0,[s.i.n,s.n,s.a])).a,l=t.i.n.b,i=0,a=(r=Y0(t.e)).length;i<a;++i)kZ(n=r[i],s),lL(n.a,new OB(c,l)),e&&((o=QH(bEt(n,(HXt(),gge)),74))||(o=new vv,lct(n,gge,o)),Nj(o,new OB(c,l)))}function sDt(t,e){var n,r,i,a,o,s,c,l;for(r=QH(bEt(t,(lqt(),dfe)),11),c=Lct(xst(jw(EEe,1),cVt,8,0,[r.i.n,r.n,r.a])).a,l=t.i.n.b,o=0,s=(a=Y0(t.g)).length;o<s;++o)CZ(i=a[o],r),cL(i.a,new OB(c,l)),e&&((n=QH(bEt(i,(HXt(),gge)),74))||(n=new vv,lct(i,gge,n)),Nj(n,new OB(c,l)))}function cDt(t,e){var n,r,i,a,o;for(t.b=new Mm,t.d=QH(bEt(e,(lqt(),Cfe)),230),t.e=r0(t.d),a=new VC,i=a6(xst(jw(yse,1),YZt,37,0,[e])),o=0;o<i.c.length;)u1(o,i.c.length),(r=QH(i.c[o],37)).p=o++,pst(i,(n=new _Kt(r,t.a,t.b)).b),zH(t.b,n),n.s&&Jz(cmt(a,0),n);return t.c=new Db,a}function lDt(t,e){var n,r,i,a,o,s;for(o=QH(QH(c6(t.r,e),21),84).Kc();o.Ob();)(n=(a=QH(o.Pb(),111)).c?Xj(a.c):0)>0?a.a?n>(s=a.b.rf().a)&&(i=(n-s)/2,a.d.b=i,a.d.c=i):a.d.c=t.s+n:UG(t.u)&&((r=RCt(a.b)).c<0&&(a.d.b=-r.c),r.c+r.b>a.b.rf().a&&(a.d.c=r.c+r.b-a.b.rf().a))}function uDt(t,e){var n,r;for(SCt(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,r=new zd(t.b);r.a<r.c.c.length;)n|=null!=Iht(vet(SV(SV(new D$(null,new f1(QH(J1(r),29).a,16)),new Wr),new Yr),new Jr),new Zr).a;n&&lct(t,(lqt(),ife),(cN(),!0)),Hxt(e)}function hDt(t,e,n){var r,i,a;if(!(i=n)&&(i=new Gv),SCt(i,"Layout",t.a.c.length),Hy(TF(bEt(e,(_It(),wwe)))))for(LC(),r=0;r<t.a.c.length;r++)r++,JT(tlt(QH(O$(t.a,r),51)));for(a=new zd(t.a);a.a<a.c.c.length;)QH(J1(a),51).pf(e,bat(i,1));Hxt(i)}function fDt(t){var n,r;if(n=QH(t.a,19).a,r=QH(t.b,19).a,n>=0){if(n==r)return new nS(nft(-n-1),nft(-n-1));if(n==-r)return new nS(nft(-n),nft(r+1))}return e.Math.abs(n)>e.Math.abs(r)?new nS(nft(-n),nft(n<0?r:r+1)):new nS(nft(n+1),nft(r))}function dDt(t){var e,n;n=QH(bEt(t,(HXt(),vge)),163),e=QH(bEt(t,(lqt(),efe)),303),n==(kdt(),Rfe)?(lct(t,vge,Hfe),lct(t,efe,($7(),xhe))):n==Ufe?(lct(t,vge,Hfe),lct(t,efe,($7(),Che))):e==($7(),xhe)?(lct(t,vge,Rfe),lct(t,efe,Ehe)):e==Che&&(lct(t,vge,Ufe),lct(t,efe,Ehe))}function ADt(){ADt=L,yye=new co,gye=d$(new Q2,(vEt(),Poe),(hqt(),yce)),vye=zK(d$(new Q2,Poe,Nce),Qoe,Oce),wye=sgt(sgt(RE(zK(d$(new Q2,Doe,Kce),Qoe,$ce),Roe),jce),Gce),mye=zK(d$(d$(d$(new Q2,Foe,kce),Roe,Ece),Roe,xce),Qoe,Cce),bye=zK(d$(d$(new Q2,Roe,xce),Roe,ace),Qoe,ice)}function pDt(){pDt=L,xye=d$(zK(new Q2,(vEt(),Qoe),(hqt(),cce)),Poe,yce),Lye=sgt(sgt(RE(zK(d$(new Q2,Doe,Kce),Qoe,$ce),Roe),jce),Gce),_ye=zK(d$(d$(d$(new Q2,Foe,kce),Roe,Ece),Roe,xce),Qoe,Cce),Sye=d$(d$(new Q2,Poe,Nce),Qoe,Oce),Bye=zK(d$(d$(new Q2,Roe,xce),Roe,ace),Qoe,ice)}function gDt(t,e,n,r,i){var a,o;(h5(e)||e.c.i.c!=e.d.i.c)&&Zrt(Lct(xst(jw(EEe,1),cVt,8,0,[i.i.n,i.n,i.a])),n)||h5(e)||(e.c==i?FD(e.a,0,new fI(n)):Nj(e.a,new fI(n)),r&&!RC(t.a,n)&&((o=QH(bEt(e,(HXt(),gge)),74))||(o=new vv,lct(e,gge,o)),n5(o,a=new fI(n),o.c.b,o.c),Tz(t.a,a)))}function mDt(t){var e;for(e=new oG(YO(udt(t).a.Kc(),new u));AIt(e);)if(QH(K5(e),17).c.i.k!=(oxt(),Cse))throw Um(new nw(x1t+pyt(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function bDt(t,e,n){var r,i,a,o,s,c;if(0==(i=gdt(254&t.Db)))t.Eb=n;else{if(1==i)o=O9(Lte,Hqt,1,2,5,1),0==Fvt(t,e)?(o[0]=n,o[1]=t.Eb):(o[0]=t.Eb,o[1]=n);else for(o=O9(Lte,Hqt,1,i+1,5,1),a=ent(t.Eb),r=2,s=0,c=0;r<=128;r<<=1)r==e?o[c++]=n:0!=(t.Db&r)&&(o[c++]=a[s++]);t.Eb=o}t.Db|=e}function vDt(t,n,r){var i,a,o,s;for(this.b=new Mm,a=0,i=0,s=new zd(t);s.a<s.c.c.length;)o=QH(J1(s),167),r&&PHt(o),zH(this.b,o),a+=o.o,i+=o.p;this.b.c.length>0&&(a+=(o=QH(O$(this.b,0),167)).o,i+=o.p),a*=2,i*=2,n>1?a=xJ(e.Math.ceil(a*n)):i=xJ(e.Math.ceil(i/n)),this.a=new jAt(a,i)}function yDt(t,n,r,i,a,o){var s,c,l,u,h,f,d,A,p,g;for(u=i,n.j&&n.o?(p=(d=QH(DX(t.f,n.A),57)).d.c+d.d.b,--u):p=n.a.c+n.a.b,h=a,r.q&&r.o?(l=(d=QH(DX(t.f,r.C),57)).d.c,++h):l=r.a.c,A=p+(c=(l-p)/e.Math.max(2,h-u)),f=u;f<h;++f)g=(s=QH(o.Xb(f),128)).a.b,s.a.c=A-g/2,A+=c}function wDt(t,e,n,r,i,a){var o,s,c,l,u,h;for(l=n.c.length,a&&(t.c=O9(BNe,lWt,25,e.length,15,1)),o=i?0:e.length-1;i?o<e.length:o>=0;o+=i?1:-1){for(s=e[o],c=r==(yzt(),oSe)?i?adt(s,r):eot(adt(s,r)):i?eot(adt(s,r)):adt(s,r),a&&(t.c[s.p]=c.gc()),h=c.Kc();h.Ob();)u=QH(h.Pb(),11),t.d[u.p]=l++;pst(n,c)}}function TDt(t,e,n){var r,i,a,o,s,c,l,u;for(a=jy(kF(t.b.Kc().Pb())),l=jy(kF(Xot(e.b))),r=vO(QM(t.a),l-n),i=vO(QM(e.a),n-a),vO(u=KP(r,i),1/(l-a)),this.a=u,this.b=new Mm,s=!0,(o=t.b.Kc()).Pb();o.Ob();)c=jy(kF(o.Pb())),s&&c-n>D4t&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n)}function kDt(t){var e,n,r,i;if(lRt(t,t.n),t.d.c.length>0){for(Jy(t.c);gIt(t,QH(J1(new zd(t.e.a)),121))<t.e.a.c.length;){for(i=(e=Fyt(t)).e.e-e.d.e-e.a,e.e.j&&(i=-i),r=new zd(t.e.a);r.a<r.c.c.length;)(n=QH(J1(r),121)).j&&(n.e+=i);Jy(t.c)}Jy(t.c),gSt(t,QH(J1(new zd(t.e.a)),121)),pKt(t)}}function CDt(t,e){var n,r,i,a,o;for(i=QH(c6(t.a,(Mkt(),kle)),15).Kc();i.Ob();)switch(r=QH(i.Pb(),101),n=QH(O$(r.j,0),113).d.j,mM(a=new ZR(r.j),new Ji),e.g){case 1:Okt(t,a,n,(_it(),Nle),1);break;case 0:Okt(t,new s1(a,0,o=ROt(a)),n,(_it(),Nle),0),Okt(t,new s1(a,o,a.c.length),n,Nle,1)}}function EDt(t,e){var n,r;if(Ost(),n=T5(irt(),e.tg())){if(r=n.j,rO(t,239))return nZ(QH(t,33))?CN(r,(rmt(),sEe))||CN(r,cEe):CN(r,(rmt(),sEe));if(rO(t,352))return CN(r,(rmt(),aEe));if(rO(t,186))return CN(r,(rmt(),lEe));if(rO(t,354))return CN(r,(rmt(),oEe))}return!0}function xDt(t,e,n){var r,i,a,o,s,c;if(a=(i=n).ak(),IDt(t.e,a)){if(a.hi())for(r=QH(t.g,119),o=0;o<t.i;++o)if(Oht(s=r[o],i)&&o!=e)throw Um(new Py(a9t))}else for(c=aDt(t.e.Tg(),a),r=QH(t.g,119),o=0;o<t.i;++o)if(s=r[o],c.rl(s.ak())&&o!=e)throw Um(new Py(B7t));return QH(sbt(t,e,n),72)}function _Dt(t,e){if(e instanceof Object)try{if(e.__java$exception=t,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var t=n.Zd();return t&&t.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch(t){}}function BDt(t,e){var n,r,i,a,o;if(r=e>>5,e&=31,r>=t.d)return t.e<0?(SFt(),Wee):(SFt(),ene);if(a=t.d-r,Vxt(i=O9(BNe,lWt,25,a+1,15,1),a,t.a,r,e),t.e<0){for(n=0;n<r&&0==t.a[n];n++);if(n<r||e>0&&t.a[n]<<32-e!=0){for(n=0;n<a&&-1==i[n];n++)i[n]=0;n==a&&++a,++i[n]}}return G0(o=new uz(t.e,a,i)),o}function SDt(t){var e,n,r,i;return n=new LA(i=zJ(t)),r=new IA(i),pst(e=new Mm,(!t.d&&(t.d=new cR(FLe,t,8,5)),t.d)),pst(e,(!t.e&&(t.e=new cR(FLe,t,7,4)),t.e)),QH(E3(LV(SV(new D$(null,new f1(e,16)),n),r),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[(jlt(),Gne),Kne]))),21)}function LDt(t,e,n,r){var i,a,o,s,c;if(YE(),s=QH(e,66).Oj(),IDt(t.e,e)){if(e.hi()&&GUt(t,e,r,rO(e,99)&&0!=(QH(e,18).Bb&UWt)))throw Um(new Py(a9t))}else for(c=aDt(t.e.Tg(),e),i=QH(t.g,119),o=0;o<t.i;++o)if(a=i[o],c.rl(a.ak()))throw Um(new Py(B7t));cft(t,T_t(t,e,n),s?QH(r,72):Y4(e,r))}function IDt(t,e){var n,r,i;return YE(),!!e.$j()||-2==e.Zj()&&(e==(kLt(),cOe)||e==aOe||e==oOe||e==sOe||!(LAt(i=t.Tg(),e)>=0)&&(!(n=Q$t((B_t(),WMe),i,e))||((r=n.Zj())>1||-1==r)&&3!=Nq(Q7(WMe,n))))}function MDt(t,e,n,r){var i,a,o,s,c;return s=xCt(QH(Xet((!e.b&&(e.b=new cR(DLe,e,4,7)),e.b),0),82)),c=xCt(QH(Xet((!e.c&&(e.c=new cR(DLe,e,5,8)),e.c),0),82)),WJ(s)==WJ(c)||_et(c,s)?null:(o=GJ(e))==n?r:(a=QH(DX(t.a,o),10))&&(i=a.e)?i:null}function ODt(t,e){var n;switch(SCt(e,"Label side selection ("+(n=QH(bEt(t,(HXt(),Wpe)),276))+")",1),n.g){case 0:kIt(t,(zyt(),yBe));break;case 1:kIt(t,(zyt(),wBe));break;case 2:cHt(t,(zyt(),yBe));break;case 3:cHt(t,(zyt(),wBe));break;case 4:oFt(t,(zyt(),yBe));break;case 5:oFt(t,(zyt(),wBe))}Hxt(e)}function NDt(t,e,n){var r,i,a,o,s;if((a=t[uT(n,t.length)])[0].k==(oxt(),kse))for(i=lT(n,a.length),s=e.j,r=0;r<s.c.length;r++)u1(r,s.c.length),o=QH(s.c[r],11),(n?o.j==(yzt(),oSe):o.j==(yzt(),xSe))&&Hy(TF(bEt(o,(lqt(),tfe))))&&(r5(s,r,QH(bEt(a[i],(lqt(),dfe)),11)),i+=n?1:-1)}function DDt(t,e){var n,r,i,a,o;o=new Mm,n=e;do{(a=QH(DX(t.b,n),128)).B=n.c,a.D=n.d,o.c[o.c.length]=a,n=QH(DX(t.k,n),17)}while(n);return u1(0,o.c.length),(r=QH(o.c[0],128)).j=!0,r.A=QH(r.d.a.ec().Kc().Pb(),17).c.i,(i=QH(O$(o,o.c.length-1),128)).q=!0,i.C=QH(i.d.a.ec().Kc().Pb(),17).d.i,o}function FDt(t){if(null==t.g)switch(t.p){case 0:t.g=lZ(t)?(cN(),mee):(cN(),gee);break;case 1:t.g=Ett(N4(t));break;case 2:t.g=ust(q1(t));break;case 3:t.g=Bq(t);break;case 4:t.g=new Md(_q(t));break;case 6:t.g=wgt(Sq(t));break;case 5:t.g=nft(cJ(t));break;case 7:t.g=rft(P4(t))}return t.g}function PDt(t){if(null==t.n)switch(t.p){case 0:t.n=uZ(t)?(cN(),mee):(cN(),gee);break;case 1:t.n=Ett(D4(t));break;case 2:t.n=ust(V1(t));break;case 3:t.n=Iq(t);break;case 4:t.n=new Md(Mq(t));break;case 6:t.n=wgt(Lq(t));break;case 5:t.n=nft(lJ(t));break;case 7:t.n=rft(F4(t))}return t.n}function RDt(t){var e,n,r,i,a,o;for(i=new zd(t.a.a);i.a<i.c.c.length;)(n=QH(J1(i),307)).g=0,n.i=0,n.e.a.$b();for(r=new zd(t.a.a);r.a<r.c.c.length;)for(e=(n=QH(J1(r),307)).a.a.ec().Kc();e.Ob();)for(o=QH(e.Pb(),57).c.Kc();o.Ob();)(a=QH(o.Pb(),57)).a!=n&&(Tz(n.e,a),++a.a.g,++a.a.i)}function QDt(t,e){var n,r,i;if(!Yz(t.a,e.b))throw Um(new Ry("Invalid hitboxes for scanline overlap calculation."));for(i=!1,r=new Rd(new QP(new ON(new Pd(t.a.a).a).b));ix(r.a.a);)if(n=QH(mD(r.a).cd(),65),ect(e.b,n))OT(t.b.a,e.b,n),i=!0;else if(i)break}function UDt(t){var n,r,i,a,o;a=QH(bEt(t,(HXt(),Rge)),21),o=QH(bEt(t,Hge),21),n=new fI(r=new OB(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((bpt(),NSe))&&(i=QH(bEt(t,Uge),8),o.Hc((ZRt(),jSe))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=e.Math.max(r.a,i.a),n.b=e.Math.max(r.b,i.b)),zHt(t,r,n)}function HDt(t,e){var n,r,i,a,o,s,c,l;i=e?new ma:new ba,a=!1;do{for(a=!1,o=(e?eot(t.b):t.b).Kc();o.Ob();)for(l=i0(QH(o.Pb(),29).a),e||new ly(l),c=new zd(l);c.a<c.c.c.length;)s=QH(J1(c),10),i.Mb(s)&&(r=s,n=QH(bEt(s,(lqt(),Dhe)),305),a=ePt(r,e?n.b:n.k,e,!1))}while(a)}function jDt(t,e,n){var r,i,a,o;for(SCt(n,"Longest path layering",1),t.a=e,o=t.a.a,t.b=O9(BNe,lWt,25,o.c.length,15,1),r=0,a=new zd(o);a.a<a.c.c.length;)QH(J1(a),10).p=r,t.b[r]=-1,++r;for(i=new zd(o);i.a<i.c.c.length;)DMt(t,QH(J1(i),10));o.c=O9(Lte,Hqt,1,0,5,1),t.a=null,t.b=null,Hxt(n)}function $Dt(t,e){var n,r,i;e.a?(Yz(t.b,e.b),t.a[e.b.i]=QH(vR(t.b,e.b),81),(n=QH(bR(t.b,e.b),81))&&(t.a[n.i]=e.b)):(!!(r=QH(vR(t.b,e.b),81))&&r==t.a[e.b.i]&&!!r.d&&r.d!=e.b.d&&r.f.Fc(e.b),!!(i=QH(bR(t.b,e.b),81))&&t.a[i.i]==e.b&&!!i.d&&i.d!=e.b.d&&e.b.f.Fc(i),kN(t.b,e.b))}function KDt(t,n){var r,i,a,o,s,c;return o=t.d,(c=jy(kF(bEt(t,(HXt(),ige)))))<0&&lct(t,ige,c=0),n.o.b=c,s=e.Math.floor(c/2),jBt(i=new _xt,(yzt(),xSe)),xZ(i,n),i.n.b=s,jBt(a=new _xt,oSe),xZ(a,n),a.n.b=s,kZ(t,i),jot(r=new fY,t),lct(r,gge,null),CZ(r,a),kZ(r,o),wUt(n,t,r),cBt(t,r),r}function GDt(t){var e,n;return n=QH(bEt(t,(lqt(),Yhe)),21),e=new Q2,n.Hc((fFt(),hhe))&&(Yat(e,hye),Yat(e,dye)),(n.Hc(dhe)||Hy(TF(bEt(t,(HXt(),age)))))&&(Yat(e,dye),n.Hc(Ahe)&&Yat(e,Aye)),n.Hc(uhe)&&Yat(e,uye),n.Hc(ghe)&&Yat(e,pye),n.Hc(fhe)&&Yat(e,fye),n.Hc(she)&&Yat(e,cye),n.Hc(lhe)&&Yat(e,lye),e}function zDt(t,e){var n,r,i,a,o,s,c,l,u;return a=(n=t.d)+(r=e.d),o=t.e!=e.e?-1:1,2==a?(u=dK(c=idt(t0(t.a[0],GWt),t0(e.a[0],GWt))),0==(l=dK(yG(c,32)))?new G6(o,u):new uz(o,2,xst(jw(BNe,1),lWt,25,15,[u,l]))):(Dht(t.a,n,e.a,r,i=O9(BNe,lWt,25,a,15,1)),G0(s=new uz(o,a,i)),s)}function XDt(t,e,n,r){var i,a;return e?0==(i=t.a.ue(n.d,e.d))?(r.d=pP(e,n.e),r.b=!0,e):(a=i<0?0:1,e.a[a]=XDt(t,e.a[a],n,r),Xy(e.a[a])&&(Xy(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):Xy(e.a[a].a[a])?e=dit(e,1-a):Xy(e.a[a].a[1-a])&&(e=n2(e,1-a))),e):n}function qDt(t,n,r){var i,a,o,s;a=t.i,i=t.n,V5(t,(Det(),jre),a.c+i.b,r),V5(t,Kre,a.c+a.b-i.c-r[2],r),s=a.b-i.b-i.c,r[0]>0&&(r[0]+=t.d,s-=r[0]),r[2]>0&&(r[2]+=t.d,s-=r[2]),o=e.Math.max(0,s),r[1]=e.Math.max(r[1],s),V5(t,$re,a.c+i.b+r[0]-(r[1]-s)/2,r),n==$re&&(t.c.b=o,t.c.c=a.c+i.b+(o-s)/2)}function VDt(){this.c=O9(MNe,jWt,25,(yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length,15,1),this.b=O9(MNe,jWt,25,xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe]).length,15,1),this.a=O9(MNe,jWt,25,xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe]).length,15,1),mx(this.c,FWt),mx(this.b,PWt),mx(this.a,PWt)}function WDt(t,e,n){var r,i,a,o;if(e<=n?(i=e,a=n):(i=n,a=e),r=0,null==t.b)t.b=O9(BNe,lWt,25,2,15,1),t.b[0]=i,t.b[1]=a,t.c=!0;else{if(r=t.b.length,t.b[r-1]+1==i)return void(t.b[r-1]=a);o=O9(BNe,lWt,25,r+2,15,1),ajt(t.b,0,o,0,r),t.b=o,t.b[r-1]>=i&&(t.c=!1,t.a=!1),t.b[r++]=i,t.b[r]=a,t.c||kMt(t)}}function YDt(t,e,n){var r,i,a,o,s,c,l;for(l=e.d,t.a=new W6(l.c.length),t.c=new Om,s=new zd(l);s.a<s.c.c.length;)o=QH(J1(s),101),a=new Qot(null),zH(t.a,a),Xq(t.c,o,a);for(t.b=new Om,mBt(t,e),r=0;r<l.c.length-1;r++)for(c=QH(O$(e.d,r),101),i=r+1;i<l.c.length;i++)XOt(t,c,QH(O$(e.d,i),101),n)}function JDt(t,e,n){var r,i,a,o,s,c;if(!c4(e)){for(SCt(c=bat(n,(rO(e,14)?QH(e,14).gc():R4(e.Kc()))/t.a|0),K4t,1),s=new Lo,o=0,a=e.Kc();a.Ob();)r=QH(a.Pb(),86),s=Xnt(xst(jw(Nte,1),Hqt,20,0,[s,new hg(r)])),o<r.f.b&&(o=r.f.b);for(i=e.Kc();i.Ob();)lct(r=QH(i.Pb(),86),(j$t(),awe),o);Hxt(c),JDt(t,s,n)}}function ZDt(t,n){var r,i,a,o,s,c,l;for(r=PWt,oxt(),c=xse,a=new zd(n.a);a.a<a.c.c.length;)(o=(i=QH(J1(a),10)).k)!=xse&&(null==(s=kF(bEt(i,(lqt(),pfe))))?(r=e.Math.max(r,0),i.n.b=r+GN(t.a,o,c)):i.n.b=(vq(s),s)),l=GN(t.a,o,c),i.n.b<r+l+i.d.d&&(i.n.b=r+l+i.d.d),r=i.n.b+i.o.b+i.d.a,c=o}function tFt(t,e,n){var r,i,a;for(jot(a=new TIt(zXt(jxt(iFt(e,!1,!1)),jy(kF(JIt(e,(Tmt(),pae))))+t.a)),e),Xq(t.b,e,a),n.c[n.c.length]=a,!e.n&&(e.n=new tz(jLe,e,1,7)),i=new SO(e.n);i.e!=i.i.gc();)r=YPt(t,QH(ymt(i),137),!0,0,0),n.c[n.c.length]=r;return a}function eFt(t,e,n,r,i){var a,o,s;if(t.d&&t.d.lg(i),Dbt(t,n,QH(i.Xb(0),33),!1))return!0;if(Dbt(t,r,QH(i.Xb(i.gc()-1),33),!0))return!0;if(OEt(t,i))return!0;for(s=i.Kc();s.Ob();)for(o=QH(s.Pb(),33),a=e.Kc();a.Ob();)if(RFt(t,o,QH(a.Pb(),33)))return!0;return!1}function nFt(t,e,n){var r,i,a,o,s,c,l,u,h;h=e.c.length;t:for(a=QH((l=t.Yg(n))>=0?t._g(l,!1,!0):iLt(t,n,!1),58).Kc();a.Ob();){for(i=QH(a.Pb(),56),u=0;u<h;++u)if(u1(u,e.c.length),c=(o=QH(e.c[u],72)).dd(),s=o.ak(),r=i.bh(s,!1),null==c?null!=r:!Oht(c,r))continue t;return i}return null}function rFt(t,e,n,r){var i,a,o,s;for(i=QH(Dxt(e,(yzt(),xSe)).Kc().Pb(),11),a=QH(Dxt(e,oSe).Kc().Pb(),11),s=new zd(t.j);s.a<s.c.c.length;){for(o=QH(J1(s),11);0!=o.e.c.length;)kZ(QH(O$(o.e,0),17),i);for(;0!=o.g.c.length;)CZ(QH(O$(o.g,0),17),a)}n||lct(e,(lqt(),cfe),null),r||lct(e,(lqt(),lfe),null)}function iFt(t,e,n){var r,i;if(0==(!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i)return jst(t);if(r=QH(Xet((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a),0),202),e&&(c$t((!r.a&&(r.a=new LO(MLe,r,5)),r.a)),Bnt(r,0),Lnt(r,0),knt(r,0),Snt(r,0)),n)for(!t.a&&(t.a=new tz(PLe,t,6,6)),i=t.a;i.i>1;)uFt(i,i.i-1);return r}function aFt(t,e){var n,r,i,a,o,s,c;for(SCt(e,"Comment post-processing",1),a=new zd(t.b);a.a<a.c.c.length;){for(i=QH(J1(a),29),r=new Mm,s=new zd(i.a);s.a<s.c.c.length;)o=QH(J1(s),10),c=QH(bEt(o,(lqt(),Ffe)),15),n=QH(bEt(o,Nhe),15),(c||n)&&(XGt(o,c,n),c&&pst(r,c),n&&pst(r,n));pst(i.a,r)}Hxt(e)}function oFt(t,e){var n,r,i,a,o,s;for(n=new Im,i=new zd(t.b);i.a<i.c.c.length;){for(s=!0,r=0,o=new zd(QH(J1(i),29).a);o.a<o.c.c.length;)switch((a=QH(J1(o),10)).k.g){case 4:++r;case 1:f4(n,a);break;case 0:sBt(a,e);default:n.b==n.c||gQt(n,r,s,!1,e),s=!1,r=0}n.b==n.c||gQt(n,r,s,!0,e)}}function sFt(t,e){var n,r,i,a,o,s;for(i=new Mm,n=0;n<=t.i;n++)(r=new UX(e)).p=t.i-n,i.c[i.c.length]=r;for(s=new zd(t.o);s.a<s.c.c.length;)EZ(o=QH(J1(s),10),QH(O$(i,t.i-t.f[o.p]),29));for(a=new zd(i);a.a<a.c.c.length;)0==QH(J1(a),29).a.c.length&&Sz(a);e.b.c=O9(Lte,Hqt,1,0,5,1),pst(e.b,i)}function cFt(t,e){var n,r,i,a,o,s;for(n=0,s=new zd(e);s.a<s.c.c.length;){for(o=QH(J1(s),11),Zlt(t.b,t.d[o.p]),i=new m6(o.b);bM(i.a)||bM(i.b);)(a=kk(t,o==(r=QH(bM(i.a)?J1(i.a):J1(i.b),17)).c?r.d:r.c))>t.d[o.p]&&(n+=J3(t.b,a),d4(t.a,nft(a)));for(;!zy(t.a);)ktt(t.b,QH(dz(t.a),19).a)}return n}function lFt(t,e,n){var r,i,a,o;for(a=(!e.a&&(e.a=new tz($Le,e,10,11)),e.a).i,i=new SO((!e.a&&(e.a=new tz($Le,e,10,11)),e.a));i.e!=i.i.gc();)0==(!(r=QH(ymt(i),33)).a&&(r.a=new tz($Le,r,10,11)),r.a).i||(a+=lFt(t,r,!1));if(n)for(o=WJ(e);o;)a+=(!o.a&&(o.a=new tz($Le,o,10,11)),o.a).i,o=WJ(o);return a}function uFt(t,e){var n,r,i,a;return t.ej()?(r=null,i=t.fj(),t.ij()&&(r=t.kj(t.pi(e),null)),n=t.Zi(4,a=Myt(t,e),null,e,i),t.bj()&&null!=a?(r=t.dj(a,r))?(r.Ei(n),r.Fi()):t.$i(n):r?(r.Ei(n),r.Fi()):t.$i(n),a):(a=Myt(t,e),t.bj()&&null!=a&&(r=t.dj(a,null))&&r.Fi(),a)}function hFt(t){var n,r,i,a,o,s,c,l,u,h;for(u=t.a,n=new Db,l=0,i=new zd(t.d);i.a<i.c.c.length;){for(h=0,Rit((r=QH(J1(i),222)).b,new It),s=cmt(r.b,0);s.b!=s.d.c;)o=QH(h4(s),222),n.a._b(o)&&(a=r.c,h<(c=o.c).d+c.a+u&&h+a.a+u>c.d&&(h=c.d+c.a+u));r.c.d=h,n.a.zc(r,n),l=e.Math.max(l,r.c.d+r.c.a)}return l}function fFt(){fFt=L,che=new I_("COMMENTS",0),uhe=new I_("EXTERNAL_PORTS",1),hhe=new I_("HYPEREDGES",2),fhe=new I_("HYPERNODES",3),dhe=new I_("NON_FREE_PORTS",4),Ahe=new I_("NORTH_SOUTH_PORTS",5),ghe=new I_($1t,6),she=new I_("CENTER_LABELS",7),lhe=new I_("END_LABELS",8),phe=new I_("PARTITIONS",9)}function dFt(t){var e,n,r,i,a;for(i=new Mm,e=new L$((!t.a&&(t.a=new tz($Le,t,10,11)),t.a)),r=new oG(YO(AOt(t).a.Kc(),new u));AIt(r);)rO(Xet((!(n=QH(K5(r),79)).b&&(n.b=new cR(DLe,n,4,7)),n.b),0),186)||(a=xCt(QH(Xet((!n.c&&(n.c=new cR(DLe,n,5,8)),n.c),0),82)),e.a._b(a)||(i.c[i.c.length]=a));return i}function AFt(t){var e,n,r,i,a;for(i=new Db,e=new L$((!t.a&&(t.a=new tz($Le,t,10,11)),t.a)),r=new oG(YO(AOt(t).a.Kc(),new u));AIt(r);)rO(Xet((!(n=QH(K5(r),79)).b&&(n.b=new cR(DLe,n,4,7)),n.b),0),186)||(a=xCt(QH(Xet((!n.c&&(n.c=new cR(DLe,n,5,8)),n.c),0),82)),e.a._b(a)||i.a.zc(a,i));return i}function pFt(t,e,n,r,i){return r<0?((r=KCt(t,i,xst(jw(Vee,1),cVt,2,6,[WVt,YVt,JVt,ZVt,tWt,eWt,nWt,rWt,iWt,aWt,oWt,sWt]),e))<0&&(r=KCt(t,i,xst(jw(Vee,1),cVt,2,6,["Jan","Feb","Mar","Apr",tWt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(r<0||(n.k=r,0))):r>0&&(n.k=r-1,!0)}function gFt(t,e,n,r,i){return r<0?((r=KCt(t,i,xst(jw(Vee,1),cVt,2,6,[WVt,YVt,JVt,ZVt,tWt,eWt,nWt,rWt,iWt,aWt,oWt,sWt]),e))<0&&(r=KCt(t,i,xst(jw(Vee,1),cVt,2,6,["Jan","Feb","Mar","Apr",tWt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(r<0||(n.k=r,0))):r>0&&(n.k=r-1,!0)}function mFt(t,e,n,r,i,a){var o,s,c;if(s=32,r<0){if(e[0]>=t.length)return!1;if(43!=(s=lV(t,e[0]))&&45!=s)return!1;if(++e[0],(r=GSt(t,e))<0)return!1;45==s&&(r=-r)}return 32==s&&e[0]-n==2&&2==i.b&&(o=(c=(new SC).q.getFullYear()-cWt+cWt-80)%100,a.a=r==o,r+=100*(c/100|0)+(r<o?100:0)),a.p=r,!0}function bFt(t,n){var r,i,a;WJ(t)&&(a=QH(bEt(n,(HXt(),Rge)),174),jS(JIt(t,tme))===jS((Vkt(),VBe))&&Wmt(t,tme,qBe),jE(),i=jGt(new Ny(WJ(t)),new WN(WJ(t)?new Ny(WJ(t)):null,t),!1,!0),sit(a,(bpt(),NSe)),(r=QH(bEt(n,Uge),8)).a=e.Math.max(i.a,r.a),r.b=e.Math.max(i.b,r.b))}function vFt(t,e,n){var r,i,a,o,s,c;for(o=QH(bEt(t,(lqt(),Jhe)),15).Kc();o.Ob();){switch(a=QH(o.Pb(),10),QH(bEt(a,(HXt(),vge)),163).g){case 2:EZ(a,e);break;case 4:EZ(a,n)}for(i=new oG(YO(ldt(a).a.Kc(),new u));AIt(i);)(r=QH(K5(i),17)).c&&r.d||(s=!r.d,c=QH(bEt(r,mfe),11),s?kZ(r,c):CZ(r,c))}}function yFt(){yFt=L,Qle=new zV(bJt,0,(yzt(),sSe),sSe),jle=new zV(yJt,1,CSe,CSe),Rle=new zV(vJt,2,oSe,oSe),Gle=new zV(wJt,3,xSe,xSe),Hle=new zV("NORTH_WEST_CORNER",4,xSe,sSe),Ule=new zV("NORTH_EAST_CORNER",5,sSe,oSe),Kle=new zV("SOUTH_WEST_CORNER",6,CSe,xSe),$le=new zV("SOUTH_EAST_CORNER",7,oSe,CSe)}function wFt(){wFt=L,kEe=xst(jw(LNe,1),QWt,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),e.Math.pow(2,-65)}function TFt(t,e){var n,r,i,a,o;if(0==t.c.length)return new nS(nft(0),nft(0));for(n=(u1(0,t.c.length),QH(t.c[0],11)).j,o=0,a=e.g,r=e.g+1;o<t.c.length-1&&n.g<a;)n=(u1(++o,t.c.length),QH(t.c[o],11)).j;for(i=o;i<t.c.length-1&&n.g<r;)++i,n=(u1(o,t.c.length),QH(t.c[o],11)).j;return new nS(nft(o),nft(i))}function kFt(t,n,r){var i,a,o,s,c,l,u,h,f,d;for(o=n.c.length,u1(r,n.c.length),c=(s=QH(n.c[r],286)).a.o.a,f=s.c,d=0,u=s.c;u<=s.f;u++){if(c<=t.a[u])return u;for(h=t.a[u],l=null,a=r+1;a<o;a++)u1(a,n.c.length),(i=QH(n.c[a],286)).c<=u&&i.f>=u&&(l=i);l&&(h=e.Math.max(h,l.a.o.a)),h>d&&(f=u,d=h)}return f}function CFt(t,e,n){var r,i,a;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,16==(16&t.e)&&(t.i=gRt(t.i)),t.j=t.i.length,VXt(t),a=qpt(t),t.d!=t.j)throw Um(new iw(yqt((aM(),d9t))));if(t.g){for(r=0;r<t.g.a.c.length;r++)if(i=QH(hq(t.g,r),584),t.f<=i.a)throw Um(new iw(yqt((aM(),A9t))));t.g.a.c=O9(Lte,Hqt,1,0,5,1)}return a}function EFt(t,e){var n,r,i;if(null==e){for(!t.a&&(t.a=new tz(GIe,t,9,5)),r=new SO(t.a);r.e!=r.i.gc();)if(null==(null==(i=(n=QH(ymt(r),678)).c)?n.zb:i))return n}else for(!t.a&&(t.a=new tz(GIe,t,9,5)),r=new SO(t.a);r.e!=r.i.gc();)if(mR(e,null==(i=(n=QH(ymt(r),678)).c)?n.zb:i))return n;return null}function xFt(t,e){var n;switch(n=null,e.g){case 1:t.e.Xe((cqt(),t_e))&&(n=QH(t.e.We(t_e),249));break;case 3:t.e.Xe((cqt(),e_e))&&(n=QH(t.e.We(e_e),249));break;case 2:t.e.Xe((cqt(),Zxe))&&(n=QH(t.e.We(Zxe),249));break;case 4:t.e.Xe((cqt(),n_e))&&(n=QH(t.e.We(n_e),249))}return!n&&(n=QH(t.e.We((cqt(),Yxe)),249)),n}function _Ft(t,e,n){var r,i,a,o,s,c;for(e.p=1,i=e.c,c=NAt(e,(art(),Hbe)).Kc();c.Ob();)for(r=new zd(QH(c.Pb(),11).g);r.a<r.c.c.length;)e!=(s=QH(J1(r),17).d.i)&&s.c.p<=i.p&&((a=i.p+1)==n.b.c.length?((o=new UX(n)).p=a,zH(n.b,o),EZ(s,o)):EZ(s,o=QH(O$(n.b,a),29)),_Ft(t,s,n))}function BFt(t,n,r){var i,a,o,s,c,l;for(a=r,o=0,c=new zd(n);c.a<c.c.c.length;)Wmt(s=QH(J1(c),33),(Gyt(),ITe),nft(a++)),l=dFt(s),i=e.Math.atan2(s.j+s.f/2,s.i+s.g/2),(i+=i<0?J4t:0)<.7853981633974483||i>g3t?mM(l,t.b):i<=g3t&&i>m3t?mM(l,t.d):i<=m3t&&i>b3t?mM(l,t.c):i<=b3t&&mM(l,t.a),o=BFt(t,l,o);return a}function SFt(){var t;for(SFt=L,Yee=new G6(1,1),Zee=new G6(1,10),ene=new G6(0,0),Wee=new G6(-1,1),Jee=xst(jw(sne,1),cVt,91,0,[ene,Yee,new G6(1,2),new G6(1,3),new G6(1,4),new G6(1,5),new G6(1,6),new G6(1,7),new G6(1,8),new G6(1,9),Zee]),tne=O9(sne,cVt,91,32,0,1),t=0;t<tne.length;t++)tne[t]=Zgt(bG(1,t))}function LFt(t,e,n,r,i,a){var o,s,c,l;for(s=!yk(SV(t.Oc(),new iA(new Jn))).sd((dE(),Zne)),o=t,a==(Qht(),U_e)&&(o=rO(o,152)?o6(QH(o,152)):rO(o,131)?QH(o,131).a:rO(o,54)?new ly(o):new xC(o)),l=o.Kc();l.Ob();)(c=QH(l.Pb(),70)).n.a=e.a,c.n.b=s?e.b+(r.b-c.o.b)/2:i?e.b:e.b+r.b-c.o.b,e.a+=c.o.a+n}function IFt(t,e,n,r){var i,a,o,s,c;for(i=(r.c+r.a)/2,bW(e.j),Nj(e.j,i),bW(n.e),Nj(n.e,i),c=new $T,o=new zd(t.f);o.a<o.c.c.length;)FTt(c,e,s=QH(J1(o),129).a),FTt(c,n,s);for(a=new zd(t.k);a.a<a.c.c.length;)FTt(c,e,s=QH(J1(a),129).b),FTt(c,n,s);return c.b+=2,c.a+=IW(e,t.q),c.a+=IW(t.q,n),c}function MFt(t,e,n){var r,i,a,o,s;if(!c4(e)){for(SCt(s=bat(n,(rO(e,14)?QH(e,14).gc():R4(e.Kc()))/t.a|0),K4t,1),o=new Mo,a=null,i=e.Kc();i.Ob();)r=QH(i.Pb(),86),o=Xnt(xst(jw(Nte,1),Hqt,20,0,[o,new hg(r)])),a&&(lct(a,(j$t(),hwe),r),lct(r,rwe,a),j9(r)==j9(a)&&(lct(a,fwe,r),lct(r,iwe,a))),a=r;Hxt(s),MFt(t,o,n)}}function OFt(t){var e,n,r,i,a,o,s;for(n=t.i,e=t.n,s=n.d,t.f==(j7(),nie)?s+=(n.a-t.e.b)/2:t.f==eie&&(s+=n.a-t.e.b),i=new zd(t.d);i.a<i.c.c.length;){switch(o=(r=QH(J1(i),181)).rf(),(a=new jT).b=s,s+=o.b+t.a,t.b.g){case 0:a.a=n.c+e.b;break;case 1:a.a=n.c+e.b+(n.b-o.a)/2;break;case 2:a.a=n.c+n.b-e.c-o.a}r.tf(a)}}function NFt(t){var e,n,r,i,a,o,s;for(n=t.i,e=t.n,s=n.c,t.b==(W8(),qre)?s+=(n.b-t.e.a)/2:t.b==Wre&&(s+=n.b-t.e.a),i=new zd(t.d);i.a<i.c.c.length;){switch(o=(r=QH(J1(i),181)).rf(),(a=new jT).a=s,s+=o.a+t.a,t.f.g){case 0:a.b=n.d+e.d;break;case 1:a.b=n.d+e.d+(n.a-o.b)/2;break;case 2:a.b=n.d+n.a-e.a-o.b}r.tf(a)}}function DFt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;l=n.a.c,o=n.a.c+n.a.b,f=(a=QH(DX(n.c,e),459)).f,d=a.a,s=new OB(l,f),u=new OB(o,d),i=l,n.p||(i+=t.c),c=new OB(i+=n.F+n.v*t.b,f),h=new OB(i,d),Znt(e.a,xst(jw(EEe,1),cVt,8,0,[s,c])),n.d.a.gc()>1&&(r=new OB(i,n.b),Nj(e.a,r)),Znt(e.a,xst(jw(EEe,1),cVt,8,0,[h,u]))}function FFt(t){ME(t,new CCt(gT(fT(pT(AT(new gs,R5t),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Ys))),a2(t,R5t,VJt,ISe),a2(t,R5t,mZt,15),a2(t,R5t,vZt,nft(0)),a2(t,R5t,qJt,AZt)}function PFt(){var t,e,n,r,i,a;for(PFt=L,XOe=O9(INe,m6t,25,255,15,1),qOe=O9(_Ne,XVt,25,16,15,1),e=0;e<255;e++)XOe[e]=-1;for(n=57;n>=48;n--)XOe[n]=n-48<<24>>24;for(r=70;r>=65;r--)XOe[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)XOe[i]=i-97+10<<24>>24;for(a=0;a<10;a++)qOe[a]=48+a&VVt;for(t=10;t<=15;t++)qOe[t]=65+t-10&VVt}function RFt(t,e,n){var r,i,a,o,s,c,l,u;return s=e.i-t.g/2,c=n.i-t.g/2,l=e.j-t.g/2,u=n.j-t.g/2,a=e.g+t.g/2,o=n.g+t.g/2,r=e.f+t.g/2,i=n.f+t.g/2,s<c+o&&c<s&&l<u+i&&u<l||c<s+a&&s<c&&u<l+r&&l<u||s<c+o&&c<s&&l<u&&u<l+r||c<s+a&&s<c&&l<u+i&&u<l}function QFt(t){var n,r,i,a,o;a=QH(bEt(t,(HXt(),Rge)),21),o=QH(bEt(t,Hge),21),n=new fI(r=new OB(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((bpt(),NSe))&&(i=QH(bEt(t,Uge),8),o.Hc((ZRt(),jSe))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=e.Math.max(r.a,i.a),n.b=e.Math.max(r.b,i.b)),Hy(TF(bEt(t,Qge)))||GHt(t,r,n)}function UFt(t,e){var n,r,i,a;for(a=adt(e,(yzt(),CSe)).Kc();a.Ob();)r=QH(a.Pb(),11),(n=QH(bEt(r,(lqt(),wfe)),10))&&GNt(iE(rE(aE(nE(new Ub,0),.1),t.i[e.p].d),t.i[n.p].a));for(i=adt(e,sSe).Kc();i.Ob();)r=QH(i.Pb(),11),(n=QH(bEt(r,(lqt(),wfe)),10))&&GNt(iE(rE(aE(nE(new Ub,0),.1),t.i[n.p].d),t.i[e.p].a))}function HFt(t){var e,n,r,i,a;if(!t.c){if(a=new kc,null==(e=CMe).a.zc(t,e)){for(r=new SO(i3(t));r.e!=r.i.gc();)rO(i=hUt(n=QH(ymt(r),87)),88)&&pX(a,HFt(QH(i,26))),l8(a,n);e.a.Bc(t),e.a.gc()}IAt(a),iut(a),t.c=new ML((QH(Xet(qW((qX(),JIe).o),15),18),a.i),a.g),E5(t).b&=-33}return t.c}function jFt(t){var e;if(10!=t.c)throw Um(new iw(yqt((aM(),p9t))));switch(e=t.a){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Um(new iw(yqt((aM(),G9t))))}return e}function $Ft(t){var e,n,r,i;if(0==t.l&&0==t.m&&0==t.h)return"0";if(t.h==_Wt&&0==t.m&&0==t.l)return"-9223372036854775808";if(t.h>>19!=0)return"-"+$Ft(act(t));for(n=t,r="";0!=n.l||0!=n.m||0!=n.h;){if(n=L$t(n,R5(LWt),!0),e=""+Tk(hee),0!=n.l||0!=n.m||0!=n.h)for(i=9-e.length;i>0;i--)e="0"+e;r=e+r}return r}function KFt(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);return void 0===e[t]&&0==Object.getOwnPropertyNames(e).length&&(e[t]=42,42===e[t]&&0!=Object.getOwnPropertyNames(e).length)}function GFt(t){var e,n,r,i,a,o,s;for(e=!1,n=0,i=new zd(t.d.b);i.a<i.c.c.length;)for((r=QH(J1(i),29)).p=n++,o=new zd(r.a);o.a<o.c.c.length;)a=QH(J1(o),10),!e&&!c4(ldt(a))&&(e=!0);s=wK((Qht(),Q_e),xst(jw(z_e,1),IVt,103,0,[P_e,R_e])),e||(sit(s,U_e),sit(s,F_e)),t.a=new het(s),Lz(t.f),Lz(t.b),Lz(t.e),Lz(t.g)}function zFt(t,e,n){var r,i,a,o,s,c,l,u,h;for(r=n.c,i=n.d,s=A1(e.c),c=A1(e.d),r==e.c?(s=hOt(t,s,i),c=cEt(e.d)):(s=cEt(e.c),c=hOt(t,c,i)),n5(l=new FT(e.a),s,l.a,l.a.a),n5(l,c,l.c.b,l.c),o=e.c==r,h=new Wb,a=0;a<l.b-1;++a)u=new nS(QH(Dmt(l,a),8),QH(Dmt(l,a+1),8)),o&&0==a||!o&&a==l.b-2?h.b=u:zH(h.a,u);return h}function XFt(t,e){var n,r,i,a;if(0!=(a=t.j.g-e.j.g))return a;if(n=QH(bEt(t,(HXt(),eme)),19),r=QH(bEt(e,eme),19),n&&r&&0!=(i=n.a-r.a))return i;switch(t.j.g){case 1:return xft(t.n.a,e.n.a);case 2:return xft(t.n.b,e.n.b);case 3:return xft(e.n.a,t.n.a);case 4:return xft(e.n.b,t.n.b);default:throw Um(new Ry(r1t))}}function qFt(t,n,r,i){var a,o,s,c;if(R4((HQ(),new oG(YO(ldt(n).a.Kc(),new u))))>=t.a)return-1;if(!eCt(n,r))return-1;if(c4(QH(i.Kb(n),20)))return 1;for(a=0,s=QH(i.Kb(n),20).Kc();s.Ob();){if(-1==(c=qFt(t,(o=QH(s.Pb(),17)).c.i==n?o.d.i:o.c.i,r,i)))return-1;if((a=e.Math.max(a,c))>t.c-1)return-1}return a+1}function VFt(t,e){var n,r,i,a,o,s;if(jS(e)===jS(t))return!0;if(!rO(e,15))return!1;if(r=QH(e,15),s=t.gc(),r.gc()!=s)return!1;if(o=r.Kc(),t.ni()){for(n=0;n<s;++n)if(i=t.ki(n),a=o.Pb(),null==i?null!=a:!Oht(i,a))return!1}else for(n=0;n<s;++n)if(i=t.ki(n),a=o.Pb(),jS(i)!==jS(a))return!1;return!0}function WFt(t,e){var n,r,i,a,o,s;if(t.f>0)if(t.qj(),null!=e){for(a=0;a<t.d.length;++a)if(n=t.d[a])for(r=QH(n.g,367),s=n.i,o=0;o<s;++o)if(Oht(e,(i=r[o]).dd()))return!0}else for(a=0;a<t.d.length;++a)if(n=t.d[a])for(r=QH(n.g,367),s=n.i,o=0;o<s;++o)if(i=r[o],jS(e)===jS(i.dd()))return!0;return!1}function YFt(t,e,n){var r,i,a,o;SCt(n,"Orthogonally routing hierarchical port edges",1),t.a=0,OKt(e,r=Gjt(e)),V$t(t,e,r),uzt(e),i=QH(bEt(e,(HXt(),tme)),98),_Gt((u1(0,(a=e.b).c.length),QH(a.c[0],29)),i,e),_Gt(QH(O$(a,a.c.length-1),29),i,e),kHt((u1(0,(o=e.b).c.length),QH(o.c[0],29))),kHt(QH(O$(o,o.c.length-1),29)),Hxt(n)}function JFt(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw Um(new kw("Invalid hexadecimal"))}}function ZFt(t,e,n){var r,i,a,o;for(SCt(n,"Processor order nodes",2),t.a=jy(kF(bEt(e,(_It(),Owe)))),i=new VC,o=cmt(e.b,0);o.b!=o.d.c;)Hy(TF(bEt(a=QH(h4(o),86),(j$t(),dwe))))&&n5(i,a,i.c.b,i.c);ED(0!=i.b),Pjt(t,r=QH(i.a.a.c,86)),!n.b&&jrt(n,1),UPt(t,r,0-jy(kF(bEt(r,(j$t(),awe))))/2,0),!n.b&&jrt(n,1),Hxt(n)}function tPt(){tPt=L,Dre=new Ux("SPIRAL",0),Lre=new Ux("LINE_BY_LINE",1),Ire=new Ux("MANHATTAN",2),Sre=new Ux("JITTER",3),Ore=new Ux("QUADRANTS_LINE_BY_LINE",4),Nre=new Ux("QUADRANTS_MANHATTAN",5),Mre=new Ux("QUADRANTS_JITTER",6),Bre=new Ux("COMBINE_LINE_BY_LINE_MANHATTAN",7),_re=new Ux("COMBINE_JITTER_MANHATTAN",8)}function ePt(t,e,n,r){var i,a,o,s,c,l;for(c=OTt(t,n),l=OTt(e,n),i=!1;c&&l&&(r||byt(c,l,n));)o=OTt(c,n),s=OTt(l,n),S7(e),S7(t),a=c.c,rKt(c,!1),rKt(l,!1),n?(Vyt(e,l.p,a),e.p=l.p,Vyt(t,c.p+1,a),t.p=c.p):(Vyt(t,c.p,a),t.p=c.p,Vyt(e,l.p+1,a),e.p=l.p),EZ(c,null),EZ(l,null),c=o,l=s,i=!0;return i}function nPt(t,e,n,r){var i,a,o,s,c;for(i=!1,a=!1,s=new zd(r.j);s.a<s.c.c.length;)jS(bEt(o=QH(J1(s),11),(lqt(),dfe)))===jS(n)&&(0==o.g.c.length?0==o.e.c.length||(i=!0):a=!0);return c=0,i&&i^a?c=n.j==(yzt(),sSe)?-t.e[r.c.p][r.p]:e-t.e[r.c.p][r.p]:a&&i^a?c=t.e[r.c.p][r.p]+1:i&&a&&(c=n.j==(yzt(),sSe)?0:e/2),c}function rPt(t,e,n,r,i,a,o,s){var c,l,u;for(c=0,null!=e&&(c^=mbt(e.toLowerCase())),null!=n&&(c^=mbt(n)),null!=r&&(c^=mbt(r)),null!=o&&(c^=mbt(o)),null!=s&&(c^=mbt(s)),l=0,u=a.length;l<u;l++)c^=mbt(a[l]);t?c|=256:c&=-257,i?c|=16:c&=-17,this.f=c,this.i=null==e?null:(vq(e),e),this.a=n,this.d=r,this.j=a,this.g=o,this.e=s}function iPt(t,e,n){var r,i;switch(i=null,e.g){case 1:pat(),i=Mse;break;case 2:pat(),i=Nse}switch(r=null,n.g){case 1:pat(),r=Ose;break;case 2:pat(),r=Ise;break;case 3:pat(),r=Dse;break;case 4:pat(),r=Fse}return i&&r?FH(t.j,new Qh(new Wy(xst(jw(Mte,1),Hqt,169,0,[QH(bX(i),169),QH(bX(r),169)])))):(CW(),CW(),cne)}function aPt(t){var e,n,r;switch(e=QH(bEt(t,(HXt(),Uge)),8),lct(t,Uge,new OB(e.b,e.a)),QH(bEt(t,vpe),248).g){case 1:lct(t,vpe,(dbt(),IEe));break;case 2:lct(t,vpe,(dbt(),_Ee));break;case 3:lct(t,vpe,(dbt(),SEe));break;case 4:lct(t,vpe,(dbt(),LEe))}(t.q?t.q:(CW(),CW(),lne))._b(sme)&&(r=(n=QH(bEt(t,sme),8)).a,n.a=n.b,n.b=r)}function oPt(t,e,n,r,i,a){if(this.b=n,this.d=i,t>=e.length)throw Um(new Sy("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new qR(r),vit(this.e,this.c,(yzt(),xSe)),this.i=new qR(r),vit(this.i,this.c,oSe),this.f=new uK(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(oxt(),kse),this.a&&p_t(this,t,e.length)}function sPt(t,e){var n,r,i,a,o,s;a=!t.B.Hc((ZRt(),USe)),o=t.B.Hc($Se),t.a=new HAt(o,a,t.c),t.n&&vW(t.a.n,t.n),yy(t.g,(Det(),$re),t.a),e||((r=new Bgt(1,a,t.c)).n.a=t.k,mK(t.p,(yzt(),sSe),r),(i=new Bgt(1,a,t.c)).n.d=t.k,mK(t.p,CSe,i),(s=new Bgt(0,a,t.c)).n.c=t.k,mK(t.p,xSe,s),(n=new Bgt(0,a,t.c)).n.b=t.k,mK(t.p,oSe,n))}function cPt(t){var e,n,r;switch((e=QH(bEt(t.d,(HXt(),Ype)),218)).g){case 2:n=CXt(t);break;case 3:r=new Mm,WC(SV(LV(ftt(ftt(new D$(null,new f1(t.d.b,16)),new Li),new Ii),new Mi),new mi),new xp(r)),n=r;break;default:throw Um(new Ry("Compaction not supported for "+e+" edges."))}p$t(t,n),t5(new xd(t.g),new Cp(t))}function lPt(t,e){var n;return n=new Jt,e&&jot(n,QH(DX(t.a,OLe),94)),rO(e,470)&&jot(n,QH(DX(t.a,NLe),94)),rO(e,354)?(jot(n,QH(DX(t.a,jLe),94)),n):(rO(e,82)&&jot(n,QH(DX(t.a,DLe),94)),rO(e,239)?(jot(n,QH(DX(t.a,$Le),94)),n):rO(e,186)?(jot(n,QH(DX(t.a,KLe),94)),n):(rO(e,352)&&jot(n,QH(DX(t.a,FLe),94)),n))}function uPt(){uPt=L,Yae=new GI((cqt(),p_e),nft(1)),roe=new GI(I_e,80),noe=new GI(C_e,5),Rae=new GI(rxe,AZt),Jae=new GI(g_e,nft(1)),eoe=new GI(v_e,(cN(),!0)),qae=new zI(50),Xae=new GI(Gxe,qae),Uae=xxe,Vae=a_e,Qae=new GI(dxe,!1),zae=Kxe,Gae=Hxe,Kae=Fxe,$ae=Nxe,Wae=l_e,wxt(),jae=_ae,ioe=Mae,Hae=xae,Zae=Sae,toe=Iae}function hPt(t){var e,n,r,i,a,o,s;for(s=new g5,o=new zd(t.a);o.a<o.c.c.length;)if((a=QH(J1(o),10)).k!=(oxt(),kse))for(RIt(s,a,new jT),i=new oG(YO(hdt(a).a.Kc(),new u));AIt(i);)if((r=QH(K5(i),17)).c.i.k!=kse&&r.d.i.k!=kse)for(n=cmt(r.a,0);n.b!=n.d.c;)WTt(s,new d_((e=QH(h4(n),8)).a,e.b));return s}function fPt(){fPt=L,DCe=new am(P3t),BE(),OCe=new LL(j3t,NCe=jCe),Mst(),ICe=new LL(R3t,MCe=zCe),Ixt(),SCe=new LL(Q3t,LCe=nCe),ECe=new LL(U3t,null),L6(),_Ce=new LL(H3t,BCe=Yke),xE(),yCe=new LL($3t,wCe=Gke),TCe=new LL(K3t,(cN(),!1)),kCe=new LL(G3t,nft(64)),CCe=new LL(z3t,!0),xCe=Jke}function dPt(t){var e,n,r,i,a;if(null==t.a)if(t.a=O9(SNe,JYt,25,t.c.b.c.length,16,1),t.a[0]=!1,ID(t.c,(HXt(),Kme)))for(n=QH(bEt(t.c,Kme),15).Kc();n.Ob();)(e=QH(n.Pb(),19).a)>0&&e<t.a.length&&(t.a[e]=!1);else for((a=new zd(t.c.b)).a<a.c.c.length&&J1(a),r=1;a.a<a.c.c.length;)i=QH(J1(a),29),t.a[r++]=GMt(i)}function APt(t,e){var n,r;switch(r=t.b,e){case 1:t.b|=1,t.b|=4,t.b|=8;break;case 2:t.b|=2,t.b|=4,t.b|=8;break;case 4:t.b|=1,t.b|=2,t.b|=4,t.b|=8;break;case 3:t.b|=16,t.b|=8;break;case 0:t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4}if(t.b!=r&&t.c)for(n=new SO(t.c);n.e!=n.i.gc();)LBt(E5(QH(ymt(n),473)),e)}function pPt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d;for(i=!1,s=0,c=(o=e).length;s<c;++s)a=o[s],Hy((cN(),!!a.e))&&!QH(O$(t.b,a.e.p),214).s&&(i|=(l=a.e,(h=(u=QH(O$(t.b,l.p),214)).e)[f=lT(n,h.length)][0].k==(oxt(),kse)?h[f]=INt(a,h[f],n?(yzt(),xSe):(yzt(),oSe)):u.c.Tf(h,n),d=DNt(t,u,n,r),NDt(u.e,u.o,n),d));return i}function gPt(t,e){var n,r,i,a,o;for(a=(!e.a&&(e.a=new tz($Le,e,10,11)),e.a).i,i=new SO((!e.a&&(e.a=new tz($Le,e,10,11)),e.a));i.e!=i.i.gc();)jS(JIt(r=QH(ymt(i),33),(cqt(),wxe)))!==jS((oht(),mBe))&&((o=QH(JIt(e,m_e),149))==(n=QH(JIt(r,m_e),149))||o&&y5(o,n))&&0!=(!r.a&&(r.a=new tz($Le,r,10,11)),r.a).i&&(a+=gPt(t,r));return a}function mPt(t){var e,n,r,i,a,o,s;for(r=0,s=0,o=new zd(t.d);o.a<o.c.c.length;)a=QH(J1(o),101),i=QH(E3(SV(new D$(null,new f1(a.j,16)),new Xi),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15),n=null,r<=s?(yzt(),n=sSe,r+=i.gc()):s<r&&(yzt(),n=CSe,s+=i.gc()),e=n,WC(LV(i.Oc(),new ji),new Sp(e))}function bPt(t){var e,n,r,i,a,o,s,c;for(t.b=new mLt(new Wy((yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe]))),new Wy((_it(),xst(jw(zle,1),IVt,361,0,[Dle,Nle,Ole])))),s=0,c=(o=xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length;s<c;++s)for(a=o[s],r=0,i=(n=xst(jw(zle,1),IVt,361,0,[Dle,Nle,Ole])).length;r<i;++r)e=n[r],XTt(t.b,a,e,new Mm)}function vPt(t,e){var n,r,i,a,o,s,c,l,u,h;if(o=QH(QH(c6(t.r,e),21),84),s=t.u.Hc((hSt(),nSe)),n=t.u.Hc(ZBe),r=t.u.Hc(JBe),l=t.u.Hc(rSe),h=t.B.Hc((ZRt(),qSe)),u=!n&&!r&&(l||2==o.gc()),lDt(t,e),i=null,c=null,s){for(c=i=QH((a=o.Kc()).Pb(),111);a.Ob();)c=QH(a.Pb(),111);i.d.b=0,c.d.c=0,u&&!i.a&&(i.d.c=0)}h&&(DCt(o),s&&(i.d.b=0,c.d.c=0))}function yPt(t,e){var n,r,i,a,o,s,c,l,u,h;if(o=QH(QH(c6(t.r,e),21),84),s=t.u.Hc((hSt(),nSe)),n=t.u.Hc(ZBe),r=t.u.Hc(JBe),c=t.u.Hc(rSe),h=t.B.Hc((ZRt(),qSe)),l=!n&&!r&&(c||2==o.gc()),qQt(t,e),u=null,i=null,s){for(i=u=QH((a=o.Kc()).Pb(),111);a.Ob();)i=QH(a.Pb(),111);u.d.d=0,i.d.a=0,l&&!u.a&&(u.d.a=0)}h&&(FCt(o),s&&(u.d.d=0,i.d.a=0))}function wPt(t,e,n){var r,i,a,o,s;if(r=e.k,e.p>=0)return!1;if(e.p=n.b,zH(n.e,e),r==(oxt(),Ese)||r==_se)for(i=new zd(e.j);i.a<i.c.c.length;)for(s=new $A(new zd(new jA(QH(J1(i),11)).a.g));bM(s.a);)if(o=(a=QH(J1(s.a),17).d.i).k,e.c!=a.c&&(o==Ese||o==_se)&&wPt(t,a,n))return!0;return!0}function TPt(t){var e;return 0!=(64&t.Db)?PLt(t):((e=new lN(PLt(t))).a+=" (changeable: ",bk(e,0!=(t.Bb&y6t)),e.a+=", volatile: ",bk(e,0!=(t.Bb&C8t)),e.a+=", transient: ",bk(e,0!=(t.Bb&RWt)),e.a+=", defaultValueLiteral: ",rL(e,t.j),e.a+=", unsettable: ",bk(e,0!=(t.Bb&k8t)),e.a+=", derived: ",bk(e,0!=(t.Bb&lVt)),e.a+=")",e.a)}function kPt(t){var e,n,r,i,a,o,s,c,l,u;for(n=OOt(t.d),a=(i=QH(bEt(t.b,(Tmt(),gae)),116)).b+i.c,o=i.d+i.a,c=n.d.a*t.e+a,s=n.b.a*t.f+o,If(t.b,new OB(c,s)),u=new zd(t.g);u.a<u.c.c.length;)e=KP(RD(new OB((l=QH(J1(u),562)).g-n.a.a,l.i-n.c.a),l.a,l.b),vO(QD(QM(XI(l.e)),l.d*l.a,l.c*l.b),-.5)),r=qI(l.e),eT(l.e,GP(e,r))}function CPt(t,e,n,r){var i,a,o,s,c;for(c=O9(MNe,cVt,104,(yzt(),xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length,0,2),o=0,s=(a=xst(jw(RSe,1),WZt,61,0,[ESe,sSe,oSe,CSe,xSe])).length;o<s;++o)c[(i=a[o]).g]=O9(MNe,jWt,25,t.c[i.g],15,1);return Uwt(c,t,sSe),Uwt(c,t,CSe),Nvt(c,t,sSe,e,n,r),Nvt(c,t,oSe,e,n,r),Nvt(c,t,CSe,e,n,r),Nvt(c,t,xSe,e,n,r),c}function EPt(t,e,n){if(cz(t.a,e)){if(RC(QH(DX(t.a,e),53),n))return 1}else Xq(t.a,e,new Db);if(cz(t.a,n)){if(RC(QH(DX(t.a,n),53),e))return-1}else Xq(t.a,n,new Db);if(cz(t.b,e)){if(RC(QH(DX(t.b,e),53),n))return-1}else Xq(t.b,e,new Db);if(cz(t.b,n)){if(RC(QH(DX(t.b,n),53),e))return 1}else Xq(t.b,n,new Db);return 0}function xPt(t,e,n,r){var i,a,o,s,c,l;if(null==n)for(i=QH(t.g,119),s=0;s<t.i;++s)if((o=i[s]).ak()==e)return Rmt(t,o,r);return YE(),a=QH(e,66).Oj()?QH(n,72):Y4(e,n),mI(t.e)?(l=!apt(t,e),r=WAt(t,a,r),c=e.$j()?IY(t,3,e,null,n,gHt(t,e,n,rO(e,99)&&0!=(QH(e,18).Bb&UWt)),l):IY(t,1,e,e.zj(),n,-1,l),r?r.Ei(c):r=c):r=WAt(t,a,r),r}function _Pt(t){var n,r,i,a,o,s;t.q!=(Vkt(),zBe)&&t.q!=GBe&&(a=t.f.n.d+Gj(QH(oV(t.b,(yzt(),sSe)),124))+t.c,n=t.f.n.a+Gj(QH(oV(t.b,CSe),124))+t.c,i=QH(oV(t.b,oSe),124),s=QH(oV(t.b,xSe),124),o=e.Math.max(0,i.n.d-a),o=e.Math.max(o,s.n.d-a),r=e.Math.max(0,i.n.a-n),r=e.Math.max(r,s.n.a-n),i.n.d=o,s.n.d=o,i.n.a=r,s.n.a=r)}function BPt(t,e){var n,r,i,a,o,s,c;for(SCt(e,"Restoring reversed edges",1),o=new zd(t.b);o.a<o.c.c.length;)for(s=new zd(QH(J1(o),29).a);s.a<s.c.c.length;)for(c=new zd(QH(J1(s),10).j);c.a<c.c.c.length;)for(i=0,a=(r=Y0(QH(J1(c),11).g)).length;i<a;++i)Hy(TF(bEt(n=r[i],(lqt(),xfe))))&&tHt(n,!1);Hxt(e)}function SPt(){this.b=new g3,this.d=new g3,this.e=new g3,this.c=new g3,this.a=new Om,this.f=new Om,OJ(EEe,new ys,new ws),OJ(MEe,new Ms,new Os),OJ(wse,new Ns,new Ds),OJ(Pse,new Ps,new Rs),OJ(cLe,new Qs,new Us),OJ(mne,new Ts,new ks),OJ(_ne,new Cs,new Es),OJ(yne,new xs,new _s),OJ(wne,new Bs,new Ss),OJ(Qne,new Ls,new Is)}function LPt(t){var e,n,r,i,a,o;return a=0,(e=Bwt(t)).Bj()&&(a|=4),0!=(t.Bb&k8t)&&(a|=2),rO(t,99)?(i=_bt(n=QH(t,18)),0!=(n.Bb&l6t)&&(a|=32),i&&(hX(dZ(i)),a|=8,((o=i.t)>1||-1==o)&&(a|=16),0!=(i.Bb&l6t)&&(a|=64)),0!=(n.Bb&UWt)&&(a|=C8t),a|=y6t):rO(e,457)?a|=512:(r=e.Bj())&&0!=(1&r.i)&&(a|=256),0!=(512&t.Bb)&&(a|=128),a}function IPt(t,e){var n,r,i,a,o;for(t=null==t?Kqt:(vq(t),t),i=0;i<e.length;i++)e[i]=nOt(e[i]);for(n=new _w,o=0,r=0;r<e.length&&-1!=(a=t.indexOf("%s",o));)n.a+=""+lD(null==t?Kqt:(vq(t),t),o,a),aL(n,e[r++]),o=a+2;if(j0(n,t,o,t.length),r<e.length){for(n.a+=" [",aL(n,e[r++]);r<e.length;)n.a+=Qqt,aL(n,e[r++]);n.a+="]"}return n.a}function MPt(t){var e,n,r,i,a;for(a=new W6(t.a.c.length),i=new zd(t.a);i.a<i.c.c.length;){switch(r=QH(J1(i),10),e=null,(n=QH(bEt(r,(HXt(),vge)),163)).g){case 1:case 2:Yst(),e=Lue;break;case 3:case 4:Yst(),e=Bue}e?(lct(r,(lqt(),jhe),(Yst(),Lue)),e==Bue?FNt(r,n,(art(),Ube)):e==Lue&&FNt(r,n,(art(),Hbe))):a.c[a.c.length]=r}return a}function OPt(t,e){var n,r,i,a,o,s,c;for(n=0,c=new zd(e);c.a<c.c.c.length;){for(s=QH(J1(c),11),Zlt(t.b,t.d[s.p]),o=0,i=new m6(s.b);bM(i.a)||bM(i.b);)xq(r=QH(bM(i.a)?J1(i.a):J1(i.b),17))?(a=kk(t,s==r.c?r.d:r.c))>t.d[s.p]&&(n+=J3(t.b,a),d4(t.a,nft(a))):++o;for(n+=t.b.d*o;!zy(t.a);)ktt(t.b,QH(dz(t.a),19).a)}return n}function NPt(t,e){var n;return t.f==iOe?(n=Nq(Q7((B_t(),WMe),e)),t.e?4==n&&e!=(kLt(),cOe)&&e!=(kLt(),aOe)&&e!=(kLt(),oOe)&&e!=(kLt(),sOe):2==n):!(!t.d||!(t.d.Hc(e)||t.d.Hc(Y1(Q7((B_t(),WMe),e)))||t.d.Hc(Q$t((B_t(),WMe),t.b,e))))||!(!t.f||!aNt((B_t(),t.f),yV(Q7(WMe,e))))&&(n=Nq(Q7(WMe,e)),t.e?4==n:2==n)}function DPt(t,n,r,i){var a,o,s,c,l,u,h,f;return l=(s=QH(JIt(r,(cqt(),A_e)),8)).a,h=s.b+t,(a=e.Math.atan2(h,l))<0&&(a+=J4t),(a+=n)>J4t&&(a-=J4t),u=(c=QH(JIt(i,A_e),8)).a,f=c.b+t,(o=e.Math.atan2(f,u))<0&&(o+=J4t),(o+=n)>J4t&&(o-=J4t),cM(),rrt(1e-10),e.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:a<o?-1:a>o?1:$L(isNaN(a),isNaN(o))}function FPt(t){var e,n,r,i,a,o,s;for(s=new Om,r=new zd(t.a.b);r.a<r.c.c.length;)Xq(s,e=QH(J1(r),57),new Mm);for(i=new zd(t.a.b);i.a<i.c.c.length;)for((e=QH(J1(i),57)).i=PWt,o=e.c.Kc();o.Ob();)a=QH(o.Pb(),57),QH(HS(SY(s.f,a)),15).Fc(e);for(n=new zd(t.a.b);n.a<n.c.c.length;)(e=QH(J1(n),57)).c.$b(),e.c=QH(HS(SY(s.f,e)),15);RDt(t)}function PPt(t){var e,n,r,i,a,o,s;for(s=new Om,r=new zd(t.a.b);r.a<r.c.c.length;)Xq(s,e=QH(J1(r),81),new Mm);for(i=new zd(t.a.b);i.a<i.c.c.length;)for((e=QH(J1(i),81)).o=PWt,o=e.f.Kc();o.Ob();)a=QH(o.Pb(),81),QH(HS(SY(s.f,a)),15).Fc(e);for(n=new zd(t.a.b);n.a<n.c.c.length;)(e=QH(J1(n),81)).f.$b(),e.f=QH(HS(SY(s.f,e)),15);UNt(t)}function RPt(t,e,n,r){var i,a;for($wt(t,e,n,r),Of(e,t.j-e.j+n),Nf(e,t.k-e.k+r),a=new zd(e.f);a.a<a.c.c.length;)switch((i=QH(J1(a),324)).a.g){case 0:dct(t,e.g+i.b.a,0,e.g+i.c.a,e.i-1);break;case 1:dct(t,e.g+e.o,e.i+i.b.a,t.o-1,e.i+i.c.a);break;case 2:dct(t,e.g+i.b.a,e.i+e.p,e.g+i.c.a,t.p-1);break;default:dct(t,0,e.i+i.b.a,e.g-1,e.i+i.c.a)}}function QPt(t,e,n,r,i){var a,o;try{if(e>=t.o)throw Um(new Cb);o=e>>5,a=bG(1,dK(bG(31&e,1))),t.n[n][o]=i?e0(t.n[n][o],a):t0(t.n[n][o],aj(a)),a=bG(a,1),t.n[n][o]=r?e0(t.n[n][o],a):t0(t.n[n][o],aj(a))}catch(r){throw rO(r=hst(r),320)?Um(new Sy(CJt+t.o+"*"+t.p+EJt+e+Qqt+n+xJt)):Um(r)}}function UPt(t,n,r,i){var a,o;n&&(a=jy(kF(bEt(n,(j$t(),lwe))))+i,o=r+jy(kF(bEt(n,awe)))/2,lct(n,Awe,nft(dK(uot(e.Math.round(a))))),lct(n,pwe,nft(dK(uot(e.Math.round(o))))),0==n.d.b||UPt(t,QH(eO(new fg(cmt(new hg(n).a.d,0))),86),r+jy(kF(bEt(n,awe)))+t.a,i+jy(kF(bEt(n,owe)))),null!=bEt(n,fwe)&&UPt(t,QH(bEt(n,fwe),86),r,i))}function HPt(t,n){var r,i,a,o,s,c,l,u,h,f,d;for(a=2*jy(kF(bEt(l=gq(n.a),(HXt(),Tme)))),h=jy(kF(bEt(l,Sme))),u=e.Math.max(a,h),o=O9(MNe,jWt,25,n.f-n.c+1,15,1),i=-u,r=0,c=n.b.Kc();c.Ob();)s=QH(c.Pb(),10),i+=t.a[s.c.p]+u,o[r++]=i;for(i+=t.a[n.a.c.p]+u,o[r++]=i,d=new zd(n.e);d.a<d.c.c.length;)f=QH(J1(d),10),i+=t.a[f.c.p]+u,o[r++]=i;return o}function jPt(t,e,n,r){var i,a,o,s,c,l,u,h;for(h=new dk(new Vp(t)),s=0,c=(o=xst(jw(Bse,1),a1t,10,0,[e,n])).length;s<c;++s)for(u=Mht(o[s],r).Kc();u.Ob();)for(a=new m6((l=QH(u.Pb(),11)).b);bM(a.a)||bM(a.b);)h5(i=QH(bM(a.a)?J1(a.a):J1(a.b),17))||(Cct(h.a,l,(cN(),gee)),xq(i)&&Yz(h,l==i.c?i.d:i.c));return bX(h),new ZR(h)}function $Pt(t,e){var n,r,i,a;if(0!=(a=QH(JIt(t,(cqt(),f_e)),61).g-QH(JIt(e,f_e),61).g))return a;if(n=QH(JIt(t,s_e),19),r=QH(JIt(e,s_e),19),n&&r&&0!=(i=n.a-r.a))return i;switch(QH(JIt(t,f_e),61).g){case 1:return xft(t.i,e.i);case 2:return xft(t.j,e.j);case 3:return xft(e.i,t.i);case 4:return xft(e.j,t.j);default:throw Um(new Ry(r1t))}}function KPt(t){var e,n,r;return 0!=(64&t.Db)?bxt(t):(e=new uN(Z5t),(n=t.k)?oL(oL((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new tz(jLe,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new tz(jLe,t,1,7)),QH(Xet(t.n,0),137)).a)||oL(oL((e.a+=' "',e),r),'"'))),oL(vk(oL(vk(oL(vk(oL(vk((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function GPt(t){var e,n,r;return 0!=(64&t.Db)?bxt(t):(e=new uN(t6t),(n=t.k)?oL(oL((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new tz(jLe,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new tz(jLe,t,1,7)),QH(Xet(t.n,0),137)).a)||oL(oL((e.a+=' "',e),r),'"'))),oL(vk(oL(vk(oL(vk(oL(vk((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function zPt(t,e){var n,r,i,a,o,s;if(null==e||0==e.length)return null;if(!(i=QH(CJ(t.a,e),149))){for(r=new Fd(new Bd(t.b).a.vc().Kc());r.a.Ob();)if(a=QH(r.a.Pb(),42),o=(n=QH(a.dd(),149)).c,s=e.length,mR(o.substr(o.length-s,s),e)&&(e.length==o.length||46==lV(o,o.length-e.length-1))){if(i)return null;i=n}i&&mZ(t.a,e,i)}return i}function XPt(t,e){var n,r,i;return n=new Nt,(r=QH(E3(LV(new D$(null,new f1(t.f,16)),n),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[(jlt(),Gne),Kne]))),21).gc())<(i=QH(E3(LV(new D$(null,new f1(e.f,16)),n),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[Gne,Kne]))),21).gc())?-1:r==i?0:1}function qPt(t){var e,n,r;ID(t,(HXt(),Lge))&&((r=QH(bEt(t,Lge),21)).dc()||(n=new VR(e=QH(XT(jBe),9),QH(CP(e,e.length),9),0),r.Hc((ZIt(),LBe))?sit(n,LBe):sit(n,IBe),r.Hc(BBe)||sit(n,BBe),r.Hc(_Be)?sit(n,NBe):r.Hc(xBe)?sit(n,OBe):r.Hc(SBe)&&sit(n,MBe),r.Hc(NBe)?sit(n,_Be):r.Hc(OBe)?sit(n,xBe):r.Hc(MBe)&&sit(n,SBe),lct(t,Lge,n)))}function VPt(t){var e,n,r,i,a,o,s;for(i=QH(bEt(t,(lqt(),nfe)),10),u1(0,(r=t.j).c.length),n=QH(r.c[0],11),o=new zd(i.j);o.a<o.c.c.length;)if(jS(a=QH(J1(o),11))===jS(bEt(n,dfe))){a.j==(yzt(),sSe)&&t.p>i.p?(jBt(a,CSe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=s-e)):a.j==CSe&&i.p>t.p&&(jBt(a,sSe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=-(s-e)));break}return i}function WPt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A;if(a=n,n<r)for(d=new Qot(t.p),A=new Qot(t.p),Qit(d.e,t.e),d.q=t.q,d.r=A,nX(d),Qit(A.j,t.j),A.r=d,nX(A),h=QH((f=new nS(d,A)).a,112),u=QH(f.b,112),u1(a,e.c.length),o=IFt(t,h,u,i=QH(e.c[a],329)),l=n+1;l<=r;l++)u1(l,e.c.length),qmt(s=QH(e.c[l],329),c=IFt(t,h,u,s),i,o)&&(i=s,o=c);return a}function YPt(t,e,n,r,i){var a,o,s,c,l,u,h;if(!(rO(e,239)||rO(e,354)||rO(e,186)))throw Um(new Py("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return o=t.a/2,c=e.i+r-o,u=e.j+i-o,l=c+e.g+t.a,h=u+e.f+t.a,Nj(a=new vv,new OB(c,u)),Nj(a,new OB(c,h)),Nj(a,new OB(l,h)),Nj(a,new OB(l,u)),jot(s=new TIt(a),e),n&&Xq(t.b,e,s),s}function JPt(t,e,n){var r,i,a,o,s,c,l,u;for(a=new OB(e,n),l=new zd(t.a);l.a<l.c.c.length;)for(KP((c=QH(J1(l),10)).n,a),u=new zd(c.j);u.a<u.c.c.length;)for(i=new zd(QH(J1(u),11).g);i.a<i.c.c.length;)for(Jet((r=QH(J1(i),17)).a,a),(o=QH(bEt(r,(HXt(),gge)),74))&&Jet(o,a),s=new zd(r.b);s.a<s.c.c.length;)KP(QH(J1(s),70).n,a)}function ZPt(t,e,n){var r,i,a,o,s,c,l,u;for(a=new OB(e,n),l=new zd(t.a);l.a<l.c.c.length;)for(KP((c=QH(J1(l),10)).n,a),u=new zd(c.j);u.a<u.c.c.length;)for(i=new zd(QH(J1(u),11).g);i.a<i.c.c.length;)for(Jet((r=QH(J1(i),17)).a,a),(o=QH(bEt(r,(HXt(),gge)),74))&&Jet(o,a),s=new zd(r.b);s.a<s.c.c.length;)KP(QH(J1(s),70).n,a)}function tRt(t){if(0==(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i)throw Um(new rw("Edges must have a source."));if(0==(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c).i)throw Um(new rw("Edges must have a target."));if(!t.b&&(t.b=new cR(DLe,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c.i<=1)))throw Um(new rw("Hyperedges are not supported."))}function eRt(t,e){var n,r,i,a,o,s,c,l,u,h;for(h=0,d4(a=new Im,e);a.b!=a.c;)for(c=QH(dz(a),214),l=0,u=QH(bEt(e.j,(HXt(),Ipe)),339),o=jy(kF(bEt(e.j,_pe))),s=jy(kF(bEt(e.j,Bpe))),u!=(bct(),Mbe)&&(l+=o*EMt(c.e,u),l+=s*rDt(c.e)),h+=cyt(c.d,c.e)+l,i=new zd(c.b);i.a<i.c.c.length;)r=QH(J1(i),37),(n=QH(O$(t.b,r.p),214)).s||(h+=Z_t(t,n));return h}function nRt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(c=d=e.length,h1(0,e.length),45==e.charCodeAt(0)?(h=-1,f=1,--d):(h=1,f=0),i=d/(a=(ojt(),ine)[10])|0,0!=(g=d%a)&&++i,s=O9(BNe,lWt,25,i,15,1),n=rne[8],o=0,A=f+(0==g?a:g),p=f;p<c;A=(p=A)+a)r=hQt(e.substr(p,A-p),RVt,Dqt),ILt(),l=Abt(s,s,o,n),l+=GAt(s,o,r),s[o++]=l;u=o,t.e=h,t.d=u,t.a=s,G0(t)}function rRt(t,e,n,r,i,a,o){if(t.c=r.qf().a,t.d=r.qf().b,i&&(t.c+=i.qf().a,t.d+=i.qf().b),t.b=e.rf().a,t.a=e.rf().b,i)switch(i.Hf().g){case 0:case 2:t.c+=i.rf().a+o+a.a+o;break;case 4:t.c-=o+a.a+o+e.rf().a;break;case 1:t.c+=i.rf().a+o,t.d-=o+a.b+o+e.rf().b;break;case 3:t.c+=i.rf().a+o,t.d+=i.rf().b+o+a.b+o}else n?t.c-=o+e.rf().a:t.c+=r.rf().a+o}function iRt(t,e){var n,r;for(this.b=new Mm,this.e=new Mm,this.a=t,this.d=e,$mt(this),gpt(this),this.b.dc()?this.c=t.c.p:this.c=QH(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=t.c.p:this.f=QH(O$(this.e,this.e.c.length-1),10).c.p,r=QH(bEt(t,(lqt(),Efe)),15).Kc();r.Ob();)if(ID(n=QH(r.Pb(),70),(HXt(),Xpe))){this.d=QH(bEt(n,Xpe),227);break}}function aRt(t,e,n){var r,i,a,o,s,c,l,u;for(r=QH(DX(t.a,e),53),a=QH(DX(t.a,n),53),i=QH(DX(t.e,e),53),o=QH(DX(t.e,n),53),r.a.zc(n,r),o.a.zc(e,o),u=a.a.ec().Kc();u.Ob();)l=QH(u.Pb(),10),r.a.zc(l,r),Tz(QH(DX(t.e,l),53),e),Qit(QH(DX(t.e,l),53),i);for(c=i.a.ec().Kc();c.Ob();)s=QH(c.Pb(),10),o.a.zc(s,o),Tz(QH(DX(t.a,s),53),n),Qit(QH(DX(t.a,s),53),a)}function oRt(t,e,n){var r,i,a,o,s,c,l,u;for(r=QH(DX(t.a,e),53),a=QH(DX(t.a,n),53),i=QH(DX(t.b,e),53),o=QH(DX(t.b,n),53),r.a.zc(n,r),o.a.zc(e,o),u=a.a.ec().Kc();u.Ob();)l=QH(u.Pb(),10),r.a.zc(l,r),Tz(QH(DX(t.b,l),53),e),Qit(QH(DX(t.b,l),53),i);for(c=i.a.ec().Kc();c.Ob();)s=QH(c.Pb(),10),o.a.zc(s,o),Tz(QH(DX(t.a,s),53),n),Qit(QH(DX(t.a,s),53),a)}function sRt(t,e){var n,r,i;switch(SCt(e,"Breaking Point Insertion",1),r=new CIt(t),QH(bEt(t,(HXt(),Qme)),337).g){case 2:i=new Ca;case 0:i=new Aa;break;default:i=new Ea}if(n=i.Vf(t,r),Hy(TF(bEt(t,Hme)))&&(n=D$t(t,n)),!i.Wf()&&ID(t,Gme))switch(QH(bEt(t,Gme),338).g){case 2:n=zBt(r,n);break;case 1:n=PCt(r,n)}n.dc()||tXt(t,n),Hxt(e)}function cRt(t,e,n){var r,i,a,o,s,c,l;if(l=e,Irt(c=q4(t,I4(n),l),D2(l,j6t)),o=M2(l,M6t),qBt((r=new oS(t,c)).a,r.b,o),s=M2(l,O6t),VBt((i=new sS(t,c)).a,i.b,s),0==(!c.b&&(c.b=new cR(DLe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new cR(DLe,c,5,8)),c.c).i)throw a=D2(l,j6t),Um(new tw(z6t+a+X6t));return ECt(l,c),cXt(t,l,c),Nct(t,l,c)}function lRt(t,n){var r,i,a,o,s,c,l;for(a=O9(BNe,lWt,25,t.e.a.c.length,15,1),s=new zd(t.e.a);s.a<s.c.c.length;)a[(o=QH(J1(s),121)).d]+=o.b.a.c.length;for(c=$H(n);0!=c.b;)for(i=I8(new zd((o=QH(0==c.b?null:(ED(0!=c.b),Let(c,c.a.a)),121)).g.a));i.Ob();)(l=(r=QH(i.Pb(),213)).e).e=e.Math.max(l.e,o.e+r.a),--a[l.d],0==a[l.d]&&n5(c,l,c.c.b,c.c)}function uRt(t){var n,r,i,a,o,s,c,l,u,h,f;for(r=RVt,a=Dqt,c=new zd(t.e.a);c.a<c.c.c.length;)o=QH(J1(c),121),a=e.Math.min(a,o.e),r=e.Math.max(r,o.e);for(n=O9(BNe,lWt,25,r-a+1,15,1),s=new zd(t.e.a);s.a<s.c.c.length;)(o=QH(J1(s),121)).e-=a,++n[o.e];if(i=0,null!=t.k)for(h=0,f=(u=t.k).length;h<f&&(l=u[h],n[i++]+=l,n.length!=i);++h);return n}function hRt(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return QH(PDt(t),19).a==t.o;case 1:case 2:if(-2==t.o)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return qS(t.k,t.f);case 3:case 4:return t.j==t.e;default:return null==t.n?null==t.g:Oht(t.n,t.g)}default:return!1}}function fRt(t){ME(t,new CCt(gT(fT(pT(AT(new gs,P5t),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new Ws))),a2(t,P5t,VJt,dBe),a2(t,P5t,p4t,bmt(ABe)),a2(t,P5t,p5t,bmt(cBe)),a2(t,P5t,xZt,bmt(lBe)),a2(t,P5t,UZt,bmt(hBe)),a2(t,P5t,W2t,bmt(uBe))}function dRt(t,e,n){var r,i,a,o;if(r=dK(idt(EVt,nV(dK(idt(null==e?0:Zct(e),xVt)),15))),o=dK(idt(EVt,nV(dK(idt(null==n?0:Zct(n),xVt)),15))),(a=Yit(t,e,r))&&o==a.f&&fq(n,a.i))return n;if(Jit(t,n,o))throw Um(new Py("value already present: "+n));return i=new Hq(e,r,n,o),a?(MOt(t,a),WBt(t,i,a),a.e=null,a.c=null,a.i):(WBt(t,i,null),jwt(t),null)}function ARt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;l=n.a.c,o=n.a.c+n.a.b,f=(a=QH(DX(n.c,e),459)).f,d=a.a,s=a.b?new OB(o,f):new OB(l,f),u=a.c?new OB(l,d):new OB(o,d),i=l,n.p||(i+=t.c),c=new OB(i+=n.F+n.v*t.b,f),h=new OB(i,d),Znt(e.a,xst(jw(EEe,1),cVt,8,0,[s,c])),n.d.a.gc()>1&&(r=new OB(i,n.b),Nj(e.a,r)),Znt(e.a,xst(jw(EEe,1),cVt,8,0,[h,u]))}function pRt(t,e,n){var r,i,a,o,s,c;if(e){if(n<=-1){if(rO(r=eet(e.Tg(),-1-n),99))return QH(r,18);for(s=0,c=(o=QH(e.ah(r),153)).gc();s<c;++s)if(jS(o.jl(s))===jS(t)&&rO(i=o.il(s),99)&&0!=((a=QH(i,18)).Bb&l6t))return a;throw Um(new Ry("The containment feature could not be located"))}return _bt(QH(eet(t.Tg(),n),18))}return null}function gRt(t){var e,n,r,i,a;for(r=t.length,e=new Ew,a=0;a<r;)if(9!=(n=lV(t,a++))&&10!=n&&12!=n&&13!=n&&32!=n)if(35!=n)92==n&&a<r?35==(h1(a,t.length),i=t.charCodeAt(a))||9==i||10==i||12==i||13==i||32==i?(MX(e,i&VVt),++a):(e.a+="\\",MX(e,i&VVt),++a):MX(e,n&VVt);else for(;a<r&&13!=(n=lV(t,a++))&&10!=n;);return e.a}function mRt(t,e){var n,r,i;for(r=new zd(e);r.a<r.c.c.length;)if(n=QH(J1(r),33),YSt(t.a,n,n),YSt(t.b,n,n),0!=(i=dFt(n)).c.length)for(t.d&&t.d.lg(i),YSt(t.a,n,(u1(0,i.c.length),QH(i.c[0],33))),YSt(t.b,n,QH(O$(i,i.c.length-1),33));0!=Dst(i).c.length;)i=Dst(i),t.d&&t.d.lg(i),YSt(t.a,n,(u1(0,i.c.length),QH(i.c[0],33))),YSt(t.b,n,QH(O$(i,i.c.length-1),33))}function bRt(t){var e,n,r,i,a,o,s,c,l,u;for(n=0,s=new zd(t.d);s.a<s.c.c.length;)(o=QH(J1(s),101)).i&&(o.i.c=n++);for(e=v$(SNe,[cVt,JYt],[177,25],16,[n,n],2),u=t.d,i=0;i<u.c.length;i++)if(u1(i,u.c.length),(c=QH(u.c[i],101)).i)for(a=i+1;a<u.c.length;a++)u1(a,u.c.length),(l=QH(u.c[a],101)).i&&(r=rEt(c,l),e[c.i.c][l.i.c]=r,e[l.i.c][c.i.c]=r);return e}function vRt(t,e,n,r){var i,a,o;return o=new bC(e,n),t.a?r?(++(i=QH(DX(t.b,e),283)).a,o.d=r.d,o.e=r.e,o.b=r,o.c=r,r.e?r.e.c=o:QH(DX(t.b,e),283).b=o,r.d?r.d.b=o:t.a=o,r.d=o,r.e=o):(t.e.b=o,o.d=t.e,t.e=o,(i=QH(DX(t.b,e),283))?(++i.a,(a=i.c).c=o,o.e=a,i.c=o):(Xq(t.b,e,i=new sY(o)),++t.c)):(t.a=t.e=o,Xq(t.b,e,new sY(o)),++t.c),++t.d,o}function yRt(t,e){var n,r,i,a,o,s,c,l;for(n=new RegExp(e,"g"),c=O9(Vee,cVt,2,0,6,1),r=0,l=t,a=null;;){if(null==(s=n.exec(l))||""==l){c[r]=l;break}o=s.index,c[r]=l.substr(0,o),l=lD(l,o+s[0].length,l.length),n.lastIndex=0,a==l&&(c[r]=l.substr(0,1),l=l.substr(1)),a=l,++r}if(t.length>0){for(i=c.length;i>0&&""==c[i-1];)--i;i<c.length&&(c.length=i)}return c}function wRt(t,e){var n,r,i,a,o,s,c,l;for(s=null,i=!1,a=0,c=i3((l=vY(e)).a).i;a<c;++a)(n=wRt(t,QH(eKt(l,a,rO(o=QH(Xet(i3(l.a),a),87).c,88)?QH(o,26):(pqt(),fMe)),26))).dc()||(s?(i||(i=!0,s=new nK(s)),s.Gc(n)):s=n);return(r=NSt(t,e)).dc()?s||(CW(),CW(),cne):s?(i||(s=new nK(s)),s.Gc(r),s):r}function TRt(t,e){var n,r,i,a,o,s,c,l;for(s=null,r=!1,a=0,c=i3((l=vY(e)).a).i;a<c;++a)(n=TRt(t,QH(eKt(l,a,rO(o=QH(Xet(i3(l.a),a),87).c,88)?QH(o,26):(pqt(),fMe)),26))).dc()||(s?(r||(r=!0,s=new nK(s)),s.Gc(n)):s=n);return(i=qLt(t,e)).dc()?s||(CW(),CW(),cne):s?(r||(s=new nK(s)),s.Gc(i),s):i}function kRt(t,e,n){var r,i,a,o,s,c;if(rO(e,72))return Rmt(t,e,n);for(s=null,a=null,r=QH(t.g,119),o=0;o<t.i;++o)if(Oht(e,(i=r[o]).dd())&&rO(a=i.ak(),99)&&0!=(QH(a,18).Bb&l6t)){s=i;break}return s&&(mI(t.e)&&(c=a.$j()?IY(t,4,a,e,null,gHt(t,a,e,rO(a,99)&&0!=(QH(a,18).Bb&UWt)),!0):IY(t,a.Kj()?2:1,a,e,a.zj(),-1,!0),n?n.Ei(c):n=c),n=kRt(t,s,n)),n}function CRt(t){var n,r,i,a;i=t.o,HF(),t.A.dc()||Oht(t.A,Lie)?a=i.a:(a=ESt(t.f),t.A.Hc((bpt(),DSe))&&!t.B.Hc((ZRt(),GSe))&&(a=e.Math.max(a,ESt(QH(oV(t.p,(yzt(),sSe)),244))),a=e.Math.max(a,ESt(QH(oV(t.p,CSe),244)))),(n=sot(t))&&(a=e.Math.max(a,n.a))),Hy(TF(t.e.yf().We((cqt(),Rxe))))?i.a=e.Math.max(i.a,a):i.a=a,(r=t.f.i).c=0,r.b=a,RUt(t.f)}function ERt(t,e){var n,r,i,a,o,s,c,l,u;if((n=e.Hh(t.a))&&null!=(c=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),"memberTypes")))){for(l=new Mm,o=0,s=(a=yRt(c,"\\w")).length;o<s;++o)rO(u=-1==(r=(i=a[o]).lastIndexOf("#"))?aF(t,e.Aj(),i):0==r?k8(t,null,i.substr(1)):k8(t,i.substr(0,r),i.substr(r+1)),148)&&zH(l,QH(u,148));return l}return CW(),CW(),cne}function xRt(t,e,n){var r,i,a,o,s,c,l,u;for(SCt(n,aZt,1),t.bf(e),a=0;t.df(a);){for(u=new zd(e.e);u.a<u.c.c.length;)for(c=QH(J1(u),144),s=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[e.e,e.d,e.b])));AIt(s);)(o=QH(K5(s),357))!=c&&(i=t.af(o,c))&&KP(c.a,i);for(l=new zd(e.e);l.a<l.c.c.length;)Xxt(r=(c=QH(J1(l),144)).a,-t.d,-t.d,t.d,t.d),KP(c.d,r),vL(r);t.cf(),++a}Hxt(n)}function _Rt(t,e,n){var r,i,a,o;if(o=aDt(t.e.Tg(),e),r=QH(t.g,119),YE(),QH(e,66).Oj()){for(a=0;a<t.i;++a)if(i=r[a],o.rl(i.ak())&&Oht(i,n))return uFt(t,a),!0}else if(null!=n){for(a=0;a<t.i;++a)if(i=r[a],o.rl(i.ak())&&Oht(n,i.dd()))return uFt(t,a),!0}else for(a=0;a<t.i;++a)if(i=r[a],o.rl(i.ak())&&null==i.dd())return uFt(t,a),!0;return!1}function BRt(t,e){var n,r,i,a,o;for(null==t.c||t.c.length<e.c.length?t.c=O9(SNe,JYt,25,e.c.length,16,1):Jy(t.c),t.a=new Mm,r=0,o=new zd(e);o.a<o.c.c.length;)(i=QH(J1(o),10)).p=r++;for(n=new VC,a=new zd(e);a.a<a.c.c.length;)i=QH(J1(a),10),t.c[i.p]||(lSt(t,i),0==n.b||(ED(0!=n.b),QH(n.a.a.c,15)).gc()<t.a.c.length?cL(n,t.a):lL(n,t.a),t.a=new Mm);return n}function SRt(t,e,n,r){var i,a,o,s,c,l,u;for(xnt(o=QH(Xet(e,0),33),0),_nt(o,0),(c=new Mm).c[c.c.length]=o,s=o,a=new t$(t.a,o.g,o.f,(WOt(),Pke)),l=1;l<e.i;l++)xnt(u=QH(Xet(e,l),33),(i=a$t(t,ZHt(t,Nke,u,s,a,c,n),ZHt(t,Oke,u,s,a,c,n),ZHt(t,Fke,u,s,a,c,n),ZHt(t,Dke,u,s,a,c,n),u,s,r)).d),_nt(u,i.e),id(i,Pke),a=i,s=u,c.c[c.c.length]=u;return a}function LRt(t){ME(t,new CCt(gT(fT(pT(AT(new gs,V3t),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new rs))),a2(t,V3t,P3t,bmt(HCe)),a2(t,V3t,VJt,QCe),a2(t,V3t,mZt,8),a2(t,V3t,j3t,bmt(UCe)),a2(t,V3t,G3t,bmt(PCe)),a2(t,V3t,z3t,bmt(RCe)),a2(t,V3t,z2t,(cN(),!1))}function IRt(t,e,n,r){var i,a,o,s,c,l,u,h;for(o=PD(e.c,n,r),u=new zd(e.a);u.a<u.c.c.length;){for(KP((l=QH(J1(u),10)).n,o),h=new zd(l.j);h.a<h.c.c.length;)for(a=new zd(QH(J1(h),11).g);a.a<a.c.c.length;)for(Jet((i=QH(J1(a),17)).a,o),(s=QH(bEt(i,(HXt(),gge)),74))&&Jet(s,o),c=new zd(i.b);c.a<c.c.c.length;)KP(QH(J1(c),70).n,o);zH(t.a,l),l.a=t}}function MRt(t,e){var n,r,i,a;if(SCt(e,"Node and Port Label Placement and Node Sizing",1),DI((AE(),new UV(t,!0,!0,new Vn))),QH(bEt(t,(lqt(),Yhe)),21).Hc((fFt(),uhe)))for(r=(i=QH(bEt(t,(HXt(),rme)),21)).Hc((hSt(),eSe)),a=Hy(TF(bEt(t,ime))),n=new zd(t.b);n.a<n.c.c.length;)WC(SV(new D$(null,new f1(QH(J1(n),29).a,16)),new Wn),new FQ(i,r,a));Hxt(e)}function ORt(t,e){var n,r,i,a,o,s;if((n=e.Hh(t.a))&&null!=(s=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),Z6t))))switch(i=mN(s,WCt(35)),r=e.Hj(),-1==i?(o=iG(t,Get(r)),a=s):0==i?(o=null,a=s.substr(1)):(o=s.substr(0,i),a=s.substr(i+1)),Nq(Q7(t,e))){case 2:case 3:return Dct(t,r,o,a);case 0:case 4:case 5:case 6:return Fct(t,r,o,a)}return null}function NRt(t,e,n){var r,i,a,o,s;if(YE(),o=QH(e,66).Oj(),IDt(t.e,e)){if(e.hi()&&GUt(t,e,n,rO(e,99)&&0!=(QH(e,18).Bb&UWt)))return!1}else for(s=aDt(t.e.Tg(),e),r=QH(t.g,119),a=0;a<t.i;++a)if(i=r[a],s.rl(i.ak()))return!(o?Oht(i,n):null==n?null==i.dd():Oht(n,i.dd()))&&(QH(sbt(t,a,o?QH(n,72):Y4(e,n)),72),!0);return l8(t,o?QH(n,72):Y4(e,n))}function DRt(t){var e,n,r,i,a;if(t.d)throw Um(new Ry((wF(Voe),LYt+Voe.k+IYt)));for(t.c==(Qht(),Q_e)&&CGt(t,P_e),e=new zd(t.a.a);e.a<e.c.c.length;)QH(J1(e),189).e=0;for(i=new zd(t.a.b);i.a<i.c.c.length;)for((r=QH(J1(i),81)).o=PWt,n=r.f.Kc();n.Ob();)++QH(n.Pb(),81).d.e;for($Gt(t),a=new zd(t.a.b);a.a<a.c.c.length;)QH(J1(a),81).k=!0;return t}function FRt(t,e){var n,r,i,a,o,s,c,l;for(s=new g_t(t),n5(n=new VC,e,n.c.b,n.c);0!=n.b;){for((r=QH(0==n.b?null:(ED(0!=n.b),Let(n,n.a.a)),113)).d.p=1,o=new zd(r.e);o.a<o.c.c.length;)wCt(s,i=QH(J1(o),409)),0==(l=i.d).d.p&&n5(n,l,n.c.b,n.c);for(a=new zd(r.b);a.a<a.c.c.length;)wCt(s,i=QH(J1(a),409)),0==(c=i.c).d.p&&n5(n,c,n.c.b,n.c)}return s}function PRt(t){var e,n,r,i,a;if(1!=(r=jy(kF(JIt(t,(cqt(),b_e))))))for(kI(t,r*t.g,r*t.f),n=GL(PH((!t.c&&(t.c=new tz(KLe,t,9,9)),t.c),new js)),a=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[(!t.n&&(t.n=new tz(jLe,t,1,7)),t.n),(!t.c&&(t.c=new tz(KLe,t,9,9)),t.c),n])));AIt(a);)(i=QH(K5(a),470)).Gg(r*i.Dg(),r*i.Eg()),i.Fg(r*i.Cg(),r*i.Bg()),(e=QH(i.We(r_e),8))&&(e.a*=r,e.b*=r)}function RRt(t,e,n,r,i){var a,o,s,c,l,u;for(a=new zd(t.b);a.a<a.c.c.length;)for(l=0,u=(c=J0(QH(J1(a),29).a)).length;l<u;++l)switch(QH(bEt(s=c[l],(HXt(),vge)),163).g){case 1:mDt(s),EZ(s,e),hbt(s,!0,r);break;case 3:JNt(s),EZ(s,n),hbt(s,!1,i)}for(o=new k2(t.b,0);o.b<o.d.gc();)0==(ED(o.b<o.d.gc()),QH(o.d.Xb(o.c=o.b++),29)).a.c.length&&lq(o)}function QRt(t,e){var n,r,i,a,o,s,c;if((n=e.Hh(t.a))&&null!=(c=CF(ipt((!n.b&&(n.b=new WD((pqt(),bMe),KMe,n)),n.b),C7t)))){for(r=new Mm,o=0,s=(a=yRt(c,"\\w")).length;o<s;++o)mR(i=a[o],"##other")?zH(r,"!##"+iG(t,Get(e.Hj()))):mR(i,"##local")?r.c[r.c.length]=null:mR(i,T7t)?zH(r,iG(t,Get(e.Hj()))):r.c[r.c.length]=i;return r}return CW(),CW(),cne}function URt(t,e){var n,r,i;return n=new zt,(r=1==(r=QH(E3(LV(new D$(null,new f1(t.f,16)),n),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[(jlt(),Gne),Kne]))),21).gc())?1:0)<(i=1==(i=QH(E3(LV(new D$(null,new f1(e.f,16)),n),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[Gne,Kne]))),21).gc())?1:0)?-1:r==i?0:1}function HRt(t){var e,n,r,i,a,o,s,c,l,u,h,f;for(i=Hy(TF(bEt(s=t.i,(HXt(),fge)))),u=0,r=0,l=new zd(t.g);l.a<l.c.c.length;)a=(o=h5(c=QH(J1(l),17)))&&i&&Hy(TF(bEt(c,dge))),f=c.d.i,o&&a?++r:o&&!a?++u:gq(f).e==s?++r:++u;for(n=new zd(t.e);n.a<n.c.c.length;)a=(o=h5(e=QH(J1(n),17)))&&i&&Hy(TF(bEt(e,dge))),h=e.c.i,o&&a?++u:o&&!a?++r:gq(h).e==s?++u:++r;return u-r}function jRt(t,e,n,r){this.e=t,this.k=QH(bEt(t,(lqt(),Sfe)),304),this.g=O9(Bse,a1t,10,e,0,1),this.b=O9(xee,cVt,333,e,7,1),this.a=O9(Bse,a1t,10,e,0,1),this.d=O9(xee,cVt,333,e,7,1),this.j=O9(Bse,a1t,10,e,0,1),this.i=O9(xee,cVt,333,e,7,1),this.p=O9(xee,cVt,333,e,7,1),this.n=O9(yee,cVt,476,e,8,1),bx(this.n,(cN(),!1)),this.f=O9(yee,cVt,476,e,8,1),bx(this.f,!0),this.o=n,this.c=r}function $Rt(t,e){var n,r,i;if(!e.dc())if(QH(e.Xb(0),286).d==(I_t(),Jle))Lwt(t,e);else for(r=e.Kc();r.Ob();){switch((n=QH(r.Pb(),286)).d.g){case 5:l_t(t,n,qdt(t,n));break;case 0:l_t(t,n,(i=(n.f-n.c+1-1)/2|0,n.c+i));break;case 4:l_t(t,n,Ltt(t,n));break;case 2:PAt(n),l_t(t,n,Ikt(n)?n.c:n.f);break;case 1:PAt(n),l_t(t,n,Ikt(n)?n.f:n.c)}lEt(n.a)}}function KRt(t,e){var n,r,i,a,o;if(!e.e){for(e.e=!0,r=e.d.a.ec().Kc();r.Ob();)n=QH(r.Pb(),17),e.o&&e.d.a.gc()<=1?(o=new OB((a=e.a.c)+(e.a.c+e.a.b-a)/2,e.b),Nj(QH(e.d.a.ec().Kc().Pb(),17).a,o)):(i=QH(DX(e.c,n),459)).b||i.c?ARt(t,n,e):t.d==(Glt(),nve)&&(i.d||i.e)&&MLt(t,e)&&e.d.a.gc()<=1?AGt(n,e):DFt(t,n,e);e.k&&t5(e.d,new Cn)}}function GRt(t,n,r,i,a,o){var s,c,l,u,h,f,d,A,p,g,m,b,v;for(c=(i+a)/2+o,g=r*e.Math.cos(c),m=r*e.Math.sin(c),b=g-n.g/2,v=m-n.f/2,xnt(n,b),_nt(n,v),f=t.a.jg(n),(p=2*e.Math.acos(r/r+t.c))<a-i?(d=p/f,s=(i+a-p)/2):(d=(a-i)/f,s=i),A=dFt(n),t.e&&(t.e.kg(t.d),t.e.lg(A)),u=new zd(A);u.a<u.c.c.length;)l=QH(J1(u),33),h=t.a.jg(l),GRt(t,l,r+t.c,s,s+d*h,o),s+=d*h}function zRt(t,e,n){var r;switch(r=n.q.getMonth(),e){case 5:oL(t,xst(jw(Vee,1),cVt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:oL(t,xst(jw(Vee,1),cVt,2,6,[WVt,YVt,JVt,ZVt,tWt,eWt,nWt,rWt,iWt,aWt,oWt,sWt])[r]);break;case 3:oL(t,xst(jw(Vee,1),cVt,2,6,["Jan","Feb","Mar","Apr",tWt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:wtt(t,r+1,e)}}function XRt(t,e){var n,r,i,a;if(SCt(e,"Network simplex",1),t.e.a.c.length<1)Hxt(e);else{for(i=new zd(t.e.a);i.a<i.c.c.length;)QH(J1(i),121).e=0;for((a=t.e.a.c.length>=40)&&TUt(t),Ujt(t),kDt(t),n=vft(t),r=0;n&&r<t.f;)eQt(t,n,eMt(t,n)),n=vft(t),++r;a&&tCt(t),t.a?gMt(t,uRt(t)):uRt(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,Hxt(e)}}function qRt(t,e,n,r){var i,a,o,s,c,l,u,h;for(GP(s=new OB(n,r),QH(bEt(e,(Cit(),ooe)),8)),h=new zd(e.e);h.a<h.c.c.length;)KP((u=QH(J1(h),144)).d,s),zH(t.e,u);for(o=new zd(e.c);o.a<o.c.c.length;){for(i=new zd((a=QH(J1(o),282)).a);i.a<i.c.c.length;)KP(QH(J1(i),559).d,s);zH(t.c,a)}for(l=new zd(e.d);l.a<l.c.c.length;)KP((c=QH(J1(l),447)).d,s),zH(t.d,c)}function VRt(t,e){var n,r,i,a,o,s,c,l;for(c=new zd(e.j);c.a<c.c.c.length;)for(i=new m6((s=QH(J1(c),11)).b);bM(i.a)||bM(i.b);)e!=(a=(n=(r=QH(bM(i.a)?J1(i.a):J1(i.b),17)).c==s?r.d:r.c).i)&&((l=QH(bEt(r,(HXt(),lme)),19).a)<0&&(l=0),o=a.p,0==t.b[o]&&(r.d==n?(t.a[o]-=l+1,t.a[o]<=0&&t.c[o]>0&&Nj(t.f,a)):(t.c[o]-=l+1,t.c[o]<=0&&t.a[o]>0&&Nj(t.e,a))))}function WRt(t){var e,n,r,i,a,o,s;for(a=new dk(QH(bX(new Ft),62)),s=PWt,n=new zd(t.d);n.a<n.c.c.length;){for(s=(e=QH(J1(n),222)).c.c;0!=a.a.c&&(o=QH(kz(H8(a.a)),222)).c.c+o.c.b<s;)LJ(a.a,o);for(i=new Rd(new QP(new ON(new Pd(a.a).a).b));ix(i.a.a);)Nj((r=QH(mD(i.a).cd(),222)).b,e),Nj(e.b,r);Cct(a.a,e,(cN(),gee))}}function YRt(t,e,n){var r,i,a,o,s,c,l,u,h;for(a=new W6(e.c.length),l=new zd(e);l.a<l.c.c.length;)o=QH(J1(l),10),zH(a,t.b[o.c.p][o.p]);for(b$t(t,a,n),h=null;h=eGt(a);)rHt(t,QH(h.a,233),QH(h.b,233),a);for(e.c=O9(Lte,Hqt,1,0,5,1),i=new zd(a);i.a<i.c.c.length;)for(c=0,u=(s=(r=QH(J1(i),233)).d).length;c<u;++c)o=s[c],e.c[e.c.length]=o,t.a[o.c.p][o.p].a=uO(r.g,r.d[0]).a}function JRt(t,e){var n,r,i,a;if(0<(rO(t,14)?QH(t,14).gc():R4(t.Kc()))){if(1<(i=e)){for(--i,a=new bo,r=t.Kc();r.Ob();)n=QH(r.Pb(),86),a=Xnt(xst(jw(Nte,1),Hqt,20,0,[a,new hg(n)]));return JRt(a,i)}if(i<0){for(a=new vo,r=t.Kc();r.Ob();)n=QH(r.Pb(),86),a=Xnt(xst(jw(Nte,1),Hqt,20,0,[a,new hg(n)]));if(0<(rO(a,14)?QH(a,14).gc():R4(a.Kc())))return JRt(a,i)}}return QH(eO(t.Kc()),86)}function ZRt(){ZRt=L,jSe=new qB("DEFAULT_MINIMUM_SIZE",0),KSe=new qB("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),HSe=new qB("COMPUTE_PADDING",2),GSe=new qB("OUTSIDE_NODE_LABELS_OVERHANG",3),zSe=new qB("PORTS_OVERHANG",4),qSe=new qB("UNIFORM_PORT_SPACING",5),XSe=new qB("SPACE_EFFICIENT_PORT_LABELS",6),$Se=new qB("FORCE_TABULAR_NODE_LABELS",7),USe=new qB("ASYMMETRICAL",8)}function tQt(t,e){var n,r,i,a,o,s,c,l;if(e){if(n=(a=e.Tg())?Get(a).Nh().Jh(a):null){for(Ygt(t,e,n),c=0,l=(null==(i=e.Tg()).i&&jUt(i),i.i).length;c<l;++c)null==i.i&&jUt(i),r=i.i,(s=c>=0&&c<r.length?r[c]:null).Ij()&&!s.Jj()&&(rO(s,322)?Zmt(t,QH(s,34),e,n):0!=((o=QH(s,18)).Bb&l6t)&&ckt(t,o,e,n));e.kh()&&QH(n,49).vh(QH(e,49).qh())}return n}return null}function eQt(t,e,n){var r,i,a;if(!e.f)throw Um(new Py("Given leave edge is no tree edge."));if(n.f)throw Um(new Py("Given enter edge is a tree edge already."));for(e.f=!1,tO(t.p,e),n.f=!0,Tz(t.p,n),r=n.e.e-n.d.e-n.a,QBt(t,n.e,e)||(r=-r),a=new zd(t.e.a);a.a<a.c.c.length;)QBt(t,i=QH(J1(a),121),e)||(i.e+=r);t.j=1,Jy(t.c),gSt(t,QH(J1(new zd(t.e.a)),121)),pKt(t)}function nQt(t,e){var n,r,i,a,o,s;if((s=QH(bEt(e,(HXt(),tme)),98))==(Vkt(),zBe)||s==GBe)for(i=new OB(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,o=new zd(t.a);o.a<o.c.c.length;)(a=QH(J1(o),10)).k==(oxt(),kse)&&((n=QH(bEt(a,(lqt(),qhe)),61))!=(yzt(),oSe)&&n!=xSe||(r=jy(kF(bEt(a,Tfe))),s==zBe&&(r*=i),a.n.b=r-QH(bEt(a,Jge),8).b,Yot(a,!1,!0)))}function rQt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d;if(Wet(t,e,n),a=e[n],d=r?(yzt(),xSe):(yzt(),oSe),mO(e.length,n,r)){for(j6(t,i=e[r?n-1:n+1],r?(art(),Hbe):(art(),Ube)),u=0,f=(c=a).length;u<f;++u)Nbt(t,o=c[u],d);for(j6(t,a,r?(art(),Ube):(art(),Hbe)),l=0,h=(s=i).length;l<h;++l)(o=s[l]).e||Nbt(t,o,kft(d))}else for(l=0,h=(s=a).length;l<h;++l)Nbt(t,o=s[l],d);return!1}function iQt(t,e,n,r){var i,a,o,s,c;s=adt(e,n),(n==(yzt(),CSe)||n==xSe)&&(s=rO(s,152)?o6(QH(s,152)):rO(s,131)?QH(s,131).a:rO(s,54)?new ly(s):new xC(s)),o=!1;do{for(i=!1,a=0;a<s.gc()-1;a++)UEt(t,QH(s.Xb(a),11),QH(s.Xb(a+1),11),r)&&(o=!0,v0(t.a,QH(s.Xb(a),11),QH(s.Xb(a+1),11)),c=QH(s.Xb(a+1),11),s._c(a+1,QH(s.Xb(a),11)),s._c(a,c),i=!0)}while(i);return o}function aQt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A;if(!mI(t.e))return QH(WSt(t,e,n),72);if(e!=n&&(o=(d=(i=QH(t.g,119))[n]).ak(),IDt(t.e,o))){for(A=aDt(t.e.Tg(),o),c=-1,s=-1,r=0,l=0,h=e>n?e:n;l<=h;++l)l==n?s=r++:(a=i[l],u=A.rl(a.ak()),l==e&&(c=l!=h||u?r:r-1),u&&++r);return f=QH(Bft(t,e,n),72),s!=c&&Ib(t,new y8(t.e,7,o,nft(s),d.dd(),c)),f}return QH(Bft(t,e,n),72)}function oQt(t,e){var n,r,i,a,o,s;for(SCt(e,"Port order processing",1),s=QH(bEt(t,(HXt(),ome)),421),n=new zd(t.b);n.a<n.c.c.length;)for(i=new zd(QH(J1(n),29).a);i.a<i.c.c.length;)r=QH(J1(i),10),a=QH(bEt(r,tme),98),o=r.j,a==(Vkt(),KBe)||a==zBe||a==GBe?(CW(),mM(o,sle)):a!=qBe&&a!=VBe&&(CW(),mM(o,lle),Mbt(o),s==(K7(),Pbe)&&mM(o,cle)),r.i=!0,eSt(r);Hxt(e)}function sQt(t){var n,r,i,a,o,s,c,l;for(l=new Om,n=new Rb,s=t.Kc();s.Ob();)a=QH(s.Pb(),10),c=SN(oE(new Hb,a),n),wBt(l.f,a,c);for(o=t.Kc();o.Ob();)for(i=new oG(YO(hdt(a=QH(o.Pb(),10)).a.Kc(),new u));AIt(i);)h5(r=QH(K5(i),17))||GNt(iE(rE(nE(aE(new Ub,e.Math.max(1,QH(bEt(r,(HXt(),ume)),19).a)),1),QH(DX(l,r.c.i),121)),QH(DX(l,r.d.i),121)));return n}function cQt(){cQt=L,hye=d$(new Q2,(vEt(),Roe),(hqt(),gce)),dye=d$(new Q2,Poe,yce),Aye=zK(d$(new Q2,Poe,Nce),Qoe,Oce),uye=zK(d$(d$(new Q2,Poe,uce),Roe,hce),Qoe,fce),pye=sgt(sgt(RE(zK(d$(new Q2,Doe,Kce),Qoe,$ce),Roe),jce),Gce),fye=zK(new Q2,Qoe,mce),cye=zK(d$(d$(d$(new Q2,Foe,kce),Roe,Ece),Roe,xce),Qoe,Cce),lye=zK(d$(d$(new Q2,Roe,xce),Roe,ace),Qoe,ice)}function lQt(t,e,n,r,i,a){var o,s,c,l,u,h;for(o=hxt(e,c=wct(e)-wct(t)),s=kM(0,0,0);c>=0&&(!_yt(t,o)||(c<22?s.l|=1<<c:c<44?s.m|=1<<c-22:s.h|=1<<c-44,0!=t.l||0!=t.m||0!=t.h));)l=o.m,u=o.h,h=o.l,o.h=u>>>1,o.m=l>>>1|(1&u)<<21,o.l=h>>>1|(1&l)<<21,--c;return n&&Sct(s),a&&(r?(hee=act(t),i&&(hee=lst(hee,(G7(),Aee)))):hee=kM(t.l,t.m,t.h)),s}function uQt(t,e){var n,r,i,a,o,s,c,l,u,h;for(l=t.e[e.c.p][e.p]+1,c=e.c.a.c.length+1,s=new zd(t.a);s.a<s.c.c.length;){for(o=QH(J1(s),11),h=0,a=0,i=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[new UA(o),new jA(o)])));AIt(i);)(r=QH(K5(i),11)).i.c==e.c&&(h+=hO(t,r.i)+1,++a);n=h/a,(u=o.j)==(yzt(),oSe)?t.f[o.p]=n<l?t.c-n:t.b+(c-n):u==xSe&&(t.f[o.p]=n<l?t.b+n:t.c-(c-n))}}function hQt(t,e,n){var r,i,a,o;if(null==t)throw Um(new kw(Kqt));for(r=(a=t.length)>0&&(h1(0,t.length),45==t.charCodeAt(0)||(h1(0,t.length),43==t.charCodeAt(0)))?1:0;r<a;r++)if(-1==egt((h1(r,t.length),t.charCodeAt(r))))throw Um(new kw(DWt+t+'"'));if(i=(o=parseInt(t,10))<e,isNaN(o))throw Um(new kw(DWt+t+'"'));if(i||o>n)throw Um(new kw(DWt+t+'"'));return o}function fQt(t){var n,r,i,a,o,s;for(o=new VC,a=new zd(t.a);a.a<a.c.c.length;)Xf(i=QH(J1(a),112),i.f.c.length),qf(i,i.k.c.length),0==i.i&&(i.o=0,n5(o,i,o.c.b,o.c));for(;0!=o.b;)for(r=(i=QH(0==o.b?null:(ED(0!=o.b),Let(o,o.a.a)),112)).o+1,n=new zd(i.f);n.a<n.c.c.length;)Vf(s=QH(J1(n),129).a,e.Math.max(s.o,r)),qf(s,s.i-1),0==s.i&&n5(o,s,o.c.b,o.c)}function dQt(t){var e,n,r,i,a,o,s,c;for(o=new zd(t);o.a<o.c.c.length;){for(a=QH(J1(o),79),s=(r=xCt(QH(Xet((!a.b&&(a.b=new cR(DLe,a,4,7)),a.b),0),82))).i,c=r.j,xI(i=QH(Xet((!a.a&&(a.a=new tz(PLe,a,6,6)),a.a),0),202),i.j+s,i.k+c),EI(i,i.b+s,i.c+c),n=new SO((!i.a&&(i.a=new LO(MLe,i,5)),i.a));n.e!=n.i.gc();)TI(e=QH(ymt(n),469),e.a+s,e.b+c);Wit(QH(JIt(a,(cqt(),Bxe)),74),s,c)}}function AQt(t){switch(t){case 100:return bqt(cte,!0);case 68:return bqt(cte,!1);case 119:return bqt(lte,!0);case 87:return bqt(lte,!1);case 115:return bqt(ute,!0);case 83:return bqt(ute,!1);case 99:return bqt(hte,!0);case 67:return bqt(hte,!1);case 105:return bqt(fte,!0);case 73:return bqt(fte,!1);default:throw Um(new dy(ste+t.toString(16)))}}function pQt(t){var n,r,i,a,o;switch(a=QH(O$(t.a,0),10),n=new Ibt(t),zH(t.a,n),n.o.a=e.Math.max(1,a.o.a),n.o.b=e.Math.max(1,a.o.b),n.n.a=a.n.a,n.n.b=a.n.b,QH(bEt(a,(lqt(),qhe)),61).g){case 4:n.n.a+=2;break;case 1:n.n.b+=2;break;case 2:n.n.a-=2;break;case 3:n.n.b-=2}return xZ(i=new _xt,n),CZ(r=new fY,o=QH(O$(a.j,0),11)),kZ(r,i),KP(vL(i.n),o.n),KP(vL(i.a),o.a),n}function gQt(t,e,n,r,i){n&&(!r||(t.c-t.b&t.a.length-1)>1)&&1==e&&QH(t.a[t.b],10).k==(oxt(),Cse)?lUt(QH(t.a[t.b],10),(zyt(),yBe)):r&&(!n||(t.c-t.b&t.a.length-1)>1)&&1==e&&QH(t.a[t.c-1&t.a.length-1],10).k==(oxt(),Cse)?lUt(QH(t.a[t.c-1&t.a.length-1],10),(zyt(),wBe)):2==(t.c-t.b&t.a.length-1)?(lUt(QH(Tct(t),10),(zyt(),yBe)),lUt(QH(Tct(t),10),wBe)):cOt(t,i),o3(t)}function mQt(t,n,r){var i,a,o,s,c;for(o=0,a=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));a.e!=a.i.gc();)s="",0==(!(i=QH(ymt(a),33)).n&&(i.n=new tz(jLe,i,1,7)),i.n).i||(s=QH(Xet((!i.n&&(i.n=new tz(jLe,i,1,7)),i.n),0),137).a),jot(c=new ilt(o++,n,s),i),lct(c,(j$t(),swe),i),c.e.b=i.j+i.f/2,c.f.a=e.Math.max(i.g,1),c.e.a=i.i+i.g/2,c.f.b=e.Math.max(i.f,1),Nj(n.b,c),wBt(r.f,i,c)}function bQt(t){var e,n,r,i,a;r=QH(bEt(t,(lqt(),dfe)),33),a=QH(JIt(r,(HXt(),Rge)),174).Hc((bpt(),PSe)),t.e||(i=QH(bEt(t,Yhe),21),e=new OB(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),i.Hc((fFt(),uhe))?(Wmt(r,tme,(Vkt(),GBe)),Pzt(r,e.a,e.b,!1,!0)):Hy(TF(JIt(r,Qge)))||Pzt(r,e.a,e.b,!0,!0)),Wmt(r,Rge,a?Zft(PSe):new VR(n=QH(XT(VSe),9),QH(CP(n,n.length),9),0))}function vQt(t,e,n){var r,i,a,o;if(e[0]>=t.length)return n.o=0,!0;switch(lV(t,e[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++e[0],a=e[0],0==(o=GSt(t,e))&&e[0]==a)return!1;if(e[0]<t.length&&58==lV(t,e[0])){if(r=60*o,++e[0],a=e[0],0==(o=GSt(t,e))&&e[0]==a)return!1;r+=o}else(r=o)<24&&e[0]-a<=2?r*=60:r=r%100+60*(r/100|0);return r*=i,n.o=-r,!0}function yQt(t){var e,n,r,i,a,o,s;for(i=new Mm,r=new oG(YO(hdt(t.b).a.Kc(),new u));AIt(r);)h5(n=QH(K5(r),17))&&zH(i,new y6(n,g8(t,n.c),g8(t,n.d)));for(s=new Fd(new Bd(t.e).a.vc().Kc());s.a.Ob();)e=QH(s.a.Pb(),42),(a=QH(e.dd(),113)).d.p=0;for(o=new Fd(new Bd(t.e).a.vc().Kc());o.a.Ob();)e=QH(o.a.Pb(),42),0==(a=QH(e.dd(),113)).d.p&&zH(t.d,FRt(t,a))}function wQt(t){var e,n,r,i,a;for(a=zJ(t),i=new SO((!t.e&&(t.e=new cR(FLe,t,7,4)),t.e));i.e!=i.i.gc();)if(r=QH(ymt(i),79),!_et(xCt(QH(Xet((!r.c&&(r.c=new cR(DLe,r,5,8)),r.c),0),82)),a))return!0;for(n=new SO((!t.d&&(t.d=new cR(FLe,t,8,5)),t.d));n.e!=n.i.gc();)if(e=QH(ymt(n),79),!_et(xCt(QH(Xet((!e.b&&(e.b=new cR(DLe,e,4,7)),e.b),0),82)),a))return!0;return!1}function TQt(t){var n,r,i,a,o,s,c,l;for(l=new vv,c=null,r=QH(h4(n=cmt(t,0)),8),a=QH(h4(n),8);n.b!=n.d.c;)c=r,r=a,a=QH(h4(n),8),o=ret(GP(new OB(c.a,c.b),r)),s=ret(GP(new OB(a.a,a.b),r)),i=10,i=e.Math.min(i,e.Math.abs(o.a+o.b)/2),i=e.Math.min(i,e.Math.abs(s.a+s.b)/2),o.a=Uj(o.a)*i,o.b=Uj(o.b)*i,s.a=Uj(s.a)*i,s.b=Uj(s.b)*i,Nj(l,KP(o,r)),Nj(l,KP(s,r));return l}function kQt(t,e,n,r){var i,a,o,s,c;return o=t.eh(),i=null,(c=t.Zg())?e&&0==(pRt(t,e,n).Bb&UWt)?(r=Rmt(c.Vk(),t,r),t.uh(null),i=e.fh()):c=null:(o&&(c=o.fh()),e&&(i=e.fh())),c!=i&&c&&c.Zk(t),s=t.Vg(),t.Rg(e,n),c!=i&&i&&i.Yk(t),t.Lg()&&t.Mg()&&(o&&s>=0&&s!=n&&(a=new JG(t,1,s,o,null),r?r.Ei(a):r=a),n>=0&&(a=new JG(t,1,n,s==n?o:null,e),r?r.Ei(a):r=a)),r}function CQt(t){var e,n,r;if(null==t.b){if(r=new Cw,null!=t.i&&(rL(r,t.i),r.a+=":"),0!=(256&t.f)){for(0!=(256&t.f)&&null!=t.a&&(nW(t.i)||(r.a+="//"),rL(r,t.a)),null!=t.d&&(r.a+="/",rL(r,t.d)),0!=(16&t.f)&&(r.a+="/"),e=0,n=t.j.length;e<n;e++)0!=e&&(r.a+="/"),rL(r,t.j[e]);null!=t.g&&(r.a+="?",rL(r,t.g))}else rL(r,t.a);null!=t.e&&(r.a+="#",rL(r,t.e)),t.b=r.a}return t.b}function EQt(t,e){var n,r,i,a,o,s;for(i=new zd(e.a);i.a<i.c.c.length;)rO(a=bEt(r=QH(J1(i),10),(lqt(),dfe)),11)&&(s=vUt(e,r,(o=QH(a,11)).o.a,o.o.b),o.n.a=s.a,o.n.b=s.b,jBt(o,QH(bEt(r,qhe),61)));n=new OB(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),QH(bEt(e,(lqt(),Yhe)),21).Hc((fFt(),uhe))?(lct(t,(HXt(),tme),(Vkt(),GBe)),QH(bEt(gq(t),Yhe),21).Fc(dhe),fKt(t,n,!1)):fKt(t,n,!0)}function xQt(t,e,n){var r,i,a,o,s;SCt(n,"Minimize Crossings "+t.a,1),r=0==e.b.c.length||!yk(SV(new D$(null,new f1(e.b,16)),new iA(new Ia))).sd((dE(),Zne)),s=1==e.b.c.length&&1==QH(O$(e.b,0),29).a.c.length,a=jS(bEt(e,(HXt(),sge)))===jS((oht(),pBe)),r||s&&!a||(Elt(i=cDt(t,e),(o=QH(Dmt(i,0),214)).c.Rf()?o.c.Lf()?new Kp(t):new Gp(t):new $p(t)),aht(t)),Hxt(n)}function _Qt(t,e,n,r){var i,a,o,s;if(s=dK(idt(EVt,nV(dK(idt(null==e?0:Zct(e),xVt)),15))),i=dK(idt(EVt,nV(dK(idt(null==n?0:Zct(n),xVt)),15))),o=Jit(t,e,s),a=Yit(t,n,i),o&&i==o.a&&fq(n,o.g))return n;if(a&&!r)throw Um(new Py("key already present: "+n));return o&&MOt(t,o),a&&MOt(t,a),WBt(t,new Hq(n,i,e,s),a),a&&(a.e=null,a.c=null),o&&(o.e=null,o.c=null),jwt(t),o?o.g:null}function BQt(t,e,n){var r,i,a,o,s;for(a=0;a<e;a++){for(r=0,s=a+1;s<e;s++)r=rdt(rdt(idt(t0(t[a],GWt),t0(t[s],GWt)),t0(n[a+s],GWt)),t0(dK(r),GWt)),n[a+s]=dK(r),r=yG(r,32);n[a+e]=dK(r)}for(Zit(n,n,e<<1),r=0,i=0,o=0;i<e;++i,o++)r=rdt(rdt(idt(t0(t[i],GWt),t0(t[i],GWt)),t0(n[o],GWt)),t0(dK(r),GWt)),n[o]=dK(r),r=rdt(r=yG(r,32),t0(n[++o],GWt)),n[o]=dK(r),r=yG(r,32);return n}function SQt(t,n,r){var i,a,o,s,c,l,u,h;if(!c4(n)){for(l=jy(kF(ept(r.c,(HXt(),Mme)))),!(u=QH(ept(r.c,Ime),142))&&(u=new uv),i=r.a,a=null,c=n.Kc();c.Ob();)s=QH(c.Pb(),11),h=0,a?(h=l,h+=a.o.b):h=u.d,o=SN(oE(new Hb,s),t.f),Xq(t.k,s,o),GNt(iE(rE(nE(aE(new Ub,0),xJ(e.Math.ceil(h))),i),o)),a=s,i=o;GNt(iE(rE(nE(aE(new Ub,0),xJ(e.Math.ceil(u.a+a.o.b))),i),r.d))}}function LQt(t,e,n,r,i,a,o,s){var c,l,u;return u=!1,l=a-n.s,c=n.t-e.f+ijt(n,l,!1).a,!(r.g+s>l)&&(c+s+ijt(r,l,!1).a<=e.b&&(p8(n,a-n.s),n.c=!0,p8(r,a-n.s),kbt(r,n.s,n.t+n.d+s),r.k=!0,Nat(n.q,r),u=!0,i&&(trt(e,r),r.j=e,t.c.length>o&&(kwt((u1(o,t.c.length),QH(t.c[o],200)),r),0==(u1(o,t.c.length),QH(t.c[o],200)).a.c.length&&s6(t,o)))),u)}function IQt(t,e){var n,r,i,a,o;if(SCt(e,"Partition midprocessing",1),i=new pJ,WC(SV(new D$(null,new f1(t.a,16)),new pr),new up(i)),0!=i.d){for(o=QH(E3(i1(new D$(null,(i.i||(i.i=new UO(i,i.c))).Nc())),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15),n=QH((r=o.Kc()).Pb(),19);r.Ob();)a=QH(r.Pb(),19),zOt(QH(c6(i,n),21),QH(c6(i,a),21)),n=a;Hxt(e)}}function MQt(t,e,n){var r,i,a,o,s;if(0==e.p){for(e.p=1,(i=n)||(i=new nS(new Mm,new VR(r=QH(XT(RSe),9),QH(CP(r,r.length),9),0))),QH(i.a,15).Fc(e),e.k==(oxt(),kse)&&QH(i.b,21).Fc(QH(bEt(e,(lqt(),qhe)),61)),o=new zd(e.j);o.a<o.c.c.length;)for(a=QH(J1(o),11),s=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[new UA(a),new jA(a)])));AIt(s);)MQt(t,QH(K5(s),11).i,i);return i}return null}function OQt(t,e){var n,r,i,a,o;if(t.Ab)if(t.Ab){if((o=t.Ab.i)>0)if(i=QH(t.Ab.g,1934),null==e){for(a=0;a<o;++a)if(null==(n=i[a]).d)return n}else for(a=0;a<o;++a)if(mR(e,(n=i[a]).d))return n}else if(null==e){for(r=new SO(t.Ab);r.e!=r.i.gc();)if(null==(n=QH(ymt(r),590)).d)return n}else for(r=new SO(t.Ab);r.e!=r.i.gc();)if(mR(e,(n=QH(ymt(r),590)).d))return n;return null}function NQt(t,e){var n,r,i,a,o,s,c;if(null==(c=TF(bEt(e,(_It(),Mwe))))||(vq(c),c)){for(DLt(t,e),i=new Mm,s=cmt(e.b,0);s.b!=s.d.c;)(n=N_t(t,QH(h4(s),86),null))&&(jot(n,e),i.c[i.c.length]=n);if(t.a=null,t.b=null,i.c.length>1)for(r=new zd(i);r.a<r.c.c.length;)for(a=0,o=cmt((n=QH(J1(r),135)).b,0);o.b!=o.d.c;)QH(h4(o),86).g=a++;return i}return a6(xst(jw(jye,1),tZt,135,0,[e]))}function DQt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g,m;iit(d=S4(t,jst(e),i),D2(i,j6t)),p=N2(A=i,G6t),ixt(new Ig(d).a,p),g=N2(A,"endPoint"),rxt(new Dg(d).a,g),m=M2(A,D6t),Ekt(new Rg(d).a,m),h=D2(i,P6t),HP((a=new cS(t,d)).a,a.b,h),f=D2(i,F6t),jP((o=new lS(t,d)).a,o.b,f),l=M2(i,Q6t),Qyt((s=new uS(n,d)).b,s.a,l),u=M2(i,R6t),Uyt((c=new hS(r,d)).b,c.a,u)}function FQt(t,e,n){var r,i,a,o,s;switch(s=null,e.g){case 1:for(i=new zd(t.j);i.a<i.c.c.length;)if(Hy(TF(bEt(r=QH(J1(i),11),(lqt(),Zhe)))))return r;lct(s=new _xt,(lqt(),Zhe),(cN(),!0));break;case 2:for(o=new zd(t.j);o.a<o.c.c.length;)if(Hy(TF(bEt(a=QH(J1(o),11),(lqt(),vfe)))))return a;lct(s=new _xt,(lqt(),vfe),(cN(),!0))}return s&&(xZ(s,t),jBt(s,n),vbt(s.n,t.o,n)),s}function PQt(t,n){var r,i,a,o,s,c;for(c=-1,s=new VC,i=new m6(t.b);bM(i.a)||bM(i.b);){for(r=QH(bM(i.a)?J1(i.a):J1(i.b),17),c=e.Math.max(c,jy(kF(bEt(r,(HXt(),ige))))),r.c==t?WC(SV(new D$(null,new f1(r.b,16)),new hn),new JA(s)):WC(SV(new D$(null,new f1(r.b,16)),new fn),new ZA(s)),o=cmt(s,0);o.b!=o.d.c;)ID(a=QH(h4(o),70),(lqt(),Khe))||lct(a,Khe,r);pst(n,s),bW(s)}return c}function RQt(t,e,n,r,i){var a,o,s,c;Qf(a=new Ibt(t),(oxt(),_se)),lct(a,(HXt(),tme),(Vkt(),GBe)),lct(a,(lqt(),dfe),e.c.i),lct(o=new _xt,dfe,e.c),jBt(o,i),xZ(o,a),lct(e.c,wfe,a),Qf(s=new Ibt(t),_se),lct(s,tme,GBe),lct(s,dfe,e.d.i),lct(c=new _xt,dfe,e.d),jBt(c,i),xZ(c,s),lct(e.d,wfe,s),CZ(e,o),kZ(e,c),IZ(0,n.c.length),kx(n.c,0,a),r.c[r.c.length]=s,lct(a,Qhe,nft(1)),lct(s,Qhe,nft(1))}function QQt(t,n,r,i,a){var o,s,c,l,u;c=a?i.b:i.a,RC(t.a,i)||(u=c>r.s&&c<r.c,l=!1,0!=r.e.b&&0!=r.j.b&&(l|=e.Math.abs(c-jy(kF(AD(r.e))))<hZt&&e.Math.abs(c-jy(kF(AD(r.j))))<hZt,l|=e.Math.abs(c-jy(kF(pD(r.e))))<hZt&&e.Math.abs(c-jy(kF(pD(r.j))))<hZt),(u||l)&&((s=QH(bEt(n,(HXt(),gge)),74))||(s=new vv,lct(n,gge,s)),n5(s,o=new fI(i),s.c.b,s.c),Tz(t.a,o)))}function UQt(t,e,n,r){var i,a,o,s,c,l,u;if(XSt(t,e,n,r))return!0;for(o=new zd(e.f);o.a<o.c.c.length;){switch(a=QH(J1(o),324),s=!1,l=(c=t.j-e.j+n)+e.o,i=(u=t.k-e.k+r)+e.p,a.a.g){case 0:s=Slt(t,c+a.b.a,0,c+a.c.a,u-1);break;case 1:s=Slt(t,l,u+a.b.a,t.o-1,u+a.c.a);break;case 2:s=Slt(t,c+a.b.a,i,c+a.c.a,t.p-1);break;default:s=Slt(t,0,u+a.b.a,c-1,u+a.c.a)}if(s)return!0}return!1}function HQt(t,e){var n,r,i,a,o,s,c,l;for(a=new zd(e.b);a.a<a.c.c.length;)for(c=new zd(QH(J1(a),29).a);c.a<c.c.c.length;){for(s=QH(J1(c),10),l=new Mm,o=0,r=new oG(YO(udt(s).a.Kc(),new u));AIt(r);)h5(n=QH(K5(r),17))||!h5(n)&&n.c.i.c==n.d.i.c||((i=QH(bEt(n,(HXt(),hme)),19).a)>o&&(o=i,l.c=O9(Lte,Hqt,1,0,5,1)),i==o&&zH(l,new nS(n.c.i,n)));CW(),mM(l,t.c),vK(t.b,s.p,l)}}function jQt(t,e){var n,r,i,a,o,s,c,l;for(a=new zd(e.b);a.a<a.c.c.length;)for(c=new zd(QH(J1(a),29).a);c.a<c.c.c.length;){for(s=QH(J1(c),10),l=new Mm,o=0,r=new oG(YO(hdt(s).a.Kc(),new u));AIt(r);)h5(n=QH(K5(r),17))||!h5(n)&&n.c.i.c==n.d.i.c||((i=QH(bEt(n,(HXt(),hme)),19).a)>o&&(o=i,l.c=O9(Lte,Hqt,1,0,5,1)),i==o&&zH(l,new nS(n.d.i,n)));CW(),mM(l,t.c),vK(t.f,s.p,l)}}function $Qt(t){ME(t,new CCt(gT(fT(pT(AT(new gs,h5t),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new Fs))),a2(t,h5t,VJt,$Ee),a2(t,h5t,mZt,15),a2(t,h5t,gZt,nft(0)),a2(t,h5t,L3t,bmt(PEe)),a2(t,h5t,xZt,bmt(QEe)),a2(t,h5t,EZt,bmt(HEe)),a2(t,h5t,qJt,u5t),a2(t,h5t,wZt,bmt(REe)),a2(t,h5t,UZt,bmt(UEe)),a2(t,h5t,f5t,bmt(DEe)),a2(t,h5t,o4t,bmt(FEe))}function KQt(t,e){var n,r,i,a,o,s,c,l,u;if(o=(i=t.i).o.a,a=i.o.b,o<=0&&a<=0)return yzt(),ESe;switch(l=t.n.a,u=t.n.b,s=t.o.a,n=t.o.b,e.g){case 2:case 1:if(l<0)return yzt(),xSe;if(l+s>o)return yzt(),oSe;break;case 4:case 3:if(u<0)return yzt(),sSe;if(u+n>a)return yzt(),CSe}return(c=(l+s/2)/o)+(r=(u+n/2)/a)<=1&&c-r<=0?(yzt(),xSe):c+r>=1&&c-r>=0?(yzt(),oSe):r<.5?(yzt(),sSe):(yzt(),CSe)}function GQt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d;for(n=!1,c=jy(kF(bEt(e,(HXt(),Bme)))),f=PVt*c,i=new zd(e.b);i.a<i.c.c.length;)for(r=QH(J1(i),29),a=QH(J1(s=new zd(r.a)),10),l=fz(t.a[a.p]);s.a<s.c.c.length;)o=QH(J1(s),10),l!=(u=fz(t.a[o.p]))&&(h=FM(t.b,a,o),a.n.b+a.o.b+a.d.a+l.a+h>o.n.b-o.d.d+u.a+f&&(d=l.g+u.g,u.a=(u.g*u.a+l.g*l.a)/d,u.g=d,l.f=u,n=!0)),a=o,l=u;return n}function zQt(t,e,n,r,i,a,o){var s,c,l,u,h;for(h=new hI,c=e.Kc();c.Ob();)for(u=new zd(QH(c.Pb(),839).wf());u.a<u.c.c.length;)jS((l=QH(J1(u),181)).We((cqt(),Axe)))===jS((Fet(),G_e))&&(rRt(h,l,!1,r,i,a,o),__t(t,h));for(s=n.Kc();s.Ob();)for(u=new zd(QH(s.Pb(),839).wf());u.a<u.c.c.length;)jS((l=QH(J1(u),181)).We((cqt(),Axe)))===jS((Fet(),K_e))&&(rRt(h,l,!0,r,i,a,o),__t(t,h))}function XQt(t,e,n){var r,i,a,o,s,c,l;for(o=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));o.e!=o.i.gc();)for(i=new oG(YO(AOt(a=QH(ymt(o),33)).a.Kc(),new u));AIt(i);)ZLt(r=QH(K5(i),79))||ZLt(r)||VSt(r)||(c=QH(HS(SY(n.f,a)),86),l=QH(DX(n,xCt(QH(Xet((!r.c&&(r.c=new cR(DLe,r,5,8)),r.c),0),82))),86),c&&l&&(lct(s=new KW(c,l),(j$t(),swe),r),jot(s,r),Nj(c.d,s),Nj(l.b,s),Nj(e.a,s)))}function qQt(t,n){var r,i,a,o,s,c,l;for(c=QH(QH(c6(t.r,n),21),84).Kc();c.Ob();)(i=(s=QH(c.Pb(),111)).c?zj(s.c):0)>0?s.a?i>(l=s.b.rf().b)&&(t.v||1==s.c.d.c.length?(o=(i-l)/2,s.d.d=o,s.d.a=o):(r=(QH(O$(s.c.d,0),181).rf().b-l)/2,s.d.d=e.Math.max(0,r),s.d.a=i-r-l)):s.d.a=t.t+i:UG(t.u)&&((a=RCt(s.b)).d<0&&(s.d.d=-a.d),a.d+a.a>s.b.rf().b&&(s.d.a=a.d+a.a-s.b.rf().b))}function VQt(t,e){var n;switch(gtt(t)){case 6:return GS(e);case 7:return KS(e);case 8:return $S(e);case 3:return Array.isArray(e)&&!((n=gtt(e))>=14&&n<=16);case 11:return null!=e&&typeof e===Nqt;case 12:return null!=e&&(typeof e===Lqt||typeof e==Nqt);case 0:return Vmt(e,t.__elementTypeId$);case 2:return Nz(e)&&!(e.im===S);case 1:return Nz(e)&&!(e.im===S)||Vmt(e,t.__elementTypeId$);default:return!0}}function WQt(t,n){var r,i,a,o;return i=e.Math.min(e.Math.abs(t.c-(n.c+n.b)),e.Math.abs(t.c+t.b-n.c)),o=e.Math.min(e.Math.abs(t.d-(n.d+n.a)),e.Math.abs(t.d+t.a-n.d)),(r=e.Math.abs(t.c+t.b/2-(n.c+n.b/2)))>t.b/2+n.b/2||(a=e.Math.abs(t.d+t.a/2-(n.d+n.a/2)))>t.a/2+n.a/2?1:0==r&&0==a?0:0==r?o/a+1:0==a?i/r+1:e.Math.min(i/r,o/a)+1}function YQt(t,n){var r,i,a,o,s,c;return(a=nrt(t))==(c=nrt(n))?t.e==n.e&&t.a<54&&n.a<54?t.f<n.f?-1:t.f>n.f?1:0:(i=t.e-n.e,(r=(t.d>0?t.d:e.Math.floor((t.a-1)*KWt)+1)-(n.d>0?n.d:e.Math.floor((n.a-1)*KWt)+1))>i+1?a:r<i-1?-a:(!t.c&&(t.c=vut(t.f)),o=t.c,!n.c&&(n.c=vut(n.f)),s=n.c,i<0?o=Mtt(o,yHt(-i)):i>0&&(s=Mtt(s,yHt(i))),tgt(o,s))):a<c?-1:1}function JQt(t,e){var n,r,i,a,o,s,c;for(a=0,s=0,c=0,i=new zd(t.f.e);i.a<i.c.c.length;)e!=(r=QH(J1(i),144))&&(a+=o=t.i[e.b][r.b],(n=z9(e.d,r.d))>0&&t.d!=(H7(),Soe)&&(s+=o*(r.d.a+t.a[e.b][r.b]*(e.d.a-r.d.a)/n)),n>0&&t.d!=(H7(),_oe)&&(c+=o*(r.d.b+t.a[e.b][r.b]*(e.d.b-r.d.b)/n)));switch(t.d.g){case 1:return new OB(s/a,e.d.b);case 2:return new OB(e.d.a,c/a);default:return new OB(s/a,c/a)}}function ZQt(t,e){var n,r,i,a;if(Klt(),a=QH(bEt(t.i,(HXt(),tme)),98),0!=t.j.g-e.j.g||a!=(Vkt(),KBe)&&a!=zBe&&a!=GBe)return 0;if(a==(Vkt(),KBe)&&(n=QH(bEt(t,eme),19),r=QH(bEt(e,eme),19),n&&r&&0!=(i=n.a-r.a)))return i;switch(t.j.g){case 1:return xft(t.n.a,e.n.a);case 2:return xft(t.n.b,e.n.b);case 3:return xft(e.n.a,t.n.a);case 4:return xft(e.n.b,t.n.b);default:throw Um(new Ry(r1t))}}function tUt(t){var e,n,r,i,a;for(zH(a=new W6((!t.a&&(t.a=new LO(MLe,t,5)),t.a).i+2),new OB(t.j,t.k)),WC(new D$(null,(!t.a&&(t.a=new LO(MLe,t,5)),new f1(t.a,16))),new _g(a)),zH(a,new OB(t.b,t.c)),e=1;e<a.c.length-1;)u1(e-1,a.c.length),n=QH(a.c[e-1],8),u1(e,a.c.length),r=QH(a.c[e],8),u1(e+1,a.c.length),i=QH(a.c[e+1],8),n.a==r.a&&r.a==i.a||n.b==r.b&&r.b==i.b?s6(a,e):++e;return a}function eUt(t,e){var n,r,i,a,o,s,c;for(n=BN(eE(ZC(tE(new zb,e),new AY(e.e)),Ale),t.a),0==e.j.c.length||X8(QH(O$(e.j,0),57).a,n),c=new Nm,Xq(t.e,n,c),o=new Db,s=new Db,a=new zd(e.k);a.a<a.c.c.length;)Tz(o,(i=QH(J1(a),17)).c),Tz(s,i.d);(r=o.a.gc()-s.a.gc())<0?(Gst(c,!0,(Qht(),P_e)),Gst(c,!1,R_e)):r>0&&(Gst(c,!1,(Qht(),P_e)),Gst(c,!0,R_e)),Set(e.g,new s_(t,n)),Xq(t.g,e,n)}function nUt(){var t;for(nUt=L,Mee=xst(jw(BNe,1),lWt,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),Oee=O9(BNe,lWt,25,37,15,1),Nee=xst(jw(BNe,1),lWt,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Dee=O9(LNe,QWt,25,37,14,1),t=2;t<=36;t++)Oee[t]=xJ(e.Math.pow(t,Mee[t])),Dee[t]=STt(fVt,Oee[t])}function rUt(t){var e;if(1!=(!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i)throw Um(new Py(U5t+(!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i));return e=new vv,fst(QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82))&&Qit(e,KXt(t,fst(QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82)),!1)),fst(QH(Xet((!t.c&&(t.c=new cR(DLe,t,5,8)),t.c),0),82))&&Qit(e,KXt(t,fst(QH(Xet((!t.c&&(t.c=new cR(DLe,t,5,8)),t.c),0),82)),!0)),e}function iUt(t,e){var n,r,i;for(i=!1,r=new oG(YO((e.d?t.a.c==(AJ(),Zve)?udt(e.b):hdt(e.b):t.a.c==(AJ(),Jve)?udt(e.b):hdt(e.b)).a.Kc(),new u));AIt(r);)if(n=QH(K5(r),17),(Hy(t.a.f[t.a.g[e.b.p].p])||h5(n)||n.c.i.c!=n.d.i.c)&&!Hy(t.a.n[t.a.g[e.b.p].p])&&!Hy(t.a.n[t.a.g[e.b.p].p])&&(i=!0,RC(t.b,t.a.g[Mvt(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=i,e.a=null,e}function aUt(t,e,n,r,i){var a,o,s,c,l,u,h;for(CW(),mM(t,new qs),s=new k2(t,0),h=new Mm,a=0;s.b<s.d.gc();)ED(s.b<s.d.gc()),o=QH(s.d.Xb(s.c=s.b++),157),0!=h.c.length&&eK(o)*tK(o)>2*a?(u=new $et(h),l=eK(o)/tK(o),c=vXt(u,e,new hv,n,r,i,l),KP(vL(u.e),c),h.c=O9(Lte,Hqt,1,0,5,1),a=0,h.c[h.c.length]=u,h.c[h.c.length]=o,a=eK(u)*tK(u)+eK(o)*tK(o)):(h.c[h.c.length]=o,a+=eK(o)*tK(o));return h}function oUt(t,e,n){var r,i,a,o,s,c,l;if(0==(r=n.gc()))return!1;if(t.ej())if(c=t.fj(),yAt(t,e,n),o=1==r?t.Zi(3,null,n.Kc().Pb(),e,c):t.Zi(5,null,n,e,c),t.bj()){for(s=r<100?null:new RT(r),a=e+r,i=e;i<a;++i)l=t.Oi(i),s=t.cj(l,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(yAt(t,e,n),t.bj()){for(s=r<100?null:new RT(r),a=e+r,i=e;i<a;++i)s=t.cj(t.Oi(i),s);s&&s.Fi()}return!0}function sUt(t,e,n){var r,i,a,o;return t.ej()?(i=null,a=t.fj(),r=t.Zi(1,o=t.Ui(e,t.oi(e,n)),n,e,a),t.bj()&&!(t.ni()&&o?Oht(o,n):jS(o)===jS(n))?(o&&(i=t.dj(o,i)),(i=t.cj(n,i))?(i.Ei(r),i.Fi()):t.$i(r)):i?(i.Ei(r),i.Fi()):t.$i(r),o):(o=t.Ui(e,t.oi(e,n)),t.bj()&&!(t.ni()&&o?Oht(o,n):jS(o)===jS(n))&&(i=null,o&&(i=t.dj(o,null)),(i=t.cj(n,i))&&i.Fi()),o)}function cUt(t,n){var r,i,a,o,s,c,l,u;if(t.e=n,t.f=QH(bEt(n,(Cit(),coe)),230),zCt(n),t.d=e.Math.max(16*n.e.c.length+n.c.c.length,256),!Hy(TF(bEt(n,(uPt(),Uae)))))for(u=t.e.e.c.length,c=new zd(n.e);c.a<c.c.c.length;)(l=QH(J1(c),144).d).a=BK(t.f)*u,l.b=BK(t.f)*u;for(r=n.b,o=new zd(n.c);o.a<o.c.c.length;)if(a=QH(J1(o),282),(i=QH(bEt(a,toe),19).a)>0){for(s=0;s<i;s++)zH(r,new cX(a));UBt(a)}}function lUt(t,n){var r,i,a,o,s;if(t.k==(oxt(),Cse)&&(r=yk(SV(QH(bEt(t,(lqt(),Efe)),15).Oc(),new iA(new ir))).sd((dE(),Zne))?n:(zyt(),TBe),lct(t,afe,r),r!=(zyt(),wBe)))for(i=QH(bEt(t,dfe),17),s=jy(kF(bEt(i,(HXt(),ige)))),o=0,r==yBe?o=t.o.b-e.Math.ceil(s/2):r==TBe&&(t.o.b-=jy(kF(bEt(gq(t),yme))),o=(t.o.b-e.Math.ceil(s))/2),a=new zd(t.j);a.a<a.c.c.length;)QH(J1(a),11).n.b=o}function uUt(){uUt=L,WE(),wNe=new Pu,xst(jw(BMe,2),cVt,368,0,[xst(jw(BMe,1),wte,592,0,[new Kk(K7t)])]),xst(jw(BMe,2),cVt,368,0,[xst(jw(BMe,1),wte,592,0,[new Kk(G7t)])]),xst(jw(BMe,2),cVt,368,0,[xst(jw(BMe,1),wte,592,0,[new Kk(z7t)]),xst(jw(BMe,1),wte,592,0,[new Kk(G7t)])]),new LI("-1"),xst(jw(BMe,2),cVt,368,0,[xst(jw(BMe,1),wte,592,0,[new Kk("\\c+")])]),new LI("0"),new LI("0"),new LI("1"),new LI("0"),new LI(nte)}function hUt(t){var e,n;return t.c&&t.c.kh()&&(n=QH(t.c,49),t.c=QH(tht(t,n),138),t.c!=n&&(0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,9,2,n,t.c)),rO(t.Cb,399)?t.Db>>16==-15&&t.Cb.nh()&&L7(new v8(t.Cb,9,13,n,t.c,obt(U7(QH(t.Cb,59)),t))):rO(t.Cb,88)&&t.Db>>16==-23&&t.Cb.nh()&&(rO(e=t.c,88)||(pqt(),e=fMe),rO(n,88)||(pqt(),n=fMe),L7(new v8(t.Cb,9,10,n,e,obt(i3(QH(t.Cb,26)),t)))))),t.c}function fUt(t,e){var n,r,i,a,o,s,c,l;for(SCt(e,"Hypernodes processing",1),r=new zd(t.b);r.a<r.c.c.length;)for(o=new zd(QH(J1(r),29).a);o.a<o.c.c.length;)if(Hy(TF(bEt(a=QH(J1(o),10),(HXt(),hge))))&&a.j.c.length<=2){for(l=0,c=0,n=0,i=0,s=new zd(a.j);s.a<s.c.c.length;)switch(QH(J1(s),11).j.g){case 1:++l;break;case 2:++c;break;case 3:++n;break;case 4:++i}0==l&&0==n&&wXt(t,a,i<=c)}Hxt(e)}function dUt(t,e){var n,r,i,a,o,s,c,l,u;for(SCt(e,"Layer constraint edge reversal",1),o=new zd(t.b);o.a<o.c.c.length;){for(a=QH(J1(o),29),u=-1,n=new Mm,l=J0(a.a),i=0;i<l.length;i++)r=QH(bEt(l[i],(lqt(),efe)),303),-1==u?r!=($7(),xhe)&&(u=i):r==($7(),xhe)&&(EZ(l[i],null),Vyt(l[i],u++,a)),r==($7(),Che)&&zH(n,l[i]);for(c=new zd(n);c.a<c.c.c.length;)EZ(s=QH(J1(c),10),null),EZ(s,a)}Hxt(e)}function AUt(t,e,n){var r,i,a,o,s,c,l,u;for(SCt(n,"Hyperedge merging",1),NIt(t,e),s=new k2(e.b,0);s.b<s.d.gc();)if(ED(s.b<s.d.gc()),0!=(l=QH(s.d.Xb(s.c=s.b++),29).a).c.length)for(r=null,i=null,a=null,o=null,c=0;c<l.c.length;c++)u1(c,l.c.length),(i=(r=QH(l.c[c],10)).k)==(oxt(),Ese)&&o==Ese&&(u=ljt(r,a)).a&&(rFt(r,a,u.b,u.c),u1(c,l.c.length),Ek(l.c,c,1),--c,r=a,i=o),a=r,o=i;Hxt(n)}function pUt(t,e){var n,r,i;r=0!=HMt(t.d,1),!Hy(TF(bEt(e.j,(lqt(),Whe))))&&!Hy(TF(bEt(e.j,_fe)))||jS(bEt(e.j,(HXt(),Ipe)))===jS((bct(),Mbe))?e.c.Tf(e.e,r):r=Hy(TF(bEt(e.j,Whe))),DNt(t,e,r,!0),Hy(TF(bEt(e.j,_fe)))&&lct(e.j,_fe,(cN(),!1)),Hy(TF(bEt(e.j,Whe)))&&(lct(e.j,Whe,(cN(),!1)),lct(e.j,_fe,!0)),n=eRt(t,e);do{if(Iit(t),0==n)return 0;i=n,DNt(t,e,r=!r,!1),n=eRt(t,e)}while(i>n);return i}function gUt(t,e){var n,r,i;r=0!=HMt(t.d,1),!Hy(TF(bEt(e.j,(lqt(),Whe))))&&!Hy(TF(bEt(e.j,_fe)))||jS(bEt(e.j,(HXt(),Ipe)))===jS((bct(),Mbe))?e.c.Tf(e.e,r):r=Hy(TF(bEt(e.j,Whe))),DNt(t,e,r,!0),Hy(TF(bEt(e.j,_fe)))&&lct(e.j,_fe,(cN(),!1)),Hy(TF(bEt(e.j,Whe)))&&(lct(e.j,Whe,(cN(),!1)),lct(e.j,_fe,!0)),n=Z_t(t,e);do{if(Iit(t),0==n)return 0;i=n,DNt(t,e,r=!r,!1),n=Z_t(t,e)}while(i>n);return i}function mUt(t,e,n){var r,i,a,o,s,c,l;if(e==n)return!0;if(e=fIt(t,e),n=fIt(t,n),r=jbt(e)){if((c=jbt(n))!=r)return!!c&&(o=r.Dj())==c.Dj()&&null!=o;if(!e.d&&(e.d=new LO(zIe,e,1)),i=(a=e.d).i,!n.d&&(n.d=new LO(zIe,n,1)),i==(l=n.d).i)for(s=0;s<i;++s)if(!mUt(t,QH(Xet(a,s),87),QH(Xet(l,s),87)))return!1;return!0}return e.e==n.e}function bUt(t,e,n,r){var i,a,o,s,c,l,u,h;if(IDt(t.e,e)){for(h=aDt(t.e.Tg(),e),a=QH(t.g,119),u=null,c=-1,s=-1,i=0,l=0;l<t.i;++l)o=a[l],h.rl(o.ak())&&(i==n&&(c=l),i==r&&(s=l,u=o.dd()),++i);if(-1==c)throw Um(new Sy(o9t+n+s9t+i));if(-1==s)throw Um(new Sy(c9t+r+s9t+i));return Bft(t,c,s),mI(t.e)&&Ib(t,IY(t,7,e,nft(r),u,n,!0)),u}throw Um(new Py("The feature must be many-valued to support move"))}function vUt(t,e,n,r){var i,a,o,s,c;switch((c=new fI(e.n)).a+=e.o.a/2,c.b+=e.o.b/2,s=jy(kF(bEt(e,(HXt(),Zge)))),a=t.f,o=t.d,i=t.c,QH(bEt(e,(lqt(),qhe)),61).g){case 1:c.a+=o.b+i.a-n/2,c.b=-r-s,e.n.b=-(o.d+s+i.b);break;case 2:c.a=a.a+o.b+o.c+s,c.b+=o.d+i.b-r/2,e.n.a=a.a+o.c+s-i.a;break;case 3:c.a+=o.b+i.a-n/2,c.b=a.b+o.d+o.a+s,e.n.b=a.b+o.a+s-i.b;break;case 4:c.a=-n-s,c.b+=o.d+i.b-r/2,e.n.a=-(o.b+s+i.a)}return c}function yUt(t){var e,n,r,i,a,o;return jot(r=new brt,t),jS(bEt(r,(HXt(),Kpe)))===jS((Qht(),Q_e))&&lct(r,Kpe,Xft(r)),null==bEt(r,(x6(),TEe))&&(o=QH(IEt(t),160),lct(r,TEe,eL(o.We(TEe)))),lct(r,(lqt(),dfe),t),lct(r,Yhe,new VR(e=QH(XT(The),9),QH(CP(e,e.length),9),0)),i=xGt((WJ(t)&&(jE(),new Ny(WJ(t))),jE(),new WN(WJ(t)?new Ny(WJ(t)):null,t)),R_e),a=QH(bEt(r,$ge),116),tZ(n=r.d,a),tZ(n,i),r}function wUt(t,e,n){var r,i;r=e.c.i,i=n.d.i,r.k==(oxt(),Ese)?(lct(t,(lqt(),cfe),QH(bEt(r,cfe),11)),lct(t,lfe,QH(bEt(r,lfe),11)),lct(t,sfe,TF(bEt(r,sfe)))):r.k==Cse?(lct(t,(lqt(),cfe),QH(bEt(r,cfe),11)),lct(t,lfe,QH(bEt(r,lfe),11)),lct(t,sfe,(cN(),!0))):i.k==Cse?(lct(t,(lqt(),cfe),QH(bEt(i,cfe),11)),lct(t,lfe,QH(bEt(i,lfe),11)),lct(t,sfe,(cN(),!0))):(lct(t,(lqt(),cfe),e.c),lct(t,lfe,n.d))}function TUt(t){var e,n,r,i,a,o,s;for(t.o=new Im,r=new VC,o=new zd(t.e.a);o.a<o.c.c.length;)1==ydt(a=QH(J1(o),121)).c.length&&n5(r,a,r.c.b,r.c);for(;0!=r.b;)0!=ydt(a=QH(0==r.b?null:(ED(0!=r.b),Let(r,r.a.a)),121)).c.length&&(e=QH(O$(ydt(a),0),213),n=a.g.a.c.length>0,s=Odt(e,a),FN(n?s.b:s.g,e),1==ydt(s).c.length&&n5(r,s,r.c.b,r.c),i=new nS(a,e),d4(t.o,i),b7(t.e.a,a))}function kUt(t,n){var r,i,a,o;return i=e.Math.abs(HG(t.b).a-HG(n.b).a),o=e.Math.abs(HG(t.b).b-HG(n.b).b),r=1,a=1,i>t.b.b/2+n.b.b/2&&(r=1-e.Math.min(e.Math.abs(t.b.c-(n.b.c+n.b.b)),e.Math.abs(t.b.c+t.b.b-n.b.c))/i),o>t.b.a/2+n.b.a/2&&(a=1-e.Math.min(e.Math.abs(t.b.d-(n.b.d+n.b.a)),e.Math.abs(t.b.d+t.b.a-n.b.d))/o),(1-e.Math.min(r,a))*e.Math.sqrt(i*i+o*o)}function CUt(t){var e,n,r;for(ZGt(t,t.e,t.f,(dJ(),Iye),!0,t.c,t.i),ZGt(t,t.e,t.f,Iye,!1,t.c,t.i),ZGt(t,t.e,t.f,Mye,!0,t.c,t.i),ZGt(t,t.e,t.f,Mye,!1,t.c,t.i),BUt(t,t.c,t.e,t.f,t.i),n=new k2(t.i,0);n.b<n.d.gc();)for(ED(n.b<n.d.gc()),e=QH(n.d.Xb(n.c=n.b++),128),r=new k2(t.i,n.b);r.b<r.d.gc();)ED(r.b<r.d.gc()),O$t(e,QH(r.d.Xb(r.c=r.b++),128));BXt(t.i,QH(bEt(t.d,(lqt(),Cfe)),230)),$Kt(t.i)}function EUt(t,e){var n,r;if(null!=e)if(r=nyt(t)){if(0==(1&r.i))return JE(),!(n=QH(DX(gIe,r),55))||n.wj(e);if(r==SNe)return $S(e);if(r==BNe)return rO(e,19);if(r==ONe)return rO(e,155);if(r==INe)return rO(e,217);if(r==_Ne)return rO(e,172);if(r==MNe)return KS(e);if(r==NNe)return rO(e,184);if(r==LNe)return rO(e,162)}else if(rO(e,56))return t.uk(QH(e,56));return!1}function xUt(){var t,e,n,r,i,a,o,s,c;for(xUt=L,GOe=O9(INe,m6t,25,255,15,1),zOe=O9(_Ne,XVt,25,64,15,1),e=0;e<255;e++)GOe[e]=-1;for(n=90;n>=65;n--)GOe[n]=n-65<<24>>24;for(r=122;r>=97;r--)GOe[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)GOe[i]=i-48+52<<24>>24;for(GOe[43]=62,GOe[47]=63,a=0;a<=25;a++)zOe[a]=65+a&VVt;for(o=26,c=0;o<=51;++o,c++)zOe[o]=97+c&VVt;for(t=52,s=0;t<=61;++t,s++)zOe[t]=48+s&VVt;zOe[62]=43,zOe[63]=47}function _Ut(t,n){var r,i,a,o,s,c,l,u,h,f,d;if(t.dc())return new jT;for(l=0,h=0,i=t.Kc();i.Ob();)a=QH(i.Pb(),37).f,l=e.Math.max(l,a.a),h+=a.a*a.b;for(l=e.Math.max(l,e.Math.sqrt(h)*jy(kF(bEt(QH(t.Kc().Pb(),37),(HXt(),wpe))))),f=0,d=0,c=0,r=n,s=t.Kc();s.Ob();)f+(u=(o=QH(s.Pb(),37)).f).a>l&&(f=0,d+=c+n,c=0),JPt(o,f,d),r=e.Math.max(r,f+u.a),c=e.Math.max(c,u.b),f+=u.a+n;return new OB(r+n,d+c+n)}function BUt(t,e,n,r,i){var a,o,s,c,l,u,h;for(o=new zd(e);o.a<o.c.c.length;){if(c=(a=QH(J1(o),17)).c,n.a._b(c))dJ(),l=Iye;else{if(!r.a._b(c))throw Um(new Py("Source port must be in one of the port sets."));dJ(),l=Mye}if(u=a.d,n.a._b(u))dJ(),h=Iye;else{if(!r.a._b(u))throw Um(new Py("Target port must be in one of the port sets."));dJ(),h=Mye}s=new tBt(a,l,h),Xq(t.b,a,s),i.c[i.c.length]=s}}function SUt(t,e){var n,r,i,a,o,s,c;if(!zJ(t))throw Um(new Ry(Q5t));if(a=(r=zJ(t)).g,i=r.f,a<=0&&i<=0)return yzt(),ESe;switch(s=t.i,c=t.j,e.g){case 2:case 1:if(s<0)return yzt(),xSe;if(s+t.g>a)return yzt(),oSe;break;case 4:case 3:if(c<0)return yzt(),sSe;if(c+t.f>i)return yzt(),CSe}return(o=(s+t.g/2)/a)+(n=(c+t.f/2)/i)<=1&&o-n<=0?(yzt(),xSe):o+n>=1&&o-n>=0?(yzt(),oSe):n<.5?(yzt(),sSe):(yzt(),CSe)}function LUt(t,e,n,r,i){var a,o;if(a=rdt(t0(e[0],GWt),t0(r[0],GWt)),t[0]=dK(a),a=vG(a,32),n>=i){for(o=1;o<i;o++)a=rdt(a,rdt(t0(e[o],GWt),t0(r[o],GWt))),t[o]=dK(a),a=vG(a,32);for(;o<n;o++)a=rdt(a,t0(e[o],GWt)),t[o]=dK(a),a=vG(a,32)}else{for(o=1;o<n;o++)a=rdt(a,rdt(t0(e[o],GWt),t0(r[o],GWt))),t[o]=dK(a),a=vG(a,32);for(;o<i;o++)a=rdt(a,t0(r[o],GWt)),t[o]=dK(a),a=vG(a,32)}0!=qut(a,0)&&(t[o]=dK(a))}function IUt(t){var e,n,r,i,a,o;if(dqt(),4!=t.e&&5!=t.e)throw Um(new Py("Token#complementRanges(): must be RANGE: "+t.e));for(kMt(a=t),jjt(a),r=a.b.length+2,0==a.b[0]&&(r-=2),(n=a.b[a.b.length-1])==ote&&(r-=2),(i=new k0(4)).b=O9(BNe,lWt,25,r,15,1),o=0,a.b[0]>0&&(i.b[o++]=0,i.b[o++]=a.b[0]-1),e=1;e<a.b.length-2;e+=2)i.b[o++]=a.b[e]+1,i.b[o++]=a.b[e+1]-1;return n!=ote&&(i.b[o++]=n+1,i.b[o]=ote),i.a=!0,i}function MUt(t,e,n){var r,i,a,o,s,c,l,u;if(0==(r=n.gc()))return!1;if(t.ej())if(l=t.fj(),UCt(t,e,n),o=1==r?t.Zi(3,null,n.Kc().Pb(),e,l):t.Zi(5,null,n,e,l),t.bj()){for(s=r<100?null:new RT(r),a=e+r,i=e;i<a;++i)u=t.g[i],s=t.cj(u,s),s=t.jj(u,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(UCt(t,e,n),t.bj()){for(s=r<100?null:new RT(r),a=e+r,i=e;i<a;++i)c=t.g[i],s=t.cj(c,s);s&&s.Fi()}return!0}function OUt(t,e,n,r){var i,a,o,s,c;for(o=new zd(t.k);o.a<o.c.c.length;)i=QH(J1(o),129),r&&i.c!=(B6(),Tye)||(c=i.b).g<0&&i.d>0&&(Xf(c,c.d-i.d),i.c==(B6(),Tye)&&Gf(c,c.a-i.d),c.d<=0&&c.i>0&&n5(e,c,e.c.b,e.c));for(a=new zd(t.f);a.a<a.c.c.length;)i=QH(J1(a),129),r&&i.c!=(B6(),Tye)||(s=i.a).g<0&&i.d>0&&(qf(s,s.i-i.d),i.c==(B6(),Tye)&&zf(s,s.b-i.d),s.i<=0&&s.d>0&&n5(n,s,n.c.b,n.c))}function NUt(t,e,n){var r,i,a,o,s,c,l,u;for(SCt(n,"Processor compute fanout",1),Lz(t.b),Lz(t.a),s=null,a=cmt(e.b,0);!s&&a.b!=a.d.c;)Hy(TF(bEt(l=QH(h4(a),86),(j$t(),dwe))))&&(s=l);for(n5(c=new VC,s,c.c.b,c.c),wzt(t,c),u=cmt(e.b,0);u.b!=u.d.c;)o=CF(bEt(l=QH(h4(u),86),(j$t(),nwe))),i=null!=CJ(t.b,o)?QH(CJ(t.b,o),19).a:0,lct(l,ewe,nft(i)),r=1+(null!=CJ(t.a,o)?QH(CJ(t.a,o),19).a:0),lct(l,Zye,nft(r));Hxt(n)}function DUt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d;for(h=vkt(t,n),s=0;s<e;s++){for(bP(i,n),f=new Mm,ED(r.b<r.d.gc()),d=QH(r.d.Xb(r.c=r.b++),407),l=h+s;l<t.b;l++)o=d,ED(r.b<r.d.gc()),zH(f,new TDt(o,d=QH(r.d.Xb(r.c=r.b++),407),n));for(u=h+s;u<t.b;u++)ED(r.b>0),r.a.Xb(r.c=--r.b),u>h+s&&lq(r);for(a=new zd(f);a.a<a.c.c.length;)bP(r,QH(J1(a),407));if(s<e-1)for(c=h+s;c<t.b;c++)ED(r.b>0),r.a.Xb(r.c=--r.b)}}function FUt(){var t,e,n,r,i,a;if(dqt(),ENe)return ENe;for(cjt(t=new k0(4),Jzt(gte,!0)),XKt(t,Jzt("M",!0)),XKt(t,Jzt("C",!0)),a=new k0(4),r=0;r<11;r++)WDt(a,r,r);return cjt(e=new k0(4),Jzt("M",!0)),WDt(e,4448,4607),WDt(e,65438,65439),t$t(i=new nM(2),t),t$t(i,oNe),(n=new nM(2)).$l(AK(a,Jzt("L",!0))),n.$l(e),n=new Kz(i,n=new c3(3,n)),ENe=n}function PUt(t){var e,n;if(!Wat(e=CF(JIt(t,(cqt(),txe))),t)&&!E9(t,m_e)&&(0!=(!t.a&&(t.a=new tz($Le,t,10,11)),t.a).i||Hy(TF(JIt(t,Cxe))))){if(null!=e&&0!=FEt(e).length)throw pGt(t,n=oL(oL(new uN("Layout algorithm '"),e),"' not found for ")),Um(new nw(n.a));if(!Wat(d1t,t))throw pGt(t,n=oL(oL(new uN("Unable to load default layout algorithm "),d1t)," for unconfigured node ")),Um(new nw(n.a))}}function RUt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A;if(r=t.i,n=t.n,0==t.b)for(A=r.c+n.b,d=r.b-n.b-n.c,l=0,h=(s=t.a).length;l<h;++l)KK(a=s[l],A,d);else i=Xbt(t,!1),KK(t.a[0],r.c+n.b,i[0]),KK(t.a[2],r.c+r.b-n.c-i[2],i[2]),f=r.b-n.b-n.c,i[0]>0&&(f-=i[0]+t.c,i[0]+=t.c),i[2]>0&&(f-=i[2]+t.c),i[1]=e.Math.max(i[1],f),KK(t.a[1],r.c+n.b+i[0]-(i[1]-f)/2,i[1]);for(c=0,u=(o=t.a).length;c<u;++c)rO(a=o[c],326)&&QH(a,326).Te()}function QUt(t){var e,n,r,i,a,o,s,c,l,u,h;for((h=new oo).d=0,o=new zd(t.b);o.a<o.c.c.length;)a=QH(J1(o),29),h.d+=a.a.c.length;for(r=0,i=0,h.a=O9(BNe,lWt,25,t.b.c.length,15,1),l=0,u=0,h.e=O9(BNe,lWt,25,h.d,15,1),n=new zd(t.b);n.a<n.c.c.length;)for((e=QH(J1(n),29)).p=r++,h.a[e.p]=i++,u=0,c=new zd(e.a);c.a<c.c.c.length;)(s=QH(J1(c),10)).p=l++,h.e[s.p]=u++;return h.c=new lg(h),h.b=sD(h.d),HQt(h,t),h.f=sD(h.d),jQt(h,t),h}function UUt(t,n){var r,i,a;for(a=QH(O$(t.n,t.n.c.length-1),211).d,t.p=e.Math.min(t.p,n.g),t.r=e.Math.max(t.r,a),t.g=e.Math.max(t.g,n.g+(1==t.b.c.length?0:t.i)),t.o=e.Math.min(t.o,n.f),t.e+=n.f+(1==t.b.c.length?0:t.i),t.f=e.Math.max(t.f,n.f),i=t.n.c.length>0?(t.n.c.length-1)*t.i:0,r=new zd(t.n);r.a<r.c.c.length;)i+=QH(J1(r),211).a;t.d=i,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),vyt(t.j)}function HUt(t,e){var n,r,i,a,o,s,c,l,u;if(null==(l=TF(bEt(e,(uPt(),eoe))))||(vq(l),l)){for(u=O9(SNe,JYt,25,e.e.c.length,16,1),o=yLt(e),i=new VC,c=new zd(e.e);c.a<c.c.c.length;)(n=WMt(t,QH(J1(c),144),null,null,u,o))&&(jot(n,e),n5(i,n,i.c.b,i.c));if(i.b>1)for(r=cmt(i,0);r.b!=r.d.c;)for(a=0,s=new zd((n=QH(h4(r),231)).e);s.a<s.c.c.length;)QH(J1(s),144).b=a++;return i}return a6(xst(jw(Fae,1),tZt,231,0,[e]))}function jUt(t){var e,n,r,i,a;if(!t.g){if(a=new Cc,null==(e=CMe).a.zc(t,e)){for(n=new SO(vY(t));n.e!=n.i.gc();)pX(a,jUt(QH(ymt(n),26)));e.a.Bc(t),e.a.gc()}for(r=a.i,!t.s&&(t.s=new tz(PIe,t,21,17)),i=new SO(t.s);i.e!=i.i.gc();++r)ad(QH(ymt(i),449),r);pX(a,(!t.s&&(t.s=new tz(PIe,t,21,17)),t.s)),iut(a),t.g=new Act(t,a),t.i=QH(a.g,247),null==t.i&&(t.i=xMe),t.p=null,E5(t).b&=-5}return t.g}function $Ut(t){var n,r,i,a,o,s,c,l,u,h,f,d,A;if(i=t.i,r=t.n,0==t.b)n=zbt(t,!1),GK(t.a[0],i.d+r.d,n[0]),GK(t.a[2],i.d+i.a-r.a-n[2],n[2]),f=i.a-r.d-r.a,n[0]>0&&(n[0]+=t.c,f-=n[0]),n[2]>0&&(f-=n[2]+t.c),n[1]=e.Math.max(n[1],f),GK(t.a[1],i.d+r.d+n[0]-(n[1]-f)/2,n[1]);else for(A=i.d+r.d,d=i.a-r.d-r.a,l=0,h=(s=t.a).length;l<h;++l)GK(a=s[l],A,d);for(c=0,u=(o=t.a).length;c<u;++c)rO(a=o[c],326)&&QH(a,326).Ue()}function KUt(t){var e,n,r,i,a,o,s,c,l;for(l=O9(BNe,lWt,25,t.b.c.length+1,15,1),c=new Db,r=0,a=new zd(t.b);a.a<a.c.c.length;){for(i=QH(J1(a),29),l[r++]=c.a.gc(),s=new zd(i.a);s.a<s.c.c.length;)for(n=new oG(YO(hdt(QH(J1(s),10)).a.Kc(),new u));AIt(n);)e=QH(K5(n),17),c.a.zc(e,c);for(o=new zd(i.a);o.a<o.c.c.length;)for(n=new oG(YO(udt(QH(J1(o),10)).a.Kc(),new u));AIt(n);)e=QH(K5(n),17),c.a.Bc(e)}return l}function GUt(t,e,n,r){var i,a,o,s,c;if(c=aDt(t.e.Tg(),e),i=QH(t.g,119),YE(),QH(e,66).Oj()){for(o=0;o<t.i;++o)if(a=i[o],c.rl(a.ak())&&Oht(a,n))return!0}else if(null!=n){for(s=0;s<t.i;++s)if(a=i[s],c.rl(a.ak())&&Oht(n,a.dd()))return!0;if(r)for(o=0;o<t.i;++o)if(a=i[o],c.rl(a.ak())&&jS(n)===jS(cF(t,QH(a.dd(),56))))return!0}else for(o=0;o<t.i;++o)if(a=i[o],c.rl(a.ak())&&null==a.dd())return!1;return!1}function zUt(t,e,n,r){var i,a,o,s,c,l;if(l=aDt(t.e.Tg(),e),o=QH(t.g,119),IDt(t.e,e)){if(e.hi()&&(a=gHt(t,e,r,rO(e,99)&&0!=(QH(e,18).Bb&UWt)))>=0&&a!=n)throw Um(new Py(a9t));for(i=0,c=0;c<t.i;++c)if(s=o[c],l.rl(s.ak())){if(i==n)return QH(sbt(t,c,(YE(),QH(e,66).Oj()?QH(r,72):Y4(e,r))),72);++i}throw Um(new Sy(e8t+n+s9t+i))}for(c=0;c<t.i;++c)if(s=o[c],l.rl(s.ak()))return YE(),QH(e,66).Oj()?s:s.dd();return null}function XUt(t,n,r,i){var a,o,s,c;for(c=r,s=new zd(n.a);s.a<s.c.c.length;){if(o=QH(J1(s),221),a=QH(o.b,65),Bdt(t.b.c,a.b.c+a.b.b)<=0&&Bdt(a.b.c,t.b.c+t.b.b)<=0&&Bdt(t.b.d,a.b.d+a.b.a)<=0&&Bdt(a.b.d,t.b.d+t.b.a)<=0){if(0==Bdt(a.b.c,t.b.c+t.b.b)&&i.a<0||0==Bdt(a.b.c+a.b.b,t.b.c)&&i.a>0||0==Bdt(a.b.d,t.b.d+t.b.a)&&i.b<0||0==Bdt(a.b.d+a.b.a,t.b.d)&&i.b>0){c=0;break}}else c=e.Math.min(c,HBt(t,a,i));c=e.Math.min(c,XUt(t,o,c,i))}return c}function qUt(t,e){var n,r,i,a,o,s;if(t.b<2)throw Um(new Py("The vector chain must contain at least a source and a target point."));for(ED(0!=t.b),xI(e,(r=QH(t.a.a.c,8)).a,r.b),s=new rD((!e.a&&(e.a=new LO(MLe,e,5)),e.a)),a=cmt(t,1);a.a<t.b-1;)o=QH(h4(a),8),s.e!=s.i.gc()?n=QH(ymt(s),469):(ZT(),spt(s,n=new ac)),TI(n,o.a,o.b);for(;s.e!=s.i.gc();)ymt(s),VTt(s);ED(0!=t.b),EI(e,(i=QH(t.c.b.c,8)).a,i.b)}function VUt(t,e){var n,r,i,a,o,s,c,l;for(n=0,r=new zd((u1(0,t.c.length),QH(t.c[0],101)).g.b.j);r.a<r.c.c.length;)QH(J1(r),11).p=n++;for(e==(yzt(),sSe)?mM(t,new ta):mM(t,new ea),o=0,l=t.c.length-1;o<l;)u1(o,t.c.length),a=QH(t.c[o],101),u1(l,t.c.length),c=QH(t.c[l],101),i=e==sSe?a.c:a.a,s=e==sSe?c.a:c.c,hz(a,e,(Sst(),ble),i),hz(c,e,mle,s),++o,--l;o==l&&hz((u1(o,t.c.length),QH(t.c[o],101)),e,(Sst(),gle),null)}function WUt(t,e,n){var r,i,a,o,s,c,l,u,h,f;return u=t.a.i+t.a.g/2,h=t.a.i+t.a.g/2,o=new OB(e.i+e.g/2,e.j+e.f/2),(c=QH(JIt(e,(cqt(),A_e)),8)).a=c.a+u,c.b=c.b+h,i=(o.b-c.b)/(o.a-c.a),r=o.b-i*o.a,s=new OB(n.i+n.g/2,n.j+n.f/2),(l=QH(JIt(n,A_e),8)).a=l.a+u,l.b=l.b+h,a=(s.b-l.b)/(s.a-l.a),f=(r-(s.b-a*s.a))/(a-i),!(c.a<f&&o.a<f||f<c.a&&f<o.a||l.a<f&&s.a<f||f<l.a&&f<s.a)}function YUt(t,e){var n,r,i,a,o,s;if(!(o=QH(DX(t.c,e),183)))throw Um(new tw("Edge did not exist in input."));return r=Vpt(o),!zk((!e.a&&(e.a=new tz(PLe,e,6,6)),e.a))&&(n=new kH(t,r,s=new xf),fL((!e.a&&(e.a=new tz(PLe,e,6,6)),e.a),n),net(o,N6t,s)),E9(e,(cqt(),Bxe))&&!(!(i=QH(JIt(e,Bxe),74))||pq(i))&&(t5(i,new qg(a=new xf)),net(o,"junctionPoints",a)),Sj(o,"container",GJ(e).k),null}function JUt(t,e,n){var r,i,a,o,s,c;this.a=t,this.b=e,this.c=n,this.e=a6(xst(jw(are,1),Hqt,168,0,[new Ox(t,e),new Ox(e,n),new Ox(n,t)])),this.f=a6(xst(jw(EEe,1),cVt,8,0,[t,e,n])),this.d=(r=GP(QM(this.b),this.a),i=GP(QM(this.c),this.a),a=GP(QM(this.c),this.b),o=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),s=i.a*(this.a.a+this.c.a)+i.b*(this.a.b+this.c.b),c=2*(r.a*a.b-r.b*a.a),new OB((i.b*o-r.b*s)/c,(r.a*s-i.a*o)/c))}function ZUt(t,e,n,r){var i,a,o,s,c,l,u,h,f;if(h=new jX(t.p),net(e,t9t,h),n&&!(t.f?nY(t.f):null).a.dc())for(net(e,"logs",l=new xf),s=0,f=new Hd((t.f?nY(t.f):null).b.Kc());f.b.Ob();)u=new jX(CF(f.b.Pb())),dtt(l,s),n3(l,s,u),++s;if(r&&net(e,"executionTime",new Cf(t.q)),!nY(t.a).a.dc())for(o=new xf,net(e,L6t,o),s=0,a=new Hd(nY(t.a).b.Kc());a.b.Ob();)i=QH(a.b.Pb(),1949),c=new py,dtt(o,s),n3(o,s,c),ZUt(i,c,n,r),++s}function tHt(t,e){var n,r,i,a,o,s;for(a=t.c,o=t.d,CZ(t,null),kZ(t,null),e&&Hy(TF(bEt(o,(lqt(),Zhe))))?CZ(t,FQt(o.i,(art(),Hbe),(yzt(),oSe))):CZ(t,o),e&&Hy(TF(bEt(a,(lqt(),vfe))))?kZ(t,FQt(a.i,(art(),Ube),(yzt(),xSe))):kZ(t,a),r=new zd(t.b);r.a<r.c.c.length;)n=QH(J1(r),70),(i=QH(bEt(n,(HXt(),Vpe)),272))==(Fet(),G_e)?lct(n,Vpe,K_e):i==K_e&&lct(n,Vpe,G_e);s=Hy(TF(bEt(t,(lqt(),xfe)))),lct(t,xfe,(cN(),!s)),t.a=Yct(t.a)}function eHt(t,n,r){var i,a,o,s,c;for(i=0,o=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));o.e!=o.i.gc();)s="",0==(!(a=QH(ymt(o),33)).n&&(a.n=new tz(jLe,a,1,7)),a.n).i||(s=QH(Xet((!a.n&&(a.n=new tz(jLe,a,1,7)),a.n),0),137).a),jot(c=new HX(s),a),lct(c,(Cit(),soe),a),c.b=i++,c.d.a=a.i+a.g/2,c.d.b=a.j+a.f/2,c.e.a=e.Math.max(a.g,1),c.e.b=e.Math.max(a.f,1),zH(n.e,c),wBt(r.f,a,c),QH(JIt(a,(uPt(),Vae)),98),Vkt()}function nHt(t,n){var r,i,a,o,s,c,l,u,h,f,d;r=SN(new Hb,t.f),c=t.i[n.c.i.p],f=t.i[n.d.i.p],s=n.c,h=n.d,o=s.a.b,u=h.a.b,c.b||(o+=s.n.b),f.b||(u+=h.n.b),l=xJ(e.Math.max(0,o-u)),a=xJ(e.Math.max(0,u-o)),d=e.Math.max(1,QH(bEt(n,(HXt(),hme)),19).a)*G4(n.c.i.k,n.d.i.k),i=new J_(GNt(iE(rE(nE(aE(new Ub,d),a),r),QH(DX(t.k,n.c),121))),GNt(iE(rE(nE(aE(new Ub,d),l),r),QH(DX(t.k,n.d),121)))),t.c[n.p]=i}function rHt(t,e,n,r){var i,a,o,s,c,l;for(o=new oKt(t,e,n),c=new k2(r,0),i=!1;c.b<c.d.gc();)ED(c.b<c.d.gc()),(s=QH(c.d.Xb(c.c=c.b++),233))==e||s==n?lq(c):!i&&jy(uO(s.g,s.d[0]).a)>jy(uO(o.g,o.d[0]).a)?(ED(c.b>0),c.a.Xb(c.c=--c.b),bP(c,o),i=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Mm),s.e).Mc(e),l=(!s.e&&(s.e=new Mm),s.e).Mc(n),(a||l)&&((!s.e&&(s.e=new Mm),s.e).Fc(o),++o.c));i||(r.c[r.c.length]=o)}function iHt(t){var e,n,r;if(gI(QH(bEt(t,(HXt(),tme)),98)))for(n=new zd(t.j);n.a<n.c.c.length;)(e=QH(J1(n),11)).j==(yzt(),ESe)&&((r=QH(bEt(e,(lqt(),wfe)),10))?jBt(e,QH(bEt(r,qhe),61)):e.e.c.length-e.g.c.length<0?jBt(e,oSe):jBt(e,xSe));else{for(n=new zd(t.j);n.a<n.c.c.length;)e=QH(J1(n),11),(r=QH(bEt(e,(lqt(),wfe)),10))?jBt(e,QH(bEt(r,qhe),61)):e.e.c.length-e.g.c.length<0?jBt(e,(yzt(),oSe)):jBt(e,(yzt(),xSe));lct(t,tme,(Vkt(),XBe))}}function aHt(t){var e,n;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:n="\\"+String.fromCharCode(t&VVt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=t<32?"\\x"+lD(e="0"+(t>>>0).toString(16),e.length-2,e.length):t>=UWt?"\\v"+lD(e="0"+(t>>>0).toString(16),e.length-6,e.length):""+String.fromCharCode(t&VVt)}return n}function oHt(t,e){var n,r,i,a,o,s,c,l,u,h;if(o=t.e,0==(c=e.e))return t;if(0==o)return 0==e.e?e:new uz(-e.e,e.d,e.a);if((a=t.d)+(s=e.d)==2)return n=t0(t.a[0],GWt),r=t0(e.a[0],GWt),o<0&&(n=y7(n)),c<0&&(r=y7(r)),Zgt(ndt(n,r));if(-1==(i=a!=s?a>s?1:-1:Clt(t.a,e.a,a)))h=-c,u=o==c?d6(e.a,s,t.a,a):M9(e.a,s,t.a,a);else if(h=o,o==c){if(0==i)return SFt(),ene;u=d6(t.a,a,e.a,s)}else u=M9(t.a,a,e.a,s);return G0(l=new uz(h,u.length,u)),l}function sHt(t){var e,n,r,i,a,o;for(this.e=new Mm,this.a=new Mm,n=t.b-1;n<3;n++)FD(t,0,QH(Dmt(t,0),8));if(t.b<4)throw Um(new Py("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,BMt(this,t.b+this.b-1),o=new Mm,a=new zd(this.e),e=0;e<this.b-1;e++)zH(o,kF(J1(a)));for(i=cmt(t,0);i.b!=i.d.c;)r=QH(h4(i),8),zH(o,kF(J1(a))),zH(this.a,new fJ(r,o)),u1(0,o.c.length),o.c.splice(0,1)}function cHt(t,e){var n,r,i,a,o,s,c;for(i=new zd(t.b);i.a<i.c.c.length;)for(o=new zd(QH(J1(i),29).a);o.a<o.c.c.length;)for((a=QH(J1(o),10)).k==(oxt(),Cse)&&(s=QH(K5(new oG(YO(udt(a).a.Kc(),new u))),17),c=QH(K5(new oG(YO(hdt(a).a.Kc(),new u))),17),lUt(a,Hy(TF(bEt(s,(lqt(),xfe))))&&Hy(TF(bEt(c,xfe)))?zst(e):e)),r=new oG(YO(hdt(a).a.Kc(),new u));AIt(r);)mst(n=QH(K5(r),17),Hy(TF(bEt(n,(lqt(),xfe))))?zst(e):e)}function lHt(t,e,n,r,i){var a,o;if(n.f>=e.o&&n.f<=e.f||.5*e.a<=n.f&&1.5*e.a>=n.f){if((a=QH(O$(e.n,e.n.c.length-1),211)).e+a.d+n.g+i<=r&&(QH(O$(e.n,e.n.c.length-1),211).f-t.f+n.f<=t.b||1==t.a.c.length))return vdt(e,n),!0;if(e.s+n.g<=r&&(e.t+e.d+n.f+i<=t.b||1==t.a.c.length))return zH(e.b,n),o=QH(O$(e.n,e.n.c.length-1),211),zH(e.n,new DJ(e.s,o.f+o.a+e.i,e.i)),cvt(QH(O$(e.n,e.n.c.length-1),211),n),UUt(e,n),!0}return!1}function uHt(t,e,n){var r,i,a,o;return t.ej()?(i=null,a=t.fj(),r=t.Zi(1,o=ott(t,e,n),n,e,a),t.bj()&&!(t.ni()&&null!=o?Oht(o,n):jS(o)===jS(n))?(null!=o&&(i=t.dj(o,i)),i=t.cj(n,i),t.ij()&&(i=t.lj(o,n,i)),i?(i.Ei(r),i.Fi()):t.$i(r)):(t.ij()&&(i=t.lj(o,n,i)),i?(i.Ei(r),i.Fi()):t.$i(r)),o):(o=ott(t,e,n),t.bj()&&!(t.ni()&&null!=o?Oht(o,n):jS(o)===jS(n))&&(i=null,null!=o&&(i=t.dj(o,null)),(i=t.cj(n,i))&&i.Fi()),o)}function hHt(t,n){var r,i,a,o,s,c,l;n%=24,t.q.getHours()!=n&&((r=new e.Date(t.q.getTime())).setDate(r.getDate()+1),(s=t.q.getTimezoneOffset()-r.getTimezoneOffset())>0&&(c=s/60|0,l=s%60,i=t.q.getDate(),t.q.getHours()+c>=24&&++i,a=new e.Date(t.q.getFullYear(),t.q.getMonth(),i,n+c,t.q.getMinutes()+l,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(a.getTime()))),o=t.q.getTime(),t.q.setTime(o+36e5),t.q.getHours()!=n&&t.q.setTime(o)}function fHt(t,e){var n,r,i,a;if(SCt(e,"Path-Like Graph Wrapping",1),0!=t.b.c.length)if(null==(i=new CIt(t)).i&&(i.i=Xit(i,new wa)),n=jy(i.i)*i.f/(null==i.i&&(i.i=Xit(i,new wa)),jy(i.i)),i.b>n)Hxt(e);else{switch(QH(bEt(t,(HXt(),Qme)),337).g){case 2:a=new Ca;break;case 0:a=new Aa;break;default:a=new Ea}if(r=a.Vf(t,i),!a.Wf())switch(QH(bEt(t,Gme),338).g){case 2:r=zBt(i,r);break;case 1:r=PCt(i,r)}n$t(t,i,r),Hxt(e)}else Hxt(e)}function dHt(t,e){var n,r,i,a;if(l1(t.d,t.e),t.c.a.$b(),0!=jy(kF(bEt(e.j,(HXt(),_pe))))||0!=jy(kF(bEt(e.j,_pe))))for(n=JJt,jS(bEt(e.j,Ipe))!==jS((bct(),Mbe))&&lct(e.j,(lqt(),Whe),(cN(),!0)),a=QH(bEt(e.j,Ome),19).a,i=0;i<a&&!((r=pUt(t,e))<n&&(n=r,Mit(t),0==n));i++);else for(n=Dqt,jS(bEt(e.j,Ipe))!==jS((bct(),Mbe))&&lct(e.j,(lqt(),Whe),(cN(),!0)),a=QH(bEt(e.j,Ome),19).a,i=0;i<a&&!((r=gUt(t,e))<n&&(n=r,Mit(t),0==n));i++);}function AHt(t,e){var n,r,i,a,o,s;for(i=new Mm,a=0,n=0,o=0;a<e.c.length-1&&n<t.gc();){for(r=QH(t.Xb(n),19).a+o;(u1(a+1,e.c.length),QH(e.c[a+1],19)).a<r;)++a;for(s=0,r-(u1(a,e.c.length),QH(e.c[a],19)).a>(u1(a+1,e.c.length),QH(e.c[a+1],19)).a-r&&++s,zH(i,(u1(a+s,e.c.length),QH(e.c[a+s],19))),o+=(u1(a+s,e.c.length),QH(e.c[a+s],19)).a-r,++n;n<t.gc()&&QH(t.Xb(n),19).a+o<=(u1(a+s,e.c.length),QH(e.c[a+s],19)).a;)++n;a+=1+s}return i}function pHt(t){var e,n,r,i,a;if(!t.d){if(a=new _c,null==(e=CMe).a.zc(t,e)){for(n=new SO(vY(t));n.e!=n.i.gc();)pX(a,pHt(QH(ymt(n),26)));e.a.Bc(t),e.a.gc()}for(i=a.i,!t.q&&(t.q=new tz(XIe,t,11,10)),r=new SO(t.q);r.e!=r.i.gc();++i)QH(ymt(r),399);pX(a,(!t.q&&(t.q=new tz(XIe,t,11,10)),t.q)),iut(a),t.d=new ML((QH(Xet(qW((qX(),JIe).o),9),18),a.i),a.g),t.e=QH(a.g,673),null==t.e&&(t.e=EMe),E5(t).b&=-17}return t.d}function gHt(t,e,n,r){var i,a,o,s,c,l;if(l=aDt(t.e.Tg(),e),c=0,i=QH(t.g,119),YE(),QH(e,66).Oj()){for(o=0;o<t.i;++o)if(a=i[o],l.rl(a.ak())){if(Oht(a,n))return c;++c}}else if(null!=n){for(s=0;s<t.i;++s)if(a=i[s],l.rl(a.ak())){if(Oht(n,a.dd()))return c;++c}if(r)for(c=0,o=0;o<t.i;++o)if(a=i[o],l.rl(a.ak())){if(jS(n)===jS(cF(t,QH(a.dd(),56))))return c;++c}}else for(o=0;o<t.i;++o)if(a=i[o],l.rl(a.ak())){if(null==a.dd())return c;++c}return-1}function mHt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d;for(CW(),mM(t,new zs),o=$H(t),d=new Mm,f=new Mm,s=null,c=0;0!=o.b;)a=QH(0==o.b?null:(ED(0!=o.b),Let(o,o.a.a)),157),!s||eK(s)*tK(s)/2<eK(a)*tK(a)?(s=a,d.c[d.c.length]=a):(c+=eK(a)*tK(a),f.c[f.c.length]=a,f.c.length>1&&(c>eK(s)*tK(s)/2||0==o.b)&&(h=new $et(f),u=eK(s)/tK(s),l=vXt(h,e,new hv,n,r,i,u),KP(vL(h.e),l),s=h,d.c[d.c.length]=h,c=0,f.c=O9(Lte,Hqt,1,0,5,1)));return pst(d,f),d}function bHt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p;if(n.mh(e)&&(u=(d=e)?QH(r,49).xh(d):null))if(p=n.bh(e,t.a),(A=e.t)>1||-1==A)if(h=QH(p,69),f=QH(u,69),h.dc())f.$b();else for(o=!!_bt(e),a=0,s=t.a?h.Kc():h.Zh();s.Ob();)l=QH(s.Pb(),56),(i=QH(utt(t,l),56))?(o?-1==(c=f.Xc(i))?f.Xh(a,i):a!=c&&f.ji(a,i):f.Xh(a,i),++a):t.b&&!o&&(f.Xh(a,l),++a);else null==p?u.Wb(null):null==(i=utt(t,p))?t.b&&!_bt(e)&&u.Wb(p):u.Wb(i)}function vHt(t,n){var r,i,a,o,s,c,l,h;for(r=new On,a=new oG(YO(udt(n).a.Kc(),new u));AIt(a);)if(!h5(i=QH(K5(a),17))&&eCt(c=i.c.i,Gse)){if(-1==(h=qFt(t,c,Gse,Kse)))continue;r.b=e.Math.max(r.b,h),!r.a&&(r.a=new Mm),zH(r.a,c)}for(s=new oG(YO(hdt(n).a.Kc(),new u));AIt(s);)if(!h5(o=QH(K5(s),17))&&eCt(l=o.d.i,Kse)){if(-1==(h=qFt(t,l,Kse,Gse)))continue;r.d=e.Math.max(r.d,h),!r.c&&(r.c=new Mm),zH(r.c,l)}return r}function yHt(t){var e,n,r,i;if(ILt(),e=xJ(t),t<one.length)return one[e];if(t<=50)return oLt((SFt(),Zee),e);if(t<=qVt)return j5(oLt(ane[1],e),e);if(t>1e6)throw Um(new By("power of ten too big"));if(t<=Dqt)return j5(oLt(ane[1],e),e);for(i=r=oLt(ane[1],Dqt),n=uot(t-Dqt),e=xJ(t%Dqt);qut(n,Dqt)>0;)i=Mtt(i,r),n=ndt(n,Dqt);for(i=j5(i=Mtt(i,oLt(ane[1],e)),Dqt),n=uot(t-Dqt);qut(n,Dqt)>0;)i=j5(i,Dqt),n=ndt(n,Dqt);return i=j5(i,e)}function wHt(t,e){var n,r,i,a,o,s,c,l;for(SCt(e,"Hierarchical port dummy size processing",1),s=new Mm,l=new Mm,n=2*jy(kF(bEt(t,(HXt(),vme)))),i=new zd(t.b);i.a<i.c.c.length;){for(r=QH(J1(i),29),s.c=O9(Lte,Hqt,1,0,5,1),l.c=O9(Lte,Hqt,1,0,5,1),o=new zd(r.a);o.a<o.c.c.length;)(a=QH(J1(o),10)).k==(oxt(),kse)&&((c=QH(bEt(a,(lqt(),qhe)),61))==(yzt(),sSe)?s.c[s.c.length]=a:c==CSe&&(l.c[l.c.length]=a));HLt(s,!0,n),HLt(l,!1,n)}Hxt(e)}function THt(t,e){var n,r,i,a,o;SCt(e,"Layer constraint postprocessing",1),0!=(o=t.b).c.length&&(u1(0,o.c.length),RRt(t,QH(o.c[0],29),QH(O$(o,o.c.length-1),29),n=new UX(t),i=new UX(t)),0==n.a.c.length||(IZ(0,o.c.length),kx(o.c,0,n)),0==i.a.c.length||(o.c[o.c.length]=i)),ID(t,(lqt(),Jhe))&&(vFt(t,r=new UX(t),a=new UX(t)),0==r.a.c.length||(IZ(0,o.c.length),kx(o.c,0,r)),0==a.a.c.length||(o.c[o.c.length]=a)),Hxt(e)}function kHt(t){var e,n,r,i,a,o,s,c;for(o=new zd(t.a);o.a<o.c.c.length;)if((a=QH(J1(o),10)).k==(oxt(),kse)&&((i=QH(bEt(a,(lqt(),qhe)),61))==(yzt(),oSe)||i==xSe))for(r=new oG(YO(ldt(a).a.Kc(),new u));AIt(r);)0!=(e=(n=QH(K5(r),17)).a).b&&((s=n.c).i==a&&(ED(0!=e.b),QH(e.a.a.c,8).b=Lct(xst(jw(EEe,1),cVt,8,0,[s.i.n,s.n,s.a])).b),(c=n.d).i==a&&(ED(0!=e.b),QH(e.c.b.c,8).b=Lct(xst(jw(EEe,1),cVt,8,0,[c.i.n,c.n,c.a])).b))}function CHt(t,e){var n,r,i,a,o,s,c;for(SCt(e,"Sort By Input Model "+bEt(t,(HXt(),Ipe)),1),i=0,r=new zd(t.b);r.a<r.c.c.length;){for(n=QH(J1(r),29),c=0==i?0:i-1,s=QH(O$(t.b,c),29),o=new zd(n.a);o.a<o.c.c.length;)jS(bEt(a=QH(J1(o),10),tme))!==jS((Vkt(),KBe))&&jS(bEt(a,tme))!==jS(GBe)&&(CW(),mM(a.j,new B7(s,swt(a))),Bj(e,"Node "+a+" ports: "+a.j));CW(),mM(n.a,new $it(s,QH(bEt(t,Ipe),339),QH(bEt(t,Spe),378))),Bj(e,"Layer "+i+": "+n),++i}Hxt(e)}function EHt(t,e){var n,r,i;if(i=yUt(e),WC(new D$(null,(!e.c&&(e.c=new tz(KLe,e,9,9)),new f1(e.c,16))),new KA(i)),oGt(e,r=QH(bEt(i,(lqt(),Yhe)),21)),r.Hc((fFt(),uhe)))for(n=new SO((!e.c&&(e.c=new tz(KLe,e,9,9)),e.c));n.e!=n.i.gc();)VGt(t,e,i,QH(ymt(n),118));return 0!=QH(JIt(e,(HXt(),Rge)),174).gc()&&bFt(e,i),Hy(TF(bEt(i,Gge)))&&r.Fc(phe),ID(i,Ame)&&ky(new oAt(jy(kF(bEt(i,Ame)))),i),jS(JIt(e,sge))===jS((oht(),pBe))?iqt(t,e,i):eXt(t,e,i),i}function xHt(t,n,r,i){var a,o,s;if(this.j=new Mm,this.k=new Mm,this.b=new Mm,this.c=new Mm,this.e=new hI,this.i=new vv,this.f=new Nm,this.d=new Mm,this.g=new Mm,zH(this.b,t),zH(this.b,n),this.e.c=e.Math.min(t.a,n.a),this.e.d=e.Math.min(t.b,n.b),this.e.b=e.Math.abs(t.a-n.a),this.e.a=e.Math.abs(t.b-n.b),a=QH(bEt(i,(HXt(),gge)),74))for(s=cmt(a,0);s.b!=s.d.c;)ant((o=QH(h4(s),8)).a,t.a)&&Nj(this.i,o);r&&zH(this.j,r),zH(this.k,i)}function _Ht(t,e,n){var r,i,a,o,s,c,l,u,h,f;for(u=new GG(new OA(n)),gz(s=O9(SNe,JYt,25,t.f.e.c.length,16,1),s.length),n[e.b]=0,l=new zd(t.f.e);l.a<l.c.c.length;)(c=QH(J1(l),144)).b!=e.b&&(n[c.b]=Dqt),R9(eEt(u,c));for(;0!=u.b.c.length;)for(s[(h=QH(mtt(u),144)).b]=!0,a=gN(new mC(t.b,h),0);a.c;)s[(f=Ivt(i=QH(wZ(a),282),h)).b]||(o=ID(i,(rwt(),poe))?jy(kF(bEt(i,poe))):t.c,(r=n[h.b]+o)<n[f.b]&&(n[f.b]=r,cit(u,f),R9(eEt(u,f))))}function BHt(t,e,n){var r,i,a,o,s,c,l,u,h;for(i=!0,o=new zd(t.b);o.a<o.c.c.length;){for(a=QH(J1(o),29),l=PWt,u=null,c=new zd(a.a);c.a<c.c.c.length;){if(s=QH(J1(c),10),h=jy(e.p[s.p])+jy(e.d[s.p])-s.d.d,r=jy(e.p[s.p])+jy(e.d[s.p])+s.o.b+s.d.a,!(h>l&&r>l)){i=!1,n.n&&Bj(n,"bk node placement breaks on "+s+" which should have been after "+u);break}u=s,l=jy(e.p[s.p])+jy(e.d[s.p])+s.o.b+s.d.a}if(!i)break}return n.n&&Bj(n,e+" is feasible: "+i),i}function SHt(t,e,n,r){var i,a,o,s,c,l,u;for(s=-1,u=new zd(t);u.a<u.c.c.length;)(l=QH(J1(u),112)).g=s--,o=i=dK(w2(MV(SV(new D$(null,new f1(l.f,16)),new lo),new uo)).d),c=a=dK(w2(MV(SV(new D$(null,new f1(l.k,16)),new ho),new fo)).d),r||(o=dK(w2(MV(new D$(null,new f1(l.f,16)),new Ao)).d),c=dK(w2(MV(new D$(null,new f1(l.k,16)),new po)).d)),l.d=o,l.a=i,l.i=c,l.b=a,0==c?n5(n,l,n.c.b,n.c):0==o&&n5(e,l,e.c.b,e.c)}function LHt(t,e,n,r){var i,a,o,s,c,l,u;if(n.d.i!=e.i){for(Qf(i=new Ibt(t),(oxt(),Ese)),lct(i,(lqt(),dfe),n),lct(i,(HXt(),tme),(Vkt(),GBe)),r.c[r.c.length]=i,xZ(o=new _xt,i),jBt(o,(yzt(),xSe)),xZ(s=new _xt,i),jBt(s,oSe),u=n.d,kZ(n,o),jot(a=new fY,n),lct(a,gge,null),CZ(a,s),kZ(a,u),l=new k2(n.b,0);l.b<l.d.gc();)ED(l.b<l.d.gc()),jS(bEt(c=QH(l.d.Xb(l.c=l.b++),70),Vpe))===jS((Fet(),K_e))&&(lct(c,Khe,n),lq(l),zH(a.b,c));vIt(i,o,s)}}function IHt(t,e,n,r){var i,a,o,s,c,l;if(n.c.i!=e.i)for(Qf(i=new Ibt(t),(oxt(),Ese)),lct(i,(lqt(),dfe),n),lct(i,(HXt(),tme),(Vkt(),GBe)),r.c[r.c.length]=i,xZ(o=new _xt,i),jBt(o,(yzt(),xSe)),xZ(s=new _xt,i),jBt(s,oSe),kZ(n,o),jot(a=new fY,n),lct(a,gge,null),CZ(a,s),kZ(a,e),vIt(i,o,s),l=new k2(n.b,0);l.b<l.d.gc();)ED(l.b<l.d.gc()),c=QH(l.d.Xb(l.c=l.b++),70),QH(bEt(c,Vpe),272)==(Fet(),K_e)&&(ID(c,Khe)||lct(c,Khe,n),lq(l),zH(a.b,c))}function MHt(t,n,r,i,a){var o,s,c,l,u,h,f,d,A,p,g,m,b,v;for(f=new Mm,m=C3(i),g=n*t.a,A=0,o=new Db,s=new Db,c=new Mm,b=0,v=0,d=0,p=0,u=0,h=0;0!=m.a.gc();)(l=tdt(m,a,s))&&(m.a.Bc(l),c.c[c.c.length]=l,o.a.zc(l,o),A=t.f[l.p],b+=t.e[l.p]-A*t.b,v+=t.c[l.p]*t.b,h+=A*t.b,p+=t.e[l.p]),(!l||0==m.a.gc()||b>=g&&t.e[l.p]>A*t.b||v>=r*g)&&(f.c[f.c.length]=c,c=new Mm,Qit(s,o),o.a.$b(),u-=h,d=e.Math.max(d,u*t.b+p),u+=v,b=v,v=0,h=0,p=0);return new nS(d,f)}function OHt(t){var e,n,r,i,a,o,s,c,l,u,h,f;for(n=new Fd(new Bd(t.c.b).a.vc().Kc());n.a.Ob();)s=QH(n.a.Pb(),42),null==(i=(e=QH(s.dd(),149)).a)&&(i=""),!(r=PF(t.c,i))&&0==i.length&&(r=vht(t)),r&&!vAt(r.c,e,!1)&&Nj(r.c,e);for(o=cmt(t.a,0);o.b!=o.d.c;)a=QH(h4(o),478),l=T5(t.c,a.a),f=T5(t.c,a.b),l&&f&&Nj(l.c,new nS(f,a.c));for(bW(t.a),h=cmt(t.b,0);h.b!=h.d.c;)u=QH(h4(h),478),e=FF(t.c,u.a),c=T5(t.c,u.b),e&&c&&NE(e,c,u.c);bW(t.b)}function NHt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;a=new Ef(t),d5((o=new Awt).g),d5(o.j),Lz(o.b),d5(o.d),d5(o.i),Lz(o.k),Lz(o.c),Lz(o.e),d=fSt(o,a,null),SMt(o,a),i=d,e&&(s=ejt(l=new Ef(e)),mxt(i,xst(jw(JCe,1),Hqt,527,0,[s]))),f=!1,h=!1,n&&(l=new Ef(n),h9t in l.a&&(f=$J(l,h9t).ge().a),f9t in l.a&&(h=$J(l,f9t).ge().a)),u=LT(Qnt(new Gv,f),h),Uxt(new us,i,u),h9t in a.a&&net(a,h9t,null),(f||h)&&(ZUt(u,c=new py,f,h),net(a,h9t,c)),r=new Gg(o),Gct(new BI(i),r)}function DHt(t,e,n){var r,i,a,o,s,c,l,u,h;for(o=new Wwt,l=xst(jw(BNe,1),lWt,25,15,[0]),i=-1,a=0,r=0,c=0;c<t.b.c.length;++c){if(!((u=QH(O$(t.b,c),434)).b>0)){if(i=-1,32==lV(u.c,0)){if(h=l[0],btt(e,l),l[0]>h)continue}else if(LY(e,u.c,l[0])){l[0]+=u.c.length;continue}return 0}if(i<0&&u.a&&(i=c,a=l[0],r=0),i>=0){if(s=u.b,c==i&&0==(s-=r++))return 0;if(!Mzt(e,l,u,s,o)){c=i-1,l[0]=a;continue}}else if(i=-1,!Mzt(e,l,u,0,o))return 0}return Azt(o,n)?l[0]:0}function FHt(t){var e,n,r,i,a,o;if(!t.f){if(o=new Ec,a=new Ec,null==(e=CMe).a.zc(t,e)){for(i=new SO(vY(t));i.e!=i.i.gc();)pX(o,FHt(QH(ymt(i),26)));e.a.Bc(t),e.a.gc()}for(!t.s&&(t.s=new tz(PIe,t,21,17)),r=new SO(t.s);r.e!=r.i.gc();)rO(n=QH(ymt(r),170),99)&&l8(a,QH(n,18));iut(a),t.r=new Tj(t,(QH(Xet(qW((qX(),JIe).o),6),18),a.i),a.g),pX(o,t.r),iut(o),t.f=new ML((QH(Xet(qW(JIe.o),5),18),o.i),o.g),E5(t).b&=-3}return t.f}function PHt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A;for(o=t.o,r=O9(BNe,lWt,25,o,15,1),i=O9(BNe,lWt,25,o,15,1),n=t.p,e=O9(BNe,lWt,25,n,15,1),a=O9(BNe,lWt,25,n,15,1),l=0;l<o;l++){for(h=0;h<n&&!mvt(t,l,h);)++h;r[l]=h}for(u=0;u<o;u++){for(h=n-1;h>=0&&!mvt(t,u,h);)--h;i[u]=h}for(d=0;d<n;d++){for(s=0;s<o&&!mvt(t,s,d);)++s;e[d]=s}for(A=0;A<n;A++){for(s=o-1;s>=0&&!mvt(t,s,A);)--s;a[A]=s}for(c=0;c<o;c++)for(f=0;f<n;f++)c<a[f]&&c>e[f]&&f<i[c]&&f>r[c]&&QPt(t,c,f,!1,!0)}function RHt(t){var e,n,r,i,a,o,s,c;n=Hy(TF(bEt(t,(uPt(),Qae)))),a=t.a.c.d,s=t.a.d.d,n?(o=vO(GP(new OB(s.a,s.b),a),.5),c=vO(QM(t.e),.5),e=GP(KP(new OB(a.a,a.b),o),c),UD(t.d,e)):(i=jy(kF(bEt(t.a,noe))),r=t.d,a.a>=s.a?a.b>=s.b?(r.a=s.a+(a.a-s.a)/2+i,r.b=s.b+(a.b-s.b)/2-i-t.e.b):(r.a=s.a+(a.a-s.a)/2+i,r.b=a.b+(s.b-a.b)/2+i):a.b>=s.b?(r.a=a.a+(s.a-a.a)/2+i,r.b=s.b+(a.b-s.b)/2+i):(r.a=a.a+(s.a-a.a)/2+i,r.b=a.b+(s.b-a.b)/2-i-t.e.b))}function QHt(t,e){var n,r,i,a,o,s,c;if(null==t)return null;if(0==(a=t.length))return"";for(c=O9(_Ne,XVt,25,a,15,1),P9(0,a,t.length),P9(0,a,c.length),Vz(t,0,a,c,0),n=null,s=e,i=0,o=0;i<a;i++)r=c[i],Tqt(),r<=32&&0!=(2&VOe[r])?s?(!n&&(n=new lN(t)),iY(n,i-o++)):(s=e,32!=r&&(!n&&(n=new lN(t)),sV(n,i-o,i-o+1,String.fromCharCode(32)))):s=!1;return s?n?(a=n.a.length)>0?lD(n.a,0,a-1):"":t.substr(0,a-1):n?n.a:t}function UHt(t){ME(t,new CCt(gT(fT(pT(AT(new gs,GJt),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ae))),a2(t,GJt,zJt,bmt(wae)),a2(t,GJt,XJt,bmt(pae)),a2(t,GJt,qJt,bmt(uae)),a2(t,GJt,VJt,bmt(gae)),a2(t,GJt,zYt,bmt(vae)),a2(t,GJt,XYt,bmt(bae)),a2(t,GJt,GYt,bmt(yae)),a2(t,GJt,qYt,bmt(mae)),a2(t,GJt,UJt,bmt(fae)),a2(t,GJt,HJt,bmt(hae)),a2(t,GJt,jJt,bmt(dae)),a2(t,GJt,$Jt,bmt(Aae))}function HHt(t,e,n,r){var i,a,o,s,c,l,u;if(Qf(a=new Ibt(t),(oxt(),_se)),lct(a,(HXt(),tme),(Vkt(),GBe)),i=0,e){for(lct(o=new _xt,(lqt(),dfe),e),lct(a,dfe,e.i),jBt(o,(yzt(),xSe)),xZ(o,a),l=0,u=(c=Y0(e.e)).length;l<u;++l)kZ(c[l],o);lct(e,wfe,a),++i}if(n){for(s=new _xt,lct(a,(lqt(),dfe),n.i),lct(s,dfe,n),jBt(s,(yzt(),oSe)),xZ(s,a),l=0,u=(c=Y0(n.g)).length;l<u;++l)CZ(c[l],s);lct(n,wfe,a),++i}return lct(a,(lqt(),Qhe),nft(i)),r.c[r.c.length]=a,a}function jHt(){jHt=L,BLe=xst(jw(_Ne,1),XVt,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),SLe=new RegExp("[ \t\n\r\f]+");try{_Le=xst(jw(OMe,1),Hqt,2015,0,[new gm((sM(),cpt("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",lP((lw(),lw(),ree))))),new gm(cpt("yyyy-MM-dd'T'HH:mm:ss'.'SSS",lP(ree))),new gm(cpt("yyyy-MM-dd'T'HH:mm:ss",lP(ree))),new gm(cpt("yyyy-MM-dd'T'HH:mm",lP(ree))),new gm(cpt("yyyy-MM-dd",lP(ree)))])}catch(t){if(!rO(t=hst(t),78))throw Um(t)}}function $Ht(t){var n,r,i,a;if(i=jXt((!t.c&&(t.c=vut(t.f)),t.c),0),0==t.e||0==t.a&&-1!=t.f&&t.e<0)return i;if(n=nrt(t)<0?1:0,r=t.e,i.length,e.Math.abs(xJ(t.e)),a=new _w,1==n&&(a.a+="-"),t.e>0)if((r-=i.length-n)>=0){for(a.a+="0.";r>jee.length;r-=jee.length)M$(a,jee);AP(a,jee,xJ(r)),oL(a,i.substr(n))}else oL(a,lD(i,n,xJ(r=n-r))),a.a+=".",oL(a,JS(i,xJ(r)));else{for(oL(a,i.substr(n));r<-jee.length;r+=jee.length)M$(a,jee);AP(a,jee,xJ(-r))}return a.a}function KHt(t,n,r,i){var a,o,s,c,l,u,h,f,d;return u=(l=GP(new OB(r.a,r.b),t)).a*n.b-l.b*n.a,h=n.a*i.b-n.b*i.a,f=(l.a*i.b-l.b*i.a)/h,d=u/h,0==h?0==u?(o=z9(t,a=KP(new OB(r.a,r.b),vO(new OB(i.a,i.b),.5))),s=z9(KP(new OB(t.a,t.b),n),a),c=.5*e.Math.sqrt(i.a*i.a+i.b*i.b),o<s&&o<=c?new OB(t.a,t.b):s<=c?KP(new OB(t.a,t.b),n):null):null:f>=0&&f<=1&&d>=0&&d<=1?KP(new OB(t.a,t.b),vO(new OB(n.a,n.b),f)):null}function GHt(t,e,n){var r,i,a,o,s;if(r=QH(bEt(t,(HXt(),Mpe)),21),n.a>e.a&&(r.Hc((dkt(),zEe))?t.c.a+=(n.a-e.a)/2:r.Hc(qEe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((dkt(),WEe))?t.c.b+=(n.b-e.b)/2:r.Hc(VEe)&&(t.c.b+=n.b-e.b)),QH(bEt(t,(lqt(),Yhe)),21).Hc((fFt(),uhe))&&(n.a>e.a||n.b>e.b))for(s=new zd(t.a);s.a<s.c.c.length;)(o=QH(J1(s),10)).k==(oxt(),kse)&&((i=QH(bEt(o,qhe),61))==(yzt(),oSe)?o.n.a+=n.a-e.a:i==CSe&&(o.n.b+=n.b-e.b));a=t.d,t.f.a=n.a-a.b-a.c,t.f.b=n.b-a.d-a.a}function zHt(t,e,n){var r,i,a,o,s;if(r=QH(bEt(t,(HXt(),Mpe)),21),n.a>e.a&&(r.Hc((dkt(),zEe))?t.c.a+=(n.a-e.a)/2:r.Hc(qEe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((dkt(),WEe))?t.c.b+=(n.b-e.b)/2:r.Hc(VEe)&&(t.c.b+=n.b-e.b)),QH(bEt(t,(lqt(),Yhe)),21).Hc((fFt(),uhe))&&(n.a>e.a||n.b>e.b))for(o=new zd(t.a);o.a<o.c.c.length;)(a=QH(J1(o),10)).k==(oxt(),kse)&&((i=QH(bEt(a,qhe),61))==(yzt(),oSe)?a.n.a+=n.a-e.a:i==CSe&&(a.n.b+=n.b-e.b));s=t.d,t.f.a=n.a-s.b-s.c,t.f.b=n.b-s.d-s.a}function XHt(t){var n,r,i,a,o,s,c,l,u,h;for(l=new _d(new xd(NLt(t)).a.vc().Kc());l.a.Ob();){for(i=QH(l.a.Pb(),42),u=0,h=0,u=(c=QH(i.cd(),10)).d.d,h=c.o.b+c.d.a,t.d[c.p]=0,n=c;(a=t.a[n.p])!=c;)r=Cgt(n,a),s=0,s=t.c==(AJ(),Jve)?r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,o=jy(t.d[n.p])+s,t.d[a.p]=o,u=e.Math.max(u,a.d.d-o),h=e.Math.max(h,o+a.o.b+a.d.a),n=a;n=c;do{t.d[n.p]=jy(t.d[n.p])+u,n=t.a[n.p]}while(n!=c);t.b[c.p]=u+h}}function qHt(t){var n,r,i,a,o,s,c,l,u,h,f;for(t.b=!1,h=FWt,c=PWt,f=FWt,l=PWt,r=t.e.a.ec().Kc();r.Ob();)for(i=(n=QH(r.Pb(),266)).a,h=e.Math.min(h,i.c),c=e.Math.max(c,i.c+i.b),f=e.Math.min(f,i.d),l=e.Math.max(l,i.d+i.a),o=new zd(n.c);o.a<o.c.c.length;)(a=QH(J1(o),395)).a.a?(s=(u=i.d+a.b.b)+a.c,f=e.Math.min(f,u),l=e.Math.max(l,s)):(s=(u=i.c+a.b.a)+a.c,h=e.Math.min(h,u),c=e.Math.max(c,s));t.a=new OB(c-h,l-f),t.c=new OB(h+t.d.a,f+t.d.b)}function VHt(t,e,n){var r,i,a,o,s,c,l,u;for(u=new Mm,a=0,trt(l=new O0(0,n),new alt(0,0,l,n)),i=0,c=new SO(t);c.e!=c.i.gc();)s=QH(ymt(c),33),r=QH(O$(l.a,l.a.c.length-1),187),i+s.g+(0==QH(O$(l.a,0),187).b.c.length?0:n)>e&&(i=0,a+=l.b+n,u.c[u.c.length]=l,trt(l=new O0(a,n),r=new alt(0,l.f,l,n)),i=0),0==r.b.c.length||s.f>=r.o&&s.f<=r.f||.5*r.a<=s.f&&1.5*r.a>=s.f?vdt(r,s):(trt(l,o=new alt(r.s+r.r+n,l.f,l,n)),vdt(o,s)),i=s.i+s.g;return u.c[u.c.length]=l,u}function WHt(t){var e,n,r,i,a,o;if(!t.a){if(t.o=null,o=new Am(t),e=new xc,null==(n=CMe).a.zc(t,n)){for(a=new SO(vY(t));a.e!=a.i.gc();)pX(o,WHt(QH(ymt(a),26)));n.a.Bc(t),n.a.gc()}for(!t.s&&(t.s=new tz(PIe,t,21,17)),i=new SO(t.s);i.e!=i.i.gc();)rO(r=QH(ymt(i),170),322)&&l8(e,QH(r,34));iut(e),t.k=new wj(t,(QH(Xet(qW((qX(),JIe).o),7),18),e.i),e.g),pX(o,t.k),iut(o),t.a=new ML((QH(Xet(qW(JIe.o),4),18),o.i),o.g),E5(t).b&=-2}return t.a}function YHt(t,e,n,r,i,a,o){var s,c,l,u,h;return u=!1,s=ANt(n.q,e.f+e.b-n.q.f),!((h=i-(n.q.e+s-o))<r.g)&&(c=a==t.c.length-1&&h>=(u1(a,t.c.length),QH(t.c[a],200)).e,!((l=ijt(r,h,!1).a)>e.b&&!c)&&((c||l<=e.b)&&(c&&l>e.b?(n.d=l,p8(n,Qxt(n,l))):(akt(n.q,s),n.c=!0),p8(r,i-(n.s+n.r)),kbt(r,n.q.e+n.q.d,e.f),trt(e,r),t.c.length>a&&(kwt((u1(a,t.c.length),QH(t.c[a],200)),r),0==(u1(a,t.c.length),QH(t.c[a],200)).a.c.length&&s6(t,a)),u=!0),u))}function JHt(t,e,n,r){var i,a,o,s,c,l,u;if(u=aDt(t.e.Tg(),e),i=0,a=QH(t.g,119),c=null,YE(),QH(e,66).Oj()){for(s=0;s<t.i;++s)if(o=a[s],u.rl(o.ak())){if(Oht(o,n)){c=o;break}++i}}else if(null!=n){for(s=0;s<t.i;++s)if(o=a[s],u.rl(o.ak())){if(Oht(n,o.dd())){c=o;break}++i}}else for(s=0;s<t.i;++s)if(o=a[s],u.rl(o.ak())){if(null==o.dd()){c=o;break}++i}return c&&(mI(t.e)&&(l=e.$j()?new h3(t.e,4,e,n,null,i,!0):IY(t,e.Kj()?2:1,e,n,e.zj(),-1,!0),r?r.Ei(l):r=l),r=kRt(t,c,r)),r}function ZHt(t,n,r,i,a,o,s){var c,l,u,h,f,d,A,p;switch(A=0,p=0,l=a.c,c=a.b,h=r.f,d=r.g,n.g){case 0:A=i.i+i.g+s,p=t.c?pCt(A,o,i,s):i.j,f=e.Math.max(l,A+d),u=e.Math.max(c,p+h);break;case 1:p=i.j+i.f+s,A=t.c?ACt(p,o,i,s):i.i,f=e.Math.max(l,A+d),u=e.Math.max(c,p+h);break;case 2:A=l+s,p=0,f=l+s+d,u=e.Math.max(c,h);break;case 3:A=0,p=c+s,f=e.Math.max(l,d),u=c+s+h;break;default:throw Um(new Py("IllegalPlacementOption."))}return new aAt(t.a,f,u,n,A,p)}function tjt(t){var n,r,i,a,o,s,c,l,u,h,f,d;if(c=t.d,f=QH(bEt(t,(lqt(),Ffe)),15),n=QH(bEt(t,Nhe),15),f||n){if(o=jy(kF(ept(t,(HXt(),pme)))),s=jy(kF(ept(t,gme))),d=0,f){for(u=0,a=f.Kc();a.Ob();)i=QH(a.Pb(),10),u=e.Math.max(u,i.o.b),d+=i.o.a;d+=o*(f.gc()-1),c.d+=u+s}if(r=0,n){for(u=0,a=n.Kc();a.Ob();)i=QH(a.Pb(),10),u=e.Math.max(u,i.o.b),r+=i.o.a;r+=o*(n.gc()-1),c.a+=u+s}(l=e.Math.max(d,r))>t.o.a&&(h=(l-t.o.a)/2,c.b=e.Math.max(c.b,h),c.c=e.Math.max(c.c,h))}}function ejt(t){var e,n,r,i,a,o;for(rI(i=new D0,(Ost(),WCe)),r=new Cd(new Wy(new TC(t,wit(t,O9(Vee,cVt,2,0,6,1))).b));r.b<r.d.gc();)ED(r.b<r.d.gc()),n=CF(r.d.Xb(r.c=r.b++)),(a=gKt(lIe,n))&&null!=(o=J$t(a,(e=$J(t,n)).je()?e.je().a:e.ge()?""+e.ge().a:e.he()?""+e.he().a:e.Ib()))&&((CN(a.j,(rmt(),sEe))||CN(a.j,cEe))&&cct(Vtt(i,$Le),a,o),CN(a.j,aEe)&&cct(Vtt(i,FLe),a,o),CN(a.j,lEe)&&cct(Vtt(i,KLe),a,o),CN(a.j,oEe)&&cct(Vtt(i,jLe),a,o));return i}function njt(t,e,n,r){var i,a,o,s,c,l;if(c=aDt(t.e.Tg(),e),a=QH(t.g,119),IDt(t.e,e)){for(i=0,s=0;s<t.i;++s)if(o=a[s],c.rl(o.ak())){if(i==n)return YE(),QH(e,66).Oj()?o:(null!=(l=o.dd())&&r&&rO(e,99)&&0!=(QH(e,18).Bb&UWt)&&(l=QSt(t,e,s,i,l)),l);++i}throw Um(new Sy(e8t+n+s9t+i))}for(i=0,s=0;s<t.i;++s){if(o=a[s],c.rl(o.ak()))return YE(),QH(e,66).Oj()?o:(null!=(l=o.dd())&&r&&rO(e,99)&&0!=(QH(e,18).Bb&UWt)&&(l=QSt(t,e,s,i,l)),l);++i}return e.zj()}function rjt(t,e,n){var r,i,a,o,s,c,l,u;if(i=QH(t.g,119),IDt(t.e,e))return YE(),QH(e,66).Oj()?new u$(e,t):new OS(e,t);for(l=aDt(t.e.Tg(),e),r=0,s=0;s<t.i;++s){if(o=(a=i[s]).ak(),l.rl(o)){if(YE(),QH(e,66).Oj())return a;if(o==(kLt(),cOe)||o==aOe){for(c=new uN(Udt(a.dd()));++s<t.i;)((o=(a=i[s]).ak())==cOe||o==aOe)&&oL(c,Udt(a.dd()));return AR(QH(e.Yj(),148),c.a)}return null!=(u=a.dd())&&n&&rO(e,99)&&0!=(QH(e,18).Bb&UWt)&&(u=QSt(t,e,s,r,u)),u}++r}return e.zj()}function ijt(t,n,r){var i,a,o,s,c,l,u,h,f,d;for(o=0,s=t.t,a=0,i=0,l=0,d=0,f=0,r&&(t.n.c=O9(Lte,Hqt,1,0,5,1),zH(t.n,new DJ(t.s,t.t,t.i))),c=0,h=new zd(t.b);h.a<h.c.c.length;)o+(u=QH(J1(h),33)).g+(c>0?t.i:0)>n&&l>0&&(o=0,s+=l+t.i,a=e.Math.max(a,d),i+=l+t.i,l=0,d=0,r&&(++f,zH(t.n,new DJ(t.s,s,t.i))),c=0),d+=u.g+(c>0?t.i:0),l=e.Math.max(l,u.f),r&&cvt(QH(O$(t.n,f),211),u),o+=u.g+(c>0?t.i:0),++c;return a=e.Math.max(a,d),i+=l,r&&(t.r=a,t.d=i,vyt(t.j)),new KV(t.s,t.t,a,i)}function ajt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d;if(LC(),Cz(t,"src"),Cz(n,"dest"),f=tlt(t),c=tlt(n),pj(0!=(4&f.i),"srcType is not an array"),pj(0!=(4&c.i),"destType is not an array"),h=f.c,o=c.c,pj(0!=(1&h.i)?h==o:0==(1&o.i),"Array types don't match"),d=t.length,l=n.length,e<0||r<0||i<0||e+i>d||r+i>l)throw Um(new lb);if(0==(1&h.i)&&f!=c)if(u=ent(t),a=ent(n),jS(t)===jS(n)&&e<r)for(e+=i,s=r+i;s-- >r;)LX(a,s,u[--e]);else for(s=r+i;r<s;)LX(a,r++,u[e++]);else i>0&&RBt(t,e,n,r,i,!0)}function ojt(){ojt=L,rne=xst(jw(BNe,1),lWt,25,15,[RVt,1162261467,SVt,1220703125,362797056,1977326743,SVt,387420489,LWt,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,SVt,1291467969,1544804416,1838265625,60466176]),ine=xst(jw(BNe,1),lWt,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function sjt(t){var e,n,r,i,a,o,s;for(r=new zd(t.b);r.a<r.c.c.length;)for(a=new zd(i0(QH(J1(r),29).a));a.a<a.c.c.length;)if(Ytt(i=QH(J1(a),10))&&!(n=QH(bEt(i,(lqt(),Dhe)),305)).g&&n.d)for(e=n,s=n.d;s;)ePt(s.i,s.k,!1,!0),S7(e.a),S7(s.i),S7(s.k),S7(s.b),kZ(s.c,e.c.d),kZ(e.c,null),EZ(e.a,null),EZ(s.i,null),EZ(s.k,null),EZ(s.b,null),(o=new g4(e.i,s.a,e.e,s.j,s.f)).k=e.k,o.n=e.n,o.b=e.b,o.c=s.c,o.g=e.g,o.d=s.d,lct(e.i,Dhe,o),lct(s.a,Dhe,o),s=s.d,e=o}function cjt(t,e){var n,r,i,a,o;if(o=QH(e,136),kMt(t),kMt(o),null!=o.b){if(t.c=!0,null==t.b)return t.b=O9(BNe,lWt,25,o.b.length,15,1),void ajt(o.b,0,t.b,0,o.b.length);for(a=O9(BNe,lWt,25,t.b.length+o.b.length,15,1),n=0,r=0,i=0;n<t.b.length||r<o.b.length;)n>=t.b.length?(a[i++]=o.b[r++],a[i++]=o.b[r++]):r>=o.b.length?(a[i++]=t.b[n++],a[i++]=t.b[n++]):o.b[r]<t.b[n]||o.b[r]===t.b[n]&&o.b[r+1]<t.b[n+1]?(a[i++]=o.b[r++],a[i++]=o.b[r++]):(a[i++]=t.b[n++],a[i++]=t.b[n++]);t.b=a}}function ljt(t,e){var n,r,i,a,o,s,c,l,u,h;return n=Hy(TF(bEt(t,(lqt(),sfe)))),s=Hy(TF(bEt(e,sfe))),r=QH(bEt(t,cfe),11),c=QH(bEt(e,cfe),11),i=QH(bEt(t,lfe),11),l=QH(bEt(e,lfe),11),u=!!r&&r==c,h=!!i&&i==l,n||s?(a=(!Hy(TF(bEt(t,sfe)))||Hy(TF(bEt(t,ofe))))&&(!Hy(TF(bEt(e,sfe)))||Hy(TF(bEt(e,ofe)))),o=!(Hy(TF(bEt(t,sfe)))&&Hy(TF(bEt(t,ofe)))||Hy(TF(bEt(e,sfe)))&&Hy(TF(bEt(e,ofe)))),new DQ(u&&a||h&&o,u,h)):new DQ(QH(J1(new zd(t.j)),11).p==QH(J1(new zd(e.j)),11).p,u,h)}function ujt(t){var n,r,i,a,o,s,c,l;for(i=0,r=0,l=new VC,n=0,c=new zd(t.n);c.a<c.c.c.length;)0==(s=QH(J1(c),211)).c.c.length?n5(l,s,l.c.b,l.c):(i=e.Math.max(i,s.d),r+=s.a+(n>0?t.i:0)),++n;for(Zdt(t.n,l),t.d=r,t.r=i,t.g=0,t.f=0,t.e=0,t.o=FWt,t.p=FWt,o=new zd(t.b);o.a<o.c.c.length;)a=QH(J1(o),33),t.p=e.Math.min(t.p,a.g),t.g=e.Math.max(t.g,a.g),t.f=e.Math.max(t.f,a.f),t.o=e.Math.min(t.o,a.f),t.e+=a.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),vyt(t.j)}function hjt(t){var e,n,r,i;return 0!=(64&t.Db)?Wft(t):(e=new uN(q5t),(r=t.k)?oL(oL((e.a+=' "',e),r),'"'):(!t.n&&(t.n=new tz(jLe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new tz(jLe,t,1,7)),QH(Xet(t.n,0),137)).a)||oL(oL((e.a+=' "',e),i),'"'))),!t.b&&(t.b=new cR(DLe,t,4,7)),n=!(t.b.i<=1&&(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c.i<=1)),e.a+=n?" [":" ",oL(e,WO(new mw,new SO(t.b))),n&&(e.a+="]"),e.a+=e1t,n&&(e.a+="["),oL(e,WO(new mw,new SO(t.c))),n&&(e.a+="]"),e.a)}function fjt(t,e){var n,r,i,a,o,s,c;if(t.a){if(c=null,null!=(s=t.a.ne())?e.a+=""+s:null!=(o=t.a.Dj())&&(-1!=(a=jL(o,WCt(91)))?(c=o.substr(a),e.a+=""+lD(null==o?Kqt:(vq(o),o),0,a)):e.a+=""+o),t.d&&0!=t.d.i){for(i=!0,e.a+="<",r=new SO(t.d);r.e!=r.i.gc();)n=QH(ymt(r),87),i?i=!1:e.a+=Qqt,fjt(n,e);e.a+=">"}null!=c&&(e.a+=""+c)}else t.e?null!=(s=t.e.zb)&&(e.a+=""+s):(e.a+="?",t.b?(e.a+=" super ",fjt(t.b,e)):t.f&&(e.a+=" extends ",fjt(t.f,e)))}function djt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E;for(y=t.c,w=e.c,n=w7(y.a,t,0),r=w7(w.a,e,0),b=QH(NAt(t,(art(),Ube)).Kc().Pb(),11),C=QH(NAt(t,Hbe).Kc().Pb(),11),v=QH(NAt(e,Ube).Kc().Pb(),11),E=QH(NAt(e,Hbe).Kc().Pb(),11),g=Y0(b.e),T=Y0(C.g),m=Y0(v.e),k=Y0(E.g),Vyt(t,r,w),l=0,d=(a=m).length;l<d;++l)kZ(a[l],b);for(u=0,A=(o=k).length;u<A;++u)CZ(o[u],C);for(Vyt(e,n,y),h=0,p=(s=g).length;h<p;++h)kZ(s[h],v);for(c=0,f=(i=T).length;c<f;++c)CZ(i[c],E)}function Ajt(t,e,n,r){var i,a,o,s,c,l;if(a=Xft(r),!Hy(TF(bEt(r,(HXt(),_ge))))&&!Hy(TF(bEt(t,hge)))||gI(QH(bEt(t,tme),98)))switch(xZ(s=new _xt,t),e?((l=s.n).a=e.a-t.n.a,l.b=e.b-t.n.b,Xxt(l,0,0,t.o.a,t.o.b),jBt(s,KQt(s,a))):(i=lAt(a),jBt(s,n==(art(),Hbe)?i:kft(i))),o=QH(bEt(r,(lqt(),Yhe)),21),c=s.j,a.g){case 2:case 1:(c==(yzt(),sSe)||c==CSe)&&o.Fc((fFt(),Ahe));break;case 4:case 3:(c==(yzt(),oSe)||c==xSe)&&o.Fc((fFt(),Ahe))}else i=lAt(a),s=FQt(t,n,n==(art(),Hbe)?i:kft(i));return s}function pjt(t,n,r){var i,a,o,s,c,l,u;return e.Math.abs(n.s-n.c)<hZt||e.Math.abs(r.s-r.c)<hZt?0:(i=XNt(t,n.j,r.e),a=XNt(t,r.j,n.e),o=0,-1==i||-1==a?(-1==i&&(new $Z((B6(),Tye),r,n,1),++o),-1==a&&(new $Z((B6(),Tye),n,r,1),++o)):(s=kht(n.j,r.s,r.c),s+=kht(r.e,n.s,n.c),c=kht(r.j,n.s,n.c),(l=i+16*s)<(u=a+16*(c+=kht(n.e,r.s,r.c)))?new $Z((B6(),kye),n,r,u-l):l>u?new $Z((B6(),kye),r,n,l-u):l>0&&u>0&&(new $Z((B6(),kye),n,r,0),new $Z(kye,r,n,0))),o)}function gjt(t,n){var r,i,a,o,s;for(s=new olt(new Ed(t.f.b).a);s.b;){if(a=QH((o=tnt(s)).cd(),594),1==n){if(a.gf()!=(Qht(),U_e)&&a.gf()!=F_e)continue}else if(a.gf()!=(Qht(),P_e)&&a.gf()!=R_e)continue;switch(i=QH(QH(o.dd(),46).b,81),r=QH(QH(o.dd(),46).a,189).c,a.gf().g){case 2:i.g.c=t.e.a,i.g.b=e.Math.max(1,i.g.b+r);break;case 1:i.g.c=i.g.c+r,i.g.b=e.Math.max(1,i.g.b-r);break;case 4:i.g.d=t.e.b,i.g.a=e.Math.max(1,i.g.a+r);break;case 3:i.g.d=i.g.d+r,i.g.a=e.Math.max(1,i.g.a-r)}}}function mjt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(c=O9(BNe,lWt,25,n.b.c.length,15,1),u=O9(Lse,IVt,267,n.b.c.length,0,1),l=O9(Bse,a1t,10,n.b.c.length,0,1),d=0,A=(f=t.a).length;d<A;++d){for(g=0,s=new zd((h=f[d]).e);s.a<s.c.c.length;)++c[i=ZL((a=QH(J1(s),10)).c)],p=jy(kF(bEt(n,(HXt(),bme)))),c[i]>0&&l[i]&&(p=FM(t.b,l[i],a)),g=e.Math.max(g,a.c.c.b+p);for(o=new zd(h.e);o.a<o.c.c.length;)(a=QH(J1(o),10)).n.b=g+a.d.d,(r=a.c).c.b=g+a.d.d+a.o.b+a.d.a,u[w7(r.b.b,r,0)]=a.k,l[w7(r.b.b,r,0)]=a}}function bjt(t,e){var n,r,i,a,o,s,c,l,h,f,d;for(r=new oG(YO(AOt(e).a.Kc(),new u));AIt(r);)rO(Xet((!(n=QH(K5(r),79)).b&&(n.b=new cR(DLe,n,4,7)),n.b),0),186)||(c=xCt(QH(Xet((!n.c&&(n.c=new cR(DLe,n,5,8)),n.c),0),82)),ZLt(n)||(o=e.i+e.g/2,s=e.j+e.f/2,h=c.i+c.g/2,f=c.j+c.f/2,(d=new jT).a=h-o,d.b=f-s,Gwt(a=new OB(d.a,d.b),e.g,e.f),d.a-=a.a,d.b-=a.b,o=h-d.a,s=f-d.b,Gwt(l=new OB(d.a,d.b),c.g,c.f),d.a-=l.a,d.b-=l.b,h=o+d.a,f=s+d.b,Bnt(i=iFt(n,!0,!0),o),Lnt(i,s),knt(i,h),Snt(i,f),bjt(t,c)))}function vjt(t){ME(t,new CCt(gT(fT(pT(AT(new gs,F3t),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new ns))),a2(t,F3t,P3t,bmt(vCe)),a2(t,F3t,R3t,bmt(gCe)),a2(t,F3t,Q3t,bmt(pCe)),a2(t,F3t,U3t,bmt(dCe)),a2(t,F3t,H3t,bmt(ACe)),a2(t,F3t,VJt,fCe),a2(t,F3t,mZt,8),a2(t,F3t,j3t,bmt(bCe)),a2(t,F3t,$3t,bmt(cCe)),a2(t,F3t,K3t,bmt(lCe)),a2(t,F3t,z2t,(cN(),!1))}function yjt(t,n){var r,i,a,o,s,c,l,u,h,f;for(SCt(n,"Simple node placement",1),f=QH(bEt(t,(lqt(),Sfe)),304),c=0,o=new zd(t.b);o.a<o.c.c.length;){for((s=(i=QH(J1(o),29)).c).b=0,r=null,u=new zd(i.a);u.a<u.c.c.length;)l=QH(J1(u),10),r&&(s.b+=Bpt(l,r,f.c)),s.b+=l.d.d+l.o.b+l.d.a,r=l;c=e.Math.max(c,s.b)}for(a=new zd(t.b);a.a<a.c.c.length;)for(h=(c-(s=(i=QH(J1(a),29)).c).b)/2,r=null,u=new zd(i.a);u.a<u.c.c.length;)l=QH(J1(u),10),r&&(h+=Bpt(l,r,f.c)),h+=l.d.d,l.n.b=h,h+=l.o.b+l.d.a,r=l;Hxt(n)}function wjt(t,e,n,r){var i,a,o,s,c,l,u,h;if(0==r.gc())return!1;if(YE(),o=(c=QH(e,66).Oj())?r:new pet(r.gc()),IDt(t.e,e)){if(e.hi())for(u=r.Kc();u.Ob();)GUt(t,e,l=u.Pb(),rO(e,99)&&0!=(QH(e,18).Bb&UWt))||(a=Y4(e,l),o.Fc(a));else if(!c)for(u=r.Kc();u.Ob();)a=Y4(e,l=u.Pb()),o.Fc(a)}else{for(h=aDt(t.e.Tg(),e),i=QH(t.g,119),s=0;s<t.i;++s)if(a=i[s],h.rl(a.ak()))throw Um(new Py(B7t));if(r.gc()>1)throw Um(new Py(B7t));c||(a=Y4(e,r.Kc().Pb()),o.Fc(a))}return sct(t,T_t(t,e,n),o)}function Tjt(t,e){var n,r,i,a;for(Vet(e.b.j),WC(LV(new D$(null,new f1(e.d,16)),new aa),new oa),a=new zd(e.d);a.a<a.c.c.length;){switch((i=QH(J1(a),101)).e.g){case 0:n=QH(O$(i.j,0),113).d.j,jf(i,QH(LN(BG(QH(c6(i.k,n),15).Oc(),qle)),113)),Hf(i,QH(LN(_G(QH(c6(i.k,n),15).Oc(),qle)),113));break;case 1:r=Hyt(i),jf(i,QH(LN(BG(QH(c6(i.k,r[0]),15).Oc(),qle)),113)),Hf(i,QH(LN(_G(QH(c6(i.k,r[1]),15).Oc(),qle)),113));break;case 2:q_t(t,i);break;case 3:PNt(i);break;case 4:$Nt(t,i)}qet(i)}t.a=null}function kjt(t,e,n){var r,i,a,o,s,c,l,u;return r=t.a.o==(oZ(),rye)?FWt:PWt,!(s=iUt(t,new iB(e,n))).a&&s.c?(Nj(t.d,s),r):s.a?(i=s.a.c,c=s.a.d,n?(l=t.a.c==(AJ(),Zve)?c:i,a=t.a.c==Zve?i:c,o=t.a.g[a.i.p],u=jy(t.a.p[o.p])+jy(t.a.d[a.i.p])+a.n.b+a.a.b-jy(t.a.d[l.i.p])-l.n.b-l.a.b):(l=t.a.c==(AJ(),Jve)?c:i,a=t.a.c==Jve?i:c,u=jy(t.a.p[t.a.g[a.i.p].p])+jy(t.a.d[a.i.p])+a.n.b+a.a.b-jy(t.a.d[l.i.p])-l.n.b-l.a.b),t.a.n[t.a.g[i.i.p].p]=(cN(),!0),t.a.n[t.a.g[c.i.p].p]=!0,u):r}function Cjt(t,e,n){var r,i,a,o,s,c,l;if(IDt(t.e,e))YE(),LLt((s=QH(e,66).Oj()?new u$(e,t):new OS(e,t)).c,s.b),YM(s,QH(n,14));else{for(l=aDt(t.e.Tg(),e),r=QH(t.g,119),a=0;a<t.i;++a)if(i=r[a].ak(),l.rl(i)){if(i==(kLt(),cOe)||i==aOe){for(o=a,(c=Sbt(t,e,n))?uFt(t,a):++a;a<t.i;)(i=r[a].ak())==cOe||i==aOe?uFt(t,a):++a;c||QH(sbt(t,o,Y4(e,n)),72)}else Sbt(t,e,n)?uFt(t,a):QH(sbt(t,a,(YE(),QH(e,66).Oj()?QH(n,72):Y4(e,n))),72);return}Sbt(t,e,n)||l8(t,(YE(),QH(e,66).Oj()?QH(n,72):Y4(e,n)))}}function Ejt(t,e,n){var r,i,a,o,s,c,l,u;return Oht(n,t.b)||(t.b=n,a=new Yt,o=QH(E3(LV(new D$(null,new f1(n.f,16)),a),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[(jlt(),Gne),Kne]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,i=o.Hc((Hmt(),Qie)),r=o.Hc(Uie),i&&!r&&(t.f=!1),!i&&r&&(t.d=!1),i=o.Hc(Rie),r=o.Hc(Hie),i&&!r&&(t.c=!1),!i&&r&&(t.e=!1)),u=QH(t.a.Ce(e,n),46),c=QH(u.a,19).a,l=QH(u.b,19).a,s=!1,c<0?t.c||(s=!0):t.e||(s=!0),l<0?t.d||(s=!0):t.f||(s=!0),s?Ejt(t,u,n):u}function xjt(t){var n,r,i,a;a=t.o,HF(),t.A.dc()||Oht(t.A,Lie)?n=a.b:(n=CSt(t.f),t.A.Hc((bpt(),DSe))&&!t.B.Hc((ZRt(),GSe))&&(n=e.Math.max(n,CSt(QH(oV(t.p,(yzt(),oSe)),244))),n=e.Math.max(n,CSt(QH(oV(t.p,xSe),244)))),(r=sot(t))&&(n=e.Math.max(n,r.b)),t.A.Hc(FSe)&&(t.q!=(Vkt(),zBe)&&t.q!=GBe||(n=e.Math.max(n,Gj(QH(oV(t.b,(yzt(),oSe)),124))),n=e.Math.max(n,Gj(QH(oV(t.b,xSe),124)))))),Hy(TF(t.e.yf().We((cqt(),Rxe))))?a.b=e.Math.max(a.b,n):a.b=n,(i=t.f.i).d=0,i.a=n,$Ut(t.f)}function _jt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d;for(u=0;u<e.length;u++){for(o=t.Kc();o.Ob();)QH(o.Pb(),225).Of(u,e);for(h=0;h<e[u].length;h++){for(s=t.Kc();s.Ob();)QH(s.Pb(),225).Pf(u,h,e);for(d=e[u][h].j,f=0;f<d.c.length;f++){for(c=t.Kc();c.Ob();)QH(c.Pb(),225).Qf(u,h,f,e);for(u1(f,d.c.length),n=0,i=new m6(QH(d.c[f],11).b);bM(i.a)||bM(i.b);)for(r=QH(bM(i.a)?J1(i.a):J1(i.b),17),l=t.Kc();l.Ob();)QH(l.Pb(),225).Nf(u,h,f,n++,r,e)}}}for(a=t.Kc();a.Ob();)QH(a.Pb(),225).Mf()}function Bjt(t,e){var n,r,i,a,o;for(t.b=jy(kF(bEt(e,(HXt(),vme)))),t.c=jy(kF(bEt(e,Tme))),t.d=QH(bEt(e,nge),336),t.a=QH(bEt(e,Epe),275),uvt(e),i=(a=QH(E3(SV(SV(ftt(ftt(new D$(null,new f1(e.b,16)),new yn),new wn),new Tn),new kn),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15)).Kc();i.Ob();)n=QH(i.Pb(),17),QH(bEt(n,(lqt(),Mfe)),15).Jc(new tp(t)),lct(n,Mfe,null);for(r=a.Kc();r.Ob();)n=QH(r.Pb(),17),o=QH(bEt(n,(lqt(),Ofe)),17),QXt(t,QH(bEt(n,Lfe),15),o),lct(n,Lfe,null)}function Sjt(t){t.b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}function Ljt(t){var e,n,r,i,a;if(t.k!=(oxt(),xse))return!1;if(t.j.c.length<=1)return!1;if(QH(bEt(t,(HXt(),tme)),98)==(Vkt(),GBe))return!1;if(fbt(),(r=(t.q?t.q:(CW(),CW(),lne))._b(Dge)?QH(bEt(t,Dge),197):QH(bEt(gq(t),Fge),197))==ube)return!1;if(r!=lbe&&r!=cbe){if(i=jy(kF(ept(t,Mme))),!(e=QH(bEt(t,Ime),142))&&(e=new UP(i,i,i,i)),a=adt(t,(yzt(),xSe)),e.d+e.a+(a.gc()-1)*i>t.o.b)return!1;if(n=adt(t,oSe),e.d+e.a+(n.gc()-1)*i>t.o.b)return!1}return!0}function Ijt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A;if(o=t.e,c=e.e,0==o)return e;if(0==c)return t;if((a=t.d)+(s=e.d)==2)return n=t0(t.a[0],GWt),r=t0(e.a[0],GWt),o==c?(A=dK(u=rdt(n,r)),0==(d=dK(yG(u,32)))?new G6(o,A):new uz(o,2,xst(jw(BNe,1),lWt,25,15,[A,d]))):Zgt(o<0?ndt(r,n):ndt(n,r));if(o==c)f=o,h=a>=s?M9(t.a,a,e.a,s):M9(e.a,s,t.a,a);else{if(0==(i=a!=s?a>s?1:-1:Clt(t.a,e.a,a)))return SFt(),ene;1==i?(f=o,h=d6(t.a,a,e.a,s)):(f=c,h=d6(e.a,s,t.a,a))}return G0(l=new uz(f,h.length,h)),l}function Mjt(t,n,r,i,a,o,s){var c,l,u,h,f,d,A;return f=Hy(TF(bEt(n,(HXt(),Bge)))),d=null,o==(art(),Ube)&&i.c.i==r?d=i.c:o==Hbe&&i.d.i==r&&(d=i.d),(u=s)&&f&&!d?(zH(u.e,i),A=e.Math.max(jy(kF(bEt(u.d,ige))),jy(kF(bEt(i,ige)))),lct(u.d,ige,A)):(yzt(),h=ESe,d?h=d.j:gI(QH(bEt(r,tme),98))&&(h=o==Ube?xSe:oSe),l=Njt(t,n,r,o,h,i),c=z5((gq(r),i)),o==Ube?(CZ(c,QH(O$(l.j,0),11)),kZ(c,a)):(CZ(c,a),kZ(c,QH(O$(l.j,0),11))),u=new Kht(i,c,l,QH(bEt(l,(lqt(),dfe)),11),o,!d)),YSt(t.a,i,new IQ(u.d,n,o)),u}function Ojt(t,e){var n,r,i,a,o,s,c,l,u,h;if(u=null,t.d&&(u=QH(CJ(t.d,e),138)),!u){if(h=(a=t.a.Mh()).i,!t.d||MC(t.d)!=h){for(c=new Om,t.d&&kat(c,t.d),s=l=c.f.c+c.g.c;s<h;++s)r=QH(Xet(a,s),138),(n=QH(null==(i=_ht(t.e,r).ne())?wBt(c.f,null,r):odt(c.g,i,r),138))&&n!=r&&(null==i?wBt(c.f,null,n):odt(c.g,i,n));if(c.f.c+c.g.c!=h)for(o=0;o<l;++o)r=QH(Xet(a,o),138),(n=QH(null==(i=_ht(t.e,r).ne())?wBt(c.f,null,r):odt(c.g,i,r),138))&&n!=r&&(null==i?wBt(c.f,null,n):odt(c.g,i,n));t.d=c}u=QH(CJ(t.d,e),138)}return u}function Njt(t,e,n,r,i,a){var o,s,c,l,u,h;return o=null,l=r==(art(),Ube)?a.c:a.d,c=Xft(e),l.i==n?(o=QH(DX(t.b,l),10))||(lct(o=fXt(l,QH(bEt(n,(HXt(),tme)),98),i,HRt(l),null,l.n,l.o,c,e),(lqt(),dfe),l),Xq(t.b,l,o)):(s=Lkt(o=fXt((u=new Jt,h=jy(kF(bEt(e,(HXt(),bme))))/2,cct(u,Zge,h),u),QH(bEt(n,tme),98),i,r==Ube?-1:1,null,new jT,new OB(0,0),c,e),n,r),lct(o,(lqt(),dfe),s),Xq(t.b,s,o)),QH(bEt(e,(lqt(),Yhe)),21).Fc((fFt(),uhe)),gI(QH(bEt(e,(HXt(),tme)),98))?lct(e,tme,(Vkt(),XBe)):lct(e,tme,(Vkt(),qBe)),o}function Djt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p;SCt(e,"Orthogonal edge routing",1),l=jy(kF(bEt(t,(HXt(),Sme)))),n=jy(kF(bEt(t,vme))),r=jy(kF(bEt(t,Tme))),f=new lX(0,n),p=0,o=new k2(t.b,0),s=null,u=null,c=null,h=null;do{h=(u=o.b<o.d.gc()?(ED(o.b<o.d.gc()),QH(o.d.Xb(o.c=o.b++),29)):null)?u.a:null,s&&(k$t(s,p),p+=s.c.a),A=LKt(f,t,c,h,s?p+r:p),i=!s||XS(c,(ADt(),yye)),a=!u||XS(h,(ADt(),yye)),A>0?(d=(A-1)*n,s&&(d+=r),u&&(d+=r),d<l&&!i&&!a&&(d=l),p+=d):!i&&!a&&(p+=l),s=u,c=h}while(u);t.f.a=p,Hxt(e)}function Fjt(){var t;Fjt=L,yIe=new Cv,bIe=O9(Vee,cVt,2,0,6,1),kIe=e0(Ust(33,58),Ust(1,26)),CIe=e0(Ust(97,122),Ust(65,90)),EIe=Ust(48,57),wIe=e0(kIe,0),TIe=e0(CIe,EIe),xIe=e0(e0(0,Ust(1,6)),Ust(33,38)),_Ie=e0(e0(EIe,Ust(65,70)),Ust(97,102)),MIe=e0(wIe,Amt("-_.!~*'()")),OIe=e0(TIe,zAt("-_.!~*'()")),Amt(o8t),zAt(o8t),e0(MIe,Amt(";:@&=+$,")),e0(OIe,zAt(";:@&=+$,")),BIe=Amt(":/?#"),SIe=zAt(":/?#"),LIe=Amt("/?#"),IIe=zAt("/?#"),(t=new Db).a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),CW(),vIe=new Sw(t)}function Pjt(t,e){var n,r,i,a,o;if(lct(e,(j$t(),owe),0),i=QH(bEt(e,iwe),86),0==e.d.b)i?(o=jy(kF(bEt(i,lwe)))+t.a+w5(i,e),lct(e,lwe,o)):lct(e,lwe,0);else{for(n=new fg(cmt(new hg(e).a.d,0));wk(n.a);)Pjt(t,QH(h4(n.a),188).c);r=QH(eO(new fg(cmt(new hg(e).a.d,0))),86),a=(jy(kF(bEt(QH(TN(new fg(cmt(new hg(e).a.d,0))),86),lwe)))+jy(kF(bEt(r,lwe))))/2,i?(o=jy(kF(bEt(i,lwe)))+t.a+w5(i,e),lct(e,lwe,o),lct(e,owe,jy(kF(bEt(e,lwe)))-a),BKt(t,e)):lct(e,lwe,a)}}function Rjt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d;s=0,d=0,c=TJ(t.f,t.f.length),a=t.d,o=t.i,r=t.a,i=t.b;do{for(f=0,l=new zd(t.p);l.a<l.c.c.length;)h=SKt(t,QH(J1(l),10)),n=!0,(t.q==(cNt(),Tbe)||t.q==Ebe)&&(n=Hy(TF(h.b))),QH(h.a,19).a<0&&n?(++f,c=TJ(t.f,t.f.length),t.d=t.d+QH(h.a,19).a,d+=a-t.d,a=t.d+QH(h.a,19).a,o=t.i,r=i0(t.a),i=i0(t.b)):(t.f=TJ(c,c.length),t.d=a,t.a=(bX(r),r?new ZR(r):UH(new zd(r))),t.b=(bX(i),i?new ZR(i):UH(new zd(i))),t.i=o);++s,u=0!=f&&Hy(TF(e.Kb(new nS(nft(d),nft(s)))))}while(u)}function Qjt(t,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;return o=t.f,f=n.f,s=o==(WOt(),Oke)||o==Dke,c=o==Nke||o==Fke,d=f==Nke||f==Fke,l=o==Nke||o==Oke,A=f==Nke||f==Oke,!s||f!=Oke&&f!=Dke?c&&d?t.f==Fke?t:n:l&&A?(o==Nke?(h=t,u=n):(h=n,u=t),p=r.j+r.f,g=h.e+i.f,m=e.Math.max(p,g)-e.Math.min(r.j,h.e),a=(h.d+i.g-r.i)*m,b=r.i+r.g,v=u.d+i.g,a<=(e.Math.max(b,v)-e.Math.min(r.i,u.d))*(u.e+i.f-r.j)?t.f==Nke?t:n:t.f==Oke?t:n):t:t.f==Dke?t:n}function Ujt(t){var e,n,r,i,a,o,s,c,l,u;for(l=t.e.a.c.length,a=new zd(t.e.a);a.a<a.c.c.length;)QH(J1(a),121).j=!1;for(t.i=O9(BNe,lWt,25,l,15,1),t.g=O9(BNe,lWt,25,l,15,1),t.n=new Mm,i=0,u=new Mm,s=new zd(t.e.a);s.a<s.c.c.length;)(o=QH(J1(s),121)).d=i++,0==o.b.a.c.length&&zH(t.n,o),pst(u,o.g);for(e=0,r=new zd(u);r.a<r.c.c.length;)(n=QH(J1(r),213)).c=e++,n.f=!1;c=u.c.length,null==t.b||t.b.length<c?(t.b=O9(MNe,jWt,25,c,15,1),t.c=O9(SNe,JYt,25,c,16,1)):Jy(t.c),t.d=u,t.p=new IN(tet(t.d.c.length)),t.j=1}function Hjt(t,e){var n,r,i,a,o,s,c,l,u;if(!(e.e.c.length<=1)){for(t.f=e,t.d=QH(bEt(t.f,(rwt(),goe)),379),t.g=QH(bEt(t.f,yoe),19).a,t.e=jy(kF(bEt(t.f,moe))),t.c=jy(kF(bEt(t.f,poe))),rX(t.b),i=new zd(t.f.c);i.a<i.c.c.length;)r=QH(J1(i),282),vRt(t.b,r.c,r,null),vRt(t.b,r.d,r,null);for(s=t.f.e.c.length,t.a=v$(MNe,[cVt,jWt],[104,25],15,[s,s],2),l=new zd(t.f.e);l.a<l.c.c.length;)_Ht(t,c=QH(J1(l),144),t.a[c.b]);for(t.i=v$(MNe,[cVt,jWt],[104,25],15,[s,s],2),a=0;a<s;++a)for(o=0;o<s;++o)u=1/((n=t.a[a][o])*n),t.i[a][o]=u}}function jjt(t){var e,n,r,i;if(!(null==t.b||t.b.length<=2||t.a)){for(e=0,i=0;i<t.b.length;){for(e!=i?(t.b[e]=t.b[i++],t.b[e+1]=t.b[i++]):i+=2,n=t.b[e+1];i<t.b.length&&!(n+1<t.b[i]);)if(n+1==t.b[i])t.b[e+1]=t.b[i+1],n=t.b[e+1],i+=2;else if(n>=t.b[i+1])i+=2;else{if(!(n<t.b[i+1]))throw Um(new dy("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[i]+","+t.b[i+1]+"]"));t.b[e+1]=t.b[i+1],n=t.b[e+1],i+=2}e+=2}e!=t.b.length&&(r=O9(BNe,lWt,25,e,15,1),ajt(t.b,0,r,0,e),t.b=r),t.a=!0}}function $jt(t,e){var n,r,i,a,o,s,c;for(o=AG(t.a).Kc();o.Ob();){if((a=QH(o.Pb(),17)).b.c.length>0)for(r=new ZR(QH(c6(t.a,a),21)),CW(),mM(r,new PA(e)),i=new k2(a.b,0);i.b<i.d.gc();){switch(ED(i.b<i.d.gc()),n=QH(i.d.Xb(i.c=i.b++),70),s=-1,QH(bEt(n,(HXt(),Vpe)),272).g){case 1:s=r.c.length-1;break;case 0:s=YTt(r);break;case 2:s=0}-1!=s&&(u1(s,r.c.length),zH((c=QH(r.c[s],243)).b.b,n),QH(bEt(gq(c.b.c.i),(lqt(),Yhe)),21).Fc((fFt(),lhe)),QH(bEt(gq(c.b.c.i),Yhe),21).Fc(she),lq(i),lct(n,gfe,a))}CZ(a,null),kZ(a,null)}}function Kjt(t,e){var n,r,i,a;return n=new Rt,1==(i=2==(i=(r=QH(E3(LV(new D$(null,new f1(t.f,16)),n),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[(jlt(),Gne),Kne]))),21)).gc())?1:0)&&qS(hpt(QH(E3(SV(r.Lc(),new Qt),Xat(wgt(0),new nt)),162).a,2),0)&&(i=0),1==(a=2==(a=(r=QH(E3(LV(new D$(null,new f1(e.f,16)),n),O7(new W,new Y,new it,new at,xst(jw(Jne,1),IVt,132,0,[Gne,Kne]))),21)).gc())?1:0)&&qS(hpt(QH(E3(SV(r.Lc(),new Ut),Xat(wgt(0),new nt)),162).a,2),0)&&(a=0),i<a?-1:i==a?0:1}function Gjt(t){var e,n,r,i,a,o,s,c,l,u,h;if(c=new Mm,!ID(t,(lqt(),zhe)))return c;for(r=QH(bEt(t,zhe),15).Kc();r.Ob();)A$t(e=QH(r.Pb(),10),t),c.c[c.c.length]=e;for(i=new zd(t.b);i.a<i.c.c.length;)for(o=new zd(QH(J1(i),29).a);o.a<o.c.c.length;)(a=QH(J1(o),10)).k==(oxt(),kse)&&(s=QH(bEt(a,Xhe),10))&&(xZ(l=new _xt,a),jBt(l,QH(bEt(a,qhe),61)),u=QH(O$(s.j,0),11),CZ(h=new fY,l),kZ(h,u));for(n=new zd(c);n.a<n.c.c.length;)EZ(e=QH(J1(n),10),QH(O$(t.b,t.b.c.length-1),29));return c}function zjt(t){var e,n,r,i,a,o,s,c,l,u,h,f;for(a=Hy(TF(JIt(e=zJ(t),(HXt(),fge)))),u=0,i=0,l=new SO((!t.e&&(t.e=new cR(FLe,t,7,4)),t.e));l.e!=l.i.gc();)o=(s=VSt(c=QH(ymt(l),79)))&&a&&Hy(TF(JIt(c,dge))),f=xCt(QH(Xet((!c.c&&(c.c=new cR(DLe,c,5,8)),c.c),0),82)),s&&o?++i:s&&!o?++u:WJ(f)==e||f==e?++i:++u;for(r=new SO((!t.d&&(t.d=new cR(FLe,t,8,5)),t.d));r.e!=r.i.gc();)o=(s=VSt(n=QH(ymt(r),79)))&&a&&Hy(TF(JIt(n,dge))),h=xCt(QH(Xet((!n.b&&(n.b=new cR(DLe,n,4,7)),n.b),0),82)),s&&o?++u:s&&!o?++i:WJ(h)==e||h==e?++u:++i;return u-i}function Xjt(t,e){var n,r,i,a,o,s,c,l,u;if(SCt(e,"Edge splitting",1),t.b.c.length<=2)Hxt(e);else{for(ED((a=new k2(t.b,0)).b<a.d.gc()),o=QH(a.d.Xb(a.c=a.b++),29);a.b<a.d.gc();)for(i=o,ED(a.b<a.d.gc()),o=QH(a.d.Xb(a.c=a.b++),29),s=new zd(i.a);s.a<s.c.c.length;)for(c=new zd(QH(J1(s),10).j);c.a<c.c.c.length;)for(r=new zd(QH(J1(c),11).g);r.a<r.c.c.length;)(l=(n=QH(J1(r),17)).d.i.c)!=i&&l!=o&&KDt(n,(Qf(u=new Ibt(t),(oxt(),Ese)),lct(u,(lqt(),dfe),n),lct(u,(HXt(),tme),(Vkt(),GBe)),EZ(u,o),u));Hxt(e)}}function qjt(t,e){var n,r,i,a,o,s,c,l,u;if((o=null!=e.p&&!e.b)||SCt(e,aZt,1),a=1/(n=QH(bEt(t,(lqt(),kfe)),15)).gc(),e.n)for(Bj(e,"ELK Layered uses the following "+n.gc()+" modules:"),u=0,l=n.Kc();l.Ob();)Bj(e," Slot "+(u<10?"0":"")+u+++": "+JT(tlt(QH(l.Pb(),51))));for(c=n.Kc();c.Ob();)QH(c.Pb(),51).pf(t,bat(e,a));for(i=new zd(t.b);i.a<i.c.c.length;)r=QH(J1(i),29),pst(t.a,r.a),r.a.c=O9(Lte,Hqt,1,0,5,1);for(s=new zd(t.a);s.a<s.c.c.length;)EZ(QH(J1(s),10),null);t.b.c=O9(Lte,Hqt,1,0,5,1),o||Hxt(e)}function Vjt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;i=jy(kF(bEt(n,(HXt(),Nge)))),f=4,a=3,T=20/(w=QH(bEt(n,Ome),19).a),d=!1,l=0,s=Dqt;do{for(o=1!=l,h=0!=l,k=0,b=0,y=(g=t.a).length;b<y;++b)(A=g[b]).f=null,UGt(t,A,o,h,i),k+=e.Math.abs(A.a);do{c=GQt(t,n)}while(c);for(m=0,v=(p=t.a).length;m<v;++m)if(0!=(r=fz(A=p[m]).a))for(u=new zd(A.e);u.a<u.c.c.length;)QH(J1(u),10).n.b+=r;0==l||1==l?--f<=0&&(k<s||-f>w)?(l=2,s=Dqt):0==l?(l=1,s=k):(l=0,s=k):(d=k>=s||s-k<T,s=k,d&&--a)}while(!(d&&a<=0))}function Wjt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A;for(A=new Om,a=t.a.ec().Kc();a.Ob();)Xq(A,r=QH(a.Pb(),168),n.Je(r));for(bX(t),mM(o=t?new ZR(t):UH(t.a.ec().Kc()),new wA(A)),s=C3(o),c=new xM(e),wBt((d=new Om).f,e,c);0!=s.a.gc();){for(l=null,u=null,h=null,i=s.a.ec().Kc();i.Ob();)if(r=QH(i.Pb(),168),jy(kF(HS(SY(A.f,r))))<=FWt){if(cz(d,r.a)&&!cz(d,r.b)){u=r.b,h=r.a,l=r;break}if(cz(d,r.b)&&!cz(d,r.a)){u=r.a,h=r.b,l=r;break}}if(!l)break;f=new xM(u),zH(QH(HS(SY(d.f,h)),221).a,f),wBt(d.f,u,f),s.a.Bc(l)}return c}function Yjt(t,e,n){var r,i,a,o,s,c,l,u;for(SCt(n,"Depth-first cycle removal",1),c=(l=e.a).c.length,t.c=new Mm,t.d=O9(SNe,JYt,25,c,16,1),t.a=O9(SNe,JYt,25,c,16,1),t.b=new Mm,a=0,s=new zd(l);s.a<s.c.c.length;)(o=QH(J1(s),10)).p=a,c4(udt(o))&&zH(t.c,o),++a;for(u=new zd(t.c);u.a<u.c.c.length;)$_t(t,QH(J1(u),10));for(i=0;i<c;i++)t.d[i]||(u1(i,l.c.length),$_t(t,QH(l.c[i],10)));for(r=new zd(t.b);r.a<r.c.c.length;)tHt(QH(J1(r),17),!0),lct(e,(lqt(),Hhe),(cN(),!0));t.c=null,t.d=null,t.a=null,t.b=null,Hxt(n)}function Jjt(t,e){var n,r,i,a,o,s,c;for(t.a.c=O9(Lte,Hqt,1,0,5,1),r=cmt(e.b,0);r.b!=r.d.c;)0==(n=QH(h4(r),86)).b.b&&(lct(n,(j$t(),dwe),(cN(),!0)),zH(t.a,n));switch(t.a.c.length){case 0:lct(i=new ilt(0,e,"DUMMY_ROOT"),(j$t(),dwe),(cN(),!0)),lct(i,twe,!0),Nj(e.b,i);break;case 1:break;default:for(a=new ilt(0,e,"SUPER_ROOT"),s=new zd(t.a);s.a<s.c.c.length;)lct(c=new KW(a,o=QH(J1(s),86)),(j$t(),twe),(cN(),!0)),Nj(a.a.a,c),Nj(a.d,c),Nj(o.b,c),lct(o,dwe,!1);lct(a,(j$t(),dwe),(cN(),!0)),lct(a,twe,!0),Nj(e.b,a)}}function Zjt(t,n){var r,i,a,o,s,c;return wFt(),o=n.c-(t.c+t.b),a=t.c-(n.c+n.b),s=t.d-(n.d+n.a),r=n.d-(t.d+t.a),i=e.Math.max(a,o),c=e.Math.max(s,r),cM(),rrt(L4t),(e.Math.abs(i)<=L4t||0==i||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:$L(isNaN(i),isNaN(0)))>=0^(rrt(L4t),(e.Math.abs(c)<=L4t||0==c||isNaN(c)&&isNaN(0)?0:c<0?-1:c>0?1:$L(isNaN(c),isNaN(0)))>=0)?e.Math.max(c,i):(rrt(L4t),(e.Math.abs(i)<=L4t||0==i||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:$L(isNaN(i),isNaN(0)))>0?e.Math.sqrt(c*c+i*i):-e.Math.sqrt(c*c+i*i))}function t$t(t,e){var n,r,i,a,o;if(e)if(!t.a&&(t.a=new Pb),2!=t.e)if(1!=e.e)0!=(o=t.a.a.c.length)?0!=(a=QH(hq(t.a,o-1),117)).e&&10!=a.e||0!=e.e&&10!=e.e?xb(t.a,e):(0==e.e||e.bm().length,0==a.e?(n=new Ew,(r=a._l())>=UWt?rL(n,zft(r)):MX(n,r&VVt),a=new gJ(10,null,0),vz(t.a,a,o-1)):(a.bm().length,rL(n=new Ew,a.bm())),0==e.e?(r=e._l())>=UWt?rL(n,zft(r)):MX(n,r&VVt):rL(n,e.bm()),QH(a,521).b=n.a):xb(t.a,e);else for(i=0;i<e.em();i++)t$t(t,e.am(i));else xb(t.a,e)}function e$t(t){var e,n,r,i,a;return null!=t.g?t.g:t.a<32?(t.g=Dzt(uot(t.f),xJ(t.e)),t.g):(i=jXt((!t.c&&(t.c=vut(t.f)),t.c),0),0==t.e?i:(e=(!t.c&&(t.c=vut(t.f)),t.c).e<0?2:1,n=i.length,r=-t.e+n-e,(a=new xw).a+=""+i,t.e>0&&r>=-6?r>=0?vZ(a,n-xJ(t.e),String.fromCharCode(46)):(a.a=lD(a.a,0,e-1)+"0."+JS(a.a,e-1),vZ(a,e+1,Upt(jee,0,-xJ(r)-1))):(n-e>=1&&(vZ(a,e,String.fromCharCode(46)),++n),vZ(a,n,String.fromCharCode(69)),r>0&&vZ(a,++n,String.fromCharCode(43)),vZ(a,++n,""+gG(uot(r)))),t.g=a.a,t.g))}function n$t(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;if(!n.dc()){for(o=0,u=0,f=QH((r=n.Kc()).Pb(),19).a;o<e.f;){if(o==f&&(u=0,f=r.Ob()?QH(r.Pb(),19).a:e.f+1),o!=u)for(d=QH(O$(t.b,o),29),h=QH(O$(t.b,u),29),l=new zd(i0(d.a));l.a<l.c.c.length;)if(Vyt(c=QH(J1(l),10),h.a.c.length,h),0==u)for(a=new zd(i0(udt(c)));a.a<a.c.c.length;)tHt(i=QH(J1(a),17),!0),lct(t,(lqt(),Hhe),(cN(),!0)),nKt(t,i,1);++u,++o}for(s=new k2(t.b,0);s.b<s.d.gc();)ED(s.b<s.d.gc()),0==QH(s.d.Xb(s.c=s.b++),29).a.c.length&&lq(s)}}function r$t(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;for(u=(o=e.b).o,c=o.d,r=jy(kF(pmt(o,(HXt(),bme)))),i=jy(kF(pmt(o,yme))),l=jy(kF(pmt(o,Lme))),nj(s=new lv,c.d,c.c,c.a,c.b),f=CPt(e,r,i,l),m=new zd(e.d);m.a<m.c.c.length;){for(A=(g=QH(J1(m),101)).f.a.ec().Kc();A.Ob();)a=(d=QH(A.Pb(),409)).a,h=TCt(d),b=new vv,fCt(d,d.c,f,b),QEt(d,h,f,b),fCt(d,d.d,f,b),n=b,n=t.Uf(d,h,n),bW(a.a),Qit(a.a,n),WC(new D$(null,new f1(n,16)),new f_(u,s));(p=g.i)&&(aCt(g,p,f,i),ggt(u,s,v=new fI(p.g)),KP(v,p.j),ggt(u,s,v))}nj(c,s.d,s.c,s.a,s.b)}function i$t(t,e,n){var r,i,a;if((i=QH(bEt(e,(HXt(),Epe)),275))!=(YEt(),rhe)){switch(SCt(n,"Horizontal Compaction",1),t.a=e,Xw(r=new vLt(((a=new _7).d=e,a.c=QH(bEt(a.d,Ype),218),GFt(a),EKt(a),cPt(a),a.a)),t.b),1===QH(bEt(e,Cpe),422).g?zw(r,new pit(t.a)):zw(r,(xW(),lre)),i.g){case 1:_Mt(r);break;case 2:_Mt(kGt(r,(Qht(),R_e)));break;case 3:_Mt(Kw(kGt(_Mt(r),(Qht(),R_e)),new gi));break;case 4:_Mt(Kw(kGt(_Mt(r),(Qht(),R_e)),new vp(a)));break;case 5:_Mt(Gw(r,fle))}kGt(r,(Qht(),P_e)),r.e=!0,MGt(a),Hxt(n)}}function a$t(t,e,n,r,i,a,o,s){var c,l,u,h;switch(c=a6(xst(jw(Rke,1),Hqt,220,0,[e,n,r,i])),h=null,t.b.g){case 1:h=a6(xst(jw(ZTe,1),Hqt,526,0,[new Zo,new Yo,new Jo]));break;case 0:h=a6(xst(jw(ZTe,1),Hqt,526,0,[new Jo,new Yo,new Zo]));break;case 2:h=a6(xst(jw(ZTe,1),Hqt,526,0,[new Yo,new Zo,new Jo]))}for(u=new zd(h);u.a<u.c.c.length;)l=QH(J1(u),526),c.c.length>1&&(c=l.mg(c,t.a,s));return 1==c.c.length?QH(O$(c,c.c.length-1),220):2==c.c.length?Qjt((u1(0,c.c.length),QH(c.c[0],220)),(u1(1,c.c.length),QH(c.c[1],220)),o,a):null}function o$t(t){var n,r,i,a,o,s;for(Set(t.a,new Zt),r=new zd(t.a);r.a<r.c.c.length;)n=QH(J1(r),221),i=GP(QM(QH(t.b,65).c),QH(n.b,65).c),tae?(s=QH(t.b,65).b,o=QH(n.b,65).b,e.Math.abs(i.a)>=e.Math.abs(i.b)?(i.b=0,o.d+o.a>s.d&&o.d<s.d+s.a&&Mj(i,e.Math.max(s.c-(o.c+o.b),o.c-(s.c+s.b)))):(i.a=0,o.c+o.b>s.c&&o.c<s.c+s.b&&Mj(i,e.Math.max(s.d-(o.d+o.a),o.d-(s.d+s.a))))):Mj(i,kUt(QH(t.b,65),QH(n.b,65))),a=e.Math.sqrt(i.a*i.a+i.b*i.b),Mj(i,a=Hkt(zie,n,a,i)),IK(QH(n.b,65),i),Set(n.a,new SA(i)),QH(zie.b,65),F9(zie,Xie,n)}function s$t(t){var n,r,i,a,o,s,c,l,h,f,d,A;for(t.f=new Rb,c=0,i=0,a=new zd(t.e.b);a.a<a.c.c.length;)for(s=new zd(QH(J1(a),29).a);s.a<s.c.c.length;){for((o=QH(J1(s),10)).p=c++,r=new oG(YO(hdt(o).a.Kc(),new u));AIt(r);)QH(K5(r),17).p=i++;for(n=Ljt(o),f=new zd(o.j);f.a<f.c.c.length;)h=QH(J1(f),11),n&&(A=h.a.b)!=e.Math.floor(A)&&(l=A-y2(uot(e.Math.round(A))),h.a.b-=l),(d=h.n.b+h.a.b)!=e.Math.floor(d)&&(l=d-y2(uot(e.Math.round(d))),h.n.b-=l)}t.g=c,t.b=i,t.i=O9(tye,Hqt,401,c,0,1),t.c=O9(Wve,Hqt,649,i,0,1),t.d.a.$b()}function c$t(t){var e,n,r,i,a,o,s,c,l;if(t.ej())if(c=t.fj(),t.i>0){if(e=new NS(t.i,t.g),a=(n=t.i)<100?null:new RT(n),t.ij())for(r=0;r<t.i;++r)o=t.g[r],a=t.kj(o,a);if(i6(t),i=1==n?t.Zi(4,Xet(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(r=new iD(e);r.e!=r.i.gc();)a=t.dj(wmt(r),a);a?(a.Ei(i),a.Fi()):t.$i(i)}else a?(a.Ei(i),a.Fi()):t.$i(i)}else i6(t),t.$i(t.Zi(6,(CW(),cne),null,-1,c));else if(t.bj())if(t.i>0){for(s=t.g,l=t.i,i6(t),a=l<100?null:new RT(l),r=0;r<l;++r)o=s[r],a=t.dj(o,a);a&&a.Fi()}else i6(t);else i6(t)}function l$t(t,n,r){var i,a,o,s,c,l,u,h,f;for(Rot(this),r==(dJ(),Iye)?Tz(this.r,t):Tz(this.w,t),h=FWt,u=PWt,s=n.a.ec().Kc();s.Ob();)a=QH(s.Pb(),46),c=QH(a.a,455),(l=(i=QH(a.b,17)).c)==t&&(l=i.d),Tz(c==Iye?this.r:this.w,l),f=(yzt(),bSe).Hc(l.j)?jy(kF(bEt(l,(lqt(),Ife)))):Lct(xst(jw(EEe,1),cVt,8,0,[l.i.n,l.n,l.a])).b,h=e.Math.min(h,f),u=e.Math.max(u,f);for(zEt(this,(yzt(),bSe).Hc(t.j)?jy(kF(bEt(t,(lqt(),Ife)))):Lct(xst(jw(EEe,1),cVt,8,0,[t.i.n,t.n,t.a])).b,h,u),o=n.a.ec().Kc();o.Ob();)a=QH(o.Pb(),46),t_t(this,QH(a.b,17));this.o=!1}function u$t(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;return n=8191&t.l,r=t.l>>13|(15&t.m)<<9,i=t.m>>4&8191,a=t.m>>17|(255&t.h)<<5,o=(1048320&t.h)>>8,g=r*(s=8191&e.l),m=i*s,b=a*s,v=o*s,0!=(c=e.l>>13|(15&e.m)<<9)&&(g+=n*c,m+=r*c,b+=i*c,v+=a*c),0!=(l=e.m>>4&8191)&&(m+=n*l,b+=r*l,v+=i*l),0!=(u=e.m>>17|(255&e.h)<<5)&&(b+=n*u,v+=r*u),0!=(h=(1048320&e.h)>>8)&&(v+=n*h),d=((p=n*s)>>22)+(g>>9)+((262143&m)<<4)+((31&b)<<17),A=(m>>18)+(b>>5)+((4095&v)<<8),A+=(d+=(f=(p&EWt)+((511&g)<<13))>>22)>>22,kM(f&=EWt,d&=EWt,A&=xWt)}function h$t(t){var n,r,i,a,o,s,c;if(0!=(c=QH(O$(t.j,0),11)).g.c.length&&0!=c.e.c.length)throw Um(new Ry("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=c.g.c.length){for(o=FWt,r=new zd(c.g);r.a<r.c.c.length;)n=QH(J1(r),17),i=QH(bEt(s=n.d.i,(HXt(),xge)),142),o=e.Math.min(o,s.n.a-i.b);return new Uh(bX(o))}if(0!=c.e.c.length){for(a=PWt,r=new zd(c.e);r.a<r.c.c.length;)n=QH(J1(r),17),i=QH(bEt(s=n.c.i,(HXt(),xge)),142),a=e.Math.max(a,s.n.a+s.o.a+i.c);return new Uh(bX(a))}return ey(),ey(),Ste}function f$t(t,e){var n,r,i,a,o,s;if(t.Fk()){if(t.i>4){if(!t.wj(e))return!1;if(t.rk()){if(s=(n=(r=QH(e,49)).Ug())==t.e&&(t.Dk()?r.Og(r.Vg(),t.zk())==t.Ak():-1-r.Vg()==t.aj()),t.Ek()&&!s&&!n&&r.Zg())for(i=0;i<t.i;++i)if(jS(t.Gk(QH(t.g[i],56)))===jS(e))return!0;return s}if(t.Dk()&&!t.Ck()){if(jS(a=QH(e,56).ah(_bt(QH(t.ak(),18))))===jS(t.e))return!0;if(null==a||!QH(a,56).kh())return!1}}if(o=ETt(t,e),t.Ek()&&!o)for(i=0;i<t.i;++i)if(jS(r=t.Gk(QH(t.g[i],56)))===jS(e))return!0;return o}return ETt(t,e)}function d$t(t,e){var n,r,i,a,o,s,c,l,u,h,f;for(u=new Mm,f=new Db,o=e.b,i=0;i<o.c.length;i++){for(l=(u1(i,o.c.length),QH(o.c[i],29)).a,u.c=O9(Lte,Hqt,1,0,5,1),a=0;a<l.c.length;a++)(s=t.a[i][a]).p=a,s.k==(oxt(),_se)&&(u.c[u.c.length]=s),r5(QH(O$(e.b,i),29).a,a,s),s.j.c=O9(Lte,Hqt,1,0,5,1),pst(s.j,QH(QH(O$(t.b,i),15).Xb(a),14)),IR(QH(bEt(s,(HXt(),tme)),98))||lct(s,tme,(Vkt(),KBe));for(r=new zd(u);r.a<r.c.c.length;)h=VPt(n=QH(J1(r),10)),f.a.zc(h,f),f.a.zc(n,f)}for(c=f.a.ec().Kc();c.Ob();)s=QH(c.Pb(),10),CW(),mM(s.j,(Klt(),sle)),s.i=!0,eSt(s)}function A$t(t,e){var n,r,i,a,o,s,c,l,u,h;if(u=QH(bEt(t,(lqt(),qhe)),61),r=QH(O$(t.j,0),11),u==(yzt(),sSe)?jBt(r,CSe):u==CSe&&jBt(r,sSe),QH(bEt(e,(HXt(),Rge)),174).Hc((bpt(),PSe))){if(c=jy(kF(bEt(t,xme))),l=jy(kF(bEt(t,_me))),o=jy(kF(bEt(t,Cme))),(s=QH(bEt(e,rme),21)).Hc((hSt(),tSe)))for(n=l,h=t.o.a/2-r.n.a,a=new zd(r.f);a.a<a.c.c.length;)(i=QH(J1(a),70)).n.b=n,i.n.a=h-i.o.a/2,n+=i.o.b+o;else if(s.Hc(nSe))for(a=new zd(r.f);a.a<a.c.c.length;)(i=QH(J1(a),70)).n.a=c+t.o.a-r.n.a;l0(new EA((AE(),new UV(e,!1,!1,new Qe))),new PQ(null,t,!1))}}function p$t(t,n){var r,i,a,o,s,c,l;if(0!=n.c.length){for(CW(),bK(n.c,n.c.length,null),i=QH(J1(a=new zd(n)),145);a.a<a.c.c.length;)r=QH(J1(a),145),!ant(i.e.c,r.e.c)||Ppt(QF(i.e).b,r.e.d)||Ppt(QF(r.e).b,i.e.d)?(eUt(t,i),i=r):(pst(i.k,r.k),pst(i.b,r.b),pst(i.c,r.c),Qit(i.i,r.i),pst(i.d,r.d),pst(i.j,r.j),o=e.Math.min(i.e.c,r.e.c),s=e.Math.min(i.e.d,r.e.d),c=e.Math.max(i.e.c+i.e.b,r.e.c+r.e.b)-o,l=e.Math.max(i.e.d+i.e.a,r.e.d+r.e.a)-s,Oj(i.e,o,s,c,l),Z1(i.f,r.f),!i.a&&(i.a=r.a),pst(i.g,r.g),zH(i.g,r));eUt(t,i)}}function g$t(t,e,n,r){var i,a,o,s,c,l;if((s=t.j)==(yzt(),ESe)&&e!=(Vkt(),qBe)&&e!=(Vkt(),VBe)&&(jBt(t,s=KQt(t,n)),!(t.q?t.q:(CW(),CW(),lne))._b((HXt(),Zge))&&s!=ESe&&(0!=t.n.a||0!=t.n.b)&&lct(t,Zge,wwt(t,s))),e==(Vkt(),zBe)){switch(l=0,s.g){case 1:case 3:(a=t.i.o.a)>0&&(l=t.n.a/a);break;case 2:case 4:(i=t.i.o.b)>0&&(l=t.n.b/i)}lct(t,(lqt(),Tfe),l)}if(c=t.o,o=t.a,r)o.a=r.a,o.b=r.b,t.d=!0;else if(e!=qBe&&e!=VBe&&s!=ESe)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2}else o.a=c.a/2,o.b=c.b/2}function m$t(t){var e,n,r,i,a,o,s,c,l,u;if(t.ej())if(u=t.Vi(),c=t.fj(),u>0)if(e=new wat(t.Gi()),a=(n=u)<100?null:new RT(n),WF(t,n,e.g),i=1==n?t.Zi(4,Xet(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(r=new SO(e);r.e!=r.i.gc();)a=t.dj(ymt(r),a);a?(a.Ei(i),a.Fi()):t.$i(i)}else a?(a.Ei(i),a.Fi()):t.$i(i);else WF(t,t.Vi(),t.Wi()),t.$i(t.Zi(6,(CW(),cne),null,-1,c));else if(t.bj())if((u=t.Vi())>0){for(s=t.Wi(),l=u,WF(t,u,s),a=l<100?null:new RT(l),r=0;r<l;++r)o=s[r],a=t.dj(o,a);a&&a.Fi()}else WF(t,t.Vi(),t.Wi());else WF(t,t.Vi(),t.Wi())}function b$t(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;for(s=new zd(e);s.a<s.c.c.length;)(a=QH(J1(s),233)).e=null,a.c=0;for(c=null,o=new zd(e);o.a<o.c.c.length;)if(h=(a=QH(J1(o),233)).d[0],!n||h.k==(oxt(),xse)){for(d=QH(bEt(h,(lqt(),rfe)),15).Kc();d.Ob();)f=QH(d.Pb(),10),n&&f.k!=(oxt(),xse)||((!a.e&&(a.e=new Mm),a.e).Fc(t.b[f.c.p][f.p]),++t.b[f.c.p][f.p].c);if(!n&&h.k==(oxt(),xse)){if(c)for(u=QH(c6(t.d,c),21).Kc();u.Ob();)for(l=QH(u.Pb(),10),i=QH(c6(t.d,h),21).Kc();i.Ob();)r=QH(i.Pb(),10),KH(t.b[l.c.p][l.p]).Fc(t.b[r.c.p][r.p]),++t.b[r.c.p][r.p].c;c=h}}}function v$t(t,e){var n,r,i,a,o,s,c;for(n=0,c=new Mm,a=new zd(e);a.a<a.c.c.length;){switch(i=QH(J1(a),11),Zlt(t.b,t.d[i.p]),c.c=O9(Lte,Hqt,1,0,5,1),i.i.k.g){case 0:Set(QH(bEt(i,(lqt(),wfe)),10).j,new Yp(c));break;case 1:CM(Vct(SV(new D$(null,new f1(i.i.j,16)),new Jp(i))),new Zp(c));break;case 3:zH(c,new nS(QH(bEt(i,(lqt(),dfe)),11),nft(i.e.c.length+i.g.c.length)))}for(s=new zd(c);s.a<s.c.c.length;)o=QH(J1(s),46),(r=kk(t,QH(o.a,11)))>t.d[i.p]&&(n+=J3(t.b,r)*QH(o.b,19).a,d4(t.a,nft(r)));for(;!zy(t.a);)ktt(t.b,QH(dz(t.a),19).a)}return n}function y$t(t,n,r,i){var a,o,s,c,l,u,h,f,d,A;for((h=new fI(QH(JIt(t,(EEt(),UEe)),8))).a=e.Math.max(h.a-r.b-r.c,0),h.b=e.Math.max(h.b-r.d-r.a,0),(null==(a=kF(JIt(t,NEe)))||(vq(a),a<=0))&&(a=1.3),s=new Mm,f=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));f.e!=f.i.gc();)o=new $D(QH(ymt(f),33)),s.c[s.c.length]=o;switch(QH(JIt(t,DEe),311).g){case 3:A=aUt(s,n,h.a,h.b,(l=i,vq(a),l));break;case 1:A=mHt(s,n,h.a,h.b,(u=i,vq(a),u));break;default:A=C$t(s,n,h.a,h.b,(c=i,vq(a),c))}Pzt(t,(d=vXt(new $et(A),n,r,h.a,h.b,i,(vq(a),a))).a,d.b,!1,!0)}function w$t(t,e){var n,r,i,a;a=new ZR((n=e.b).j),i=0,(r=n.j).c=O9(Lte,Hqt,1,0,5,1),tX(QH(pot(t.b,(yzt(),sSe),(_it(),Dle)),15),n),i=Yvt(a,i,new Di,r),tX(QH(pot(t.b,sSe,Nle),15),n),i=Yvt(a,i,new Ni,r),tX(QH(pot(t.b,sSe,Ole),15),n),tX(QH(pot(t.b,oSe,Dle),15),n),tX(QH(pot(t.b,oSe,Nle),15),n),i=Yvt(a,i,new Fi,r),tX(QH(pot(t.b,oSe,Ole),15),n),tX(QH(pot(t.b,CSe,Dle),15),n),i=Yvt(a,i,new Pi,r),tX(QH(pot(t.b,CSe,Nle),15),n),i=Yvt(a,i,new Ri,r),tX(QH(pot(t.b,CSe,Ole),15),n),tX(QH(pot(t.b,xSe,Dle),15),n),i=Yvt(a,i,new Wi,r),tX(QH(pot(t.b,xSe,Nle),15),n),tX(QH(pot(t.b,xSe,Ole),15),n)}function T$t(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(SCt(n,"Layer size calculation",1),h=FWt,u=PWt,a=!1,c=new zd(t.b);c.a<c.c.c.length;)if((l=(s=QH(J1(c),29)).c).a=0,l.b=0,0!=s.a.c.length){for(a=!0,d=new zd(s.a);d.a<d.c.c.length;)p=(f=QH(J1(d),10)).o,A=f.d,l.a=e.Math.max(l.a,p.a+A.b+A.c);g=(i=QH(O$(s.a,0),10)).n.b-i.d.d,i.k==(oxt(),kse)&&(g-=QH(bEt(t,(HXt(),Ime)),142).d),r=(o=QH(O$(s.a,s.a.c.length-1),10)).n.b+o.o.b+o.d.a,o.k==kse&&(r+=QH(bEt(t,(HXt(),Ime)),142).a),l.b=r-g,h=e.Math.min(h,g),u=e.Math.max(u,r)}a||(h=0,u=0),t.f.b=u-h,t.c.b-=h,Hxt(n)}function k$t(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m;for(a=0,o=0,l=new zd(t.a);l.a<l.c.c.length;)s=QH(J1(l),10),a=e.Math.max(a,s.d.b),o=e.Math.max(o,s.d.c);for(c=new zd(t.a);c.a<c.c.c.length;){switch(s=QH(J1(c),10),QH(bEt(s,(HXt(),vpe)),248).g){case 1:A=0;break;case 2:A=1;break;case 5:A=.5;break;default:for(r=0,h=0,d=new zd(s.j);d.a<d.c.c.length;)0==(f=QH(J1(d),11)).e.c.length||++r,0==f.g.c.length||++h;A=r+h==0?.5:h/(r+h)}g=t.c,u=s.o.a,m=(g.a-u)*A,A>.5?m-=2*o*(A-.5):A<.5&&(m+=2*a*(.5-A)),m<(i=s.d.b)&&(m=i),p=s.d.c,m>g.a-p-u&&(m=g.a-p-u),s.n.a=n+m}}function C$t(t,e,n,r,i){var a,o,s,c,l,u,h,f,d;for(s=O9(MNe,jWt,25,t.c.length,15,1),nwt(f=new GG(new Xs),t),l=0,d=new Mm;0!=f.b.c.length;)if(o=QH(0==f.b.c.length?null:O$(f.b,0),157),l>1&&eK(o)*tK(o)/2>s[0]){for(a=0;a<d.c.length-1&&eK(o)*tK(o)/2>s[a];)++a;h=new $et(new s1(d,0,a+1)),u=eK(o)/tK(o),c=vXt(h,e,new hv,n,r,i,u),KP(vL(h.e),c),R9(eEt(f,h)),nwt(f,new s1(d,a+1,d.c.length)),d.c=O9(Lte,Hqt,1,0,5,1),l=0,yK(s,s.length,0)}else null!=(0==f.b.c.length?null:O$(f.b,0))&&lit(f,0),l>0&&(s[l]=s[l-1]),s[l]+=eK(o)*tK(o),++l,d.c[d.c.length]=o;return d}function E$t(t){var e,n,r;if((n=QH(bEt(t,(HXt(),vge)),163))==(kdt(),Rfe)){for(e=new oG(YO(udt(t).a.Kc(),new u));AIt(e);)if(!G5(QH(K5(e),17)))throw Um(new nw(x1t+pyt(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(n==Ufe)for(r=new oG(YO(hdt(t).a.Kc(),new u));AIt(r);)if(!G5(QH(K5(r),17)))throw Um(new nw(x1t+pyt(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}function x$t(t,e){var n,r,i,a,o,s,c,l,u,h,f,d;for(SCt(e,"Label dummy removal",1),r=jy(kF(bEt(t,(HXt(),yme)))),i=jy(kF(bEt(t,Cme))),c=QH(bEt(t,Kpe),103),s=new zd(t.b);s.a<s.c.c.length;)for(u=new k2(QH(J1(s),29).a,0);u.b<u.d.gc();)ED(u.b<u.d.gc()),(l=QH(u.d.Xb(u.c=u.b++),10)).k==(oxt(),Cse)&&(h=QH(bEt(l,(lqt(),dfe)),17),d=jy(kF(bEt(h,ige))),o=jS(bEt(l,afe))===jS((zyt(),wBe)),n=new fI(l.n),o&&(n.b+=d+r),a=new OB(l.o.a,l.o.b-d-r),f=QH(bEt(l,Efe),15),c==(Qht(),U_e)||c==F_e?LFt(f,n,i,a,o,c):jut(f,n,i,a),pst(h.b,f),rKt(l,jS(bEt(t,Ype))===jS((Cdt(),V_e))),lq(u));Hxt(e)}function _$t(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y;for(s=new Mm,i=new zd(e.a);i.a<i.c.c.length;)for(o=new zd(QH(J1(i),10).j);o.a<o.c.c.length;){for(l=null,v=0,y=(b=Y0((a=QH(J1(o),11)).g)).length;v<y;++v)dot((m=b[v]).d.i,n)||((g=Mjt(t,e,n,m,m.c,(art(),Hbe),l))!=l&&(s.c[s.c.length]=g),g.c&&(l=g));for(c=null,A=0,p=(d=Y0(a.e)).length;A<p;++A)dot((f=d[A]).c.i,n)||((g=Mjt(t,e,n,f,f.d,(art(),Ube),c))!=c&&(s.c[s.c.length]=g),g.c&&(c=g))}for(h=new zd(s);h.a<h.c.c.length;)u=QH(J1(h),441),-1!=w7(e.a,u.a,0)||zH(e.a,u.a),u.c&&(r.c[r.c.length]=u)}function B$t(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A;for(SCt(n,"Interactive cycle breaking",1),u=new Mm,f=new zd(e.a);f.a<f.c.c.length;)for((h=QH(J1(f),10)).p=1,d=QTt(h).a,l=NAt(h,(art(),Hbe)).Kc();l.Ob();)for(a=new zd(QH(l.Pb(),11).g);a.a<a.c.c.length;)(A=(r=QH(J1(a),17)).d.i)!=h&&QTt(A).a<d&&(u.c[u.c.length]=r);for(o=new zd(u);o.a<o.c.c.length;)tHt(r=QH(J1(o),17),!0);for(u.c=O9(Lte,Hqt,1,0,5,1),c=new zd(e.a);c.a<c.c.c.length;)(s=QH(J1(c),10)).p>0&&h_t(t,s,u);for(i=new zd(u);i.a<i.c.c.length;)tHt(r=QH(J1(i),17),!0);u.c=O9(Lte,Hqt,1,0,5,1),Hxt(n)}function S$t(t,e){var n,r,i,a,o,s,c,l,u;return l="",0==e.length?t.de(zVt,KVt,-1,-1):(mR((u=FEt(e)).substr(0,3),"at ")&&(u=u.substr(3)),-1==(o=(u=u.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=u.indexOf("@"))?(l=u,u=""):(l=FEt(u.substr(o+1)),u=FEt(u.substr(0,o))):(n=u.indexOf(")",o),l=u.substr(o+1,n-(o+1)),u=FEt(u.substr(0,o))),-1!=(o=jL(u,WCt(46)))&&(u=u.substr(o+1)),(0==u.length||mR(u,"Anonymous function"))&&(u=KVt),s=mN(l,WCt(58)),i=kR(l,WCt(58),s-1),c=-1,r=-1,a=zVt,-1!=s&&-1!=i&&(a=l.substr(0,i),c=cD(l.substr(i+1,s-(i+1))),r=cD(l.substr(s+1))),t.de(a,u,c,r))}function L$t(t,e,n){var r,i,a,o,s,c;if(0==e.l&&0==e.m&&0==e.h)throw Um(new By("divide by zero"));if(0==t.l&&0==t.m&&0==t.h)return n&&(hee=kM(0,0,0)),kM(0,0,0);if(e.h==_Wt&&0==e.m&&0==e.l)return Qdt(t,n);if(c=!1,e.h>>19!=0&&(e=act(e),c=!c),o=SOt(e),a=!1,i=!1,r=!1,t.h==_Wt&&0==t.m&&0==t.l){if(i=!0,a=!0,-1!=o)return s=wIt(t,o),c&&Sct(s),n&&(hee=kM(0,0,0)),s;t=zL((G7(),fee)),r=!0,c=!c}else t.h>>19!=0&&(a=!0,t=act(t),r=!0,c=!c);return-1!=o?Uct(t,o,c,a,n):Pwt(t,e)<0?(n&&(hee=a?act(t):kM(t.l,t.m,t.h)),kM(0,0,0)):lQt(r?t:kM(t.l,t.m,t.h),e,c,a,i,n)}function I$t(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A;if(t.e&&t.c.c<t.f)throw Um(new Ry("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(u=QH(XT(t.g),9),d=sD(t.f),s=0,l=(a=u).length;s<l;++s)(h=QH(N7(t,(r=a[s]).g),246))?zH(d,QH(sAt(t,h),123)):d.c[d.c.length]=null;for(A=new Q2,WC(SV(LV(SV(new D$(null,new f1(d,16)),new hs),new wg(e)),new fs),new Tg(A)),Yat(A,t.a),n=new Mm,o=0,c=(i=u).length;o<c;++o)pst(n,Tst(t,WW(QH(N7(A,(r=i[o]).g),20)))),(f=QH(O$(d,r.g),123))&&(n.c[n.c.length]=f);return pst(n,Tst(t,WW(QH(N7(A,u[u.length-1].g+1),20)))),n}function M$t(t,n,r){var i,a,o,s,c,l,u,h,f,d,A;for(SCt(r,"Model order cycle breaking",1),t.a=0,t.b=0,f=new Mm,u=n.a.c.length,l=new zd(n.a);l.a<l.c.c.length;)ID(c=QH(J1(l),10),(lqt(),ffe))&&(u=e.Math.max(u,QH(bEt(c,ffe),19).a+1));for(A=new zd(n.a);A.a<A.c.c.length;)for(s=K_t(t,d=QH(J1(A),10),u),h=NAt(d,(art(),Hbe)).Kc();h.Ob();)for(o=new zd(QH(h.Pb(),11).g);o.a<o.c.c.length;)K_t(t,(i=QH(J1(o),17)).d.i,u)<s&&(f.c[f.c.length]=i);for(a=new zd(f);a.a<a.c.c.length;)tHt(i=QH(J1(a),17),!0),lct(n,(lqt(),Hhe),(cN(),!0));f.c=O9(Lte,Hqt,1,0,5,1),Hxt(r)}function O$t(t,e){var n,r,i,a,o,s,c;if(!(t.g>e.f||e.g>t.f)){for(n=0,r=0,o=t.w.a.ec().Kc();o.Ob();)i=QH(o.Pb(),11),gut(Lct(xst(jw(EEe,1),cVt,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++n;for(s=t.r.a.ec().Kc();s.Ob();)i=QH(s.Pb(),11),gut(Lct(xst(jw(EEe,1),cVt,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--n;for(c=e.w.a.ec().Kc();c.Ob();)i=QH(c.Pb(),11),gut(Lct(xst(jw(EEe,1),cVt,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++r;for(a=e.r.a.ec().Kc();a.Ob();)i=QH(a.Pb(),11),gut(Lct(xst(jw(EEe,1),cVt,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--r;n<r?new C6(t,e,r-n):r<n?new C6(e,t,n-r):(new C6(e,t,0),new C6(t,e,0))}}function N$t(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;for(l=e.c,i=qI(t.e),h=vO(QD(QM(XI(t.e)),t.d*t.a,t.c*t.b),-.5),n=i.a-h.a,r=i.b-h.b,n=(o=e.a).c-n,r=o.d-r,c=new zd(l);c.a<c.c.c.length;){switch(d=n+(f=(s=QH(J1(c),395)).b).a,g=r+f.b,A=xJ(d/t.a),m=xJ(g/t.b),(a=s.a).g){case 0:Hmt(),u=Qie;break;case 1:Hmt(),u=Rie;break;case 2:Hmt(),u=Uie;break;default:Hmt(),u=Hie}a.a?(b=xJ((g+s.c)/t.b),zH(t.f,new OQ(u,nft(m),nft(b))),a==(jmt(),Zie)?dct(t,0,m,A,b):dct(t,A,m,t.d-1,b)):(p=xJ((d+s.c)/t.a),zH(t.f,new OQ(u,nft(A),nft(p))),a==(jmt(),Yie)?dct(t,A,0,p,m):dct(t,A,m,p,t.c-1))}}function D$t(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y;for(f=new Mm,a=new Mm,p=null,s=n.Kc();s.Ob();)o=new Up(QH(s.Pb(),19).a),a.c[a.c.length]=o,p&&(o.d=p,p.e=o),p=o;for(v=KUt(t),u=0;u<a.c.length;++u){for(d=null,g=N6((u1(0,a.c.length),QH(a.c[0],652))),r=null,i=FWt,h=1;h<t.b.c.length;++h)m=g?e.Math.abs(g.b-h):e.Math.abs(h-d.b)+1,(A=d?e.Math.abs(h-d.b):m+1)<m?(l=d,c=A):(l=g,c=m),y=jy(kF(bEt(t,(HXt(),Ume)))),(b=v[h]+e.Math.pow(c,y))<i&&(i=b,(r=l).c=h),g&&h==g.b&&(d=g,g=OG(g));r&&(zH(f,nft(r.c)),r.a=!0,mft(r))}return CW(),bK(f.c,f.c.length,null),f}function F$t(t){var e,n,r,i,a,o,s,c,l,u;for(e=new Cc,n=new Cc,l=mR(P8t,(i=OQt(t.b,R8t))?CF(ipt((!i.b&&(i.b=new WD((pqt(),bMe),KMe,i)),i.b),Q8t)):null),c=0;c<t.i;++c)rO(s=QH(t.g[c],170),99)?0!=((o=QH(s,18)).Bb&l6t)?(0==(o.Bb&lVt)||!l&&null==((a=OQt(o,R8t))?CF(ipt((!a.b&&(a.b=new WD((pqt(),bMe),KMe,a)),a.b),Z6t)):null))&&l8(e,o):(u=_bt(o))&&0!=(u.Bb&l6t)||(0==(o.Bb&lVt)||!l&&null==((r=OQt(o,R8t))?CF(ipt((!r.b&&(r.b=new WD((pqt(),bMe),KMe,r)),r.b),Z6t)):null))&&l8(n,o):(YE(),QH(s,66).Oj()&&(s.Jj()||(l8(e,s),l8(n,s))));iut(e),iut(n),t.a=QH(e.g,247),QH(n.g,247)}function P$t(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;for(c=Nxt(e),QH(bEt(e,(HXt(),Hpe)),314)!=(Srt(),cue)&&t5(c,new me),t5(c,new NA(QH(bEt(e,Dpe),292))),d=0,l=new Mm,i=new hV(c);i.a!=i.b;)r=QH(Rut(i),37),IKt(t.c,r),d+=(h=QH(bEt(r,(lqt(),kfe)),15)).gc(),zH(l,new nS(r,h.Kc()));for(SCt(n,"Recursive hierarchical layout",d),f=QH(QH(O$(l,l.c.length-1),46).b,47);f.Ob();)for(s=new zd(l);s.a<s.c.c.length;)for(o=QH(J1(s),46),h=QH(o.b,47),a=QH(o.a,37);h.Ob();){if(rO(u=QH(h.Pb(),51),507)){if(a.e)break;u.pf(a,bat(n,1));break}u.pf(a,bat(n,1))}Hxt(n)}function R$t(t,e){var n,r,i,a,o,s,c,l;if(h1(s=e.length-1,e.length),93==(o=e.charCodeAt(s))){if((a=jL(e,WCt(91)))>=0)return i=Adt(t,e.substr(1,a-1)),Wzt(t,e.substr(a+1,s-(a+1)),i)}else{if(n=-1,null==Tee&&(Tee=new RegExp("\\d")),Tee.test(String.fromCharCode(o))&&(n=kR(e,WCt(46),s-1))>=0){r=QH(X5(t,xet(t,e.substr(1,n-1)),!1),58),c=0;try{c=hQt(e.substr(n+1),RVt,Dqt)}catch(t){throw rO(t=hst(t),127)?Um(new I7(t)):Um(t)}if(c<r.gc())return rO(l=r.Xb(c),72)&&(l=QH(l,72).dd()),QH(l,56)}if(n<0)return QH(X5(t,xet(t,e.substr(1)),!1),56)}return null}function Q$t(t,e,n){var r,i,a,o,s,c,l;if(LAt(e,n)>=0)return n;switch(Nq(Q7(t,n))){case 2:if(mR("",_ht(t,n.Hj()).ne())){if(c=bMt(t,e,s=yV(Q7(t,n)),vV(Q7(t,n))))return c;for(o=0,l=(i=wRt(t,e)).gc();o<l;++o)if(aNt(Bz(Q7(t,c=QH(i.Xb(o),170))),s))return c}return null;case 4:if(mR("",_ht(t,n.Hj()).ne())){for(r=n;r;r=W1(Q7(t,r)))if(c=vMt(t,e,yV(Q7(t,r)),vV(Q7(t,r))))return c;if(s=yV(Q7(t,n)),mR(E7t,s))return bTt(t,e);for(o=0,l=(a=TRt(t,e)).gc();o<l;++o)if(aNt(Bz(Q7(t,c=QH(a.Xb(o),170))),s))return c}return null;default:return null}}function U$t(t,e,n){var r,i,a,o,s,c,l,u;if(0==n.gc())return!1;if(YE(),a=(s=QH(e,66).Oj())?n:new pet(n.gc()),IDt(t.e,e)){if(e.hi())for(l=n.Kc();l.Ob();)GUt(t,e,c=l.Pb(),rO(e,99)&&0!=(QH(e,18).Bb&UWt))||(i=Y4(e,c),a.Hc(i)||a.Fc(i));else if(!s)for(l=n.Kc();l.Ob();)i=Y4(e,c=l.Pb()),a.Fc(i)}else{if(n.gc()>1)throw Um(new Py(B7t));for(u=aDt(t.e.Tg(),e),r=QH(t.g,119),o=0;o<t.i;++o)if(i=r[o],u.rl(i.ak())){if(n.Hc(s?i:i.dd()))return!1;for(l=n.Kc();l.Ob();)c=l.Pb(),QH(sbt(t,o,s?QH(c,72):Y4(e,c)),72);return!0}s||(i=Y4(e,n.Kc().Pb()),a.Fc(i))}return pX(t,a)}function H$t(t,n){var r,i,a,o,s,c,l;for(l=new VC,c=new Fd(new Bd(t.c).a.vc().Kc());c.a.Ob();)a=QH(c.a.Pb(),42),0==(o=QH(a.dd(),458)).b&&n5(l,o,l.c.b,l.c);for(;0!=l.b;)for(null==(o=QH(0==l.b?null:(ED(0!=l.b),Let(l,l.a.a)),458)).a&&(o.a=0),i=new zd(o.d);i.a<i.c.c.length;)null==(r=QH(J1(i),654)).b.a?r.b.a=jy(o.a)+r.a:n.o==(oZ(),nye)?r.b.a=e.Math.min(jy(r.b.a),jy(o.a)+r.a):r.b.a=e.Math.max(jy(r.b.a),jy(o.a)+r.a),--r.b.b,0==r.b.b&&Nj(l,r.b);for(s=new Fd(new Bd(t.c).a.vc().Kc());s.a.Ob();)a=QH(s.a.Pb(),42),o=QH(a.dd(),458),n.i[o.c.p]=o.a}function j$t(){j$t=L,swe=new am(SZt),new am(LZt),new eP("DEPTH",nft(0)),ewe=new eP("FAN",nft(0)),Zye=new eP(G4t,nft(0)),dwe=new eP("ROOT",(cN(),!1)),rwe=new eP("LEFTNEIGHBOR",null),hwe=new eP("RIGHTNEIGHBOR",null),iwe=new eP("LEFTSIBLING",null),fwe=new eP("RIGHTSIBLING",null),twe=new eP("DUMMY",!1),new eP("LEVEL",nft(0)),uwe=new eP("REMOVABLE_EDGES",new VC),Awe=new eP("XCOOR",nft(0)),pwe=new eP("YCOOR",nft(0)),awe=new eP("LEVELHEIGHT",0),nwe=new eP("ID",""),cwe=new eP("POSITION",nft(0)),lwe=new eP("PRELIM",0),owe=new eP("MODIFIER",0),Jye=new am(IZt),Yye=new am(MZt)}function $$t(t,n,r,i){var a,o,s,c,l,u,h,f,d,A;for(h=r+n.c.c.a,A=new zd(n.j);A.a<A.c.c.length;){if(d=QH(J1(A),11),a=Lct(xst(jw(EEe,1),cVt,8,0,[d.i.n,d.n,d.a])),n.k==(oxt(),_se)&&(c=QH(bEt(d,(lqt(),dfe)),11),a.a=Lct(xst(jw(EEe,1),cVt,8,0,[c.i.n,c.n,c.a])).a,n.n.a=a.a),s=new OB(0,a.b),d.j==(yzt(),oSe))s.a=h;else{if(d.j!=xSe)continue;s.a=r}if(!(e.Math.abs(a.a-s.a)<=i)||Owt(n))for(o=d.g.c.length+d.e.c.length>1,u=new m6(d.b);bM(u.a)||bM(u.b);)f=(l=QH(bM(u.a)?J1(u.a):J1(u.b),17)).c==d?l.d:l.c,e.Math.abs(Lct(xst(jw(EEe,1),cVt,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&gDt(t,l,s,o,d)}}function K$t(t){var n,r,i,a,o,s;if(a=new k2(t.e,0),i=new k2(t.a,0),t.d)for(r=0;r<t.b;r++)ED(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(r=0;r<t.b-1;r++)ED(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),lq(a);for(n=jy((ED(a.b<a.d.gc()),kF(a.d.Xb(a.c=a.b++))));t.f-n>D4t;){for(o=n,s=0;e.Math.abs(n-o)<D4t;)++s,n=jy((ED(a.b<a.d.gc()),kF(a.d.Xb(a.c=a.b++)))),ED(i.b<i.d.gc()),i.d.Xb(i.c=i.b++);s<t.b&&(ED(a.b>0),a.a.Xb(a.c=--a.b),DUt(t,t.b-s,o,i,a),ED(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),ED(i.b>0),i.a.Xb(i.c=--i.b)}if(!t.d)for(r=0;r<t.b-1;r++)ED(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),lq(a);t.d=!0,t.c=!0}function G$t(){G$t=L,AOe=(rk(),dOe).b,mOe=QH(Xet(qW(dOe.b),0),34),pOe=QH(Xet(qW(dOe.b),1),34),gOe=QH(Xet(qW(dOe.b),2),34),_Oe=dOe.bb,QH(Xet(qW(dOe.bb),0),34),QH(Xet(qW(dOe.bb),1),34),SOe=dOe.fb,LOe=QH(Xet(qW(dOe.fb),0),34),QH(Xet(qW(dOe.fb),1),34),QH(Xet(qW(dOe.fb),2),18),MOe=dOe.qb,DOe=QH(Xet(qW(dOe.qb),0),34),QH(Xet(qW(dOe.qb),1),18),QH(Xet(qW(dOe.qb),2),18),OOe=QH(Xet(qW(dOe.qb),3),34),NOe=QH(Xet(qW(dOe.qb),4),34),POe=QH(Xet(qW(dOe.qb),6),34),FOe=QH(Xet(qW(dOe.qb),5),18),bOe=dOe.j,vOe=dOe.k,yOe=dOe.q,wOe=dOe.w,TOe=dOe.B,kOe=dOe.A,COe=dOe.C,EOe=dOe.D,xOe=dOe._,BOe=dOe.cb,IOe=dOe.hb}function z$t(t,n,r){var i,a,o,s,c,l,u,h,f;t.c=0,t.b=0,i=2*n.c.a.c.length+1;t:for(u=r.Kc();u.Ob();){if(f=0,s=(l=QH(u.Pb(),11)).j==(yzt(),sSe)||l.j==CSe){if(!(h=QH(bEt(l,(lqt(),wfe)),10)))continue;f+=nPt(t,i,l,h)}else{for(c=new zd(l.g);c.a<c.c.c.length;){if((a=QH(J1(c),17).d).i.c==n.c){zH(t.a,l);continue t}f+=t.g[a.p]}for(o=new zd(l.e);o.a<o.c.c.length;){if((a=QH(J1(o),17).c).i.c==n.c){zH(t.a,l);continue t}f-=t.g[a.p]}}l.e.c.length+l.g.c.length>0?(t.f[l.p]=f/(l.e.c.length+l.g.c.length),t.c=e.Math.min(t.c,t.f[l.p]),t.b=e.Math.max(t.b,t.f[l.p])):s&&(t.f[l.p]=f)}}function X$t(t){t.b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function q$t(t,e,n){var r,i;for(SCt(n,"Graph transformation ("+t.a+")",1),i=i0(e.a),r=new zd(e.b);r.a<r.c.c.length;)pst(i,QH(J1(r),29).a);if(QH(bEt(e,(HXt(),Gpe)),419)==(Ptt(),Cue))switch(QH(bEt(e,Kpe),103).g){case 2:I2(e,i);break;case 3:fpt(e,i);break;case 4:t.a==(Eit(),Hse)?(fpt(e,i),L2(e,i)):(L2(e,i),fpt(e,i))}else if(t.a==(Eit(),Hse))switch(QH(bEt(e,Kpe),103).g){case 2:I2(e,i),L2(e,i);break;case 3:fpt(e,i),I2(e,i);break;case 4:I2(e,i),fpt(e,i)}else switch(QH(bEt(e,Kpe),103).g){case 2:I2(e,i),L2(e,i);break;case 3:I2(e,i),fpt(e,i);break;case 4:fpt(e,i),I2(e,i)}Hxt(n)}function V$t(t,e,n){var r,i,a,o,s,c,l,h,f,d,A;for(c=new lI,l=new lI,d=new lI,A=new lI,s=jy(kF(bEt(e,(HXt(),Bme)))),i=jy(kF(bEt(e,bme))),o=new zd(n);o.a<o.c.c.length;)if(a=QH(J1(o),10),(h=QH(bEt(a,(lqt(),qhe)),61))==(yzt(),sSe))for(l.a.zc(a,l),r=new oG(YO(udt(a).a.Kc(),new u));AIt(r);)Tz(c,QH(K5(r),17).c.i);else if(h==CSe)for(A.a.zc(a,A),r=new oG(YO(udt(a).a.Kc(),new u));AIt(r);)Tz(d,QH(K5(r),17).c.i);0!=c.a.gc()&&(f=LKt(new lX(2,i),e,c,l,-s-e.c.b))>0&&(t.a=s+(f-1)*i,e.c.b+=t.a,e.f.b+=t.a),0!=d.a.gc()&&(f=LKt(new lX(1,i),e,d,A,e.f.b+s-e.c.b))>0&&(e.f.b+=s+(f-1)*i)}function W$t(t,e){var n,r,i,a;a=t.F,null==e?(t.F=null,Dlt(t,null)):(t.F=(vq(e),e),-1!=(r=jL(e,WCt(60)))?(i=e.substr(0,r),-1==jL(e,WCt(46))&&!mR(i,Iqt)&&!mR(i,E8t)&&!mR(i,x8t)&&!mR(i,_8t)&&!mR(i,B8t)&&!mR(i,S8t)&&!mR(i,L8t)&&!mR(i,I8t)&&(i=M8t),-1!=(n=mN(e,WCt(62)))&&(i+=""+e.substr(n+1)),Dlt(t,i)):(i=e,-1==jL(e,WCt(46))&&(-1!=(r=jL(e,WCt(91)))&&(i=e.substr(0,r)),mR(i,Iqt)||mR(i,E8t)||mR(i,x8t)||mR(i,_8t)||mR(i,B8t)||mR(i,S8t)||mR(i,L8t)||mR(i,I8t)?i=e:(i=M8t,-1!=r&&(i+=""+e.substr(r)))),Dlt(t,i),i==e&&(t.F=t.D))),0!=(4&t.Db)&&0==(1&t.Db)&&fot(t,new JG(t,1,5,a,e))}function Y$t(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;if(!((p=e.b.c.length)<3)){for(d=O9(BNe,lWt,25,p,15,1),h=0,u=new zd(e.b);u.a<u.c.c.length;)l=QH(J1(u),29),d[h++]=l.a.c.length;for(f=new k2(e.b,2),r=1;r<p-1;r++)for(ED(f.b<f.d.gc()),A=new zd((n=QH(f.d.Xb(f.c=f.b++),29)).a),a=0,s=0,c=0;c<d[r+1];c++)if(v=QH(J1(A),10),c==d[r+1]-1||Wxt(t,v,r+1,r)){for(o=d[r]-1,Wxt(t,v,r+1,r)&&(o=t.c.e[QH(QH(QH(O$(t.c.b,v.p),15).Xb(0),46).a,10).p]);s<=c;){if(!Wxt(t,b=QH(O$(n.a,s),10),r+1,r))for(m=QH(O$(t.c.b,b.p),15).Kc();m.Ob();)g=QH(m.Pb(),46),((i=t.c.e[QH(g.a,10).p])<a||i>o)&&Tz(t.b,QH(g.b,17));++s}a=o}}}function J$t(t,e){var n;if(null==e||mR(e,Kqt))return null;if(0==e.length&&t.k!=(x_t(),pEe))return null;switch(t.k.g){case 1:return bgt(e,a5t)?(cN(),mee):bgt(e,o5t)?(cN(),gee):null;case 2:try{return nft(hQt(e,RVt,Dqt))}catch(t){if(rO(t=hst(t),127))return null;throw Um(t)}case 4:try{return fxt(e)}catch(t){if(rO(t=hst(t),127))return null;throw Um(t)}case 3:return e;case 5:return rut(t),HSt(t,e);case 6:return rut(t),PMt(t,t.a,e);case 7:try{return(n=rIt(t)).Jf(e),n}catch(t){if(rO(t=hst(t),32))return null;throw Um(t)}default:throw Um(new Ry("Invalid type set for this layout option."))}}function Z$t(t){var e,n,r,i,a,o,s;for(Ntt(),s=new Xb,n=new zd(t);n.a<n.c.c.length;)e=QH(J1(n),140),(!s.b||e.c>=s.b.c)&&(s.b=e),(!s.c||e.c<=s.c.c)&&(s.d=s.c,s.c=e),(!s.e||e.d>=s.e.d)&&(s.e=e),(!s.f||e.d<=s.f.d)&&(s.f=e);return r=new kmt((Lst(),Yoe)),e2(t,ose,new Wy(xst(jw(Woe,1),Hqt,369,0,[r]))),o=new kmt(tse),e2(t,ase,new Wy(xst(jw(Woe,1),Hqt,369,0,[o]))),i=new kmt(Joe),e2(t,ise,new Wy(xst(jw(Woe,1),Hqt,369,0,[i]))),a=new kmt(Zoe),e2(t,rse,new Wy(xst(jw(Woe,1),Hqt,369,0,[a]))),NOt(r.c,Yoe),NOt(i.c,Joe),NOt(a.c,Zoe),NOt(o.c,tse),s.a.c=O9(Lte,Hqt,1,0,5,1),pst(s.a,r.c),pst(s.a,eot(i.c)),pst(s.a,a.c),pst(s.a,eot(o.c)),s}function tKt(t){var e;switch(t.d){case 1:if(t.hj())return-2!=t.o;break;case 2:if(t.hj())return-2==t.o;break;case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.gj(),t.p){case 0:return null!=e&&Hy(TF(e))!=WS(t.k,0);case 1:return null!=e&&QH(e,217).a!=dK(t.k)<<24>>24;case 2:return null!=e&&QH(e,172).a!=(dK(t.k)&VVt);case 6:return null!=e&&WS(QH(e,162).a,t.k);case 5:return null!=e&&QH(e,19).a!=dK(t.k);case 7:return null!=e&&QH(e,184).a!=dK(t.k)<<16>>16;case 3:return null!=e&&jy(kF(e))!=t.j;case 4:return null!=e&&QH(e,155).a!=t.j;default:return null==e?null!=t.n:!Oht(e,t.n)}}function eKt(t,e,n){var r,i,a,o;return t.Fk()&&t.Ek()&&jS(o=jG(t,QH(n,56)))!==jS(n)?(t.Oi(e),t.Ui(e,Q8(t,e,o)),t.rk()&&(i=QH(n,49),a=t.Dk()?t.Bk()?i.ih(t.b,_bt(QH(eet(yY(t.b),t.aj()),18)).n,QH(eet(yY(t.b),t.aj()).Yj(),26).Bj(),null):i.ih(t.b,LAt(i.Tg(),_bt(QH(eet(yY(t.b),t.aj()),18))),null,null):i.ih(t.b,-1-t.aj(),null,null),!QH(o,49).eh()&&(r=QH(o,49),a=t.Dk()?t.Bk()?r.gh(t.b,_bt(QH(eet(yY(t.b),t.aj()),18)).n,QH(eet(yY(t.b),t.aj()).Yj(),26).Bj(),a):r.gh(t.b,LAt(r.Tg(),_bt(QH(eet(yY(t.b),t.aj()),18))),null,a):r.gh(t.b,-1-t.aj(),null,a)),a&&a.Fi()),mI(t.b)&&t.$i(t.Zi(9,n,o,e,!1)),o):n}function nKt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;for(h=jy(kF(bEt(t,(HXt(),wme)))),i=jy(kF(bEt(t,Dme))),lct(d=new Js,wme,h+i),b=(u=n).d,g=u.c.i,v=u.d.i,m=ZL(g.c),y=ZL(v.c),a=new Mm,f=m;f<=y;f++)Qf(c=new Ibt(t),(oxt(),Ese)),lct(c,(lqt(),dfe),u),lct(c,tme,(Vkt(),GBe)),lct(c,kme,d),A=QH(O$(t.b,f),29),f==m?Vyt(c,A.a.c.length-r,A):EZ(c,A),(w=jy(kF(bEt(u,ige))))<0&&lct(u,ige,w=0),c.o.b=w,p=e.Math.floor(w/2),jBt(s=new _xt,(yzt(),xSe)),xZ(s,c),s.n.b=p,jBt(l=new _xt,oSe),xZ(l,c),l.n.b=p,kZ(u,s),jot(o=new fY,u),lct(o,gge,null),CZ(o,l),kZ(o,b),Kwt(c,u,o),a.c[a.c.length]=o,u=o;return a}function rKt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(s=QH(Dxt(t,(yzt(),xSe)).Kc().Pb(),11).e,h=QH(Dxt(t,oSe).Kc().Pb(),11).g,o=s.c.length,g=A1(QH(O$(t.j,0),11));o-- >0;){for(u1(0,s.c.length),d=QH(s.c[0],17),u1(0,h.c.length),i=w7((r=QH(h.c[0],17)).d.e,r,0),S2(d,r.d,i),CZ(r,null),kZ(r,null),f=d.a,e&&Nj(f,new fI(g)),n=cmt(r.a,0);n.b!=n.d.c;)Nj(f,new fI(QH(h4(n),8)));for(p=d.b,u=new zd(r.b);u.a<u.c.c.length;)l=QH(J1(u),70),p.c[p.c.length]=l;if(A=QH(bEt(d,(HXt(),gge)),74),a=QH(bEt(r,gge),74))for(A||(A=new vv,lct(d,gge,A)),c=cmt(a,0);c.b!=c.d.c;)Nj(A,new fI(QH(h4(c),8)))}}function iKt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A;if(r=QH(oV(t.b,n),124),(l=QH(QH(c6(t.r,n),21),84)).dc())return r.n.b=0,void(r.n.c=0);for(u=t.u.Hc((hSt(),tSe)),s=0,c=l.Kc(),h=null,f=0,d=0;c.Ob();)a=jy(kF((i=QH(c.Pb(),111)).b.We((NN(),Iie)))),o=i.b.rf().a,t.A.Hc((bpt(),PSe))&&vPt(t,n),h?(A=d+h.d.c+t.w+i.d.b,s=e.Math.max(s,(cM(),rrt(uJt),e.Math.abs(f-a)<=uJt||f==a||isNaN(f)&&isNaN(a)?0:A/(a-f)))):t.C&&t.C.b>0&&(s=e.Math.max(s,hat(t.C.b+i.d.b,a))),h=i,f=a,d=o;t.C&&t.C.c>0&&(A=d+t.C.c,u&&(A+=h.d.c),s=e.Math.max(s,(cM(),rrt(uJt),e.Math.abs(f-1)<=uJt||1==f||isNaN(f)&&isNaN(1)?0:A/(1-f)))),r.n.b=0,r.a.a=s}function aKt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A;if(r=QH(oV(t.b,n),124),(l=QH(QH(c6(t.r,n),21),84)).dc())return r.n.d=0,void(r.n.a=0);for(u=t.u.Hc((hSt(),tSe)),s=0,t.A.Hc((bpt(),PSe))&&yPt(t,n),c=l.Kc(),h=null,d=0,f=0;c.Ob();)o=jy(kF((i=QH(c.Pb(),111)).b.We((NN(),Iie)))),a=i.b.rf().b,h?(A=f+h.d.a+t.w+i.d.d,s=e.Math.max(s,(cM(),rrt(uJt),e.Math.abs(d-o)<=uJt||d==o||isNaN(d)&&isNaN(o)?0:A/(o-d)))):t.C&&t.C.d>0&&(s=e.Math.max(s,hat(t.C.d+i.d.d,o))),h=i,d=o,f=a;t.C&&t.C.a>0&&(A=f+t.C.a,u&&(A+=h.d.a),s=e.Math.max(s,(cM(),rrt(uJt),e.Math.abs(d-1)<=uJt||1==d||isNaN(d)&&isNaN(1)?0:A/(1-d)))),r.n.d=0,r.a.b=s}function oKt(t,e,n){var r,i,a,o,s,c;for(this.g=t,s=e.d.length,c=n.d.length,this.d=O9(Bse,a1t,10,s+c,0,1),o=0;o<s;o++)this.d[o]=e.d[o];for(a=0;a<c;a++)this.d[s+a]=n.d[a];if(e.e){if(this.e=$H(e.e),this.e.Mc(n),n.e)for(i=n.e.Kc();i.Ob();)(r=QH(i.Pb(),233))!=e&&(this.e.Hc(r)?--r.c:this.e.Fc(r))}else n.e&&(this.e=$H(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?Yet(this,this.f/this.a):null!=uO(e.g,e.d[0]).a&&null!=uO(n.g,n.d[0]).a?Yet(this,(jy(uO(e.g,e.d[0]).a)+jy(uO(n.g,n.d[0]).a))/2):null!=uO(e.g,e.d[0]).a?Yet(this,uO(e.g,e.d[0]).a):null!=uO(n.g,n.d[0]).a&&Yet(this,uO(n.g,n.d[0]).a)}function sKt(t,e){var n,r,i,a,o,s,c,l,u;for(t.a=new QX(Iat(z_e)),r=new zd(e.a);r.a<r.c.c.length;){for(n=QH(J1(r),841),o=new xgt(xst(jw(qoe,1),Hqt,81,0,[])),zH(t.a.a,o),c=new zd(n.d);c.a<c.c.c.length;)QKt(l=new MN(t,s=QH(J1(c),110)),QH(bEt(n.c,(lqt(),Ghe)),21)),cz(t.g,n)||(Xq(t.g,n,new OB(s.c,s.d)),Xq(t.f,n,l)),zH(t.a.b,l),A2(o,l);for(a=new zd(n.b);a.a<a.c.c.length;)l=new MN(t,(i=QH(J1(a),594)).kf()),Xq(t.b,i,new nS(o,l)),QKt(l,QH(bEt(n.c,(lqt(),Ghe)),21)),i.hf()&&(QKt(u=new Egt(t,i.hf(),1),QH(bEt(n.c,Ghe),21)),A2(new xgt(xst(jw(qoe,1),Hqt,81,0,[])),u),YSt(t.c,i.gf(),new nS(o,u)))}return t.a}function cKt(t){var e;this.a=t,e=(oxt(),xst(jw(Lse,1),IVt,267,0,[xse,Ese,kse,_se,Cse,Tse])).length,this.b=v$(uEe,[cVt,y4t],[593,146],0,[e,e],2),this.c=v$(uEe,[cVt,y4t],[593,146],0,[e,e],2),RY(this,xse,(HXt(),Bme),Sme),tst(this,xse,Ese,wme,Tme),PY(this,xse,_se,wme),PY(this,xse,kse,wme),tst(this,xse,Cse,Bme,Sme),RY(this,Ese,bme,vme),PY(this,Ese,_se,bme),PY(this,Ese,kse,bme),tst(this,Ese,Cse,wme,Tme),YI(this,_se,bme),PY(this,_se,kse,bme),PY(this,_se,Cse,Eme),YI(this,kse,Mme),tst(this,kse,Cse,_me,xme),RY(this,Cse,bme,bme),RY(this,Tse,bme,vme),tst(this,Tse,xse,wme,Tme),tst(this,Tse,Cse,wme,Tme),tst(this,Tse,Ese,wme,Tme)}function lKt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g;if(rO(o=n.ak(),99)&&0!=(QH(o,18).Bb&UWt)&&(f=QH(n.dd(),49),(p=tht(t.e,f))!=f)){if(yO(t,e,cCt(t,e,u=Y4(o,p))),h=null,mI(t.e)&&(r=Q$t((B_t(),WMe),t.e.Tg(),o))!=eet(t.e.Tg(),t.c)){for(g=aDt(t.e.Tg(),o),s=0,a=QH(t.g,119),c=0;c<e;++c)i=a[c],g.rl(i.ak())&&++s;(h=new h3(t.e,9,r,f,p,s,!1)).Ei(new M7(t.e,9,t.c,n,u,e,!1))}return(d=_bt(A=QH(o,18)))?(h=f.ih(t.e,LAt(f.Tg(),d),null,h),h=QH(p,49).gh(t.e,LAt(p.Tg(),d),null,h)):0!=(A.Bb&l6t)&&(l=-1-LAt(t.e.Tg(),A),h=f.ih(t.e,l,null,null),!QH(p,49).eh()&&(h=QH(p,49).gh(t.e,l,null,h))),h&&h.Fi(),u}return n}function uKt(t){var n,r,i,a,o,s,c,l;for(o=new zd(t.a.b);o.a<o.c.c.length;)(a=QH(J1(o),81)).b.c=a.g.c,a.b.d=a.g.d;for(l=new OB(FWt,FWt),n=new OB(PWt,PWt),i=new zd(t.a.b);i.a<i.c.c.length;)r=QH(J1(i),81),l.a=e.Math.min(l.a,r.g.c),l.b=e.Math.min(l.b,r.g.d),n.a=e.Math.max(n.a,r.g.c+r.g.b),n.b=e.Math.max(n.b,r.g.d+r.g.a);for(c=TX(t.c).a.nc();c.Ob();)s=QH(c.Pb(),46),r=QH(s.b,81),l.a=e.Math.min(l.a,r.g.c),l.b=e.Math.min(l.b,r.g.d),n.a=e.Math.max(n.a,r.g.c+r.g.b),n.b=e.Math.max(n.b,r.g.d+r.g.a);t.d=HD(new OB(l.a,l.b)),t.e=GP(new OB(n.a,n.b),l),t.a.a.c=O9(Lte,Hqt,1,0,5,1),t.a.b.c=O9(Lte,Hqt,1,0,5,1)}function hKt(t){var e,n,r;for(ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new Ih])),n=new Tf(t),r=0;r<n.a.length;++r)mR(e=dtt(n,r).je().a,"layered")?ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new sh])):mR(e,"force")?ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new $u])):mR(e,"stress")?ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new Gu])):mR(e,"mrtree")?ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new Ch])):mR(e,"radial")?ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new mh])):mR(e,"disco")?ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new ju,new Uu])):mR(e,"sporeOverlap")||mR(e,"sporeCompaction")?ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new wh])):mR(e,"rectpacking")&&ylt(lIe,xst(jw(Pre,1),Hqt,130,0,[new _h]))}function fKt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m;if(f=new fI(t.o),m=e.a/f.a,s=e.b/f.b,p=e.a-f.a,a=e.b-f.b,n)for(i=jS(bEt(t,(HXt(),tme)))===jS((Vkt(),GBe)),A=new zd(t.j);A.a<A.c.c.length;)switch((d=QH(J1(A),11)).j.g){case 1:i||(d.n.a*=m);break;case 2:d.n.a+=p,i||(d.n.b*=s);break;case 3:i||(d.n.a*=m),d.n.b+=a;break;case 4:i||(d.n.b*=s)}for(l=new zd(t.b);l.a<l.c.c.length;)u=(c=QH(J1(l),70)).n.a+c.o.a/2,h=c.n.b+c.o.b/2,(g=u/f.a)+(o=h/f.b)>=1&&(g-o>0&&h>=0?(c.n.a+=p,c.n.b+=a*o):g-o<0&&u>=0&&(c.n.a+=p*g,c.n.b+=a));t.o.a=e.a,t.o.b=e.b,lct(t,(HXt(),Rge),(bpt(),new VR(r=QH(XT(VSe),9),QH(CP(r,r.length),9),0)))}function dKt(t,e,n,r,i,a){if(null!=e&&zdt(e,BIe,SIe))throw Um(new Py("invalid scheme: "+e));if(!(t||null!=n&&-1==jL(n,WCt(35))&&n.length>0&&(h1(0,n.length),47!=n.charCodeAt(0))))throw Um(new Py("invalid opaquePart: "+n));if(t&&(null==e||!OC(vIe,e.toLowerCase()))&&null!=n&&zdt(n,LIe,IIe))throw Um(new Py(s8t+n));if(t&&null!=e&&OC(vIe,e.toLowerCase())&&!_kt(n))throw Um(new Py(s8t+n));if(!Gdt(r))throw Um(new Py("invalid device: "+r));if(!Fut(i))throw Um(new Py(null==i?"invalid segments: null":"invalid segment: "+cut(i)));if(null!=a&&-1!=jL(a,WCt(35)))throw Um(new Py("invalid query: "+a))}function AKt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;for(SCt(n,"Calculate Graph Size",1),n.n&&t&&b0(n,o2(t),(Ult(),aLe)),c=JJt,l=JJt,o=Z4t,s=Z4t,f=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));f.e!=f.i.gc();)p=(u=QH(ymt(f),33)).i,g=u.j,b=u.g,i=u.f,a=QH(JIt(u,(cqt(),Lxe)),142),c=e.Math.min(c,p-a.b),l=e.Math.min(l,g-a.d),o=e.Math.max(o,p+b+a.c),s=e.Math.max(s,g+i+a.a);for(d=new OB(c-(A=QH(JIt(t,(cqt(),Gxe)),116)).b,l-A.d),h=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));h.e!=h.i.gc();)xnt(u=QH(ymt(h),33),u.i-d.a),_nt(u,u.j-d.b);m=o-c+(A.b+A.c),r=s-l+(A.d+A.a),Ent(t,m),Cnt(t,r),n.n&&t&&b0(n,o2(t),(Ult(),aLe))}function pKt(t){var e,n,r,i,a,o,s,c,l,u;for(r=new Mm,o=new zd(t.e.a);o.a<o.c.c.length;){for(u=0,(i=QH(J1(o),121)).k.c=O9(Lte,Hqt,1,0,5,1),n=new zd(ydt(i));n.a<n.c.c.length;)(e=QH(J1(n),213)).f&&(zH(i.k,e),++u);1==u&&(r.c[r.c.length]=i)}for(a=new zd(r);a.a<a.c.c.length;)for(i=QH(J1(a),121);1==i.k.c.length;){for(l=QH(J1(new zd(i.k)),213),t.b[l.c]=l.g,s=l.d,c=l.e,n=new zd(ydt(i));n.a<n.c.c.length;)Oht(e=QH(J1(n),213),l)||(e.f?s==e.d||c==e.e?t.b[l.c]-=t.b[e.c]-e.g:t.b[l.c]+=t.b[e.c]-e.g:i==s?e.d==i?t.b[l.c]+=e.g:t.b[l.c]-=e.g:e.d==i?t.b[l.c]-=e.g:t.b[l.c]+=e.g);b7(s.k,l),b7(c.k,l),i=s==i?l.e:l.d}}function gKt(t,e){var n,r,i,a,o,s,c,l,u,h,f;if(null==e||0==e.length)return null;if(!(a=QH(CJ(t.f,e),23))){for(i=new Fd(new Bd(t.d).a.vc().Kc());i.a.Ob();)if(o=QH(i.a.Pb(),42),s=(n=QH(o.dd(),23)).f,f=e.length,mR(s.substr(s.length-f,f),e)&&(e.length==s.length||46==lV(s,s.length-e.length-1))){if(a)return null;a=n}if(!a)for(r=new Fd(new Bd(t.d).a.vc().Kc());r.a.Ob();)if(o=QH(r.a.Pb(),42),null!=(h=(n=QH(o.dd(),23)).g))for(l=0,u=(c=h).length;l<u;++l)if(s=c[l],f=e.length,mR(s.substr(s.length-f,f),e)&&(e.length==s.length||46==lV(s,s.length-e.length-1))){if(a)return null;a=n}a&&mZ(t.f,e,a)}return a}function mKt(t,e){var n,r,i,a,o;for(n=new _w,o=!1,a=0;a<e.length;a++)if(h1(a,e.length),32!=(r=e.charCodeAt(a)))o?39==r?a+1<e.length&&(h1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+=String.fromCharCode(r),++a):o=!1:n.a+=String.fromCharCode(r):jL("GyMLdkHmsSEcDahKzZv",WCt(r))>0?(xmt(t,n,0),n.a+=String.fromCharCode(r),xmt(t,n,i=igt(e,a)),a+=i-1):39==r?a+1<e.length&&(h1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+="'",++a):o=!0:n.a+=String.fromCharCode(r);else for(xmt(t,n,0),n.a+=" ",xmt(t,n,0);a+1<e.length&&(h1(a+1,e.length),32==e.charCodeAt(a+1));)++a;xmt(t,n,0),gCt(t)}function bKt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m;if(SCt(r,"Network simplex layering",1),t.b=n,m=4*QH(bEt(n,(HXt(),Ome)),19).a,(g=t.b.a).c.length<1)Hxt(r);else{for(p=null,a=cmt(o=BRt(t,g),0);a.b!=a.d.c;){for(i=QH(h4(a),15),c=m*xJ(e.Math.sqrt(i.gc())),XRt(qw(Ww(Vw(QQ(s=sQt(i)),c),p),!0),bat(r,1)),f=t.b.b,A=new zd(s.a);A.a<A.c.c.length;){for(d=QH(J1(A),121);f.c.length<=d.e;)vK(f,f.c.length,new UX(t.b));EZ(QH(d.f,10),QH(O$(f,d.e),29))}if(o.b>1)for(p=O9(BNe,lWt,25,t.b.b.c.length,15,1),h=0,u=new zd(t.b.b);u.a<u.c.c.length;)l=QH(J1(u),29),p[h++]=l.a.c.length}g.c=O9(Lte,Hqt,1,0,5,1),t.a=null,t.b=null,t.c=null,Hxt(r)}}function vKt(t){var n,r,i,a,o,s,c;for(n=0,o=new zd(t.b.a);o.a<o.c.c.length;)(i=QH(J1(o),189)).b=0,i.c=0;for(Txt(t,0),eAt(t,t.g),yNt(t.c),Yy(t.c),Qht(),r=P_e,DRt(tL(CGt(DRt(tL(CGt(DRt(CGt(t.c,r)),wft(r)))),r))),CGt(t.c,P_e),Uft(t,t.g),yEt(t,0),gjt(t,0),CMt(t,1),Txt(t,1),eAt(t,t.d),yNt(t.c),s=new zd(t.b.a);s.a<s.c.c.length;)i=QH(J1(s),189),n+=e.Math.abs(i.c);for(c=new zd(t.b.a);c.a<c.c.c.length;)(i=QH(J1(c),189)).b=0,i.c=0;for(r=U_e,DRt(tL(CGt(DRt(tL(CGt(DRt(Yy(CGt(t.c,r))),wft(r)))),r))),CGt(t.c,P_e),Uft(t,t.d),yEt(t,1),gjt(t,1),CMt(t,0),Yy(t.c),a=new zd(t.b.a);a.a<a.c.c.length;)i=QH(J1(a),189),n+=e.Math.abs(i.c);return n}function yKt(t,e){var n,r,i,a,o,s,c,l,u;if(null!=(l=e).b&&null!=t.b){for(kMt(t),jjt(t),kMt(l),jjt(l),n=O9(BNe,lWt,25,t.b.length+l.b.length,15,1),u=0,r=0,o=0;r<t.b.length&&o<l.b.length;)if(i=t.b[r],a=t.b[r+1],s=l.b[o],c=l.b[o+1],a<s)r+=2;else if(a>=s&&i<=c)s<=i&&a<=c?(n[u++]=i,n[u++]=a,r+=2):s<=i?(n[u++]=i,n[u++]=c,t.b[r]=c+1,o+=2):a<=c?(n[u++]=s,n[u++]=a,r+=2):(n[u++]=s,n[u++]=c,t.b[r]=c+1);else{if(!(c<i))throw Um(new dy("Token#intersectRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] & ["+l.b[o]+","+l.b[o+1]+"]"));o+=2}for(;r<t.b.length;)n[u++]=t.b[r++],n[u++]=t.b[r++];t.b=O9(BNe,lWt,25,u,15,1),ajt(n,0,t.b,0,u)}}function wKt(t){var n,r,i,a,o,s,c;for(n=new Mm,t.g=new Mm,t.d=new Mm,s=new olt(new Ed(t.f.b).a);s.b;)zH(n,QH(QH((o=tnt(s)).dd(),46).b,81)),dI(QH(o.cd(),594).gf())?zH(t.d,QH(o.dd(),46)):zH(t.g,QH(o.dd(),46));for(eAt(t,t.d),eAt(t,t.g),t.c=new cLt(t.b),tT(t.c,(gE(),joe)),Uft(t,t.d),Uft(t,t.g),pst(n,t.c.a.b),t.e=new OB(FWt,FWt),t.a=new OB(PWt,PWt),i=new zd(n);i.a<i.c.c.length;)r=QH(J1(i),81),t.e.a=e.Math.min(t.e.a,r.g.c),t.e.b=e.Math.min(t.e.b,r.g.d),t.a.a=e.Math.max(t.a.a,r.g.c+r.g.b),t.a.b=e.Math.max(t.a.b,r.g.d+r.g.a);Zw(t.c,new we),c=0;do{a=vKt(t),++c}while((c<2||a>PVt)&&c<10);Zw(t.c,new Te),vKt(t),_z(t.c),uKt(t.f)}function TKt(t,e,n){var r,i,a,o,s,c,l,u,h,f;if(Hy(TF(bEt(n,(HXt(),fge)))))for(i=new zd(n.j);i.a<i.c.c.length;)for(s=0,c=(o=Y0(QH(J1(i),11).g)).length;s<c;++s)(a=o[s]).d.i==n&&Hy(TF(bEt(a,dge)))&&(u=a.c,(l=QH(DX(t.b,u),10))||(lct(l=fXt(u,(Vkt(),qBe),u.j,-1,null,null,u.o,QH(bEt(e,Kpe),103),e),(lqt(),dfe),u),Xq(t.b,u,l),zH(e.a,l)),f=a.d,(h=QH(DX(t.b,f),10))||(lct(h=fXt(f,(Vkt(),qBe),f.j,1,null,null,f.o,QH(bEt(e,Kpe),103),e),(lqt(),dfe),f),Xq(t.b,f,h),zH(e.a,h)),CZ(r=z5(a),QH(O$(l.j,0),11)),kZ(r,QH(O$(h.j,0),11)),YSt(t.a,a,new IQ(r,e,(art(),Hbe))),QH(bEt(e,(lqt(),Yhe)),21).Fc((fFt(),uhe)))}function kKt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A;for(SCt(n,"Label dummy switching",1),r=QH(bEt(e,(HXt(),Xpe)),227),gat(e),i=wMt(e,r),t.a=O9(MNe,jWt,25,e.b.c.length,15,1),I_t(),u=0,d=(s=xst(jw(aue,1),IVt,227,0,[Yle,Zle,Wle,Jle,tue,Vle])).length;u<d;++u)if(((a=s[u])==tue||a==Vle||a==Jle)&&!QH(CN(i.a,a)?i.b[a.g]:null,15).dc()){Jat(t,e);break}for(h=0,A=(c=xst(jw(aue,1),IVt,227,0,[Yle,Zle,Wle,Jle,tue,Vle])).length;h<A;++h)(a=c[h])==tue||a==Vle||a==Jle||$Rt(t,QH(CN(i.a,a)?i.b[a.g]:null,15));for(l=0,f=(o=xst(jw(aue,1),IVt,227,0,[Yle,Zle,Wle,Jle,tue,Vle])).length;l<f;++l)((a=o[l])==tue||a==Vle||a==Jle)&&$Rt(t,QH(CN(i.a,a)?i.b[a.g]:null,15));t.a=null,Hxt(n)}function CKt(t,e){var n,r,i,a,o,s,c,l,u,h,f;switch(t.k.g){case 1:if(r=QH(bEt(t,(lqt(),dfe)),17),(n=QH(bEt(r,Afe),74))?Hy(TF(bEt(r,xfe)))&&(n=Yct(n)):n=new vv,l=QH(bEt(t,cfe),11)){if(e<=(u=Lct(xst(jw(EEe,1),cVt,8,0,[l.i.n,l.n,l.a]))).a)return u.b;n5(n,u,n.a,n.a.a)}if(h=QH(bEt(t,lfe),11)){if((f=Lct(xst(jw(EEe,1),cVt,8,0,[h.i.n,h.n,h.a]))).a<=e)return f.b;n5(n,f,n.c.b,n.c)}if(n.b>=2){for(o=QH(h4(c=cmt(n,0)),8),s=QH(h4(c),8);s.a<e&&c.b!=c.d.c;)o=s,s=QH(h4(c),8);return o.b+(e-o.a)/(s.a-o.a)*(s.b-o.b)}break;case 3:switch(i=(a=QH(bEt(QH(O$(t.j,0),11),(lqt(),dfe)),11)).i,a.j.g){case 1:return i.n.b;case 3:return i.n.b+i.o.b}}return QTt(t).b}function EKt(t){var e,n,r,i,a,o,s,c,l,h;for(a=new zd(t.d.b);a.a<a.c.c.length;)for(s=new zd(QH(J1(a),29).a);s.a<s.c.c.length;)!Hy(TF(bEt(o=QH(J1(s),10),(HXt(),Tpe))))||c4(ldt(o))?(i=new KV(o.n.a-o.d.b,o.n.b-o.d.d,o.o.a+o.d.b+o.d.c,o.o.b+o.d.d+o.d.a),e=BN(eE(ZC(tE(new zb,o),i),dle),t.a),_N(JC(znt(new Gb,xst(jw(hre,1),Hqt,57,0,[e])),e),t.a),c=new Nm,Xq(t.e,e,c),(n=R4(new oG(YO(udt(o).a.Kc(),new u)))-R4(new oG(YO(hdt(o).a.Kc(),new u))))<0?Gst(c,!0,(Qht(),P_e)):n>0&&Gst(c,!0,(Qht(),R_e)),o.k==(oxt(),kse)&&fV(c),Xq(t.f,o,e)):((l=(r=QH(eY(ldt(o)),17)).c.i)==o&&(l=r.d.i),h=new nS(l,GP(QM(o.n),l.n)),Xq(t.b,o,h))}function xKt(t,n,r){var i,a,o,s,c,l,u,h;switch(SCt(r,"Node promotion heuristic",1),t.g=n,vzt(t),t.q=QH(bEt(n,(HXt(),Cge)),260),h=QH(bEt(t.g,kge),19).a,o=new ur,t.q.g){case 2:case 1:default:Rjt(t,o);break;case 3:for(t.q=(cNt(),Bbe),Rjt(t,o),l=0,c=new zd(t.a);c.a<c.c.c.length;)s=QH(J1(c),19),l=e.Math.max(l,s.a);l>t.j&&(t.q=Tbe,Rjt(t,o));break;case 4:for(t.q=(cNt(),Bbe),Rjt(t,o),u=0,a=new zd(t.b);a.a<a.c.c.length;)i=kF(J1(a)),u=e.Math.max(u,(vq(i),i));u>t.k&&(t.q=Ebe,Rjt(t,o));break;case 6:Rjt(t,new op(xJ(e.Math.ceil(t.f.length*h/100))));break;case 5:Rjt(t,new sp(xJ(e.Math.ceil(t.d*h/100))))}sFt(t,n),Hxt(r)}function _Kt(t,e,n){var r,i,a,o;this.j=t,this.e=jkt(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?QH(O$(n,gq(this.o).p),214):null,i=QH(bEt(t,(lqt(),Yhe)),21),this.g=i.Hc((fFt(),uhe)),this.b=new Mm,this.d=new dpt(this.e),o=QH(bEt(this.j,Cfe),230),this.q=Hot(e,o,this.e),this.k=new iZ(this),a=a6(xst(jw(yle,1),Hqt,225,0,[this,this.d,this.k,this.q])),e!=(srt(),Bve)||Hy(TF(bEt(t,(HXt(),Ope))))?e==Bve&&Hy(TF(bEt(t,(HXt(),Ope))))?(r=new Gkt(this.e),a.c[a.c.length]=r,this.c=new git(r,o,QH(this.q,402))):this.c=new g_(e,this):(r=new Gkt(this.e),a.c[a.c.length]=r,this.c=new j2(r,o,QH(this.q,402))),zH(a,this.c),_jt(a,this.e),this.s=dXt(this.k)}function BKt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;for(f=(l=QH(eO(new fg(cmt(new hg(e).a.d,0))),86))?QH(bEt(l,(j$t(),rwe)),86):null,i=1;l&&f;){for(o=0,b=0,n=l,r=f,a=0;a<i;a++)n=j9(n),r=j9(r),b+=jy(kF(bEt(n,(j$t(),owe)))),o+=jy(kF(bEt(r,owe)));if(m=jy(kF(bEt(f,(j$t(),lwe)))),g=jy(kF(bEt(l,lwe))),u=w5(l,f),0<(h=m+o+t.a+u-g-b)){for(s=e,c=0;s&&s!=r;)++c,s=QH(bEt(s,iwe),86);if(!s)return;for(p=h/c,s=e;s!=r;)A=jy(kF(bEt(s,lwe)))+h,lct(s,lwe,A),d=jy(kF(bEt(s,owe)))+h,lct(s,owe,d),h-=p,s=QH(bEt(s,iwe),86)}++i,f=(l=0==l.d.b?JRt(new hg(e),i):QH(eO(new fg(cmt(new hg(l).a.d,0))),86))?QH(bEt(l,rwe),86):null}}function SKt(t,e){var n,r,i,a,o,s,c,l,h;for(s=!0,i=0,c=t.f[e.p],l=e.o.b+t.n,n=t.c[e.p][2],r5(t.a,c,nft(QH(O$(t.a,c),19).a-1+n)),r5(t.b,c,jy(kF(O$(t.b,c)))-l+n*t.e),++c>=t.i?(++t.i,zH(t.a,nft(1)),zH(t.b,l)):(r=t.c[e.p][1],r5(t.a,c,nft(QH(O$(t.a,c),19).a+1-r)),r5(t.b,c,jy(kF(O$(t.b,c)))+l-r*t.e)),(t.q==(cNt(),Tbe)&&(QH(O$(t.a,c),19).a>t.j||QH(O$(t.a,c-1),19).a>t.j)||t.q==Ebe&&(jy(kF(O$(t.b,c)))>t.k||jy(kF(O$(t.b,c-1)))>t.k))&&(s=!1),a=new oG(YO(udt(e).a.Kc(),new u));AIt(a);)o=QH(K5(a),17).c.i,t.f[o.p]==c&&(i+=QH((h=SKt(t,o)).a,19).a,s=s&&Hy(TF(h.b)));return t.f[e.p]=c,new nS(nft(i+=t.c[e.p][0]),(cN(),!!s))}function LKt(t,n,r,i,a){var o,s,c,l,u,h,f,d,A,p,g,m,b;for(f=new Om,s=new Mm,rSt(t,r,t.d.fg(),s,f),rSt(t,i,t.d.gg(),s,f),t.b=.2*(g=UIt(ftt(new D$(null,new f1(s,16)),new _o)),m=UIt(ftt(new D$(null,new f1(s,16)),new Bo)),e.Math.min(g,m)),o=0,c=0;c<s.c.length-1;c++)for(u1(c,s.c.length),l=QH(s.c[c],112),p=c+1;p<s.c.length;p++)o+=pjt(t,l,(u1(p,s.c.length),QH(s.c[p],112)));for(d=QH(bEt(n,(lqt(),Cfe)),230),o>=2&&(b=VOt(s,!0,d),!t.e&&(t.e=new ug(t)),cgt(t.e,b,s,t.b)),nCt(s,d),iGt(s),A=-1,h=new zd(s);h.a<h.c.c.length;)u=QH(J1(h),112),e.Math.abs(u.s-u.c)<hZt||(A=e.Math.max(A,u.o),t.d.dg(u,a,t.c));return t.d.a.a.$b(),A+1}function IKt(t,e){var n,r;jy(kF(bEt(e,(HXt(),bme))))<2&&lct(e,bme,2),QH(bEt(e,Kpe),103)==(Qht(),Q_e)&&lct(e,Kpe,Xft(e)),0==(n=QH(bEt(e,fme),19)).a?lct(e,(lqt(),Cfe),new cdt):lct(e,(lqt(),Cfe),new x3(n.a)),null==TF(bEt(e,Oge))&&lct(e,Oge,(cN(),jS(bEt(e,Ype))===jS((Cdt(),q_e)))),WC(new D$(null,new f1(e.a,16)),new DA(t)),WC(ftt(new D$(null,new f1(e.b,16)),new be),new FA(t)),r=new cKt(e),lct(e,(lqt(),Sfe),r),c2(t.a),xz(t.a,(vEt(),Doe),QH(bEt(e,jpe),246)),xz(t.a,Foe,QH(bEt(e,Ege),246)),xz(t.a,Poe,QH(bEt(e,Hpe),246)),xz(t.a,Roe,QH(bEt(e,Pge),246)),xz(t.a,Qoe,Eot(QH(bEt(e,Ype),218))),iI(t.a,MXt(e)),lct(e,kfe,I$t(t.a,e))}function MKt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;return f=t.c[e],d=t.c[n],!((A=QH(bEt(f,(lqt(),rfe)),15))&&0!=A.gc()&&A.Hc(d)||(p=f.k!=(oxt(),Ese)&&d.k!=Ese,b=(g=QH(bEt(f,nfe),10))!=(m=QH(bEt(d,nfe),10)),v=!!g&&g!=f||!!m&&m!=d,y=svt(f,(yzt(),sSe)),w=svt(d,CSe),v|=svt(f,CSe)||svt(d,sSe),p&&(v&&b||y||w))||f.k==(oxt(),_se)&&d.k==xse||d.k==(oxt(),_se)&&f.k==xse)&&(u=t.c[e],a=t.c[n],i=uTt(t.e,u,a,(yzt(),xSe)),c=uTt(t.i,u,a,oSe),kNt(t.f,u,a),l=Olt(t.b,u,a)+QH(i.a,19).a+QH(c.a,19).a+t.f.d,s=Olt(t.b,a,u)+QH(i.b,19).a+QH(c.b,19).a+t.f.b,t.a&&(h=QH(bEt(u,dfe),11),o=QH(bEt(a,dfe),11),l+=QH((r=jyt(t.g,h,o)).a,19).a,s+=QH(r.b,19).a),l>s)}function OKt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(r=QH(bEt(t,(HXt(),tme)),98),s=t.f,o=t.d,c=s.a+o.b+o.c,l=0-o.d-t.c.b,h=s.b+o.d+o.a-t.c.b,u=new Mm,f=new Mm,a=new zd(n);a.a<a.c.c.length;){switch(i=QH(J1(a),10),r.g){case 1:case 2:case 3:RNt(i);break;case 4:A=(d=QH(bEt(i,Jge),8))?d.a:0,i.n.a=c*jy(kF(bEt(i,(lqt(),Tfe))))-A,Yot(i,!0,!1);break;case 5:g=(p=QH(bEt(i,Jge),8))?p.a:0,i.n.a=jy(kF(bEt(i,(lqt(),Tfe))))-g,Yot(i,!0,!1),s.a=e.Math.max(s.a,i.n.a+i.o.a/2)}switch(QH(bEt(i,(lqt(),qhe)),61).g){case 1:i.n.b=l,u.c[u.c.length]=i;break;case 3:i.n.b=h,f.c[f.c.length]=i}}switch(r.g){case 1:case 2:Fht(u,t),Fht(f,t);break;case 3:Pht(u,t),Pht(f,t)}}function NKt(t,e){var n,r,i,a,o,s,c,l,u,h;for(u=new Mm,h=new Im,a=null,i=0,r=0;r<e.length;++r)switch(Flt(a,n=e[r])&&(i=_pt(t,h,u,Fve,i)),ID(n,(lqt(),nfe))&&(a=QH(bEt(n,nfe),10)),n.k.g){case 0:for(c=HI(FH(adt(n,(yzt(),sSe)),new Da));Jrt(c);)o=QH(E7(c),11),t.d[o.p]=i++,u.c[u.c.length]=o;for(i=_pt(t,h,u,Fve,i),l=HI(FH(adt(n,CSe),new Da));Jrt(l);)o=QH(E7(l),11),t.d[o.p]=i++,u.c[u.c.length]=o;break;case 3:adt(n,Dve).dc()||(o=QH(adt(n,Dve).Xb(0),11),t.d[o.p]=i++,u.c[u.c.length]=o),adt(n,Fve).dc()||d4(h,n);break;case 1:for(s=adt(n,(yzt(),xSe)).Kc();s.Ob();)o=QH(s.Pb(),11),t.d[o.p]=i++,u.c[u.c.length]=o;adt(n,oSe).Jc(new Y_(h,n))}return _pt(t,h,u,Fve,i),u}function DKt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;for(u=FWt,h=FWt,c=PWt,l=PWt,d=new zd(n.i);d.a<d.c.c.length;)f=QH(J1(d),65),CI(a=QH(QH(DX(t.g,f.a),46).b,33),f.b.c,f.b.d),u=e.Math.min(u,a.i),h=e.Math.min(h,a.j),c=e.Math.max(c,a.i+a.g),l=e.Math.max(l,a.j+a.f);for(A=QH(JIt(t.c,(CEt(),hCe)),116),Pzt(t.c,c-u+(A.b+A.c),l-h+(A.d+A.a),!0,!0),hEt(t.c,-u+A.b,-h+A.d),i=new SO(eW(t.c));i.e!=i.i.gc();)s=iFt(r=QH(ymt(i),79),!0,!0),p=xEt(r),m=SEt(r),g=new OB(p.i+p.g/2,p.j+p.f/2),o=new OB(m.i+m.g/2,m.j+m.f/2),Gwt(b=GP(new OB(o.a,o.b),g),p.g,p.f),KP(g,b),Gwt(v=GP(new OB(g.a,g.b),o),m.g,m.f),KP(o,v),xI(s,g.a,g.b),EI(s,o.a,o.b)}function FKt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d;if(t.c=t.d,f=null==(d=TF(bEt(e,(HXt(),dme))))||(vq(d),d),a=QH(bEt(e,(lqt(),Yhe)),21).Hc((fFt(),uhe)),n=!((i=QH(bEt(e,tme),98))==(Vkt(),KBe)||i==zBe||i==GBe),!f||!n&&a)h=new Wy(xst(jw(yse,1),YZt,37,0,[e]));else{for(u=new zd(e.a);u.a<u.c.c.length;)QH(J1(u),10).p=0;for(h=new Mm,l=new zd(e.a);l.a<l.c.c.length;)if(r=MQt(t,QH(J1(l),10),null)){for(jot(c=new brt,e),lct(c,Ghe,QH(r.b,21)),vW(c.d,e.d),lct(c,Uge,null),s=QH(r.a,15).Kc();s.Ob();)o=QH(s.Pb(),10),zH(c.a,o),o.a=c;h.Fc(c)}a&&(jS(bEt(e,xpe))===jS((Uht(),use))?t.c=t.b:t.c=t.a)}return jS(bEt(e,xpe))!==jS((Uht(),fse))&&(CW(),h.ad(new Ne)),h}function PKt(t){ME(t,new CCt(mT(dT(gT(fT(pT(AT(new gs,V4t),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new Do),W4t),Zft((lIt(),VLe))))),a2(t,V4t,VJt,Bwe),a2(t,V4t,mZt,20),a2(t,V4t,qJt,AZt),a2(t,V4t,gZt,nft(1)),a2(t,V4t,yZt,(cN(),!0)),a2(t,V4t,z2t,bmt(wwe)),a2(t,V4t,xZt,bmt(kwe)),a2(t,V4t,UZt,bmt(Cwe)),a2(t,V4t,EZt,bmt(Ewe)),a2(t,V4t,_Zt,bmt(Twe)),a2(t,V4t,CZt,bmt(xwe)),a2(t,V4t,BZt,bmt(Swe)),a2(t,V4t,z4t,bmt(Nwe)),a2(t,V4t,X4t,bmt(Iwe))}function RKt(t){t.q||(t.q=!0,t.p=yot(t,0),t.a=yot(t,1),Pit(t.a,0),t.f=yot(t,2),Pit(t.f,1),Fit(t.f,2),t.n=yot(t,3),Fit(t.n,3),Fit(t.n,4),Fit(t.n,5),Fit(t.n,6),t.g=yot(t,4),Pit(t.g,7),Fit(t.g,8),t.c=yot(t,5),Pit(t.c,7),Pit(t.c,8),t.i=yot(t,6),Pit(t.i,9),Pit(t.i,10),Pit(t.i,11),Pit(t.i,12),Fit(t.i,13),t.j=yot(t,7),Pit(t.j,9),t.d=yot(t,8),Pit(t.d,3),Pit(t.d,4),Pit(t.d,5),Pit(t.d,6),Fit(t.d,7),Fit(t.d,8),Fit(t.d,9),Fit(t.d,10),t.b=yot(t,9),Fit(t.b,0),Fit(t.b,1),t.e=yot(t,10),Fit(t.e,1),Fit(t.e,2),Fit(t.e,3),Fit(t.e,4),Pit(t.e,5),Pit(t.e,6),Pit(t.e,7),Pit(t.e,8),Pit(t.e,9),Pit(t.e,10),Fit(t.e,11),t.k=yot(t,11),Fit(t.k,0),Fit(t.k,1),t.o=wot(t,12),t.s=wot(t,13))}function QKt(t,e){e.dc()&&tj(t.j,!0,!0,!0,!0),Oht(e,(yzt(),dSe))&&tj(t.j,!0,!0,!0,!1),Oht(e,cSe)&&tj(t.j,!1,!0,!0,!0),Oht(e,wSe)&&tj(t.j,!0,!0,!1,!0),Oht(e,kSe)&&tj(t.j,!0,!1,!0,!0),Oht(e,ASe)&&tj(t.j,!1,!0,!0,!1),Oht(e,lSe)&&tj(t.j,!1,!0,!1,!0),Oht(e,TSe)&&tj(t.j,!0,!1,!1,!0),Oht(e,ySe)&&tj(t.j,!0,!1,!0,!1),Oht(e,bSe)&&tj(t.j,!0,!0,!0,!0),Oht(e,hSe)&&tj(t.j,!0,!0,!0,!0),Oht(e,bSe)&&tj(t.j,!0,!0,!0,!0),Oht(e,uSe)&&tj(t.j,!0,!0,!0,!0),Oht(e,vSe)&&tj(t.j,!0,!0,!0,!0),Oht(e,mSe)&&tj(t.j,!0,!0,!0,!0),Oht(e,gSe)&&tj(t.j,!0,!0,!0,!0)}function UKt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g;for(a=new Mm,l=new zd(r);l.a<l.c.c.length;)if(o=null,(s=QH(J1(l),441)).f==(art(),Hbe))for(A=new zd(s.e);A.a<A.c.c.length;)gq(g=(d=QH(J1(A),17)).d.i)==e?Eet(t,e,s,d,s.b,d.d):!n||dot(g,n)?$Et(t,e,s,r,d):((f=Mjt(t,e,n,d,s.b,Hbe,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f));else for(h=new zd(s.e);h.a<h.c.c.length;)if(gq(p=(u=QH(J1(h),17)).c.i)==e)Eet(t,e,s,u,u.c,s.b);else{if(!n||dot(p,n))continue;(f=Mjt(t,e,n,u,s.b,Ube,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f)}for(c=new zd(a);c.a<c.c.c.length;)s=QH(J1(c),441),-1!=w7(e.a,s.a,0)||zH(e.a,s.a),s.c&&(i.c[i.c.length]=s)}function HKt(t,e,n){var r,i,a,o,s,c,l,u;for(c=new Mm,s=new zd(e.a);s.a<s.c.c.length;)for(u=adt(QH(J1(s),10),(yzt(),oSe)).Kc();u.Ob();)for(i=new zd(QH(u.Pb(),11).g);i.a<i.c.c.length;)!h5(r=QH(J1(i),17))&&r.c.i.c==r.d.i.c||h5(r)||r.d.i.c!=n||(c.c[c.c.length]=r);for(o=eot(n.a).Kc();o.Ob();)for(u=adt(QH(o.Pb(),10),(yzt(),xSe)).Kc();u.Ob();)for(i=new zd(QH(u.Pb(),11).e);i.a<i.c.c.length;)if((h5(r=QH(J1(i),17))||r.c.i.c!=r.d.i.c)&&!h5(r)&&r.c.i.c==e){for(ED((l=new k2(c,c.c.length)).b>0),a=QH(l.a.Xb(l.c=--l.b),17);a!=r&&l.b>0;)t.a[a.p]=!0,t.a[r.p]=!0,ED(l.b>0),a=QH(l.a.Xb(l.c=--l.b),17);l.b>0&&lq(l)}}function jKt(t,e,n){var r,i,a,o,s,c,l,u,h;if(t.a!=e.Aj())throw Um(new Py(A6t+e.ne()+p6t));if(r=_ht((B_t(),WMe),e).$k())return r.Aj().Nh().Ih(r,n);if(o=_ht(WMe,e).al()){if(null==n)return null;if((s=QH(n,15)).dc())return"";for(h=new Cw,a=s.Kc();a.Ob();)i=a.Pb(),rL(h,o.Aj().Nh().Ih(o,i)),h.a+=" ";return FL(h,h.a.length-1)}if(!(u=_ht(WMe,e).bl()).dc()){for(l=u.Kc();l.Ob();)if((c=QH(l.Pb(),148)).wj(n))try{if(null!=(h=c.Aj().Nh().Ih(c,n)))return h}catch(t){if(!rO(t=hst(t),102))throw Um(t)}throw Um(new Py("Invalid value: '"+n+"' for datatype :"+e.ne()))}return QH(e,834).Fj(),null==n?null:rO(n,172)?""+QH(n,172).a:tlt(n)==bee?UM(_Le[0],QH(n,199)):Udt(n)}function $Kt(t){var n,r,i,a,o,s,c,l,u;for(l=new VC,s=new VC,a=new zd(t);a.a<a.c.c.length;)(r=QH(J1(a),128)).v=0,r.n=r.i.c.length,r.u=r.t.c.length,0==r.n&&n5(l,r,l.c.b,l.c),0==r.u&&0==r.r.a.gc()&&n5(s,r,s.c.b,s.c);for(o=-1;0!=l.b;)for(n=new zd((r=QH(twt(l,0),128)).t);n.a<n.c.c.length;)(u=QH(J1(n),268).b).v=e.Math.max(u.v,r.v+1),o=e.Math.max(o,u.v),--u.n,0==u.n&&n5(l,u,l.c.b,l.c);if(o>-1){for(i=cmt(s,0);i.b!=i.d.c;)(r=QH(h4(i),128)).v=o;for(;0!=s.b;)for(n=new zd((r=QH(twt(s,0),128)).i);n.a<n.c.c.length;)0==(c=QH(J1(n),268).a).r.a.gc()&&(c.v=e.Math.min(c.v,r.v-1),--c.u,0==c.u&&n5(s,c,s.c.b,s.c))}}function KKt(t,n,r,i,a){var o,s,c,l;return l=FWt,s=!1,o=!!(c=KHt(t,GP(new OB(n.a,n.b),t),KP(new OB(r.a,r.b),a),GP(new OB(i.a,i.b),r)))&&!(e.Math.abs(c.a-t.a)<=c5t&&e.Math.abs(c.b-t.b)<=c5t||e.Math.abs(c.a-n.a)<=c5t&&e.Math.abs(c.b-n.b)<=c5t),(c=KHt(t,GP(new OB(n.a,n.b),t),r,a))&&((e.Math.abs(c.a-t.a)<=c5t&&e.Math.abs(c.b-t.b)<=c5t)==(e.Math.abs(c.a-n.a)<=c5t&&e.Math.abs(c.b-n.b)<=c5t)||o?l=e.Math.min(l,uq(GP(c,r))):s=!0),(c=KHt(t,GP(new OB(n.a,n.b),t),i,a))&&(s||(e.Math.abs(c.a-t.a)<=c5t&&e.Math.abs(c.b-t.b)<=c5t)==(e.Math.abs(c.a-n.a)<=c5t&&e.Math.abs(c.b-n.b)<=c5t)||o)&&(l=e.Math.min(l,uq(GP(c,i)))),l}function GKt(t){ME(t,new CCt(dT(gT(fT(pT(AT(new gs,RZt),QZt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new pe),pZt))),a2(t,RZt,wZt,bmt(voe)),a2(t,RZt,kZt,(cN(),!0)),a2(t,RZt,xZt,bmt(Toe)),a2(t,RZt,UZt,bmt(koe)),a2(t,RZt,EZt,bmt(Coe)),a2(t,RZt,_Zt,bmt(woe)),a2(t,RZt,CZt,bmt(Eoe)),a2(t,RZt,BZt,bmt(xoe)),a2(t,RZt,OZt,bmt(boe)),a2(t,RZt,DZt,bmt(goe)),a2(t,RZt,FZt,bmt(moe)),a2(t,RZt,PZt,bmt(yoe)),a2(t,RZt,NZt,bmt(poe))}function zKt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(SCt(e,"Interactive crossing minimization",1),o=0,a=new zd(t.b);a.a<a.c.c.length;)(r=QH(J1(a),29)).p=o++;for(p=new DT((f=jkt(t)).length),_jt(new Wy(xst(jw(yle,1),Hqt,225,0,[p])),f),A=0,o=0,i=new zd(t.b);i.a<i.c.c.length;){for(n=0,h=0,u=new zd((r=QH(J1(i),29)).a);u.a<u.c.c.length;)for((c=QH(J1(u),10)).n.a>0&&(n+=c.n.a+c.o.a/2,++h),d=new zd(c.j);d.a<d.c.c.length;)QH(J1(d),11).p=A++;for(h>0&&(n/=h),g=O9(MNe,jWt,25,r.a.c.length,15,1),s=0,l=new zd(r.a);l.a<l.c.c.length;)(c=QH(J1(l),10)).p=s++,g[c.p]=CKt(c,n),c.k==(oxt(),Ese)&&lct(c,(lqt(),pfe),g[c.p]);CW(),mM(r.a,new jp(g)),rQt(p,f,o,!0),++o}Hxt(e)}function XKt(t,e){var n,r,i,a,o,s,c,l,u;if(5!=e.e){if(null!=(l=e).b&&null!=t.b){for(kMt(t),jjt(t),kMt(l),jjt(l),n=O9(BNe,lWt,25,t.b.length+l.b.length,15,1),u=0,r=0,o=0;r<t.b.length&&o<l.b.length;)if(i=t.b[r],a=t.b[r+1],s=l.b[o],c=l.b[o+1],a<s)n[u++]=t.b[r++],n[u++]=t.b[r++];else if(a>=s&&i<=c)s<=i&&a<=c?r+=2:s<=i?(t.b[r]=c+1,o+=2):a<=c?(n[u++]=i,n[u++]=s-1,r+=2):(n[u++]=i,n[u++]=s-1,t.b[r]=c+1,o+=2);else{if(!(c<i))throw Um(new dy("Token#subtractRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] - ["+l.b[o]+","+l.b[o+1]+"]"));o+=2}for(;r<t.b.length;)n[u++]=t.b[r++],n[u++]=t.b[r++];t.b=O9(BNe,lWt,25,u,15,1),ajt(n,0,t.b,0,u)}}else yKt(t,e)}function qKt(t){var e,n,r,i,a,o,s;if(!t.A.dc()){if(t.A.Hc((bpt(),FSe))&&(QH(oV(t.b,(yzt(),sSe)),124).k=!0,QH(oV(t.b,CSe),124).k=!0,e=t.q!=(Vkt(),zBe)&&t.q!=GBe,Mf(QH(oV(t.b,oSe),124),e),Mf(QH(oV(t.b,xSe),124),e),Mf(t.g,e),t.A.Hc(PSe)&&(QH(oV(t.b,sSe),124).j=!0,QH(oV(t.b,CSe),124).j=!0,QH(oV(t.b,oSe),124).k=!0,QH(oV(t.b,xSe),124).k=!0,t.g.k=!0)),t.A.Hc(DSe))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,s=t.B.Hc((ZRt(),GSe)),a=0,o=(i=tmt()).length;a<o;++a)r=i[a],(n=QH(oV(t.i,r),306))&&(agt(r)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));t.A.Hc(NSe)&&t.B.Hc((ZRt(),KSe))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}function VKt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p;for(n=new zd(t.e.b);n.a<n.c.c.length;)for(i=new zd(QH(J1(n),29).a);i.a<i.c.c.length;)if(r=QH(J1(i),10),c=(h=t.i[r.p]).a.e,s=h.d.e,r.n.b=c,p=s-c-r.o.b,e=Ljt(r),fbt(),u=(r.q?r.q:(CW(),CW(),lne))._b((HXt(),Dge))?QH(bEt(r,Dge),197):QH(bEt(gq(r),Fge),197),e&&(u==lbe||u==cbe)&&(r.o.b+=p),e&&(u==hbe||u==lbe||u==cbe)){for(d=new zd(r.j);d.a<d.c.c.length;)f=QH(J1(d),11),(yzt(),hSe).Hc(f.j)&&(l=QH(DX(t.k,f),121),f.n.b=l.e-c);for(o=new zd(r.b);o.a<o.c.c.length;)a=QH(J1(o),70),(A=QH(bEt(r,Lge),21)).Hc((ZIt(),MBe))?a.n.b+=p:A.Hc(OBe)&&(a.n.b+=p/2);(u==lbe||u==cbe)&&adt(r,(yzt(),CSe)).Jc(new ig(p))}}function WKt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;if(!t.b)return!1;for(o=null,f=null,i=1,(c=new U9(null,null)).a[1]=t.b,h=c;h.a[i];)l=i,s=f,f=h,h=h.a[i],i=(r=t.a.ue(e,h.d))<0?0:1,0==r&&(!n.c||rV(h.e,n.d))&&(o=h),h&&h.b||Xy(h.a[i])||(Xy(h.a[1-i])?f=f.a[l]=dit(h,i):Xy(h.a[1-i])||(d=f.a[1-l])&&(Xy(d.a[1-l])||Xy(d.a[l])?(a=s.a[1]==f?1:0,Xy(d.a[l])?s.a[a]=n2(f,l):Xy(d.a[1-l])&&(s.a[a]=dit(f,l)),h.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1):(f.b=!1,d.b=!0,h.b=!0)));return o&&(n.b=!0,n.d=o.e,h!=o&&(fEt(t,c,o,u=new U9(h.d,h.e)),f==o&&(f=u)),f.a[f.a[1]==h?1:0]=h.a[h.a[0]?0:1],--t.c),t.b=c.a[1],t.b&&(t.b.b=!1),n.b}function YKt(t){var n,r,i,a,o,s,c,l,u,h,f,d;for(a=new zd(t.a.a.b);a.a<a.c.c.length;)for(l=(i=QH(J1(a),57)).c.Kc();l.Ob();)c=QH(l.Pb(),57),i.a!=c.a&&(f=dI(t.a.d)?t.a.g.Oe(i,c):t.a.g.Pe(i,c),o=i.b.a+i.d.b+f-c.b.a,o=e.Math.ceil(o),o=e.Math.max(0,o),Y7(i,c)?(s=SN(new Hb,t.d),n=(u=xJ(e.Math.ceil(c.b.a-i.b.a)))-(c.b.a-i.b.a),r=i,(h=l4(i).a)||(h=l4(c).a,n=-n,r=c),h&&(r.b.a-=n,h.n.a-=n),GNt(iE(rE(aE(nE(new Ub,e.Math.max(0,u)),1),s),t.c[i.a.d])),GNt(iE(rE(aE(nE(new Ub,e.Math.max(0,-u)),1),s),t.c[c.a.d]))):(d=1,(rO(i.g,145)&&rO(c.g,10)||rO(c.g,145)&&rO(i.g,10))&&(d=2),GNt(iE(rE(aE(nE(new Ub,xJ(o)),d),t.c[i.a.d]),t.c[c.a.d]))))}function JKt(t,n,r){var i,a,o,s,c,l,u,h,f,d;if(r)for(i=-1,h=new k2(n,0);h.b<h.d.gc();){if(ED(h.b<h.d.gc()),c=QH(h.d.Xb(h.c=h.b++),10),null==(f=t.c[c.c.p][c.p].a)){for(s=i+1,o=new k2(n,h.b);o.b<o.d.gc();)if(null!=(d=fO(t,(ED(o.b<o.d.gc()),QH(o.d.Xb(o.c=o.b++),10))).a)){vq(d),s=d;break}f=(i+s)/2,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=(vq(f),f),t.c[c.c.p][c.p].b=1}vq(f),i=f}else{for(a=0,u=new zd(n);u.a<u.c.c.length;)c=QH(J1(u),10),null!=t.c[c.c.p][c.p].a&&(a=e.Math.max(a,jy(t.c[c.c.p][c.p].a)));for(a+=2,l=new zd(n);l.a<l.c.c.length;)c=QH(J1(l),10),null==t.c[c.c.p][c.p].a&&(f=HMt(t.i,24)*oYt*a-1,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=f,t.c[c.c.p][c.p].b=1)}}function ZKt(){DL(RIe,new el),DL(DIe,new fl),DL(UIe,new kl),DL(QIe,new Sl),DL(HIe,new Ll),DL(KIe,new Il),DL(GIe,new Ml),DL(QLe,new Ol),DL(RLe,new Gc),DL(ULe,new zc),DL(LLe,new Xc),DL(XIe,new qc),DL(HLe,new Vc),DL(qIe,new Wc),DL(VIe,new Yc),DL(PIe,new Jc),DL(FIe,new Zc),DL(KMe,new tl),DL(zIe,new nl),DL(_Me,new rl),DL(yee,new il),DL(jw(INe,1),new al),DL(kee,new ol),DL(Eee,new sl),DL(bee,new cl),DL(FNe,new ll),DL(xee,new ul),DL(iIe,new hl),DL(mIe,new dl),DL(uOe,new Al),DL(SMe,new pl),DL(_ee,new gl),DL(Lee,new ml),DL(Ite,new bl),DL(Fee,new vl),DL(Ote,new yl),DL(tOe,new wl),DL(PNe,new Tl),DL(Ree,new Cl),DL(Vee,new El),DL(cIe,new xl),DL(RNe,new _l)}function tGt(t,e,n){var r,i,a,o,s,c,l,u,h;for(!n&&(n=$st(e.q.getTimezoneOffset())),i=6e4*(e.q.getTimezoneOffset()-n.a),c=s=new EF(rdt(uot(e.q.getTime()),i)),s.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,c=new EF(rdt(uot(e.q.getTime()),i))),u=new _w,l=t.a.length,a=0;a<l;)if((r=lV(t.a,a))>=97&&r<=122||r>=65&&r<=90){for(o=a+1;o<l&&lV(t.a,o)==r;++o);aqt(u,r,o-a,s,c,n),a=o}else if(39==r){if(++a<l&&39==lV(t.a,a)){u.a+="'",++a;continue}for(h=!1;!h;){for(o=a;o<l&&39!=lV(t.a,o);)++o;if(o>=l)throw Um(new Py("Missing trailing '"));o+1<l&&39==lV(t.a,o+1)?++o:h=!0,oL(u,lD(t.a,a,o)),a=o+1}}else u.a+=String.fromCharCode(r),++a;return u.a}function eGt(t){var e,n,r,i,a,o,s,c;for(e=null,r=new zd(t);r.a<r.c.c.length;)jy(uO((n=QH(J1(r),233)).g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&0==n.c&&(!e&&(e=new Mm),e.c[e.c.length]=n);if(e)for(;0!=e.c.length;){if((n=QH(s6(e,0),233)).b&&n.b.c.length>0)for(!n.b&&(n.b=new Mm),a=new zd(n.b);a.a<a.c.c.length;)if($y(uO((i=QH(J1(a),233)).g,i.d[0]).a)==$y(uO(n.g,n.d[0]).a)){if(w7(t,i,0)>w7(t,n,0))return new nS(i,n)}else if(jy(uO(i.g,i.d[0]).a)>jy(uO(n.g,n.d[0]).a))return new nS(i,n);for(s=(!n.e&&(n.e=new Mm),n.e).Kc();s.Ob();)!(o=QH(s.Pb(),233)).b&&(o.b=new Mm),IZ(0,(c=o.b).c.length),kx(c.c,0,n),o.c==c.c.length&&(e.c[e.c.length]=o)}return null}function nGt(t,e){var n,r,i,a,o,s;if(null==t)return Kqt;if(null!=e.a.zc(t,e))return"[...]";for(n=new Iot(Qqt,"[","]"),a=0,o=(i=t).length;a<o;++a)null!=(r=i[a])&&0!=(4&tlt(r).i)?!Array.isArray(r)||(s=gtt(r))>=14&&s<=16?rO(r,177)?h6(n,FBt(QH(r,177))):rO(r,190)?h6(n,Ykt(QH(r,190))):rO(r,195)?h6(n,yxt(QH(r,195))):rO(r,2012)?h6(n,Jkt(QH(r,2012))):rO(r,48)?h6(n,DBt(QH(r,48))):rO(r,364)?h6(n,pSt(QH(r,364))):rO(r,832)?h6(n,NBt(QH(r,832))):rO(r,104)&&h6(n,OBt(QH(r,104))):e.a._b(r)?(n.a?oL(n.a,n.b):n.a=new uN(n.d),iL(n.a,"[...]")):h6(n,nGt(ent(r),new L$(e))):h6(n,null==r?Kqt:Udt(r));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function rGt(t,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g;for(A=jxt(iFt(n,!1,!1)),i&&(A=Yct(A)),g=jy(kF(JIt(n,(Tmt(),pae)))),ED(0!=A.b),d=QH(A.a.a.c,8),u=QH(Dmt(A,1),8),A.b>2?(pst(l=new Mm,new s1(A,1,A.b)),jot(p=new TIt(zXt(l,g+t.a)),n),r.c[r.c.length]=p):p=QH(DX(t.b,i?xEt(n):SEt(n)),266),s=xEt(n),i&&(s=SEt(n)),o=n_t(d,s),c=g+t.a,o.a?(c+=e.Math.abs(d.b-u.b),f=new OB(u.a,(u.b+d.b)/2)):(c+=e.Math.abs(d.a-u.a),f=new OB((u.a+d.a)/2,u.b)),Xq(i?t.d:t.c,n,new Bvt(p,o,f,c)),Xq(t.b,n,p),!n.n&&(n.n=new tz(jLe,n,1,7)),h=new SO(n.n);h.e!=h.i.gc();)a=YPt(t,QH(ymt(h),137),!0,0,0),r.c[r.c.length]=a}function iGt(t){var n,r,i,a,o,s,c,l,u;for(l=new Mm,s=new Mm,o=new zd(t);o.a<o.c.c.length;)Xf(i=QH(J1(o),112),i.f.c.length),qf(i,i.k.c.length),0==i.d&&(l.c[l.c.length]=i),0==i.i&&0==i.e.b&&(s.c[s.c.length]=i);for(r=-1;0!=l.c.length;)for(n=new zd((i=QH(s6(l,0),112)).k);n.a<n.c.c.length;)Vf(u=QH(J1(n),129).b,e.Math.max(u.o,i.o+1)),r=e.Math.max(r,u.o),Xf(u,u.d-1),0==u.d&&(l.c[l.c.length]=u);if(r>-1){for(a=new zd(s);a.a<a.c.c.length;)(i=QH(J1(a),112)).o=r;for(;0!=s.c.length;)for(n=new zd((i=QH(s6(s,0),112)).f);n.a<n.c.c.length;)(c=QH(J1(n),129).a).e.b>0||(Vf(c,e.Math.min(c.o,i.o-1)),qf(c,c.i-1),0==c.i&&(s.c[s.c.length]=c))}}function aGt(t,e,n){var r,i,a,o,s;if(s=t.c,!e&&(e=LMe),t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&(o=new JG(t,1,2,s,t.c),n?n.Ei(o):n=o),s!=e)if(rO(t.Cb,284))t.Db>>16==-10?n=QH(t.Cb,284).nk(e,n):t.Db>>16==-15&&(!e&&(pqt(),e=lMe),!s&&(pqt(),s=lMe),t.Cb.nh()&&(o=new M7(t.Cb,1,13,s,e,obt(U7(QH(t.Cb,59)),t),!1),n?n.Ei(o):n=o));else if(rO(t.Cb,88))t.Db>>16==-23&&(rO(e,88)||(pqt(),e=fMe),rO(s,88)||(pqt(),s=fMe),t.Cb.nh()&&(o=new M7(t.Cb,1,10,s,e,obt(i3(QH(t.Cb,26)),t),!1),n?n.Ei(o):n=o));else if(rO(t.Cb,444))for(!(a=QH(t.Cb,836)).b&&(a.b=new Tm(new Ov)),i=new km(new olt(new Ed(a.b.a).a));i.a.b;)n=aGt(r=QH(tnt(i.a).cd(),87),yOt(r,a),n);return n}function oGt(t,e){var n,r,i,a,o,s,c,l,u,h,f;for(o=Hy(TF(JIt(t,(HXt(),fge)))),f=QH(JIt(t,rme),21),c=!1,l=!1,h=new SO((!t.c&&(t.c=new tz(KLe,t,9,9)),t.c));!(h.e==h.i.gc()||c&&l);){for(a=QH(ymt(h),118),s=0,i=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[(!a.d&&(a.d=new cR(FLe,a,8,5)),a.d),(!a.e&&(a.e=new cR(FLe,a,7,4)),a.e)])));AIt(i)&&(r=QH(K5(i),79),u=o&&VSt(r)&&Hy(TF(JIt(r,dge))),n=f$t((!r.b&&(r.b=new cR(DLe,r,4,7)),r.b),a)?t==WJ(xCt(QH(Xet((!r.c&&(r.c=new cR(DLe,r,5,8)),r.c),0),82))):t==WJ(xCt(QH(Xet((!r.b&&(r.b=new cR(DLe,r,4,7)),r.b),0),82))),!((u||n)&&++s>1)););(s>0||f.Hc((hSt(),tSe))&&(!a.n&&(a.n=new tz(jLe,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(l=!0)}c&&e.Fc((fFt(),uhe)),l&&e.Fc((fFt(),hhe))}function sGt(t){var n,r,i,a,o,s,c,l,u,h,f,d;if((d=QH(JIt(t,(cqt(),Fxe)),21)).dc())return null;if(c=0,s=0,d.Hc((bpt(),FSe))){for(h=QH(JIt(t,a_e),98),i=2,r=2,a=2,o=2,n=WJ(t)?QH(JIt(WJ(t),hxe),103):QH(JIt(t,hxe),103),u=new SO((!t.c&&(t.c=new tz(KLe,t,9,9)),t.c));u.e!=u.i.gc();)if(l=QH(ymt(u),118),(f=QH(JIt(l,f_e),61))==(yzt(),ESe)&&(f=SUt(l,n),Wmt(l,f_e,f)),h==(Vkt(),GBe))switch(f.g){case 1:i=e.Math.max(i,l.i+l.g);break;case 2:r=e.Math.max(r,l.j+l.f);break;case 3:a=e.Math.max(a,l.i+l.g);break;case 4:o=e.Math.max(o,l.j+l.f)}else switch(f.g){case 1:i+=l.g+2;break;case 2:r+=l.f+2;break;case 3:a+=l.g+2;break;case 4:o+=l.f+2}c=e.Math.max(i,a),s=e.Math.max(r,o)}return Pzt(t,c,s,!0,!0)}function cGt(t,n,r,i,a){var o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;for(v=QH(E3(vet(SV(new D$(null,new f1(n.d,16)),new Lp(r)),new Ip(r)),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)]))),15),f=Dqt,h=RVt,l=new zd(n.b.j);l.a<l.c.c.length;)(c=QH(J1(l),11)).j==r&&(f=e.Math.min(f,c.p),h=e.Math.max(h,c.p));if(f==Dqt)for(s=0;s<v.gc();s++)A8(QH(v.Xb(s),101),r,s);else for(Y$(y=O9(BNe,lWt,25,a.length,15,1),y.length),b=v.Kc();b.Ob();){for(m=QH(b.Pb(),101),o=QH(DX(t.b,m),177),u=0,g=f;g<=h;g++)o[g]&&(u=e.Math.max(u,i[g]));if(m.i){for(A=m.i.c,w=new Db,d=0;d<a.length;d++)a[A][d]&&Tz(w,nft(y[d]));for(;RC(w,nft(u));)++u}for(A8(m,r,u),p=f;p<=h;p++)o[p]&&(i[p]=u+1);m.i&&(y[m.i.c]=u)}}function lGt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p;for(a=null,i=new zd(n.a);i.a<i.c.c.length;)Ljt(r=QH(J1(i),10))?(u=new jV(r,!0,c=SN(oE(new Hb,r),t.f),l=SN(oE(new Hb,r),t.f)),h=r.o.b,fbt(),d=1e4,(f=(r.q?r.q:(CW(),CW(),lne))._b((HXt(),Dge))?QH(bEt(r,Dge),197):QH(bEt(gq(r),Fge),197))==cbe&&(d=1),A=GNt(iE(rE(nE(aE(new Ub,d),xJ(e.Math.ceil(h))),c),l)),f==lbe&&Tz(t.d,A),SQt(t,eot(adt(r,(yzt(),xSe))),u),SQt(t,adt(r,oSe),u),o=u):(p=SN(oE(new Hb,r),t.f),WC(SV(new D$(null,new f1(r.j,16)),new Ha),new Z_(t,p)),o=new jV(r,!1,p,p)),t.i[r.p]=o,a&&(s=a.c.d.a+FM(t.n,a.c,r)+r.d.d,a.b||(s+=a.c.o.b),GNt(iE(rE(aE(nE(new Ub,xJ(e.Math.ceil(s))),0),a.d),o.a))),a=o}function uGt(t,n){var r,i,a,o,s,c,l,h,f,d,A,p,g;for(SCt(n,"Label dummy insertions",1),d=new Mm,s=jy(kF(bEt(t,(HXt(),yme)))),h=jy(kF(bEt(t,Cme))),f=QH(bEt(t,Kpe),103),A=new zd(t.a);A.a<A.c.c.length;)for(o=new oG(YO(hdt(QH(J1(A),10)).a.Kc(),new u));AIt(o);)if((a=QH(K5(o),17)).c.i!=a.d.i&&ZM(a.b,Jce)){for(r=sOt(t,a,g=Tet(a),p=sD(a.b.c.length)),d.c[d.c.length]=r,i=r.o,c=new k2(a.b,0);c.b<c.d.gc();)ED(c.b<c.d.gc()),jS(bEt(l=QH(c.d.Xb(c.c=c.b++),70),Vpe))===jS((Fet(),$_e))&&(f==(Qht(),U_e)||f==F_e?(i.a+=l.o.a+h,i.b=e.Math.max(i.b,l.o.b)):(i.a=e.Math.max(i.a,l.o.a),i.b+=l.o.b+h),p.c[p.c.length]=l,lq(c));f==(Qht(),U_e)||f==F_e?(i.a-=h,i.b+=s+g):i.b+=s-h+g}pst(t.a,d),Hxt(n)}function hGt(t,n,r,i){var a,o,s,c,l,u,h,f,d,A;for(f=zFt(t,n,o=new ALt(n)),A=e.Math.max(jy(kF(bEt(n,(HXt(),ige)))),1),h=new zd(f.a);h.a<h.c.c.length;)u=QH(J1(h),46),l=Ugt(QH(u.a,8),QH(u.b,8),A),$j(r,new OB(l.c,l.d)),$j(r,PD(new OB(l.c,l.d),l.b,0)),$j(r,PD(new OB(l.c,l.d),0,l.a)),$j(r,PD(new OB(l.c,l.d),l.b,l.a));switch(d=o.d,c=Ugt(QH(f.b.a,8),QH(f.b.b,8),A),d==(yzt(),xSe)||d==oSe?(i.c[d.g]=e.Math.min(i.c[d.g],c.d),i.b[d.g]=e.Math.max(i.b[d.g],c.d+c.a)):(i.c[d.g]=e.Math.min(i.c[d.g],c.c),i.b[d.g]=e.Math.max(i.b[d.g],c.c+c.b)),a=PWt,s=o.c.i.d,d.g){case 4:a=s.c;break;case 2:a=s.b;break;case 1:a=s.a;break;case 3:a=s.d}return i.a[d.g]=e.Math.max(i.a[d.g],a),o}function fGt(t){var e,n,r,i;if(-1!=(e=jL(n=null!=t.D?t.D:t.B,WCt(91)))){r=n.substr(0,e),i=new Cw;do{i.a+="["}while(-1!=(e=uD(n,91,++e)));mR(r,Iqt)?i.a+="Z":mR(r,E8t)?i.a+="B":mR(r,x8t)?i.a+="C":mR(r,_8t)?i.a+="D":mR(r,B8t)?i.a+="F":mR(r,S8t)?i.a+="I":mR(r,L8t)?i.a+="J":mR(r,I8t)?i.a+="S":(i.a+="L",i.a+=""+r,i.a+=";");try{return null}catch(t){if(!rO(t=hst(t),60))throw Um(t)}}else if(-1==jL(n,WCt(46))){if(mR(n,Iqt))return SNe;if(mR(n,E8t))return INe;if(mR(n,x8t))return _Ne;if(mR(n,_8t))return MNe;if(mR(n,B8t))return ONe;if(mR(n,S8t))return BNe;if(mR(n,L8t))return LNe;if(mR(n,I8t))return NNe}return null}function dGt(t,e,n){var r,i,a,o,s,c,l,u;for(jot(l=new Ibt(n),e),lct(l,(lqt(),dfe),e),l.o.a=e.g,l.o.b=e.f,l.n.a=e.i,l.n.b=e.j,zH(n.a,l),Xq(t.a,e,l),(0!=(!e.a&&(e.a=new tz($Le,e,10,11)),e.a).i||Hy(TF(JIt(e,(HXt(),fge)))))&&lct(l,Phe,(cN(),!0)),c=QH(bEt(n,Yhe),21),(u=QH(bEt(l,(HXt(),tme)),98))==(Vkt(),VBe)?lct(l,tme,qBe):u!=qBe&&c.Fc((fFt(),dhe)),r=QH(bEt(n,Kpe),103),s=new SO((!e.c&&(e.c=new tz(KLe,e,9,9)),e.c));s.e!=s.i.gc();)Hy(TF(JIt(o=QH(ymt(s),118),jge)))||JGt(t,o,l,c,r,u);for(a=new SO((!e.n&&(e.n=new tz(jLe,e,1,7)),e.n));a.e!=a.i.gc();)!Hy(TF(JIt(i=QH(ymt(a),137),jge)))&&i.a&&zH(l.b,Hut(i));return Hy(TF(bEt(l,Tpe)))&&c.Fc((fFt(),che)),Hy(TF(bEt(l,hge)))&&(c.Fc((fFt(),fhe)),c.Fc(hhe),lct(l,tme,qBe)),l}function AGt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C;s=QH(DX(e.c,t),459),g=e.a.c,c=e.a.c+e.a.b,o=(k=s.f)<(C=s.a),d=new OB(g,k),m=new OB(c,C),A=new OB(i=(g+c)/2,k),b=new OB(i,C),a=eNt(t,k,C),y=A1(e.B),w=new OB(i,a),T=A1(e.D),n=hct(xst(jw(EEe,1),cVt,8,0,[y,w,T])),h=!1,(p=e.B.i)&&p.c&&s.d&&((l=o&&p.p<p.c.a.c.length-1||!o&&p.p>0)?l&&(u=p.p,o?++u:--u,h=!(iNt(r=nct(QH(O$(p.c.a,u),10)),y,n[0])||QG(r,y,n[0]))):h=!0),f=!1,(v=e.D.i)&&v.c&&s.e&&(o&&v.p>0||!o&&v.p<v.c.a.c.length-1?(u=v.p,o?--u:++u,f=!(iNt(r=nct(QH(O$(v.c.a,u),10)),n[0],T)||QG(r,n[0],T))):f=!0),h&&f&&Nj(t.a,w),h||Znt(t.a,xst(jw(EEe,1),cVt,8,0,[d,A])),f||Znt(t.a,xst(jw(EEe,1),cVt,8,0,[b,m]))}function pGt(t,e){var n,r,i,a,o,s,c;if(rO(t.Ug(),160)?(pGt(QH(t.Ug(),160),e),e.a+=" > "):e.a+="Root ",mR((n=t.Tg().zb).substr(0,3),"Elk")?oL(e,n.substr(3)):e.a+=""+n,i=t.zg())oL((e.a+=" ",e),i);else if(rO(t,354)&&(c=QH(t,137).a))oL((e.a+=" ",e),c);else{for(a=new SO(t.Ag());a.e!=a.i.gc();)if(c=QH(ymt(a),137).a)return void oL((e.a+=" ",e),c);if(rO(t,352)&&(!(r=QH(t,79)).b&&(r.b=new cR(DLe,r,4,7)),0!=r.b.i&&(!r.c&&(r.c=new cR(DLe,r,5,8)),0!=r.c.i))){for(e.a+=" (",o=new rD((!r.b&&(r.b=new cR(DLe,r,4,7)),r.b));o.e!=o.i.gc();)o.e>0&&(e.a+=Qqt),pGt(QH(ymt(o),160),e);for(e.a+=e1t,s=new rD((!r.c&&(r.c=new cR(DLe,r,5,8)),r.c));s.e!=s.i.gc();)s.e>0&&(e.a+=Qqt),pGt(QH(ymt(s),160),e);e.a+=")"}}}function gGt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;if(a=QH(bEt(t,(lqt(),dfe)),79)){for(r=t.a,KP(i=new fI(n),ITt(t)),dot(t.d.i,t.c.i)?(f=t.c,GP(h=Lct(xst(jw(EEe,1),cVt,8,0,[f.n,f.a])),n)):h=A1(t.c),n5(r,h,r.a,r.a.a),d=A1(t.d),null!=bEt(t,Dfe)&&KP(d,QH(bEt(t,Dfe),8)),n5(r,d,r.c.b,r.c),Jet(r,i),Mrt(o=iFt(a,!0,!0),QH(Xet((!a.b&&(a.b=new cR(DLe,a,4,7)),a.b),0),82)),Ort(o,QH(Xet((!a.c&&(a.c=new cR(DLe,a,5,8)),a.c),0),82)),qUt(r,o),u=new zd(t.b);u.a<u.c.c.length;)l=QH(J1(u),70),Ent(s=QH(bEt(l,dfe),137),l.o.a),Cnt(s,l.o.b),CI(s,l.n.a+i.a,l.n.b+i.b),Wmt(s,(Bit(),Zce),TF(bEt(l,Zce)));(c=QH(bEt(t,(HXt(),gge)),74))?(Jet(c,i),Wmt(a,gge,c)):Wmt(a,gge,null),e==(Cdt(),W_e)?Wmt(a,Ype,W_e):Wmt(a,Ype,null)}}function mGt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;for(d=e.c.length,f=0,h=new zd(t.b);h.a<h.c.c.length;)if(0!=(m=(u=QH(J1(h),29)).a).c.length){for(l=0,b=null,i=QH(J1(g=new zd(m)),10),a=null;i;){if((a=QH(O$(e,i.p),257)).c>=0){for(c=null,s=new k2(u.a,l+1);s.b<s.d.gc()&&(ED(s.b<s.d.gc()),o=QH(s.d.Xb(s.c=s.b++),10),!((c=QH(O$(e,o.p),257)).d==a.d&&c.c<a.c));)c=null;c&&(b&&(r5(r,i.p,nft(QH(O$(r,i.p),19).a-1)),QH(O$(n,b.p),15).Mc(a)),a=dCt(a,i,d++),e.c[e.c.length]=a,zH(n,new Mm),b?(QH(O$(n,b.p),15).Fc(a),zH(r,nft(1))):zH(r,nft(0)))}A=null,g.a<g.c.c.length&&(A=QH(J1(g),10),p=QH(O$(e,A.p),257),QH(O$(n,i.p),15).Fc(p),r5(r,A.p,nft(QH(O$(r,A.p),19).a+1))),a.d=f,a.c=l++,b=i,i=A}++f}}function bGt(t,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;return c=t,u=GP(new OB(n.a,n.b),t),l=r,h=GP(new OB(i.a,i.b),r),f=c.a,g=c.b,A=l.a,b=l.b,d=u.a,m=u.b,a=(p=h.a)*m-d*(v=h.b),cM(),rrt(L4t),!(e.Math.abs(0-a)<=L4t||0==a||isNaN(0)&&isNaN(a))&&(o=1/a*((f-A)*m-(g-b)*d),s=1/a*-(-(f-A)*v+(g-b)*p),rrt(L4t),(e.Math.abs(0-o)<=L4t||0==o||isNaN(0)&&isNaN(o)?0:0<o?-1:0>o?1:$L(isNaN(0),isNaN(o)))<0&&(rrt(L4t),(e.Math.abs(o-1)<=L4t||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:$L(isNaN(o),isNaN(1)))<0)&&(rrt(L4t),(e.Math.abs(0-s)<=L4t||0==s||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:$L(isNaN(0),isNaN(s)))<0)&&(rrt(L4t),(e.Math.abs(s-1)<=L4t||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:$L(isNaN(s),isNaN(1)))<0))}function vGt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T;for(h=new cq(new eA(t));h.b!=h.c.a.d;)for(s=QH((u=s8(h)).d,56),e=QH(u.e,56),p=0,y=(null==(o=s.Tg()).i&&jUt(o),o.i).length;p<y;++p)if(null==o.i&&jUt(o),a=o.i,(l=p>=0&&p<a.length?a[p]:null).Ij()&&!l.Jj())if(rO(l,99))0==((c=QH(l,18)).Bb&l6t)&&(!(T=_bt(c))||0==(T.Bb&l6t))&&bHt(t,c,s,e);else if(YE(),QH(l,66).Oj()&&(n=QH((w=l)?QH(e,49).xh(w):null,153)))for(d=QH(s.ah(l),153),r=n.gc(),g=0,A=d.gc();g<A;++g)if(rO(f=d.il(g),99)){if(null==(i=utt(t,v=d.jl(g)))&&null!=v){if(b=QH(f,18),!t.b||0!=(b.Bb&l6t)||_bt(b))continue;i=v}if(!n.dl(f,i))for(m=0;m<r;++m)if(n.il(m)==f&&jS(n.jl(m))===jS(i)){n.ii(n.gc()-1,m),--r;break}}else n.dl(d.il(g),d.jl(g))}function yGt(t,n,r,i,a,o,s){var c,l,u,h,f,d,A,p,g,m,b,v;if(m=VHt(n,r,t.g),a.n&&a.n&&o&&b0(a,o2(o),(Ult(),aLe)),t.b)for(g=0;g<m.c.length;g++)u1(g,m.c.length),h=QH(m.c[g],200),0!=g&&(u1(g-1,m.c.length),put(h,(d=QH(m.c[g-1],200)).f+d.b+t.g)),bXt(g,m,r,t.g),Hwt(t,h),a.n&&o&&b0(a,o2(o),(Ult(),aLe));else for(p=new zd(m);p.a<p.c.c.length;)for(u=new zd((A=QH(J1(p),200)).a);u.a<u.c.c.length;)Nat(b=new FJ((l=QH(J1(u),187)).s,l.t,t.g),l),zH(A.d,b);return Kvt(t,m),a.n&&a.n&&o&&b0(a,o2(o),(Ult(),aLe)),v=e.Math.max(t.d,i.a-(s.b+s.c)),c=(f=e.Math.max(t.c,i.b-(s.d+s.a)))-t.c,t.e&&t.f&&(v/f<t.a?v=f*t.a:c+=v/t.a-f),t.e&&Spt(m,v,c),a.n&&a.n&&o&&b0(a,o2(o),(Ult(),aLe)),new t$(t.a,v,t.c+c,(WOt(),Pke))}function wGt(t){var n,r,i,a,o,s,c,l,u,h;for(t.j=O9(BNe,lWt,25,t.g,15,1),t.o=new Mm,WC(ftt(new D$(null,new f1(t.e.b,16)),new qa),new ag(t)),t.a=O9(SNe,JYt,25,t.b,16,1),Iht(new D$(null,new f1(t.e.b,16)),new sg(t)),h=new Mm,WC(SV(ftt(new D$(null,new f1(t.e.b,16)),new Wa),new og(t)),new tB(t,h)),c=new zd(h);c.a<c.c.c.length;)if(!((s=QH(J1(c),508)).c.length<=1))if(2!=s.c.length){if(!zkt(s)&&!O_t(s,new Va))for(l=new zd(s),i=null;l.a<l.c.c.length;)n=QH(J1(l),17),r=t.c[n.p],u=!i||l.a>=l.c.c.length?G4((oxt(),xse),Ese):G4((oxt(),Ese),Ese),u*=2,a=r.a.g,r.a.g=e.Math.max(a,a+(u-a)),o=r.b.g,r.b.g=e.Math.max(o,o+(u-o)),i=n}else KIt(s),Ljt((u1(0,s.c.length),QH(s.c[0],17)).d.i)||zH(t.o,s)}function TGt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;for(v=jH(t),c=new Mm,l=(a=t.c.length)-1,u=a+1;0!=v.a.c;){for(;0!=n.b;)ED(0!=n.b),m=QH(Let(n,n.a.a),112),LJ(v.a,m),m.g=l--,OUt(m,e,n,r);for(;0!=e.b;)ED(0!=e.b),b=QH(Let(e,e.a.a),112),LJ(v.a,b),b.g=u++,OUt(b,e,n,r);for(s=RVt,p=new Rd(new QP(new ON(new Pd(v.a).a).b));ix(p.a.a);){if(A=QH(mD(p.a).cd(),112),!r&&A.b>0&&A.a<=0){c.c=O9(Lte,Hqt,1,0,5,1),c.c[c.c.length]=A;break}(d=A.i-A.d)>=s&&(d>s&&(c.c=O9(Lte,Hqt,1,0,5,1),s=d),c.c[c.c.length]=A)}0!=c.c.length&&(o=QH(O$(c,gbt(i,c.c.length)),112),LJ(v.a,o),o.g=u++,OUt(o,e,n,r),c.c=O9(Lte,Hqt,1,0,5,1))}for(g=t.c.length+1,f=new zd(t);f.a<f.c.c.length;)(h=QH(J1(f),112)).g<a&&(h.g=h.g+g)}function kGt(t,e){var n;if(t.e)throw Um(new Ry((wF(Are),LYt+Are.k+IYt)));if(!Cx(t.a,e))throw Um(new dy(MYt+e+OYt));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:Hvt(t);break;case 1:_ct(t),Hvt(t);break;case 4:ZTt(t),Hvt(t);break;case 3:ZTt(t),_ct(t),Hvt(t)}break;case 2:switch(e.g){case 1:_ct(t),FPt(t);break;case 4:ZTt(t),Hvt(t);break;case 3:ZTt(t),_ct(t),Hvt(t)}break;case 1:switch(e.g){case 2:_ct(t),FPt(t);break;case 4:_ct(t),ZTt(t),Hvt(t);break;case 3:_ct(t),ZTt(t),_ct(t),Hvt(t)}break;case 4:switch(e.g){case 2:ZTt(t),Hvt(t);break;case 1:ZTt(t),_ct(t),Hvt(t);break;case 3:_ct(t),FPt(t)}break;case 3:switch(e.g){case 2:_ct(t),ZTt(t),Hvt(t);break;case 1:_ct(t),ZTt(t),_ct(t),Hvt(t);break;case 4:_ct(t),FPt(t)}}return t}function CGt(t,e){var n;if(t.d)throw Um(new Ry((wF(Voe),LYt+Voe.k+IYt)));if(!EB(t.a,e))throw Um(new dy(MYt+e+OYt));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:Jct(t);break;case 1:xct(t),Jct(t);break;case 4:tkt(t),Jct(t);break;case 3:tkt(t),xct(t),Jct(t)}break;case 2:switch(e.g){case 1:xct(t),PPt(t);break;case 4:tkt(t),Jct(t);break;case 3:tkt(t),xct(t),Jct(t)}break;case 1:switch(e.g){case 2:xct(t),PPt(t);break;case 4:xct(t),tkt(t),Jct(t);break;case 3:xct(t),tkt(t),xct(t),Jct(t)}break;case 4:switch(e.g){case 2:tkt(t),Jct(t);break;case 1:tkt(t),xct(t),Jct(t);break;case 3:xct(t),PPt(t)}break;case 3:switch(e.g){case 2:xct(t),tkt(t),Jct(t);break;case 1:xct(t),tkt(t),xct(t),Jct(t);break;case 4:xct(t),PPt(t)}}return t}function EGt(t,n,r){var i,a,o,s,c,l,h,f;for(l=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));l.e!=l.i.gc();)for(a=new oG(YO(AOt(c=QH(ymt(l),33)).a.Kc(),new u));AIt(a);){if(!(i=QH(K5(a),79)).b&&(i.b=new cR(DLe,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new cR(DLe,i,5,8)),i.c.i<=1)))throw Um(new rw("Graph must not contain hyperedges."));if(!ZLt(i)&&c!=xCt(QH(Xet((!i.c&&(i.c=new cR(DLe,i,5,8)),i.c),0),82)))for(jot(h=new _P,i),lct(h,(Cit(),soe),i),Df(h,QH(HS(SY(r.f,c)),144)),Ff(h,QH(DX(r,xCt(QH(Xet((!i.c&&(i.c=new cR(DLe,i,5,8)),i.c),0),82))),144)),zH(n.c,h),s=new SO((!i.n&&(i.n=new tz(jLe,i,1,7)),i.n));s.e!=s.i.gc();)jot(f=new m3(h,(o=QH(ymt(s),137)).a),o),lct(f,soe,o),f.e.a=e.Math.max(o.g,1),f.e.b=e.Math.max(o.f,1),RHt(f),zH(n.d,f)}}function xGt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;for(wJ(f=new ezt(t),!(n==(Qht(),U_e)||n==F_e)),h=f.a,d=new hv,Det(),s=0,l=(a=xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length;s<l;++s)r=a[s],(u=lO(h,jre,r))&&(d.d=e.Math.max(d.d,u.Re()));for(o=0,c=(i=xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length;o<c;++o)r=i[o],(u=lO(h,Kre,r))&&(d.a=e.Math.max(d.a,u.Re()));for(m=0,v=(p=xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length;m<v;++m)(u=lO(h,p[m],jre))&&(d.b=e.Math.max(d.b,u.Se()));for(g=0,b=(A=xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length;g<b;++g)(u=lO(h,A[g],Kre))&&(d.c=e.Math.max(d.c,u.Se()));return d.d>0&&(d.d+=h.n.d,d.d+=h.d),d.a>0&&(d.a+=h.n.a,d.a+=h.d),d.b>0&&(d.b+=h.n.b,d.b+=h.d),d.c>0&&(d.c+=h.n.c,d.c+=h.d),d}function _Gt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p;for(d=r.d,f=r.c,s=(o=new OB(r.f.a+r.d.b+r.d.c,r.f.b+r.d.d+r.d.a)).b,u=new zd(t.a);u.a<u.c.c.length;)if((c=QH(J1(u),10)).k==(oxt(),kse)){switch(i=QH(bEt(c,(lqt(),qhe)),61),a=QH(bEt(c,Vhe),8),h=c.n,i.g){case 2:h.a=r.f.a+d.c-f.a;break;case 4:h.a=-f.a-d.b}switch(p=0,i.g){case 2:case 4:n==(Vkt(),zBe)?(A=jy(kF(bEt(c,Tfe))),h.b=o.b*A-QH(bEt(c,(HXt(),Jge)),8).b,p=h.b+a.b,Yot(c,!1,!0)):n==GBe&&(h.b=jy(kF(bEt(c,Tfe)))-QH(bEt(c,(HXt(),Jge)),8).b,p=h.b+a.b,Yot(c,!1,!0))}s=e.Math.max(s,p)}for(r.f.b+=s-o.b,l=new zd(t.a);l.a<l.c.c.length;)if((c=QH(J1(l),10)).k==(oxt(),kse))switch(i=QH(bEt(c,(lqt(),qhe)),61),h=c.n,i.g){case 1:h.b=-f.b-d.d;break;case 3:h.b=r.f.b+d.a-f.b}}function BGt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T;for(i=QH(bEt(t,(j$t(),swe)),33),c=Dqt,l=Dqt,o=RVt,s=RVt,w=cmt(t.b,0);w.b!=w.d.c;)A=(v=QH(h4(w),86)).e,p=v.f,c=e.Math.min(c,A.a-p.a/2),l=e.Math.min(l,A.b-p.b/2),o=e.Math.max(o,A.a+p.a/2),s=e.Math.max(s,A.b+p.b/2);for(f=new OB((d=QH(JIt(i,(_It(),_we)),116)).b-c,d.d-l),y=cmt(t.b,0);y.b!=y.d.c;)rO(h=bEt(v=QH(h4(y),86),swe),239)&&CI(a=QH(h,33),(u=KP(v.e,f)).a-a.g/2,u.b-a.f/2);for(b=cmt(t.a,0);b.b!=b.d.c;)m=QH(h4(b),188),(r=QH(bEt(m,swe),79))&&(n5(n=m.a,g=new fI(m.b.e),n.a,n.a.a),n5(n,T=new fI(m.c.e),n.c.b,n.c),JEt(g,QH(Dmt(n,1),8),m.b.f),JEt(T,QH(Dmt(n,n.b-2),8),m.c.f),qUt(n,iFt(r,!0,!0)));Pzt(i,o-c+(d.b+d.c),s-l+(d.d+d.a),!1,!1)}function SGt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m;for(bP(c=new k2(l=t.b,0),new UX(t)),g=!1,a=1;c.b<c.d.gc();){for(ED(c.b<c.d.gc()),s=QH(c.d.Xb(c.c=c.b++),29),u1(a,l.c.length),d=QH(l.c[a],29),p=(A=i0(s.a)).c.length,f=new zd(A);f.a<f.c.c.length;)EZ(u=QH(J1(f),10),d);if(g){for(h=z1(new ly(A),0);h.c.Sb();)for(i=new zd(i0(udt(u=QH(f5(h),10))));i.a<i.c.c.length;)tHt(r=QH(J1(i),17),!0),lct(t,(lqt(),Hhe),(cN(),!0)),n=nKt(t,r,p),e=QH(bEt(u,Dhe),305),m=QH(O$(n,n.c.length-1),17),e.k=m.c.i,e.n=m,e.b=r.d.i,e.c=r;g=!1}else 0!=A.c.length&&(u1(0,A.c.length),QH(A.c[0],10).k==(oxt(),Tse)&&(g=!0,a=-1));++a}for(o=new k2(t.b,0);o.b<o.d.gc();)ED(o.b<o.d.gc()),0==QH(o.d.Xb(o.c=o.b++),29).a.c.length&&lq(o)}function LGt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;if((h=QH(QH(c6(t.r,n),21),84)).gc()<=2||n==(yzt(),oSe)||n==(yzt(),xSe))Yzt(t,n);else{for(g=t.u.Hc((hSt(),rSe)),r=n==(yzt(),sSe)?(Dot(),Die):(Dot(),Mie),b=n==sSe?(j7(),eie):(j7(),rie),i=Yw(UQ(r),t.s),m=n==sSe?FWt:PWt,u=h.Kc();u.Ob();)!(c=QH(u.Pb(),111)).c||c.c.d.c.length<=0||(p=c.b.rf(),A=c.e,(d=(f=c.c).i).b=(o=f.n,f.e.a+o.b+o.c),d.a=(s=f.n,f.e.b+s.d+s.a),g?(d.c=A.a-(a=f.n,f.e.a+a.b+a.c)-t.s,g=!1):d.c=A.a+p.a+t.s,BY(b,oJt),f.f=b,u8(f,(W8(),Wre)),zH(i.d,new OK(d,yft(i,d))),m=n==sSe?e.Math.min(m,A.b):e.Math.max(m,A.b+c.b.rf().b));for(m+=n==sSe?-t.t:t.t,xAt((i.e=m,i)),l=h.Kc();l.Ob();)!(c=QH(l.Pb(),111)).c||c.c.d.c.length<=0||((d=c.c.i).c-=c.e.a,d.d-=c.e.b)}}function IGt(t,n,r){var i;if(SCt(r,"StretchWidth layering",1),0!=n.a.c.length){for(t.c=n,t.t=0,t.u=0,t.i=FWt,t.g=PWt,t.d=jy(kF(bEt(n,(HXt(),bme)))),Kmt(t),xIt(t),EIt(t),NTt(t),Apt(t),t.i=e.Math.max(1,t.i),t.g=e.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=Rbt(t),i=new UX(t.c),zH(t.c.b,i),t.r=i0(t.p),t.n=TJ(t.k,t.k.length);0!=t.r.c.length;)t.o=Kut(t),!t.o||kct(t)&&0!=t.b.a.gc()?(Nkt(t,i),i=new UX(t.c),zH(t.c.b,i),Qit(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):kct(t)?(t.c.b.c=O9(Lte,Hqt,1,0,5,1),i=new UX(t.c),zH(t.c.b,i),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=i0(t.p),t.n=TJ(t.k,t.k.length)):(EZ(t.o,i),b7(t.r,t.o),Tz(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);n.a.c=O9(Lte,Hqt,1,0,5,1),Y_t(n.b),Hxt(r)}else Hxt(r)}function MGt(t){var n,r,i,a;for(WC(SV(new D$(null,new f1(t.a.b,16)),new yi),new wi),ukt(t),WC(SV(new D$(null,new f1(t.a.b,16)),new Ti),new ki),t.c==(Cdt(),W_e)&&(WC(SV(ftt(new D$(null,new f1(new xd(t.f),1)),new Ci),new Ei),new kp(t)),WC(SV(LV(ftt(ftt(new D$(null,new f1(t.d.b,16)),new xi),new _i),new Bi),new Si),new Ep(t))),a=new OB(FWt,FWt),n=new OB(PWt,PWt),i=new zd(t.a.b);i.a<i.c.c.length;)r=QH(J1(i),57),a.a=e.Math.min(a.a,r.d.c),a.b=e.Math.min(a.b,r.d.d),n.a=e.Math.max(n.a,r.d.c+r.d.b),n.b=e.Math.max(n.b,r.d.d+r.d.a);KP(vL(t.d.c),HD(new OB(a.a,a.b))),KP(vL(t.d.f),GP(new OB(n.a,n.b),a)),sNt(t,a,n),Lz(t.f),Lz(t.b),Lz(t.g),Lz(t.e),t.a.a.c=O9(Lte,Hqt,1,0,5,1),t.a.b.c=O9(Lte,Hqt,1,0,5,1),t.a=null,t.d=null}function OGt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;for(r=new Mm,A=new zd(e.a);A.a<A.c.c.length;)if((f=(d=QH(J1(A),10)).e)&&(pst(r,OGt(t,f,d)),TKt(t,f,d),QH(bEt(f,(lqt(),Yhe)),21).Hc((fFt(),uhe))))for(m=QH(bEt(d,(HXt(),tme)),98),h=QH(bEt(d,rme),174).Hc((hSt(),tSe)),g=new zd(d.j);g.a<g.c.c.length;)for(p=QH(J1(g),11),(i=QH(DX(t.b,p),10))||(lct(i=fXt(p,m,p.j,-(p.e.c.length-p.g.c.length),null,new jT,p.o,QH(bEt(f,Kpe),103),f),dfe,p),Xq(t.b,p,i),zH(f.a,i)),a=QH(O$(i.j,0),11),l=new zd(p.f);l.a<l.c.c.length;)c=QH(J1(l),70),(o=new HT).o.a=c.o.a,o.o.b=c.o.b,zH(a.f,o),h||(b=p.j,u=0,UG(QH(bEt(d,rme),21))&&(u=ISt(c.n,c.o,p.o,0,b)),m==(Vkt(),qBe)||(yzt(),hSe).Hc(b)?o.o.a=u:o.o.b=u);return UKt(t,e,n,r,s=new Mm),n&&_$t(t,e,n,s),s}function NGt(t,e,n){var r,i,a,o,s,c,l,u;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,u=new zd(e.j);u.a<u.c.c.length;)for(l=QH(J1(u),11),c=(n?new UA(l):new jA(l)).Kc();c.Ob();)(o=(s=QH(c.Pb(),11)).i).c==e.c?o!=e&&(NGt(t,o,n),t.c[e.c.p][e.p].b+=t.c[o.c.p][o.p].b,t.c[e.c.p][e.p].d+=t.c[o.c.p][o.p].d):(t.c[e.c.p][e.p].d+=t.g[s.p],++t.c[e.c.p][e.p].b);if(a=QH(bEt(e,(lqt(),Ohe)),15))for(i=a.Kc();i.Ob();)r=QH(i.Pb(),10),e.c==r.c&&(NGt(t,r,n),t.c[e.c.p][e.p].b+=t.c[r.c.p][r.p].b,t.c[e.c.p][e.p].d+=t.c[r.c.p][r.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=HMt(t.i,24)*oYt*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}}function DGt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A;for(f=new zd(t);f.a<f.c.c.length;){for(JN((h=QH(J1(f),10)).n),JN(h.o),X6(h.f),qPt(h),aPt(h),A=new zd(h.j);A.a<A.c.c.length;){for(JN((d=QH(J1(A),11)).n),JN(d.a),JN(d.o),jBt(d,avt(d.j)),(i=QH(bEt(d,(HXt(),eme)),19))&&lct(d,eme,nft(-i.a)),r=new zd(d.g);r.a<r.c.c.length;){for(e=cmt((n=QH(J1(r),17)).a,0);e.b!=e.d.c;)JN(QH(h4(e),8));if(o=QH(bEt(n,gge),74))for(a=cmt(o,0);a.b!=a.d.c;)JN(QH(h4(a),8));for(l=new zd(n.b);l.a<l.c.c.length;)JN((s=QH(J1(l),70)).n),JN(s.o)}for(u=new zd(d.f);u.a<u.c.c.length;)JN((s=QH(J1(u),70)).n),JN(s.o)}for(h.k==(oxt(),kse)&&(lct(h,(lqt(),qhe),avt(QH(bEt(h,qhe),61))),dDt(h)),c=new zd(h.b);c.a<c.c.c.length;)qPt(s=QH(J1(c),70)),JN(s.o),JN(s.n)}}function FGt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y;for(t.e=e,s=ZSt(e),v=new Mm,r=new zd(s);r.a<r.c.c.length;){for(n=QH(J1(r),15),y=new Mm,v.c[v.c.length]=y,c=new Db,f=n.Kc();f.Ob();){for(a=YPt(t,h=QH(f.Pb(),33),!0,0,0),y.c[y.c.length]=a,new OB(d=h.i,A=h.j),!h.n&&(h.n=new tz(jLe,h,1,7)),u=new SO(h.n);u.e!=u.i.gc();)i=YPt(t,QH(ymt(u),137),!1,d,A),y.c[y.c.length]=i;for(!h.c&&(h.c=new tz(KLe,h,9,9)),g=new SO(h.c);g.e!=g.i.gc();)for(o=YPt(t,p=QH(ymt(g),118),!1,d,A),y.c[y.c.length]=o,m=p.i+d,b=p.j+A,!p.n&&(p.n=new tz(jLe,p,1,7)),l=new SO(p.n);l.e!=l.i.gc();)i=YPt(t,QH(ymt(l),137),!1,m,b),y.c[y.c.length]=i;Qit(c,WW(Xnt(xst(jw(Nte,1),Hqt,20,0,[AOt(h),dOt(h)]))))}GOt(t,c,y)}return t.f=new PT(v),jot(t.f,e),t.f}function PGt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g;null==(A=DX(t.e,r))&&(l=QH(A=new py,183),c=new jX(e+"_s"+i),net(l,j6t,c)),JX(n,d=QH(A,183)),HW(g=new py,"x",r.j),HW(g,"y",r.k),net(d,G6t,g),HW(h=new py,"x",r.b),HW(h,"y",r.c),net(d,"endPoint",h),!zk((!r.a&&(r.a=new LO(MLe,r,5)),r.a))&&(a=new zg(u=new xf),t5((!r.a&&(r.a=new LO(MLe,r,5)),r.a),a),net(d,D6t,u)),!!Ebt(r)&&iEt(t.a,d,P6t,F_t(t,Ebt(r))),!!xbt(r)&&iEt(t.a,d,F6t,F_t(t,xbt(r))),!(0==(!r.e&&(r.e=new cR(PLe,r,10,9)),r.e).i)&&(o=new CS(t,f=new xf),t5((!r.e&&(r.e=new cR(PLe,r,10,9)),r.e),o),net(d,Q6t,f)),0!=(!r.g&&(r.g=new cR(PLe,r,9,10)),r.g).i&&(s=new ES(t,p=new xf),t5((!r.g&&(r.g=new cR(PLe,r,9,10)),r.g),s),net(d,R6t,p))}function RGt(t){var n,r,i,a,o,s,c;for(HF(),i=t.f.n,s=wX(t.r).a.nc();s.Ob();){if(a=0,(o=QH(s.Pb(),111)).b.Xe((cqt(),i_e))&&(a=jy(kF(o.b.We(i_e))))<0)switch(o.b.Hf().g){case 1:i.d=e.Math.max(i.d,-a);break;case 3:i.a=e.Math.max(i.a,-a);break;case 2:i.c=e.Math.max(i.c,-a);break;case 4:i.b=e.Math.max(i.b,-a)}if(UG(t.u))switch(n=mat(o.b,a),c=!QH(t.e.We(Hxe),174).Hc((ZRt(),USe)),r=!1,o.b.Hf().g){case 1:r=n>i.d,i.d=e.Math.max(i.d,n),c&&r&&(i.d=e.Math.max(i.d,i.a),i.a=i.d+a);break;case 3:r=n>i.a,i.a=e.Math.max(i.a,n),c&&r&&(i.a=e.Math.max(i.a,i.d),i.d=i.a+a);break;case 2:r=n>i.c,i.c=e.Math.max(i.c,n),c&&r&&(i.c=e.Math.max(i.b,i.c),i.b=i.c+a);break;case 4:r=n>i.b,i.b=e.Math.max(i.b,n),c&&r&&(i.b=e.Math.max(i.b,i.c),i.c=i.b+a)}}}function QGt(t){var e,n,r,i,a,o,s,c,l,u,h;for(l=new zd(t);l.a<l.c.c.length;){switch(c=QH(J1(l),10),a=null,(o=QH(bEt(c,(HXt(),vge)),163)).g){case 1:case 2:Yst(),a=Lue;break;case 3:case 4:Yst(),a=Bue}if(a)lct(c,(lqt(),jhe),(Yst(),Lue)),a==Bue?FNt(c,o,(art(),Ube)):a==Lue&&FNt(c,o,(art(),Hbe));else if(gI(QH(bEt(c,tme),98))&&0!=c.j.c.length){for(e=!0,h=new zd(c.j);h.a<h.c.c.length;){if(!((u=QH(J1(h),11)).j==(yzt(),oSe)&&u.e.c.length-u.g.c.length>0||u.j==xSe&&u.e.c.length-u.g.c.length<0)){e=!1;break}for(i=new zd(u.g);i.a<i.c.c.length;)if(n=QH(J1(i),17),(s=QH(bEt(n.d.i,vge),163))==(kdt(),Qfe)||s==Ufe){e=!1;break}for(r=new zd(u.e);r.a<r.c.c.length;)if(n=QH(J1(r),17),(s=QH(bEt(n.c.i,vge),163))==(kdt(),Pfe)||s==Rfe){e=!1;break}}e&&FNt(c,o,(art(),jbe))}}}function UGt(t,n,r,i,a){var o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;for(k=0,A=0,f=new zd(n.e);f.a<f.c.c.length;){for(h=QH(J1(f),10),d=0,c=0,l=r?QH(bEt(h,Gve),19).a:RVt,b=i?QH(bEt(h,zve),19).a:RVt,u=e.Math.max(l,b),y=new zd(h.j);y.a<y.c.c.length;){if(v=QH(J1(y),11),w=h.n.b+v.n.b+v.a.b,i)for(s=new zd(v.g);s.a<s.c.c.length;)p=(g=(o=QH(J1(s),17)).d).i,n!=t.a[p.p]&&(m=e.Math.max(QH(bEt(p,Gve),19).a,QH(bEt(p,zve),19).a),(T=QH(bEt(o,(HXt(),hme)),19).a)>=u&&T>=m&&(d+=p.n.b+g.n.b+g.a.b-w,++c));if(r)for(s=new zd(v.e);s.a<s.c.c.length;)p=(g=(o=QH(J1(s),17)).c).i,n!=t.a[p.p]&&(m=e.Math.max(QH(bEt(p,Gve),19).a,QH(bEt(p,zve),19).a),(T=QH(bEt(o,(HXt(),hme)),19).a)>=u&&T>=m&&(d+=p.n.b+g.n.b+g.a.b-w,++c))}c>0&&(k+=d/c,++A)}A>0?(n.a=a*k/A,n.g=A):(n.a=0,n.g=0)}function HGt(t,e){var n,r,i,a,o,s,c,l,u,h;for(r=new zd(t.a.b);r.a<r.c.c.length;)for(s=new zd(QH(J1(r),29).a);s.a<s.c.c.length;)o=QH(J1(s),10),e.j[o.p]=o,e.i[o.p]=e.o==(oZ(),rye)?PWt:FWt;for(Lz(t.c),a=t.a.b,e.c==(AJ(),Jve)&&(a=rO(a,152)?o6(QH(a,152)):rO(a,131)?QH(a,131).a:rO(a,54)?new ly(a):new xC(a)),D8(t.e,e,t.b),bx(e.p,null),i=a.Kc();i.Ob();)for(c=QH(i.Pb(),29).a,e.o==(oZ(),rye)&&(c=rO(c,152)?o6(QH(c,152)):rO(c,131)?QH(c,131).a:rO(c,54)?new ly(c):new xC(c)),h=c.Kc();h.Ob();)u=QH(h.Pb(),10),e.g[u.p]==u&&sXt(t,u,e);for(H$t(t,e),n=a.Kc();n.Ob();)for(h=new zd(QH(n.Pb(),29).a);h.a<h.c.c.length;)u=QH(J1(h),10),e.p[u.p]=e.p[e.g[u.p].p],u==e.g[u.p]&&(l=jy(e.i[e.j[u.p].p]),(e.o==(oZ(),rye)&&l>PWt||e.o==nye&&l<FWt)&&(e.p[u.p]=jy(e.p[u.p])+l));t.e.cg()}function jGt(t,e,n,r){var i,a,o,s,c;return gNt(s=new ezt(e),r),i=!0,t&&t.Xe((cqt(),hxe))&&(i=(a=QH(t.We((cqt(),hxe)),103))==(Qht(),Q_e)||a==P_e||a==R_e),sPt(s,!1),Set(s.e.wf(),new LQ(s,!1,i)),IJ(s,s.f,(Det(),jre),(yzt(),sSe)),IJ(s,s.f,Kre,CSe),IJ(s,s.g,jre,xSe),IJ(s,s.g,Kre,oSe),Umt(s,sSe),Umt(s,CSe),cV(s,oSe),cV(s,xSe),HF(),(o=s.A.Hc((bpt(),NSe))&&s.B.Hc((ZRt(),KSe))?ZAt(s):null)&&nT(s.a,o),RGt(s),ryt(s),iyt(s),qKt(s),CRt(s),bwt(s),Rgt(s,sSe),Rgt(s,CSe),_Pt(s),xjt(s),n?($dt(s),vwt(s),Rgt(s,oSe),Rgt(s,xSe),c=s.B.Hc((ZRt(),GSe)),CBt(s,c,sSe),CBt(s,c,CSe),EBt(s,c,oSe),EBt(s,c,xSe),WC(new D$(null,new f1(new Bd(s.i),0)),new Bt),WC(SV(new D$(null,wX(s.r).a.oc()),new St),new Lt),Ukt(s),s.e.uf(s.o),WC(new D$(null,wX(s.r).a.oc()),new Mt),s.o):s.o}function $Gt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(u=FWt,i=new zd(t.a.b);i.a<i.c.c.length;)n=QH(J1(i),81),u=e.Math.min(u,n.d.f.g.c+n.e.a);for(A=new VC,s=new zd(t.a.a);s.a<s.c.c.length;)(o=QH(J1(s),189)).i=u,0==o.e&&n5(A,o,A.c.b,A.c);for(;0!=A.b;){for(a=(o=QH(0==A.b?null:(ED(0!=A.b),Let(A,A.a.a)),189)).f.g.c,d=o.a.a.ec().Kc();d.Ob();)h=QH(d.Pb(),81),g=o.i+h.e.a,h.d.g||h.g.c<g?h.o=g:h.o=h.g.c;for(a-=o.f.o,o.b+=a,t.c==(Qht(),R_e)||t.c==F_e?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(l=(h=QH(f.Pb(),81)).f.Kc();l.Ob();)c=QH(l.Pb(),81),p=dI(t.c)?t.f.ef(h,c):t.f.ff(h,c),c.d.i=e.Math.max(c.d.i,h.o+h.g.b+p-c.e.a),c.k||(c.d.i=e.Math.max(c.d.i,c.g.c-c.e.a)),--c.d.e,0==c.d.e&&Nj(A,c.d)}for(r=new zd(t.a.b);r.a<r.c.c.length;)(n=QH(J1(r),81)).g.c=n.o}function KGt(t){var e,n,r,i,a,o,s,c;switch(s=t.b,e=t.a,0===QH(bEt(t,(Rwt(),kre)),427).g?mM(s,new Jd(new $t)):mM(s,new Jd(new Kt)),1===QH(bEt(t,wre),428).g?(mM(s,new jt),mM(s,new Gt),mM(s,new Pt)):(mM(s,new jt),mM(s,new Ht)),QH(bEt(t,Ere),250).g){case 0:c=new Wt;break;case 1:c=new qt;break;case 2:c=new Vt;break;case 3:c=new Xt;break;case 5:c=new BA(new Vt);break;case 4:c=new BA(new qt);break;case 7:c=new Nx(new BA(new qt),new BA(new Vt));break;case 8:c=new Nx(new BA(new Xt),new BA(new Vt));break;default:c=new BA(new Xt)}for(o=new zd(s);o.a<o.c.c.length;){for(a=QH(J1(o),167),i=0,n=new nS(nft(r=0),nft(i));UQt(e,a,r,i);)n=QH(c.Ce(n,a),46),r=QH(n.a,19).a,i=QH(n.b,19).a;RPt(e,a,r,i)}}function GGt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;for(f=(a=t.f.b).a,u=a.b,A=t.e.g,d=t.e.f,kI(t.e,a.a,a.b),T=f/A,k=u/d,l=new SO(mV(t.e));l.e!=l.i.gc();)xnt(c=QH(ymt(l),137),c.i*T),_nt(c,c.j*k);for(b=new SO(bV(t.e));b.e!=b.i.gc();)y=(m=QH(ymt(b),118)).i,w=m.j,y>0&&xnt(m,y*T),w>0&&_nt(m,w*k);for(Zat(t.b,new he),e=new Mm,s=new olt(new Ed(t.c).a);s.b;)r=QH((o=tnt(s)).cd(),79),n=QH(o.dd(),395).a,i=iFt(r,!1,!1),qUt(h=hCt(xEt(r),jxt(i),n),i),(v=_Et(r))&&-1==w7(e,v,0)&&(e.c[e.c.length]=v,sW(v,(ED(0!=h.b),QH(h.a.a.c,8)),n));for(g=new olt(new Ed(t.d).a);g.b;)r=QH((p=tnt(g)).cd(),79),n=QH(p.dd(),395).a,i=iFt(r,!1,!1),h=hCt(SEt(r),Yct(jxt(i)),n),qUt(h=Yct(h),i),(v=BEt(r))&&-1==w7(e,v,0)&&(e.c[e.c.length]=v,sW(v,(ED(0!=h.b),QH(h.c.b.c,8)),n))}function zGt(t,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;if(0!=r.c.length){for(A=new Mm,d=new zd(r);d.a<d.c.c.length;)zH(A,new OB((f=QH(J1(d),33)).i,f.j));for(i.n&&n&&b0(i,o2(n),(Ult(),aLe));OEt(t,r);)TMt(t,r,!1);for(i.n&&n&&b0(i,o2(n),(Ult(),aLe)),s=0,c=0,a=null,0!=r.c.length&&(u1(0,r.c.length),s=(a=QH(r.c[0],33)).i-(u1(0,A.c.length),QH(A.c[0],8)).a,c=a.j-(u1(0,A.c.length),QH(A.c[0],8)).b),o=e.Math.sqrt(s*s+c*c),h=Gut(r);0!=h.a.gc();){for(u=h.a.ec().Kc();u.Ob();)l=QH(u.Pb(),33),g=(p=t.f).i+p.g/2,m=p.j+p.f/2,b=l.i+l.g/2,y=l.j+l.f/2-m,T=(v=b-g)/(w=e.Math.sqrt(v*v+y*y)),k=y/w,xnt(l,l.i+T*o),_nt(l,l.j+k*o);i.n&&n&&b0(i,o2(n),(Ult(),aLe)),h=Gut(new ZR(h))}t.a&&t.a.lg(new ZR(h)),i.n&&n&&b0(i,o2(n),(Ult(),aLe)),zGt(t,n,new ZR(h),i)}}function XGt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;if(g=t.n,m=t.o,d=t.d,f=jy(kF(ept(t,(HXt(),pme)))),n){for(h=f*(n.gc()-1),A=0,l=n.Kc();l.Ob();)h+=(s=QH(l.Pb(),10)).o.a,A=e.Math.max(A,s.o.b);for(b=g.a-(h-m.a)/2,o=g.b-d.d+A,a=i=m.a/(n.gc()+1),c=n.Kc();c.Ob();)(s=QH(c.Pb(),10)).n.a=b,s.n.b=o-s.o.b,b+=s.o.a+f,(u=DOt(s)).n.a=s.o.a/2-u.a.a,u.n.b=s.o.b,(p=QH(bEt(s,(lqt(),Fhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=0,xZ(p,t)),a+=i}if(r){for(h=f*(r.gc()-1),A=0,l=r.Kc();l.Ob();)h+=(s=QH(l.Pb(),10)).o.a,A=e.Math.max(A,s.o.b);for(b=g.a-(h-m.a)/2,o=g.b+m.b+d.a-A,a=i=m.a/(r.gc()+1),c=r.Kc();c.Ob();)(s=QH(c.Pb(),10)).n.a=b,s.n.b=o,b+=s.o.a+f,(u=DOt(s)).n.a=s.o.a/2-u.a.a,u.n.b=0,(p=QH(bEt(s,(lqt(),Fhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=m.b,xZ(p,t)),a+=i}}function qGt(t,n){var r,i,a,o,s,c;if(QH(bEt(n,(lqt(),Yhe)),21).Hc((fFt(),uhe))){for(c=new zd(n.a);c.a<c.c.c.length;)(o=QH(J1(c),10)).k==(oxt(),xse)&&(a=QH(bEt(o,(HXt(),xge)),142),t.c=e.Math.min(t.c,o.n.a-a.b),t.a=e.Math.max(t.a,o.n.a+o.o.a+a.c),t.d=e.Math.min(t.d,o.n.b-a.d),t.b=e.Math.max(t.b,o.n.b+o.o.b+a.a));for(s=new zd(n.a);s.a<s.c.c.length;)if((o=QH(J1(s),10)).k!=(oxt(),xse))switch(o.k.g){case 2:if((i=QH(bEt(o,(HXt(),vge)),163))==(kdt(),Rfe)){o.n.a=t.c-10,Wyt(o,new Kn).Jb(new np(o));break}if(i==Ufe){o.n.a=t.a+10,Wyt(o,new Gn).Jb(new rp(o));break}if((r=QH(bEt(o,efe),303))==($7(),xhe)){h$t(o).Jb(new ip(o)),o.n.b=t.d-10;break}if(r==Che){h$t(o).Jb(new ap(o)),o.n.b=t.b+10;break}break;default:throw Um(new Py("The node type "+o.k+" is not supported by the "+Wce))}}}function VGt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p;for(c=new OB(r.i+r.g/2,r.j+r.f/2),f=zjt(r),d=QH(JIt(e,(HXt(),tme)),98),p=QH(JIt(r,ame),61),QS(hmt(r),Zge)||(A=0==r.i&&0==r.j?0:tEt(r,p),Wmt(r,Zge,A)),lct(i=fXt(r,d,p,f,new OB(e.g,e.f),c,new OB(r.g,r.f),QH(bEt(n,Kpe),103),n),(lqt(),dfe),r),Uf(a=QH(O$(i.j,0),11),wQt(r)),lct(i,rme,(hSt(),Zft(nSe))),u=QH(JIt(e,rme),174).Hc(tSe),s=new SO((!r.n&&(r.n=new tz(jLe,r,1,7)),r.n));s.e!=s.i.gc();)if(!Hy(TF(JIt(o=QH(ymt(s),137),jge)))&&o.a&&(h=Hut(o),zH(a.f,h),!u))switch(l=0,UG(QH(JIt(e,rme),21))&&(l=ISt(new OB(o.i,o.j),new OB(o.g,o.f),new OB(r.g,r.f),0,p)),p.g){case 2:case 4:h.o.a=l;break;case 1:case 3:h.o.b=l}lct(i,xme,kF(JIt(WJ(e),xme))),lct(i,_me,kF(JIt(WJ(e),_me))),lct(i,Cme,kF(JIt(WJ(e),Cme))),zH(n.a,i),Xq(t.a,r,i)}function WGt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;for(SCt(n,"Processor arrange level",1),u=0,CW(),Rit(e,new im((j$t(),ewe))),a=e.b,s=cmt(e,e.b),l=!0;l&&s.b.b!=s.d.a;)g=QH(K0(s),86),0==QH(bEt(g,ewe),19).a?--a:l=!1;if(o=new JR(new s1(e,0,a)),c=new JR(new s1(e,a,e.b)),0==o.b)for(d=cmt(c,0);d.b!=d.d.c;)lct(QH(h4(d),86),cwe,nft(u++));else for(h=o.b,v=cmt(o,0);v.b!=v.d.c;){for(lct(b=QH(h4(v),86),cwe,nft(u++)),WGt(t,r=Nst(b),bat(n,1/h|0)),Rit(r,qq(new im(cwe))),f=new VC,m=cmt(r,0);m.b!=m.d.c;)for(g=QH(h4(m),86),p=cmt(b.d,0);p.b!=p.d.c;)(A=QH(h4(p),188)).c==g&&n5(f,A,f.c.b,f.c);for(bW(b.d),Qit(b.d,f),s=cmt(c,c.b),i=b.d.b,l=!0;0<i&&l&&s.b.b!=s.d.a;)g=QH(K0(s),86),0==QH(bEt(g,ewe),19).a?(lct(g,cwe,nft(u++)),--i,bet(s)):l=!1}Hxt(n)}function YGt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(SCt(e,"Inverted port preprocessing",1),s=new k2(t.b,0),n=null,g=new Mm;s.b<s.d.gc();){for(p=n,ED(s.b<s.d.gc()),n=QH(s.d.Xb(s.c=s.b++),29),u=new zd(g);u.a<u.c.c.length;)EZ(c=QH(J1(u),10),p);for(g.c=O9(Lte,Hqt,1,0,5,1),h=new zd(n.a);h.a<h.c.c.length;)if((c=QH(J1(h),10)).k==(oxt(),xse)&&gI(QH(bEt(c,(HXt(),tme)),98))){for(A=iPt(c,(art(),Ube),(yzt(),oSe)).Kc();A.Ob();)for(f=QH(A.Pb(),11),i=0,a=(r=QH(Vgt(o=f.e,O9(bse,i1t,17,o.c.length,0,1)),474)).length;i<a;++i)IHt(t,f,r[i],g);for(d=iPt(c,Hbe,xSe).Kc();d.Ob();)for(f=QH(d.Pb(),11),i=0,a=(r=QH(Vgt(o=f.g,O9(bse,i1t,17,o.c.length,0,1)),474)).length;i<a;++i)LHt(t,f,r[i],g)}}for(l=new zd(g);l.a<l.c.c.length;)EZ(c=QH(J1(l),10),n);Hxt(e)}function JGt(t,e,n,r,i,a){var o,s,c,l,u,h;for(jot(l=new _xt,e),jBt(l,QH(JIt(e,(HXt(),ame)),61)),lct(l,(lqt(),dfe),e),xZ(l,n),(h=l.o).a=e.g,h.b=e.f,(u=l.n).a=e.i,u.b=e.j,Xq(t.a,e,l),(o=o5(LV(ftt(new D$(null,(!e.e&&(e.e=new cR(FLe,e,7,4)),new f1(e.e,16))),new qe),new ze),new zA(e)))||(o=o5(LV(ftt(new D$(null,(!e.d&&(e.d=new cR(FLe,e,8,5)),new f1(e.d,16))),new Ve),new Xe),new XA(e))),o||(o=o5(new D$(null,(!e.e&&(e.e=new cR(FLe,e,7,4)),new f1(e.e,16))),new We)),lct(l,tfe,(cN(),!!o)),g$t(l,a,i,QH(JIt(e,Jge),8)),c=new SO((!e.n&&(e.n=new tz(jLe,e,1,7)),e.n));c.e!=c.i.gc();)!Hy(TF(JIt(s=QH(ymt(c),137),jge)))&&s.a&&zH(l.f,Hut(s));switch(i.g){case 2:case 1:(l.j==(yzt(),sSe)||l.j==CSe)&&r.Fc((fFt(),Ahe));break;case 4:case 3:(l.j==(yzt(),oSe)||l.j==xSe)&&r.Fc((fFt(),Ahe))}return l}function ZGt(t,n,r,i,a,o,s){var c,l,u,h,f,d,A,p,g,m,b,v;for(f=null,i==(dJ(),Iye)?f=n:i==Mye&&(f=r),p=f.a.ec().Kc();p.Ob();){for(A=QH(p.Pb(),11),g=Lct(xst(jw(EEe,1),cVt,8,0,[A.i.n,A.n,A.a])).b,v=new Db,c=new Db,u=new m6(A.b);bM(u.a)||bM(u.b);)if(Hy(TF(bEt(l=QH(bM(u.a)?J1(u.a):J1(u.b),17),(lqt(),xfe))))==a&&-1!=w7(o,l,0)){if(m=l.d==A?l.c:l.d,b=Lct(xst(jw(EEe,1),cVt,8,0,[m.i.n,m.n,m.a])).b,e.Math.abs(b-g)<.2)continue;b<g?n.a._b(m)?Tz(v,new nS(Iye,l)):Tz(v,new nS(Mye,l)):n.a._b(m)?Tz(c,new nS(Iye,l)):Tz(c,new nS(Mye,l))}if(v.a.gc()>1)for(t5(v,new sB(t,d=new l$t(A,v,i))),s.c[s.c.length]=d,h=v.a.ec().Kc();h.Ob();)b7(o,QH(h.Pb(),46).b);if(c.a.gc()>1)for(t5(c,new cB(t,d=new l$t(A,c,i))),s.c[s.c.length]=d,h=c.a.ec().Kc();h.Ob();)b7(o,QH(h.Pb(),46).b)}}function tzt(t){ME(t,new CCt(dT(gT(fT(pT(AT(new gs,d3t),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new $o),d3t))),a2(t,d3t,p4t,bmt(OTe)),a2(t,d3t,mZt,bmt(FTe)),a2(t,d3t,xZt,bmt(xTe)),a2(t,d3t,UZt,bmt(_Te)),a2(t,d3t,EZt,bmt(BTe)),a2(t,d3t,_Zt,bmt(ETe)),a2(t,d3t,CZt,bmt(STe)),a2(t,d3t,BZt,bmt(MTe)),a2(t,d3t,l3t,bmt(kTe)),a2(t,d3t,c3t,bmt(CTe)),a2(t,d3t,f3t,bmt(LTe)),a2(t,d3t,o3t,bmt(ITe)),a2(t,d3t,s3t,bmt(NTe)),a2(t,d3t,u3t,bmt(DTe)),a2(t,d3t,h3t,bmt(PTe))}function ezt(t){var e;if(this.r=OV(new xt,new _t),this.b=new Hdt(QH(bX(RSe),290)),this.p=new Hdt(QH(bX(RSe),290)),this.i=new Hdt(QH(bX(Fie),290)),this.e=t,this.o=new fI(t.rf()),this.D=t.Df()||Hy(TF(t.We((cqt(),Cxe)))),this.A=QH(t.We((cqt(),Fxe)),21),this.B=QH(t.We(Hxe),21),this.q=QH(t.We(a_e),98),this.u=QH(t.We(l_e),21),!dEt(this.u))throw Um(new nw("Invalid port label placement: "+this.u));if(this.v=Hy(TF(t.We(h_e))),this.j=QH(t.We(Nxe),21),!tOt(this.j))throw Um(new nw("Invalid node label placement: "+this.j));this.n=QH(Zyt(t,Mxe),116),this.k=jy(kF(Zyt(t,B_e))),this.d=jy(kF(Zyt(t,__e))),this.w=jy(kF(Zyt(t,D_e))),this.s=jy(kF(Zyt(t,S_e))),this.t=jy(kF(Zyt(t,L_e))),this.C=QH(Zyt(t,O_e),142),this.c=2*this.d,e=!this.B.Hc((ZRt(),USe)),this.f=new Bgt(0,e,0),this.g=new Bgt(1,e,0),yy(this.f,(Det(),$re),this.g)}function nzt(t,n,r,i,a){var o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x;for(y=0,g=0,p=0,A=1,v=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));v.e!=v.i.gc();)A+=R4(new oG(YO(AOt(m=QH(ymt(v),33)).a.Kc(),new u))),C=m.g,g=e.Math.max(g,C),d=m.f,p=e.Math.max(p,d),y+=C*d;for(s=y+2*i*i*A*(!t.a&&(t.a=new tz($Le,t,10,11)),t.a).i,o=e.Math.sqrt(s),l=e.Math.max(o*r,g),c=e.Math.max(o/r,p),b=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));b.e!=b.i.gc();)m=QH(ymt(b),33),E=a.b+(HMt(n,26)*rYt+HMt(n,27)*iYt)*(l-m.g),x=a.b+(HMt(n,26)*rYt+HMt(n,27)*iYt)*(c-m.f),xnt(m,E),_nt(m,x);for(k=l+(a.b+a.c),T=c+(a.d+a.a),w=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));w.e!=w.i.gc();)for(f=new oG(YO(AOt(QH(ymt(w),33)).a.Kc(),new u));AIt(f);)ZLt(h=QH(K5(f),79))||UXt(h,n,k,T);Pzt(t,k+=a.b+a.c,T+=a.d+a.a,!1,!0)}function rzt(t){var e,n,r,i,a,o,s,c,l,u,h;if(null==t)throw Um(new kw(Kqt));if(l=t,c=!1,(a=t.length)>0&&(h1(0,t.length),45!=(e=t.charCodeAt(0))&&43!=e||(t=t.substr(1),--a,c=45==e)),0==a)throw Um(new kw(DWt+l+'"'));for(;t.length>0&&(h1(0,t.length),48==t.charCodeAt(0));)t=t.substr(1),--a;if(a>(nUt(),Nee)[10])throw Um(new kw(DWt+l+'"'));for(i=0;i<a;i++)if(-1==egt((h1(i,t.length),t.charCodeAt(i))))throw Um(new kw(DWt+l+'"'));for(h=0,o=Mee[10],u=Oee[10],s=y7(Dee[10]),n=!0,(r=a%o)>0&&(h=-parseInt(t.substr(0,r),10),t=t.substr(r),a-=r,n=!1);a>=o;){if(r=parseInt(t.substr(0,o),10),t=t.substr(o),a-=o,n)n=!1;else{if(qut(h,s)<0)throw Um(new kw(DWt+l+'"'));h=idt(h,u)}h=ndt(h,r)}if(qut(h,0)>0)throw Um(new kw(DWt+l+'"'));if(!c&&qut(h=y7(h),0)<0)throw Um(new kw(DWt+l+'"'));return h}function izt(t,e){var n,r,i,a,o,s,c;if(Yj(),this.a=new GM(this),this.b=t,this.c=e,this.f=Bz(Q7((B_t(),WMe),e)),this.f.dc())if((s=bTt(WMe,t))==e)for(this.e=!0,this.d=new Mm,this.f=new fc,this.f.Fc(E7t),QH(Ojt(R7(WMe,Get(t)),""),26)==t&&this.f.Fc(iG(WMe,Get(t))),i=TRt(WMe,t).Kc();i.Ob();)switch(r=QH(i.Pb(),170),Nq(Q7(WMe,r))){case 4:this.d.Fc(r);break;case 5:this.f.Gc(Bz(Q7(WMe,r)))}else if(YE(),QH(e,66).Oj())for(this.e=!0,this.f=null,this.d=new Mm,o=0,c=(null==t.i&&jUt(t),t.i).length;o<c;++o)for(null==t.i&&jUt(t),n=t.i,r=o>=0&&o<n.length?n[o]:null,a=Y1(Q7(WMe,r));a;a=Y1(Q7(WMe,a)))a==e&&this.d.Fc(r);else 1==Nq(Q7(WMe,e))&&s?(this.f=null,this.d=(kLt(),lOe)):(this.f=null,this.e=!0,this.d=(CW(),new jd(e)));else this.e=5==Nq(Q7(WMe,e)),this.f.Fb(iOe)&&(this.f=iOe)}function azt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p;for(r=0,i=xvt(t,n),d=t.s,A=t.t,u=QH(QH(c6(t.r,n),21),84).Kc();u.Ob();)if((l=QH(u.Pb(),111)).c&&!(l.c.d.c.length<=0)){switch(p=l.b.rf(),c=l.b.Xe((cqt(),i_e))?jy(kF(l.b.We(i_e))):0,(f=(h=l.c).i).b=(s=h.n,h.e.a+s.b+s.c),f.a=(o=h.n,h.e.b+o.d+o.a),n.g){case 1:f.c=l.a?(p.a-f.b)/2:p.a+d,f.d=p.b+c+i,u8(h,(W8(),qre)),zF(h,(j7(),rie));break;case 3:f.c=l.a?(p.a-f.b)/2:p.a+d,f.d=-c-i-f.a,u8(h,(W8(),qre)),zF(h,(j7(),eie));break;case 2:f.c=-c-i-f.b,l.a?(a=t.v?f.a:QH(O$(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+A,u8(h,(W8(),Wre)),zF(h,(j7(),nie));break;case 4:f.c=p.a+c+i,l.a?(a=t.v?f.a:QH(O$(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+A,u8(h,(W8(),Vre)),zF(h,(j7(),nie))}(n==(yzt(),sSe)||n==CSe)&&(r=e.Math.max(r,f.a))}r>0&&(QH(oV(t.b,n),124).a.b=r)}function ozt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(SCt(e,"Comment pre-processing",1),n=0,c=new zd(t.a);c.a<c.c.c.length;)if(Hy(TF(bEt(s=QH(J1(c),10),(HXt(),Tpe))))){for(++n,i=0,r=null,l=null,A=new zd(s.j);A.a<A.c.c.length;)i+=(f=QH(J1(A),11)).e.c.length+f.g.c.length,1==f.e.c.length&&(l=(r=QH(O$(f.e,0),17)).c),1==f.g.c.length&&(l=(r=QH(O$(f.g,0),17)).d);if(1!=i||l.e.c.length+l.g.c.length!=1||Hy(TF(bEt(l.i,Tpe)))){for(g=new Mm,d=new zd(s.j);d.a<d.c.c.length;){for(h=new zd((f=QH(J1(d),11)).g);h.a<h.c.c.length;)0==(u=QH(J1(h),17)).d.g.c.length||(g.c[g.c.length]=u);for(o=new zd(f.e);o.a<o.c.c.length;)0==(a=QH(J1(o),17)).c.e.c.length||(g.c[g.c.length]=a)}for(p=new zd(g);p.a<p.c.c.length;)tHt(QH(J1(p),17),!0)}else Zzt(s,r,l,l.i),Sz(c)}e.n&&Bj(e,"Found "+n+" comment boxes"),Hxt(e)}function szt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p;if(f=jy(kF(bEt(t,(HXt(),xme)))),d=jy(kF(bEt(t,_me))),h=jy(kF(bEt(t,Cme))),s=t.o,o=(a=QH(O$(t.j,0),11)).n,p=k_t(a,h)){if(e.Hc((hSt(),tSe)))switch(QH(bEt(t,(lqt(),qhe)),61).g){case 1:p.c=(s.a-p.b)/2-o.a,p.d=d;break;case 3:p.c=(s.a-p.b)/2-o.a,p.d=-d-p.a;break;case 2:n&&0==a.e.c.length&&0==a.g.c.length?(u=r?p.a:QH(O$(a.f,0),70).o.b,p.d=(s.b-u)/2-o.b):p.d=s.b+d-o.b,p.c=-f-p.b;break;case 4:n&&0==a.e.c.length&&0==a.g.c.length?(u=r?p.a:QH(O$(a.f,0),70).o.b,p.d=(s.b-u)/2-o.b):p.d=s.b+d-o.b,p.c=f}else if(e.Hc(nSe))switch(QH(bEt(t,(lqt(),qhe)),61).g){case 1:case 3:p.c=o.a+f;break;case 2:case 4:n&&!a.c?(u=r?p.a:QH(O$(a.f,0),70).o.b,p.d=(s.b-u)/2-o.b):p.d=o.b+d}for(i=p.d,l=new zd(a.f);l.a<l.c.c.length;)(A=(c=QH(J1(l),70)).n).a=p.c,A.b=i,i+=c.o.b+h}}function czt(){DL(hOe,new Vl),DL(jOe,new ou),DL($Oe,new mu),DL(KOe,new Bu),DL(Vee,new Mu),DL(jw(INe,1),new Ou),DL(yee,new Nu),DL(kee,new Du),DL(Vee,new Ql),DL(Vee,new Ul),DL(Vee,new Hl),DL(xee,new jl),DL(Vee,new $l),DL(Fte,new Kl),DL(Fte,new Gl),DL(Vee,new zl),DL(_ee,new Xl),DL(Vee,new ql),DL(Vee,new Wl),DL(Vee,new Yl),DL(Vee,new Jl),DL(Vee,new Zl),DL(jw(INe,1),new tu),DL(Vee,new eu),DL(Vee,new nu),DL(Fte,new ru),DL(Fte,new iu),DL(Vee,new au),DL(Lee,new su),DL(Vee,new cu),DL(Fee,new lu),DL(Vee,new uu),DL(Vee,new hu),DL(Vee,new fu),DL(Vee,new du),DL(Fte,new Au),DL(Fte,new pu),DL(Vee,new gu),DL(Vee,new bu),DL(Vee,new vu),DL(Vee,new yu),DL(Vee,new wu),DL(Vee,new Tu),DL(Ree,new ku),DL(Vee,new Cu),DL(Vee,new Eu),DL(Vee,new xu),DL(Ree,new _u),DL(Fee,new Su),DL(Vee,new Lu),DL(Lee,new Iu)}function lzt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;if((h=e.length)>0&&(h1(0,e.length),64!=(s=e.charCodeAt(0)))){if(37==s&&(c=!1,0!=(u=e.lastIndexOf("%"))&&(u==h-1||(h1(u+1,e.length),c=46==e.charCodeAt(u+1))))){if(b=mR("%",o=e.substr(1,u-1))?null:Izt(o),r=0,c)try{r=hQt(e.substr(u+2),RVt,Dqt)}catch(t){throw rO(t=hst(t),127)?Um(new I7(t)):Um(t)}for(p=Tit(t.Wg());p.Ob();)if(rO(d=Cot(p),510)&&(m=(i=QH(d,590)).d,(null==b?null==m:mR(b,m))&&0==r--))return i;return null}if(f=-1==(l=e.lastIndexOf("."))?e:e.substr(0,l),n=0,-1!=l)try{n=hQt(e.substr(l+1),RVt,Dqt)}catch(t){if(!rO(t=hst(t),127))throw Um(t);f=e}for(f=mR("%",f)?null:Izt(f),A=Tit(t.Wg());A.Ob();)if(rO(d=Cot(A),191)&&(g=(a=QH(d,191)).ne(),(null==f?null==g:mR(f,g))&&0==n--))return a;return null}return R$t(t,e)}function uzt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C;for(v=new Mm,h=new zd(t.b);h.a<h.c.c.length;)for(A=new zd(QH(J1(h),29).a);A.a<A.c.c.length;)if((f=QH(J1(A),10)).k==(oxt(),kse)&&ID(f,(lqt(),Xhe))){for(p=null,m=null,g=null,T=new zd(f.j);T.a<T.c.c.length;)switch((w=QH(J1(T),11)).j.g){case 4:p=w;break;case 2:m=w;break;default:g=w}for(l=new FT((b=QH(O$(g.g,0),17)).a),KP(c=new fI(g.n),f.n),Jz(cmt(l,0),c),y=Yct(b.a),KP(u=new fI(g.n),f.n),n5(y,u,y.c.b,y.c),k=QH(bEt(f,Xhe),10),C=QH(O$(k.j,0),11),a=0,s=(r=QH(Vgt(p.e,O9(bse,i1t,17,0,0,1)),474)).length;a<s;++a)kZ(e=r[a],C),Xlt(e.a,e.a.b,l);for(i=0,o=(n=Y0(m.g)).length;i<o;++i)CZ(e=n[i],C),Xlt(e.a,0,y);CZ(b,null),kZ(b,null),v.c[v.c.length]=f}for(d=new zd(v);d.a<d.c.c.length;)EZ(f=QH(J1(d),10),null)}function hzt(){var t,e,n;for(hzt=L,new vtt(1,0),new vtt(10,0),new vtt(0,0),Hee=O9(nne,cVt,240,11,0,1),jee=O9(_Ne,XVt,25,100,15,1),$ee=xst(jw(MNe,1),jWt,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),Kee=O9(BNe,lWt,25,$ee.length,15,1),Gee=xst(jw(MNe,1),jWt,25,15,[1,10,100,qVt,1e4,$Wt,1e6,1e7,1e8,LWt,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),zee=O9(BNe,lWt,25,Gee.length,15,1),Xee=O9(nne,cVt,240,11,0,1),t=0;t<Xee.length;t++)Hee[t]=new vtt(t,0),Xee[t]=new vtt(0,t),jee[t]=48;for(;t<jee.length;t++)jee[t]=48;for(n=0;n<Kee.length;n++)Kee[n]=aSt($ee[n]);for(e=0;e<zee.length;e++)zee[e]=aSt(Gee[e]);ILt()}function fzt(){function t(){this.obj=this.createObject()}return t.prototype.createObject=function(t){return Object.create(null)},t.prototype.get=function(t){return this.obj[t]},t.prototype.set=function(t,e){this.obj[t]=e},t.prototype[nYt]=function(t){delete this.obj[t]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var t=this.keys(),e=this,n=0;return{next:function(){if(n>=t.length)return{done:!0};var r=t[n++];return{value:[r,e.get(r)],done:!1}}}},KFt()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(t){return this.obj[":"+t]},t.prototype.set=function(t,e){this.obj[":"+t]=e},t.prototype[nYt]=function(t){delete this.obj[":"+t]},t.prototype.keys=function(){var t=[];for(var e in this.obj)58==e.charCodeAt(0)&&t.push(e.substring(1));return t}),t}function dzt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p;if(xUt(),null==t)return null;if(0==(h=8*t.length))return"";for(f=h/24|0,a=null,a=O9(_Ne,XVt,25,4*(0!=(s=h%24)?f+1:f),15,1),l=0,u=0,e=0,n=0,r=0,o=0,i=0,c=0;c<f;c++)e=t[i++],u=(15&(n=t[i++]))<<24>>24,l=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,A=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,p=0==(-128&(r=t[i++]))?r>>6<<24>>24:(r>>6^252)<<24>>24,a[o++]=zOe[d],a[o++]=zOe[A|l<<4],a[o++]=zOe[u<<2|p],a[o++]=zOe[63&r];return 8==s?(l=(3&(e=t[i]))<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,a[o++]=zOe[d],a[o++]=zOe[l<<4],a[o++]=61,a[o++]=61):16==s&&(e=t[i],u=(15&(n=t[i+1]))<<24>>24,l=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,A=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,a[o++]=zOe[d],a[o++]=zOe[A|l<<4],a[o++]=zOe[u<<2],a[o++]=61),Upt(a,0,a.length)}function Azt(t,n){var r,i,a,o,s,c;if(0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>RVt&&t3(n,t.p-cWt),s=n.q.getDate(),RJ(n,1),t.k>=0&&gZ(n,t.k),t.c>=0?RJ(n,t.c):t.k>=0?(i=35-new mct(n.q.getFullYear()-cWt,n.q.getMonth(),35).q.getDate(),RJ(n,e.Math.min(i,s))):RJ(n,s),t.f<0&&(t.f=n.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),iO(n,24==t.f&&t.g?0:t.f),t.j>=0&&A6(n,t.j),t.n>=0&&K9(n,t.n),t.i>=0&&dL(n,rdt(idt(STt(uot(n.q.getTime()),qVt),qVt),t.i)),t.a&&(t3(a=new SC,a.q.getFullYear()-cWt-80),sx(uot(n.q.getTime()),uot(a.q.getTime()))&&t3(n,a.q.getFullYear()-cWt+100)),t.d>=0)if(-1==t.c)(r=(7+t.d-n.q.getDay())%7)>3&&(r-=7),c=n.q.getMonth(),RJ(n,n.q.getDate()+r),n.q.getMonth()!=c&&RJ(n,n.q.getDate()+(r>0?-7:7));else if(n.q.getDay()!=t.d)return!1;return t.o>RVt&&(o=n.q.getTimezoneOffset(),dL(n,rdt(uot(n.q.getTime()),60*(t.o-o)*qVt))),!0}function pzt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m;if(rO(i=bEt(e,(lqt(),dfe)),239)){for(d=QH(i,33),A=e.e,h=new fI(e.c),a=e.d,h.a+=a.b,h.b+=a.d,CN(QH(JIt(d,(HXt(),Hge)),174),(ZRt(),HSe))&&(Bf(f=QH(JIt(d,$ge),116),a.a),Pf(f,a.d),Sf(f,a.b),Rf(f,a.c)),n=new Mm,l=new zd(e.a);l.a<l.c.c.length;)for(rO(bEt(s=QH(J1(l),10),dfe),239)?_zt(s,h):rO(bEt(s,dfe),186)&&!A&&CI(r=QH(bEt(s,dfe),118),(g=vUt(e,s,r.g,r.f)).a,g.b),p=new zd(s.j);p.a<p.c.c.length;)WC(SV(new D$(null,new f1(QH(J1(p),11).g,16)),new qA(s)),new VA(n));if(A)for(p=new zd(A.j);p.a<p.c.c.length;)WC(SV(new D$(null,new f1(QH(J1(p),11).g,16)),new WA(A)),new YA(n));for(m=QH(JIt(d,Ype),218),o=new zd(n);o.a<o.c.c.length;)gGt(QH(J1(o),17),m,h);for(bQt(e),c=new zd(e.a);c.a<c.c.c.length;)(u=(s=QH(J1(c),10)).e)&&pzt(t,u)}}function gzt(t){ME(t,new CCt(mT(dT(gT(fT(pT(AT(new gs,pZt),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new Ae),pZt),wK((lIt(),JLe),xst(jw(rIe,1),IVt,237,0,[WLe]))))),a2(t,pZt,gZt,nft(1)),a2(t,pZt,mZt,80),a2(t,pZt,bZt,5),a2(t,pZt,qJt,AZt),a2(t,pZt,vZt,nft(1)),a2(t,pZt,yZt,(cN(),!0)),a2(t,pZt,VJt,qae),a2(t,pZt,wZt,bmt(Uae)),a2(t,pZt,TZt,bmt(Vae)),a2(t,pZt,kZt,!1),a2(t,pZt,CZt,bmt(zae)),a2(t,pZt,EZt,bmt(Gae)),a2(t,pZt,xZt,bmt(Kae)),a2(t,pZt,_Zt,bmt($ae)),a2(t,pZt,BZt,bmt(Wae)),a2(t,pZt,sZt,bmt(jae)),a2(t,pZt,uZt,bmt(ioe)),a2(t,pZt,cZt,bmt(Hae)),a2(t,pZt,fZt,bmt(Zae)),a2(t,pZt,lZt,bmt(toe))}function mzt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A;if(!QH(QH(c6(t.r,n),21),84).dc()){if(l=(s=QH(oV(t.b,n),124)).i,c=s.n,h=xFt(t,n),i=l.b-c.b-c.c,a=s.a.a,o=l.c+c.b,A=t.w,h!=(imt(),QBe)&&h!=HBe||1!=QH(QH(c6(t.r,n),21),84).gc()||(a=h==QBe?a-2*t.w:a,h=RBe),i<a&&!t.B.Hc((ZRt(),zSe)))h==QBe?o+=A+=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()+1):A+=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()-1);else switch(i<a&&(a=h==QBe?a-2*t.w:a,h=RBe),h.g){case 3:o+=(i-a)/2;break;case 4:o+=i-a;break;case 0:r=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()+1),o+=A+=e.Math.max(0,r);break;case 1:r=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()-1),A+=e.Math.max(0,r)}for(d=QH(QH(c6(t.r,n),21),84).Kc();d.Ob();)(f=QH(d.Pb(),111)).e.a=o+f.d.b,f.e.b=(u=f.b).Xe((cqt(),i_e))?u.Hf()==(yzt(),sSe)?-u.rf().b-jy(kF(u.We(i_e))):jy(kF(u.We(i_e))):u.Hf()==(yzt(),sSe)?-u.rf().b:0,o+=f.d.b+f.b.rf().a+f.d.c+A}}function bzt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p;if(!QH(QH(c6(t.r,n),21),84).dc()){if(l=(s=QH(oV(t.b,n),124)).i,c=s.n,f=xFt(t,n),i=l.a-c.d-c.a,a=s.a.b,o=l.d+c.d,p=t.w,u=t.o.a,f!=(imt(),QBe)&&f!=HBe||1!=QH(QH(c6(t.r,n),21),84).gc()||(a=f==QBe?a-2*t.w:a,f=RBe),i<a&&!t.B.Hc((ZRt(),zSe)))f==QBe?o+=p+=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()+1):p+=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()-1);else switch(i<a&&(a=f==QBe?a-2*t.w:a,f=RBe),f.g){case 3:o+=(i-a)/2;break;case 4:o+=i-a;break;case 0:r=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()+1),o+=p+=e.Math.max(0,r);break;case 1:r=(i-a)/(QH(QH(c6(t.r,n),21),84).gc()-1),p+=e.Math.max(0,r)}for(A=QH(QH(c6(t.r,n),21),84).Kc();A.Ob();)(d=QH(A.Pb(),111)).e.a=(h=d.b).Xe((cqt(),i_e))?h.Hf()==(yzt(),xSe)?-h.rf().a-jy(kF(h.We(i_e))):u+jy(kF(h.We(i_e))):h.Hf()==(yzt(),xSe)?-h.rf().a:u,d.e.b=o+d.d.d,o+=d.d.d+d.b.rf().b+d.d.a+p}}function vzt(t){var n,r,i,a,o,s,c,l,h,f,d,A,p,g,m;for(t.n=jy(kF(bEt(t.g,(HXt(),Bme)))),t.e=jy(kF(bEt(t.g,Tme))),t.i=t.g.b.c.length,c=t.i-1,A=0,t.j=0,t.k=0,t.a=a6(O9(Lee,cVt,19,t.i,0,1)),t.b=a6(O9(xee,cVt,333,t.i,7,1)),s=new zd(t.g.b);s.a<s.c.c.length;){for((a=QH(J1(s),29)).p=c,d=new zd(a.a);d.a<d.c.c.length;)(f=QH(J1(d),10)).p=A,++A;--c}for(t.f=O9(BNe,lWt,25,A,15,1),t.c=v$(BNe,[cVt,lWt],[48,25],15,[A,3],2),t.o=new Mm,t.p=new Mm,n=0,t.d=0,o=new zd(t.g.b);o.a<o.c.c.length;){for(c=(a=QH(J1(o),29)).p,i=0,m=0,l=a.a.c.length,h=0,d=new zd(a.a);d.a<d.c.c.length;)A=(f=QH(J1(d),10)).p,t.f[A]=f.c.p,h+=f.o.b+t.n,r=R4(new oG(YO(udt(f).a.Kc(),new u))),g=R4(new oG(YO(hdt(f).a.Kc(),new u))),t.c[A][0]=g-r,t.c[A][1]=r,t.c[A][2]=g,i+=r,m+=g,r>0&&zH(t.p,f),zH(t.o,f);p=l+(n-=i),h+=n*t.e,r5(t.a,c,nft(p)),r5(t.b,c,h),t.j=e.Math.max(t.j,p),t.k=e.Math.max(t.k,h),t.d+=n,n+=m}}function yzt(){var t;yzt=L,ESe=new zB(lJt,0),sSe=new zB(bJt,1),oSe=new zB(vJt,2),CSe=new zB(yJt,3),xSe=new zB(wJt,4),CW(),fSe=new Sw(new VR(t=QH(XT(RSe),9),QH(CP(t,t.length),9),0)),dSe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[]))),cSe=uht(wK(oSe,xst(jw(RSe,1),WZt,61,0,[]))),wSe=uht(wK(CSe,xst(jw(RSe,1),WZt,61,0,[]))),kSe=uht(wK(xSe,xst(jw(RSe,1),WZt,61,0,[]))),bSe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[CSe]))),hSe=uht(wK(oSe,xst(jw(RSe,1),WZt,61,0,[xSe]))),ySe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[xSe]))),ASe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[oSe]))),TSe=uht(wK(CSe,xst(jw(RSe,1),WZt,61,0,[xSe]))),lSe=uht(wK(oSe,xst(jw(RSe,1),WZt,61,0,[CSe]))),mSe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[oSe,xSe]))),uSe=uht(wK(oSe,xst(jw(RSe,1),WZt,61,0,[CSe,xSe]))),vSe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[CSe,xSe]))),pSe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[oSe,CSe]))),gSe=uht(wK(sSe,xst(jw(RSe,1),WZt,61,0,[oSe,CSe,xSe])))}function wzt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;if(0!=n.b){for(f=new VC,o=null,d=null,r=xJ(e.Math.floor(e.Math.log(n.b)*e.Math.LOG10E)+1),s=0,b=cmt(n,0);b.b!=b.d.c;)for(g=QH(h4(b),86),jS(d)!==jS(bEt(g,(j$t(),nwe)))&&(d=CF(bEt(g,nwe)),s=0),o=null!=d?d+d0(s++,r):d0(s++,r),lct(g,nwe,o),p=new fg(cmt(new hg(g).a.d,0));wk(p.a);)n5(f,A=QH(h4(p.a),188).c,f.c.b,f.c),lct(A,nwe,o);for(h=new Om,a=0;a<o.length-r;a++)for(m=cmt(n,0);m.b!=m.d.c;)mZ(h,c=lD(CF(bEt(g=QH(h4(m),86),(j$t(),nwe))),0,a+1),nft(null!=(null==c?HS(SY(h.f,null)):cx(h.g,c))?QH(null==c?HS(SY(h.f,null)):cx(h.g,c),19).a+1:1));for(u=new olt(new Ed(h).a);u.b;)l=tnt(u),i=nft(null!=DX(t.a,l.cd())?QH(DX(t.a,l.cd()),19).a:0),mZ(t.a,CF(l.cd()),nft(QH(l.dd(),19).a+i.a)),(!(i=QH(DX(t.b,l.cd()),19))||i.a<QH(l.dd(),19).a)&&mZ(t.b,CF(l.cd()),QH(l.dd(),19));wzt(t,f)}}function Tzt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;for(SCt(r,"Interactive node layering",1),i=new Mm,A=new zd(n.a);A.a<A.c.c.length;){for(l=(u=(f=QH(J1(A),10)).n.a)+f.o.a,l=e.Math.max(u+1,l),b=new k2(i,0),a=null;b.b<b.d.gc();){if(ED(b.b<b.d.gc()),(g=QH(b.d.Xb(b.c=b.b++),569)).c>=l){ED(b.b>0),b.a.Xb(b.c=--b.b);break}g.a>u&&(a?(pst(a.b,g.b),a.a=e.Math.max(a.a,g.a),lq(b)):(zH(g.b,f),g.c=e.Math.min(g.c,u),g.a=e.Math.max(g.a,l),a=g))}a||((a=new ev).c=u,a.a=l,bP(b,a),zH(a.b,f))}for(c=n.b,h=0,m=new zd(i);m.a<m.c.c.length;)for(g=QH(J1(m),569),(o=new UX(n)).p=h++,c.c[c.c.length]=o,p=new zd(g.b);p.a<p.c.c.length;)EZ(f=QH(J1(p),10),o),f.p=0;for(d=new zd(n.a);d.a<d.c.c.length;)0==(f=QH(J1(d),10)).p&&_Ft(t,f,n);for(s=new k2(c,0);s.b<s.d.gc();)0==(ED(s.b<s.d.gc()),QH(s.d.Xb(s.c=s.b++),29)).a.c.length&&lq(s);n.a.c=O9(Lte,Hqt,1,0,5,1),Hxt(r)}function kzt(t,e,n){var r,i,a,o,s,c,l,u,h,f;if(0!=e.e.c.length&&0!=n.e.c.length){if((r=QH(O$(e.e,0),17).c.i)==(o=QH(O$(n.e,0),17).c.i))return wM(QH(bEt(QH(O$(e.e,0),17),(lqt(),ffe)),19).a,QH(bEt(QH(O$(n.e,0),17),ffe),19).a);for(h=0,f=(u=t.a).length;h<f;++h){if((l=u[h])==r)return 1;if(l==o)return-1}}return 0!=e.g.c.length&&0!=n.g.c.length?(a=QH(bEt(e,(lqt(),ufe)),10),c=QH(bEt(n,ufe),10),i=0,s=0,ID(QH(O$(e.g,0),17),ffe)&&(i=QH(bEt(QH(O$(e.g,0),17),ffe),19).a),ID(QH(O$(n.g,0),17),ffe)&&(s=QH(bEt(QH(O$(e.g,0),17),ffe),19).a),a&&a==c?Hy(TF(bEt(QH(O$(e.g,0),17),xfe)))&&!Hy(TF(bEt(QH(O$(n.g,0),17),xfe)))?1:!Hy(TF(bEt(QH(O$(e.g,0),17),xfe)))&&Hy(TF(bEt(QH(O$(n.g,0),17),xfe)))||i<s?-1:i>s?1:0:(t.b&&(t.b._b(a)&&(i=QH(t.b.xc(a),19).a),t.b._b(c)&&(s=QH(t.b.xc(c),19).a)),i<s?-1:i>s?1:0)):0!=e.e.c.length&&0!=n.g.c.length?1:-1}function Czt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;for(SCt(e,S1t,1),A=new Mm,y=new Mm,l=new zd(t.b);l.a<l.c.c.length;)for(g=-1,f=0,d=(h=J0((c=QH(J1(l),29)).a)).length;f<d;++f)if(++g,(u=h[f]).k==(oxt(),xse)&&gI(QH(bEt(u,(HXt(),tme)),98))){for(IR(QH(bEt(u,(HXt(),tme)),98))||HNt(u),lct(u,(lqt(),nfe),u),A.c=O9(Lte,Hqt,1,0,5,1),y.c=O9(Lte,Hqt,1,0,5,1),n=new Mm,jit(b=new VC,Dxt(u,(yzt(),sSe))),LXt(t,b,A,y,n),s=g,w=u,a=new zd(A);a.a<a.c.c.length;)Vyt(r=QH(J1(a),10),s,c),++g,lct(r,nfe,u),o=QH(O$(r.j,0),11),p=QH(bEt(o,dfe),11),Hy(TF(bEt(p,ype)))||QH(bEt(r,rfe),15).Fc(w);for(bW(b),m=Dxt(u,CSe).Kc();m.Ob();)n5(b,QH(m.Pb(),11),b.a,b.a.a);for(LXt(t,b,y,null,n),v=u,i=new zd(y);i.a<i.c.c.length;)Vyt(r=QH(J1(i),10),++g,c),lct(r,nfe,u),o=QH(O$(r.j,0),11),p=QH(bEt(o,dfe),11),Hy(TF(bEt(p,ype)))||QH(bEt(v,rfe),15).Fc(r);0==n.c.length||lct(u,Ohe,n)}Hxt(e)}function Ezt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_;for(u=QH(bEt(t,(Cit(),soe)),33),p=Dqt,g=Dqt,d=RVt,A=RVt,b=new zd(t.e);b.a<b.c.c.length;)k=(m=QH(J1(b),144)).d,C=m.e,p=e.Math.min(p,k.a-C.a/2),g=e.Math.min(g,k.b-C.b/2),d=e.Math.max(d,k.a+C.a/2),A=e.Math.max(A,k.b+C.b/2);for(w=new OB((T=QH(JIt(u,(uPt(),Xae)),116)).b-p,T.d-g),c=new zd(t.e);c.a<c.c.c.length;)rO(y=bEt(s=QH(J1(c),144),soe),239)&&CI(h=QH(y,33),(v=KP(s.d,w)).a-h.g/2,v.b-h.f/2);for(i=new zd(t.c);i.a<i.c.c.length;)r=QH(J1(i),282),l=iFt(QH(bEt(r,soe),79),!0,!0),Gwt(x=GP(QM(r.d.d),r.c.d),r.c.e.a,r.c.e.b),xI(l,(E=KP(x,r.c.d)).a,E.b),Gwt(_=GP(QM(r.c.d),r.d.d),r.d.e.a,r.d.e.b),EI(l,(n=KP(_,r.d.d)).a,n.b);for(o=new zd(t.d);o.a<o.c.c.length;)a=QH(J1(o),447),CI(QH(bEt(a,soe),137),(f=KP(a.d,w)).a,f.b);Pzt(u,d-p+(T.b+T.c),A-g+(T.d+T.a),!1,!0)}function xzt(t){var e,n,r,i,a,o,s,c,l,u,h;for(n=null,s=null,(i=QH(bEt(t.b,(HXt(),ege)),376))==(S6(),Wbe)&&(n=new Mm,s=new Mm),o=new zd(t.d);o.a<o.c.c.length;)if((a=QH(J1(o),101)).i)switch(a.e.g){case 0:e=QH(a3(new qC(a.b)),61),i==Wbe&&e==(yzt(),sSe)?n.c[n.c.length]=a:i==Wbe&&e==(yzt(),CSe)?s.c[s.c.length]=a:Ovt(a,e);break;case 1:c=a.a.d.j,l=a.c.d.j,c==(yzt(),sSe)?hz(a,sSe,(Sst(),mle),a.a):l==sSe?hz(a,sSe,(Sst(),ble),a.c):c==CSe?hz(a,CSe,(Sst(),ble),a.a):l==CSe&&hz(a,CSe,(Sst(),mle),a.c);break;case 2:case 3:CN(r=a.b,(yzt(),sSe))?CN(r,CSe)?CN(r,xSe)?CN(r,oSe)||hz(a,sSe,(Sst(),ble),a.c):hz(a,sSe,(Sst(),mle),a.a):hz(a,sSe,(Sst(),gle),null):hz(a,CSe,(Sst(),gle),null);break;case 4:u=a.a.d.j,h=a.a.d.j,u==(yzt(),sSe)||h==sSe?hz(a,CSe,(Sst(),gle),null):hz(a,sSe,(Sst(),gle),null)}n&&(0==n.c.length||VUt(n,(yzt(),sSe)),0==s.c.length||VUt(s,(yzt(),CSe)))}function _zt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A;for(r=QH(bEt(t,(lqt(),dfe)),33),d=QH(bEt(t,(HXt(),Qpe)),19).a,a=QH(bEt(t,yge),19).a,Wmt(r,Qpe,nft(d)),Wmt(r,yge,nft(a)),xnt(r,t.n.a+e.a),_nt(r,t.n.b+e.b),(0!=QH(JIt(r,Rge),174).gc()||t.e||jS(bEt(gq(t),Pge))===jS((Obt(),mbe))&&pI((fbt(),(t.q?t.q:(CW(),CW(),lne))._b(Dge)?QH(bEt(t,Dge),197):QH(bEt(gq(t),Fge),197))))&&(Ent(r,t.o.a),Cnt(r,t.o.b)),h=new zd(t.j);h.a<h.c.c.length;)rO(A=bEt(l=QH(J1(h),11),dfe),186)&&(CI(i=QH(A,118),l.n.a,l.n.b),Wmt(i,ame,l.j));for(f=0!=QH(bEt(t,Lge),174).gc(),c=new zd(t.b);c.a<c.c.c.length;)o=QH(J1(c),70),(f||0!=QH(bEt(o,Lge),174).gc())&&(kI(n=QH(bEt(o,dfe),137),o.o.a,o.o.b),CI(n,o.n.a,o.n.b));if(!UG(QH(bEt(t,rme),21)))for(u=new zd(t.j);u.a<u.c.c.length;)for(s=new zd((l=QH(J1(u),11)).f);s.a<s.c.c.length;)o=QH(J1(s),70),Ent(n=QH(bEt(o,dfe),137),o.o.a),Cnt(n,o.o.b),CI(n,o.n.a,o.n.b)}function Bzt(t){var e,n,r,i,a;switch(BY(t,n9t),(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i+(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c).i){case 0:throw Um(new Py("The edge must have at least one source or target."));case 1:return 0==(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i?WJ(xCt(QH(Xet((!t.c&&(t.c=new cR(DLe,t,5,8)),t.c),0),82))):WJ(xCt(QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82)))}if(1==(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b).i&&1==(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c).i){if(i=xCt(QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82)),a=xCt(QH(Xet((!t.c&&(t.c=new cR(DLe,t,5,8)),t.c),0),82)),WJ(i)==WJ(a))return WJ(i);if(i==WJ(a))return i;if(a==WJ(i))return a}for(e=xCt(QH(K5(r=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[(!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),(!t.c&&(t.c=new cR(DLe,t,5,8)),t.c)])))),82));AIt(r);)if((n=xCt(QH(K5(r),82)))!=e&&!_et(n,e))if(WJ(n)==WJ(e))e=WJ(n);else if(!(e=UMt(e,n)))return null;return e}function Szt(t,n,r){var i,a,o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T;for(SCt(r,"Polyline edge routing",1),b=jy(kF(bEt(n,(HXt(),Zpe)))),p=jy(kF(bEt(n,Sme))),a=jy(kF(bEt(n,vme))),i=e.Math.min(1,a/p),w=0,l=0,0!=n.b.c.length&&(w=.4*i*(T=lOt(QH(O$(n.b,0),29)))),c=new k2(n.b,0);c.b<c.d.gc();){for(ED(c.b<c.d.gc()),(o=XS(s=QH(c.d.Xb(c.c=c.b++),29),yye))&&w>0&&(w-=p),k$t(s,w),f=0,A=new zd(s.a);A.a<A.c.c.length;){for(h=0,m=new oG(YO(hdt(d=QH(J1(A),10)).a.Kc(),new u));AIt(m);)v=A1((g=QH(K5(m),17)).c).b,y=A1(g.d).b,s!=g.d.i.c||h5(g)||(qSt(g,w,.4*i*e.Math.abs(v-y)),g.c.j==(yzt(),xSe)&&(v=0,y=0)),h=e.Math.max(h,e.Math.abs(y-v));switch(d.k.g){case 0:case 4:case 1:case 3:case 5:$$t(t,d,w,b)}f=e.Math.max(f,h)}c.b<c.d.gc()&&(T=lOt((ED(c.b<c.d.gc()),QH(c.d.Xb(c.c=c.b++),29))),f=e.Math.max(f,T),ED(c.b>0),c.a.Xb(c.c=--c.b)),l=.4*i*f,!o&&c.b<c.d.gc()&&(l+=p),w+=s.c.a+l}t.a.a.$b(),n.f.a=w,Hxt(r)}function Lzt(t){var e,n,r,i,a,o,s,c,l,h,f,d,A,p,g,m,b;for(l=new Om,s=new pJ,r=new zd(t.a.a.b);r.a<r.c.c.length;)if(c=l2(e=QH(J1(r),57)))wBt(l.f,c,e);else if(b=l4(e))for(i=new zd(b.k);i.a<i.c.c.length;)YSt(s,QH(J1(i),17),e);for(n=new zd(t.a.a.b);n.a<n.c.c.length;)if(c=l2(e=QH(J1(n),57)))for(o=new oG(YO(hdt(c).a.Kc(),new u));AIt(o);)if(!h5(a=QH(K5(o),17))&&(A=a.c,m=a.d,!(yzt(),bSe).Hc(a.c.j)||!bSe.Hc(a.d.j))){if(p=QH(DX(l,a.d.i),57),GNt(iE(rE(aE(nE(new Ub,0),100),t.c[e.a.d]),t.c[p.a.d])),A.j==xSe&&LG((pat(),A)))for(f=QH(c6(s,a),21).Kc();f.Ob();)if((h=QH(f.Pb(),57)).d.c<e.d.c){if((d=t.c[h.a.d])==(g=t.c[e.a.d]))continue;GNt(iE(rE(aE(nE(new Ub,1),100),d),g))}if(m.j==oSe&&SG((pat(),m)))for(f=QH(c6(s,a),21).Kc();f.Ob();)if((h=QH(f.Pb(),57)).d.c>e.d.c){if((d=t.c[e.a.d])==(g=t.c[h.a.d]))continue;GNt(iE(rE(aE(nE(new Ub,1),100),d),g))}}}function Izt(t){var e,n,r,i,a,o,s,c;if(Fjt(),null==t)return null;if((i=jL(t,WCt(37)))<0)return t;for(c=new uN(t.substr(0,i)),e=O9(INe,m6t,25,4,15,1),s=0,r=0,o=t.length;i<o;i++)if(h1(i,t.length),37==t.charCodeAt(i)&&t.length>i+2&&tct((h1(i+1,t.length),t.charCodeAt(i+1)),xIe,_Ie)&&tct((h1(i+2,t.length),t.charCodeAt(i+2)),xIe,_Ie))if(n=xj((h1(i+1,t.length),t.charCodeAt(i+1)),(h1(i+2,t.length),t.charCodeAt(i+2))),i+=2,r>0?128==(192&n)?e[s++]=n<<24>>24:r=0:n>=128&&(192==(224&n)?(e[s++]=n<<24>>24,r=2):224==(240&n)?(e[s++]=n<<24>>24,r=3):240==(248&n)&&(e[s++]=n<<24>>24,r=4)),r>0){if(s==r){switch(s){case 2:OX(c,((31&e[0])<<6|63&e[1])&VVt);break;case 3:OX(c,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&VVt)}s=0,r=0}}else{for(a=0;a<s;++a)OX(c,e[a]&VVt);s=0,c.a+=String.fromCharCode(n)}else{for(a=0;a<s;++a)OX(c,e[a]&VVt);s=0,OX(c,(h1(i,t.length),t.charCodeAt(i)))}return c.a}function Mzt(t,e,n,r,i){var a,o,s;if(btt(t,e),o=e[0],a=lV(n.c,0),s=-1,Wct(n))if(r>0){if(o+r>t.length)return!1;s=GSt(t.substr(0,o+r),e)}else s=GSt(t,e);switch(a){case 71:return s=KCt(t,o,xst(jw(Vee,1),cVt,2,6,[uWt,hWt]),e),i.e=s,!0;case 77:return pFt(t,e,i,s,o);case 76:return gFt(t,e,i,s,o);case 69:return rBt(t,e,o,i);case 99:return iBt(t,e,o,i);case 97:return s=KCt(t,o,xst(jw(Vee,1),cVt,2,6,["AM","PM"]),e),i.b=s,!0;case 121:return mFt(t,e,o,s,n,i);case 100:return!(s<=0||(i.c=s,0));case 83:return!(s<0)&&wAt(s,o,e[0],i);case 104:12==s&&(s=0);case 75:case 72:return!(s<0||(i.f=s,i.g=!1,0));case 107:return!(s<0||(i.f=s,i.g=!0,0));case 109:return!(s<0||(i.j=s,0));case 115:return!(s<0||(i.n=s,0));case 90:if(o<t.length&&(h1(o,t.length),90==t.charCodeAt(o)))return++e[0],i.o=0,!0;case 122:case 118:return _Ct(t,o,e,i);default:return!1}}function Ozt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;if(d=QH(QH(c6(t.r,n),21),84),n!=(yzt(),oSe)&&n!=xSe){for(o=n==sSe?(Dot(),Mie):(Dot(),Die),w=n==sSe?(j7(),rie):(j7(),eie),a=(i=(r=QH(oV(t.b,n),124)).i).c+Mct(xst(jw(MNe,1),jWt,25,15,[r.n.b,t.C.b,t.k])),b=i.c+i.b-Mct(xst(jw(MNe,1),jWt,25,15,[r.n.c,t.C.c,t.k])),s=Yw(UQ(o),t.t),v=n==sSe?PWt:FWt,f=d.Kc();f.Ob();)!(u=QH(f.Pb(),111)).c||u.c.d.c.length<=0||(m=u.b.rf(),g=u.e,(p=(A=u.c).i).b=(l=A.n,A.e.a+l.b+l.c),p.a=(c=A.n,A.e.b+c.d+c.a),BY(w,oJt),A.f=w,u8(A,(W8(),Wre)),p.c=g.a-(p.b-m.a)/2,T=e.Math.min(a,g.a),k=e.Math.max(b,g.a+m.a),p.c<T?p.c=T:p.c+p.b>k&&(p.c=k-p.b),zH(s.d,new OK(p,yft(s,p))),v=n==sSe?e.Math.max(v,g.b+u.b.rf().b):e.Math.min(v,g.b));for(v+=n==sSe?t.t:-t.t,(y=xAt((s.e=v,s)))>0&&(QH(oV(t.b,n),124).a.b=y),h=d.Kc();h.Ob();)!(u=QH(h.Pb(),111)).c||u.c.d.c.length<=0||((p=u.c.i).c-=u.e.a,p.d-=u.e.b)}else azt(t,n)}function Nzt(t){var e,n,r,i,a,o,s,c,l,h;for(e=new Om,o=new SO(t);o.e!=o.i.gc();){for(a=QH(ymt(o),33),n=new Db,Xq(kae,a,n),h=new oe,r=QH(E3(new D$(null,new $z(new oG(YO(dOt(a).a.Kc(),new u)))),CK(h,m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[(jlt(),Kne)])))),83),Ynt(n,QH(r.xc((cN(),!0)),14),new se),i=QH(E3(SV(QH(r.xc(!1),15).Lc(),new ce),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[Kne]))),15).Kc();i.Ob();)(l=_Et(QH(i.Pb(),79)))&&((s=QH(HS(SY(e.f,l)),21))||(s=SDt(l),wBt(e.f,l,s)),Qit(n,s));for(r=QH(E3(new D$(null,new $z(new oG(YO(AOt(a).a.Kc(),new u)))),CK(h,m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[Kne])))),83),Ynt(n,QH(r.xc(!0),14),new le),c=QH(E3(SV(QH(r.xc(!1),15).Lc(),new ue),m8(new j,new H,new rt,xst(jw(Jne,1),IVt,132,0,[Kne]))),15).Kc();c.Ob();)(l=BEt(QH(c.Pb(),79)))&&((s=QH(HS(SY(e.f,l)),21))||(s=SDt(l),wBt(e.f,l,s)),Qit(n,s))}}function Dzt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p;if(ojt(),(c=qut(t,0)<0)&&(t=y7(t)),0==qut(t,0))switch(e){case 0:return"0";case 1:return XWt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(d=new xw).a+=e<0?"0E+":"0E",d.a+=e==RVt?"2147483648":""+-e,d.a}h=O9(_Ne,XVt,25,1+(u=18),15,1),n=u,p=t;do{l=p,p=STt(p,10),h[--n]=dK(rdt(48,ndt(l,idt(p,10))))&VVt}while(0!=qut(p,0));if(i=ndt(ndt(ndt(u,n),e),1),0==e)return c&&(h[--n]=45),Upt(h,n,u-n);if(e>0&&qut(i,-6)>=0){if(qut(i,0)>=0){for(a=n+dK(i),s=u-1;s>=a;s--)h[s+1]=h[s];return h[++a]=46,c&&(h[--n]=45),Upt(h,n,u-n+1)}for(o=2;sx(o,rdt(y7(i),1));o++)h[--n]=48;return h[--n]=46,h[--n]=48,c&&(h[--n]=45),Upt(h,n,u-n)}return A=n+1,r=u,f=new _w,c&&(f.a+="-"),r-A>=1?(OX(f,h[n]),f.a+=".",f.a+=Upt(h,n+1,u-n-1)):f.a+=Upt(h,n,u-n),f.a+="E",qut(i,0)>0&&(f.a+="+"),f.a+=""+gG(i),f.a}function Fzt(t,e,n){var r,i,a,o,s,c,l,u,h,f;if(t.e.a.$b(),t.f.a.$b(),t.c.c=O9(Lte,Hqt,1,0,5,1),t.i.c=O9(Lte,Hqt,1,0,5,1),t.g.a.$b(),e)for(o=new zd(e.a);o.a<o.c.c.length;)for(u=Dxt(a=QH(J1(o),10),(yzt(),oSe)).Kc();u.Ob();)for(l=QH(u.Pb(),11),Tz(t.e,l),i=new zd(l.g);i.a<i.c.c.length;)h5(r=QH(J1(i),17))||(zH(t.c,r),gmt(t,r),((s=r.c.i.k)==(oxt(),xse)||s==_se||s==kse||s==Tse)&&zH(t.j,r),(h=(f=r.d).i.c)==n?Tz(t.f,f):h==e?Tz(t.e,f):b7(t.c,r));if(n)for(o=new zd(n.a);o.a<o.c.c.length;){for(c=new zd((a=QH(J1(o),10)).j);c.a<c.c.c.length;)for(i=new zd(QH(J1(c),11).g);i.a<i.c.c.length;)h5(r=QH(J1(i),17))&&Tz(t.g,r);for(u=Dxt(a,(yzt(),xSe)).Kc();u.Ob();)for(l=QH(u.Pb(),11),Tz(t.f,l),i=new zd(l.g);i.a<i.c.c.length;)h5(r=QH(J1(i),17))||(zH(t.c,r),gmt(t,r),((s=r.c.i.k)==(oxt(),xse)||s==_se||s==kse||s==Tse)&&zH(t.j,r),(h=(f=r.d).i.c)==n?Tz(t.f,f):h==e?Tz(t.e,f):b7(t.c,r))}}function Pzt(t,n,r,i,a){var o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;if(m=new OB(t.g,t.f),(g=z_t(t)).a=e.Math.max(g.a,n),g.b=e.Math.max(g.b,r),k=g.a/m.a,h=g.b/m.b,w=g.a-m.a,l=g.b-m.b,i)for(s=WJ(t)?QH(JIt(WJ(t),(cqt(),hxe)),103):QH(JIt(t,(cqt(),hxe)),103),c=jS(JIt(t,(cqt(),a_e)))===jS((Vkt(),GBe)),v=new SO((!t.c&&(t.c=new tz(KLe,t,9,9)),t.c));v.e!=v.i.gc();)switch(b=QH(ymt(v),118),(y=QH(JIt(b,f_e),61))==(yzt(),ESe)&&(y=SUt(b,s),Wmt(b,f_e,y)),y.g){case 1:c||xnt(b,b.i*k);break;case 2:xnt(b,b.i+w),c||_nt(b,b.j*h);break;case 3:c||xnt(b,b.i*k),_nt(b,b.j+l);break;case 4:c||_nt(b,b.j*h)}if(kI(t,g.a,g.b),a)for(d=new SO((!t.n&&(t.n=new tz(jLe,t,1,7)),t.n));d.e!=d.i.gc();)A=(f=QH(ymt(d),137)).i+f.g/2,p=f.j+f.f/2,(T=A/m.a)+(u=p/m.b)>=1&&(T-u>0&&p>=0?(xnt(f,f.i+w),_nt(f,f.j+l*u)):T-u<0&&A>=0&&(xnt(f,f.i+w*T),_nt(f,f.j+l)));return Wmt(t,(cqt(),Fxe),(bpt(),new VR(o=QH(XT(VSe),9),QH(CP(o,o.length),9),0))),new OB(k,h)}function Rzt(t){var n,r,i,a,o,s,c,l,u,h,f;if(h=WJ(xCt(QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82)))==WJ(xCt(QH(Xet((!t.c&&(t.c=new cR(DLe,t,5,8)),t.c),0),82))),s=new jT,(n=QH(JIt(t,(zlt(),cBe)),74))&&n.b>=2){if(0==(!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i)ZT(),r=new oc,l8((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a),r);else if((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i>1)for(f=new rD((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a));f.e!=f.i.gc();)VTt(f);qUt(n,QH(Xet((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a),0),202))}if(h)for(i=new SO((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a));i.e!=i.i.gc();)for(l=new SO((!(r=QH(ymt(i),202)).a&&(r.a=new LO(MLe,r,5)),r.a));l.e!=l.i.gc();)c=QH(ymt(l),469),s.a=e.Math.max(s.a,c.a),s.b=e.Math.max(s.b,c.b);for(o=new SO((!t.n&&(t.n=new tz(jLe,t,1,7)),t.n));o.e!=o.i.gc();)a=QH(ymt(o),137),(u=QH(JIt(a,ABe),8))&&CI(a,u.a,u.b),h&&(s.a=e.Math.max(s.a,a.i+a.g),s.b=e.Math.max(s.b,a.j+a.f));return s}function Qzt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;for(b=n.c.length,a=new jRt(t.a,r,null,null),k=O9(MNe,jWt,25,b,15,1),A=O9(MNe,jWt,25,b,15,1),d=O9(MNe,jWt,25,b,15,1),p=0,c=0;c<b;c++)A[c]=Dqt,d[c]=RVt;for(l=0;l<b;l++)for(u1(l,n.c.length),i=QH(n.c[l],180),k[l]=mMt(i),k[p]>k[l]&&(p=l),h=new zd(t.a.b);h.a<h.c.c.length;)for(m=new zd(QH(J1(h),29).a);m.a<m.c.c.length;)g=QH(J1(m),10),w=jy(i.p[g.p])+jy(i.d[g.p]),A[l]=e.Math.min(A[l],w),d[l]=e.Math.max(d[l],w+g.o.b);for(T=O9(MNe,jWt,25,b,15,1),u=0;u<b;u++)(u1(u,n.c.length),QH(n.c[u],180)).o==(oZ(),nye)?T[u]=A[p]-A[u]:T[u]=d[p]-d[u];for(o=O9(MNe,jWt,25,b,15,1),f=new zd(t.a.b);f.a<f.c.c.length;)for(y=new zd(QH(J1(f),29).a);y.a<y.c.c.length;){for(v=QH(J1(y),10),s=0;s<b;s++)o[s]=jy((u1(s,n.c.length),QH(n.c[s],180)).p[v.p])+jy((u1(s,n.c.length),QH(n.c[s],180)).d[v.p])+T[s];o.sort(nnt(C.prototype.te,C,[])),a.p[v.p]=(o[1]+o[2])/2,a.d[v.p]=0}return a}function Uzt(t,e,n){var r,i,a,o,s;switch(r=e.i,a=t.i.o,i=t.i.d,s=t.n,o=Lct(xst(jw(EEe,1),cVt,8,0,[s,t.a])),t.j.g){case 1:zF(e,(j7(),eie)),r.d=-i.d-n-r.a,QH(QH(O$(e.d,0),181).We((lqt(),afe)),285)==(zyt(),yBe)?(u8(e,(W8(),Wre)),r.c=o.a-jy(kF(bEt(t,hfe)))-n-r.b):(u8(e,(W8(),Vre)),r.c=o.a+jy(kF(bEt(t,hfe)))+n);break;case 2:u8(e,(W8(),Vre)),r.c=a.a+i.c+n,QH(QH(O$(e.d,0),181).We((lqt(),afe)),285)==(zyt(),yBe)?(zF(e,(j7(),eie)),r.d=o.b-jy(kF(bEt(t,hfe)))-n-r.a):(zF(e,(j7(),rie)),r.d=o.b+jy(kF(bEt(t,hfe)))+n);break;case 3:zF(e,(j7(),rie)),r.d=a.b+i.a+n,QH(QH(O$(e.d,0),181).We((lqt(),afe)),285)==(zyt(),yBe)?(u8(e,(W8(),Wre)),r.c=o.a-jy(kF(bEt(t,hfe)))-n-r.b):(u8(e,(W8(),Vre)),r.c=o.a+jy(kF(bEt(t,hfe)))+n);break;case 4:u8(e,(W8(),Wre)),r.c=-i.b-n-r.b,QH(QH(O$(e.d,0),181).We((lqt(),afe)),285)==(zyt(),yBe)?(zF(e,(j7(),eie)),r.d=o.b-jy(kF(bEt(t,hfe)))-n-r.a):(zF(e,(j7(),rie)),r.d=o.b+jy(kF(bEt(t,hfe)))+n)}}function Hzt(t,n,r,i,a,o,s){var c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L;for(A=0,x=0,l=new zd(t);l.a<l.c.c.length;)sGt(c=QH(J1(l),33)),A=e.Math.max(A,c.g),x+=c.g*c.f;for(E=Jyt(t,x/t.c.length),x+=t.c.length*E,A=e.Math.max(A,e.Math.sqrt(x*s))+r.b,S=r.b,L=r.d,d=0,h=r.b+r.c,Nj(C=new VC,nft(0)),T=new VC,u=new k2(t,0);u.b<u.d.gc();)ED(u.b<u.d.gc()),B=(c=QH(u.d.Xb(u.c=u.b++),33)).g,f=c.f,S+B>A&&(o&&(lL(T,d),lL(C,nft(u.b-1))),S=r.b,L+=d+n,d=0,h=e.Math.max(h,r.b+r.c+B)),xnt(c,S),_nt(c,L),h=e.Math.max(h,S+B+r.c),d=e.Math.max(d,f),S+=B+n;if(h=e.Math.max(h,i),(_=L+d+r.a)<a&&(d+=a-_,_=a),o)for(S=r.b,u=new k2(t,0),lL(C,nft(t.c.length)),m=QH(h4(k=cmt(C,0)),19).a,lL(T,d),w=cmt(T,0),y=0;u.b<u.d.gc();)u.b==m&&(S=r.b,y=jy(kF(h4(w))),m=QH(h4(k),19).a),ED(u.b<u.d.gc()),b=(c=QH(u.d.Xb(u.c=u.b++),33)).f,Cnt(c,y),p=y,u.b==m&&(g=h-S-r.c,v=c.g,Ent(c,g),hBt(c,new OB(g,p),new OB(v,b))),S+=c.g+n;return new OB(h,_)}function jzt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x;for(SCt(n,"Compound graph postprocessor",1),r=Hy(TF(bEt(t,(HXt(),Nme)))),c=QH(bEt(t,(lqt(),Uhe)),224),h=new Db,b=c.ec().Kc();b.Ob();){for(m=QH(b.Pb(),17),s=new ZR(c.cc(m)),CW(),mM(s,new PA(t)),T=iat((u1(0,s.c.length),QH(s.c[0],243))),C=aat(QH(O$(s,s.c.length-1),243)),y=T.i,v=dot(C.i,y)?y.e:gq(y),f=Lmt(m,s),bW(m.a),d=null,o=new zd(s);o.a<o.c.c.length;)a=QH(J1(o),243),S_t(g=new jT,a.a,v),A=a.b,Xlt(i=new vv,0,A.a),Jet(i,g),w=new fI(A1(A.c)),k=new fI(A1(A.d)),KP(w,g),KP(k,g),d&&(0==i.b?p=k:(ED(0!=i.b),p=QH(i.a.a.c,8)),E=e.Math.abs(d.a-p.a)>hZt,x=e.Math.abs(d.b-p.b)>hZt,(!r&&E&&x||r&&(E||x))&&Nj(m.a,w)),Qit(m.a,i),0==i.b?d=w:(ED(0!=i.b),d=QH(i.c.b.c,8)),Wot(A,f,g),aat(a)==C&&(gq(C.i)!=a.a&&S_t(g=new jT,gq(C.i),v),lct(m,Dfe,g)),Cxt(A,m,v),h.a.zc(A,h);CZ(m,T),kZ(m,C)}for(u=h.a.ec().Kc();u.Ob();)CZ(l=QH(u.Pb(),17),null),kZ(l,null);Hxt(n)}function $zt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;if(1==t.gc())return QH(t.Xb(0),231);if(t.gc()<=0)return new b6;for(a=t.Kc();a.Ob();){for(r=QH(a.Pb(),231),p=0,h=Dqt,f=Dqt,l=RVt,u=RVt,A=new zd(r.e);A.a<A.c.c.length;)d=QH(J1(A),144),p+=QH(bEt(d,(uPt(),Yae)),19).a,h=e.Math.min(h,d.d.a-d.e.a/2),f=e.Math.min(f,d.d.b-d.e.b/2),l=e.Math.max(l,d.d.a+d.e.a/2),u=e.Math.max(u,d.d.b+d.e.b/2);lct(r,(uPt(),Yae),nft(p)),lct(r,(Cit(),ooe),new OB(h,f)),lct(r,aoe,new OB(l,u))}for(CW(),t.ad(new de),jot(g=new b6,QH(t.Xb(0),94)),c=0,v=0,o=t.Kc();o.Ob();)r=QH(o.Pb(),231),m=GP(QM(QH(bEt(r,(Cit(),aoe)),8)),QH(bEt(r,ooe),8)),c=e.Math.max(c,m.a),v+=m.a*m.b;for(c=e.Math.max(c,e.Math.sqrt(v)*jy(kF(bEt(g,(uPt(),Rae))))),y=0,w=0,s=0,n=b=jy(kF(bEt(g,roe))),i=t.Kc();i.Ob();)r=QH(i.Pb(),231),y+(m=GP(QM(QH(bEt(r,(Cit(),aoe)),8)),QH(bEt(r,ooe),8))).a>c&&(y=0,w+=s+b,s=0),qRt(g,r,y,w),n=e.Math.max(n,y+m.a),s=e.Math.max(s,m.b),y+=m.a+b;return g}function Kzt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A;switch(u=new vv,t.a.g){case 3:f=QH(bEt(e.e,(lqt(),Mfe)),15),d=QH(bEt(e.j,Mfe),15),A=QH(bEt(e.f,Mfe),15),n=QH(bEt(e.e,Lfe),15),r=QH(bEt(e.j,Lfe),15),i=QH(bEt(e.f,Lfe),15),pst(o=new Mm,f),d.Jc(new ya),pst(o,rO(d,152)?o6(QH(d,152)):rO(d,131)?QH(d,131).a:rO(d,54)?new ly(d):new xC(d)),pst(o,A),pst(a=new Mm,n),pst(a,rO(r,152)?o6(QH(r,152)):rO(r,131)?QH(r,131).a:rO(r,54)?new ly(r):new xC(r)),pst(a,i),lct(e.f,Mfe,o),lct(e.f,Lfe,a),lct(e.f,Ofe,e.f),lct(e.e,Mfe,null),lct(e.e,Lfe,null),lct(e.j,Mfe,null),lct(e.j,Lfe,null);break;case 1:Qit(u,e.e.a),Nj(u,e.i.n),Qit(u,eot(e.j.a)),Nj(u,e.a.n),Qit(u,e.f.a);break;default:Qit(u,e.e.a),Qit(u,eot(e.j.a)),Qit(u,e.f.a)}bW(e.f.a),Qit(e.f.a,u),CZ(e.f,e.e.c),s=QH(bEt(e.e,(HXt(),gge)),74),l=QH(bEt(e.j,gge),74),c=QH(bEt(e.f,gge),74),(s||l||c)&&(Ez(h=new vv,c),Ez(h,l),Ez(h,s),lct(e.f,gge,h)),CZ(e.j,null),kZ(e.j,null),CZ(e.e,null),kZ(e.e,null),EZ(e.a,null),EZ(e.i,null),e.g&&Kzt(t,e.g)}function Gzt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;if(xUt(),null==t)return null;if((A=fft(a=X7(t)))%4!=0)return null;if(0==(p=A/4|0))return O9(INe,m6t,25,0,15,1);for(h=null,e=0,n=0,r=0,i=0,o=0,s=0,c=0,l=0,d=0,f=0,u=0,h=O9(INe,m6t,25,3*p,15,1);d<p-1;d++){if(!(Xk(o=a[u++])&&Xk(s=a[u++])&&Xk(c=a[u++])&&Xk(l=a[u++])))return null;e=GOe[o],n=GOe[s],r=GOe[c],i=GOe[l],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|r>>2&15)<<24>>24,h[f++]=(r<<6|i)<<24>>24}return Xk(o=a[u++])&&Xk(s=a[u++])?(e=GOe[o],n=GOe[s],c=a[u++],l=a[u++],-1==GOe[c]||-1==GOe[l]?61==c&&61==l?0!=(15&n)?null:(ajt(h,0,g=O9(INe,m6t,25,3*d+1,15,1),0,3*d),g[f]=(e<<2|n>>4)<<24>>24,g):61!=c&&61==l?0!=(3&(r=GOe[c]))?null:(ajt(h,0,g=O9(INe,m6t,25,3*d+2,15,1),0,3*d),g[f++]=(e<<2|n>>4)<<24>>24,g[f]=((15&n)<<4|r>>2&15)<<24>>24,g):null:(r=GOe[c],i=GOe[l],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|r>>2&15)<<24>>24,h[f++]=(r<<6|i)<<24>>24,h)):null}function zzt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;for(SCt(e,S1t,1),f=QH(bEt(t,(HXt(),Ype)),218),r=new zd(t.b);r.a<r.c.c.length;)for(o=0,s=(a=J0(QH(J1(r),29).a)).length;o<s;++o)if((i=a[o]).k==(oxt(),_se)){if(f==(Cdt(),W_e))for(l=new zd(i.j);l.a<l.c.c.length;)0==(c=QH(J1(l),11)).e.c.length||Lgt(c),0==c.g.c.length||Igt(c);else if(rO(bEt(i,(lqt(),dfe)),17))A=QH(bEt(i,dfe),17),p=QH(Dxt(i,(yzt(),xSe)).Kc().Pb(),11),g=QH(Dxt(i,oSe).Kc().Pb(),11),m=QH(bEt(p,dfe),11),CZ(A,b=QH(bEt(g,dfe),11)),kZ(A,m),(v=new fI(g.i.n)).a=Lct(xst(jw(EEe,1),cVt,8,0,[b.i.n,b.n,b.a])).a,Nj(A.a,v),(v=new fI(p.i.n)).a=Lct(xst(jw(EEe,1),cVt,8,0,[m.i.n,m.n,m.a])).a,Nj(A.a,v);else{if(i.j.c.length>=2){for(d=!0,n=QH(J1(u=new zd(i.j)),11),h=null;u.a<u.c.c.length;)if(h=n,n=QH(J1(u),11),!Oht(bEt(h,dfe),bEt(n,dfe))){d=!1;break}}else d=!1;for(l=new zd(i.j);l.a<l.c.c.length;)0==(c=QH(J1(l),11)).e.c.length||oDt(c,d),0==c.g.c.length||sDt(c,d)}EZ(i,null)}Hxt(e)}function Xzt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E;return y=t.c[(u1(0,n.c.length),QH(n.c[0],17)).p],C=t.c[(u1(1,n.c.length),QH(n.c[1],17)).p],!(y.a.e.e-y.a.a-(y.b.e.e-y.b.a)==0&&C.a.e.e-C.a.a-(C.b.e.e-C.b.a)==0||!rO(b=y.b.e.f,10)||(m=QH(b,10),T=t.i[m.p],k=m.c?w7(m.c.a,m,0):-1,o=FWt,k>0&&(a=QH(O$(m.c.a,k-1),10),s=t.i[a.p],E=e.Math.ceil(FM(t.n,a,m)),o=T.a.e-m.d.d-(s.a.e+a.o.b+a.d.a)-E),u=FWt,k<m.c.a.c.length-1&&(l=QH(O$(m.c.a,k+1),10),h=t.i[l.p],E=e.Math.ceil(FM(t.n,l,m)),u=h.a.e-l.d.d-(T.a.e+m.o.b+m.d.a)-E),!(r&&(cM(),rrt(L4t),e.Math.abs(o-u)<=L4t||o==u||isNaN(o)&&isNaN(u)))&&(i=iX(y.a),c=-iX(y.b),f=-iX(C.a),v=iX(C.b),g=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)>0&&C.a.e.e-C.a.a-(C.b.e.e-C.b.a)<0,p=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)<0&&C.a.e.e-C.a.a-(C.b.e.e-C.b.a)>0,A=y.a.e.e+y.b.a<C.b.e.e+C.a.a,d=y.a.e.e+y.b.a>C.b.e.e+C.a.a,w=0,!g&&!p&&(d?o+f>0?w=f:u-i>0&&(w=i):A&&(o+c>0?w=c:u-v>0&&(w=v))),T.a.e+=w,T.b&&(T.d.e+=w),1)))}function qzt(t,n,r){var i,a,o,s,c,l,u,h,f,d;if(i=new KV(n.qf().a,n.qf().b,n.rf().a,n.rf().b),a=new hI,t.c)for(s=new zd(n.wf());s.a<s.c.c.length;)o=QH(J1(s),181),a.c=o.qf().a+n.qf().a,a.d=o.qf().b+n.qf().b,a.b=o.rf().a,a.a=o.rf().b,__t(i,a);for(u=new zd(n.Cf());u.a<u.c.c.length;){if(h=(l=QH(J1(u),838)).qf().a+n.qf().a,f=l.qf().b+n.qf().b,t.e&&(a.c=h,a.d=f,a.b=l.rf().a,a.a=l.rf().b,__t(i,a)),t.d)for(s=new zd(l.wf());s.a<s.c.c.length;)o=QH(J1(s),181),a.c=o.qf().a+h,a.d=o.qf().b+f,a.b=o.rf().a,a.a=o.rf().b,__t(i,a);if(t.b){if(d=new OB(-r,-r),QH(n.We((cqt(),l_e)),174).Hc((hSt(),nSe)))for(s=new zd(l.wf());s.a<s.c.c.length;)o=QH(J1(s),181),d.a+=o.rf().a+r,d.b+=o.rf().b+r;d.a=e.Math.max(d.a,0),d.b=e.Math.max(d.b,0),zQt(i,l.Bf(),l.zf(),n,l,d,r)}}t.b&&zQt(i,n.Bf(),n.zf(),n,null,null,r),(c=new SQ(n.Af())).d=e.Math.max(0,n.qf().b-i.d),c.a=e.Math.max(0,i.d+i.a-(n.qf().b+n.rf().b)),c.b=e.Math.max(0,n.qf().a-i.c),c.c=e.Math.max(0,i.c+i.b-(n.qf().a+n.rf().a)),n.Ef(c)}function Vzt(){var t=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return t[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",t}function Wzt(t,e,n){var r,i,a,o,s,c,l,u,h,f;for(c=new Mm,h=e.length,o=Bct(n),l=0;l<h;++l){switch(u=bN(e,WCt(61),l),a=(i=ost(r=uft(o,e.substr(l,u-l)))).Aj().Nh(),lV(e,++u)){case 39:s=uD(e,39,++u),zH(c,new xS(r,VV(e.substr(u,s-u),a,i))),l=s+1;break;case 34:s=uD(e,34,++u),zH(c,new xS(r,VV(e.substr(u,s-u),a,i))),l=s+1;break;case 91:zH(c,new xS(r,f=new Mm));t:for(;;){switch(lV(e,++u)){case 39:s=uD(e,39,++u),zH(f,VV(e.substr(u,s-u),a,i)),u=s+1;break;case 34:s=uD(e,34,++u),zH(f,VV(e.substr(u,s-u),a,i)),u=s+1;break;case 110:if(++u,e.indexOf("ull",u)!=u)throw Um(new dy(a6t));f.c[f.c.length]=null,u+=3}if(!(u<h))break;switch(h1(u,e.length),e.charCodeAt(u)){case 44:break;case 93:break t;default:throw Um(new dy("Expecting , or ]"))}}l=u+1;break;case 110:if(++u,e.indexOf("ull",u)!=u)throw Um(new dy(a6t));zH(c,new xS(r,null)),l=u+3}if(!(l<h))break;if(h1(l,e.length),44!=e.charCodeAt(l))throw Um(new dy("Expecting ,"))}return nFt(t,c,n)}function Yzt(t,e){var n,r,i,a,o,s,c,l,u,h,f;for(l=QH(QH(c6(t.r,e),21),84),o=YCt(t,e),n=t.u.Hc((hSt(),JBe)),c=l.Kc();c.Ob();)if((s=QH(c.Pb(),111)).c&&!(s.c.d.c.length<=0)){switch(f=s.b.rf(),(h=(u=s.c).i).b=(a=u.n,u.e.a+a.b+a.c),h.a=(i=u.n,u.e.b+i.d+i.a),e.g){case 1:s.a?(h.c=(f.a-h.b)/2,u8(u,(W8(),qre))):o||n?(h.c=-h.b-t.s,u8(u,(W8(),Wre))):(h.c=f.a+t.s,u8(u,(W8(),Vre))),h.d=-h.a-t.t,zF(u,(j7(),eie));break;case 3:s.a?(h.c=(f.a-h.b)/2,u8(u,(W8(),qre))):o||n?(h.c=-h.b-t.s,u8(u,(W8(),Wre))):(h.c=f.a+t.s,u8(u,(W8(),Vre))),h.d=f.b+t.t,zF(u,(j7(),rie));break;case 2:s.a?(r=t.v?h.a:QH(O$(u.d,0),181).rf().b,h.d=(f.b-r)/2,zF(u,(j7(),nie))):o||n?(h.d=-h.a-t.t,zF(u,(j7(),eie))):(h.d=f.b+t.t,zF(u,(j7(),rie))),h.c=f.a+t.s,u8(u,(W8(),Vre));break;case 4:s.a?(r=t.v?h.a:QH(O$(u.d,0),181).rf().b,h.d=(f.b-r)/2,zF(u,(j7(),nie))):o||n?(h.d=-h.a-t.t,zF(u,(j7(),eie))):(h.d=f.b+t.t,zF(u,(j7(),rie))),h.c=-h.b-t.s,u8(u,(W8(),Wre))}o=!1}}function Jzt(t,e){var n,r,i,a,o,s,c,l,u,h,f;if(dqt(),0==MC(tNe)){for(h=O9(xNe,cVt,117,nNe.length,0,1),o=0;o<h.length;o++)h[o]=new k0(4);for(r=new Ew,a=0;a<ZOe.length;a++){if(u=new k0(4),a<84?(h1(s=2*a,mte.length),f=mte.charCodeAt(s),h1(s+1,mte.length),WDt(u,f,mte.charCodeAt(s+1))):WDt(u,rNe[s=2*(a-84)],rNe[s+1]),mR(c=ZOe[a],"Specials")&&WDt(u,65520,65533),mR(c,pte)&&(WDt(u,983040,1048573),WDt(u,1048576,1114109)),mZ(tNe,c,u),mZ(eNe,c,IUt(u)),0<(l=r.a.length)?r.a=r.a.substr(0,0):0>l&&(r.a+=nO(O9(_Ne,XVt,25,-l,15,1))),r.a+="Is",jL(c,WCt(32))>=0)for(i=0;i<c.length;i++)h1(i,c.length),32!=c.charCodeAt(i)&&MX(r,(h1(i,c.length),c.charCodeAt(i)));else r.a+=""+c;kpt(r.a,c,!0)}kpt(gte,"Cn",!1),kpt(bte,"Cn",!0),WDt(n=new k0(4),0,ote),mZ(tNe,"ALL",n),mZ(eNe,"ALL",IUt(n)),!kNe&&(kNe=new Om),mZ(kNe,gte,gte),!kNe&&(kNe=new Om),mZ(kNe,bte,bte),!kNe&&(kNe=new Om),mZ(kNe,"ALL","ALL")}return QH(CJ(e?tNe:eNe,t),136)}function Zzt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m;if(f=!1,h=!1,gI(QH(bEt(r,(HXt(),tme)),98))){o=!1,s=!1;t:for(A=new zd(r.j);A.a<A.c.c.length;)for(d=QH(J1(A),11),p=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[new UA(d),new jA(d)])));AIt(p);)if(!Hy(TF(bEt(QH(K5(p),11).i,Tpe)))){if(d.j==(yzt(),sSe)){o=!0;break t}if(d.j==CSe){s=!0;break t}}f=s&&!o,h=o&&!s}if(f||h||0==r.b.c.length)m=!h;else{for(u=0,l=new zd(r.b);l.a<l.c.c.length;)u+=(c=QH(J1(l),70)).n.b+c.o.b/2;m=(u/=r.b.c.length)>=r.o.b/2}m?(g=QH(bEt(r,(lqt(),Ffe)),15))?f?a=g:(i=QH(bEt(r,Nhe),15))?a=g.gc()<=i.gc()?g:i:(a=new Mm,lct(r,Nhe,a)):(a=new Mm,lct(r,Ffe,a)):(i=QH(bEt(r,(lqt(),Nhe)),15))?h?a=i:(g=QH(bEt(r,Ffe),15))?a=i.gc()<=g.gc()?i:g:(a=new Mm,lct(r,Ffe,a)):(a=new Mm,lct(r,Nhe,a)),a.Fc(t),lct(t,(lqt(),Fhe),n),e.d==n?(kZ(e,null),n.e.c.length+n.g.c.length==0&&xZ(n,null),plt(n)):(CZ(e,null),n.e.c.length+n.g.c.length==0&&xZ(n,null)),bW(e.a)}function tXt(t,e){var n,r,i,a,o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S;for(b=new k2(t.b,0),p=0,l=QH((h=e.Kc()).Pb(),19).a,w=0,n=new Db,k=new lI;b.b<b.d.gc();){for(ED(b.b<b.d.gc()),y=new zd(QH(b.d.Xb(b.c=b.b++),29).a);y.a<y.c.c.length;){for(A=new oG(YO(hdt(v=QH(J1(y),10)).a.Kc(),new u));AIt(A);)f=QH(K5(A),17),k.a.zc(f,k);for(d=new oG(YO(udt(v).a.Kc(),new u));AIt(d);)f=QH(K5(d),17),k.a.Bc(f)}if(p+1==l){for(bP(b,i=new UX(t)),bP(b,a=new UX(t)),E=k.a.ec().Kc();E.Ob();)C=QH(E.Pb(),17),n.a._b(C)||(++w,n.a.zc(C,n)),lct(o=new Ibt(t),(HXt(),tme),(Vkt(),XBe)),EZ(o,i),Qf(o,(oxt(),Tse)),xZ(g=new _xt,o),jBt(g,(yzt(),xSe)),xZ(x=new _xt,o),jBt(x,oSe),lct(r=new Ibt(t),tme,XBe),EZ(r,a),Qf(r,Tse),xZ(m=new _xt,r),jBt(m,xSe),xZ(_=new _xt,r),jBt(_,oSe),CZ(T=new fY,C.c),kZ(T,g),CZ(S=new fY,x),kZ(S,m),CZ(C,_),s=new g4(o,r,T,S,C),lct(o,(lqt(),Dhe),s),lct(r,Dhe,s),(B=T.c.i).k==Tse&&((c=QH(bEt(B,Dhe),305)).d=s,s.g=c);if(!h.Ob())break;l=QH(h.Pb(),19).a}++p}return nft(w)}function eXt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p;for(h=0,i=new SO((!e.a&&(e.a=new tz($Le,e,10,11)),e.a));i.e!=i.i.gc();)Hy(TF(JIt(r=QH(ymt(i),33),(HXt(),jge))))||(jS(JIt(e,Ipe))===jS((bct(),Mbe))&&jS(JIt(e,jpe))!==jS((qbt(),wue))&&jS(JIt(e,jpe))!==jS((qbt(),vue))&&!Hy(TF(JIt(e,Ope)))&&jS(JIt(e,xpe))===jS((Uht(),fse))||Hy(TF(JIt(r,Lpe)))||(Wmt(r,(lqt(),ffe),nft(h)),++h),dGt(t,r,n));for(h=0,l=new SO((!e.b&&(e.b=new tz(FLe,e,12,3)),e.b));l.e!=l.i.gc();)s=QH(ymt(l),79),(jS(JIt(e,(HXt(),Ipe)))!==jS((bct(),Mbe))||jS(JIt(e,jpe))===jS((qbt(),wue))||jS(JIt(e,jpe))===jS((qbt(),vue))||Hy(TF(JIt(e,Ope)))||jS(JIt(e,xpe))!==jS((Uht(),fse)))&&(Wmt(s,(lqt(),ffe),nft(h)),++h),A=xEt(s),p=SEt(s),u=Hy(TF(JIt(A,fge))),d=!Hy(TF(JIt(s,jge))),f=u&&VSt(s)&&Hy(TF(JIt(s,dge))),a=WJ(A)==e&&WJ(A)==WJ(p),o=(WJ(A)==e&&p==e)^(WJ(p)==e&&A==e),d&&!f&&(o||a)&&oqt(t,s,e,n);if(WJ(e))for(c=new SO(eW(WJ(e)));c.e!=c.i.gc();)(A=xEt(s=QH(ymt(c),79)))==e&&VSt(s)&&(f=Hy(TF(JIt(A,(HXt(),fge))))&&Hy(TF(JIt(s,dge))))&&oqt(t,s,e,n)}function nXt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I;for(SCt(r,"MinWidth layering",1),A=n.b,C=n.a,I=QH(bEt(n,(HXt(),wge)),19).a,c=QH(bEt(n,Tge),19).a,t.b=jy(kF(bEt(n,bme))),t.d=FWt,w=new zd(C);w.a<w.c.c.length;)(v=QH(J1(w),10)).k==(oxt(),xse)&&(_=v.o.b,t.d=e.Math.min(t.d,_));for(t.d=e.Math.max(1,t.d),E=C.c.length,t.c=O9(BNe,lWt,25,E,15,1),t.f=O9(BNe,lWt,25,E,15,1),t.e=O9(MNe,jWt,25,E,15,1),u=0,t.a=0,T=new zd(C);T.a<T.c.c.length;)(v=QH(J1(T),10)).p=u++,t.c[v.p]=dut(udt(v)),t.f[v.p]=dut(hdt(v)),t.e[v.p]=v.o.b/t.d,t.a+=t.e[v.p];for(t.b/=t.d,t.a/=E,k=wLt(C),mM(C,qq(new Fp(t))),g=FWt,p=Dqt,s=null,L=I,S=I,o=c,a=c,I<0&&(L=QH(Tve.a.zd(),19).a,S=QH(Tve.b.zd(),19).a),c<0&&(o=QH(wve.a.zd(),19).a,a=QH(wve.b.zd(),19).a),B=L;B<=S;B++)for(i=o;i<=a;i++)b=jy(kF((x=MHt(t,B,i,C,k)).a)),m=(d=QH(x.b,15)).gc(),(b<g||b==g&&m<p)&&(g=b,p=m,s=d);for(f=s.Kc();f.Ob();){for(h=QH(f.Pb(),15),l=new UX(n),y=h.Kc();y.Ob();)EZ(v=QH(y.Pb(),10),l);A.c[A.c.length]=l}Y_t(A),C.c=O9(Lte,Hqt,1,0,5,1),Hxt(r)}function rXt(t,n){var r,i,a,o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E;for(t.b=n,t.a=QH(bEt(n,(HXt(),cge)),19).a,t.c=QH(bEt(n,uge),19).a,0==t.c&&(t.c=Dqt),g=new k2(n.b,0);g.b<g.d.gc();){for(ED(g.b<g.d.gc()),p=QH(g.d.Xb(g.c=g.b++),29),c=new Mm,f=-1,y=-1,v=new zd(p.a);v.a<v.c.c.length;)b=QH(J1(v),10),R4((HQ(),new oG(YO(ldt(b).a.Kc(),new u))))>=t.a&&(i=vHt(t,b),f=e.Math.max(f,i.b),y=e.Math.max(y,i.d),zH(c,new nS(b,i)));for(k=new Mm,h=0;h<f;++h)vK(k,0,(ED(g.b>0),g.a.Xb(g.c=--g.b),bP(g,C=new UX(t.b)),ED(g.b<g.d.gc()),g.d.Xb(g.c=g.b++),C));for(s=new zd(c);s.a<s.c.c.length;)if(a=QH(J1(s),46),A=QH(a.b,571).a)for(d=new zd(A);d.a<d.c.c.length;)owt(t,QH(J1(d),10),Kse,k);for(r=new Mm,l=0;l<y;++l)zH(r,(bP(g,E=new UX(t.b)),E));for(o=new zd(c);o.a<o.c.c.length;)if(a=QH(J1(o),46),T=QH(a.b,571).c)for(w=new zd(T);w.a<w.c.c.length;)owt(t,QH(J1(w),10),Gse,r)}for(m=new k2(n.b,0);m.b<m.d.gc();)ED(m.b<m.d.gc()),0==QH(m.d.Xb(m.c=m.b++),29).a.c.length&&lq(m)}function iXt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B;if(SCt(r,"Spline edge routing",1),0==n.b.c.length)return n.f.a=0,void Hxt(r);b=jy(kF(bEt(n,(HXt(),Sme)))),c=jy(kF(bEt(n,Tme))),s=jy(kF(bEt(n,vme))),C=QH(bEt(n,nge),336)==(Glt(),nve),k=jy(kF(bEt(n,rge))),t.d=n,t.j.c=O9(Lte,Hqt,1,0,5,1),t.a.c=O9(Lte,Hqt,1,0,5,1),Lz(t.k),h=XS((l=QH(O$(n.b,0),29)).a,(ADt(),yye)),f=XS((p=QH(O$(n.b,n.b.c.length-1),29)).a,yye),g=new zd(n.b),m=null,B=0;do{for(Fzt(t,m,v=g.a<g.c.c.length?QH(J1(g),29):null),CUt(t),_=0,y=B,d=!m||h&&m==l,A=!v||f&&v==p,(E=Pw(rat(MV(SV(new D$(null,new f1(t.i,16)),new wo),new yo))))>0?(u=0,m&&(u+=c),u+=(E-1)*s,v&&(u+=c),C&&v&&(u=e.Math.max(u,ZNt(v,s,b,k))),u<b&&!d&&!A&&(_=(b-u)/2,u=b),y+=u):!d&&!A&&(y+=b),v&&k$t(v,y),T=new zd(t.i);T.a<T.c.c.length;)(w=QH(J1(T),128)).a.c=B,w.a.b=y-B,w.F=_,w.p=!m;pst(t.a,t.i),B=y,v&&(B+=v.c.a),m=v,d=A}while(v);for(a=new zd(t.j);a.a<a.c.c.length;)o=bot(t,i=QH(J1(a),17)),lct(i,(lqt(),Lfe),o),x=DDt(t,i),lct(i,Mfe,x);n.f.a=B,t.d=null,Hxt(r)}function aXt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v;if(p=0!=t.i,b=!1,g=null,mI(t.e)){if((u=e.gc())>0){for(f=u<100?null:new RT(u),A=(l=new wat(e)).g,g=O9(BNe,lWt,25,u,15,1),r=0,v=new pet(u),i=0;i<t.i;++i){d=s=t.g[i];t:for(m=0;m<2;++m){for(c=u;--c>=0;)if(null!=d?Oht(d,A[c]):jS(d)===jS(A[c])){g.length<=r&&ajt(g,0,g=O9(BNe,lWt,25,2*g.length,15,1),0,r),g[r++]=i,l8(v,A[c]);break t}if(jS(d)===jS(s))break}}if(l=v,A=v.g,u=r,r>g.length&&ajt(g,0,g=O9(BNe,lWt,25,r,15,1),0,r),r>0){for(b=!0,a=0;a<r;++a)f=$R(t,QH(d=A[a],72),f);for(o=r;--o>=0;)Myt(t,g[o]);if(r!=u){for(i=u;--i>=r;)Myt(l,i);ajt(g,0,g=O9(BNe,lWt,25,r,15,1),0,r)}e=l}}}else for(e=wyt(t,e),i=t.i;--i>=0;)e.Hc(t.g[i])&&(Myt(t,i),b=!0);if(b){if(null!=g){for(h=1==(n=e.gc())?bZ(t,4,e.Kc().Pb(),null,g[0],p):bZ(t,6,e,g,g[0],p),f=n<100?null:new RT(n),i=e.Kc();i.Ob();)f=HR(t,QH(d=i.Pb(),72),f);f?(f.Ei(h),f.Fi()):fot(t.e,h)}else{for(f=LR(e.gc()),i=e.Kc();i.Ob();)f=HR(t,QH(d=i.Pb(),72),f);f&&f.Fi()}return!0}return!1}function oXt(t,e){var n,r,i,a,o,s,c,l,h,f,d,A,p,g,m,b,v;for((n=new lbt(e)).a||pQt(e),l=hPt(e),c=new pJ,g=new VDt,p=new zd(e.a);p.a<p.c.c.length;)for(i=new oG(YO(hdt(QH(J1(p),10)).a.Kc(),new u));AIt(i);)(r=QH(K5(i),17)).c.i.k!=(oxt(),kse)&&r.d.i.k!=kse||YSt(c,omt((h=hGt(t,r,l,g)).d),h.a);for(o=new Mm,v=QH(bEt(n.c,(lqt(),Ghe)),21).Kc();v.Ob();){switch(b=QH(v.Pb(),61),A=g.c[b.g],d=g.b[b.g],s=g.a[b.g],a=null,m=null,b.g){case 4:a=new KV(t.d.a,A,l.b.a-t.d.a,d-A),m=new KV(t.d.a,A,s,d-A),$j(l,new OB(a.c+a.b,a.d)),$j(l,new OB(a.c+a.b,a.d+a.a));break;case 2:a=new KV(l.a.a,A,t.c.a-l.a.a,d-A),m=new KV(t.c.a-s,A,s,d-A),$j(l,new OB(a.c,a.d)),$j(l,new OB(a.c,a.d+a.a));break;case 1:a=new KV(A,t.d.b,d-A,l.b.b-t.d.b),m=new KV(A,t.d.b,d-A,s),$j(l,new OB(a.c,a.d+a.a)),$j(l,new OB(a.c+a.b,a.d+a.a));break;case 3:a=new KV(A,l.a.b,d-A,t.c.b-l.a.b),m=new KV(A,t.c.b-s,d-A,s),$j(l,new OB(a.c,a.d)),$j(l,new OB(a.c+a.b,a.d))}a&&((f=new Jb).d=b,f.b=a,f.c=m,f.a=WW(QH(c6(c,omt(b)),21)),o.c[o.c.length]=f)}return pst(n.b,o),n.d=Uut(Z$t(l)),n}function sXt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p;if(null==r.p[n.p]){c=!0,r.p[n.p]=0,s=n,p=r.o==(oZ(),nye)?PWt:FWt;do{a=t.b.e[s.p],o=s.c.a.c.length,r.o==nye&&a>0||r.o==rye&&a<o-1?(l=null,u=null,l=r.o==rye?QH(O$(s.c.a,a+1),10):QH(O$(s.c.a,a-1),10),sXt(t,u=r.g[l.p],r),p=t.e.bg(p,n,s),r.j[n.p]==n&&(r.j[n.p]=r.j[u.p]),r.j[n.p]==r.j[u.p]?(A=FM(t.d,s,l),r.o==rye?(i=jy(r.p[n.p]),f=jy(r.p[u.p])+jy(r.d[l.p])-l.d.d-A-s.d.a-s.o.b-jy(r.d[s.p]),c?(c=!1,r.p[n.p]=e.Math.min(f,p)):r.p[n.p]=e.Math.min(i,e.Math.min(f,p))):(i=jy(r.p[n.p]),f=jy(r.p[u.p])+jy(r.d[l.p])+l.o.b+l.d.a+A+s.d.d-jy(r.d[s.p]),c?(c=!1,r.p[n.p]=e.Math.max(f,p)):r.p[n.p]=e.Math.max(i,e.Math.max(f,p)))):(A=jy(kF(bEt(t.a,(HXt(),Bme)))),d=yit(t,r.j[n.p]),h=yit(t,r.j[u.p]),r.o==rye?K1(d,h,jy(r.p[n.p])+jy(r.d[s.p])+s.o.b+s.d.a+A-(jy(r.p[u.p])+jy(r.d[l.p])-l.d.d)):K1(d,h,jy(r.p[n.p])+jy(r.d[s.p])-s.d.d-jy(r.p[u.p])-jy(r.d[l.p])-l.o.b-l.d.a-A))):p=t.e.bg(p,n,s),s=r.a[s.p]}while(s!=n);Bb(t.e,n)}}function cXt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;for(h=e,u=new pJ,f=new pJ,a=M2(h,N6t),$xt((r=new lW(t,n,u,f)).a,r.b,r.c,r.d,a),p=(u.i||(u.i=new UO(u,u.c))).Kc();p.Ob();)for(A=QH(p.Pb(),202),s=QH(c6(u,A),21).Kc();s.Ob();){if(o=s.Pb(),!(d=QH(cnt(t.d,o),202)))throw i=D2(h,j6t),Um(new tw(q6t+o+V6t+i+X6t));!A.e&&(A.e=new cR(PLe,A,10,9)),l8(A.e,d)}for(m=(f.i||(f.i=new UO(f,f.c))).Kc();m.Ob();)for(g=QH(m.Pb(),202),l=QH(c6(f,g),21).Kc();l.Ob();){if(c=l.Pb(),!(d=QH(cnt(t.d,c),202)))throw i=D2(h,j6t),Um(new tw(q6t+c+V6t+i+X6t));!g.g&&(g.g=new cR(PLe,g,9,10)),l8(g.g,d)}!n.b&&(n.b=new cR(DLe,n,4,7)),0!=n.b.i&&(!n.c&&(n.c=new cR(DLe,n,5,8)),0!=n.c.i)&&(!n.b&&(n.b=new cR(DLe,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new cR(DLe,n,5,8)),n.c.i<=1))&&1==(!n.a&&(n.a=new tz(PLe,n,6,6)),n.a).i&&(Ebt(b=QH(Xet((!n.a&&(n.a=new tz(PLe,n,6,6)),n.a),0),202))||xbt(b)||(Mrt(b,QH(Xet((!n.b&&(n.b=new cR(DLe,n,4,7)),n.b),0),82)),Ort(b,QH(Xet((!n.c&&(n.c=new cR(DLe,n,5,8)),n.c),0),82))))}function lXt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x;for(y=0,w=(v=t.a).length;y<w;++y){for(b=v[y],l=Dqt,u=Dqt,A=new zd(b.e);A.a<A.c.c.length;)(o=(f=QH(J1(A),10)).c?w7(f.c.a,f,0):-1)>0?(h=QH(O$(f.c.a,o-1),10),C=FM(t.b,f,h),g=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+C)):g=f.n.b-f.d.d,l=e.Math.min(g,l),o<f.c.a.c.length-1?(h=QH(O$(f.c.a,o+1),10),C=FM(t.b,f,h),m=h.n.b-h.d.d-(f.n.b+f.o.b+f.d.a+C)):m=2*f.n.b,u=e.Math.min(m,u);for(c=Dqt,a=!1,x=new zd((i=QH(O$(b.e,0),10)).j);x.a<x.c.c.length;)for(E=QH(J1(x),11),p=i.n.b+E.n.b+E.a.b,r=new zd(E.e);r.a<r.c.c.length;)n=(T=QH(J1(r),17).c).i.n.b+T.n.b+T.a.b-p,e.Math.abs(n)<e.Math.abs(c)&&e.Math.abs(n)<(n<0?l:u)&&(c=n,a=!0);for(k=new zd((s=QH(O$(b.e,b.e.c.length-1),10)).j);k.a<k.c.c.length;)for(T=QH(J1(k),11),p=s.n.b+T.n.b+T.a.b,r=new zd(T.g);r.a<r.c.c.length;)n=(E=QH(J1(r),17).d).i.n.b+E.n.b+E.a.b-p,e.Math.abs(n)<e.Math.abs(c)&&e.Math.abs(n)<(n<0?l:u)&&(c=n,a=!0);if(a&&0!=c)for(d=new zd(b.e);d.a<d.c.c.length;)(f=QH(J1(d),10)).n.b+=c}}function uXt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g;if(cz(t.a,e)){if(RC(QH(DX(t.a,e),53),n))return 1}else Xq(t.a,e,new Db);if(cz(t.a,n)){if(RC(QH(DX(t.a,n),53),e))return-1}else Xq(t.a,n,new Db);if(cz(t.e,e)){if(RC(QH(DX(t.e,e),53),n))return-1}else Xq(t.e,e,new Db);if(cz(t.e,n)){if(RC(QH(DX(t.a,n),53),e))return 1}else Xq(t.e,n,new Db);if(t.c==(bct(),Obe)||!ID(e,(lqt(),ffe))||!ID(n,(lqt(),ffe))){if(c=QH(wN(k3(Vct(SV(new D$(null,new f1(e.j,16)),new la)),new ua)),11),u=QH(wN(k3(Vct(SV(new D$(null,new f1(n.j,16)),new ha)),new fa)),11),c&&u){if(s=c.i,l=u.i,s&&s==l){for(f=new zd(s.j);f.a<f.c.c.length;){if((h=QH(J1(f),11))==c)return aRt(t,n,e),-1;if(h==u)return aRt(t,e,n),1}return wM(nkt(t,e),nkt(t,n))}for(p=0,g=(A=t.d).length;p<g;++p){if((d=A[p])==s)return aRt(t,n,e),-1;if(d==l)return aRt(t,e,n),1}}if(!ID(e,(lqt(),ffe))||!ID(n,ffe))return(i=nkt(t,e))>(o=nkt(t,n))?aRt(t,e,n):aRt(t,n,e),i<o?-1:i>o?1:0}return(r=QH(bEt(e,(lqt(),ffe)),19).a)>(a=QH(bEt(n,ffe),19).a)?aRt(t,e,n):aRt(t,n,e),r<a?-1:r>a?1:0}function hXt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p;if(Hy(TF(JIt(e,(cqt(),$xe)))))return CW(),CW(),cne;if(c=0!=(!e.a&&(e.a=new tz($Le,e,10,11)),e.a).i,l=!(u=vSt(e)).dc(),c||l){if(!(i=QH(JIt(e,m_e),149)))throw Um(new nw("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(p=BB(i,(lIt(),YLe)),Ogt(e),!c&&l&&!p)return CW(),CW(),cne;if(s=new Mm,jS(JIt(e,wxe))===jS((oht(),pBe))&&(BB(i,qLe)||BB(i,XLe)))for(f=gPt(t,e),Qit(d=new VC,(!e.a&&(e.a=new tz($Le,e,10,11)),e.a));0!=d.b;)Ogt(h=QH(0==d.b?null:(ED(0!=d.b),Let(d,d.a.a)),33)),jS(JIt(h,wxe))===jS(mBe)||E9(h,txe)&&!y5(i,JIt(h,m_e))?(pst(s,hXt(t,h,n,r)),Wmt(h,wxe,mBe),PRt(h)):Qit(d,(!h.a&&(h.a=new tz($Le,h,10,11)),h.a));else for(f=(!e.a&&(e.a=new tz($Le,e,10,11)),e.a).i,o=new SO((!e.a&&(e.a=new tz($Le,e,10,11)),e.a));o.e!=o.i.gc();)pst(s,hXt(t,a=QH(ymt(o),33),n,r)),PRt(a);for(A=new zd(s);A.a<A.c.c.length;)Wmt(QH(J1(A),79),$xe,(cN(),!0));return Ggt(e,i,bat(r,f)),dQt(s),l&&p?u:(CW(),CW(),cne)}return CW(),CW(),cne}function fXt(t,e,n,r,i,a,o,s,c){var l,u,h,f,d,A,p;switch(d=n,Qf(u=new Ibt(c),(oxt(),kse)),lct(u,(lqt(),Vhe),o),lct(u,(HXt(),tme),(Vkt(),GBe)),p=jy(kF(t.We(Zge))),lct(u,Zge,p),xZ(h=new _xt,u),e!=qBe&&e!=VBe||(d=r>=0?lAt(s):kft(lAt(s)),t.Ye(ame,d)),l=new jT,f=!1,t.Xe(Jge)?(UD(l,QH(t.We(Jge),8)),f=!0):bO(l,o.a/2,o.b/2),d.g){case 4:lct(u,vge,(kdt(),Rfe)),lct(u,jhe,(Yst(),Lue)),u.o.b=o.b,p<0&&(u.o.a=-p),jBt(h,(yzt(),oSe)),f||(l.a=o.a),l.a-=o.a;break;case 2:lct(u,vge,(kdt(),Ufe)),lct(u,jhe,(Yst(),Bue)),u.o.b=o.b,p<0&&(u.o.a=-p),jBt(h,(yzt(),xSe)),f||(l.a=0);break;case 1:lct(u,efe,($7(),xhe)),u.o.a=o.a,p<0&&(u.o.b=-p),jBt(h,(yzt(),CSe)),f||(l.b=o.b),l.b-=o.b;break;case 3:lct(u,efe,($7(),Che)),u.o.a=o.a,p<0&&(u.o.b=-p),jBt(h,(yzt(),sSe)),f||(l.b=0)}if(UD(h.n,l),lct(u,Jge,l),e==KBe||e==zBe||e==GBe){if(A=0,e==KBe&&t.Xe(eme))switch(d.g){case 1:case 2:A=QH(t.We(eme),19).a;break;case 3:case 4:A=-QH(t.We(eme),19).a}else switch(d.g){case 4:case 2:A=a.b,e==zBe&&(A/=i.b);break;case 1:case 3:A=a.a,e==zBe&&(A/=i.a)}lct(u,Tfe,A)}return lct(u,qhe,d),u}function dXt(t){var e,n,r,i,a,o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T,k;if((n=jy(kF(bEt(t.a.j,(HXt(),Ppe)))))<-1||!t.a.i||IR(QH(bEt(t.a.o,tme),98))||adt(t.a.o,(yzt(),oSe)).gc()<2&&adt(t.a.o,xSe).gc()<2)return!0;if(t.a.c.Rf())return!1;for(y=0,v=0,b=new Mm,c=0,l=(s=t.a.e).length;c<l;++c){for(d=0,p=(f=s[c]).length;d<p;++d)if((h=f[d]).k!=(oxt(),_se)){for(r=t.b[h.c.p][h.p],h.k==kse?(r.b=1,QH(bEt(h,(lqt(),dfe)),11).j==(yzt(),oSe)&&(v+=r.a)):(k=adt(h,(yzt(),xSe))).dc()||!ZM(k,new Na)?r.c=1:((i=adt(h,oSe)).dc()||!ZM(i,new Oa))&&(y+=r.a),o=new oG(YO(hdt(h).a.Kc(),new u));AIt(o);)a=QH(K5(o),17),y+=r.c,v+=r.b,G9(t,r,a.d.i);for(T=new oG(new zO((g=Xnt(xst(jw(Nte,1),Hqt,20,0,[adt(h,(yzt(),sSe)),adt(h,CSe)]))).a.length,g.a));AIt(T);)w=QH(K5(T),11),(m=QH(bEt(w,(lqt(),wfe)),10))&&(y+=r.c,v+=r.b,G9(t,r,m))}else b.c[b.c.length]=h;for(A=new zd(b);A.a<A.c.c.length;)for(h=QH(J1(A),10),r=t.b[h.c.p][h.p],o=new oG(YO(hdt(h).a.Kc(),new u));AIt(o);)a=QH(K5(o),17),y+=r.c,v+=r.b,G9(t,r,a.d.i);b.c=O9(Lte,Hqt,1,0,5,1)}return(0==(e=y+v)?FWt:(y-v)/e)>=n}function AXt(){function t(t){var e=this;this.dispatch=function(e){var n=e.data;switch(n.cmd){case"algorithms":var r=EAt((CW(),new Ud(new Bd(lIe.b))));t.postMessage({id:n.id,data:r});break;case"categories":var i=EAt((CW(),new Ud(new Bd(lIe.c))));t.postMessage({id:n.id,data:i});break;case"options":var a=EAt((CW(),new Ud(new Bd(lIe.d))));t.postMessage({id:n.id,data:a});break;case"register":hKt(n.algorithms),t.postMessage({id:n.id});break;case"layout":NHt(n.graph,n.layoutOptions||{},n.options||{}),t.postMessage({id:n.id,data:n.graph})}},this.saveDispatch=function(n){try{e.dispatch(n)}catch(e){t.postMessage({id:n.data.id,error:e})}}}function e(e){var n=this;this.dispatcher=new t({postMessage:function(t){n.onmessage({data:t})}}),this.postMessage=function(t){setTimeout((function(){n.dispatcher.saveDispatch({data:t})}),0)}}if(ik(),typeof document===pYt&&typeof self!==pYt){var i=new t(self);self.onmessage=i.saveDispatch}else typeof n!==pYt&&n.exports&&(Object.defineProperty(r,"__esModule",{value:!0}),n.exports={default:e,Worker:e})}function pXt(t){t.N||(t.N=!0,t.b=yot(t,0),Fit(t.b,0),Fit(t.b,1),Fit(t.b,2),t.bb=yot(t,1),Fit(t.bb,0),Fit(t.bb,1),t.fb=yot(t,2),Fit(t.fb,3),Fit(t.fb,4),Pit(t.fb,5),t.qb=yot(t,3),Fit(t.qb,0),Pit(t.qb,1),Pit(t.qb,2),Fit(t.qb,3),Fit(t.qb,4),Pit(t.qb,5),Fit(t.qb,6),t.a=wot(t,4),t.c=wot(t,5),t.d=wot(t,6),t.e=wot(t,7),t.f=wot(t,8),t.g=wot(t,9),t.i=wot(t,10),t.j=wot(t,11),t.k=wot(t,12),t.n=wot(t,13),t.o=wot(t,14),t.p=wot(t,15),t.q=wot(t,16),t.s=wot(t,17),t.r=wot(t,18),t.t=wot(t,19),t.u=wot(t,20),t.v=wot(t,21),t.w=wot(t,22),t.B=wot(t,23),t.A=wot(t,24),t.C=wot(t,25),t.D=wot(t,26),t.F=wot(t,27),t.G=wot(t,28),t.H=wot(t,29),t.J=wot(t,30),t.I=wot(t,31),t.K=wot(t,32),t.M=wot(t,33),t.L=wot(t,34),t.P=wot(t,35),t.Q=wot(t,36),t.R=wot(t,37),t.S=wot(t,38),t.T=wot(t,39),t.U=wot(t,40),t.V=wot(t,41),t.X=wot(t,42),t.W=wot(t,43),t.Y=wot(t,44),t.Z=wot(t,45),t.$=wot(t,46),t._=wot(t,47),t.ab=wot(t,48),t.cb=wot(t,49),t.db=wot(t,50),t.eb=wot(t,51),t.gb=wot(t,52),t.hb=wot(t,53),t.ib=wot(t,54),t.jb=wot(t,55),t.kb=wot(t,56),t.lb=wot(t,57),t.mb=wot(t,58),t.nb=wot(t,59),t.ob=wot(t,60),t.pb=wot(t,61))}function gXt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;if(v=0,0==n.f.a)for(m=new zd(t);m.a<m.c.c.length;)p=QH(J1(m),10),v=e.Math.max(v,p.n.a+p.o.a+p.d.c);else v=n.f.a-n.c.a;for(v-=n.c.a,g=new zd(t);g.a<g.c.c.length;){switch(Ym((p=QH(J1(g),10)).n,v-p.o.a),rj(p.f),qvt(p),(p.q?p.q:(CW(),CW(),lne))._b((HXt(),sme))&&Ym(QH(bEt(p,sme),8),v-p.o.a),QH(bEt(p,vpe),248).g){case 1:lct(p,vpe,(dbt(),LEe));break;case 2:lct(p,vpe,(dbt(),SEe))}for(b=p.o,w=new zd(p.j);w.a<w.c.c.length;){for(Ym((y=QH(J1(w),11)).n,b.a-y.o.a),Ym(y.a,y.o.a),jBt(y,Bat(y.j)),(s=QH(bEt(y,eme),19))&&lct(y,eme,nft(-s.a)),o=new zd(y.g);o.a<o.c.c.length;){for(i=cmt((a=QH(J1(o),17)).a,0);i.b!=i.d.c;)(r=QH(h4(i),8)).a=v-r.a;if(u=QH(bEt(a,gge),74))for(l=cmt(u,0);l.b!=l.d.c;)(c=QH(h4(l),8)).a=v-c.a;for(d=new zd(a.b);d.a<d.c.c.length;)Ym((h=QH(J1(d),70)).n,v-h.o.a)}for(A=new zd(y.f);A.a<A.c.c.length;)Ym((h=QH(J1(A),70)).n,y.o.a-h.o.a)}for(p.k==(oxt(),kse)&&(lct(p,(lqt(),qhe),Bat(QH(bEt(p,qhe),61))),WEt(p)),f=new zd(p.b);f.a<f.c.c.length;)qvt(h=QH(J1(f),70)),Ym(h.n,b.a-h.o.a)}}function mXt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;if(v=0,0==n.f.b)for(m=new zd(t);m.a<m.c.c.length;)p=QH(J1(m),10),v=e.Math.max(v,p.n.b+p.o.b+p.d.a);else v=n.f.b-n.c.b;for(v-=n.c.b,g=new zd(t);g.a<g.c.c.length;){switch(Wm((p=QH(J1(g),10)).n,v-p.o.b),ij(p.f),Vvt(p),(p.q?p.q:(CW(),CW(),lne))._b((HXt(),sme))&&Wm(QH(bEt(p,sme),8),v-p.o.b),QH(bEt(p,vpe),248).g){case 3:lct(p,vpe,(dbt(),_Ee));break;case 4:lct(p,vpe,(dbt(),IEe))}for(b=p.o,w=new zd(p.j);w.a<w.c.c.length;){for(Wm((y=QH(J1(w),11)).n,b.b-y.o.b),Wm(y.a,y.o.b),jBt(y,Sat(y.j)),(s=QH(bEt(y,eme),19))&&lct(y,eme,nft(-s.a)),o=new zd(y.g);o.a<o.c.c.length;){for(i=cmt((a=QH(J1(o),17)).a,0);i.b!=i.d.c;)(r=QH(h4(i),8)).b=v-r.b;if(u=QH(bEt(a,gge),74))for(l=cmt(u,0);l.b!=l.d.c;)(c=QH(h4(l),8)).b=v-c.b;for(d=new zd(a.b);d.a<d.c.c.length;)Wm((h=QH(J1(d),70)).n,v-h.o.b)}for(A=new zd(y.f);A.a<A.c.c.length;)Wm((h=QH(J1(A),70)).n,y.o.b-h.o.b)}for(p.k==(oxt(),kse)&&(lct(p,(lqt(),qhe),Sat(QH(bEt(p,qhe),61))),pft(p)),f=new zd(p.b);f.a<f.c.c.length;)Vvt(h=QH(J1(f),70)),Wm(h.n,b.b-h.o.b)}}function bXt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d;for(h=!1,l=t+1,u1(t,e.c.length),o=(u=QH(e.c[t],200)).a,s=null,a=0;a<u.a.c.length;a++)if(u1(a,o.c.length),!(i=QH(o.c[a],187)).c)if(0!=i.b.c.length){if(i.k||(s&&$vt(s),kbt(i,(s=new FJ(s?s.e+s.d+r:0,u.f,r)).e+s.d,u.f),zH(u.d,s),Nat(s,i),i.k=!0),c=null,d=null,a<u.a.c.length-1?d=QH(O$(u.a,a+1),187):l<e.c.length&&0!=(u1(l,e.c.length),QH(e.c[l],200)).a.c.length&&(d=QH(O$((u1(l,e.c.length),QH(e.c[l],200)).a,0),187)),f=!1,(c=d)&&(f=!Oht(c.j,u)),c){if(0==c.b.c.length){kwt(u,c);break}if(p8(i,n-i.s),$vt(i.q),h|=ZEt(u,i,c,n,r),0==c.b.c.length)for(kwt((u1(l,e.c.length),QH(e.c[l],200)),c),c=null;e.c.length>l&&0==(u1(l,e.c.length),QH(e.c[l],200)).a.c.length;)b7(e,(u1(l,e.c.length),e.c[l]));if(!c){--a;continue}if(LQt(e,u,i,c,f,n,l,r)){h=!0;continue}if(f){if(YHt(e,u,i,c,n,l,r)){h=!0;continue}if(Lut(u,i)){i.c=!0,h=!0;continue}}else if(Lut(u,i)){i.c=!0,h=!0;continue}if(h)continue}Lut(u,i)?(i.c=!0,h=!0,c&&(c.k=!1)):$vt(i.q)}else LC(),kwt(u,i),--a,h=!0;return h}function vXt(t,n,r,i,a,o,s){var c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I;for(g=0,_=0,u=new zd(t.b);u.a<u.c.c.length;)(l=QH(J1(u),157)).c&&sGt(l.c),g=e.Math.max(g,eK(l)),_+=eK(l)*tK(l);for(m=_/t.b.c.length,x=lTt(t.b,m),_+=t.b.c.length*x,g=e.Math.max(g,e.Math.sqrt(_*s))+r.b,L=r.b,I=r.d,A=0,f=r.b+r.c,Nj(E=new VC,nft(0)),k=new VC,h=new k2(t.b,0),p=null,c=new Mm;h.b<h.d.gc();)ED(h.b<h.d.gc()),S=eK(l=QH(h.d.Xb(h.c=h.b++),157)),d=tK(l),L+S>g&&(o&&(lL(k,A),lL(E,nft(h.b-1)),zH(t.d,p),c.c=O9(Lte,Hqt,1,0,5,1)),L=r.b,I+=A+n,A=0,f=e.Math.max(f,r.b+r.c+S)),c.c[c.c.length]=l,Cmt(l,L,I),f=e.Math.max(f,L+S+r.c),A=e.Math.max(A,d),L+=S+n,p=l;if(pst(t.a,c),zH(t.d,QH(O$(c,c.c.length-1),157)),f=e.Math.max(f,i),(B=I+A+r.a)<a&&(A+=a-B,B=a),o)for(L=r.b,h=new k2(t.b,0),lL(E,nft(t.b.c.length)),v=QH(h4(C=cmt(E,0)),19).a,lL(k,A),T=cmt(k,0),w=0;h.b<h.d.gc();)h.b==v&&(L=r.b,w=jy(kF(h4(T))),v=QH(h4(C),19).a),ED(h.b<h.d.gc()),Gpt(l=QH(h.d.Xb(h.c=h.b++),157),w),h.b==v&&(b=f-L-r.c,y=eK(l),Kpt(l,b),Qft(l,(b-y)/2,0)),L+=eK(l)+n;return new OB(f,B)}function yXt(t){var e,n,r,i;switch(i=null,t.c){case 6:return t.Vl();case 13:return t.Wl();case 23:return t.Nl();case 22:return t.Sl();case 18:return t.Pl();case 8:VXt(t),dqt(),i=aNe;break;case 9:return t.vl(!0);case 19:return t.wl();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return i=t.ul(t.a),VXt(t),i;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=t.tl())<UWt?(dqt(),dqt(),i=new oK(0,e)):i=pG(zft(e));break;case 99:return t.Fl();case 67:return t.Al();case 105:return t.Il();case 73:return t.Bl();case 103:return t.Gl();case 88:return t.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.xl();case 80:case 112:if(!(i=DSt(t,t.a)))throw Um(new iw(yqt((aM(),S9t))));break;default:i=qj(t.a)}VXt(t);break;case 0:if(93==t.a||123==t.a||125==t.a)throw Um(new iw(yqt((aM(),B9t))));i=qj(t.a),n=t.a,VXt(t),(64512&n)==HWt&&0==t.c&&56320==(64512&t.a)&&((r=O9(_Ne,XVt,25,2,15,1))[0]=n&VVt,r[1]=t.a&VVt,i=oz(pG(Upt(r,0,r.length)),0),VXt(t));break;default:throw Um(new iw(yqt((aM(),B9t))))}return i}function wXt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g;if(i=new Mm,a=Dqt,o=Dqt,s=Dqt,r)for(a=t.f.a,p=new zd(n.j);p.a<p.c.c.length;)for(l=new zd(QH(J1(p),11).g);l.a<l.c.c.length;)0!=(c=QH(J1(l),17)).a.b&&((h=QH(AD(c.a),8)).a<a&&(o=a-h.a,s=Dqt,i.c=O9(Lte,Hqt,1,0,5,1),a=h.a),h.a<=a&&(i.c[i.c.length]=c,c.a.b>1&&(s=e.Math.min(s,e.Math.abs(QH(Dmt(c.a,1),8).b-h.b)))));else for(p=new zd(n.j);p.a<p.c.c.length;)for(l=new zd(QH(J1(p),11).e);l.a<l.c.c.length;)0!=(c=QH(J1(l),17)).a.b&&((d=QH(pD(c.a),8)).a>a&&(o=d.a-a,s=Dqt,i.c=O9(Lte,Hqt,1,0,5,1),a=d.a),d.a>=a&&(i.c[i.c.length]=c,c.a.b>1&&(s=e.Math.min(s,e.Math.abs(QH(Dmt(c.a,c.a.b-2),8).b-d.b)))));if(0!=i.c.length&&o>n.o.a/2&&s>n.o.b/2){for(xZ(A=new _xt,n),jBt(A,(yzt(),sSe)),A.n.a=n.o.a/2,xZ(g=new _xt,n),jBt(g,CSe),g.n.a=n.o.a/2,g.n.b=n.o.b,l=new zd(i);l.a<l.c.c.length;)c=QH(J1(l),17),r?(u=QH(dj(c.a),8),(0==c.a.b?A1(c.d):QH(AD(c.a),8)).b>=u.b?CZ(c,g):CZ(c,A)):(u=QH(Aj(c.a),8),(0==c.a.b?A1(c.c):QH(pD(c.a),8)).b>=u.b?kZ(c,g):kZ(c,A)),(f=QH(bEt(c,(HXt(),gge)),74))&&vAt(f,u,!0);n.n.a=a-n.o.a/2}}function TXt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;if(l=e,Irt(c=q4(t,I4(n),l),D2(l,j6t)),u=QH(cnt(t.g,ySt($J(l,k6t))),33),r=null,(o=$J(l,"sourcePort"))&&(r=ySt(o)),h=QH(cnt(t.j,r),118),!u)throw Um(new tw("An edge must have a source node (edge id: '"+Vpt(l)+X6t));if(h&&!fq(zJ(h),u))throw Um(new tw("The source port of an edge must be a port of the edge's source node (edge id: '"+D2(l,j6t)+X6t));if(!c.b&&(c.b=new cR(DLe,c,4,7)),l8(c.b,h||u),f=QH(cnt(t.g,ySt($J(l,W6t))),33),i=null,(s=$J(l,"targetPort"))&&(i=ySt(s)),d=QH(cnt(t.j,i),118),!f)throw Um(new tw("An edge must have a target node (edge id: '"+Vpt(l)+X6t));if(d&&!fq(zJ(d),f))throw Um(new tw("The target port of an edge must be a port of the edge's target node (edge id: '"+D2(l,j6t)+X6t));if(!c.c&&(c.c=new cR(DLe,c,5,8)),l8(c.c,d||f),0==(!c.b&&(c.b=new cR(DLe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new cR(DLe,c,5,8)),c.c).i)throw a=D2(l,j6t),Um(new tw(z6t+a+X6t));return ECt(l,c),cMt(l,c),Nct(t,l,c)}function kXt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x;return h=_Ut(UN(t,(yzt(),fSe)),e),A=ayt(UN(t,dSe),e),y=ayt(UN(t,wSe),e),C=oyt(UN(t,kSe),e),f=oyt(UN(t,cSe),e),b=ayt(UN(t,ySe),e),p=ayt(UN(t,ASe),e),T=ayt(UN(t,TSe),e),w=ayt(UN(t,lSe),e),E=oyt(UN(t,hSe),e),m=ayt(UN(t,bSe),e),v=ayt(UN(t,mSe),e),k=ayt(UN(t,uSe),e),x=oyt(UN(t,vSe),e),d=oyt(UN(t,pSe),e),g=ayt(UN(t,gSe),e),n=Mct(xst(jw(MNe,1),jWt,25,15,[b.a,C.a,T.a,x.a])),r=Mct(xst(jw(MNe,1),jWt,25,15,[A.a,h.a,y.a,g.a])),i=m.a,a=Mct(xst(jw(MNe,1),jWt,25,15,[p.a,f.a,w.a,d.a])),l=Mct(xst(jw(MNe,1),jWt,25,15,[b.b,A.b,p.b,v.b])),c=Mct(xst(jw(MNe,1),jWt,25,15,[C.b,h.b,f.b,g.b])),u=E.b,s=Mct(xst(jw(MNe,1),jWt,25,15,[T.b,y.b,w.b,k.b])),f8(UN(t,fSe),n+i,l+u),f8(UN(t,gSe),n+i,l+u),f8(UN(t,dSe),n+i,0),f8(UN(t,wSe),n+i,l+u+c),f8(UN(t,kSe),0,l+u),f8(UN(t,cSe),n+i+r,l+u),f8(UN(t,ASe),n+i+r,0),f8(UN(t,TSe),0,l+u+c),f8(UN(t,lSe),n+i+r,l+u+c),f8(UN(t,hSe),0,l),f8(UN(t,bSe),n,0),f8(UN(t,uSe),0,l+u+c),f8(UN(t,pSe),n+i+r,0),(o=new jT).a=Mct(xst(jw(MNe,1),jWt,25,15,[n+r+i+a,E.a,v.a,k.a])),o.b=Mct(xst(jw(MNe,1),jWt,25,15,[l+c+u+s,m.b,x.b,d.b])),o}function CXt(t){var e,n,r,i,a,o,s,c,l,h,f,d,A,p,g;for(p=new Mm,f=new zd(t.d.b);f.a<f.c.c.length;)for(A=new zd(QH(J1(f),29).a);A.a<A.c.c.length;){for(d=QH(J1(A),10),i=QH(DX(t.f,d),57),c=new oG(YO(hdt(d).a.Kc(),new u));AIt(c);)if(l=!0,h=null,(r=cmt((o=QH(K5(c),17)).a,0)).b!=r.d.c){for(e=QH(h4(r),8),n=null,o.c.j==(yzt(),sSe)&&((g=new xHt(e,new OB(e.a,i.d.d),i,o)).f.a=!0,g.a=o.c,p.c[p.c.length]=g),o.c.j==CSe&&((g=new xHt(e,new OB(e.a,i.d.d+i.d.a),i,o)).f.d=!0,g.a=o.c,p.c[p.c.length]=g);r.b!=r.d.c;)n=QH(h4(r),8),ant(e.b,n.b)||(h=new xHt(e,n,null,o),p.c[p.c.length]=h,l&&(l=!1,n.b<i.d.d?h.f.a=!0:n.b>i.d.d+i.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))),r.b!=r.d.c&&(e=n);h&&(a=QH(DX(t.f,o.d.i),57),e.b<a.d.d?h.f.a=!0:e.b>a.d.d+a.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))}for(s=new oG(YO(udt(d).a.Kc(),new u));AIt(s);)0!=(o=QH(K5(s),17)).a.b&&(e=QH(pD(o.a),8),o.d.j==(yzt(),sSe)&&((g=new xHt(e,new OB(e.a,i.d.d),i,o)).f.a=!0,g.a=o.d,p.c[p.c.length]=g),o.d.j==CSe&&((g=new xHt(e,new OB(e.a,i.d.d+i.d.a),i,o)).f.d=!0,g.a=o.d,p.c[p.c.length]=g))}return p}function EXt(t,e,n){var r,i,a,o,s,c,l;if(SCt(n,"Network simplex node placement",1),t.e=e,t.n=QH(bEt(e,(lqt(),Sfe)),304),s$t(t),Fkt(t),WC(ftt(new D$(null,new f1(t.e.b,16)),new ja),new rg(t)),WC(SV(ftt(SV(ftt(new D$(null,new f1(t.e.b,16)),new eo),new no),new ro),new io),new ng(t)),Hy(TF(bEt(t.e,(HXt(),Oge))))&&(SCt(a=bat(n,1),"Straight Edges Pre-Processing",1),wGt(t),Hxt(a)),Cbt(t.f),i=QH(bEt(e,Ome),19).a*t.f.a.c.length,XRt(qw(Vw(QQ(t.f),i),!1),bat(n,1)),0!=t.d.a.gc()){for(SCt(a=bat(n,1),"Flexible Where Space Processing",1),o=QH(LN(BG(LV(new D$(null,new f1(t.f.a,16)),new $a),new Fa)),19).a,s=QH(LN(_G(LV(new D$(null,new f1(t.f.a,16)),new Ka),new Pa)),19).a-o,c=SN(new Hb,t.f),l=SN(new Hb,t.f),GNt(iE(rE(nE(aE(new Ub,2e4),s),c),l)),WC(SV(SV(Iz(t.i),new Ga),new za),new $V(o,c,s,l)),r=t.d.a.ec().Kc();r.Ob();)QH(r.Pb(),213).g=1;XRt(qw(Vw(QQ(t.f),i),!1),bat(a,1)),Hxt(a)}Hy(TF(bEt(e,Oge)))&&(SCt(a=bat(n,1),"Straight Edges Post-Processing",1),E_t(t),Hxt(a)),VKt(t),t.e=null,t.f=null,t.i=null,t.c=null,Lz(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),Hxt(n)}function xXt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;for(s=new zd(t.a.b);s.a<s.c.c.length;)for(v=new zd(QH(J1(s),29).a);v.a<v.c.c.length;)b=QH(J1(v),10),n.g[b.p]=b,n.a[b.p]=b,n.d[b.p]=0;for(c=t.a.b,n.c==(AJ(),Jve)&&(c=rO(c,152)?o6(QH(c,152)):rO(c,131)?QH(c,131).a:rO(c,54)?new ly(c):new xC(c)),o=c.Kc();o.Ob();)for(d=-1,f=QH(o.Pb(),29).a,n.o==(oZ(),rye)&&(d=Dqt,f=rO(f,152)?o6(QH(f,152)):rO(f,131)?QH(f,131).a:rO(f,54)?new ly(f):new xC(f)),w=f.Kc();w.Ob();)if(y=QH(w.Pb(),10),h=null,(h=n.c==Jve?QH(O$(t.b.f,y.p),15):QH(O$(t.b.b,y.p),15)).gc()>0)if(i=h.gc(),l=xJ(e.Math.floor((i+1)/2))-1,a=xJ(e.Math.ceil((i+1)/2))-1,n.o==rye)for(u=a;u>=l;u--)n.a[y.p]==y&&(p=QH(h.Xb(u),46),A=QH(p.a,10),!RC(r,p.b)&&d>t.b.e[A.p]&&(n.a[A.p]=y,n.g[y.p]=n.g[A.p],n.a[y.p]=n.g[y.p],n.f[n.g[y.p].p]=(cN(),!!(Hy(n.f[n.g[y.p].p])&y.k==(oxt(),Ese))),d=t.b.e[A.p]));else for(u=l;u<=a;u++)n.a[y.p]==y&&(m=QH(h.Xb(u),46),g=QH(m.a,10),!RC(r,m.b)&&d<t.b.e[g.p]&&(n.a[g.p]=y,n.g[y.p]=n.g[g.p],n.a[y.p]=n.g[y.p],n.f[n.g[y.p].p]=(cN(),!!(Hy(n.f[n.g[y.p].p])&y.k==(oxt(),Ese))),d=t.b.e[g.p]))}function _Xt(){_Xt=L,tk(),ELe=ALe.a,QH(Xet(qW(ALe.a),0),18),vLe=ALe.f,QH(Xet(qW(ALe.f),0),18),QH(Xet(qW(ALe.f),1),34),CLe=ALe.n,QH(Xet(qW(ALe.n),0),34),QH(Xet(qW(ALe.n),1),34),QH(Xet(qW(ALe.n),2),34),QH(Xet(qW(ALe.n),3),34),yLe=ALe.g,QH(Xet(qW(ALe.g),0),18),QH(Xet(qW(ALe.g),1),34),gLe=ALe.c,QH(Xet(qW(ALe.c),0),18),QH(Xet(qW(ALe.c),1),18),wLe=ALe.i,QH(Xet(qW(ALe.i),0),18),QH(Xet(qW(ALe.i),1),18),QH(Xet(qW(ALe.i),2),18),QH(Xet(qW(ALe.i),3),18),QH(Xet(qW(ALe.i),4),34),TLe=ALe.j,QH(Xet(qW(ALe.j),0),18),mLe=ALe.d,QH(Xet(qW(ALe.d),0),18),QH(Xet(qW(ALe.d),1),18),QH(Xet(qW(ALe.d),2),18),QH(Xet(qW(ALe.d),3),18),QH(Xet(qW(ALe.d),4),34),QH(Xet(qW(ALe.d),5),34),QH(Xet(qW(ALe.d),6),34),QH(Xet(qW(ALe.d),7),34),pLe=ALe.b,QH(Xet(qW(ALe.b),0),34),QH(Xet(qW(ALe.b),1),34),bLe=ALe.e,QH(Xet(qW(ALe.e),0),34),QH(Xet(qW(ALe.e),1),34),QH(Xet(qW(ALe.e),2),34),QH(Xet(qW(ALe.e),3),34),QH(Xet(qW(ALe.e),4),18),QH(Xet(qW(ALe.e),5),18),QH(Xet(qW(ALe.e),6),18),QH(Xet(qW(ALe.e),7),18),QH(Xet(qW(ALe.e),8),18),QH(Xet(qW(ALe.e),9),18),QH(Xet(qW(ALe.e),10),34),kLe=ALe.k,QH(Xet(qW(ALe.k),0),34),QH(Xet(qW(ALe.k),1),34)}function BXt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_;for(E=new VC,T=new VC,g=-1,c=new zd(t);c.a<c.c.c.length;){for((o=QH(J1(c),128)).s=g--,u=0,v=0,a=new zd(o.t);a.a<a.c.c.length;)v+=(r=QH(J1(a),268)).c;for(i=new zd(o.i);i.a<i.c.c.length;)u+=(r=QH(J1(i),268)).c;o.n=u,o.u=v,0==v?n5(T,o,T.c.b,T.c):0==u&&n5(E,o,E.c.b,E.c)}for(_=C3(t),p=(h=t.c.length)+1,m=h-1,d=new Mm;0!=_.a.gc();){for(;0!=T.b;)ED(0!=T.b),w=QH(Let(T,T.a.a),128),_.a.Bc(w),w.s=m--,iOt(w,E,T);for(;0!=E.b;)ED(0!=E.b),k=QH(Let(E,E.a.a),128),_.a.Bc(k),k.s=p++,iOt(k,E,T);for(A=RVt,l=_.a.ec().Kc();l.Ob();)(b=(o=QH(l.Pb(),128)).u-o.n)>=A&&(b>A&&(d.c=O9(Lte,Hqt,1,0,5,1),A=b),d.c[d.c.length]=o);0!=d.c.length&&(f=QH(O$(d,gbt(e,d.c.length)),128),_.a.Bc(f),f.s=p++,iOt(f,E,T),d.c=O9(Lte,Hqt,1,0,5,1))}for(y=t.c.length+1,s=new zd(t);s.a<s.c.c.length;)(o=QH(J1(s),128)).s<h&&(o.s+=y);for(C=new zd(t);C.a<C.c.c.length;)for(n=new k2((k=QH(J1(C),128)).t,0);n.b<n.d.gc();)ED(n.b<n.d.gc()),x=(r=QH(n.d.Xb(n.c=n.b++),268)).b,k.s>x.s&&(lq(n),b7(x.i,r),r.c>0&&(r.a=x,zH(x.t,r),r.b=k,zH(k.i,r)))}function SXt(t){var e,n,r,i,a;switch(e=t.c){case 11:return t.Ml();case 12:return t.Ol();case 14:return t.Ql();case 15:return t.Tl();case 16:return t.Rl();case 17:return t.Ul();case 21:return VXt(t),dqt(),dqt(),oNe;case 10:switch(t.a){case 65:return t.yl();case 90:return t.Dl();case 122:return t.Kl();case 98:return t.El();case 66:return t.zl();case 60:return t.Jl();case 62:return t.Hl()}}switch(a=yXt(t),e=t.c){case 3:return t.Zl(a);case 4:return t.Xl(a);case 5:return t.Yl(a);case 0:if(123==t.a&&t.d<t.j){if(i=t.d,r=0,n=-1,!((e=lV(t.i,i++))>=48&&e<=57))throw Um(new iw(yqt((aM(),z9t))));for(r=e-48;i<t.j&&(e=lV(t.i,i++))>=48&&e<=57;)if((r=10*r+e-48)<0)throw Um(new iw(yqt((aM(),W9t))));if(n=r,44==e){if(i>=t.j)throw Um(new iw(yqt((aM(),q9t))));if((e=lV(t.i,i++))>=48&&e<=57){for(n=e-48;i<t.j&&(e=lV(t.i,i++))>=48&&e<=57;)if((n=10*n+e-48)<0)throw Um(new iw(yqt((aM(),W9t))));if(r>n)throw Um(new iw(yqt((aM(),V9t))))}else n=-1}if(125!=e)throw Um(new iw(yqt((aM(),X9t))));t.sl(i)?(dqt(),dqt(),a=new c3(9,a),t.d=i+1):(dqt(),dqt(),a=new c3(3,a),t.d=i),a.dm(r),a.cm(n),VXt(t)}}return a}function LXt(t,e,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E;for(A=new W6(e.b),b=new W6(e.b),f=new W6(e.b),T=new W6(e.b),p=new W6(e.b),w=cmt(e,0);w.b!=w.d.c;)for(s=new zd((v=QH(h4(w),11)).g);s.a<s.c.c.length;)if((a=QH(J1(s),17)).c.i==a.d.i){if(v.j==a.d.j){T.c[T.c.length]=a;continue}if(v.j==(yzt(),sSe)&&a.d.j==CSe){p.c[p.c.length]=a;continue}}for(c=new zd(p);c.a<c.c.c.length;)RQt(t,a=QH(J1(c),17),n,r,(yzt(),oSe));for(o=new zd(T);o.a<o.c.c.length;)a=QH(J1(o),17),Qf(k=new Ibt(t),(oxt(),_se)),lct(k,(HXt(),tme),(Vkt(),GBe)),lct(k,(lqt(),dfe),a),lct(C=new _xt,dfe,a.d),jBt(C,(yzt(),xSe)),xZ(C,k),lct(E=new _xt,dfe,a.c),jBt(E,oSe),xZ(E,k),lct(a.c,wfe,k),lct(a.d,wfe,k),CZ(a,null),kZ(a,null),n.c[n.c.length]=k,lct(k,Qhe,nft(2));for(y=cmt(e,0);y.b!=y.d.c;)l=(v=QH(h4(y),11)).e.c.length>0,g=v.g.c.length>0,l&&g?f.c[f.c.length]=v:l?A.c[A.c.length]=v:g&&(b.c[b.c.length]=v);for(d=new zd(A);d.a<d.c.c.length;)zH(i,HHt(t,QH(J1(d),11),null,n));for(m=new zd(b);m.a<m.c.c.length;)zH(i,HHt(t,null,QH(J1(m),11),n));for(h=new zd(f);h.a<h.c.c.length;)zH(i,HHt(t,u=QH(J1(h),11),u,n))}function IXt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;for(p=new OB(FWt,FWt),n=new OB(PWt,PWt),w=new zd(t);w.a<w.c.c.length;)y=QH(J1(w),8),p.a=e.Math.min(p.a,y.a),p.b=e.Math.min(p.b,y.b),n.a=e.Math.max(n.a,y.a),n.b=e.Math.max(n.b,y.b);for(l=new OB(n.a-p.a,n.b-p.b),u=new JUt(new OB(p.a-50,p.b-l.a-50),new OB(p.a-50,n.b+l.a+50),new OB(n.a+l.b/2+50,p.b+l.b/2)),v=new Db,a=new Mm,r=new Mm,v.a.zc(u,v),k=new zd(t);k.a<k.c.c.length;){for(T=QH(J1(k),8),a.c=O9(Lte,Hqt,1,0,5,1),b=v.a.ec().Kc();b.Ob();)z9((g=QH(b.Pb(),308)).d,g.a),Bdt(z9(g.d,T),z9(g.d,g.a))<0&&(a.c[a.c.length]=g);for(r.c=O9(Lte,Hqt,1,0,5,1),m=new zd(a);m.a<m.c.c.length;)for(d=new zd((g=QH(J1(m),308)).e);d.a<d.c.c.length;){for(h=QH(J1(d),168),o=!0,c=new zd(a);c.a<c.c.c.length;)(s=QH(J1(c),308))!=g&&(rV(h,O$(s.e,0))||rV(h,O$(s.e,1))||rV(h,O$(s.e,2)))&&(o=!1);o&&(r.c[r.c.length]=h)}for(sEt(v,a),t5(v,new ft),f=new zd(r);f.a<f.c.c.length;)Tz(v,new JUt(T,(h=QH(J1(f),168)).a,h.b))}for(t5(v,new yA(A=new Db)),i=A.a.ec().Kc();i.Ob();)(F7(u,(h=QH(i.Pb(),168)).a)||F7(u,h.b))&&i.Qb();return t5(A,new dt),A}function MXt(t){var e,n,r;switch(n=QH(bEt(t,(lqt(),Yhe)),21),e=vI(Moe),QH(bEt(t,(HXt(),sge)),334)==(oht(),pBe)&&Yat(e,Ooe),Hy(TF(bEt(t,age)))?d$(e,(vEt(),Doe),(hqt(),Uce)):d$(e,(vEt(),Poe),(hqt(),Uce)),null!=bEt(t,(x6(),TEe))&&Yat(e,Noe),(Hy(TF(bEt(t,Age)))||Hy(TF(bEt(t,oge))))&&zK(e,(vEt(),Qoe),(hqt(),tce)),QH(bEt(t,Kpe),103).g){case 2:case 3:case 4:zK(d$(e,(vEt(),Doe),(hqt(),nce)),Qoe,ece)}switch(n.Hc((fFt(),che))&&zK(d$(d$(e,(vEt(),Doe),(hqt(),Zse)),Roe,Yse),Qoe,Jse),jS(bEt(t,Cge))!==jS((cNt(),_be))&&d$(e,(vEt(),Poe),(hqt(),Mce)),n.Hc(phe)&&(d$(e,(vEt(),Doe),(hqt(),Rce)),d$(e,Foe,Fce),d$(e,Poe,Pce)),jS(bEt(t,Epe))!==jS((YEt(),rhe))&&jS(bEt(t,Ype))!==jS((Cdt(),V_e))&&zK(e,(vEt(),Qoe),(hqt(),pce)),Hy(TF(bEt(t,lge)))&&d$(e,(vEt(),Poe),(hqt(),Ace)),Hy(TF(bEt(t,Upe)))&&d$(e,(vEt(),Poe),(hqt(),zce)),POt(t)&&(r=(jS(bEt(t,sge))===jS(pBe)?QH(bEt(t,Dpe),292):QH(bEt(t,Fpe),292))==(Pot(),yhe)?(hqt(),Dce):(hqt(),Vce),d$(e,(vEt(),Roe),r)),QH(bEt(t,$me),377).g){case 1:d$(e,(vEt(),Roe),(hqt(),Xce));break;case 2:zK(d$(d$(e,(vEt(),Poe),(hqt(),Xse)),Roe,qse),Qoe,Vse)}return jS(bEt(t,Ipe))!==jS((bct(),Mbe))&&d$(e,(vEt(),Poe),(hqt(),qce)),e}function OXt(t){ME(t,new CCt(gT(fT(pT(AT(new gs,I3t),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new ts))),a2(t,I3t,qJt,1.3),a2(t,I3t,L3t,bmt(Ake)),a2(t,I3t,VJt,_ke),a2(t,I3t,mZt,15),a2(t,I3t,o4t,bmt(hke)),a2(t,I3t,xZt,bmt(yke)),a2(t,I3t,UZt,bmt(wke)),a2(t,I3t,EZt,bmt(Tke)),a2(t,I3t,_Zt,bmt(vke)),a2(t,I3t,CZt,bmt(kke)),a2(t,I3t,BZt,bmt(Bke)),a2(t,I3t,T3t,bmt(Eke)),a2(t,I3t,k3t,bmt(bke)),a2(t,I3t,x3t,bmt(Cke)),a2(t,I3t,_3t,bmt(Ske)),a2(t,I3t,B3t,bmt(pke)),a2(t,I3t,wZt,bmt(gke)),a2(t,I3t,b4t,bmt(mke)),a2(t,I3t,E3t,bmt(dke)),a2(t,I3t,C3t,bmt(fke)),a2(t,I3t,S3t,bmt(Ike))}function NXt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p;if(null==n)return null;if(t.a!=e.Aj())throw Um(new Py(A6t+e.ne()+p6t));if(rO(e,457)){if(!(p=EFt(QH(e,671),n)))throw Um(new Py(g6t+n+"' is not a valid enumerator of '"+e.ne()+"'"));return p}switch(_ht((B_t(),WMe),e).cl()){case 2:n=QHt(n,!1);break;case 3:n=QHt(n,!0)}if(r=_ht(WMe,e).$k())return r.Aj().Nh().Kh(r,n);if(h=_ht(WMe,e).al()){for(p=new Mm,l=0,u=(c=vlt(n)).length;l<u;++l)s=c[l],zH(p,h.Aj().Nh().Kh(h,s));return p}if(!(A=_ht(WMe,e).bl()).dc()){for(d=A.Kc();d.Ob();){f=QH(d.Pb(),148);try{if(null!=(p=f.Aj().Nh().Kh(f,n)))return p}catch(t){if(!rO(t=hst(t),60))throw Um(t)}}throw Um(new Py(g6t+n+"' does not match any member types of the union datatype '"+e.ne()+"'"))}if(QH(e,834).Fj(),!(i=Nht(e.Bj())))return null;if(i==Eee){a=0;try{a=hQt(n,RVt,Dqt)&VVt}catch(t){if(!rO(t=hst(t),127))throw Um(t);a=X7(n)[0]}return ust(a)}if(i==bee){for(o=0;o<_Le.length;++o)try{return QE(_Le[o],n)}catch(t){if(!rO(t=hst(t),32))throw Um(t)}throw Um(new Py(g6t+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Um(new Py(g6t+n+"' is invalid. "))}function DXt(t,e){var n,r,i,a,o,s,c,l;if(n=0,o=0,a=e.length,s=null,l=new _w,o<a&&(h1(o,e.length),43==e.charCodeAt(o))&&(++n,++o<a&&(h1(o,e.length),43==e.charCodeAt(o)||(h1(o,e.length),45==e.charCodeAt(o)))))throw Um(new kw(DWt+e+'"'));for(;o<a&&(h1(o,e.length),46!=e.charCodeAt(o))&&(h1(o,e.length),101!=e.charCodeAt(o))&&(h1(o,e.length),69!=e.charCodeAt(o));)++o;if(l.a+=""+lD(null==e?Kqt:(vq(e),e),n,o),o<a&&(h1(o,e.length),46==e.charCodeAt(o))){for(n=++o;o<a&&(h1(o,e.length),101!=e.charCodeAt(o))&&(h1(o,e.length),69!=e.charCodeAt(o));)++o;t.e=o-n,l.a+=""+lD(null==e?Kqt:(vq(e),e),n,o)}else t.e=0;if(o<a&&(h1(o,e.length),101==e.charCodeAt(o)||(h1(o,e.length),69==e.charCodeAt(o)))&&(n=++o,o<a&&(h1(o,e.length),43==e.charCodeAt(o))&&++o<a&&(h1(o,e.length),45!=e.charCodeAt(o))&&++n,s=e.substr(n,a-n),t.e=t.e-hQt(s,RVt,Dqt),t.e!=xJ(t.e)))throw Um(new kw("Scale out of range."));if((c=l.a).length<16){if(t.f=(null==qee&&(qee=new RegExp("^[+-]?\\d*$","i")),qee.test(c)?parseInt(c,10):NaN),isNaN(t.f))throw Um(new kw(DWt+e+'"'));t.a=aSt(t.f)}else upt(t,new LI(c));for(t.d=l.a.length,i=0;i<l.a.length&&(45==(r=lV(l.a,i))||48==r);++i)--t.d;0==t.d&&(t.d=1)}function FXt(){FXt=L,YSt(lse=new pJ,(yzt(),fSe),gSe),YSt(lse,kSe,gSe),YSt(lse,kSe,vSe),YSt(lse,cSe,pSe),YSt(lse,cSe,gSe),YSt(lse,dSe,gSe),YSt(lse,dSe,mSe),YSt(lse,wSe,uSe),YSt(lse,wSe,gSe),YSt(lse,bSe,hSe),YSt(lse,bSe,gSe),YSt(lse,bSe,mSe),YSt(lse,bSe,uSe),YSt(lse,hSe,bSe),YSt(lse,hSe,vSe),YSt(lse,hSe,pSe),YSt(lse,hSe,gSe),YSt(lse,ySe,ySe),YSt(lse,ySe,mSe),YSt(lse,ySe,vSe),YSt(lse,ASe,ASe),YSt(lse,ASe,mSe),YSt(lse,ASe,pSe),YSt(lse,TSe,TSe),YSt(lse,TSe,uSe),YSt(lse,TSe,vSe),YSt(lse,lSe,lSe),YSt(lse,lSe,uSe),YSt(lse,lSe,pSe),YSt(lse,mSe,dSe),YSt(lse,mSe,bSe),YSt(lse,mSe,ySe),YSt(lse,mSe,ASe),YSt(lse,mSe,gSe),YSt(lse,mSe,mSe),YSt(lse,mSe,vSe),YSt(lse,mSe,pSe),YSt(lse,uSe,wSe),YSt(lse,uSe,bSe),YSt(lse,uSe,TSe),YSt(lse,uSe,lSe),YSt(lse,uSe,uSe),YSt(lse,uSe,vSe),YSt(lse,uSe,pSe),YSt(lse,uSe,gSe),YSt(lse,vSe,kSe),YSt(lse,vSe,hSe),YSt(lse,vSe,ySe),YSt(lse,vSe,TSe),YSt(lse,vSe,mSe),YSt(lse,vSe,uSe),YSt(lse,vSe,vSe),YSt(lse,vSe,gSe),YSt(lse,pSe,cSe),YSt(lse,pSe,hSe),YSt(lse,pSe,ASe),YSt(lse,pSe,lSe),YSt(lse,pSe,mSe),YSt(lse,pSe,uSe),YSt(lse,pSe,pSe),YSt(lse,pSe,gSe),YSt(lse,gSe,fSe),YSt(lse,gSe,kSe),YSt(lse,gSe,cSe),YSt(lse,gSe,dSe),YSt(lse,gSe,wSe),YSt(lse,gSe,bSe),YSt(lse,gSe,hSe),YSt(lse,gSe,mSe),YSt(lse,gSe,uSe),YSt(lse,gSe,vSe),YSt(lse,gSe,pSe),YSt(lse,gSe,gSe)}function PXt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C;for(t.d=new OB(FWt,FWt),t.c=new OB(PWt,PWt),f=n.Kc();f.Ob();)for(v=new zd(QH(f.Pb(),37).a);v.a<v.c.c.length;)b=QH(J1(v),10),t.d.a=e.Math.min(t.d.a,b.n.a-b.d.b),t.d.b=e.Math.min(t.d.b,b.n.b-b.d.d),t.c.a=e.Math.max(t.c.a,b.n.a+b.o.a+b.d.c),t.c.b=e.Math.max(t.c.b,b.n.b+b.o.b+b.d.a);for(c=new Vb,h=n.Kc();h.Ob();)i=oXt(t,QH(h.Pb(),37)),zH(c.a,i),i.a=i.a|!QH(bEt(i.c,(lqt(),Ghe)),21).dc();for(t.b=(Eut(),(C=new ye).f=new mrt(r),C.b=sKt(C.f,c),C),wKt((A=t.b,new Gv,A)),t.e=new jT,t.a=t.b.f.e,s=new zd(c.a);s.a<s.c.c.length;)for(a=QH(J1(s),841),y=SJ(t.b,a),ZPt(a.c,y.a,y.b),g=new zd(a.c.a);g.a<g.c.c.length;)(p=QH(J1(g),10)).k==(oxt(),kse)&&(m=hOt(t,p.n,QH(bEt(p,(lqt(),qhe)),61)),KP(vL(p.n),m));for(o=new zd(c.a);o.a<o.c.c.length;)for(u=new zd(dft(a=QH(J1(o),841)));u.a<u.c.c.length;)for(FD(k=new FT((l=QH(J1(u),17)).a),0,A1(l.c)),Nj(k,A1(l.d)),d=null,T=cmt(k,0);T.b!=T.d.c;)w=QH(h4(T),8),d?(ont(d.a,w.a)?(t.e.a=e.Math.min(t.e.a,d.a),t.a.a=e.Math.max(t.a.a,d.a)):ont(d.b,w.b)&&(t.e.b=e.Math.min(t.e.b,d.b),t.a.b=e.Math.max(t.a.b,d.b)),d=w):d=w;HD(t.e),KP(t.a,t.e)}function RXt(t){qMt(t.b,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"ConsistentTransient"])),qMt(t.a,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"WellFormedSourceURI"])),qMt(t.o,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),qMt(t.p,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),qMt(t.v,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),qMt(t.R,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"WellFormedName"])),qMt(t.T,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),qMt(t.U,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),qMt(t.W,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),qMt(t.bb,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"ValidDefaultValueLiteral"])),qMt(t.eb,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),qMt(t.H,q8t,xst(jw(Vee,1),cVt,2,6,[W8t,"ConsistentType ConsistentBounds ConsistentArguments"]))}function QXt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;if(!e.dc()){if(i=new vv,h=(o=n||QH(e.Xb(0),17)).c,pDt(),(l=h.i.k)!=(oxt(),xse)&&l!=_se&&l!=kse&&l!=Tse)throw Um(new Py("The target node of the edge must be a normal node or a northSouthPort."));for(lL(i,Lct(xst(jw(EEe,1),cVt,8,0,[h.i.n,h.n,h.a]))),(yzt(),bSe).Hc(h.j)&&(d=jy(kF(bEt(h,(lqt(),Ife)))),n5(i,new OB(Lct(xst(jw(EEe,1),cVt,8,0,[h.i.n,h.n,h.a])).a,d),i.c.b,i.c)),c=null,r=!1,s=e.Kc();s.Ob();)0!=(a=QH(s.Pb(),17).a).b&&(r?(n5(i,vO(KP(c,(ED(0!=a.b),QH(a.a.a.c,8))),.5),i.c.b,i.c),r=!1):r=!0,c=QM((ED(0!=a.b),QH(a.c.b.c,8))),Qit(i,a),bW(a));f=o.d,bSe.Hc(f.j)&&(d=jy(kF(bEt(f,(lqt(),Ife)))),n5(i,new OB(Lct(xst(jw(EEe,1),cVt,8,0,[f.i.n,f.n,f.a])).a,d),i.c.b,i.c)),lL(i,Lct(xst(jw(EEe,1),cVt,8,0,[f.i.n,f.n,f.a]))),t.d==(Glt(),tve)&&(ED(0!=i.b),A=QH(i.a.a.c,8),p=QH(Dmt(i,1),8),(g=new GZ(llt(h.j))).a*=5,g.b*=5,m=GP(new OB(p.a,p.b),A),KP(b=new OB(eZ(g.a,m.a),eZ(g.b,m.b)),A),Jz(cmt(i,1),b),ED(0!=i.b),v=QH(i.c.b.c,8),y=QH(Dmt(i,i.b-2),8),(g=new GZ(llt(f.j))).a*=5,g.b*=5,m=GP(new OB(y.a,y.b),v),KP(w=new OB(eZ(g.a,m.a),eZ(g.b,m.b)),v),FD(i,i.b-1,w)),u=new sHt(i),Qit(o.a,Qbt(u))}}function UXt(t,n,r,i){var a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I,M,O,N,D;if(y=(b=QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82)).Dg(),w=b.Eg(),v=b.Cg()/2,A=b.Bg()/2,rO(b,186)&&(y+=zJ(m=QH(b,118)).i,y+=zJ(m).i),y+=v,w+=A,B=(x=QH(Xet((!t.b&&(t.b=new cR(DLe,t,4,7)),t.b),0),82)).Dg(),S=x.Eg(),_=x.Cg()/2,T=x.Bg()/2,rO(x,186)&&(B+=zJ(E=QH(x,118)).i,B+=zJ(E).i),B+=_,S+=T,0==(!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i)ZT(),c=new oc,l8((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a),c);else if((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i>1)for(d=new rD((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a));d.e!=d.i.gc();)VTt(d);for(p=B,B>y+v?p=y+v:B<y-v&&(p=y-v),g=S,S>w+A?g=w+A:S<w-A&&(g=w-A),p>y-v&&p<y+v&&g>w-A&&g<w+A&&(p=y+v),Bnt(s=QH(Xet((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a),0),202),p),Lnt(s,g),k=y,y>B+_?k=B+_:y<B-_&&(k=B-_),C=w,w>S+T?C=S+T:w<S-T&&(C=S-T),k>B-_&&k<B+_&&C>S-T&&C<S+T&&(C=S+T),knt(s,k),Snt(s,C),c$t((!s.a&&(s.a=new LO(MLe,s,5)),s.a)),o=gbt(n,5),b==x&&++o,I=k-p,N=C-g,u=.20000000298023224*e.Math.sqrt(I*I+N*N),M=I/(o+1),D=N/(o+1),L=p,O=g,l=0;l<o;l++)O+=D,(h=(L+=M)+HMt(n,24)*oYt*u-u/2)<0?h=1:h>r&&(h=r-1),(f=O+HMt(n,24)*oYt*u-u/2)<0?f=1:f>i&&(f=i-1),ZT(),wnt(a=new ac,h),Tnt(a,f),l8((!s.a&&(s.a=new LO(MLe,s,5)),s.a),a)}function HXt(){HXt=L,cqt(),pme=y_e,gme=w_e,mme=T_e,bme=k_e,yme=C_e,wme=E_e,Cme=__e,xme=S_e,_me=L_e,Eme=B_e,Bme=I_e,Lme=M_e,Mme=D_e,kme=x_e,uqt(),Ame=PAe,vme=RAe,Tme=QAe,Sme=UAe,cme=new GI(p_e,nft(0)),lme=NAe,ume=DAe,hme=FAe,$me=upe,Dme=$Ae,Fme=zAe,Qme=tpe,Pme=VAe,Rme=YAe,Gme=ppe,Kme=fpe,Hme=ope,Ume=ipe,jme=cpe,Dge=EAe,Fge=xAe,nge=Fde,rge=Qde,Kge=new zI(12),$ge=new GI(Gxe,Kge),Cdt(),Ype=new GI(gxe,Jpe=q_e),Zge=new GI(i_e,0),fme=new GI(g_e,nft(1)),wpe=new GI(rxe,AZt),jge=$xe,tme=a_e,ame=f_e,$pe=uxe,vpe=exe,sge=wxe,dme=new GI(v_e,(cN(),!0)),fge=Cxe,dge=Exe,Rge=Fxe,Hge=Hxe,Qge=Rxe,Qht(),Kpe=new GI(hxe,zpe=Q_e),Lge=Nxe,Sge=Mxe,rme=l_e,nme=c_e,ime=h_e,imt(),new GI(Yxe,Xge=HBe),Vge=t_e,Wge=e_e,Yge=n_e,qge=Zxe,Nme=jAe,Ege=uAe,Cge=cAe,Ome=HAe,vge=tAe,jpe=Tde,Hpe=yde,Ope=ade,Npe=ode,Fpe=hde,Dpe=sde,Upe=bde,_ge=fAe,Bge=dAe,pge=Xde,Pge=LAe,Mge=mAe,age=jde,Nge=kAe,tge=Mde,ege=Nde,Mpe=cxe,Ige=AAe,Epe=qfe,Cpe=zfe,kpe=Gfe,lge=Gde,cge=Kde,uge=zde,Uge=Qxe,gge=Bxe,ige=bxe,Vpe=Axe,qpe=dxe,Ppe=Ade,eme=s_e,Tpe=sxe,hge=kxe,Jge=r_e,Gge=Xxe,zge=Vxe,wge=rAe,Tge=aAe,sme=A_e,ype=Kfe,kge=sAe,Wpe=Bde,Xpe=xde,xge=Lxe,mge=Yde,Oge=yAe,Ime=O_e,Gpe=Cde,ome=MAe,Zpe=Lde,bge=Zde,Rpe=gde,Age=_xe,yge=nAe,Qpe=mde,Ipe=rde,Spe=tde,_pe=Jfe,Bpe=Zfe,Lpe=nde,xpe=Wfe,oge=$de}function jXt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B;if(ojt(),C=t.e,A=t.d,i=t.a,0==C)switch(e){case 0:return"0";case 1:return XWt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(T=new xw).a+=e<0?"0E+":"0E",T.a+=-e,T.a}if(y=O9(_Ne,XVt,25,1+(v=10*A+1+7),15,1),n=v,1==A)if((s=i[0])<0){B=t0(s,GWt);do{p=B,B=STt(B,10),y[--n]=48+dK(ndt(p,idt(B,10)))&VVt}while(0!=qut(B,0))}else{B=s;do{p=B,B=B/10|0,y[--n]=p-10*B+48&VVt}while(0!=B)}else{ajt(i,0,x=O9(BNe,lWt,25,A,15,1),0,_=A);t:for(;;){for(k=0,l=_-1;l>=0;l--)m=uCt(rdt(bG(k,32),t0(x[l],GWt))),x[l]=dK(m),k=dK(vG(m,32));b=dK(k),g=n;do{y[--n]=48+b%10&VVt}while(0!=(b=b/10|0)&&0!=n);for(r=9-g+n,c=0;c<r&&n>0;c++)y[--n]=48;for(h=_-1;0==x[h];h--)if(0==h)break t;_=h+1}for(;48==y[n];)++n}if(d=C<0,o=v-n-e-1,0==e)return d&&(y[--n]=45),Upt(y,n,v-n);if(e>0&&o>=-6){if(o>=0){for(u=n+o,f=v-1;f>=u;f--)y[f+1]=y[f];return y[++u]=46,d&&(y[--n]=45),Upt(y,n,v-n+1)}for(h=2;h<1-o;h++)y[--n]=48;return y[--n]=46,y[--n]=48,d&&(y[--n]=45),Upt(y,n,v-n)}return E=n+1,a=v,w=new _w,d&&(w.a+="-"),a-E>=1?(OX(w,y[n]),w.a+=".",w.a+=Upt(y,n+1,v-n-1)):w.a+=Upt(y,n,v-n),w.a+="E",o>0&&(w.a+="+"),w.a+=""+o,w.a}function $Xt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;switch(t.c=n,t.g=new Om,jE(),tAt(new EA(new Ny(t.c))),b=CF(JIt(t.c,(CEt(),dCe))),s=QH(JIt(t.c,pCe),316),y=QH(JIt(t.c,gCe),429),a=QH(JIt(t.c,cCe),482),v=QH(JIt(t.c,ACe),430),t.j=jy(kF(JIt(t.c,mCe))),o=t.a,s.g){case 0:o=t.a;break;case 1:o=t.b;break;case 2:o=t.i;break;case 3:o=t.e;break;case 4:o=t.f;break;default:throw Um(new Py(O3t+(null!=s.f?s.f:""+s.g)))}if(t.d=new NJ(o,y,a),lct(t.d,(zat(),qie),TF(JIt(t.c,uCe))),t.d.c=Hy(TF(JIt(t.c,lCe))),0==VW(t.c).i)return t.d;for(u=new SO(VW(t.c));u.e!=u.i.gc();){for(f=(l=QH(ymt(u),33)).g/2,h=l.f/2,w=new OB(l.i+f,l.j+h);cz(t.g,w);)PD(w,(e.Math.random()-.5)*hZt,(e.Math.random()-.5)*hZt);A=QH(JIt(l,(cqt(),Lxe)),142),p=new SZ(w,new KV(w.a-f-t.j/2-A.b,w.b-h-t.j/2-A.d,l.g+t.j+(A.b+A.c),l.f+t.j+(A.d+A.a))),zH(t.d.i,p),Xq(t.g,w,new nS(p,l))}switch(v.g){case 0:if(null==b)t.d.d=QH(O$(t.d.i,0),65);else for(m=new zd(t.d.i);m.a<m.c.c.length;)p=QH(J1(m),65),null!=(d=QH(QH(DX(t.g,p.a),46).b,33).zg())&&mR(d,b)&&(t.d.d=p);break;case 1:for((r=new OB(t.c.g,t.c.f)).a*=.5,r.b*=.5,PD(r,t.c.i,t.c.j),i=FWt,g=new zd(t.d.i);g.a<g.c.c.length;)(c=z9((p=QH(J1(g),65)).a,r))<i&&(i=c,t.d.d=p);break;default:throw Um(new Py(O3t+(null!=v.f?v.f:""+v.g)))}return t.d}function KXt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k;for(T=QH(Xet((!t.a&&(t.a=new tz(PLe,t,6,6)),t.a),0),202),h=new vv,w=new Om,k=tUt(T),wBt(w.f,T,k),d=new Om,i=new VC,p=Mz(Xnt(xst(jw(Nte,1),Hqt,20,0,[(!n.d&&(n.d=new cR(FLe,n,8,5)),n.d),(!n.e&&(n.e=new cR(FLe,n,7,4)),n.e)])));AIt(p);){if(A=QH(K5(p),79),1!=(!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i)throw Um(new Py(U5t+(!t.a&&(t.a=new tz(PLe,t,6,6)),t.a).i));A!=t&&(n5(i,m=QH(Xet((!A.a&&(A.a=new tz(PLe,A,6,6)),A.a),0),202),i.c.b,i.c),(g=QH(HS(SY(w.f,m)),12))||(g=tUt(m),wBt(w.f,m,g)),f=r?GP(new fI(QH(O$(k,k.c.length-1),8)),QH(O$(g,g.c.length-1),8)):GP(new fI((u1(0,k.c.length),QH(k.c[0],8))),(u1(0,g.c.length),QH(g.c[0],8))),wBt(d.f,m,f))}if(0!=i.b)for(b=QH(O$(k,r?k.c.length-1:0),8),u=1;u<k.c.length;u++){for(v=QH(O$(k,r?k.c.length-1-u:u),8),a=cmt(i,0);a.b!=a.d.c;)m=QH(h4(a),202),(g=QH(HS(SY(w.f,m)),12)).c.length<=u?bet(a):(y=KP(new fI(QH(O$(g,r?g.c.length-1-u:u),8)),QH(HS(SY(d.f,m)),8)),v.a==y.a&&v.b==y.b||(o=v.a-b.a,c=v.b-b.b,(s=y.a-b.a)*c==(l=y.b-b.b)*o&&(0==o||isNaN(o)?o:o<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)&&(0==c||isNaN(c)?c:c<0?-1:1)==(0==l||isNaN(l)?l:l<0?-1:1)?(e.Math.abs(o)<e.Math.abs(s)||e.Math.abs(c)<e.Math.abs(l))&&n5(h,v,h.c.b,h.c):u>1&&n5(h,b,h.c.b,h.c),bet(a)));b=v}return h}function GXt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I;for(SCt(n,"Greedy cycle removal",1),I=(v=e.a).c.length,t.a=O9(BNe,lWt,25,I,15,1),t.c=O9(BNe,lWt,25,I,15,1),t.b=O9(BNe,lWt,25,I,15,1),l=0,m=new zd(v);m.a<m.c.c.length;){for((p=QH(J1(m),10)).p=l,C=new zd(p.j);C.a<C.c.c.length;){for(s=new zd((w=QH(J1(C),11)).e);s.a<s.c.c.length;)(r=QH(J1(s),17)).c.i!=p&&(x=QH(bEt(r,(HXt(),lme)),19).a,t.a[l]+=x>0?x+1:1);for(o=new zd(w.g);o.a<o.c.c.length;)(r=QH(J1(o),17)).d.i!=p&&(x=QH(bEt(r,(HXt(),lme)),19).a,t.c[l]+=x>0?x+1:1)}0==t.c[l]?Nj(t.e,p):0==t.a[l]&&Nj(t.f,p),++l}for(A=-1,d=1,h=new Mm,t.d=QH(bEt(e,(lqt(),Cfe)),230);I>0;){for(;0!=t.e.b;)B=QH(dj(t.e),10),t.b[B.p]=A--,VRt(t,B),--I;for(;0!=t.f.b;)S=QH(dj(t.f),10),t.b[S.p]=d++,VRt(t,S),--I;if(I>0){for(f=RVt,b=new zd(v);b.a<b.c.c.length;)p=QH(J1(b),10),0==t.b[p.p]&&(y=t.c[p.p]-t.a[p.p])>=f&&(y>f&&(h.c=O9(Lte,Hqt,1,0,5,1),f=y),h.c[h.c.length]=p);u=t.Zf(h),t.b[u.p]=d++,VRt(t,u),--I}}for(_=v.c.length+1,l=0;l<v.c.length;l++)t.b[l]<0&&(t.b[l]+=_);for(g=new zd(v);g.a<g.c.c.length;)for(k=0,E=(T=_2((p=QH(J1(g),10)).j)).length;k<E;++k)for(a=0,c=(i=Y0((w=T[k]).g)).length;a<c;++a)L=(r=i[a]).d.i.p,t.b[p.p]>t.b[L]&&(tHt(r,!0),lct(e,Hhe,(cN(),!0)));t.a=null,t.c=null,t.b=null,bW(t.f),bW(t.e),Hxt(n)}function zXt(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m;for(r=new Mm,s=new Mm,g=e/2,d=t.gc(),i=QH(t.Xb(0),8),m=QH(t.Xb(1),8),zH(r,(u1(0,(A=VIt(i.a,i.b,m.a,m.b,g)).c.length),QH(A.c[0],8))),zH(s,(u1(1,A.c.length),QH(A.c[1],8))),l=2;l<d;l++)p=i,i=m,m=QH(t.Xb(l),8),zH(r,(u1(1,(A=VIt(i.a,i.b,p.a,p.b,g)).c.length),QH(A.c[1],8))),zH(s,(u1(0,A.c.length),QH(A.c[0],8))),zH(r,(u1(0,(A=VIt(i.a,i.b,m.a,m.b,g)).c.length),QH(A.c[0],8))),zH(s,(u1(1,A.c.length),QH(A.c[1],8)));for(zH(r,(u1(1,(A=VIt(m.a,m.b,i.a,i.b,g)).c.length),QH(A.c[1],8))),zH(s,(u1(0,A.c.length),QH(A.c[0],8))),n=new vv,o=new Mm,Nj(n,(u1(0,r.c.length),QH(r.c[0],8))),u=1;u<r.c.length-2;u+=2)u1(u,r.c.length),a=QH(r.c[u],8),f=j_t((u1(u-1,r.c.length),QH(r.c[u-1],8)),a,(u1(u+1,r.c.length),QH(r.c[u+1],8)),(u1(u+2,r.c.length),QH(r.c[u+2],8))),isFinite(f.a)&&isFinite(f.b)?n5(n,f,n.c.b,n.c):n5(n,a,n.c.b,n.c);for(Nj(n,QH(O$(r,r.c.length-1),8)),zH(o,(u1(0,s.c.length),QH(s.c[0],8))),h=1;h<s.c.length-2;h+=2)u1(h,s.c.length),a=QH(s.c[h],8),f=j_t((u1(h-1,s.c.length),QH(s.c[h-1],8)),a,(u1(h+1,s.c.length),QH(s.c[h+1],8)),(u1(h+2,s.c.length),QH(s.c[h+2],8))),isFinite(f.a)&&isFinite(f.b)?o.c[o.c.length]=f:o.c[o.c.length]=a;for(zH(o,QH(O$(s,s.c.length-1),8)),c=o.c.length-1;c>=0;c--)Nj(n,(u1(c,o.c.length),QH(o.c[c],8)));return n}function XXt(t){var e,n,r,i,a,o,s,c,l,u,h,f,d;if(o=!0,h=null,r=null,i=null,e=!1,d=bIe,l=null,a=null,(c=qgt(t,s=0,BIe,SIe))<t.length&&(h1(c,t.length),58==t.charCodeAt(c))&&(h=t.substr(s,c-s),s=c+1),n=null!=h&&OC(vIe,h.toLowerCase())){if(-1==(c=t.lastIndexOf("!/")))throw Um(new Py("no archive separator"));o=!0,r=lD(t,s,++c),s=c}else s>=0&&mR(t.substr(s,2),"//")?(c=qgt(t,s+=2,LIe,IIe),r=t.substr(s,c-s),s=c):null==h||s!=t.length&&(h1(s,t.length),47==t.charCodeAt(s))||(o=!1,-1==(c=bN(t,WCt(35),s))&&(c=t.length),r=t.substr(s,c-s),s=c);if(!n&&s<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(c=qgt(t,s+1,LIe,IIe),(u=t.substr(s+1,c-(s+1))).length>0&&58==lV(u,u.length-1)&&(i=u,s=c)),s<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(++s,e=!0),s<t.length&&(h1(s,t.length),63!=t.charCodeAt(s))&&(h1(s,t.length),35!=t.charCodeAt(s))){for(f=new Mm;s<t.length&&(h1(s,t.length),63!=t.charCodeAt(s))&&(h1(s,t.length),35!=t.charCodeAt(s));)c=qgt(t,s,LIe,IIe),zH(f,t.substr(s,c-s)),(s=c)<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(Vut(t,++s)||(f.c[f.c.length]=""));Vgt(f,d=O9(Vee,cVt,2,f.c.length,6,1))}return s<t.length&&(h1(s,t.length),63==t.charCodeAt(s))&&(-1==(c=uD(t,35,++s))&&(c=t.length),l=t.substr(s,c-s),s=c),s<t.length&&(a=JS(t,++s)),dKt(o,h,r,i,d,l),new rPt(o,h,r,i,e,d,l,a)}function qXt(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I,M;for(L=new Mm,A=new zd(n.b);A.a<A.c.c.length;)for(w=new zd(QH(J1(A),29).a);w.a<w.c.c.length;){for((y=QH(J1(w),10)).p=-1,f=RVt,C=RVt,x=new zd(y.j);x.a<x.c.c.length;){for(a=new zd((E=QH(J1(x),11)).e);a.a<a.c.c.length;)r=QH(J1(a),17),_=QH(bEt(r,(HXt(),hme)),19).a,f=e.Math.max(f,_);for(i=new zd(E.g);i.a<i.c.c.length;)r=QH(J1(i),17),_=QH(bEt(r,(HXt(),hme)),19).a,C=e.Math.max(C,_)}lct(y,Gve,nft(f)),lct(y,zve,nft(C))}for(m=0,d=new zd(n.b);d.a<d.c.c.length;)for(w=new zd(QH(J1(d),29).a);w.a<w.c.c.length;)(y=QH(J1(w),10)).p<0&&((S=new nv).b=m++,wPt(t,y,S),L.c[L.c.length]=S);for(k=sD(L.c.length),h=sD(L.c.length),s=0;s<L.c.length;s++)zH(k,new Mm),zH(h,nft(0));for(mGt(n,L,k,h),I=QH(Vgt(L,O9(Vve,S4t,257,L.c.length,0,1)),840),T=QH(Vgt(k,O9(Fte,ZJt,15,k.c.length,0,1)),192),u=O9(BNe,lWt,25,h.c.length,15,1),c=0;c<u.length;c++)u[c]=(u1(c,h.c.length),QH(h.c[c],19)).a;for(b=0,v=new Mm,l=0;l<I.length;l++)0==u[l]&&zH(v,I[l]);for(g=O9(BNe,lWt,25,I.length,15,1);0!=v.c.length;)for(g[(S=QH(s6(v,0),257)).b]=b++;!T[S.b].dc();)--u[(M=QH(T[S.b].$c(0),257)).b],0==u[M.b]&&(v.c[v.c.length]=M);for(t.a=O9(Vve,S4t,257,I.length,0,1),o=0;o<I.length;o++)for(p=I[o],B=g[o],t.a[B]=p,p.b=B,w=new zd(p.e);w.a<w.c.c.length;)(y=QH(J1(w),10)).p=B;return t.a}function VXt(t){var e,n,r;if(t.d>=t.j)return t.a=-1,void(t.c=1);if(e=lV(t.i,t.d++),t.a=e,1!=t.b){switch(e){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,t.d>=t.j)break;if(63!=lV(t.i,t.d))break;if(++t.d>=t.j)throw Um(new iw(yqt((aM(),g9t))));switch(e=lV(t.i,t.d++)){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(t.d>=t.j)throw Um(new iw(yqt((aM(),g9t))));if(61==(e=lV(t.i,t.d++)))r=16;else{if(33!=e)throw Um(new iw(yqt((aM(),m9t))));r=17}break;case 35:for(;t.d<t.j&&41!=(e=lV(t.i,t.d++)););if(41!=e)throw Um(new iw(yqt((aM(),b9t))));r=21;break;default:if(45==e||97<=e&&e<=122||65<=e&&e<=90){--t.d,r=22;break}if(40==e){r=23;break}throw Um(new iw(yqt((aM(),g9t))))}break;case 92:if(r=10,t.d>=t.j)throw Um(new iw(yqt((aM(),p9t))));t.a=lV(t.i,t.d++);break;default:r=0}t.c=r}else{switch(e){case 92:if(r=10,t.d>=t.j)throw Um(new iw(yqt((aM(),p9t))));t.a=lV(t.i,t.d++);break;case 45:512==(512&t.e)&&t.d<t.j&&91==lV(t.i,t.d)?(++t.d,r=24):r=0;break;case 91:if(512!=(512&t.e)&&t.d<t.j&&58==lV(t.i,t.d)){++t.d,r=20;break}default:(64512&e)==HWt&&t.d<t.j&&56320==(64512&(n=lV(t.i,t.d)))&&(t.a=UWt+(e-HWt<<10)+n-56320,++t.d),r=0}t.c=r}}function WXt(t){var e,n,r,i,a,o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_;if((T=QH(bEt(t,(HXt(),tme)),98))!=(Vkt(),qBe)&&T!=VBe){for(l=new W6((hrt((d=(A=t.b).c.length)+2,OVt),Ztt(rdt(rdt(5,d+2),(d+2)/10|0)))),p=new W6((hrt(d+2,OVt),Ztt(rdt(rdt(5,d+2),(d+2)/10|0)))),zH(l,new Om),zH(l,new Om),zH(p,new Mm),zH(p,new Mm),w=new Mm,e=0;e<d;e++)for(u1(e,A.c.length),n=QH(A.c[e],29),u1(e,l.c.length),k=QH(l.c[e],83),g=new Om,l.c[l.c.length]=g,u1(e,p.c.length),E=QH(p.c[e],15),b=new Mm,p.c[p.c.length]=b,i=new zd(n.a);i.a<i.c.c.length;)if(ift(r=QH(J1(i),10)))w.c[w.c.length]=r;else{for(c=new oG(YO(udt(r).a.Kc(),new u));AIt(c);)ift(x=(o=QH(K5(c),17)).c.i)&&((C=QH(k.xc(bEt(x,(lqt(),dfe))),10))||(C=sSt(t,x),k.zc(bEt(x,dfe),C),E.Fc(C)),CZ(o,QH(O$(C.j,1),11)));for(s=new oG(YO(hdt(r).a.Kc(),new u));AIt(s);)ift(_=(o=QH(K5(s),17)).d.i)&&((m=QH(DX(g,bEt(_,(lqt(),dfe))),10))||(m=sSt(t,_),Xq(g,bEt(_,dfe),m),b.c[b.c.length]=m),kZ(o,QH(O$(m.j,0),11)))}for(h=0;h<p.c.length;h++)if(u1(h,p.c.length),!(v=QH(p.c[h],15)).dc())for(f=null,0==h?(f=new UX(t),IZ(0,A.c.length),kx(A.c,0,f)):h==l.c.length-1?(f=new UX(t),A.c[A.c.length]=f):(u1(h-1,A.c.length),f=QH(A.c[h-1],29)),a=v.Kc();a.Ob();)EZ(QH(a.Pb(),10),f);for(y=new zd(w);y.a<y.c.c.length;)EZ(QH(J1(y),10),null);lct(t,(lqt(),zhe),w)}}function YXt(t,e,n){var r,i,a,o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T;if(SCt(n,"Coffman-Graham Layering",1),0!=e.a.c.length){for(T=QH(bEt(e,(HXt(),mge)),19).a,c=0,o=0,d=new zd(e.a);d.a<d.c.c.length;)for((f=QH(J1(d),10)).p=c++,a=new oG(YO(hdt(f).a.Kc(),new u));AIt(a);)(i=QH(K5(a),17)).p=o++;for(t.d=O9(SNe,JYt,25,c,16,1),t.a=O9(SNe,JYt,25,o,16,1),t.b=O9(BNe,lWt,25,c,15,1),t.e=O9(BNe,lWt,25,c,15,1),t.f=O9(BNe,lWt,25,c,15,1),drt(t.c),rkt(t,e),p=new GG(new Np(t)),w=new zd(e.a);w.a<w.c.c.length;){for(a=new oG(YO(udt(v=QH(J1(w),10)).a.Kc(),new u));AIt(a);)i=QH(K5(a),17),t.a[i.p]||++t.b[v.p];0==t.b[v.p]&&R9(eEt(p,v))}for(s=0;0!=p.b.c.length;)for(v=QH(mtt(p),10),t.f[v.p]=s++,a=new oG(YO(hdt(v).a.Kc(),new u));AIt(a);)i=QH(K5(a),17),t.a[i.p]||(m=i.d.i,--t.b[m.p],YSt(t.c,m,nft(t.f[v.p])),0==t.b[m.p]&&R9(eEt(p,m)));for(A=new GG(new Dp(t)),y=new zd(e.a);y.a<y.c.c.length;){for(a=new oG(YO(hdt(v=QH(J1(y),10)).a.Kc(),new u));AIt(a);)i=QH(K5(a),17),t.a[i.p]||++t.e[v.p];0==t.e[v.p]&&R9(eEt(A,v))}for(r=n1(e,h=new Mm);0!=A.b.c.length;)for(b=QH(mtt(A),10),(r.a.c.length>=T||!Opt(b,r))&&(r=n1(e,h)),EZ(b,r),a=new oG(YO(udt(b).a.Kc(),new u));AIt(a);)i=QH(K5(a),17),t.a[i.p]||(g=i.c.i,--t.e[g.p],0==t.e[g.p]&&R9(eEt(A,g)));for(l=h.c.length-1;l>=0;--l)zH(e.b,(u1(l,h.c.length),QH(h.c[l],29)));e.a.c=O9(Lte,Hqt,1,0,5,1),Hxt(n)}else Hxt(n)}function JXt(t){var e,n,r,i,a,o,s,c;for(t.b=1,VXt(t),e=null,0==t.c&&94==t.a?(VXt(t),dqt(),dqt(),WDt(e=new k0(4),0,ote),o=new k0(4)):(dqt(),dqt(),o=new k0(4)),i=!0;1!=(c=t.c);){if(0==c&&93==t.a&&!i){e&&(XKt(e,o),o=e);break}if(n=t.a,r=!1,10==c)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cjt(o,AQt(n)),r=!0;break;case 105:case 73:case 99:case 67:cjt(o,AQt(n)),(n=-1)<0&&(r=!0);break;case 112:case 80:if(!(s=DSt(t,n)))throw Um(new iw(yqt((aM(),S9t))));cjt(o,s),r=!0;break;default:n=jFt(t)}else if(24==c&&!i){if(e&&(XKt(e,o),o=e),XKt(o,JXt(t)),0!=t.c||93!=t.a)throw Um(new iw(yqt((aM(),O9t))));break}if(VXt(t),!r){if(0==c){if(91==n)throw Um(new iw(yqt((aM(),N9t))));if(93==n)throw Um(new iw(yqt((aM(),D9t))));if(45==n&&!i&&93!=t.a)throw Um(new iw(yqt((aM(),F9t))))}if(0!=t.c||45!=t.a||45==n&&i)WDt(o,n,n);else{if(VXt(t),1==(c=t.c))throw Um(new iw(yqt((aM(),I9t))));if(0==c&&93==t.a)WDt(o,n,n),WDt(o,45,45);else{if(0==c&&93==t.a||24==c)throw Um(new iw(yqt((aM(),F9t))));if(a=t.a,0==c){if(91==a)throw Um(new iw(yqt((aM(),N9t))));if(93==a)throw Um(new iw(yqt((aM(),D9t))));if(45==a)throw Um(new iw(yqt((aM(),F9t))))}else 10==c&&(a=jFt(t));if(VXt(t),n>a)throw Um(new iw(yqt((aM(),Q9t))));WDt(o,n,a)}}}i=!1}if(1==t.c)throw Um(new iw(yqt((aM(),I9t))));return kMt(o),jjt(o),t.b=0,VXt(t),o}function ZXt(t){qMt(t.c,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#decimal"])),qMt(t.d,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#integer"])),qMt(t.e,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#boolean"])),qMt(t.f,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"EBoolean",t9t,"EBoolean:Object"])),qMt(t.i,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#byte"])),qMt(t.g,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#hexBinary"])),qMt(t.j,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"EByte",t9t,"EByte:Object"])),qMt(t.n,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"EChar",t9t,"EChar:Object"])),qMt(t.t,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#double"])),qMt(t.u,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"EDouble",t9t,"EDouble:Object"])),qMt(t.F,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#float"])),qMt(t.G,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"EFloat",t9t,"EFloat:Object"])),qMt(t.I,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#int"])),qMt(t.J,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"EInt",t9t,"EInt:Object"])),qMt(t.N,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#long"])),qMt(t.O,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"ELong",t9t,"ELong:Object"])),qMt(t.Z,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#short"])),qMt(t.$,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"EShort",t9t,"EShort:Object"])),qMt(t._,R8t,xst(jw(Vee,1),cVt,2,6,[Y8t,"http://www.w3.org/2001/XMLSchema#string"]))}function tqt(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B;if(1==t.c.length)return u1(0,t.c.length),QH(t.c[0],135);if(t.c.length<=0)return new E6;for(l=new zd(t);l.a<l.c.c.length;){for(s=QH(J1(l),135),v=0,p=Dqt,g=Dqt,d=RVt,A=RVt,b=cmt(s.b,0);b.b!=b.d.c;)m=QH(h4(b),86),v+=QH(bEt(m,(_It(),Lwe)),19).a,p=e.Math.min(p,m.e.a),g=e.Math.min(g,m.e.b),d=e.Math.max(d,m.e.a+m.f.a),A=e.Math.max(A,m.e.b+m.f.b);lct(s,(_It(),Lwe),nft(v)),lct(s,(j$t(),Jye),new OB(p,g)),lct(s,Yye,new OB(d,A))}for(CW(),mM(t,new mo),jot(w=new E6,(u1(0,t.c.length),QH(t.c[0],94))),f=0,x=0,u=new zd(t);u.a<u.c.c.length;)s=QH(J1(u),135),T=GP(QM(QH(bEt(s,(j$t(),Yye)),8)),QH(bEt(s,Jye),8)),f=e.Math.max(f,T.a),x+=T.a*T.b;for(f=e.Math.max(f,e.Math.sqrt(x)*jy(kF(bEt(w,(_It(),ywe))))),_=0,B=0,h=0,n=k=jy(kF(bEt(w,Owe))),c=new zd(t);c.a<c.c.c.length;)s=QH(J1(c),135),_+(T=GP(QM(QH(bEt(s,(j$t(),Yye)),8)),QH(bEt(s,Jye),8))).a>f&&(_=0,B+=h+k,h=0),TOt(w,s,_,B),n=e.Math.max(n,_+T.a),h=e.Math.max(h,T.b),_+=T.a+k;for(y=new Om,r=new Om,E=new zd(t);E.a<E.c.c.length;)for(i=Hy(TF(bEt(C=QH(J1(E),135),(cqt(),uxe)))),o=(C.q?C.q:lne).vc().Kc();o.Ob();)cz(y,(a=QH(o.Pb(),42)).cd())?jS(QH(a.cd(),146).wg())!==jS(a.dd())&&(i&&cz(r,a.cd())?(LC(),QH(a.cd(),146).tg()):(Xq(y,QH(a.cd(),146),a.dd()),lct(w,QH(a.cd(),146),a.dd()),i&&Xq(r,QH(a.cd(),146),a.dd()))):(Xq(y,QH(a.cd(),146),a.dd()),lct(w,QH(a.cd(),146),a.dd()));return w}function eqt(){eqt=L,FXt(),YSt(pse=new pJ,(yzt(),dSe),fSe),YSt(pse,kSe,fSe),YSt(pse,ASe,fSe),YSt(pse,ySe,fSe),YSt(pse,vSe,fSe),YSt(pse,mSe,fSe),YSt(pse,ySe,dSe),YSt(pse,fSe,cSe),YSt(pse,dSe,cSe),YSt(pse,kSe,cSe),YSt(pse,ASe,cSe),YSt(pse,bSe,cSe),YSt(pse,ySe,cSe),YSt(pse,vSe,cSe),YSt(pse,mSe,cSe),YSt(pse,hSe,cSe),YSt(pse,fSe,wSe),YSt(pse,dSe,wSe),YSt(pse,cSe,wSe),YSt(pse,kSe,wSe),YSt(pse,ASe,wSe),YSt(pse,bSe,wSe),YSt(pse,ySe,wSe),YSt(pse,hSe,wSe),YSt(pse,TSe,wSe),YSt(pse,vSe,wSe),YSt(pse,pSe,wSe),YSt(pse,mSe,wSe),YSt(pse,dSe,kSe),YSt(pse,ASe,kSe),YSt(pse,ySe,kSe),YSt(pse,mSe,kSe),YSt(pse,dSe,ASe),YSt(pse,kSe,ASe),YSt(pse,ySe,ASe),YSt(pse,ASe,ASe),YSt(pse,vSe,ASe),YSt(pse,fSe,lSe),YSt(pse,dSe,lSe),YSt(pse,cSe,lSe),YSt(pse,wSe,lSe),YSt(pse,kSe,lSe),YSt(pse,ASe,lSe),YSt(pse,bSe,lSe),YSt(pse,ySe,lSe),YSt(pse,TSe,lSe),YSt(pse,hSe,lSe),YSt(pse,mSe,lSe),YSt(pse,vSe,lSe),YSt(pse,gSe,lSe),YSt(pse,fSe,TSe),YSt(pse,dSe,TSe),YSt(pse,cSe,TSe),YSt(pse,kSe,TSe),YSt(pse,ASe,TSe),YSt(pse,bSe,TSe),YSt(pse,ySe,TSe),YSt(pse,hSe,TSe),YSt(pse,mSe,TSe),YSt(pse,pSe,TSe),YSt(pse,gSe,TSe),YSt(pse,dSe,hSe),YSt(pse,kSe,hSe),YSt(pse,ASe,hSe),YSt(pse,ySe,hSe),YSt(pse,TSe,hSe),YSt(pse,mSe,hSe),YSt(pse,vSe,hSe),YSt(pse,fSe,uSe),YSt(pse,dSe,uSe),YSt(pse,cSe,uSe),YSt(pse,kSe,uSe),YSt(pse,ASe,uSe),YSt(pse,bSe,uSe),YSt(pse,ySe,uSe),YSt(pse,hSe,uSe),YSt(pse,mSe,uSe),YSt(pse,dSe,vSe),YSt(pse,cSe,vSe),YSt(pse,wSe,vSe),YSt(pse,ASe,vSe),YSt(pse,fSe,pSe),YSt(pse,dSe,pSe),YSt(pse,wSe,pSe),YSt(pse,kSe,pSe),YSt(pse,ASe,pSe),YSt(pse,bSe,pSe),YSt(pse,ySe,pSe),YSt(pse,ySe,gSe),YSt(pse,ASe,gSe),YSt(pse,hSe,fSe),YSt(pse,hSe,kSe),YSt(pse,hSe,cSe),YSt(pse,bSe,fSe),YSt(pse,bSe,dSe),YSt(pse,bSe,wSe)}function nqt(t,e){switch(t.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new $W(t.b,t.a,e,t.c);case 1:return new IO(t.a,e,LAt(e.Tg(),t.c));case 43:return new OO(t.a,e,LAt(e.Tg(),t.c));case 3:return new LO(t.a,e,LAt(e.Tg(),t.c));case 45:return new MO(t.a,e,LAt(e.Tg(),t.c));case 41:return new b8(QH(Bwt(t.c),26),t.a,e,LAt(e.Tg(),t.c));case 50:return new vrt(QH(Bwt(t.c),26),t.a,e,LAt(e.Tg(),t.c));case 5:return new eR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 47:return new nR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 7:return new tz(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 49:return new tR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 9:return new RO(t.a,e,LAt(e.Tg(),t.c));case 11:return new PO(t.a,e,LAt(e.Tg(),t.c));case 13:return new FO(t.a,e,LAt(e.Tg(),t.c));case 15:return new kj(t.a,e,LAt(e.Tg(),t.c));case 17:return new QO(t.a,e,LAt(e.Tg(),t.c));case 19:return new DO(t.a,e,LAt(e.Tg(),t.c));case 21:return new NO(t.a,e,LAt(e.Tg(),t.c));case 23:return new bj(t.a,e,LAt(e.Tg(),t.c));case 25:return new lR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 27:return new cR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 29:return new oR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 31:return new rR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 33:return new sR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 35:return new aR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 37:return new iR(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 39:return new ez(t.a,e,LAt(e.Tg(),t.c),t.d.n);case 40:return new Tat(e,LAt(e.Tg(),t.c));default:throw Um(new dy("Unknown feature style: "+t.e))}}function rqt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;switch(SCt(n,"Brandes & Koepf node placement",1),t.a=e,t.c=QUt(e),r=QH(bEt(e,(HXt(),Mge)),274),d=Hy(TF(bEt(e,Oge))),t.d=r==(UTt(),que)&&!d||r==Gue,Y$t(t,e),y=null,w=null,g=null,m=null,hrt(4,LVt),p=new W6(4),QH(bEt(e,Mge),274).g){case 3:g=new jRt(e,t.c.d,(oZ(),nye),(AJ(),Jve)),p.c[p.c.length]=g;break;case 1:m=new jRt(e,t.c.d,(oZ(),rye),(AJ(),Jve)),p.c[p.c.length]=m;break;case 4:y=new jRt(e,t.c.d,(oZ(),nye),(AJ(),Zve)),p.c[p.c.length]=y;break;case 2:w=new jRt(e,t.c.d,(oZ(),rye),(AJ(),Zve)),p.c[p.c.length]=w;break;default:g=new jRt(e,t.c.d,(oZ(),nye),(AJ(),Jve)),m=new jRt(e,t.c.d,rye,Jve),y=new jRt(e,t.c.d,nye,Zve),w=new jRt(e,t.c.d,rye,Zve),p.c[p.c.length]=y,p.c[p.c.length]=w,p.c[p.c.length]=g,p.c[p.c.length]=m}for(i=new eB(e,t.c),s=new zd(p);s.a<s.c.c.length;)xXt(i,a=QH(J1(s),180),t.b),XHt(a);for(f=new Yyt(e,t.c),c=new zd(p);c.a<c.c.c.length;)HGt(f,a=QH(J1(c),180));if(n.n)for(l=new zd(p);l.a<l.c.c.length;)Bj(n,(a=QH(J1(l),180))+" size is "+mMt(a));if(h=null,t.d&&BHt(e,u=Qzt(t,p,t.c.d),n)&&(h=u),!h)for(l=new zd(p);l.a<l.c.c.length;)BHt(e,a=QH(J1(l),180),n)&&(!h||mMt(h)>mMt(a))&&(h=a);for(!h&&(u1(0,p.c.length),h=QH(p.c[0],180)),A=new zd(e.b);A.a<A.c.c.length;)for(v=new zd(QH(J1(A),29).a);v.a<v.c.c.length;)(b=QH(J1(v),10)).n.b=jy(h.p[b.p])+jy(h.d[b.p]);for(n.n&&(Bj(n,"Chosen node placement: "+h),Bj(n,"Blocks: "+NLt(h)),Bj(n,"Classes: "+GIt(h,n)),Bj(n,"Marked edges: "+t.b)),o=new zd(p);o.a<o.c.c.length;)(a=QH(J1(o),180)).g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;Kit(t.c),t.b.a.$b(),Hxt(n)}function iqt(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C;for(o=new VC,b=QH(bEt(n,(HXt(),Kpe)),103),A=0,Qit(o,(!e.a&&(e.a=new tz($Le,e,10,11)),e.a));0!=o.b;)l=QH(0==o.b?null:(ED(0!=o.b),Let(o,o.a.a)),33),(jS(JIt(e,Ipe))!==jS((bct(),Mbe))||jS(JIt(e,jpe))===jS((qbt(),wue))||jS(JIt(e,jpe))===jS((qbt(),vue))||Hy(TF(JIt(e,Ope)))||jS(JIt(e,xpe))!==jS((Uht(),fse)))&&!Hy(TF(JIt(l,Lpe)))&&Wmt(l,(lqt(),ffe),nft(A++)),!Hy(TF(JIt(l,jge)))&&(h=0!=(!l.a&&(l.a=new tz($Le,l,10,11)),l.a).i,d=yCt(l),f=jS(JIt(l,sge))===jS((oht(),pBe)),g=null,(C=!E9(l,(cqt(),txe))||mR(CF(JIt(l,txe)),d1t))&&f&&(h||d)&&(lct(g=yUt(l),Kpe,b),ID(g,Ame)&&ky(new oAt(jy(kF(bEt(g,Ame)))),g),0!=QH(JIt(l,Rge),174).gc()&&(u=g,WC(new D$(null,(!l.c&&(l.c=new tz(KLe,l,9,9)),new f1(l.c,16))),new GA(u)),bFt(l,g))),v=n,(y=QH(DX(t.a,WJ(l)),10))&&(v=y.e),p=dGt(t,l,v),g&&(p.e=g,g.e=p,Qit(o,(!l.a&&(l.a=new tz($Le,l,10,11)),l.a))));for(A=0,n5(o,e,o.c.b,o.c);0!=o.b;){for(c=new SO((!(a=QH(0==o.b?null:(ED(0!=o.b),Let(o,o.a.a)),33)).b&&(a.b=new tz(FLe,a,12,3)),a.b));c.e!=c.i.gc();)tRt(s=QH(ymt(c),79)),(jS(JIt(e,Ipe))!==jS((bct(),Mbe))||jS(JIt(e,jpe))===jS((qbt(),wue))||jS(JIt(e,jpe))===jS((qbt(),vue))||Hy(TF(JIt(e,Ope)))||jS(JIt(e,xpe))!==jS((Uht(),fse)))&&Wmt(s,(lqt(),ffe),nft(A++)),T=xCt(QH(Xet((!s.b&&(s.b=new cR(DLe,s,4,7)),s.b),0),82)),k=xCt(QH(Xet((!s.c&&(s.c=new cR(DLe,s,5,8)),s.c),0),82)),Hy(TF(JIt(s,jge)))||Hy(TF(JIt(T,jge)))||Hy(TF(JIt(k,jge)))||(m=a,VSt(s)&&Hy(TF(JIt(T,fge)))&&Hy(TF(JIt(s,dge)))||_et(k,T)?m=T:_et(T,k)&&(m=k),v=n,(y=QH(DX(t.a,m),10))&&(v=y.e),lct(oqt(t,s,m,v),(lqt(),Rhe),MDt(t,s,e,n)));if(f=jS(JIt(a,sge))===jS((oht(),pBe)))for(i=new SO((!a.a&&(a.a=new tz($Le,a,10,11)),a.a));i.e!=i.i.gc();)C=!E9(r=QH(ymt(i),33),(cqt(),txe))||mR(CF(JIt(r,txe)),d1t),w=jS(JIt(r,sge))===jS(pBe),C&&w&&n5(o,r,o.c.b,o.c)}}function aqt(t,e,n,r,i,a){var o,s,c,l,u,h,f;switch(e){case 71:o=r.q.getFullYear()-cWt>=-1900?1:0,oL(t,n>=4?xst(jw(Vee,1),cVt,2,6,[uWt,hWt])[o]:xst(jw(Vee,1),cVt,2,6,["BC","AD"])[o]);break;case 121:smt(t,n,r);break;case 77:zRt(t,n,r);break;case 107:wtt(t,0==(s=i.q.getHours())?24:s,n);break;case 83:FOt(t,n,i);break;case 69:c=r.q.getDay(),oL(t,5==n?xst(jw(Vee,1),cVt,2,6,["S","M","T","W","T","F","S"])[c]:4==n?xst(jw(Vee,1),cVt,2,6,[fWt,dWt,AWt,pWt,gWt,mWt,bWt])[c]:xst(jw(Vee,1),cVt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[c]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?oL(t,xst(jw(Vee,1),cVt,2,6,["AM","PM"])[1]):oL(t,xst(jw(Vee,1),cVt,2,6,["AM","PM"])[0]);break;case 104:wtt(t,0==(l=i.q.getHours()%12)?12:l,n);break;case 75:wtt(t,i.q.getHours()%12,n);break;case 72:wtt(t,i.q.getHours(),n);break;case 99:u=r.q.getDay(),5==n?oL(t,xst(jw(Vee,1),cVt,2,6,["S","M","T","W","T","F","S"])[u]):4==n?oL(t,xst(jw(Vee,1),cVt,2,6,[fWt,dWt,AWt,pWt,gWt,mWt,bWt])[u]):3==n?oL(t,xst(jw(Vee,1),cVt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[u]):wtt(t,u,1);break;case 76:h=r.q.getMonth(),5==n?oL(t,xst(jw(Vee,1),cVt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[h]):4==n?oL(t,xst(jw(Vee,1),cVt,2,6,[WVt,YVt,JVt,ZVt,tWt,eWt,nWt,rWt,iWt,aWt,oWt,sWt])[h]):3==n?oL(t,xst(jw(Vee,1),cVt,2,6,["Jan","Feb","Mar","Apr",tWt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[h]):wtt(t,h+1,n);break;case 81:f=r.q.getMonth()/3|0,oL(t,n<4?xst(jw(Vee,1),cVt,2,6,["Q1","Q2","Q3","Q4"])[f]:xst(jw(Vee,1),cVt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[f]);break;case 100:wtt(t,r.q.getDate(),n);break;case 109:wtt(t,i.q.getMinutes(),n);break;case 115:wtt(t,i.q.getSeconds(),n);break;case 122:oL(t,n<4?a.c[0]:a.c[1]);break;case 118:oL(t,a.b);break;case 90:oL(t,n<3?ZBt(a):3==n?dSt(a):ASt(a.a));break;default:return!1}return!0}function oqt(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B;if(tRt(e),c=QH(Xet((!e.b&&(e.b=new cR(DLe,e,4,7)),e.b),0),82),u=QH(Xet((!e.c&&(e.c=new cR(DLe,e,5,8)),e.c),0),82),s=xCt(c),l=xCt(u),o=0==(!e.a&&(e.a=new tz(PLe,e,6,6)),e.a).i?null:QH(Xet((!e.a&&(e.a=new tz(PLe,e,6,6)),e.a),0),202),T=QH(DX(t.a,s),10),x=QH(DX(t.a,l),10),k=null,_=null,rO(c,186)&&(rO(w=QH(DX(t.a,c),299),11)?k=QH(w,11):rO(w,10)&&(T=QH(w,10),k=QH(O$(T.j,0),11))),rO(u,186)&&(rO(E=QH(DX(t.a,u),299),11)?_=QH(E,11):rO(E,10)&&(x=QH(E,10),_=QH(O$(x.j,0),11))),!T||!x)throw Um(new rw("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(jot(p=new fY,e),lct(p,(lqt(),dfe),e),lct(p,(HXt(),gge),null),d=QH(bEt(r,Yhe),21),T==x&&d.Fc((fFt(),ghe)),k||(art(),y=Hbe,C=null,o&&gI(QH(bEt(T,tme),98))&&(V4(C=new OB(o.j,o.k),GJ(e)),Z3(C,n),_et(l,s)&&(y=Ube,KP(C,T.n))),k=Ajt(T,C,y,r)),_||(art(),y=Ube,B=null,o&&gI(QH(bEt(x,tme),98))&&(V4(B=new OB(o.b,o.c),GJ(e)),Z3(B,n)),_=Ajt(x,B,y,gq(x))),CZ(p,k),kZ(p,_),(k.e.c.length>1||k.g.c.length>1||_.e.c.length>1||_.g.c.length>1)&&d.Fc((fFt(),hhe)),f=new SO((!e.n&&(e.n=new tz(jLe,e,1,7)),e.n));f.e!=f.i.gc();)if(!Hy(TF(JIt(h=QH(ymt(f),137),jge)))&&h.a)switch(g=Hut(h),zH(p.b,g),QH(bEt(g,Vpe),272).g){case 1:case 2:d.Fc((fFt(),lhe));break;case 0:d.Fc((fFt(),she)),lct(g,Vpe,(Fet(),$_e))}if(a=QH(bEt(r,Hpe),314),m=QH(bEt(r,Pge),315),i=a==(Srt(),sue)||m==(Obt(),pbe),o&&0!=(!o.a&&(o.a=new LO(MLe,o,5)),o.a).i&&i){for(b=jxt(o),A=new vv,v=cmt(b,0);v.b!=v.d.c;)Nj(A,new fI(QH(h4(v),8)));lct(p,Afe,A)}return p}function sqt(t){t.gb||(t.gb=!0,t.b=yot(t,0),Fit(t.b,18),Pit(t.b,19),t.a=yot(t,1),Fit(t.a,1),Pit(t.a,2),Pit(t.a,3),Pit(t.a,4),Pit(t.a,5),t.o=yot(t,2),Fit(t.o,8),Fit(t.o,9),Pit(t.o,10),Pit(t.o,11),Pit(t.o,12),Pit(t.o,13),Pit(t.o,14),Pit(t.o,15),Pit(t.o,16),Pit(t.o,17),Pit(t.o,18),Pit(t.o,19),Pit(t.o,20),Pit(t.o,21),Pit(t.o,22),Pit(t.o,23),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),t.p=yot(t,3),Fit(t.p,2),Fit(t.p,3),Fit(t.p,4),Fit(t.p,5),Pit(t.p,6),Pit(t.p,7),oet(t.p),oet(t.p),t.q=yot(t,4),Fit(t.q,8),t.v=yot(t,5),Pit(t.v,9),oet(t.v),oet(t.v),oet(t.v),t.w=yot(t,6),Fit(t.w,2),Fit(t.w,3),Fit(t.w,4),Pit(t.w,5),t.B=yot(t,7),Pit(t.B,1),oet(t.B),oet(t.B),oet(t.B),t.Q=yot(t,8),Pit(t.Q,0),oet(t.Q),t.R=yot(t,9),Fit(t.R,1),t.S=yot(t,10),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),t.T=yot(t,11),Pit(t.T,10),Pit(t.T,11),Pit(t.T,12),Pit(t.T,13),Pit(t.T,14),oet(t.T),oet(t.T),t.U=yot(t,12),Fit(t.U,2),Fit(t.U,3),Pit(t.U,4),Pit(t.U,5),Pit(t.U,6),Pit(t.U,7),oet(t.U),t.V=yot(t,13),Pit(t.V,10),t.W=yot(t,14),Fit(t.W,18),Fit(t.W,19),Fit(t.W,20),Pit(t.W,21),Pit(t.W,22),Pit(t.W,23),t.bb=yot(t,15),Fit(t.bb,10),Fit(t.bb,11),Fit(t.bb,12),Fit(t.bb,13),Fit(t.bb,14),Fit(t.bb,15),Fit(t.bb,16),Pit(t.bb,17),oet(t.bb),oet(t.bb),t.eb=yot(t,16),Fit(t.eb,2),Fit(t.eb,3),Fit(t.eb,4),Fit(t.eb,5),Fit(t.eb,6),Fit(t.eb,7),Pit(t.eb,8),Pit(t.eb,9),t.ab=yot(t,17),Fit(t.ab,0),Fit(t.ab,1),t.H=yot(t,18),Pit(t.H,0),Pit(t.H,1),Pit(t.H,2),Pit(t.H,3),Pit(t.H,4),Pit(t.H,5),oet(t.H),t.db=yot(t,19),Pit(t.db,2),t.c=wot(t,20),t.d=wot(t,21),t.e=wot(t,22),t.f=wot(t,23),t.i=wot(t,24),t.g=wot(t,25),t.j=wot(t,26),t.k=wot(t,27),t.n=wot(t,28),t.r=wot(t,29),t.s=wot(t,30),t.t=wot(t,31),t.u=wot(t,32),t.fb=wot(t,33),t.A=wot(t,34),t.C=wot(t,35),t.D=wot(t,36),t.F=wot(t,37),t.G=wot(t,38),t.I=wot(t,39),t.J=wot(t,40),t.L=wot(t,41),t.M=wot(t,42),t.N=wot(t,43),t.O=wot(t,44),t.P=wot(t,45),t.X=wot(t,46),t.Y=wot(t,47),t.Z=wot(t,48),t.$=wot(t,49),t._=wot(t,50),t.cb=wot(t,51),t.K=wot(t,52))}function cqt(){var t,e;cqt=L,txe=new am(d5t),m_e=new am(A5t),dbt(),exe=new LL(X2t,nxe=xEe),new Lm,rxe=new LL(qJt,null),ixe=new am(p5t),dkt(),lxe=wK(YEe,xst(jw(H_e,1),IVt,291,0,[XEe])),cxe=new LL(o4t,lxe),uxe=new LL(z2t,(cN(),!1)),Qht(),hxe=new LL(Y2t,fxe=Q_e),Cdt(),gxe=new LL(v2t,mxe=Y_e),yxe=new LL(L3t,!1),oht(),wxe=new LL(A2t,Txe=gBe),zxe=new zI(12),Gxe=new LL(VJt,zxe),xxe=new LL(wZt,!1),_xe=new LL(b4t,!1),Kxe=new LL(CZt,!1),Vkt(),a_e=new LL(TZt,o_e=VBe),A_e=new am(p4t),p_e=new am(gZt),g_e=new am(vZt),v_e=new am(yZt),Sxe=new vv,Bxe=new LL(s4t,Sxe),sxe=new LL(u4t,!1),kxe=new LL(h4t,!1),new am(g5t),Ixe=new uv,Lxe=new LL(g4t,Ixe),$xe=new LL(K2t,!1),new Lm,b_e=new LL(m5t,1),new LL(b5t,!0),nft(0),new LL(v5t,nft(100)),new LL(y5t,!1),nft(0),new LL(w5t,nft(4e3)),nft(0),new LL(T5t,nft(400)),new LL(k5t,!1),new LL(C5t,!1),new LL(E5t,!0),new LL(x5t,!1),QAt(),axe=new LL(f5t,oxe=tLe),y_e=new LL(M2t,10),w_e=new LL(O2t,10),T_e=new LL(zJt,20),k_e=new LL(N2t,10),C_e=new LL(bZt,2),E_e=new LL(D2t,10),__e=new LL(F2t,0),B_e=new LL(Q2t,5),S_e=new LL(P2t,1),L_e=new LL(R2t,1),I_e=new LL(mZt,20),M_e=new LL(U2t,10),D_e=new LL(H2t,10),x_e=new am(j2t),N_e=new uI,O_e=new LL(m4t,N_e),Vxe=new am(A4t),Xxe=new LL(d4t,qxe=!1),Oxe=new zI(5),Mxe=new LL(J2t,Oxe),ZIt(),e=QH(XT(jBe),9),Dxe=new VR(e,QH(CP(e,e.length),9),0),Nxe=new LL(_Zt,Dxe),imt(),Yxe=new LL(e4t,Jxe=QBe),t_e=new am(n4t),e_e=new am(r4t),n_e=new am(i4t),Zxe=new am(a4t),t=QH(XT(VSe),9),Pxe=new VR(t,QH(CP(t,t.length),9),0),Fxe=new LL(xZt,Pxe),jxe=Zft((ZRt(),jSe)),Hxe=new LL(EZt,jxe),Uxe=new OB(0,0),Qxe=new LL(UZt,Uxe),Rxe=new LL(W2t,!1),Fet(),Axe=new LL(c4t,pxe=$_e),dxe=new LL(kZt,!1),new am(_5t),nft(1),new LL(B5t,null),r_e=new am(f4t),s_e=new am(l4t),yzt(),f_e=new LL(G2t,d_e=ESe),i_e=new am($2t),hSt(),u_e=Zft(nSe),l_e=new LL(BZt,u_e),c_e=new LL(Z2t,!1),h_e=new LL(t4t,!0),Cxe=new LL(q2t,!1),Exe=new LL(V2t,!1),bxe=new LL(XJt,1),ZCt(),new LL(S5t,vxe=iBe),Wxe=!0}function lqt(){var t,e;lqt=L,dfe=new am(SZt),Rhe=new am("coordinateOrigin"),kfe=new am("processors"),Phe=new eP("compoundNode",(cN(),!1)),tfe=new eP("insideConnections",!1),Afe=new am("originalBendpoints"),pfe=new am("originalDummyNodePosition"),gfe=new am("originalLabelEdge"),Efe=new am("representedLabels"),$he=new am("endLabels"),Khe=new am("endLabel.origin"),afe=new eP("labelSide",(zyt(),kBe)),hfe=new eP("maxEdgeThickness",0),xfe=new eP("reversed",!1),Cfe=new am(LZt),cfe=new eP("longEdgeSource",null),lfe=new eP("longEdgeTarget",null),sfe=new eP("longEdgeHasLabelDummies",!1),ofe=new eP("longEdgeBeforeLabelDummy",!1),jhe=new eP("edgeConstraint",(Yst(),Sue)),nfe=new am("inLayerLayoutUnit"),efe=new eP("inLayerConstraint",($7(),Ehe)),rfe=new eP("inLayerSuccessorConstraint",new Mm),ife=new eP("inLayerSuccessorConstraintBetweenNonDummies",!1),wfe=new am("portDummy"),Qhe=new eP("crossingHint",nft(0)),Yhe=new eP("graphProperties",new VR(e=QH(XT(The),9),QH(CP(e,e.length),9),0)),qhe=new eP("externalPortSide",(yzt(),ESe)),Vhe=new eP("externalPortSize",new jT),zhe=new am("externalPortReplacedDummies"),Xhe=new am("externalPortReplacedDummy"),Ghe=new eP("externalPortConnections",new VR(t=QH(XT(RSe),9),QH(CP(t,t.length),9),0)),Tfe=new eP(AJt,0),Ohe=new am("barycenterAssociates"),Ffe=new am("TopSideComments"),Nhe=new am("BottomSideComments"),Fhe=new am("CommentConnectionPort"),Zhe=new eP("inputCollect",!1),vfe=new eP("outputCollect",!1),Hhe=new eP("cyclic",!1),Uhe=new am("crossHierarchyMap"),Dfe=new am("targetOffset"),new eP("splineLabelSize",new jT),Sfe=new am("spacings"),yfe=new eP("partitionConstraint",!1),Dhe=new am("breakingPoint.info"),Ofe=new am("splines.survivingEdge"),Mfe=new am("splines.route.start"),Lfe=new am("splines.edgeChain"),bfe=new am("originalPortConstraints"),Bfe=new am("selfLoopHolder"),Ife=new am("splines.nsPortY"),ffe=new am("modelOrder"),ufe=new am("longEdgeTargetNode"),Whe=new eP(K1t,!1),_fe=new eP(K1t,!1),Jhe=new am("layerConstraints.hiddenNodes"),mfe=new am("layerConstraints.opposidePort"),Nfe=new am("targetNode.modelOrder")}function uqt(){uqt=L,Ptt(),Cde=new LL(G1t,Ede=Cue),jde=new LL(z1t,(cN(),!1)),$2(),Xde=new LL(X1t,qde=She),fAe=new LL(q1t,!1),dAe=new LL(V1t,!0),Kfe=new LL(W1t,!1),K7(),MAe=new LL(Y1t,OAe=Fbe),nft(1),HAe=new LL(J1t,nft(7)),jAe=new LL(Z1t,!1),$de=new LL(t0t,!1),qbt(),Tde=new LL(e0t,kde=bue),kCt(),uAe=new LL(n0t,hAe=Zme),kdt(),tAe=new LL(r0t,eAe=Hfe),nft(-1),Zde=new LL(i0t,nft(-1)),nft(-1),nAe=new LL(a0t,nft(-1)),nft(-1),rAe=new LL(o0t,nft(4)),nft(-1),aAe=new LL(s0t,nft(2)),cNt(),cAe=new LL(c0t,lAe=_be),nft(0),sAe=new LL(l0t,nft(0)),Yde=new LL(u0t,nft(Dqt)),Srt(),yde=new LL(h0t,wde=cue),ade=new LL(f0t,!1),Ade=new LL(d0t,.1),bde=new LL(A0t,!1),nft(-1),gde=new LL(p0t,nft(-1)),nft(-1),mde=new LL(g0t,nft(-1)),nft(0),ode=new LL(m0t,nft(40)),Pot(),hde=new LL(b0t,fde=whe),sde=new LL(v0t,cde=vhe),Obt(),LAe=new LL(y0t,IAe=Abe),yAe=new am(w0t),A7(),AAe=new LL(T0t,pAe=Hue),UTt(),mAe=new LL(k0t,bAe=que),new Lm,kAe=new LL(C0t,.3),EAe=new am(E0t),fbt(),xAe=new LL(x0t,_Ae=ube),Hat(),Mde=new LL(_0t,Ode=zbe),S6(),Nde=new LL(B0t,Dde=Ybe),Glt(),Fde=new LL(S0t,Pde=nve),Qde=new LL(L0t,.2),Lde=new LL(I0t,2),PAe=new LL(M0t,null),QAe=new LL(O0t,10),RAe=new LL(N0t,10),UAe=new LL(D0t,20),nft(0),NAe=new LL(F0t,nft(0)),nft(0),DAe=new LL(P0t,nft(0)),nft(0),FAe=new LL(R0t,nft(0)),Gfe=new LL(Q0t,!1),YEt(),qfe=new LL(U0t,Vfe=rhe),X9(),zfe=new LL(H0t,Xfe=iue),Gde=new LL(j0t,!1),nft(0),Kde=new LL($0t,nft(16)),nft(0),zde=new LL(K0t,nft(5)),Ist(),upe=new LL(G0t,hpe=hve),$Ae=new LL(z0t,10),zAe=new LL(X0t,1),ort(),tpe=new LL(q0t,epe=Aue),VAe=new am(V0t),JAe=nft(1),nft(0),YAe=new LL(W0t,JAe),Aat(),ppe=new LL(Y0t,gpe=ave),fpe=new am(J0t),ope=new LL(Z0t,!0),ipe=new LL(t2t,2),cpe=new LL(e2t,!0),pxt(),Bde=new LL(n2t,Sde=Pue),I_t(),xde=new LL(r2t,_de=Yle),bct(),rde=new LL(i2t,ide=Mbe),nde=new LL(a2t,!1),Uht(),Wfe=new LL(o2t,Yfe=fse),Cut(),tde=new LL(s2t,ede=rbe),Jfe=new LL(c2t,0),Zfe=new LL(l2t,0),Wde=yue,Vde=sue,iAe=Jme,oAe=Jme,Jde=Vme,oht(),pde=pBe,vde=cue,dde=cue,lde=cue,ude=pBe,wAe=mbe,TAe=Abe,gAe=Abe,vAe=Abe,CAe=gbe,SAe=mbe,BAe=mbe,Cdt(),Rde=W_e,Ude=W_e,Hde=nve,Ide=V_e,KAe=fve,GAe=uve,XAe=fve,qAe=uve,npe=fve,rpe=uve,WAe=due,ZAe=Aue,mpe=fve,bpe=uve,dpe=fve,Ape=uve,spe=uve,ape=uve,lpe=uve}function hqt(){hqt=L,nce=new Jx("DIRECTION_PREPROCESSOR",0),Zse=new Jx("COMMENT_PREPROCESSOR",1),rce=new Jx("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),vce=new Jx("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),Rce=new Jx("PARTITION_PREPROCESSOR",4),kce=new Jx("LABEL_DUMMY_INSERTER",5),Kce=new Jx("SELF_LOOP_PREPROCESSOR",6),Bce=new Jx("LAYER_CONSTRAINT_PREPROCESSOR",7),Fce=new Jx("PARTITION_MIDPROCESSOR",8),Ace=new Jx("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Mce=new Jx("NODE_PROMOTION",10),_ce=new Jx("LAYER_CONSTRAINT_POSTPROCESSOR",11),Pce=new Jx("PARTITION_POSTPROCESSOR",12),uce=new Jx("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),zce=new Jx("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Xse=new Jx("BREAKING_POINT_INSERTER",15),Ice=new Jx("LONG_EDGE_SPLITTER",16),Uce=new Jx("PORT_SIDE_PROCESSOR",17),yce=new Jx("INVERTED_PORT_PROCESSOR",18),Qce=new Jx("PORT_LIST_SORTER",19),qce=new Jx("SORT_BY_INPUT_ORDER_OF_MODEL",20),Nce=new Jx("NORTH_SOUTH_PORT_PREPROCESSOR",21),qse=new Jx("BREAKING_POINT_PROCESSOR",22),Dce=new Jx(T1t,23),Vce=new Jx(k1t,24),jce=new Jx("SELF_LOOP_PORT_RESTORER",25),Xce=new Jx("SINGLE_EDGE_GRAPH_WRAPPER",26),wce=new Jx("IN_LAYER_CONSTRAINT_PROCESSOR",27),sce=new Jx("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),Tce=new Jx("LABEL_AND_NODE_SIZE_PROCESSOR",29),bce=new Jx("INNERMOST_NODE_MARGIN_CALCULATOR",30),Gce=new Jx("SELF_LOOP_ROUTER",31),Yse=new Jx("COMMENT_NODE_MARGIN_CALCULATOR",32),ace=new Jx("END_LABEL_PREPROCESSOR",33),Ece=new Jx("LABEL_DUMMY_SWITCHER",34),Wse=new Jx("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),xce=new Jx("LABEL_SIDE_SELECTOR",36),gce=new Jx("HYPEREDGE_DUMMY_MERGER",37),hce=new Jx("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Sce=new Jx("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),dce=new Jx("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),tce=new Jx("CONSTRAINTS_POSTPROCESSOR",41),Jse=new Jx("COMMENT_POSTPROCESSOR",42),mce=new Jx("HYPERNODE_PROCESSOR",43),fce=new Jx("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),Lce=new Jx("LONG_EDGE_JOINER",45),$ce=new Jx("SELF_LOOP_POSTPROCESSOR",46),Vse=new Jx("BREAKING_POINT_REMOVER",47),Oce=new Jx("NORTH_SOUTH_PORT_POSTPROCESSOR",48),pce=new Jx("HORIZONTAL_COMPACTOR",49),Cce=new Jx("LABEL_DUMMY_REMOVER",50),cce=new Jx("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),oce=new Jx("END_LABEL_SORTER",52),Hce=new Jx("REVERSED_EDGE_RESTORER",53),ice=new Jx("END_LABEL_POSTPROCESSOR",54),lce=new Jx("HIERARCHICAL_NODE_RESIZER",55),ece=new Jx("DIRECTION_POSTPROCESSOR",56)}function fqt(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C,E,x,_,B,S,L,I,M,O,N,D,F,P,R,Q,U,H,j,$,K,G,z,X,q,V,W,Y,J,Z,tt,et,nt,rt,it,at,ot,st;for(J=0,O=0,F=(L=n).length;O<F;++O)for(K=new zd((B=L[O]).j);K.a<K.c.c.length;){for(z=0,c=new zd(($=QH(J1(K),11)).g);c.a<c.c.c.length;)s=QH(J1(c),17),B.c!=s.d.i.c&&++z;z>0&&(t.a[$.p]=J++)}for(rt=0,N=0,P=(I=r).length;N<P;++N){for(R=0,K=new zd((B=I[N]).j);K.a<K.c.c.length&&($=QH(J1(K),11)).j==(yzt(),sSe);)for(c=new zd($.e);c.a<c.c.c.length;)if(s=QH(J1(c),17),B.c!=s.c.i.c){++R;break}for(U=0,X=new k2(B.j,B.j.c.length);X.b>0;){for(ED(X.b>0),z=0,c=new zd(($=QH(X.a.Xb(X.c=--X.b),11)).e);c.a<c.c.c.length;)s=QH(J1(c),17),B.c!=s.c.i.c&&++z;z>0&&($.j==(yzt(),sSe)?(t.a[$.p]=rt,++rt):(t.a[$.p]=rt+R+U,++U))}rt+=U}for(G=new Om,p=new lI,M=0,D=(S=n).length;M<D;++M)for(et=new zd((B=S[M]).j);et.a<et.c.c.length;)for(c=new zd((tt=QH(J1(et),11)).g);c.a<c.c.c.length;)if(at=(s=QH(J1(c),17)).d,B.c!=at.i.c)if(Z=QH(HS(SY(G.f,tt)),467),it=QH(HS(SY(G.f,at)),467),Z||it)if(Z)if(it)if(Z==it)zH(Z.a,s);else{for(zH(Z.a,s),j=new zd(it.d);j.a<j.c.c.length;)H=QH(J1(j),11),wBt(G.f,H,Z);pst(Z.a,it.a),pst(Z.d,it.d),p.a.Bc(it)}else zH(Z.a,s),zH(Z.d,at),wBt(G.f,at,Z);else zH(it.a,s),zH(it.d,tt),wBt(G.f,tt,it);else A=new NP,p.a.zc(A,p),zH(A.a,s),zH(A.d,tt),wBt(G.f,tt,A),zH(A.d,at),wBt(G.f,at,A);for(g=QH(Tvt(p,O9(Rve,{3:1,4:1,5:1,1946:1},467,p.a.gc(),0,1)),1946),_=n[0].c,Y=r[0].c,f=0,d=(h=g).length;f<d;++f)for((u=h[f]).e=J,u.f=rt,K=new zd(u.d);K.a<K.c.c.length;)$=QH(J1(K),11),q=t.a[$.p],$.i.c==_?(q<u.e&&(u.e=q),q>u.b&&(u.b=q)):$.i.c==Y&&(q<u.f&&(u.f=q),q>u.c&&(u.c=q));for($8(g,0,g.length,null),nt=O9(BNe,lWt,25,g.length,15,1),i=O9(BNe,lWt,25,rt+1,15,1),b=0;b<g.length;b++)nt[b]=g[b].f,i[nt[b]]=1;for(o=0,v=0;v<i.length;v++)1==i[v]?i[v]=o:--o;for(V=0,y=0;y<nt.length;y++)nt[y]+=i[nt[y]],V=e.Math.max(V,nt[y]+1);for(l=1;l<V;)l*=2;for(st=2*l-1,l-=1,ot=O9(BNe,lWt,25,st,15,1),a=0,E=0;E<nt.length;E++)for(++ot[C=nt[E]+l];C>0;)C%2>0&&(a+=ot[C+1]),++ot[C=(C-1)/2|0];for(x=O9(Hve,Hqt,362,2*g.length,0,1),w=0;w<g.length;w++)x[2*w]=new HV(g[w],g[w].e,g[w].b,(q3(),Uve)),x[2*w+1]=new HV(g[w],g[w].b,g[w].e,Qve);for($8(x,0,x.length,null),Q=0,T=0;T<x.length;T++)switch(x[T].d.g){case 0:++Q;break;case 1:a+=--Q}for(W=O9(Hve,Hqt,362,2*g.length,0,1),k=0;k<g.length;k++)W[2*k]=new HV(g[k],g[k].f,g[k].c,(q3(),Uve)),W[2*k+1]=new HV(g[k],g[k].c,g[k].f,Qve);for($8(W,0,W.length,null),Q=0,m=0;m<W.length;m++)switch(W[m].d.g){case 0:++Q;break;case 1:a+=--Q}return a}function dqt(){dqt=L,oNe=new Sm(7),sNe=new oK(8,94),new oK(8,64),cNe=new oK(8,36),ANe=new oK(8,65),pNe=new oK(8,122),gNe=new oK(8,90),vNe=new oK(8,98),fNe=new oK(8,66),mNe=new oK(8,60),yNe=new oK(8,62),aNe=new Sm(11),WDt(iNe=new k0(4),48,57),WDt(bNe=new k0(4),48,57),WDt(bNe,65,90),WDt(bNe,95,95),WDt(bNe,97,122),WDt(dNe=new k0(4),9,9),WDt(dNe,10,10),WDt(dNe,12,12),WDt(dNe,13,13),WDt(dNe,32,32),lNe=IUt(iNe),hNe=IUt(bNe),uNe=IUt(dNe),tNe=new Om,eNe=new Om,nNe=xst(jw(Vee,1),cVt,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),ZOe=xst(jw(Vee,1),cVt,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",pte,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),rNe=xst(jw(BNe,1),lWt,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function Aqt(){Aqt=L,Eie=new sat("OUT_T_L",0,(W8(),Vre),(j7(),eie),(Det(),jre),jre,xst(jw(Dte,1),Hqt,21,0,[wK((ZIt(),IBe),xst(jw(jBe,1),IVt,93,0,[NBe,_Be]))])),Cie=new sat("OUT_T_C",1,qre,eie,jre,$re,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[NBe,xBe])),wK(IBe,xst(jw(jBe,1),IVt,93,0,[NBe,xBe,BBe]))])),xie=new sat("OUT_T_R",2,Wre,eie,jre,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[NBe,SBe]))])),gie=new sat("OUT_B_L",3,Vre,rie,Kre,jre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[MBe,_Be]))])),pie=new sat("OUT_B_C",4,qre,rie,Kre,$re,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[MBe,xBe])),wK(IBe,xst(jw(jBe,1),IVt,93,0,[MBe,xBe,BBe]))])),mie=new sat("OUT_B_R",5,Wre,rie,Kre,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[MBe,SBe]))])),yie=new sat("OUT_L_T",6,Wre,rie,jre,jre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[_Be,NBe,BBe]))])),vie=new sat("OUT_L_C",7,Wre,nie,$re,jre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[_Be,OBe])),wK(IBe,xst(jw(jBe,1),IVt,93,0,[_Be,OBe,BBe]))])),bie=new sat("OUT_L_B",8,Wre,eie,Kre,jre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[_Be,MBe,BBe]))])),kie=new sat("OUT_R_T",9,Vre,rie,jre,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[SBe,NBe,BBe]))])),Tie=new sat("OUT_R_C",10,Vre,nie,$re,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[SBe,OBe])),wK(IBe,xst(jw(jBe,1),IVt,93,0,[SBe,OBe,BBe]))])),wie=new sat("OUT_R_B",11,Vre,eie,Kre,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(IBe,xst(jw(jBe,1),IVt,93,0,[SBe,MBe,BBe]))])),die=new sat("IN_T_L",12,Vre,rie,jre,jre,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[NBe,_Be])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[NBe,_Be,BBe]))])),fie=new sat("IN_T_C",13,qre,rie,jre,$re,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[NBe,xBe])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[NBe,xBe,BBe]))])),Aie=new sat("IN_T_R",14,Wre,rie,jre,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[NBe,SBe])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[NBe,SBe,BBe]))])),uie=new sat("IN_C_L",15,Vre,nie,$re,jre,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[OBe,_Be])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[OBe,_Be,BBe]))])),lie=new sat("IN_C_C",16,qre,nie,$re,$re,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[OBe,xBe])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[OBe,xBe,BBe]))])),hie=new sat("IN_C_R",17,Wre,nie,$re,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[OBe,SBe])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[OBe,SBe,BBe]))])),sie=new sat("IN_B_L",18,Vre,eie,Kre,jre,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[MBe,_Be])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[MBe,_Be,BBe]))])),oie=new sat("IN_B_C",19,qre,eie,Kre,$re,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[MBe,xBe])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[MBe,xBe,BBe]))])),cie=new sat("IN_B_R",20,Wre,eie,Kre,Kre,xst(jw(Dte,1),Hqt,21,0,[wK(LBe,xst(jw(jBe,1),IVt,93,0,[MBe,SBe])),wK(LBe,xst(jw(jBe,1),IVt,93,0,[MBe,SBe,BBe]))])),_ie=new sat(lJt,21,null,null,null,null,xst(jw(Dte,1),Hqt,21,0,[]))}function pqt(){pqt=L,tMe=(qX(),JIe).b,QH(Xet(qW(JIe.b),0),34),QH(Xet(qW(JIe.b),1),18),ZIe=JIe.a,QH(Xet(qW(JIe.a),0),34),QH(Xet(qW(JIe.a),1),18),QH(Xet(qW(JIe.a),2),18),QH(Xet(qW(JIe.a),3),18),QH(Xet(qW(JIe.a),4),18),eMe=JIe.o,QH(Xet(qW(JIe.o),0),34),QH(Xet(qW(JIe.o),1),34),rMe=QH(Xet(qW(JIe.o),2),18),QH(Xet(qW(JIe.o),3),18),QH(Xet(qW(JIe.o),4),18),QH(Xet(qW(JIe.o),5),18),QH(Xet(qW(JIe.o),6),18),QH(Xet(qW(JIe.o),7),18),QH(Xet(qW(JIe.o),8),18),QH(Xet(qW(JIe.o),9),18),QH(Xet(qW(JIe.o),10),18),QH(Xet(qW(JIe.o),11),18),QH(Xet(qW(JIe.o),12),18),QH(Xet(qW(JIe.o),13),18),QH(Xet(qW(JIe.o),14),18),QH(Xet(qW(JIe.o),15),18),QH(Xet(XW(JIe.o),0),59),QH(Xet(XW(JIe.o),1),59),QH(Xet(XW(JIe.o),2),59),QH(Xet(XW(JIe.o),3),59),QH(Xet(XW(JIe.o),4),59),QH(Xet(XW(JIe.o),5),59),QH(Xet(XW(JIe.o),6),59),QH(Xet(XW(JIe.o),7),59),QH(Xet(XW(JIe.o),8),59),QH(Xet(XW(JIe.o),9),59),nMe=JIe.p,QH(Xet(qW(JIe.p),0),34),QH(Xet(qW(JIe.p),1),34),QH(Xet(qW(JIe.p),2),34),QH(Xet(qW(JIe.p),3),34),QH(Xet(qW(JIe.p),4),18),QH(Xet(qW(JIe.p),5),18),QH(Xet(XW(JIe.p),0),59),QH(Xet(XW(JIe.p),1),59),iMe=JIe.q,QH(Xet(qW(JIe.q),0),34),aMe=JIe.v,QH(Xet(qW(JIe.v),0),18),QH(Xet(XW(JIe.v),0),59),QH(Xet(XW(JIe.v),1),59),QH(Xet(XW(JIe.v),2),59),oMe=JIe.w,QH(Xet(qW(JIe.w),0),34),QH(Xet(qW(JIe.w),1),34),QH(Xet(qW(JIe.w),2),34),QH(Xet(qW(JIe.w),3),18),sMe=JIe.B,QH(Xet(qW(JIe.B),0),18),QH(Xet(XW(JIe.B),0),59),QH(Xet(XW(JIe.B),1),59),QH(Xet(XW(JIe.B),2),59),uMe=JIe.Q,QH(Xet(qW(JIe.Q),0),18),QH(Xet(XW(JIe.Q),0),59),hMe=JIe.R,QH(Xet(qW(JIe.R),0),34),fMe=JIe.S,QH(Xet(XW(JIe.S),0),59),QH(Xet(XW(JIe.S),1),59),QH(Xet(XW(JIe.S),2),59),QH(Xet(XW(JIe.S),3),59),QH(Xet(XW(JIe.S),4),59),QH(Xet(XW(JIe.S),5),59),QH(Xet(XW(JIe.S),6),59),QH(Xet(XW(JIe.S),7),59),QH(Xet(XW(JIe.S),8),59),QH(Xet(XW(JIe.S),9),59),QH(Xet(XW(JIe.S),10),59),QH(Xet(XW(JIe.S),11),59),QH(Xet(XW(JIe.S),12),59),QH(Xet(XW(JIe.S),13),59),QH(Xet(XW(JIe.S),14),59),dMe=JIe.T,QH(Xet(qW(JIe.T),0),18),QH(Xet(qW(JIe.T),2),18),AMe=QH(Xet(qW(JIe.T),3),18),QH(Xet(qW(JIe.T),4),18),QH(Xet(XW(JIe.T),0),59),QH(Xet(XW(JIe.T),1),59),QH(Xet(qW(JIe.T),1),18),pMe=JIe.U,QH(Xet(qW(JIe.U),0),34),QH(Xet(qW(JIe.U),1),34),QH(Xet(qW(JIe.U),2),18),QH(Xet(qW(JIe.U),3),18),QH(Xet(qW(JIe.U),4),18),QH(Xet(qW(JIe.U),5),18),QH(Xet(XW(JIe.U),0),59),gMe=JIe.V,QH(Xet(qW(JIe.V),0),18),mMe=JIe.W,QH(Xet(qW(JIe.W),0),34),QH(Xet(qW(JIe.W),1),34),QH(Xet(qW(JIe.W),2),34),QH(Xet(qW(JIe.W),3),18),QH(Xet(qW(JIe.W),4),18),QH(Xet(qW(JIe.W),5),18),vMe=JIe.bb,QH(Xet(qW(JIe.bb),0),34),QH(Xet(qW(JIe.bb),1),34),QH(Xet(qW(JIe.bb),2),34),QH(Xet(qW(JIe.bb),3),34),QH(Xet(qW(JIe.bb),4),34),QH(Xet(qW(JIe.bb),5),34),QH(Xet(qW(JIe.bb),6),34),QH(Xet(qW(JIe.bb),7),18),QH(Xet(XW(JIe.bb),0),59),QH(Xet(XW(JIe.bb),1),59),yMe=JIe.eb,QH(Xet(qW(JIe.eb),0),34),QH(Xet(qW(JIe.eb),1),34),QH(Xet(qW(JIe.eb),2),34),QH(Xet(qW(JIe.eb),3),34),QH(Xet(qW(JIe.eb),4),34),QH(Xet(qW(JIe.eb),5),34),QH(Xet(qW(JIe.eb),6),18),QH(Xet(qW(JIe.eb),7),18),bMe=JIe.ab,QH(Xet(qW(JIe.ab),0),34),QH(Xet(qW(JIe.ab),1),34),cMe=JIe.H,QH(Xet(qW(JIe.H),0),18),QH(Xet(qW(JIe.H),1),18),QH(Xet(qW(JIe.H),2),18),QH(Xet(qW(JIe.H),3),18),QH(Xet(qW(JIe.H),4),18),QH(Xet(qW(JIe.H),5),18),QH(Xet(XW(JIe.H),0),59),wMe=JIe.db,QH(Xet(qW(JIe.db),0),18),lMe=JIe.M}function gqt(t){var e;t.O||(t.O=!0,Oit(t,"type"),Nit(t,"ecore.xml.type"),Dit(t,E7t),e=QH(IMt((zE(),jIe),E7t),1945),l8(vY(t.fb),t.b),$0(t.b,hOe,"AnyType",!1,!1,!0),oat(QH(Xet(qW(t.b),0),34),t.wb.D,P8t,null,0,-1,hOe,!1,!1,!0,!1,!1,!1),oat(QH(Xet(qW(t.b),1),34),t.wb.D,"any",null,0,-1,hOe,!0,!0,!0,!1,!1,!0),oat(QH(Xet(qW(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,hOe,!1,!1,!0,!1,!1,!1),$0(t.bb,jOe,L7t,!1,!1,!0),oat(QH(Xet(qW(t.bb),0),34),t.gb,"data",null,0,1,jOe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.bb),1),34),t.gb,W6t,null,1,1,jOe,!1,!1,!0,!1,!0,!1),$0(t.fb,$Oe,I7t,!1,!1,!0),oat(QH(Xet(qW(t.fb),0),34),e.gb,"rawValue",null,0,1,$Oe,!0,!0,!0,!1,!0,!0),oat(QH(Xet(qW(t.fb),1),34),e.a,T6t,null,0,1,$Oe,!0,!0,!0,!1,!0,!0),Cyt(QH(Xet(qW(t.fb),2),18),t.wb.q,null,"instanceType",1,1,$Oe,!1,!1,!0,!1,!1,!1,!1),$0(t.qb,KOe,M7t,!1,!1,!0),oat(QH(Xet(qW(t.qb),0),34),t.wb.D,P8t,null,0,-1,null,!1,!1,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),oat(QH(Xet(qW(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),oat(QH(Xet(qW(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Cyt(QH(Xet(qW(t.qb),5),18),t.bb,null,ite,0,-2,null,!0,!0,!0,!0,!1,!1,!0),oat(QH(Xet(qW(t.qb),6),34),t.gb,S6t,null,0,-2,null,!0,!0,!0,!1,!1,!0),dV(t.a,Lte,"AnySimpleType",!0),dV(t.c,Vee,"AnyURI",!0),dV(t.d,jw(INe,1),"Base64Binary",!0),dV(t.e,SNe,"Boolean",!0),dV(t.f,yee,"BooleanObject",!0),dV(t.g,INe,"Byte",!0),dV(t.i,kee,"ByteObject",!0),dV(t.j,Vee,"Date",!0),dV(t.k,Vee,"DateTime",!0),dV(t.n,nne,"Decimal",!0),dV(t.o,MNe,"Double",!0),dV(t.p,xee,"DoubleObject",!0),dV(t.q,Vee,"Duration",!0),dV(t.s,Fte,"ENTITIES",!0),dV(t.r,Fte,"ENTITIESBase",!0),dV(t.t,Vee,R7t,!0),dV(t.u,ONe,"Float",!0),dV(t.v,_ee,"FloatObject",!0),dV(t.w,Vee,"GDay",!0),dV(t.B,Vee,"GMonth",!0),dV(t.A,Vee,"GMonthDay",!0),dV(t.C,Vee,"GYear",!0),dV(t.D,Vee,"GYearMonth",!0),dV(t.F,jw(INe,1),"HexBinary",!0),dV(t.G,Vee,"ID",!0),dV(t.H,Vee,"IDREF",!0),dV(t.J,Fte,"IDREFS",!0),dV(t.I,Fte,"IDREFSBase",!0),dV(t.K,BNe,"Int",!0),dV(t.M,sne,"Integer",!0),dV(t.L,Lee,"IntObject",!0),dV(t.P,Vee,"Language",!0),dV(t.Q,LNe,"Long",!0),dV(t.R,Fee,"LongObject",!0),dV(t.S,Vee,"Name",!0),dV(t.T,Vee,Q7t,!0),dV(t.U,sne,"NegativeInteger",!0),dV(t.V,Vee,V7t,!0),dV(t.X,Fte,"NMTOKENS",!0),dV(t.W,Fte,"NMTOKENSBase",!0),dV(t.Y,sne,"NonNegativeInteger",!0),dV(t.Z,sne,"NonPositiveInteger",!0),dV(t.$,Vee,"NormalizedString",!0),dV(t._,Vee,"NOTATION",!0),dV(t.ab,Vee,"PositiveInteger",!0),dV(t.cb,Vee,"QName",!0),dV(t.db,NNe,"Short",!0),dV(t.eb,Ree,"ShortObject",!0),dV(t.gb,Vee,jVt,!0),dV(t.hb,Vee,"Time",!0),dV(t.ib,Vee,"Token",!0),dV(t.jb,NNe,"UnsignedByte",!0),dV(t.kb,Ree,"UnsignedByteObject",!0),dV(t.lb,LNe,"UnsignedInt",!0),dV(t.mb,Fee,"UnsignedIntObject",!0),dV(t.nb,sne,"UnsignedLong",!0),dV(t.ob,BNe,"UnsignedShort",!0),dV(t.pb,Lee,"UnsignedShortObject",!0),Mut(t,E7t),vqt(t))}function mqt(t){ME(t,new CCt(mT(dT(gT(fT(pT(AT(new gs,d1t),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new Ba),d1t),wK((lIt(),tIe),xst(jw(rIe,1),IVt,237,0,[YLe,JLe,WLe,ZLe,qLe,XLe]))))),a2(t,d1t,M2t,bmt(pme)),a2(t,d1t,O2t,bmt(gme)),a2(t,d1t,zJt,bmt(mme)),a2(t,d1t,N2t,bmt(bme)),a2(t,d1t,bZt,bmt(yme)),a2(t,d1t,D2t,bmt(wme)),a2(t,d1t,F2t,bmt(Cme)),a2(t,d1t,P2t,bmt(xme)),a2(t,d1t,R2t,bmt(_me)),a2(t,d1t,Q2t,bmt(Eme)),a2(t,d1t,mZt,bmt(Bme)),a2(t,d1t,U2t,bmt(Lme)),a2(t,d1t,H2t,bmt(Mme)),a2(t,d1t,j2t,bmt(kme)),a2(t,d1t,M0t,bmt(Ame)),a2(t,d1t,N0t,bmt(vme)),a2(t,d1t,O0t,bmt(Tme)),a2(t,d1t,D0t,bmt(Sme)),a2(t,d1t,gZt,nft(0)),a2(t,d1t,F0t,bmt(lme)),a2(t,d1t,P0t,bmt(ume)),a2(t,d1t,R0t,bmt(hme)),a2(t,d1t,G0t,bmt($me)),a2(t,d1t,z0t,bmt(Dme)),a2(t,d1t,X0t,bmt(Fme)),a2(t,d1t,q0t,bmt(Qme)),a2(t,d1t,V0t,bmt(Pme)),a2(t,d1t,W0t,bmt(Rme)),a2(t,d1t,Y0t,bmt(Gme)),a2(t,d1t,J0t,bmt(Kme)),a2(t,d1t,Z0t,bmt(Hme)),a2(t,d1t,t2t,bmt(Ume)),a2(t,d1t,e2t,bmt(jme)),a2(t,d1t,E0t,bmt(Dge)),a2(t,d1t,x0t,bmt(Fge)),a2(t,d1t,S0t,bmt(nge)),a2(t,d1t,L0t,bmt(rge)),a2(t,d1t,VJt,Kge),a2(t,d1t,v2t,Jpe),a2(t,d1t,$2t,0),a2(t,d1t,vZt,nft(1)),a2(t,d1t,qJt,AZt),a2(t,d1t,K2t,bmt(jge)),a2(t,d1t,TZt,bmt(tme)),a2(t,d1t,G2t,bmt(ame)),a2(t,d1t,z2t,bmt($pe)),a2(t,d1t,X2t,bmt(vpe)),a2(t,d1t,A2t,bmt(sge)),a2(t,d1t,yZt,(cN(),!0)),a2(t,d1t,q2t,bmt(fge)),a2(t,d1t,V2t,bmt(dge)),a2(t,d1t,xZt,bmt(Rge)),a2(t,d1t,EZt,bmt(Hge)),a2(t,d1t,W2t,bmt(Qge)),a2(t,d1t,Y2t,zpe),a2(t,d1t,_Zt,bmt(Lge)),a2(t,d1t,J2t,bmt(Sge)),a2(t,d1t,BZt,bmt(rme)),a2(t,d1t,Z2t,bmt(nme)),a2(t,d1t,t4t,bmt(ime)),a2(t,d1t,e4t,Xge),a2(t,d1t,n4t,bmt(Vge)),a2(t,d1t,r4t,bmt(Wge)),a2(t,d1t,i4t,bmt(Yge)),a2(t,d1t,a4t,bmt(qge)),a2(t,d1t,Z1t,bmt(Nme)),a2(t,d1t,n0t,bmt(Ege)),a2(t,d1t,c0t,bmt(Cge)),a2(t,d1t,J1t,bmt(Ome)),a2(t,d1t,r0t,bmt(vge)),a2(t,d1t,e0t,bmt(jpe)),a2(t,d1t,h0t,bmt(Hpe)),a2(t,d1t,f0t,bmt(Ope)),a2(t,d1t,m0t,bmt(Npe)),a2(t,d1t,b0t,bmt(Fpe)),a2(t,d1t,v0t,bmt(Dpe)),a2(t,d1t,A0t,bmt(Upe)),a2(t,d1t,q1t,bmt(_ge)),a2(t,d1t,V1t,bmt(Bge)),a2(t,d1t,X1t,bmt(pge)),a2(t,d1t,y0t,bmt(Pge)),a2(t,d1t,k0t,bmt(Mge)),a2(t,d1t,z1t,bmt(age)),a2(t,d1t,C0t,bmt(Nge)),a2(t,d1t,_0t,bmt(tge)),a2(t,d1t,B0t,bmt(ege)),a2(t,d1t,o4t,bmt(Mpe)),a2(t,d1t,T0t,bmt(Ige)),a2(t,d1t,U0t,bmt(Epe)),a2(t,d1t,H0t,bmt(Cpe)),a2(t,d1t,Q0t,bmt(kpe)),a2(t,d1t,j0t,bmt(lge)),a2(t,d1t,$0t,bmt(cge)),a2(t,d1t,K0t,bmt(uge)),a2(t,d1t,UZt,bmt(Uge)),a2(t,d1t,s4t,bmt(gge)),a2(t,d1t,XJt,bmt(ige)),a2(t,d1t,c4t,bmt(Vpe)),a2(t,d1t,kZt,bmt(qpe)),a2(t,d1t,d0t,bmt(Ppe)),a2(t,d1t,l4t,bmt(eme)),a2(t,d1t,u4t,bmt(Tpe)),a2(t,d1t,h4t,bmt(hge)),a2(t,d1t,f4t,bmt(Jge)),a2(t,d1t,d4t,bmt(Gge)),a2(t,d1t,A4t,bmt(zge)),a2(t,d1t,o0t,bmt(wge)),a2(t,d1t,s0t,bmt(Tge)),a2(t,d1t,p4t,bmt(sme)),a2(t,d1t,W1t,bmt(ype)),a2(t,d1t,l0t,bmt(kge)),a2(t,d1t,n2t,bmt(Wpe)),a2(t,d1t,r2t,bmt(Xpe)),a2(t,d1t,g4t,bmt(xge)),a2(t,d1t,u0t,bmt(mge)),a2(t,d1t,w0t,bmt(Oge)),a2(t,d1t,m4t,bmt(Ime)),a2(t,d1t,G1t,bmt(Gpe)),a2(t,d1t,Y1t,bmt(ome)),a2(t,d1t,I0t,bmt(Zpe)),a2(t,d1t,i0t,bmt(bge)),a2(t,d1t,p0t,bmt(Rpe)),a2(t,d1t,b4t,bmt(Age)),a2(t,d1t,a0t,bmt(yge)),a2(t,d1t,g0t,bmt(Qpe)),a2(t,d1t,i2t,bmt(Ipe)),a2(t,d1t,s2t,bmt(Spe)),a2(t,d1t,c2t,bmt(_pe)),a2(t,d1t,l2t,bmt(Bpe)),a2(t,d1t,a2t,bmt(Lpe)),a2(t,d1t,o2t,bmt(xpe)),a2(t,d1t,t0t,bmt(oge))}function bqt(t,e){var n;return YOe||(YOe=new Om,JOe=new Om,dqt(),dqt(),vpt(n=new k0(4),"\t\n\r\r "),mZ(YOe,ute,n),mZ(JOe,ute,IUt(n)),vpt(n=new k0(4),dte),mZ(YOe,cte,n),mZ(JOe,cte,IUt(n)),vpt(n=new k0(4),dte),mZ(YOe,cte,n),mZ(JOe,cte,IUt(n)),vpt(n=new k0(4),Ate),cjt(n,QH(CJ(YOe,cte),117)),mZ(YOe,lte,n),mZ(JOe,lte,IUt(n)),vpt(n=new k0(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),mZ(YOe,hte,n),mZ(JOe,hte,IUt(n)),vpt(n=new k0(4),Ate),WDt(n,95,95),WDt(n,58,58),mZ(YOe,fte,n),mZ(JOe,fte,IUt(n))),QH(CJ(e?YOe:JOe,t),136)}function vqt(t){qMt(t.a,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"anySimpleType"])),qMt(t.b,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"anyType",Q8t,P8t])),qMt(QH(Xet(qW(t.b),0),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,b7t,t9t,":mixed"])),qMt(QH(Xet(qW(t.b),1),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,b7t,C7t,x7t,t9t,":1",D7t,"lax"])),qMt(QH(Xet(qW(t.b),2),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,g7t,C7t,x7t,t9t,":2",D7t,"lax"])),qMt(t.c,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"anyURI",k7t,v7t])),qMt(t.d,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"base64Binary",k7t,v7t])),qMt(t.e,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,Iqt,k7t,v7t])),qMt(t.f,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"boolean:Object",Y8t,Iqt])),qMt(t.g,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,E8t])),qMt(t.i,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"byte:Object",Y8t,E8t])),qMt(t.j,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"date",k7t,v7t])),qMt(t.k,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"dateTime",k7t,v7t])),qMt(t.n,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"decimal",k7t,v7t])),qMt(t.o,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,_8t,k7t,v7t])),qMt(t.p,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"double:Object",Y8t,_8t])),qMt(t.q,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"duration",k7t,v7t])),qMt(t.s,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"ENTITIES",Y8t,F7t,P7t,"1"])),qMt(t.r,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,F7t,y7t,R7t])),qMt(t.t,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,R7t,Y8t,Q7t])),qMt(t.u,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,B8t,k7t,v7t])),qMt(t.v,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"float:Object",Y8t,B8t])),qMt(t.w,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"gDay",k7t,v7t])),qMt(t.B,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"gMonth",k7t,v7t])),qMt(t.A,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"gMonthDay",k7t,v7t])),qMt(t.C,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"gYear",k7t,v7t])),qMt(t.D,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"gYearMonth",k7t,v7t])),qMt(t.F,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"hexBinary",k7t,v7t])),qMt(t.G,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"ID",Y8t,Q7t])),qMt(t.H,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"IDREF",Y8t,Q7t])),qMt(t.J,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"IDREFS",Y8t,U7t,P7t,"1"])),qMt(t.I,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,U7t,y7t,"IDREF"])),qMt(t.K,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,S8t])),qMt(t.M,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,H7t])),qMt(t.L,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"int:Object",Y8t,S8t])),qMt(t.P,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"language",Y8t,j7t,$7t,K7t])),qMt(t.Q,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,L8t])),qMt(t.R,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"long:Object",Y8t,L8t])),qMt(t.S,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"Name",Y8t,j7t,$7t,G7t])),qMt(t.T,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,Q7t,Y8t,"Name",$7t,z7t])),qMt(t.U,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"negativeInteger",Y8t,X7t,q7t,"-1"])),qMt(t.V,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,V7t,Y8t,j7t,$7t,"\\c+"])),qMt(t.X,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"NMTOKENS",Y8t,W7t,P7t,"1"])),qMt(t.W,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,W7t,y7t,V7t])),qMt(t.Y,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,Y7t,Y8t,H7t,J7t,"0"])),qMt(t.Z,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,X7t,Y8t,H7t,q7t,"0"])),qMt(t.$,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,Z7t,Y8t,Oqt,k7t,"replace"])),qMt(t._,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"NOTATION",k7t,v7t])),qMt(t.ab,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"positiveInteger",Y8t,Y7t,J7t,"1"])),qMt(t.bb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"processingInstruction_._type",Q8t,"empty"])),qMt(QH(Xet(qW(t.bb),0),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,p7t,t9t,"data"])),qMt(QH(Xet(qW(t.bb),1),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,p7t,t9t,W6t])),qMt(t.cb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"QName",k7t,v7t])),qMt(t.db,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,I8t])),qMt(t.eb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"short:Object",Y8t,I8t])),qMt(t.fb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"simpleAnyType",Q8t,A7t])),qMt(QH(Xet(qW(t.fb),0),34),R8t,xst(jw(Vee,1),cVt,2,6,[t9t,":3",Q8t,A7t])),qMt(QH(Xet(qW(t.fb),1),34),R8t,xst(jw(Vee,1),cVt,2,6,[t9t,":4",Q8t,A7t])),qMt(QH(Xet(qW(t.fb),2),18),R8t,xst(jw(Vee,1),cVt,2,6,[t9t,":5",Q8t,A7t])),qMt(t.gb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,Oqt,k7t,"preserve"])),qMt(t.hb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"time",k7t,v7t])),qMt(t.ib,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,j7t,Y8t,Z7t,k7t,v7t])),qMt(t.jb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,tte,q7t,"255",J7t,"0"])),qMt(t.kb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"unsignedByte:Object",Y8t,tte])),qMt(t.lb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,ete,q7t,"4294967295",J7t,"0"])),qMt(t.mb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"unsignedInt:Object",Y8t,ete])),qMt(t.nb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"unsignedLong",Y8t,Y7t,q7t,nte,J7t,"0"])),qMt(t.ob,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,rte,q7t,"65535",J7t,"0"])),qMt(t.pb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"unsignedShort:Object",Y8t,rte])),qMt(t.qb,R8t,xst(jw(Vee,1),cVt,2,6,[t9t,"",Q8t,P8t])),qMt(QH(Xet(qW(t.qb),0),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,b7t,t9t,":mixed"])),qMt(QH(Xet(qW(t.qb),1),18),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,p7t,t9t,"xmlns:prefix"])),qMt(QH(Xet(qW(t.qb),2),18),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,p7t,t9t,"xsi:schemaLocation"])),qMt(QH(Xet(qW(t.qb),3),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,m7t,t9t,"cDATA",w7t,T7t])),qMt(QH(Xet(qW(t.qb),4),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,m7t,t9t,"comment",w7t,T7t])),qMt(QH(Xet(qW(t.qb),5),18),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,m7t,t9t,ite,w7t,T7t])),qMt(QH(Xet(qW(t.qb),6),34),R8t,xst(jw(Vee,1),cVt,2,6,[Q8t,m7t,t9t,S6t,w7t,T7t]))}function yqt(t){return mR("_UI_EMFDiagnostic_marker",t)?"EMF Problem":mR("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":mR(d9t,t)?"Wrong character.":mR(A9t,t)?"Invalid reference number.":mR(p9t,t)?"A character is required after \\.":mR(g9t,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":mR(m9t,t)?"'(?<' or '(?<!' is expected.":mR(b9t,t)?"A comment is not terminated.":mR(v9t,t)?"')' is expected.":mR(y9t,t)?"Unexpected end of the pattern in a modifier group.":mR(w9t,t)?"':' is expected.":mR(T9t,t)?"Unexpected end of the pattern in a conditional group.":mR(k9t,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":mR(C9t,t)?"There are more than three choices in a conditional group.":mR(E9t,t)?"A character in U+0040-U+005f must follow \\c.":mR(x9t,t)?"A '{' is required before a character category.":mR(_9t,t)?"A property name is not closed by '}'.":mR(B9t,t)?"Unexpected meta character.":mR(S9t,t)?"Unknown property.":mR(L9t,t)?"A POSIX character class must be closed by ':]'.":mR(I9t,t)?"Unexpected end of the pattern in a character class.":mR(M9t,t)?"Unknown name for a POSIX character class.":mR("parser.cc.4",t)?"'-' is invalid here.":mR(O9t,t)?"']' is expected.":mR(N9t,t)?"'[' is invalid in a character class. Write '\\['.":mR(D9t,t)?"']' is invalid in a character class. Write '\\]'.":mR(F9t,t)?"'-' is an invalid character range. Write '\\-'.":mR(P9t,t)?"'[' is expected.":mR(R9t,t)?"')' or '-[' or '+[' or '&[' is expected.":mR(Q9t,t)?"The range end code point is less than the start code point.":mR(U9t,t)?"Invalid Unicode hex notation.":mR(H9t,t)?"Overflow in a hex notation.":mR(j9t,t)?"'\\x{' must be closed by '}'.":mR($9t,t)?"Invalid Unicode code point.":mR(K9t,t)?"An anchor must not be here.":mR(G9t,t)?"This expression is not supported in the current option setting.":mR(z9t,t)?"Invalid quantifier. A digit is expected.":mR(X9t,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":mR(q9t,t)?"Invalid quantifier. A digit or '}' is expected.":mR(V9t,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":mR(W9t,t)?"Invalid quantifier. A quantity value overflow.":mR("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":mR("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":mR("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":mR("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":mR("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":mR("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":mR("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":mR("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":mR("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":mR("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":mR("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":mR("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":mR("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":mR("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":mR("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":mR("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":mR("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":mR("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":mR("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":mR("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":mR("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":mR("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":mR("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":mR("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":mR("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":mR("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":mR("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":mR("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":mR("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":mR("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":mR("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function wqt(t){var e,n,r,i,a,o,s;t.r||(t.r=!0,Oit(t,"graph"),Nit(t,"graph"),Dit(t,v6t),ist(t.o,"T"),l8(vY(t.a),t.p),l8(vY(t.f),t.a),l8(vY(t.n),t.f),l8(vY(t.g),t.n),l8(vY(t.c),t.n),l8(vY(t.i),t.c),l8(vY(t.j),t.c),l8(vY(t.d),t.f),l8(vY(t.e),t.a),$0(t.p,Gie,SJt,!0,!0,!1),s=kst(o=blt(t.p,t.p,"setProperty")),e=YV(t.o),n=new Fm,l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),ykt(n,r=JV(s)),GTt(o,e,w6t),GTt(o,e=JV(s),T6t),s=kst(o=blt(t.p,null,"getProperty")),e=YV(t.o),n=JV(s),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),GTt(o,e,w6t),(a=HCt(o,e=JV(s),null))&&a.Fi(),o=blt(t.p,t.wb.e,"hasProperty"),e=YV(t.o),n=new Fm,l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),GTt(o,e,w6t),Iyt(o=blt(t.p,t.p,"copyProperties"),t.p,k6t),o=blt(t.p,null,"getAllProperties"),e=YV(t.wb.P),n=YV(t.o),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),r=new Fm,l8((!n.d&&(n.d=new LO(zIe,n,1)),n.d),r),n=YV(t.wb.M),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),(i=HCt(o,e,null))&&i.Fi(),$0(t.a,ILe,K5t,!0,!1,!0),Cyt(QH(Xet(qW(t.a),0),18),t.k,null,C6t,0,-1,ILe,!1,!1,!0,!0,!1,!1,!1),$0(t.f,OLe,z5t,!0,!1,!0),Cyt(QH(Xet(qW(t.f),0),18),t.g,QH(Xet(qW(t.g),0),18),"labels",0,-1,OLe,!1,!1,!0,!0,!1,!1,!1),oat(QH(Xet(qW(t.f),1),34),t.wb._,E6t,null,0,1,OLe,!1,!1,!0,!1,!0,!1),$0(t.n,NLe,"ElkShape",!0,!1,!0),oat(QH(Xet(qW(t.n),0),34),t.wb.t,x6t,XWt,1,1,NLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.n),1),34),t.wb.t,_6t,XWt,1,1,NLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.n),2),34),t.wb.t,"x",XWt,1,1,NLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.n),3),34),t.wb.t,"y",XWt,1,1,NLe,!1,!1,!0,!1,!0,!1),Iyt(o=blt(t.n,null,"setDimensions"),t.wb.t,_6t),Iyt(o,t.wb.t,x6t),Iyt(o=blt(t.n,null,"setLocation"),t.wb.t,"x"),Iyt(o,t.wb.t,"y"),$0(t.g,jLe,J5t,!1,!1,!0),Cyt(QH(Xet(qW(t.g),0),18),t.f,QH(Xet(qW(t.f),0),18),B6t,0,1,jLe,!1,!1,!0,!1,!1,!1,!1),oat(QH(Xet(qW(t.g),1),34),t.wb._,S6t,"",0,1,jLe,!1,!1,!0,!1,!0,!1),$0(t.c,DLe,X5t,!0,!1,!0),Cyt(QH(Xet(qW(t.c),0),18),t.d,QH(Xet(qW(t.d),1),18),"outgoingEdges",0,-1,DLe,!1,!1,!0,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.c),1),18),t.d,QH(Xet(qW(t.d),2),18),"incomingEdges",0,-1,DLe,!1,!1,!0,!1,!0,!1,!1),$0(t.i,$Le,Z5t,!1,!1,!0),Cyt(QH(Xet(qW(t.i),0),18),t.j,QH(Xet(qW(t.j),0),18),"ports",0,-1,$Le,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.i),1),18),t.i,QH(Xet(qW(t.i),2),18),L6t,0,-1,$Le,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.i),2),18),t.i,QH(Xet(qW(t.i),1),18),B6t,0,1,$Le,!1,!1,!0,!1,!1,!1,!1),Cyt(QH(Xet(qW(t.i),3),18),t.d,QH(Xet(qW(t.d),0),18),"containedEdges",0,-1,$Le,!1,!1,!0,!0,!1,!1,!1),oat(QH(Xet(qW(t.i),4),34),t.wb.e,I6t,null,0,1,$Le,!0,!0,!1,!1,!0,!0),$0(t.j,KLe,t6t,!1,!1,!0),Cyt(QH(Xet(qW(t.j),0),18),t.i,QH(Xet(qW(t.i),0),18),B6t,0,1,KLe,!1,!1,!0,!1,!1,!1,!1),$0(t.d,FLe,q5t,!1,!1,!0),Cyt(QH(Xet(qW(t.d),0),18),t.i,QH(Xet(qW(t.i),3),18),"containingNode",0,1,FLe,!1,!1,!0,!1,!1,!1,!1),Cyt(QH(Xet(qW(t.d),1),18),t.c,QH(Xet(qW(t.c),0),18),M6t,0,-1,FLe,!1,!1,!0,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.d),2),18),t.c,QH(Xet(qW(t.c),1),18),O6t,0,-1,FLe,!1,!1,!0,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.d),3),18),t.e,QH(Xet(qW(t.e),5),18),N6t,0,-1,FLe,!1,!1,!0,!0,!1,!1,!1),oat(QH(Xet(qW(t.d),4),34),t.wb.e,"hyperedge",null,0,1,FLe,!0,!0,!1,!1,!0,!0),oat(QH(Xet(qW(t.d),5),34),t.wb.e,I6t,null,0,1,FLe,!0,!0,!1,!1,!0,!0),oat(QH(Xet(qW(t.d),6),34),t.wb.e,"selfloop",null,0,1,FLe,!0,!0,!1,!1,!0,!0),oat(QH(Xet(qW(t.d),7),34),t.wb.e,"connected",null,0,1,FLe,!0,!0,!1,!1,!0,!0),$0(t.b,MLe,G5t,!1,!1,!0),oat(QH(Xet(qW(t.b),0),34),t.wb.t,"x",XWt,1,1,MLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.b),1),34),t.wb.t,"y",XWt,1,1,MLe,!1,!1,!0,!1,!0,!1),Iyt(o=blt(t.b,null,"set"),t.wb.t,"x"),Iyt(o,t.wb.t,"y"),$0(t.e,PLe,V5t,!1,!1,!0),oat(QH(Xet(qW(t.e),0),34),t.wb.t,"startX",null,0,1,PLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.e),1),34),t.wb.t,"startY",null,0,1,PLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.e),2),34),t.wb.t,"endX",null,0,1,PLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.e),3),34),t.wb.t,"endY",null,0,1,PLe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.e),4),18),t.b,null,D6t,0,-1,PLe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.e),5),18),t.d,QH(Xet(qW(t.d),3),18),B6t,0,1,PLe,!1,!1,!0,!1,!1,!1,!1),Cyt(QH(Xet(qW(t.e),6),18),t.c,null,F6t,0,1,PLe,!1,!1,!0,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.e),7),18),t.c,null,P6t,0,1,PLe,!1,!1,!0,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.e),8),18),t.e,QH(Xet(qW(t.e),9),18),R6t,0,-1,PLe,!1,!1,!0,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.e),9),18),t.e,QH(Xet(qW(t.e),8),18),Q6t,0,-1,PLe,!1,!1,!0,!1,!0,!1,!1),oat(QH(Xet(qW(t.e),10),34),t.wb._,E6t,null,0,1,PLe,!1,!1,!0,!1,!0,!1),Iyt(o=blt(t.e,null,"setStartLocation"),t.wb.t,"x"),Iyt(o,t.wb.t,"y"),Iyt(o=blt(t.e,null,"setEndLocation"),t.wb.t,"x"),Iyt(o,t.wb.t,"y"),$0(t.k,Hte,"ElkPropertyToValueMapEntry",!1,!1,!1),e=YV(t.o),n=new Fm,l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),RLt(QH(Xet(qW(t.k),0),34),e,"key",Hte,!1,!1,!0,!1),oat(QH(Xet(qW(t.k),1),34),t.s,T6t,null,0,1,Hte,!1,!1,!0,!1,!0,!1),dV(t.o,uEe,"IProperty",!0),dV(t.s,Lte,"PropertyValue",!0),Mut(t,v6t))}function Tqt(){Tqt=L,(VOe=O9(INe,m6t,25,UWt,15,1))[9]=35,VOe[10]=19,VOe[13]=19,VOe[32]=51,VOe[33]=49,VOe[34]=33,bz(VOe,35,38,49),VOe[38]=1,bz(VOe,39,45,49),bz(VOe,45,47,-71),VOe[47]=49,bz(VOe,48,58,-71),VOe[58]=61,VOe[59]=49,VOe[60]=1,VOe[61]=49,VOe[62]=33,bz(VOe,63,65,49),bz(VOe,65,91,-3),bz(VOe,91,93,33),VOe[93]=1,VOe[94]=33,VOe[95]=-3,VOe[96]=33,bz(VOe,97,123,-3),bz(VOe,123,183,33),VOe[183]=-87,bz(VOe,184,192,33),bz(VOe,192,215,-19),VOe[215]=33,bz(VOe,216,247,-19),VOe[247]=33,bz(VOe,248,306,-19),bz(VOe,306,308,33),bz(VOe,308,319,-19),bz(VOe,319,321,33),bz(VOe,321,329,-19),VOe[329]=33,bz(VOe,330,383,-19),VOe[383]=33,bz(VOe,384,452,-19),bz(VOe,452,461,33),bz(VOe,461,497,-19),bz(VOe,497,500,33),bz(VOe,500,502,-19),bz(VOe,502,506,33),bz(VOe,506,536,-19),bz(VOe,536,592,33),bz(VOe,592,681,-19),bz(VOe,681,699,33),bz(VOe,699,706,-19),bz(VOe,706,720,33),bz(VOe,720,722,-87),bz(VOe,722,768,33),bz(VOe,768,838,-87),bz(VOe,838,864,33),bz(VOe,864,866,-87),bz(VOe,866,902,33),VOe[902]=-19,VOe[903]=-87,bz(VOe,904,907,-19),VOe[907]=33,VOe[908]=-19,VOe[909]=33,bz(VOe,910,930,-19),VOe[930]=33,bz(VOe,931,975,-19),VOe[975]=33,bz(VOe,976,983,-19),bz(VOe,983,986,33),VOe[986]=-19,VOe[987]=33,VOe[988]=-19,VOe[989]=33,VOe[990]=-19,VOe[991]=33,VOe[992]=-19,VOe[993]=33,bz(VOe,994,1012,-19),bz(VOe,1012,1025,33),bz(VOe,1025,1037,-19),VOe[1037]=33,bz(VOe,1038,1104,-19),VOe[1104]=33,bz(VOe,1105,1117,-19),VOe[1117]=33,bz(VOe,1118,1154,-19),VOe[1154]=33,bz(VOe,1155,1159,-87),bz(VOe,1159,1168,33),bz(VOe,1168,1221,-19),bz(VOe,1221,1223,33),bz(VOe,1223,1225,-19),bz(VOe,1225,1227,33),bz(VOe,1227,1229,-19),bz(VOe,1229,1232,33),bz(VOe,1232,1260,-19),bz(VOe,1260,1262,33),bz(VOe,1262,1270,-19),bz(VOe,1270,1272,33),bz(VOe,1272,1274,-19),bz(VOe,1274,1329,33),bz(VOe,1329,1367,-19),bz(VOe,1367,1369,33),VOe[1369]=-19,bz(VOe,1370,1377,33),bz(VOe,1377,1415,-19),bz(VOe,1415,1425,33),bz(VOe,1425,1442,-87),VOe[1442]=33,bz(VOe,1443,1466,-87),VOe[1466]=33,bz(VOe,1467,1470,-87),VOe[1470]=33,VOe[1471]=-87,VOe[1472]=33,bz(VOe,1473,1475,-87),VOe[1475]=33,VOe[1476]=-87,bz(VOe,1477,1488,33),bz(VOe,1488,1515,-19),bz(VOe,1515,1520,33),bz(VOe,1520,1523,-19),bz(VOe,1523,1569,33),bz(VOe,1569,1595,-19),bz(VOe,1595,1600,33),VOe[1600]=-87,bz(VOe,1601,1611,-19),bz(VOe,1611,1619,-87),bz(VOe,1619,1632,33),bz(VOe,1632,1642,-87),bz(VOe,1642,1648,33),VOe[1648]=-87,bz(VOe,1649,1720,-19),bz(VOe,1720,1722,33),bz(VOe,1722,1727,-19),VOe[1727]=33,bz(VOe,1728,1743,-19),VOe[1743]=33,bz(VOe,1744,1748,-19),VOe[1748]=33,VOe[1749]=-19,bz(VOe,1750,1765,-87),bz(VOe,1765,1767,-19),bz(VOe,1767,1769,-87),VOe[1769]=33,bz(VOe,1770,1774,-87),bz(VOe,1774,1776,33),bz(VOe,1776,1786,-87),bz(VOe,1786,2305,33),bz(VOe,2305,2308,-87),VOe[2308]=33,bz(VOe,2309,2362,-19),bz(VOe,2362,2364,33),VOe[2364]=-87,VOe[2365]=-19,bz(VOe,2366,2382,-87),bz(VOe,2382,2385,33),bz(VOe,2385,2389,-87),bz(VOe,2389,2392,33),bz(VOe,2392,2402,-19),bz(VOe,2402,2404,-87),bz(VOe,2404,2406,33),bz(VOe,2406,2416,-87),bz(VOe,2416,2433,33),bz(VOe,2433,2436,-87),VOe[2436]=33,bz(VOe,2437,2445,-19),bz(VOe,2445,2447,33),bz(VOe,2447,2449,-19),bz(VOe,2449,2451,33),bz(VOe,2451,2473,-19),VOe[2473]=33,bz(VOe,2474,2481,-19),VOe[2481]=33,VOe[2482]=-19,bz(VOe,2483,2486,33),bz(VOe,2486,2490,-19),bz(VOe,2490,2492,33),VOe[2492]=-87,VOe[2493]=33,bz(VOe,2494,2501,-87),bz(VOe,2501,2503,33),bz(VOe,2503,2505,-87),bz(VOe,2505,2507,33),bz(VOe,2507,2510,-87),bz(VOe,2510,2519,33),VOe[2519]=-87,bz(VOe,2520,2524,33),bz(VOe,2524,2526,-19),VOe[2526]=33,bz(VOe,2527,2530,-19),bz(VOe,2530,2532,-87),bz(VOe,2532,2534,33),bz(VOe,2534,2544,-87),bz(VOe,2544,2546,-19),bz(VOe,2546,2562,33),VOe[2562]=-87,bz(VOe,2563,2565,33),bz(VOe,2565,2571,-19),bz(VOe,2571,2575,33),bz(VOe,2575,2577,-19),bz(VOe,2577,2579,33),bz(VOe,2579,2601,-19),VOe[2601]=33,bz(VOe,2602,2609,-19),VOe[2609]=33,bz(VOe,2610,2612,-19),VOe[2612]=33,bz(VOe,2613,2615,-19),VOe[2615]=33,bz(VOe,2616,2618,-19),bz(VOe,2618,2620,33),VOe[2620]=-87,VOe[2621]=33,bz(VOe,2622,2627,-87),bz(VOe,2627,2631,33),bz(VOe,2631,2633,-87),bz(VOe,2633,2635,33),bz(VOe,2635,2638,-87),bz(VOe,2638,2649,33),bz(VOe,2649,2653,-19),VOe[2653]=33,VOe[2654]=-19,bz(VOe,2655,2662,33),bz(VOe,2662,2674,-87),bz(VOe,2674,2677,-19),bz(VOe,2677,2689,33),bz(VOe,2689,2692,-87),VOe[2692]=33,bz(VOe,2693,2700,-19),VOe[2700]=33,VOe[2701]=-19,VOe[2702]=33,bz(VOe,2703,2706,-19),VOe[2706]=33,bz(VOe,2707,2729,-19),VOe[2729]=33,bz(VOe,2730,2737,-19),VOe[2737]=33,bz(VOe,2738,2740,-19),VOe[2740]=33,bz(VOe,2741,2746,-19),bz(VOe,2746,2748,33),VOe[2748]=-87,VOe[2749]=-19,bz(VOe,2750,2758,-87),VOe[2758]=33,bz(VOe,2759,2762,-87),VOe[2762]=33,bz(VOe,2763,2766,-87),bz(VOe,2766,2784,33),VOe[2784]=-19,bz(VOe,2785,2790,33),bz(VOe,2790,2800,-87),bz(VOe,2800,2817,33),bz(VOe,2817,2820,-87),VOe[2820]=33,bz(VOe,2821,2829,-19),bz(VOe,2829,2831,33),bz(VOe,2831,2833,-19),bz(VOe,2833,2835,33),bz(VOe,2835,2857,-19),VOe[2857]=33,bz(VOe,2858,2865,-19),VOe[2865]=33,bz(VOe,2866,2868,-19),bz(VOe,2868,2870,33),bz(VOe,2870,2874,-19),bz(VOe,2874,2876,33),VOe[2876]=-87,VOe[2877]=-19,bz(VOe,2878,2884,-87),bz(VOe,2884,2887,33),bz(VOe,2887,2889,-87),bz(VOe,2889,2891,33),bz(VOe,2891,2894,-87),bz(VOe,2894,2902,33),bz(VOe,2902,2904,-87),bz(VOe,2904,2908,33),bz(VOe,2908,2910,-19),VOe[2910]=33,bz(VOe,2911,2914,-19),bz(VOe,2914,2918,33),bz(VOe,2918,2928,-87),bz(VOe,2928,2946,33),bz(VOe,2946,2948,-87),VOe[2948]=33,bz(VOe,2949,2955,-19),bz(VOe,2955,2958,33),bz(VOe,2958,2961,-19),VOe[2961]=33,bz(VOe,2962,2966,-19),bz(VOe,2966,2969,33),bz(VOe,2969,2971,-19),VOe[2971]=33,VOe[2972]=-19,VOe[2973]=33,bz(VOe,2974,2976,-19),bz(VOe,2976,2979,33),bz(VOe,2979,2981,-19),bz(VOe,2981,2984,33),bz(VOe,2984,2987,-19),bz(VOe,2987,2990,33),bz(VOe,2990,2998,-19),VOe[2998]=33,bz(VOe,2999,3002,-19),bz(VOe,3002,3006,33),bz(VOe,3006,3011,-87),bz(VOe,3011,3014,33),bz(VOe,3014,3017,-87),VOe[3017]=33,bz(VOe,3018,3022,-87),bz(VOe,3022,3031,33),VOe[3031]=-87,bz(VOe,3032,3047,33),bz(VOe,3047,3056,-87),bz(VOe,3056,3073,33),bz(VOe,3073,3076,-87),VOe[3076]=33,bz(VOe,3077,3085,-19),VOe[3085]=33,bz(VOe,3086,3089,-19),VOe[3089]=33,bz(VOe,3090,3113,-19),VOe[3113]=33,bz(VOe,3114,3124,-19),VOe[3124]=33,bz(VOe,3125,3130,-19),bz(VOe,3130,3134,33),bz(VOe,3134,3141,-87),VOe[3141]=33,bz(VOe,3142,3145,-87),VOe[3145]=33,bz(VOe,3146,3150,-87),bz(VOe,3150,3157,33),bz(VOe,3157,3159,-87),bz(VOe,3159,3168,33),bz(VOe,3168,3170,-19),bz(VOe,3170,3174,33),bz(VOe,3174,3184,-87),bz(VOe,3184,3202,33),bz(VOe,3202,3204,-87),VOe[3204]=33,bz(VOe,3205,3213,-19),VOe[3213]=33,bz(VOe,3214,3217,-19),VOe[3217]=33,bz(VOe,3218,3241,-19),VOe[3241]=33,bz(VOe,3242,3252,-19),VOe[3252]=33,bz(VOe,3253,3258,-19),bz(VOe,3258,3262,33),bz(VOe,3262,3269,-87),VOe[3269]=33,bz(VOe,3270,3273,-87),VOe[3273]=33,bz(VOe,3274,3278,-87),bz(VOe,3278,3285,33),bz(VOe,3285,3287,-87),bz(VOe,3287,3294,33),VOe[3294]=-19,VOe[3295]=33,bz(VOe,3296,3298,-19),bz(VOe,3298,3302,33),bz(VOe,3302,3312,-87),bz(VOe,3312,3330,33),bz(VOe,3330,3332,-87),VOe[3332]=33,bz(VOe,3333,3341,-19),VOe[3341]=33,bz(VOe,3342,3345,-19),VOe[3345]=33,bz(VOe,3346,3369,-19),VOe[3369]=33,bz(VOe,3370,3386,-19),bz(VOe,3386,3390,33),bz(VOe,3390,3396,-87),bz(VOe,3396,3398,33),bz(VOe,3398,3401,-87),VOe[3401]=33,bz(VOe,3402,3406,-87),bz(VOe,3406,3415,33),VOe[3415]=-87,bz(VOe,3416,3424,33),bz(VOe,3424,3426,-19),bz(VOe,3426,3430,33),bz(VOe,3430,3440,-87),bz(VOe,3440,3585,33),bz(VOe,3585,3631,-19),VOe[3631]=33,VOe[3632]=-19,VOe[3633]=-87,bz(VOe,3634,3636,-19),bz(VOe,3636,3643,-87),bz(VOe,3643,3648,33),bz(VOe,3648,3654,-19),bz(VOe,3654,3663,-87),VOe[3663]=33,bz(VOe,3664,3674,-87),bz(VOe,3674,3713,33),bz(VOe,3713,3715,-19),VOe[3715]=33,VOe[3716]=-19,bz(VOe,3717,3719,33),bz(VOe,3719,3721,-19),VOe[3721]=33,VOe[3722]=-19,bz(VOe,3723,3725,33),VOe[3725]=-19,bz(VOe,3726,3732,33),bz(VOe,3732,3736,-19),VOe[3736]=33,bz(VOe,3737,3744,-19),VOe[3744]=33,bz(VOe,3745,3748,-19),VOe[3748]=33,VOe[3749]=-19,VOe[3750]=33,VOe[3751]=-19,bz(VOe,3752,3754,33),bz(VOe,3754,3756,-19),VOe[3756]=33,bz(VOe,3757,3759,-19),VOe[3759]=33,VOe[3760]=-19,VOe[3761]=-87,bz(VOe,3762,3764,-19),bz(VOe,3764,3770,-87),VOe[3770]=33,bz(VOe,3771,3773,-87),VOe[3773]=-19,bz(VOe,3774,3776,33),bz(VOe,3776,3781,-19),VOe[3781]=33,VOe[3782]=-87,VOe[3783]=33,bz(VOe,3784,3790,-87),bz(VOe,3790,3792,33),bz(VOe,3792,3802,-87),bz(VOe,3802,3864,33),bz(VOe,3864,3866,-87),bz(VOe,3866,3872,33),bz(VOe,3872,3882,-87),bz(VOe,3882,3893,33),VOe[3893]=-87,VOe[3894]=33,VOe[3895]=-87,VOe[3896]=33,VOe[3897]=-87,bz(VOe,3898,3902,33),bz(VOe,3902,3904,-87),bz(VOe,3904,3912,-19),VOe[3912]=33,bz(VOe,3913,3946,-19),bz(VOe,3946,3953,33),bz(VOe,3953,3973,-87),VOe[3973]=33,bz(VOe,3974,3980,-87),bz(VOe,3980,3984,33),bz(VOe,3984,3990,-87),VOe[3990]=33,VOe[3991]=-87,VOe[3992]=33,bz(VOe,3993,4014,-87),bz(VOe,4014,4017,33),bz(VOe,4017,4024,-87),VOe[4024]=33,VOe[4025]=-87,bz(VOe,4026,4256,33),bz(VOe,4256,4294,-19),bz(VOe,4294,4304,33),bz(VOe,4304,4343,-19),bz(VOe,4343,4352,33),VOe[4352]=-19,VOe[4353]=33,bz(VOe,4354,4356,-19),VOe[4356]=33,bz(VOe,4357,4360,-19),VOe[4360]=33,VOe[4361]=-19,VOe[4362]=33,bz(VOe,4363,4365,-19),VOe[4365]=33,bz(VOe,4366,4371,-19),bz(VOe,4371,4412,33),VOe[4412]=-19,VOe[4413]=33,VOe[4414]=-19,VOe[4415]=33,VOe[4416]=-19,bz(VOe,4417,4428,33),VOe[4428]=-19,VOe[4429]=33,VOe[4430]=-19,VOe[4431]=33,VOe[4432]=-19,bz(VOe,4433,4436,33),bz(VOe,4436,4438,-19),bz(VOe,4438,4441,33),VOe[4441]=-19,bz(VOe,4442,4447,33),bz(VOe,4447,4450,-19),VOe[4450]=33,VOe[4451]=-19,VOe[4452]=33,VOe[4453]=-19,VOe[4454]=33,VOe[4455]=-19,VOe[4456]=33,VOe[4457]=-19,bz(VOe,4458,4461,33),bz(VOe,4461,4463,-19),bz(VOe,4463,4466,33),bz(VOe,4466,4468,-19),VOe[4468]=33,VOe[4469]=-19,bz(VOe,4470,4510,33),VOe[4510]=-19,bz(VOe,4511,4520,33),VOe[4520]=-19,bz(VOe,4521,4523,33),VOe[4523]=-19,bz(VOe,4524,4526,33),bz(VOe,4526,4528,-19),bz(VOe,4528,4535,33),bz(VOe,4535,4537,-19),VOe[4537]=33,VOe[4538]=-19,VOe[4539]=33,bz(VOe,4540,4547,-19),bz(VOe,4547,4587,33),VOe[4587]=-19,bz(VOe,4588,4592,33),VOe[4592]=-19,bz(VOe,4593,4601,33),VOe[4601]=-19,bz(VOe,4602,7680,33),bz(VOe,7680,7836,-19),bz(VOe,7836,7840,33),bz(VOe,7840,7930,-19),bz(VOe,7930,7936,33),bz(VOe,7936,7958,-19),bz(VOe,7958,7960,33),bz(VOe,7960,7966,-19),bz(VOe,7966,7968,33),bz(VOe,7968,8006,-19),bz(VOe,8006,8008,33),bz(VOe,8008,8014,-19),bz(VOe,8014,8016,33),bz(VOe,8016,8024,-19),VOe[8024]=33,VOe[8025]=-19,VOe[8026]=33,VOe[8027]=-19,VOe[8028]=33,VOe[8029]=-19,VOe[8030]=33,bz(VOe,8031,8062,-19),bz(VOe,8062,8064,33),bz(VOe,8064,8117,-19),VOe[8117]=33,bz(VOe,8118,8125,-19),VOe[8125]=33,VOe[8126]=-19,bz(VOe,8127,8130,33),bz(VOe,8130,8133,-19),VOe[8133]=33,bz(VOe,8134,8141,-19),bz(VOe,8141,8144,33),bz(VOe,8144,8148,-19),bz(VOe,8148,8150,33),bz(VOe,8150,8156,-19),bz(VOe,8156,8160,33),bz(VOe,8160,8173,-19),bz(VOe,8173,8178,33),bz(VOe,8178,8181,-19),VOe[8181]=33,bz(VOe,8182,8189,-19),bz(VOe,8189,8400,33),bz(VOe,8400,8413,-87),bz(VOe,8413,8417,33),VOe[8417]=-87,bz(VOe,8418,8486,33),VOe[8486]=-19,bz(VOe,8487,8490,33),bz(VOe,8490,8492,-19),bz(VOe,8492,8494,33),VOe[8494]=-19,bz(VOe,8495,8576,33),bz(VOe,8576,8579,-19),bz(VOe,8579,12293,33),VOe[12293]=-87,VOe[12294]=33,VOe[12295]=-19,bz(VOe,12296,12321,33),bz(VOe,12321,12330,-19),bz(VOe,12330,12336,-87),VOe[12336]=33,bz(VOe,12337,12342,-87),bz(VOe,12342,12353,33),bz(VOe,12353,12437,-19),bz(VOe,12437,12441,33),bz(VOe,12441,12443,-87),bz(VOe,12443,12445,33),bz(VOe,12445,12447,-87),bz(VOe,12447,12449,33),bz(VOe,12449,12539,-19),VOe[12539]=33,bz(VOe,12540,12543,-87),bz(VOe,12543,12549,33),bz(VOe,12549,12589,-19),bz(VOe,12589,19968,33),bz(VOe,19968,40870,-19),bz(VOe,40870,44032,33),bz(VOe,44032,55204,-19),bz(VOe,55204,HWt,33),bz(VOe,57344,65534,33)}function kqt(t){var e,n,r,i,a,o,s;t.hb||(t.hb=!0,Oit(t,"ecore"),Nit(t,"ecore"),Dit(t,q8t),ist(t.fb,"E"),ist(t.L,"T"),ist(t.P,"K"),ist(t.P,"V"),ist(t.cb,"E"),l8(vY(t.b),t.bb),l8(vY(t.a),t.Q),l8(vY(t.o),t.p),l8(vY(t.p),t.R),l8(vY(t.q),t.p),l8(vY(t.v),t.q),l8(vY(t.w),t.R),l8(vY(t.B),t.Q),l8(vY(t.R),t.Q),l8(vY(t.T),t.eb),l8(vY(t.U),t.R),l8(vY(t.V),t.eb),l8(vY(t.W),t.bb),l8(vY(t.bb),t.eb),l8(vY(t.eb),t.R),l8(vY(t.db),t.R),$0(t.b,RIe,h8t,!1,!1,!0),oat(QH(Xet(qW(t.b),0),34),t.e,"iD",null,0,1,RIe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.b),1),18),t.q,null,"eAttributeType",1,1,RIe,!0,!0,!1,!1,!0,!1,!0),$0(t.a,DIe,c8t,!1,!1,!0),oat(QH(Xet(qW(t.a),0),34),t._,k6t,null,0,1,DIe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.a),1),18),t.ab,null,"details",0,-1,DIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.a),2),18),t.Q,QH(Xet(qW(t.Q),0),18),"eModelElement",0,1,DIe,!0,!1,!0,!1,!1,!1,!1),Cyt(QH(Xet(qW(t.a),3),18),t.S,null,"contents",0,-1,DIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.a),4),18),t.S,null,"references",0,-1,DIe,!1,!1,!0,!1,!0,!1,!1),$0(t.o,UIe,"EClass",!1,!1,!0),oat(QH(Xet(qW(t.o),0),34),t.e,"abstract",null,0,1,UIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.o),1),34),t.e,"interface",null,0,1,UIe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.o),2),18),t.o,null,"eSuperTypes",0,-1,UIe,!1,!1,!0,!1,!0,!0,!1),Cyt(QH(Xet(qW(t.o),3),18),t.T,QH(Xet(qW(t.T),0),18),"eOperations",0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.o),4),18),t.b,null,"eAllAttributes",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),5),18),t.W,null,"eAllReferences",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),6),18),t.W,null,"eReferences",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),7),18),t.b,null,"eAttributes",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),8),18),t.W,null,"eAllContainments",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),9),18),t.T,null,"eAllOperations",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),10),18),t.bb,null,"eAllStructuralFeatures",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),11),18),t.o,null,"eAllSuperTypes",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.o),12),18),t.b,null,"eIDAttribute",0,1,UIe,!0,!0,!1,!1,!1,!1,!0),Cyt(QH(Xet(qW(t.o),13),18),t.bb,QH(Xet(qW(t.bb),7),18),"eStructuralFeatures",0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.o),14),18),t.H,null,"eGenericSuperTypes",0,-1,UIe,!1,!1,!0,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.o),15),18),t.H,null,"eAllGenericSuperTypes",0,-1,UIe,!0,!0,!1,!1,!0,!1,!0),Iyt(s=urt(QH(Xet(XW(t.o),0),59),t.e,"isSuperTypeOf"),t.o,"someClass"),urt(QH(Xet(XW(t.o),1),59),t.I,"getFeatureCount"),Iyt(s=urt(QH(Xet(XW(t.o),2),59),t.bb,J8t),t.I,"featureID"),Iyt(s=urt(QH(Xet(XW(t.o),3),59),t.I,Z8t),t.bb,t7t),Iyt(s=urt(QH(Xet(XW(t.o),4),59),t.bb,J8t),t._,"featureName"),urt(QH(Xet(XW(t.o),5),59),t.I,"getOperationCount"),Iyt(s=urt(QH(Xet(XW(t.o),6),59),t.T,"getEOperation"),t.I,"operationID"),Iyt(s=urt(QH(Xet(XW(t.o),7),59),t.I,e7t),t.T,n7t),Iyt(s=urt(QH(Xet(XW(t.o),8),59),t.T,"getOverride"),t.T,n7t),Iyt(s=urt(QH(Xet(XW(t.o),9),59),t.H,"getFeatureType"),t.bb,t7t),$0(t.p,QIe,f8t,!0,!1,!0),oat(QH(Xet(qW(t.p),0),34),t._,"instanceClassName",null,0,1,QIe,!1,!0,!0,!0,!0,!1),e=YV(t.L),n=s2(),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),RLt(QH(Xet(qW(t.p),1),34),e,"instanceClass",QIe,!0,!0,!1,!0),oat(QH(Xet(qW(t.p),2),34),t.M,r7t,null,0,1,QIe,!0,!0,!1,!1,!0,!0),oat(QH(Xet(qW(t.p),3),34),t._,"instanceTypeName",null,0,1,QIe,!1,!0,!0,!0,!0,!1),Cyt(QH(Xet(qW(t.p),4),18),t.U,QH(Xet(qW(t.U),3),18),"ePackage",0,1,QIe,!0,!1,!1,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.p),5),18),t.db,null,i7t,0,-1,QIe,!1,!1,!0,!0,!0,!1,!1),Iyt(s=urt(QH(Xet(XW(t.p),0),59),t.e,a7t),t.M,Lqt),urt(QH(Xet(XW(t.p),1),59),t.I,"getClassifierID"),$0(t.q,HIe,"EDataType",!1,!1,!0),oat(QH(Xet(qW(t.q),0),34),t.e,"serializable",a5t,0,1,HIe,!1,!1,!0,!1,!0,!1),$0(t.v,KIe,"EEnum",!1,!1,!0),Cyt(QH(Xet(qW(t.v),0),18),t.w,QH(Xet(qW(t.w),3),18),"eLiterals",0,-1,KIe,!1,!1,!0,!0,!1,!1,!1),Iyt(s=urt(QH(Xet(XW(t.v),0),59),t.w,o7t),t._,t9t),Iyt(s=urt(QH(Xet(XW(t.v),1),59),t.w,o7t),t.I,T6t),Iyt(s=urt(QH(Xet(XW(t.v),2),59),t.w,"getEEnumLiteralByLiteral"),t._,"literal"),$0(t.w,GIe,d8t,!1,!1,!0),oat(QH(Xet(qW(t.w),0),34),t.I,T6t,null,0,1,GIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.w),1),34),t.A,"instance",null,0,1,GIe,!0,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.w),2),34),t._,"literal",null,0,1,GIe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.w),3),18),t.v,QH(Xet(qW(t.v),0),18),"eEnum",0,1,GIe,!0,!1,!1,!1,!1,!1,!1),$0(t.B,QLe,"EFactory",!1,!1,!0),Cyt(QH(Xet(qW(t.B),0),18),t.U,QH(Xet(qW(t.U),2),18),"ePackage",1,1,QLe,!0,!1,!0,!1,!1,!1,!1),Iyt(s=urt(QH(Xet(XW(t.B),0),59),t.S,"create"),t.o,"eClass"),Iyt(s=urt(QH(Xet(XW(t.B),1),59),t.M,"createFromString"),t.q,"eDataType"),Iyt(s,t._,"literalValue"),Iyt(s=urt(QH(Xet(XW(t.B),2),59),t._,"convertToString"),t.q,"eDataType"),Iyt(s,t.M,"instanceValue"),$0(t.Q,RLe,W5t,!0,!1,!0),Cyt(QH(Xet(qW(t.Q),0),18),t.a,QH(Xet(qW(t.a),2),18),"eAnnotations",0,-1,RLe,!1,!1,!0,!0,!1,!1,!1),Iyt(s=urt(QH(Xet(XW(t.Q),0),59),t.a,"getEAnnotation"),t._,k6t),$0(t.R,ULe,Y5t,!0,!1,!0),oat(QH(Xet(qW(t.R),0),34),t._,t9t,null,0,1,ULe,!1,!1,!0,!1,!0,!1),$0(t.S,LLe,"EObject",!1,!1,!0),urt(QH(Xet(XW(t.S),0),59),t.o,"eClass"),urt(QH(Xet(XW(t.S),1),59),t.e,"eIsProxy"),urt(QH(Xet(XW(t.S),2),59),t.X,"eResource"),urt(QH(Xet(XW(t.S),3),59),t.S,"eContainer"),urt(QH(Xet(XW(t.S),4),59),t.bb,"eContainingFeature"),urt(QH(Xet(XW(t.S),5),59),t.W,"eContainmentFeature"),s=urt(QH(Xet(XW(t.S),6),59),null,"eContents"),e=YV(t.fb),n=YV(t.S),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),(i=HCt(s,e,null))&&i.Fi(),s=urt(QH(Xet(XW(t.S),7),59),null,"eAllContents"),e=YV(t.cb),n=YV(t.S),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),(a=HCt(s,e,null))&&a.Fi(),s=urt(QH(Xet(XW(t.S),8),59),null,"eCrossReferences"),e=YV(t.fb),n=YV(t.S),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),(o=HCt(s,e,null))&&o.Fi(),Iyt(s=urt(QH(Xet(XW(t.S),9),59),t.M,"eGet"),t.bb,t7t),Iyt(s=urt(QH(Xet(XW(t.S),10),59),t.M,"eGet"),t.bb,t7t),Iyt(s,t.e,"resolve"),Iyt(s=urt(QH(Xet(XW(t.S),11),59),null,"eSet"),t.bb,t7t),Iyt(s,t.M,"newValue"),Iyt(s=urt(QH(Xet(XW(t.S),12),59),t.e,"eIsSet"),t.bb,t7t),Iyt(s=urt(QH(Xet(XW(t.S),13),59),null,"eUnset"),t.bb,t7t),Iyt(s=urt(QH(Xet(XW(t.S),14),59),t.M,"eInvoke"),t.T,n7t),e=YV(t.fb),n=s2(),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),GTt(s,e,"arguments"),Pq(s,t.K),$0(t.T,XIe,p8t,!1,!1,!0),Cyt(QH(Xet(qW(t.T),0),18),t.o,QH(Xet(qW(t.o),3),18),s7t,0,1,XIe,!0,!1,!1,!1,!1,!1,!1),Cyt(QH(Xet(qW(t.T),1),18),t.db,null,i7t,0,-1,XIe,!1,!1,!0,!0,!0,!1,!1),Cyt(QH(Xet(qW(t.T),2),18),t.V,QH(Xet(qW(t.V),0),18),"eParameters",0,-1,XIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.T),3),18),t.p,null,"eExceptions",0,-1,XIe,!1,!1,!0,!1,!0,!0,!1),Cyt(QH(Xet(qW(t.T),4),18),t.H,null,"eGenericExceptions",0,-1,XIe,!1,!1,!0,!0,!1,!0,!1),urt(QH(Xet(XW(t.T),0),59),t.I,e7t),Iyt(s=urt(QH(Xet(XW(t.T),1),59),t.e,"isOverrideOf"),t.T,"someOperation"),$0(t.U,HLe,"EPackage",!1,!1,!0),oat(QH(Xet(qW(t.U),0),34),t._,"nsURI",null,0,1,HLe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.U),1),34),t._,"nsPrefix",null,0,1,HLe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.U),2),18),t.B,QH(Xet(qW(t.B),0),18),"eFactoryInstance",1,1,HLe,!0,!1,!0,!1,!1,!1,!1),Cyt(QH(Xet(qW(t.U),3),18),t.p,QH(Xet(qW(t.p),4),18),"eClassifiers",0,-1,HLe,!1,!1,!0,!0,!0,!1,!1),Cyt(QH(Xet(qW(t.U),4),18),t.U,QH(Xet(qW(t.U),5),18),"eSubpackages",0,-1,HLe,!1,!1,!0,!0,!0,!1,!1),Cyt(QH(Xet(qW(t.U),5),18),t.U,QH(Xet(qW(t.U),4),18),"eSuperPackage",0,1,HLe,!0,!1,!1,!1,!0,!1,!1),Iyt(s=urt(QH(Xet(XW(t.U),0),59),t.p,"getEClassifier"),t._,t9t),$0(t.V,qIe,g8t,!1,!1,!0),Cyt(QH(Xet(qW(t.V),0),18),t.T,QH(Xet(qW(t.T),2),18),"eOperation",0,1,qIe,!0,!1,!1,!1,!1,!1,!1),$0(t.W,VIe,m8t,!1,!1,!0),oat(QH(Xet(qW(t.W),0),34),t.e,"containment",null,0,1,VIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.W),1),34),t.e,"container",null,0,1,VIe,!0,!0,!1,!1,!0,!0),oat(QH(Xet(qW(t.W),2),34),t.e,"resolveProxies",a5t,0,1,VIe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.W),3),18),t.W,null,"eOpposite",0,1,VIe,!1,!1,!0,!1,!0,!1,!1),Cyt(QH(Xet(qW(t.W),4),18),t.o,null,"eReferenceType",1,1,VIe,!0,!0,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.W),5),18),t.b,null,"eKeys",0,-1,VIe,!1,!1,!0,!1,!0,!1,!1),$0(t.bb,PIe,u8t,!0,!1,!0),oat(QH(Xet(qW(t.bb),0),34),t.e,"changeable",a5t,0,1,PIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.bb),1),34),t.e,"volatile",null,0,1,PIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.bb),2),34),t.e,"transient",null,0,1,PIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.bb),3),34),t._,"defaultValueLiteral",null,0,1,PIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.bb),4),34),t.M,r7t,null,0,1,PIe,!0,!0,!1,!1,!0,!0),oat(QH(Xet(qW(t.bb),5),34),t.e,"unsettable",null,0,1,PIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.bb),6),34),t.e,"derived",null,0,1,PIe,!1,!1,!0,!1,!0,!1),Cyt(QH(Xet(qW(t.bb),7),18),t.o,QH(Xet(qW(t.o),13),18),s7t,0,1,PIe,!0,!1,!1,!1,!1,!1,!1),urt(QH(Xet(XW(t.bb),0),59),t.I,Z8t),s=urt(QH(Xet(XW(t.bb),1),59),null,"getContainerClass"),e=YV(t.L),n=s2(),l8((!e.d&&(e.d=new LO(zIe,e,1)),e.d),n),(r=HCt(s,e,null))&&r.Fi(),$0(t.eb,FIe,l8t,!0,!1,!0),oat(QH(Xet(qW(t.eb),0),34),t.e,"ordered",a5t,0,1,FIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.eb),1),34),t.e,"unique",a5t,0,1,FIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.eb),2),34),t.I,"lowerBound",null,0,1,FIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.eb),3),34),t.I,"upperBound","1",0,1,FIe,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.eb),4),34),t.e,"many",null,0,1,FIe,!0,!0,!1,!1,!0,!0),oat(QH(Xet(qW(t.eb),5),34),t.e,"required",null,0,1,FIe,!0,!0,!1,!1,!0,!0),Cyt(QH(Xet(qW(t.eb),6),18),t.p,null,"eType",0,1,FIe,!1,!0,!0,!1,!0,!0,!1),Cyt(QH(Xet(qW(t.eb),7),18),t.H,null,"eGenericType",0,1,FIe,!1,!0,!0,!0,!1,!0,!1),$0(t.ab,Hte,"EStringToStringMapEntry",!1,!1,!1),oat(QH(Xet(qW(t.ab),0),34),t._,"key",null,0,1,Hte,!1,!1,!0,!1,!0,!1),oat(QH(Xet(qW(t.ab),1),34),t._,T6t,null,0,1,Hte,!1,!1,!0,!1,!0,!1),$0(t.H,zIe,A8t,!1,!1,!0),Cyt(QH(Xet(qW(t.H),0),18),t.H,null,"eUpperBound",0,1,zIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.H),1),18),t.H,null,"eTypeArguments",0,-1,zIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.H),2),18),t.p,null,"eRawType",1,1,zIe,!0,!1,!1,!1,!0,!1,!0),Cyt(QH(Xet(qW(t.H),3),18),t.H,null,"eLowerBound",0,1,zIe,!1,!1,!0,!0,!1,!1,!1),Cyt(QH(Xet(qW(t.H),4),18),t.db,null,"eTypeParameter",0,1,zIe,!1,!1,!0,!1,!1,!1,!1),Cyt(QH(Xet(qW(t.H),5),18),t.p,null,"eClassifier",0,1,zIe,!1,!1,!0,!1,!0,!1,!1),Iyt(s=urt(QH(Xet(XW(t.H),0),59),t.e,a7t),t.M,Lqt),$0(t.db,_Me,b8t,!1,!1,!0),Cyt(QH(Xet(qW(t.db),0),18),t.H,null,"eBounds",0,-1,_Me,!1,!1,!0,!0,!1,!1,!1),dV(t.c,nne,"EBigDecimal",!0),dV(t.d,sne,"EBigInteger",!0),dV(t.e,SNe,"EBoolean",!0),dV(t.f,yee,"EBooleanObject",!0),dV(t.i,INe,"EByte",!0),dV(t.g,jw(INe,1),"EByteArray",!0),dV(t.j,kee,"EByteObject",!0),dV(t.k,_Ne,"EChar",!0),dV(t.n,Eee,"ECharacterObject",!0),dV(t.r,bee,"EDate",!0),dV(t.s,FNe,"EDiagnosticChain",!1),dV(t.t,MNe,"EDouble",!0),dV(t.u,xee,"EDoubleObject",!0),dV(t.fb,iIe,"EEList",!1),dV(t.A,mIe,"EEnumerator",!1),dV(t.C,uOe,"EFeatureMap",!1),dV(t.D,SMe,"EFeatureMapEntry",!1),dV(t.F,ONe,"EFloat",!0),dV(t.G,_ee,"EFloatObject",!0),dV(t.I,BNe,"EInt",!0),dV(t.J,Lee,"EIntegerObject",!0),dV(t.L,Ite,"EJavaClass",!0),dV(t.M,Lte,"EJavaObject",!0),dV(t.N,LNe,"ELong",!0),dV(t.O,Fee,"ELongObject",!0),dV(t.P,Ote,"EMap",!1),dV(t.X,tOe,"EResource",!1),dV(t.Y,PNe,"EResourceSet",!1),dV(t.Z,NNe,"EShort",!0),dV(t.$,Ree,"EShortObject",!0),dV(t._,Vee,"EString",!0),dV(t.cb,cIe,"ETreeIterator",!1),dV(t.K,RNe,"EInvocationTargetException",!1),Mut(t,q8t))}"undefined"!=typeof window?e=window:void 0!==t?e=t:"undefined"!=typeof self&&(e=self);var Cqt,Eqt,xqt,_qt,Bqt,Sqt,Lqt="object",Iqt="boolean",Mqt="number",Oqt="string",Nqt="function",Dqt=2147483647,Fqt="java.lang",Pqt={3:1},Rqt="com.google.common.base",Qqt=", ",Uqt="%s (%s) must not be negative",Hqt={3:1,4:1,5:1},jqt="negative size: ",$qt="Optional.of(",Kqt="null",Gqt={198:1,47:1},zqt="com.google.common.collect",Xqt={198:1,47:1,125:1},qqt={224:1,3:1},Vqt={47:1},Wqt="java.util",Yqt={83:1},Jqt={20:1,28:1,14:1},Zqt=1965,tVt={20:1,28:1,14:1,21:1},eVt={83:1,171:1,161:1},nVt={20:1,28:1,14:1,21:1,84:1},rVt={20:1,28:1,14:1,271:1,21:1,84:1},iVt={47:1,125:1},aVt={345:1,42:1},oVt="AbstractMapEntry",sVt="expectedValuesPerKey",cVt={3:1,6:1,4:1,5:1},lVt=16384,uVt={164:1},hVt={38:1},fVt={l:4194303,m:4194303,h:524287},dVt={196:1},AVt={245:1,3:1,35:1},pVt="range unbounded on this side",gVt={20:1},mVt={20:1,14:1},bVt={3:1,20:1,28:1,14:1},vVt={152:1,3:1,20:1,28:1,14:1,15:1,54:1},yVt={3:1,4:1,5:1,165:1},wVt={3:1,83:1},TVt={20:1,14:1,21:1},kVt={3:1,20:1,28:1,14:1,21:1},CVt={20:1,14:1,21:1,84:1},EVt=461845907,xVt=-862048943,_Vt={3:1,6:1,4:1,5:1,165:1},BVt="expectedSize",SVt=1073741824,LVt="initialArraySize",IVt={3:1,6:1,4:1,9:1,5:1},MVt={20:1,28:1,52:1,14:1,15:1},OVt="arraySize",NVt={20:1,28:1,52:1,14:1,15:1,54:1},DVt={45:1},FVt={365:1},PVt=1e-4,RVt=-2147483648,QVt="__noinit__",UVt={3:1,102:1,60:1,78:1},HVt="com.google.gwt.core.client.impl",jVt="String",$Vt="com.google.gwt.core.client",KVt="anonymous",GVt="fnStack",zVt="Unknown",XVt={195:1,3:1,4:1},qVt=1e3,VVt=65535,WVt="January",YVt="February",JVt="March",ZVt="April",tWt="May",eWt="June",nWt="July",rWt="August",iWt="September",aWt="October",oWt="November",sWt="December",cWt=1900,lWt={48:1,3:1,4:1},uWt="Before Christ",hWt="Anno Domini",fWt="Sunday",dWt="Monday",AWt="Tuesday",pWt="Wednesday",gWt="Thursday",mWt="Friday",bWt="Saturday",vWt="com.google.gwt.i18n.shared",yWt="DateTimeFormat",wWt="com.google.gwt.i18n.client",TWt="DefaultDateTimeFormatInfo",kWt={3:1,4:1,35:1,199:1},CWt="com.google.gwt.json.client",EWt=4194303,xWt=1048575,_Wt=524288,BWt=4194304,SWt=17592186044416,LWt=1e9,IWt=-17592186044416,MWt="java.io",OWt={3:1,102:1,73:1,60:1,78:1},NWt={3:1,289:1,78:1},DWt='For input string: "',FWt=1/0,PWt=-1/0,RWt=4096,QWt={3:1,4:1,364:1},UWt=65536,HWt=55296,jWt={104:1,3:1,4:1},$Wt=1e5,KWt=.3010299956639812,GWt=4294967295,zWt=4294967296,XWt="0.0",qWt={42:1},VWt={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},WWt={3:1,20:1,28:1,52:1,14:1,15:1,54:1},YWt={20:1,14:1,15:1},JWt={3:1,62:1},ZWt={182:1},tYt={3:1,4:1,83:1},eYt={3:1,4:1,20:1,28:1,14:1,53:1,21:1},nYt="delete",rYt=1.4901161193847656e-8,iYt=11102230246251565e-32,aYt=15525485,oYt=5.960464477539063e-8,sYt=16777216,cYt=16777215,lYt=", length: ",uYt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},hYt={3:1,35:1,22:1,297:1},fYt="java.util.function",dYt="java.util.logging",AYt={3:1,4:1,5:1,842:1},pYt="undefined",gYt="java.util.stream",mYt={525:1,670:1},bYt="fromIndex: ",vYt=" > toIndex: ",yYt=", toIndex: ",wYt="Index: ",TYt=", Size: ",kYt="org.eclipse.elk.alg.common",CYt={62:1},EYt="org.eclipse.elk.alg.common.compaction",xYt="Scanline/EventHandler",_Yt="org.eclipse.elk.alg.common.compaction.oned",BYt="CNode belongs to another CGroup.",SYt="ISpacingsHandler/1",LYt="The ",IYt=" instance has been finished already.",MYt="The direction ",OYt=" is not supported by the CGraph instance.",NYt="OneDimensionalCompactor",DYt="OneDimensionalCompactor/lambda$0$Type",FYt="Quadruplet",PYt="ScanlineConstraintCalculator",RYt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",QYt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",UYt="ScanlineConstraintCalculator/Timestamp",HYt="ScanlineConstraintCalculator/lambda$0$Type",jYt={169:1,45:1},$Yt="org.eclipse.elk.alg.common.compaction.options",KYt="org.eclipse.elk.core.data",GYt="org.eclipse.elk.polyomino.traversalStrategy",zYt="org.eclipse.elk.polyomino.lowLevelSort",XYt="org.eclipse.elk.polyomino.highLevelSort",qYt="org.eclipse.elk.polyomino.fill",VYt={130:1},WYt="polyomino",YYt="org.eclipse.elk.alg.common.networksimplex",JYt={177:1,3:1,4:1},ZYt="org.eclipse.elk.alg.common.nodespacing",tJt="org.eclipse.elk.alg.common.nodespacing.cellsystem",eJt="CENTER",nJt={212:1,326:1},rJt={3:1,4:1,5:1,595:1},iJt="LEFT",aJt="RIGHT",oJt="Vertical alignment cannot be null",sJt="BOTTOM",cJt="org.eclipse.elk.alg.common.nodespacing.internal",lJt="UNDEFINED",uJt=.01,hJt="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",fJt="LabelPlacer/lambda$0$Type",dJt="LabelPlacer/lambda$1$Type",AJt="portRatioOrPosition",pJt="org.eclipse.elk.alg.common.overlaps",gJt="DOWN",mJt="org.eclipse.elk.alg.common.polyomino",bJt="NORTH",vJt="EAST",yJt="SOUTH",wJt="WEST",TJt="org.eclipse.elk.alg.common.polyomino.structures",kJt="Direction",CJt="Grid is only of size ",EJt=". Requested point (",xJt=") is out of bounds.",_Jt=" Given center based coordinates were (",BJt="org.eclipse.elk.graph.properties",SJt="IPropertyHolder",LJt={3:1,94:1,134:1},IJt="org.eclipse.elk.alg.common.spore",MJt="org.eclipse.elk.alg.common.utils",OJt={209:1},NJt="org.eclipse.elk.core",DJt="Connected Components Compaction",FJt="org.eclipse.elk.alg.disco",PJt="org.eclipse.elk.alg.disco.graph",RJt="org.eclipse.elk.alg.disco.options",QJt="CompactionStrategy",UJt="org.eclipse.elk.disco.componentCompaction.strategy",HJt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",jJt="org.eclipse.elk.disco.debug.discoGraph",$Jt="org.eclipse.elk.disco.debug.discoPolys",KJt="componentCompaction",GJt="org.eclipse.elk.disco",zJt="org.eclipse.elk.spacing.componentComponent",XJt="org.eclipse.elk.edge.thickness",qJt="org.eclipse.elk.aspectRatio",VJt="org.eclipse.elk.padding",WJt="org.eclipse.elk.alg.disco.transform",YJt=1.5707963267948966,JJt=17976931348623157e292,ZJt={3:1,4:1,5:1,192:1},tZt={3:1,6:1,4:1,5:1,106:1,120:1},eZt="org.eclipse.elk.alg.force",nZt="ComponentsProcessor",rZt="ComponentsProcessor/1",iZt="org.eclipse.elk.alg.force.graph",aZt="Component Layout",oZt="org.eclipse.elk.alg.force.model",sZt="org.eclipse.elk.force.model",cZt="org.eclipse.elk.force.iterations",lZt="org.eclipse.elk.force.repulsivePower",uZt="org.eclipse.elk.force.temperature",hZt=.001,fZt="org.eclipse.elk.force.repulsion",dZt="org.eclipse.elk.alg.force.options",AZt=1.600000023841858,pZt="org.eclipse.elk.force",gZt="org.eclipse.elk.priority",mZt="org.eclipse.elk.spacing.nodeNode",bZt="org.eclipse.elk.spacing.edgeLabel",vZt="org.eclipse.elk.randomSeed",yZt="org.eclipse.elk.separateConnectedComponents",wZt="org.eclipse.elk.interactive",TZt="org.eclipse.elk.portConstraints",kZt="org.eclipse.elk.edgeLabels.inline",CZt="org.eclipse.elk.omitNodeMicroLayout",EZt="org.eclipse.elk.nodeSize.options",xZt="org.eclipse.elk.nodeSize.constraints",_Zt="org.eclipse.elk.nodeLabels.placement",BZt="org.eclipse.elk.portLabels.placement",SZt="origin",LZt="random",IZt="boundingBox.upLeft",MZt="boundingBox.lowRight",OZt="org.eclipse.elk.stress.fixed",NZt="org.eclipse.elk.stress.desiredEdgeLength",DZt="org.eclipse.elk.stress.dimension",FZt="org.eclipse.elk.stress.epsilon",PZt="org.eclipse.elk.stress.iterationLimit",RZt="org.eclipse.elk.stress",QZt="ELK Stress",UZt="org.eclipse.elk.nodeSize.minimum",HZt="org.eclipse.elk.alg.force.stress",jZt="Layered layout",$Zt="org.eclipse.elk.alg.layered",KZt="org.eclipse.elk.alg.layered.compaction.components",GZt="org.eclipse.elk.alg.layered.compaction.oned",zZt="org.eclipse.elk.alg.layered.compaction.oned.algs",XZt="org.eclipse.elk.alg.layered.compaction.recthull",qZt="org.eclipse.elk.alg.layered.components",VZt="NONE",WZt={3:1,6:1,4:1,9:1,5:1,122:1},YZt={3:1,6:1,4:1,5:1,141:1,106:1,120:1},JZt="org.eclipse.elk.alg.layered.compound",ZZt={51:1},t1t="org.eclipse.elk.alg.layered.graph",e1t=" -> ",n1t="Not supported by LGraph",r1t="Port side is undefined",i1t={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},a1t={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},o1t={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},s1t="([{\"' \t\r\n",c1t=")]}\"' \t\r\n",l1t="The given string contains parts that cannot be parsed as numbers.",u1t="org.eclipse.elk.core.math",h1t={3:1,4:1,142:1,207:1,414:1},f1t={3:1,4:1,116:1,207:1,414:1},d1t="org.eclipse.elk.layered",A1t="org.eclipse.elk.alg.layered.graph.transform",p1t="ElkGraphImporter",g1t="ElkGraphImporter/lambda$0$Type",m1t="ElkGraphImporter/lambda$1$Type",b1t="ElkGraphImporter/lambda$2$Type",v1t="ElkGraphImporter/lambda$4$Type",y1t="Node margin calculation",w1t="org.eclipse.elk.alg.layered.intermediate",T1t="ONE_SIDED_GREEDY_SWITCH",k1t="TWO_SIDED_GREEDY_SWITCH",C1t="No implementation is available for the layout processor ",E1t="IntermediateProcessorStrategy",x1t="Node '",_1t="FIRST_SEPARATE",B1t="LAST_SEPARATE",S1t="Odd port side processing",L1t="org.eclipse.elk.alg.layered.intermediate.compaction",I1t="org.eclipse.elk.alg.layered.intermediate.greedyswitch",M1t="org.eclipse.elk.alg.layered.p3order.counting",O1t={225:1},N1t="org.eclipse.elk.alg.layered.intermediate.loops",D1t="org.eclipse.elk.alg.layered.intermediate.loops.ordering",F1t="org.eclipse.elk.alg.layered.intermediate.loops.routing",P1t="org.eclipse.elk.alg.layered.intermediate.preserveorder",R1t="org.eclipse.elk.alg.layered.intermediate.wrapping",Q1t="org.eclipse.elk.alg.layered.options",U1t="INTERACTIVE",H1t="DEPTH_FIRST",j1t="EDGE_LENGTH",$1t="SELF_LOOPS",K1t="firstTryWithInitialOrder",G1t="org.eclipse.elk.layered.directionCongruency",z1t="org.eclipse.elk.layered.feedbackEdges",X1t="org.eclipse.elk.layered.interactiveReferencePoint",q1t="org.eclipse.elk.layered.mergeEdges",V1t="org.eclipse.elk.layered.mergeHierarchyEdges",W1t="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Y1t="org.eclipse.elk.layered.portSortingStrategy",J1t="org.eclipse.elk.layered.thoroughness",Z1t="org.eclipse.elk.layered.unnecessaryBendpoints",t0t="org.eclipse.elk.layered.generatePositionAndLayerIds",e0t="org.eclipse.elk.layered.cycleBreaking.strategy",n0t="org.eclipse.elk.layered.layering.strategy",r0t="org.eclipse.elk.layered.layering.layerConstraint",i0t="org.eclipse.elk.layered.layering.layerChoiceConstraint",a0t="org.eclipse.elk.layered.layering.layerId",o0t="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",s0t="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",c0t="org.eclipse.elk.layered.layering.nodePromotion.strategy",l0t="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",u0t="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",h0t="org.eclipse.elk.layered.crossingMinimization.strategy",f0t="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",d0t="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",A0t="org.eclipse.elk.layered.crossingMinimization.semiInteractive",p0t="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",g0t="org.eclipse.elk.layered.crossingMinimization.positionId",m0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",b0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",v0t="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",y0t="org.eclipse.elk.layered.nodePlacement.strategy",w0t="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",T0t="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",k0t="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",C0t="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",E0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",x0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",_0t="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",B0t="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",S0t="org.eclipse.elk.layered.edgeRouting.splines.mode",L0t="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",I0t="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",M0t="org.eclipse.elk.layered.spacing.baseValue",O0t="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",N0t="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",D0t="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",F0t="org.eclipse.elk.layered.priority.direction",P0t="org.eclipse.elk.layered.priority.shortness",R0t="org.eclipse.elk.layered.priority.straightness",Q0t="org.eclipse.elk.layered.compaction.connectedComponents",U0t="org.eclipse.elk.layered.compaction.postCompaction.strategy",H0t="org.eclipse.elk.layered.compaction.postCompaction.constraints",j0t="org.eclipse.elk.layered.highDegreeNodes.treatment",$0t="org.eclipse.elk.layered.highDegreeNodes.threshold",K0t="org.eclipse.elk.layered.highDegreeNodes.treeHeight",G0t="org.eclipse.elk.layered.wrapping.strategy",z0t="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",X0t="org.eclipse.elk.layered.wrapping.correctionFactor",q0t="org.eclipse.elk.layered.wrapping.cutting.strategy",V0t="org.eclipse.elk.layered.wrapping.cutting.cuts",W0t="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",Y0t="org.eclipse.elk.layered.wrapping.validify.strategy",J0t="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",Z0t="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",t2t="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",e2t="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",n2t="org.eclipse.elk.layered.edgeLabels.sideSelection",r2t="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",i2t="org.eclipse.elk.layered.considerModelOrder.strategy",a2t="org.eclipse.elk.layered.considerModelOrder.noModelOrder",o2t="org.eclipse.elk.layered.considerModelOrder.components",s2t="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",c2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",l2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",u2t="layering",h2t="layering.minWidth",f2t="layering.nodePromotion",d2t="crossingMinimization",A2t="org.eclipse.elk.hierarchyHandling",p2t="crossingMinimization.greedySwitch",g2t="nodePlacement",m2t="nodePlacement.bk",b2t="edgeRouting",v2t="org.eclipse.elk.edgeRouting",y2t="spacing",w2t="priority",T2t="compaction",k2t="compaction.postCompaction",C2t="Specifies whether and how post-process compaction is applied.",E2t="highDegreeNodes",x2t="wrapping",_2t="wrapping.cutting",B2t="wrapping.validify",S2t="wrapping.multiEdge",L2t="edgeLabels",I2t="considerModelOrder",M2t="org.eclipse.elk.spacing.commentComment",O2t="org.eclipse.elk.spacing.commentNode",N2t="org.eclipse.elk.spacing.edgeEdge",D2t="org.eclipse.elk.spacing.edgeNode",F2t="org.eclipse.elk.spacing.labelLabel",P2t="org.eclipse.elk.spacing.labelPortHorizontal",R2t="org.eclipse.elk.spacing.labelPortVertical",Q2t="org.eclipse.elk.spacing.labelNode",U2t="org.eclipse.elk.spacing.nodeSelfLoop",H2t="org.eclipse.elk.spacing.portPort",j2t="org.eclipse.elk.spacing.individual",$2t="org.eclipse.elk.port.borderOffset",K2t="org.eclipse.elk.noLayout",G2t="org.eclipse.elk.port.side",z2t="org.eclipse.elk.debugMode",X2t="org.eclipse.elk.alignment",q2t="org.eclipse.elk.insideSelfLoops.activate",V2t="org.eclipse.elk.insideSelfLoops.yo",W2t="org.eclipse.elk.nodeSize.fixedGraphSize",Y2t="org.eclipse.elk.direction",J2t="org.eclipse.elk.nodeLabels.padding",Z2t="org.eclipse.elk.portLabels.nextToPortIfPossible",t4t="org.eclipse.elk.portLabels.treatAsGroup",e4t="org.eclipse.elk.portAlignment.default",n4t="org.eclipse.elk.portAlignment.north",r4t="org.eclipse.elk.portAlignment.south",i4t="org.eclipse.elk.portAlignment.west",a4t="org.eclipse.elk.portAlignment.east",o4t="org.eclipse.elk.contentAlignment",s4t="org.eclipse.elk.junctionPoints",c4t="org.eclipse.elk.edgeLabels.placement",l4t="org.eclipse.elk.port.index",u4t="org.eclipse.elk.commentBox",h4t="org.eclipse.elk.hypernode",f4t="org.eclipse.elk.port.anchor",d4t="org.eclipse.elk.partitioning.activate",A4t="org.eclipse.elk.partitioning.partition",p4t="org.eclipse.elk.position",g4t="org.eclipse.elk.margins",m4t="org.eclipse.elk.spacing.portsSurrounding",b4t="org.eclipse.elk.interactiveLayout",v4t="org.eclipse.elk.core.util",y4t={3:1,4:1,5:1,593:1},w4t="NETWORK_SIMPLEX",T4t={123:1,51:1},k4t="org.eclipse.elk.alg.layered.p1cycles",C4t="org.eclipse.elk.alg.layered.p2layers",E4t={402:1,225:1},x4t={832:1,3:1,4:1},_4t="org.eclipse.elk.alg.layered.p3order",B4t="org.eclipse.elk.alg.layered.p4nodes",S4t={3:1,4:1,5:1,840:1},L4t=1e-5,I4t="org.eclipse.elk.alg.layered.p4nodes.bk",M4t="org.eclipse.elk.alg.layered.p5edges",O4t="org.eclipse.elk.alg.layered.p5edges.orthogonal",N4t="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",D4t=1e-6,F4t="org.eclipse.elk.alg.layered.p5edges.splines",P4t=.09999999999999998,R4t=1e-8,Q4t=4.71238898038469,U4t=3.141592653589793,H4t="org.eclipse.elk.alg.mrtree",j4t="org.eclipse.elk.alg.mrtree.graph",$4t="org.eclipse.elk.alg.mrtree.intermediate",K4t="Set neighbors in level",G4t="DESCENDANTS",z4t="org.eclipse.elk.mrtree.weighting",X4t="org.eclipse.elk.mrtree.searchOrder",q4t="org.eclipse.elk.alg.mrtree.options",V4t="org.eclipse.elk.mrtree",W4t="org.eclipse.elk.tree",Y4t="org.eclipse.elk.alg.radial",J4t=6.283185307179586,Z4t=5e-324,t3t="org.eclipse.elk.alg.radial.intermediate",e3t="org.eclipse.elk.alg.radial.intermediate.compaction",n3t={3:1,4:1,5:1,106:1},r3t="org.eclipse.elk.alg.radial.intermediate.optimization",i3t="No implementation is available for the layout option ",a3t="org.eclipse.elk.alg.radial.options",o3t="org.eclipse.elk.radial.orderId",s3t="org.eclipse.elk.radial.radius",c3t="org.eclipse.elk.radial.compactor",l3t="org.eclipse.elk.radial.compactionStepSize",u3t="org.eclipse.elk.radial.sorter",h3t="org.eclipse.elk.radial.wedgeCriteria",f3t="org.eclipse.elk.radial.optimizationCriteria",d3t="org.eclipse.elk.radial",A3t="org.eclipse.elk.alg.radial.p1position.wedge",p3t="org.eclipse.elk.alg.radial.sorting",g3t=5.497787143782138,m3t=3.9269908169872414,b3t=2.356194490192345,v3t="org.eclipse.elk.alg.rectpacking",y3t="org.eclipse.elk.alg.rectpacking.firstiteration",w3t="org.eclipse.elk.alg.rectpacking.options",T3t="org.eclipse.elk.rectpacking.optimizationGoal",k3t="org.eclipse.elk.rectpacking.lastPlaceShift",C3t="org.eclipse.elk.rectpacking.currentPosition",E3t="org.eclipse.elk.rectpacking.desiredPosition",x3t="org.eclipse.elk.rectpacking.onlyFirstIteration",_3t="org.eclipse.elk.rectpacking.rowCompaction",B3t="org.eclipse.elk.rectpacking.expandToAspectRatio",S3t="org.eclipse.elk.rectpacking.targetWidth",L3t="org.eclipse.elk.expandNodes",I3t="org.eclipse.elk.rectpacking",M3t="org.eclipse.elk.alg.rectpacking.util",O3t="No implementation available for ",N3t="org.eclipse.elk.alg.spore",D3t="org.eclipse.elk.alg.spore.options",F3t="org.eclipse.elk.sporeCompaction",P3t="org.eclipse.elk.underlyingLayoutAlgorithm",R3t="org.eclipse.elk.processingOrder.treeConstruction",Q3t="org.eclipse.elk.processingOrder.spanningTreeCostFunction",U3t="org.eclipse.elk.processingOrder.preferredRoot",H3t="org.eclipse.elk.processingOrder.rootSelection",j3t="org.eclipse.elk.structure.structureExtractionStrategy",$3t="org.eclipse.elk.compaction.compactionStrategy",K3t="org.eclipse.elk.compaction.orthogonal",G3t="org.eclipse.elk.overlapRemoval.maxIterations",z3t="org.eclipse.elk.overlapRemoval.runScanline",X3t="processingOrder",q3t="overlapRemoval",V3t="org.eclipse.elk.sporeOverlap",W3t="org.eclipse.elk.alg.spore.p1structure",Y3t="org.eclipse.elk.alg.spore.p2processingorder",J3t="org.eclipse.elk.alg.spore.p3execution",Z3t="Invalid index: ",t5t="org.eclipse.elk.core.alg",e5t={331:1},n5t={288:1},r5t="Make sure its type is registered with the ",i5t=" utility class.",a5t="true",o5t="false",s5t="Couldn't clone property '",c5t=.05,l5t="org.eclipse.elk.core.options",u5t=1.2999999523162842,h5t="org.eclipse.elk.box",f5t="org.eclipse.elk.box.packingMode",d5t="org.eclipse.elk.algorithm",A5t="org.eclipse.elk.resolvedAlgorithm",p5t="org.eclipse.elk.bendPoints",g5t="org.eclipse.elk.labelManager",m5t="org.eclipse.elk.scaleFactor",b5t="org.eclipse.elk.animate",v5t="org.eclipse.elk.animTimeFactor",y5t="org.eclipse.elk.layoutAncestors",w5t="org.eclipse.elk.maxAnimTime",T5t="org.eclipse.elk.minAnimTime",k5t="org.eclipse.elk.progressBar",C5t="org.eclipse.elk.validateGraph",E5t="org.eclipse.elk.validateOptions",x5t="org.eclipse.elk.zoomToFit",_5t="org.eclipse.elk.font.name",B5t="org.eclipse.elk.font.size",S5t="org.eclipse.elk.edge.type",L5t="partitioning",I5t="nodeLabels",M5t="portAlignment",O5t="nodeSize",N5t="port",D5t="portLabels",F5t="insideSelfLoops",P5t="org.eclipse.elk.fixed",R5t="org.eclipse.elk.random",Q5t="port must have a parent node to calculate the port side",U5t="The edge needs to have exactly one edge section. Found: ",H5t="org.eclipse.elk.core.util.adapters",j5t="org.eclipse.emf.ecore",$5t="org.eclipse.elk.graph",K5t="EMapPropertyHolder",G5t="ElkBendPoint",z5t="ElkGraphElement",X5t="ElkConnectableShape",q5t="ElkEdge",V5t="ElkEdgeSection",W5t="EModelElement",Y5t="ENamedElement",J5t="ElkLabel",Z5t="ElkNode",t6t="ElkPort",e6t={92:1,90:1},n6t="org.eclipse.emf.common.notify.impl",r6t="The feature '",i6t="' is not a valid changeable feature",a6t="Expecting null",o6t="' is not a valid feature",s6t="The feature ID",c6t=" is not a valid feature ID",l6t=32768,u6t={105:1,92:1,90:1,56:1,49:1,97:1},h6t="org.eclipse.emf.ecore.impl",f6t="org.eclipse.elk.graph.impl",d6t="Recursive containment not allowed for ",A6t="The datatype '",p6t="' is not a valid classifier",g6t="The value '",m6t={190:1,3:1,4:1},b6t="The class '",v6t="http://www.eclipse.org/elk/ElkGraph",y6t=1024,w6t="property",T6t="value",k6t="source",C6t="properties",E6t="identifier",x6t="height",_6t="width",B6t="parent",S6t="text",L6t="children",I6t="hierarchical",M6t="sources",O6t="targets",N6t="sections",D6t="bendPoints",F6t="outgoingShape",P6t="incomingShape",R6t="outgoingSections",Q6t="incomingSections",U6t="org.eclipse.emf.common.util",H6t="Severe implementation error in the Json to ElkGraph importer.",j6t="id",$6t="org.eclipse.elk.graph.json",K6t="Unhandled parameter types: ",G6t="startPoint",z6t="An edge must have at least one source and one target (edge id: '",X6t="').",q6t="Referenced edge section does not exist: ",V6t=" (edge id: '",W6t="target",Y6t="sourcePoint",J6t="targetPoint",Z6t="group",t9t="name",e9t="connectableShape cannot be null",n9t="edge cannot be null",r9t="Passed edge is not 'simple'.",i9t="org.eclipse.elk.graph.util",a9t="The 'no duplicates' constraint is violated",o9t="targetIndex=",s9t=", size=",c9t="sourceIndex=",l9t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},u9t={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},h9t="logging",f9t="measureExecutionTime",d9t="parser.parse.1",A9t="parser.parse.2",p9t="parser.next.1",g9t="parser.next.2",m9t="parser.next.3",b9t="parser.next.4",v9t="parser.factor.1",y9t="parser.factor.2",w9t="parser.factor.3",T9t="parser.factor.4",k9t="parser.factor.5",C9t="parser.factor.6",E9t="parser.atom.1",x9t="parser.atom.2",_9t="parser.atom.3",B9t="parser.atom.4",S9t="parser.atom.5",L9t="parser.cc.1",I9t="parser.cc.2",M9t="parser.cc.3",O9t="parser.cc.5",N9t="parser.cc.6",D9t="parser.cc.7",F9t="parser.cc.8",P9t="parser.ope.1",R9t="parser.ope.2",Q9t="parser.ope.3",U9t="parser.descape.1",H9t="parser.descape.2",j9t="parser.descape.3",$9t="parser.descape.4",K9t="parser.descape.5",G9t="parser.process.1",z9t="parser.quantifier.1",X9t="parser.quantifier.2",q9t="parser.quantifier.3",V9t="parser.quantifier.4",W9t="parser.quantifier.5",Y9t="org.eclipse.emf.common.notify",J9t={415:1,672:1},Z9t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},t8t={366:1,143:1},e8t="index=",n8t={3:1,4:1,5:1,126:1},r8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},i8t={3:1,6:1,4:1,5:1,192:1},a8t={3:1,4:1,5:1,165:1,367:1},o8t=";/?:@&=+$,",s8t="invalid authority: ",c8t="EAnnotation",l8t="ETypedElement",u8t="EStructuralFeature",h8t="EAttribute",f8t="EClassifier",d8t="EEnumLiteral",A8t="EGenericType",p8t="EOperation",g8t="EParameter",m8t="EReference",b8t="ETypeParameter",v8t="org.eclipse.emf.ecore.util",y8t={76:1},w8t={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},T8t="org.eclipse.emf.ecore.util.FeatureMap$Entry",k8t=8192,C8t=2048,E8t="byte",x8t="char",_8t="double",B8t="float",S8t="int",L8t="long",I8t="short",M8t="java.lang.Object",O8t={3:1,4:1,5:1,247:1},N8t={3:1,4:1,5:1,673:1},D8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},F8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},P8t="mixed",R8t="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Q8t="kind",U8t={3:1,4:1,5:1,674:1},H8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},j8t={20:1,28:1,52:1,14:1,15:1,58:1,69:1},$8t={47:1,125:1,279:1},K8t={72:1,332:1},G8t="The value of type '",z8t="' must be of type '",X8t=1316,q8t="http://www.eclipse.org/emf/2002/Ecore",V8t=-32768,W8t="constraints",Y8t="baseType",J8t="getEStructuralFeature",Z8t="getFeatureID",t7t="feature",e7t="getOperationID",n7t="operation",r7t="defaultValue",i7t="eTypeParameters",a7t="isInstance",o7t="getEEnumLiteral",s7t="eContainingClass",c7t={55:1},l7t={3:1,4:1,5:1,119:1},u7t="org.eclipse.emf.ecore.resource",h7t={92:1,90:1,591:1,1935:1},f7t="org.eclipse.emf.ecore.resource.impl",d7t="unspecified",A7t="simple",p7t="attribute",g7t="attributeWildcard",m7t="element",b7t="elementWildcard",v7t="collapse",y7t="itemType",w7t="namespace",T7t="##targetNamespace",k7t="whiteSpace",C7t="wildcards",E7t="http://www.eclipse.org/emf/2003/XMLType",x7t="##any",_7t="uninitialized",B7t="The multiplicity constraint is violated",S7t="org.eclipse.emf.ecore.xml.type",L7t="ProcessingInstruction",I7t="SimpleAnyType",M7t="XMLTypeDocumentRoot",O7t="org.eclipse.emf.ecore.xml.type.impl",N7t="INF",D7t="processing",F7t="ENTITIES_._base",P7t="minLength",R7t="ENTITY",Q7t="NCName",U7t="IDREFS_._base",H7t="integer",j7t="token",$7t="pattern",K7t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",G7t="\\i\\c*",z7t="[\\i-[:]][\\c-[:]]*",X7t="nonPositiveInteger",q7t="maxInclusive",V7t="NMTOKEN",W7t="NMTOKENS_._base",Y7t="nonNegativeInteger",J7t="minInclusive",Z7t="normalizedString",tte="unsignedByte",ete="unsignedInt",nte="18446744073709551615",rte="unsignedShort",ite="processingInstruction",ate="org.eclipse.emf.ecore.xml.type.internal",ote=1114111,ste="Internal Error: shorthands: \\u",cte="xml:isDigit",lte="xml:isWord",ute="xml:isSpace",hte="xml:isNameChar",fte="xml:isInitialNameChar",dte="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",Ate="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",pte="Private Use",gte="ASSIGNED",mte="\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ\ufeff\ufeff",bte="UNASSIGNED",vte={3:1,117:1},yte="org.eclipse.emf.ecore.xml.type.util",wte={3:1,4:1,5:1,368:1},Tte="org.eclipse.xtext.xbase.lib",kte="Cannot add elements to a Range",Cte="Cannot set elements in a Range",Ete="Cannot remove elements from a Range",xte="locale",_te="default",Bte="user.agent";e.goog=e.goog||{},e.goog.global=e.goog.global||e,XEt(),dIt(1,null,{},i),Cqt.Fb=function(t){return RL(this,t)},Cqt.Gb=function(){return this.gm},Cqt.Hb=function(){return EN(this)},Cqt.Ib=function(){return JT(tlt(this))+"@"+(Zct(this)>>>0).toString(16)},Cqt.equals=function(t){return this.Fb(t)},Cqt.hashCode=function(){return this.Hb()},Cqt.toString=function(){return this.Ib()},dIt(290,1,{290:1,2026:1},gct),Cqt.le=function(t){var e;return(e=new gct).i=4,e.c=t>1?AZ(this,t-1):this,e},Cqt.me=function(){return wF(this),this.b},Cqt.ne=function(){return JT(this)},Cqt.oe=function(){return wF(this),this.k},Cqt.pe=function(){return 0!=(4&this.i)},Cqt.qe=function(){return 0!=(1&this.i)},Cqt.Ib=function(){return aet(this)},Cqt.i=0;var Ste,Lte=gX(Fqt,"Object",1),Ite=gX(Fqt,"Class",290);dIt(1998,1,Pqt),gX(Rqt,"Optional",1998),dIt(1170,1998,Pqt,a),Cqt.Fb=function(t){return t===this},Cqt.Hb=function(){return 2040732332},Cqt.Ib=function(){return"Optional.absent()"},Cqt.Jb=function(t){return bX(t),ey(),Ste},gX(Rqt,"Absent",1170),dIt(628,1,{},mw),gX(Rqt,"Joiner",628);var Mte=h$(Rqt,"Predicate");dIt(582,1,{169:1,582:1,3:1,45:1},Qh),Cqt.Mb=function(t){return Pct(this,t)},Cqt.Lb=function(t){return Pct(this,t)},Cqt.Fb=function(t){var e;return!!rO(t,582)&&(e=QH(t,582),OIt(this.a,e.a))},Cqt.Hb=function(){return Qct(this.a)+306654252},Cqt.Ib=function(){return d_t(this.a)},gX(Rqt,"Predicates/AndPredicate",582),dIt(408,1998,{408:1,3:1},Uh),Cqt.Fb=function(t){var e;return!!rO(t,408)&&(e=QH(t,408),Oht(this.a,e.a))},Cqt.Hb=function(){return 1502476572+Zct(this.a)},Cqt.Ib=function(){return $qt+this.a+")"},Cqt.Jb=function(t){return new Uh(zW(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},gX(Rqt,"Present",408),dIt(198,1,Gqt),Cqt.Nb=function(t){lz(this,t)},Cqt.Qb=function(){hw()},gX(zqt,"UnmodifiableIterator",198),dIt(1978,198,Xqt),Cqt.Qb=function(){hw()},Cqt.Rb=function(t){throw Um(new pb)},Cqt.Wb=function(t){throw Um(new pb)},gX(zqt,"UnmodifiableListIterator",1978),dIt(386,1978,Xqt),Cqt.Ob=function(){return this.c<this.d},Cqt.Sb=function(){return this.c>0},Cqt.Pb=function(){if(this.c>=this.d)throw Um(new bb);return this.Xb(this.c++)},Cqt.Tb=function(){return this.c},Cqt.Ub=function(){if(this.c<=0)throw Um(new bb);return this.Xb(--this.c)},Cqt.Vb=function(){return this.c-1},Cqt.c=0,Cqt.d=0,gX(zqt,"AbstractIndexedListIterator",386),dIt(699,198,Gqt),Cqt.Ob=function(){return Jrt(this)},Cqt.Pb=function(){return E7(this)},Cqt.e=1,gX(zqt,"AbstractIterator",699),dIt(1986,1,{224:1}),Cqt.Zb=function(){return this.f||(this.f=this.ac())},Cqt.Fb=function(t){return wlt(this,t)},Cqt.Hb=function(){return Zct(this.Zb())},Cqt.dc=function(){return 0==this.gc()},Cqt.ec=function(){return AG(this)},Cqt.Ib=function(){return Udt(this.Zb())},gX(zqt,"AbstractMultimap",1986),dIt(726,1986,qqt),Cqt.$b=function(){drt(this)},Cqt._b=function(t){return zT(this,t)},Cqt.ac=function(){return new pC(this,this.c)},Cqt.ic=function(t){return this.hc()},Cqt.bc=function(){return new UO(this,this.c)},Cqt.jc=function(){return this.mc(this.hc())},Cqt.kc=function(){return new Uv(this)},Cqt.lc=function(){return jCt(this.c.vc().Nc(),new s,64,this.d)},Cqt.cc=function(t){return c6(this,t)},Cqt.fc=function(t){return Out(this,t)},Cqt.gc=function(){return this.d},Cqt.mc=function(t){return CW(),new Ud(t)},Cqt.nc=function(){return new Qv(this)},Cqt.oc=function(){return jCt(this.c.Cc().Nc(),new o,64,this.d)},Cqt.pc=function(t,e){return new z6(this,t,e,null)},Cqt.d=0,gX(zqt,"AbstractMapBasedMultimap",726),dIt(1631,726,qqt),Cqt.hc=function(){return new W6(this.a)},Cqt.jc=function(){return CW(),CW(),cne},Cqt.cc=function(t){return QH(c6(this,t),15)},Cqt.fc=function(t){return QH(Out(this,t),15)},Cqt.Zb=function(){return BW(this)},Cqt.Fb=function(t){return wlt(this,t)},Cqt.qc=function(t){return QH(c6(this,t),15)},Cqt.rc=function(t){return QH(Out(this,t),15)},Cqt.mc=function(t){return nY(QH(t,15))},Cqt.pc=function(t,e){return e4(this,t,QH(e,15),null)},gX(zqt,"AbstractListMultimap",1631),dIt(732,1,Vqt),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.c.Ob()||this.e.Ob()},Cqt.Pb=function(){var t;return this.e.Ob()||(t=QH(this.c.Pb(),42),this.b=t.cd(),this.a=QH(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},Cqt.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},gX(zqt,"AbstractMapBasedMultimap/Itr",732),dIt(1099,732,Vqt,Qv),Cqt.sc=function(t,e){return e},gX(zqt,"AbstractMapBasedMultimap/1",1099),dIt(1100,1,{},o),Cqt.Kb=function(t){return QH(t,14).Nc()},gX(zqt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),dIt(1101,732,Vqt,Uv),Cqt.sc=function(t,e){return new gC(t,e)},gX(zqt,"AbstractMapBasedMultimap/2",1101);var Ote=h$(Wqt,"Map");dIt(1967,1,Yqt),Cqt.wc=function(t){Zat(this,t)},Cqt.yc=function(t,e,n){return Jft(this,t,e,n)},Cqt.$b=function(){this.vc().$b()},Cqt.tc=function(t){return Cvt(this,t)},Cqt._b=function(t){return!!Qkt(this,t,!1)},Cqt.uc=function(t){var e,n;for(e=this.vc().Kc();e.Ob();)if(n=QH(e.Pb(),42).dd(),jS(t)===jS(n)||null!=t&&Oht(t,n))return!0;return!1},Cqt.Fb=function(t){var e,n,r;if(t===this)return!0;if(!rO(t,83))return!1;if(r=QH(t,83),this.gc()!=r.gc())return!1;for(n=r.vc().Kc();n.Ob();)if(e=QH(n.Pb(),42),!this.tc(e))return!1;return!0},Cqt.xc=function(t){return HS(Qkt(this,t,!1))},Cqt.Hb=function(){return Hst(this.vc())},Cqt.dc=function(){return 0==this.gc()},Cqt.ec=function(){return new xd(this)},Cqt.zc=function(t,e){throw Um(new Zy("Put not supported on this map"))},Cqt.Ac=function(t){kat(this,t)},Cqt.Bc=function(t){return HS(Qkt(this,t,!0))},Cqt.gc=function(){return this.vc().gc()},Cqt.Ib=function(){return Zkt(this)},Cqt.Cc=function(){return new Bd(this)},gX(Wqt,"AbstractMap",1967),dIt(1987,1967,Yqt),Cqt.bc=function(){return new CC(this)},Cqt.vc=function(){return dG(this)},Cqt.ec=function(){return this.g||(this.g=this.bc())},Cqt.Cc=function(){return this.i||(this.i=new EC(this))},gX(zqt,"Maps/ViewCachingAbstractMap",1987),dIt(389,1987,Yqt,pC),Cqt.xc=function(t){return yet(this,t)},Cqt.Bc=function(t){return Jlt(this,t)},Cqt.$b=function(){this.d==this.e.c?this.e.$b():x$(new B$(this))},Cqt._b=function(t){return pht(this.d,t)},Cqt.Ec=function(){return new Kh(this)},Cqt.Dc=function(){return this.Ec()},Cqt.Fb=function(t){return this===t||Oht(this.d,t)},Cqt.Hb=function(){return Zct(this.d)},Cqt.ec=function(){return this.e.ec()},Cqt.gc=function(){return this.d.gc()},Cqt.Ib=function(){return Udt(this.d)},gX(zqt,"AbstractMapBasedMultimap/AsMap",389);var Nte=h$(Fqt,"Iterable");dIt(28,1,Jqt),Cqt.Jc=function(t){t5(this,t)},Cqt.Lc=function(){return this.Oc()},Cqt.Nc=function(){return new f1(this,0)},Cqt.Oc=function(){return new D$(null,this.Nc())},Cqt.Fc=function(t){throw Um(new Zy("Add not supported on this collection"))},Cqt.Gc=function(t){return Qit(this,t)},Cqt.$b=function(){TV(this)},Cqt.Hc=function(t){return vAt(this,t,!1)},Cqt.Ic=function(t){return sst(this,t)},Cqt.dc=function(){return 0==this.gc()},Cqt.Mc=function(t){return vAt(this,t,!0)},Cqt.Pc=function(){return rG(this)},Cqt.Qc=function(t){return Tvt(this,t)},Cqt.Ib=function(){return MEt(this)},gX(Wqt,"AbstractCollection",28);var Dte=h$(Wqt,"Set");dIt(Zqt,28,tVt),Cqt.Nc=function(){return new f1(this,1)},Cqt.Fb=function(t){return ngt(this,t)},Cqt.Hb=function(){return Hst(this)},gX(Wqt,"AbstractSet",Zqt),dIt(1970,Zqt,tVt),gX(zqt,"Sets/ImprovedAbstractSet",1970),dIt(1971,1970,tVt),Cqt.$b=function(){this.Rc().$b()},Cqt.Hc=function(t){return npt(this,t)},Cqt.dc=function(){return this.Rc().dc()},Cqt.Mc=function(t){var e;return!!this.Hc(t)&&(e=QH(t,42),this.Rc().ec().Mc(e.cd()))},Cqt.gc=function(){return this.Rc().gc()},gX(zqt,"Maps/EntrySet",1971),dIt(1097,1971,tVt,Kh),Cqt.Hc=function(t){return dht(this.a.d.vc(),t)},Cqt.Kc=function(){return new B$(this.a)},Cqt.Rc=function(){return this.a},Cqt.Mc=function(t){var e;return!!dht(this.a.d.vc(),t)&&(e=QH(t,42),U5(this.a.e,e.cd()),!0)},Cqt.Nc=function(){return DH(this.a.d.vc().Nc(),new Gh(this.a))},gX(zqt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),dIt(1098,1,{},Gh),Cqt.Kb=function(t){return e5(this.a,QH(t,42))},gX(zqt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),dIt(730,1,Vqt,B$),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){var t;return t=QH(this.b.Pb(),42),this.a=QH(t.dd(),14),e5(this.c,t)},Cqt.Ob=function(){return this.b.Ob()},Cqt.Qb=function(){lot(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},gX(zqt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),dIt(532,1970,tVt,CC),Cqt.$b=function(){this.b.$b()},Cqt.Hc=function(t){return this.b._b(t)},Cqt.Jc=function(t){bX(t),this.b.wc(new gf(t))},Cqt.dc=function(){return this.b.dc()},Cqt.Kc=function(){return new uy(this.b.vc().Kc())},Cqt.Mc=function(t){return!!this.b._b(t)&&(this.b.Bc(t),!0)},Cqt.gc=function(){return this.b.gc()},gX(zqt,"Maps/KeySet",532),dIt(318,532,tVt,UO),Cqt.$b=function(){x$(new tC(this,this.b.vc().Kc()))},Cqt.Ic=function(t){return this.b.ec().Ic(t)},Cqt.Fb=function(t){return this===t||Oht(this.b.ec(),t)},Cqt.Hb=function(){return Zct(this.b.ec())},Cqt.Kc=function(){return new tC(this,this.b.vc().Kc())},Cqt.Mc=function(t){var e,n;return n=0,(e=QH(this.b.Bc(t),14))&&(n=e.gc(),e.$b(),this.a.d-=n),n>0},Cqt.Nc=function(){return this.b.ec().Nc()},gX(zqt,"AbstractMapBasedMultimap/KeySet",318),dIt(731,1,Vqt,tC),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.c.Ob()},Cqt.Pb=function(){return this.a=QH(this.c.Pb(),42),this.a.cd()},Cqt.Qb=function(){var t;lot(!!this.a),t=QH(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},gX(zqt,"AbstractMapBasedMultimap/KeySet/1",731),dIt(491,389,{83:1,161:1},xF),Cqt.bc=function(){return this.Sc()},Cqt.ec=function(){return this.Tc()},Cqt.Sc=function(){return new Jk(this.c,this.Uc())},Cqt.Tc=function(){return this.b||(this.b=this.Sc())},Cqt.Uc=function(){return QH(this.d,161)},gX(zqt,"AbstractMapBasedMultimap/SortedAsMap",491),dIt(542,491,eVt,_F),Cqt.bc=function(){return new Zk(this.a,QH(QH(this.d,161),171))},Cqt.Sc=function(){return new Zk(this.a,QH(QH(this.d,161),171))},Cqt.ec=function(){return QH(this.b||(this.b=new Zk(this.a,QH(QH(this.d,161),171))),271)},Cqt.Tc=function(){return QH(this.b||(this.b=new Zk(this.a,QH(QH(this.d,161),171))),271)},Cqt.Uc=function(){return QH(QH(this.d,161),171)},gX(zqt,"AbstractMapBasedMultimap/NavigableAsMap",542),dIt(490,318,nVt,Jk),Cqt.Nc=function(){return this.b.ec().Nc()},gX(zqt,"AbstractMapBasedMultimap/SortedKeySet",490),dIt(388,490,rVt,Zk),gX(zqt,"AbstractMapBasedMultimap/NavigableKeySet",388),dIt(541,28,Jqt,z6),Cqt.Fc=function(t){var e,n;return Kdt(this),n=this.d.dc(),(e=this.d.Fc(t))&&(++this.f.d,n&&yP(this)),e},Cqt.Gc=function(t){var e,n,r;return!t.dc()&&(Kdt(this),r=this.d.gc(),(e=this.d.Gc(t))&&(n=this.d.gc(),this.f.d+=n-r,0==r&&yP(this)),e)},Cqt.$b=function(){var t;Kdt(this),0!=(t=this.d.gc())&&(this.d.$b(),this.f.d-=t,LK(this))},Cqt.Hc=function(t){return Kdt(this),this.d.Hc(t)},Cqt.Ic=function(t){return Kdt(this),this.d.Ic(t)},Cqt.Fb=function(t){return t===this||(Kdt(this),Oht(this.d,t))},Cqt.Hb=function(){return Kdt(this),Zct(this.d)},Cqt.Kc=function(){return Kdt(this),new qH(this)},Cqt.Mc=function(t){var e;return Kdt(this),(e=this.d.Mc(t))&&(--this.f.d,LK(this)),e},Cqt.gc=function(){return ZS(this)},Cqt.Nc=function(){return Kdt(this),this.d.Nc()},Cqt.Ib=function(){return Kdt(this),Udt(this.d)},gX(zqt,"AbstractMapBasedMultimap/WrappedCollection",541);var Fte=h$(Wqt,"List");dIt(728,541,{20:1,28:1,14:1,15:1},sG),Cqt.ad=function(t){Rit(this,t)},Cqt.Nc=function(){return Kdt(this),this.d.Nc()},Cqt.Vc=function(t,e){var n;Kdt(this),n=this.d.dc(),QH(this.d,15).Vc(t,e),++this.a.d,n&&yP(this)},Cqt.Wc=function(t,e){var n,r,i;return!e.dc()&&(Kdt(this),i=this.d.gc(),(n=QH(this.d,15).Wc(t,e))&&(r=this.d.gc(),this.a.d+=r-i,0==i&&yP(this)),n)},Cqt.Xb=function(t){return Kdt(this),QH(this.d,15).Xb(t)},Cqt.Xc=function(t){return Kdt(this),QH(this.d,15).Xc(t)},Cqt.Yc=function(){return Kdt(this),new AM(this)},Cqt.Zc=function(t){return Kdt(this),new AW(this,t)},Cqt.$c=function(t){var e;return Kdt(this),e=QH(this.d,15).$c(t),--this.a.d,LK(this),e},Cqt._c=function(t,e){return Kdt(this),QH(this.d,15)._c(t,e)},Cqt.bd=function(t,e){return Kdt(this),e4(this.a,this.e,QH(this.d,15).bd(t,e),this.b?this.b:this)},gX(zqt,"AbstractMapBasedMultimap/WrappedList",728),dIt(1096,728,{20:1,28:1,14:1,15:1,54:1},BD),gX(zqt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),dIt(620,1,Vqt,qH),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return kV(this),this.b.Ob()},Cqt.Pb=function(){return kV(this),this.b.Pb()},Cqt.Qb=function(){tN(this)},gX(zqt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),dIt(729,620,iVt,AM,AW),Cqt.Qb=function(){tN(this)},Cqt.Rb=function(t){var e;e=0==ZS(this.a),(kV(this),QH(this.b,125)).Rb(t),++this.a.a.d,e&&yP(this.a)},Cqt.Sb=function(){return(kV(this),QH(this.b,125)).Sb()},Cqt.Tb=function(){return(kV(this),QH(this.b,125)).Tb()},Cqt.Ub=function(){return(kV(this),QH(this.b,125)).Ub()},Cqt.Vb=function(){return(kV(this),QH(this.b,125)).Vb()},Cqt.Wb=function(t){(kV(this),QH(this.b,125)).Wb(t)},gX(zqt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),dIt(727,541,nVt,MF),Cqt.Nc=function(){return Kdt(this),this.d.Nc()},gX(zqt,"AbstractMapBasedMultimap/WrappedSortedSet",727),dIt(1095,727,rVt,SI),gX(zqt,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),dIt(1094,541,tVt,OF),Cqt.Nc=function(){return Kdt(this),this.d.Nc()},gX(zqt,"AbstractMapBasedMultimap/WrappedSet",1094),dIt(1103,1,{},s),Cqt.Kb=function(t){return R6(QH(t,42))},gX(zqt,"AbstractMapBasedMultimap/lambda$1$Type",1103),dIt(1102,1,{},zh),Cqt.Kb=function(t){return new gC(this.a,t)},gX(zqt,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Pte,Rte,Qte,Ute,Hte=h$(Wqt,"Map/Entry");dIt(345,1,aVt),Cqt.Fb=function(t){var e;return!!rO(t,42)&&(e=QH(t,42),fq(this.cd(),e.cd())&&fq(this.dd(),e.dd()))},Cqt.Hb=function(){var t,e;return t=this.cd(),e=this.dd(),(null==t?0:Zct(t))^(null==e?0:Zct(e))},Cqt.ed=function(t){throw Um(new pb)},Cqt.Ib=function(){return this.cd()+"="+this.dd()},gX(zqt,oVt,345),dIt(1988,28,Jqt),Cqt.$b=function(){this.fd().$b()},Cqt.Hc=function(t){var e;return!!rO(t,42)&&(e=QH(t,42),U0(this.fd(),e.cd(),e.dd()))},Cqt.Mc=function(t){var e;return!!rO(t,42)&&(e=QH(t,42),H0(this.fd(),e.cd(),e.dd()))},Cqt.gc=function(){return this.fd().d},gX(zqt,"Multimaps/Entries",1988),dIt(733,1988,Jqt,Xh),Cqt.Kc=function(){return this.a.kc()},Cqt.fd=function(){return this.a},Cqt.Nc=function(){return this.a.lc()},gX(zqt,"AbstractMultimap/Entries",733),dIt(734,733,tVt,Hv),Cqt.Nc=function(){return this.a.lc()},Cqt.Fb=function(t){return Kxt(this,t)},Cqt.Hb=function(){return Uit(this)},gX(zqt,"AbstractMultimap/EntrySet",734),dIt(735,28,Jqt,qh),Cqt.$b=function(){this.a.$b()},Cqt.Hc=function(t){return Blt(this.a,t)},Cqt.Kc=function(){return this.a.nc()},Cqt.gc=function(){return this.a.d},Cqt.Nc=function(){return this.a.oc()},gX(zqt,"AbstractMultimap/Values",735),dIt(1989,28,{835:1,20:1,28:1,14:1}),Cqt.Jc=function(t){bX(t),wV(this).Jc(new pf(t))},Cqt.Nc=function(){var t;return jCt(t=wV(this).Nc(),new y,64|1296&t.qd(),this.a.d)},Cqt.Fc=function(t){return fw(),!0},Cqt.Gc=function(t){return bX(this),bX(t),rO(t,543)?u2(QH(t,835)):!t.dc()&<t(this,t.Kc())},Cqt.Hc=function(t){var e;return((e=QH(hht(BW(this.a),t),14))?e.gc():0)>0},Cqt.Fb=function(t){return lMt(this,t)},Cqt.Hb=function(){return Zct(wV(this))},Cqt.dc=function(){return wV(this).dc()},Cqt.Mc=function(t){return TSt(this,t,1)>0},Cqt.Ib=function(){return Udt(wV(this))},gX(zqt,"AbstractMultiset",1989),dIt(1991,1970,tVt),Cqt.$b=function(){drt(this.a.a)},Cqt.Hc=function(t){var e;return!(!rO(t,492)||(e=QH(t,416),QH(e.a.dd(),14).gc()<=0||r1(this.a,e.a.cd())!=QH(e.a.dd(),14).gc()))},Cqt.Mc=function(t){var e,n,r;return!(!rO(t,492)||(e=(n=QH(t,416)).a.cd(),0==(r=QH(n.a.dd(),14).gc())))&&kSt(this.a,e,r)},gX(zqt,"Multisets/EntrySet",1991),dIt(1109,1991,tVt,Vh),Cqt.Kc=function(){return new fy(dG(BW(this.a.a)).Kc())},Cqt.gc=function(){return BW(this.a.a).gc()},gX(zqt,"AbstractMultiset/EntrySet",1109),dIt(619,726,qqt),Cqt.hc=function(){return this.gd()},Cqt.jc=function(){return this.hd()},Cqt.cc=function(t){return this.jd(t)},Cqt.fc=function(t){return this.kd(t)},Cqt.Zb=function(){return this.f||(this.f=this.ac())},Cqt.hd=function(){return CW(),CW(),une},Cqt.Fb=function(t){return wlt(this,t)},Cqt.jd=function(t){return QH(c6(this,t),21)},Cqt.kd=function(t){return QH(Out(this,t),21)},Cqt.mc=function(t){return CW(),new Sw(QH(t,21))},Cqt.pc=function(t,e){return new OF(this,t,QH(e,21))},gX(zqt,"AbstractSetMultimap",619),dIt(1657,619,qqt),Cqt.hc=function(){return new dk(this.b)},Cqt.gd=function(){return new dk(this.b)},Cqt.jc=function(){return _X(new dk(this.b))},Cqt.hd=function(){return _X(new dk(this.b))},Cqt.cc=function(t){return QH(QH(c6(this,t),21),84)},Cqt.jd=function(t){return QH(QH(c6(this,t),21),84)},Cqt.fc=function(t){return QH(QH(Out(this,t),21),84)},Cqt.kd=function(t){return QH(QH(Out(this,t),21),84)},Cqt.mc=function(t){return rO(t,271)?_X(QH(t,271)):(CW(),new dN(QH(t,84)))},Cqt.Zb=function(){return this.f||(this.f=rO(this.c,171)?new _F(this,QH(this.c,171)):rO(this.c,161)?new xF(this,QH(this.c,161)):new pC(this,this.c))},Cqt.pc=function(t,e){return rO(e,271)?new SI(this,t,QH(e,271)):new MF(this,t,QH(e,84))},gX(zqt,"AbstractSortedSetMultimap",1657),dIt(1658,1657,qqt),Cqt.Zb=function(){return QH(QH(this.f||(this.f=rO(this.c,171)?new _F(this,QH(this.c,171)):rO(this.c,161)?new xF(this,QH(this.c,161)):new pC(this,this.c)),161),171)},Cqt.ec=function(){return QH(QH(this.i||(this.i=rO(this.c,171)?new Zk(this,QH(this.c,171)):rO(this.c,161)?new Jk(this,QH(this.c,161)):new UO(this,this.c)),84),271)},Cqt.bc=function(){return rO(this.c,171)?new Zk(this,QH(this.c,171)):rO(this.c,161)?new Jk(this,QH(this.c,161)):new UO(this,this.c)},gX(zqt,"AbstractSortedKeySortedSetMultimap",1658),dIt(2010,1,{1947:1}),Cqt.Fb=function(t){return _Tt(this,t)},Cqt.Hb=function(){return Hst(this.g||(this.g=new Wh(this)))},Cqt.Ib=function(){return Zkt(this.f||(this.f=new KO(this)))},gX(zqt,"AbstractTable",2010),dIt(665,Zqt,tVt,Wh),Cqt.$b=function(){dw()},Cqt.Hc=function(t){var e,n;return!!rO(t,468)&&(e=QH(t,682),!!(n=QH(hht(yX(this.a),zS(e.c.e,e.b)),83))&&dht(n.vc(),new gC(zS(e.c.c,e.a),K6(e.c,e.b,e.a))))},Cqt.Kc=function(){return YW(this.a)},Cqt.Mc=function(t){var e,n;return!!rO(t,468)&&(e=QH(t,682),!!(n=QH(hht(yX(this.a),zS(e.c.e,e.b)),83))&&Aht(n.vc(),new gC(zS(e.c.c,e.a),K6(e.c,e.b,e.a))))},Cqt.gc=function(){return $$(this.a)},Cqt.Nc=function(){return E2(this.a)},gX(zqt,"AbstractTable/CellSet",665),dIt(1928,28,Jqt,Yh),Cqt.$b=function(){dw()},Cqt.Hc=function(t){return lCt(this.a,t)},Cqt.Kc=function(){return JW(this.a)},Cqt.gc=function(){return $$(this.a)},Cqt.Nc=function(){return V0(this.a)},gX(zqt,"AbstractTable/Values",1928),dIt(1632,1631,qqt),gX(zqt,"ArrayListMultimapGwtSerializationDependencies",1632),dIt(513,1632,qqt,ow,o1),Cqt.hc=function(){return new W6(this.a)},Cqt.a=0,gX(zqt,"ArrayListMultimap",513),dIt(664,2010,{664:1,1947:1,3:1},mLt),gX(zqt,"ArrayTable",664),dIt(1924,386,Xqt,HO),Cqt.Xb=function(t){return new pct(this.a,t)},gX(zqt,"ArrayTable/1",1924),dIt(1925,1,{},Hh),Cqt.ld=function(t){return new pct(this.a,t)},gX(zqt,"ArrayTable/1methodref$getCell$Type",1925),dIt(2011,1,{682:1}),Cqt.Fb=function(t){var e;return t===this||!!rO(t,468)&&(e=QH(t,682),fq(zS(this.c.e,this.b),zS(e.c.e,e.b))&&fq(zS(this.c.c,this.a),zS(e.c.c,e.a))&&fq(K6(this.c,this.b,this.a),K6(e.c,e.b,e.a)))},Cqt.Hb=function(){return uut(xst(jw(Lte,1),Hqt,1,5,[zS(this.c.e,this.b),zS(this.c.c,this.a),K6(this.c,this.b,this.a)]))},Cqt.Ib=function(){return"("+zS(this.c.e,this.b)+","+zS(this.c.c,this.a)+")="+K6(this.c,this.b,this.a)},gX(zqt,"Tables/AbstractCell",2011),dIt(468,2011,{468:1,682:1},pct),Cqt.a=0,Cqt.b=0,Cqt.d=0,gX(zqt,"ArrayTable/2",468),dIt(1927,1,{},jh),Cqt.ld=function(t){return V8(this.a,t)},gX(zqt,"ArrayTable/2methodref$getValue$Type",1927),dIt(1926,386,Xqt,jO),Cqt.Xb=function(t){return V8(this.a,t)},gX(zqt,"ArrayTable/3",1926),dIt(1979,1967,Yqt),Cqt.$b=function(){x$(this.kc())},Cqt.vc=function(){return new mf(this)},Cqt.lc=function(){return new xV(this.kc(),this.gc())},gX(zqt,"Maps/IteratorBasedAbstractMap",1979),dIt(828,1979,Yqt),Cqt.$b=function(){throw Um(new pb)},Cqt._b=function(t){return VT(this.c,t)},Cqt.kc=function(){return new $O(this,this.c.b.c.gc())},Cqt.lc=function(){return b$(this.c.b.c.gc(),16,new $h(this))},Cqt.xc=function(t){var e;return(e=QH(KR(this.c,t),19))?this.nd(e.a):null},Cqt.dc=function(){return this.c.b.c.dc()},Cqt.ec=function(){return hG(this.c)},Cqt.zc=function(t,e){var n;if(!(n=QH(KR(this.c,t),19)))throw Um(new Py(this.md()+" "+t+" not in "+hG(this.c)));return this.od(n.a,e)},Cqt.Bc=function(t){throw Um(new pb)},Cqt.gc=function(){return this.c.b.c.gc()},gX(zqt,"ArrayTable/ArrayMap",828),dIt(1923,1,{},$h),Cqt.ld=function(t){return BX(this.a,t)},gX(zqt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),dIt(1921,345,aVt,sC),Cqt.cd=function(){return VO(this.a,this.b)},Cqt.dd=function(){return this.a.nd(this.b)},Cqt.ed=function(t){return this.a.od(this.b,t)},Cqt.b=0,gX(zqt,"ArrayTable/ArrayMap/1",1921),dIt(1922,386,Xqt,$O),Cqt.Xb=function(t){return BX(this.a,t)},gX(zqt,"ArrayTable/ArrayMap/2",1922),dIt(1920,828,Yqt,rz),Cqt.md=function(){return"Column"},Cqt.nd=function(t){return K6(this.b,this.a,t)},Cqt.od=function(t,e){return Est(this.b,this.a,t,e)},Cqt.a=0,gX(zqt,"ArrayTable/Row",1920),dIt(829,828,Yqt,KO),Cqt.nd=function(t){return new rz(this.a,t)},Cqt.zc=function(t,e){return QH(e,83),Aw()},Cqt.od=function(t,e){return QH(e,83),pw()},Cqt.md=function(){return"Row"},gX(zqt,"ArrayTable/RowMap",829),dIt(1120,1,uVt,cC),Cqt.qd=function(){return-262&this.a.qd()},Cqt.rd=function(){return this.a.rd()},Cqt.Nb=function(t){this.a.Nb(new rC(t,this.b))},Cqt.sd=function(t){return this.a.sd(new nC(t,this.b))},gX(zqt,"CollectSpliterators/1",1120),dIt(1121,1,hVt,nC),Cqt.td=function(t){this.a.td(this.b.Kb(t))},gX(zqt,"CollectSpliterators/1/lambda$0$Type",1121),dIt(1122,1,hVt,rC),Cqt.td=function(t){this.a.td(this.b.Kb(t))},gX(zqt,"CollectSpliterators/1/lambda$1$Type",1122),dIt(1123,1,uVt,H2),Cqt.qd=function(){return this.a},Cqt.rd=function(){return this.d&&(this.b=TM(this.b,this.d.rd())),TM(this.b,0)},Cqt.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new eC(this.e,t)),this.b=0},Cqt.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return WS(this.b,fVt)&&(this.b=ndt(this.b,1)),!0;if(this.d=null,!this.c.sd(new iC(this,this.e)))return!1}},Cqt.a=0,Cqt.b=0,gX(zqt,"CollectSpliterators/1FlatMapSpliterator",1123),dIt(1124,1,hVt,iC),Cqt.td=function(t){dR(this.a,this.b,t)},gX(zqt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),dIt(1125,1,hVt,eC),Cqt.td=function(t){oO(this.b,this.a,t)},gX(zqt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),dIt(1117,1,uVt,fR),Cqt.qd=function(){return 16464|this.b},Cqt.rd=function(){return this.a.rd()},Cqt.Nb=function(t){this.a.xe(new oC(t,this.c))},Cqt.sd=function(t){return this.a.ye(new aC(t,this.c))},Cqt.b=0,gX(zqt,"CollectSpliterators/1WithCharacteristics",1117),dIt(1118,1,dVt,aC),Cqt.ud=function(t){this.a.td(this.b.ld(t))},gX(zqt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),dIt(1119,1,dVt,oC),Cqt.ud=function(t){this.a.td(this.b.ld(t))},gX(zqt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),dIt(245,1,AVt),Cqt.wd=function(t){return this.vd(QH(t,245))},Cqt.vd=function(t){var e;return t==(Zv(),Rte)?1:t==(ty(),Pte)?-1:(Jj(),0!=(e=Oat(this.a,t.a))?e:rO(this,519)==rO(t,519)?0:rO(this,519)?1:-1)},Cqt.zd=function(){return this.a},Cqt.Fb=function(t){return Npt(this,t)},gX(zqt,"Cut",245),dIt(1761,245,AVt,Mw),Cqt.vd=function(t){return t==this?0:1},Cqt.xd=function(t){throw Um(new cb)},Cqt.yd=function(t){t.a+="+∞)"},Cqt.zd=function(){throw Um(new Ry(pVt))},Cqt.Hb=function(){return LC(),ebt(this)},Cqt.Ad=function(t){return!1},Cqt.Ib=function(){return"+∞"},gX(zqt,"Cut/AboveAll",1761),dIt(519,245,{245:1,519:1,3:1,35:1},eN),Cqt.xd=function(t){aL((t.a+="(",t),this.a)},Cqt.yd=function(t){OX(aL(t,this.a),93)},Cqt.Hb=function(){return~Zct(this.a)},Cqt.Ad=function(t){return Jj(),Oat(this.a,t)<0},Cqt.Ib=function(){return"/"+this.a+"\\"},gX(zqt,"Cut/AboveValue",519),dIt(1760,245,AVt,Ow),Cqt.vd=function(t){return t==this?0:-1},Cqt.xd=function(t){t.a+="(-∞"},Cqt.yd=function(t){throw Um(new cb)},Cqt.zd=function(){throw Um(new Ry(pVt))},Cqt.Hb=function(){return LC(),ebt(this)},Cqt.Ad=function(t){return!0},Cqt.Ib=function(){return"-∞"},gX(zqt,"Cut/BelowAll",1760),dIt(1762,245,AVt,nN),Cqt.xd=function(t){aL((t.a+="[",t),this.a)},Cqt.yd=function(t){OX(aL(t,this.a),41)},Cqt.Hb=function(){return Zct(this.a)},Cqt.Ad=function(t){return Jj(),Oat(this.a,t)<=0},Cqt.Ib=function(){return"\\"+this.a+"/"},gX(zqt,"Cut/BelowValue",1762),dIt(537,1,gVt),Cqt.Jc=function(t){t5(this,t)},Cqt.Ib=function(){return Hft(QH(zW(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},gX(zqt,"FluentIterable",537),dIt(433,537,gVt,BL),Cqt.Kc=function(){return new oG(YO(this.a.Kc(),new u))},gX(zqt,"FluentIterable/2",433),dIt(1046,537,gVt,SL),Cqt.Kc=function(){return Mz(this)},gX(zqt,"FluentIterable/3",1046),dIt(708,386,Xqt,zO),Cqt.Xb=function(t){return this.a[t].Kc()},gX(zqt,"FluentIterable/3/1",708),dIt(1972,1,{}),Cqt.Ib=function(){return Udt(this.Bd().b)},gX(zqt,"ForwardingObject",1972),dIt(1973,1972,mVt),Cqt.Bd=function(){return this.Cd()},Cqt.Jc=function(t){t5(this,t)},Cqt.Lc=function(){return this.Oc()},Cqt.Nc=function(){return new f1(this,0)},Cqt.Oc=function(){return new D$(null,this.Nc())},Cqt.Fc=function(t){return this.Cd(),ok()},Cqt.Gc=function(t){return this.Cd(),sk()},Cqt.$b=function(){this.Cd(),ck()},Cqt.Hc=function(t){return this.Cd().Hc(t)},Cqt.Ic=function(t){return this.Cd().Ic(t)},Cqt.dc=function(){return this.Cd().b.dc()},Cqt.Kc=function(){return this.Cd().Kc()},Cqt.Mc=function(t){return this.Cd(),lk()},Cqt.gc=function(){return this.Cd().b.gc()},Cqt.Pc=function(){return this.Cd().Pc()},Cqt.Qc=function(t){return this.Cd().Qc(t)},gX(zqt,"ForwardingCollection",1973),dIt(1980,28,bVt),Cqt.Kc=function(){return this.Ed()},Cqt.Fc=function(t){throw Um(new pb)},Cqt.Gc=function(t){throw Um(new pb)},Cqt.$b=function(){throw Um(new pb)},Cqt.Hc=function(t){return null!=t&&vAt(this,t,!1)},Cqt.Dd=function(){switch(this.gc()){case 0:return zX(),zX(),Qte;case 1:return zX(),new E$(bX(this.Ed().Pb()));default:return new iz(this,this.Pc())}},Cqt.Mc=function(t){throw Um(new pb)},gX(zqt,"ImmutableCollection",1980),dIt(712,1980,bVt,nb),Cqt.Kc=function(){return I8(this.a.Kc())},Cqt.Hc=function(t){return null!=t&&this.a.Hc(t)},Cqt.Ic=function(t){return this.a.Ic(t)},Cqt.dc=function(){return this.a.dc()},Cqt.Ed=function(){return I8(this.a.Kc())},Cqt.gc=function(){return this.a.gc()},Cqt.Pc=function(){return this.a.Pc()},Cqt.Qc=function(t){return this.a.Qc(t)},Cqt.Ib=function(){return Udt(this.a)},gX(zqt,"ForwardingImmutableCollection",712),dIt(152,1980,vVt),Cqt.Kc=function(){return this.Ed()},Cqt.Yc=function(){return this.Fd(0)},Cqt.Zc=function(t){return this.Fd(t)},Cqt.ad=function(t){Rit(this,t)},Cqt.Nc=function(){return new f1(this,16)},Cqt.bd=function(t,e){return this.Gd(t,e)},Cqt.Vc=function(t,e){throw Um(new pb)},Cqt.Wc=function(t,e){throw Um(new pb)},Cqt.Fb=function(t){return jIt(this,t)},Cqt.Hb=function(){return Bot(this)},Cqt.Xc=function(t){return null==t?-1:kvt(this,t)},Cqt.Ed=function(){return this.Fd(0)},Cqt.Fd=function(t){return eD(this,t)},Cqt.$c=function(t){throw Um(new pb)},Cqt._c=function(t,e){throw Um(new pb)},Cqt.Gd=function(t,e){return cht(new s1(new _C(this),t,e))},gX(zqt,"ImmutableList",152),dIt(2006,152,vVt),Cqt.Kc=function(){return I8(this.Hd().Kc())},Cqt.bd=function(t,e){return cht(this.Hd().bd(t,e))},Cqt.Hc=function(t){return null!=t&&this.Hd().Hc(t)},Cqt.Ic=function(t){return this.Hd().Ic(t)},Cqt.Fb=function(t){return Oht(this.Hd(),t)},Cqt.Xb=function(t){return zS(this,t)},Cqt.Hb=function(){return Zct(this.Hd())},Cqt.Xc=function(t){return this.Hd().Xc(t)},Cqt.dc=function(){return this.Hd().dc()},Cqt.Ed=function(){return I8(this.Hd().Kc())},Cqt.gc=function(){return this.Hd().gc()},Cqt.Gd=function(t,e){return cht(this.Hd().bd(t,e))},Cqt.Pc=function(){return this.Hd().Qc(O9(Lte,Hqt,1,this.Hd().gc(),5,1))},Cqt.Qc=function(t){return this.Hd().Qc(t)},Cqt.Ib=function(){return Udt(this.Hd())},gX(zqt,"ForwardingImmutableList",2006),dIt(714,1,wVt),Cqt.vc=function(){return uG(this)},Cqt.wc=function(t){Zat(this,t)},Cqt.ec=function(){return hG(this)},Cqt.yc=function(t,e,n){return Jft(this,t,e,n)},Cqt.Cc=function(){return this.Ld()},Cqt.$b=function(){throw Um(new pb)},Cqt._b=function(t){return null!=this.xc(t)},Cqt.uc=function(t){return this.Ld().Hc(t)},Cqt.Jd=function(){return new rb(this)},Cqt.Kd=function(){return new ib(this)},Cqt.Fb=function(t){return Ilt(this,t)},Cqt.Hb=function(){return uG(this).Hb()},Cqt.dc=function(){return 0==this.gc()},Cqt.zc=function(t,e){return gw()},Cqt.Bc=function(t){throw Um(new pb)},Cqt.Ib=function(){return uxt(this)},Cqt.Ld=function(){return this.e?this.e:this.e=this.Kd()},Cqt.c=null,Cqt.d=null,Cqt.e=null,gX(zqt,"ImmutableMap",714),dIt(715,714,wVt),Cqt._b=function(t){return VT(this,t)},Cqt.uc=function(t){return PC(this.b,t)},Cqt.Id=function(){return lht(new Zh(this))},Cqt.Jd=function(){return lht(eV(this.b))},Cqt.Kd=function(){return sQ(),new nb(Zq(this.b))},Cqt.Fb=function(t){return QC(this.b,t)},Cqt.xc=function(t){return KR(this,t)},Cqt.Hb=function(){return Zct(this.b.c)},Cqt.dc=function(){return this.b.c.dc()},Cqt.gc=function(){return this.b.c.gc()},Cqt.Ib=function(){return Udt(this.b.c)},gX(zqt,"ForwardingImmutableMap",715),dIt(1974,1973,TVt),Cqt.Bd=function(){return this.Md()},Cqt.Cd=function(){return this.Md()},Cqt.Nc=function(){return new f1(this,1)},Cqt.Fb=function(t){return t===this||this.Md().Fb(t)},Cqt.Hb=function(){return this.Md().Hb()},gX(zqt,"ForwardingSet",1974),dIt(1069,1974,TVt,Zh),Cqt.Bd=function(){return tV(this.a.b)},Cqt.Cd=function(){return tV(this.a.b)},Cqt.Hc=function(t){if(rO(t,42)&&null==QH(t,42).cd())return!1;try{return FC(tV(this.a.b),t)}catch(t){if(rO(t=hst(t),205))return!1;throw Um(t)}},Cqt.Md=function(){return tV(this.a.b)},Cqt.Qc=function(t){var e;return e=_Y(tV(this.a.b),t),tV(this.a.b).b.gc()<e.length&&LX(e,tV(this.a.b).b.gc(),null),e},gX(zqt,"ForwardingImmutableMap/1",1069),dIt(1981,1980,kVt),Cqt.Kc=function(){return this.Ed()},Cqt.Nc=function(){return new f1(this,1)},Cqt.Fb=function(t){return Kxt(this,t)},Cqt.Hb=function(){return Uit(this)},gX(zqt,"ImmutableSet",1981),dIt(703,1981,kVt),Cqt.Kc=function(){return I8(new Hd(this.a.b.Kc()))},Cqt.Hc=function(t){return null!=t&&OC(this.a,t)},Cqt.Ic=function(t){return NC(this.a,t)},Cqt.Hb=function(){return Zct(this.a.b)},Cqt.dc=function(){return this.a.b.dc()},Cqt.Ed=function(){return I8(new Hd(this.a.b.Kc()))},Cqt.gc=function(){return this.a.b.gc()},Cqt.Pc=function(){return this.a.b.Pc()},Cqt.Qc=function(t){return DC(this.a,t)},Cqt.Ib=function(){return Udt(this.a.b)},gX(zqt,"ForwardingImmutableSet",703),dIt(1975,1974,CVt),Cqt.Bd=function(){return this.b},Cqt.Cd=function(){return this.b},Cqt.Md=function(){return this.b},Cqt.Nc=function(){return new fx(this)},gX(zqt,"ForwardingSortedSet",1975),dIt(533,1979,wVt,Lbt),Cqt.Ac=function(t){kat(this,t)},Cqt.Cc=function(){return new pM(this.d||(this.d=new tf(this)))},Cqt.$b=function(){d5(this)},Cqt._b=function(t){return!!Yit(this,t,dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15))))},Cqt.uc=function(t){return Met(this,t)},Cqt.kc=function(){return new XO(this,this)},Cqt.wc=function(t){QJ(this,t)},Cqt.xc=function(t){return cnt(this,t)},Cqt.ec=function(){return new gM(this)},Cqt.zc=function(t,e){return dRt(this,t,e)},Cqt.Bc=function(t){var e;return(e=Yit(this,t,dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15)))))?(MOt(this,e),e.e=null,e.c=null,e.i):null},Cqt.gc=function(){return this.i},Cqt.pd=function(){return new pM(this.d||(this.d=new tf(this)))},Cqt.f=0,Cqt.g=0,Cqt.i=0,gX(zqt,"HashBiMap",533),dIt(534,1,Vqt),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return u4(this)},Cqt.Pb=function(){var t;if(!u4(this))throw Um(new bb);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},Cqt.Qb=function(){if(this.e.g!=this.b)throw Um(new gb);lot(!!this.f),MOt(this.e,this.f),this.b=this.e.g,this.f=null},Cqt.b=0,Cqt.d=0,Cqt.f=null,gX(zqt,"HashBiMap/Itr",534),dIt(1011,534,Vqt,XO),Cqt.Nd=function(t){return new hC(this,t)},gX(zqt,"HashBiMap/1",1011),dIt(1012,345,aVt,hC),Cqt.cd=function(){return this.a.g},Cqt.dd=function(){return this.a.i},Cqt.ed=function(t){var e,n,r;return n=this.a.i,(r=dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15))))==this.a.f&&(jS(t)===jS(n)||null!=t&&Oht(t,n))?t:(vst(!Jit(this.b.a,t,r),t),MOt(this.b.a,this.a),e=new Hq(this.a.g,this.a.a,t,r),WBt(this.b.a,e,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=e),this.a=e,n)},gX(zqt,"HashBiMap/1/MapEntry",1012),dIt(238,345,{345:1,238:1,3:1,42:1},gC),Cqt.cd=function(){return this.g},Cqt.dd=function(){return this.i},Cqt.ed=function(t){throw Um(new pb)},gX(zqt,"ImmutableEntry",238),dIt(317,238,{345:1,317:1,238:1,3:1,42:1},Hq),Cqt.a=0,Cqt.f=0;var jte,$te=gX(zqt,"HashBiMap/BiEntry",317);dIt(610,1979,wVt,tf),Cqt.Ac=function(t){kat(this,t)},Cqt.Cc=function(){return new gM(this.a)},Cqt.$b=function(){d5(this.a)},Cqt._b=function(t){return Met(this.a,t)},Cqt.kc=function(){return new qO(this,this.a)},Cqt.wc=function(t){bX(t),QJ(this.a,new ef(t))},Cqt.xc=function(t){return Grt(this,t)},Cqt.ec=function(){return new pM(this)},Cqt.zc=function(t,e){return _Qt(this.a,t,e,!1)},Cqt.Bc=function(t){var e;return(e=Jit(this.a,t,dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15)))))?(MOt(this.a,e),e.e=null,e.c=null,e.g):null},Cqt.gc=function(){return this.a.i},Cqt.pd=function(){return new gM(this.a)},gX(zqt,"HashBiMap/Inverse",610),dIt(1008,534,Vqt,qO),Cqt.Nd=function(t){return new fC(this,t)},gX(zqt,"HashBiMap/Inverse/1",1008),dIt(1009,345,aVt,fC),Cqt.cd=function(){return this.a.i},Cqt.dd=function(){return this.a.g},Cqt.ed=function(t){var e,n,r;return r=this.a.g,(e=dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15))))==this.a.a&&(jS(t)===jS(r)||null!=t&&Oht(t,r))?t:(vst(!Yit(this.b.a.a,t,e),t),MOt(this.b.a.a,this.a),n=new Hq(t,e,this.a.i,this.a.f),this.a=n,WBt(this.b.a.a,n,null),this.b.b=this.b.a.a.g,r)},gX(zqt,"HashBiMap/Inverse/1/InverseEntry",1009),dIt(611,532,tVt,pM),Cqt.Kc=function(){return new ay(this.a.a)},Cqt.Mc=function(t){var e;return!!(e=Jit(this.a.a,t,dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15)))))&&(MOt(this.a.a,e),!0)},gX(zqt,"HashBiMap/Inverse/InverseKeySet",611),dIt(1007,534,Vqt,ay),Cqt.Nd=function(t){return t.i},gX(zqt,"HashBiMap/Inverse/InverseKeySet/1",1007),dIt(1010,1,{},ef),Cqt.Od=function(t,e){tb(this.a,t,e)},gX(zqt,"HashBiMap/Inverse/lambda$0$Type",1010),dIt(609,532,tVt,gM),Cqt.Kc=function(){return new oy(this.a)},Cqt.Mc=function(t){var e;return!!(e=Yit(this.a,t,dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15)))))&&(MOt(this.a,e),e.e=null,e.c=null,!0)},gX(zqt,"HashBiMap/KeySet",609),dIt(1006,534,Vqt,oy),Cqt.Nd=function(t){return t.g},gX(zqt,"HashBiMap/KeySet/1",1006),dIt(1093,619,qqt),gX(zqt,"HashMultimapGwtSerializationDependencies",1093),dIt(265,1093,qqt,pJ),Cqt.hc=function(){return new hk(tet(this.a))},Cqt.gd=function(){return new hk(tet(this.a))},Cqt.a=2,gX(zqt,"HashMultimap",265),dIt(1999,152,vVt),Cqt.Hc=function(t){return this.Pd().Hc(t)},Cqt.dc=function(){return this.Pd().dc()},Cqt.gc=function(){return this.Pd().gc()},gX(zqt,"ImmutableAsList",1999),dIt(1931,715,wVt),Cqt.Ld=function(){return sQ(),new bw(this.a)},Cqt.Cc=function(){return sQ(),new bw(this.a)},Cqt.pd=function(){return sQ(),new bw(this.a)},gX(zqt,"ImmutableBiMap",1931),dIt(1977,1,{}),gX(zqt,"ImmutableCollection/Builder",1977),dIt(1022,703,kVt,sy),gX(zqt,"ImmutableEnumSet",1022),dIt(969,386,Xqt,hR),Cqt.Xb=function(t){return this.a.Xb(t)},gX(zqt,"ImmutableList/1",969),dIt(968,1977,{},sP),gX(zqt,"ImmutableList/Builder",968),dIt(614,198,Gqt,nf),Cqt.Ob=function(){return this.a.Ob()},Cqt.Pb=function(){return QH(this.a.Pb(),42).cd()},gX(zqt,"ImmutableMap/1",614),dIt(1041,1,{},c),Cqt.Kb=function(t){return QH(t,42).cd()},gX(zqt,"ImmutableMap/2methodref$getKey$Type",1041),dIt(1040,1,{},cP),gX(zqt,"ImmutableMap/Builder",1040),dIt(2e3,1981,kVt),Cqt.Kc=function(){return new nf(uG(this.a).Ed())},Cqt.Dd=function(){return new ab(this)},Cqt.Jc=function(t){var e,n;for(bX(t),n=this.gc(),e=0;e<n;e++)t.td(QH(fG(uG(this.a)).Xb(e),42).cd())},Cqt.Ed=function(){var t;return(t=this.c,t||(this.c=new ab(this))).Ed()},Cqt.Nc=function(){return b$(this.gc(),1296,new af(this))},gX(zqt,"IndexedImmutableSet",2e3),dIt(1180,2e3,kVt,rb),Cqt.Kc=function(){return new nf(uG(this.a).Ed())},Cqt.Hc=function(t){return this.a._b(t)},Cqt.Jc=function(t){bX(t),Zat(this.a,new rf(t))},Cqt.Ed=function(){return new nf(uG(this.a).Ed())},Cqt.gc=function(){return this.a.gc()},Cqt.Nc=function(){return DH(uG(this.a).Nc(),new c)},gX(zqt,"ImmutableMapKeySet",1180),dIt(1181,1,{},rf),Cqt.Od=function(t,e){sQ(),this.a.td(t)},gX(zqt,"ImmutableMapKeySet/lambda$0$Type",1181),dIt(1178,1980,bVt,ib),Cqt.Kc=function(){return new Fj(this)},Cqt.Hc=function(t){return null!=t&&xTt(new Fj(this),t)},Cqt.Ed=function(){return new Fj(this)},Cqt.gc=function(){return this.a.gc()},Cqt.Nc=function(){return DH(uG(this.a).Nc(),new l)},gX(zqt,"ImmutableMapValues",1178),dIt(1179,1,{},l),Cqt.Kb=function(t){return QH(t,42).dd()},gX(zqt,"ImmutableMapValues/0methodref$getValue$Type",1179),dIt(626,198,Gqt,Fj),Cqt.Ob=function(){return this.a.Ob()},Cqt.Pb=function(){return QH(this.a.Pb(),42).dd()},gX(zqt,"ImmutableMapValues/1",626),dIt(1182,1,{},af),Cqt.ld=function(t){return Uz(this.a,t)},gX(zqt,"IndexedImmutableSet/0methodref$get$Type",1182),dIt(752,1999,vVt,ab),Cqt.Pd=function(){return this.a},Cqt.Xb=function(t){return Uz(this.a,t)},Cqt.gc=function(){return this.a.a.gc()},gX(zqt,"IndexedImmutableSet/1",752),dIt(44,1,{},u),Cqt.Kb=function(t){return QH(t,20).Kc()},Cqt.Fb=function(t){return this===t},gX(zqt,"Iterables/10",44),dIt(1042,537,gVt,Pj),Cqt.Jc=function(t){bX(t),this.b.Jc(new dC(this.a,t))},Cqt.Kc=function(){return HI(this)},gX(zqt,"Iterables/4",1042),dIt(1043,1,hVt,dC),Cqt.td=function(t){Tx(this.b,this.a,t)},gX(zqt,"Iterables/4/lambda$0$Type",1043),dIt(1044,537,gVt,Rj),Cqt.Jc=function(t){bX(t),t5(this.a,new lC(t,this.b))},Cqt.Kc=function(){return YO(new SO(this.a),this.b)},gX(zqt,"Iterables/5",1044),dIt(1045,1,hVt,lC),Cqt.td=function(t){this.a.td(bI(t))},gX(zqt,"Iterables/5/lambda$0$Type",1045),dIt(1071,198,Gqt,of),Cqt.Ob=function(){return this.a.Ob()},Cqt.Pb=function(){return this.a.Pb()},gX(zqt,"Iterators/1",1071),dIt(1072,699,Gqt,uC),Cqt.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},gX(zqt,"Iterators/5",1072),dIt(487,1,Vqt),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.b.Ob()},Cqt.Pb=function(){return this.Qd(this.b.Pb())},Cqt.Qb=function(){this.b.Qb()},gX(zqt,"TransformedIterator",487),dIt(1073,487,Vqt,JO),Cqt.Qd=function(t){return this.a.Kb(t)},gX(zqt,"Iterators/6",1073),dIt(717,198,Gqt,sf),Cqt.Ob=function(){return!this.a},Cqt.Pb=function(){if(this.a)throw Um(new bb);return this.a=!0,this.b},Cqt.a=!1,gX(zqt,"Iterators/9",717),dIt(1070,386,Xqt,lK),Cqt.Xb=function(t){return this.a[this.b+t]},Cqt.b=0,gX(zqt,"Iterators/ArrayItr",1070),dIt(39,1,{39:1,47:1},oG),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return AIt(this)},Cqt.Pb=function(){return K5(this)},Cqt.Qb=function(){lot(!!this.c),this.c.Qb(),this.c=null},gX(zqt,"Iterators/ConcatenatedIterator",39),dIt(22,1,{3:1,35:1,22:1}),Cqt.wd=function(t){return Ey(this,QH(t,22))},Cqt.Fb=function(t){return this===t},Cqt.Hb=function(){return EN(this)},Cqt.Ib=function(){return dD(this)},Cqt.g=0;var Kte,Gte=gX(Fqt,"Enum",22);dIt(538,22,{538:1,3:1,35:1,22:1,47:1},rN),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return!1},Cqt.Pb=function(){throw Um(new bb)},Cqt.Qb=function(){lot(!1)};var zte,Xte=Unt(zqt,"Iterators/EmptyModifiableIterator",538,Gte,oX,nD);dIt(1834,619,qqt),gX(zqt,"LinkedHashMultimapGwtSerializationDependencies",1834),dIt(1835,1834,qqt,kut),Cqt.hc=function(){return new IN(tet(this.b))},Cqt.$b=function(){drt(this),eb(this.a,this.a)},Cqt.gd=function(){return new IN(tet(this.b))},Cqt.ic=function(t){return new klt(this,t,this.b)},Cqt.kc=function(){return new ZO(this)},Cqt.lc=function(){return new f1(QH(this.g||(this.g=new Hv(this)),21),17)},Cqt.ec=function(){return this.i||(this.i=new UO(this,this.c))},Cqt.nc=function(){return new hy(new ZO(this))},Cqt.oc=function(){return DH(new f1(QH(this.g||(this.g=new Hv(this)),21),17),new h)},Cqt.b=2,gX(zqt,"LinkedHashMultimap",1835),dIt(1838,1,{},h),Cqt.Kb=function(t){return QH(t,42).dd()},gX(zqt,"LinkedHashMultimap/0methodref$getValue$Type",1838),dIt(824,1,Vqt,ZO),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return met(this)},Cqt.Ob=function(){return this.a!=this.b.a},Cqt.Qb=function(){lot(!!this.c),H0(this.b,this.c.g,this.c.i),this.c=null},gX(zqt,"LinkedHashMultimap/1",824),dIt(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},Uq),Cqt.Rd=function(){return this.f},Cqt.Sd=function(t){this.c=t},Cqt.Td=function(t){this.f=t},Cqt.d=0;var qte,Vte=gX(zqt,"LinkedHashMultimap/ValueEntry",330);dIt(1836,1970,{2020:1,20:1,28:1,14:1,21:1},klt),Cqt.Fc=function(t){var e,n,r,i,a;for(e=(a=dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15))))&this.b.length-1,n=i=this.b[e];n;n=n.a)if(n.d==a&&fq(n.i,t))return!1;return r=new Uq(this.c,t,a,i),vw(this.d,r),r.f=this,this.d=r,eb(this.g.a.b,r),eb(r,this.g.a),this.b[e]=r,++this.f,++this.e,vTt(this),!0},Cqt.$b=function(){var t,e;for(bx(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())eb((e=QH(t,330)).b,e.e);this.a=this,this.d=this,++this.e},Cqt.Hc=function(t){var e,n;for(n=dK(idt(EVt,nV(dK(idt(null==t?0:Zct(t),xVt)),15))),e=this.b[n&this.b.length-1];e;e=e.a)if(e.d==n&&fq(e.i,t))return!0;return!1},Cqt.Jc=function(t){var e;for(bX(t),e=this.a;e!=this;e=e.Rd())t.td(QH(e,330).i)},Cqt.Rd=function(){return this.a},Cqt.Kc=function(){return new sq(this)},Cqt.Mc=function(t){return yIt(this,t)},Cqt.Sd=function(t){this.d=t},Cqt.Td=function(t){this.a=t},Cqt.gc=function(){return this.f},Cqt.e=0,Cqt.f=0,gX(zqt,"LinkedHashMultimap/ValueSet",1836),dIt(1837,1,Vqt,sq),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return fK(this),this.b!=this.c},Cqt.Pb=function(){var t,e;if(fK(this),this.b==this.c)throw Um(new bb);return e=(t=QH(this.b,330)).i,this.d=t,this.b=t.f,e},Cqt.Qb=function(){fK(this),lot(!!this.d),yIt(this.c,this.d.i),this.a=this.c.e,this.d=null},Cqt.a=0,gX(zqt,"LinkedHashMultimap/ValueSet/1",1837),dIt(766,1986,qqt,EL),Cqt.Zb=function(){return this.f||(this.f=new nx(this))},Cqt.Fb=function(t){return wlt(this,t)},Cqt.cc=function(t){return new mC(this,t)},Cqt.fc=function(t){return W4(this,t)},Cqt.$b=function(){rX(this)},Cqt._b=function(t){return UC(this,t)},Cqt.ac=function(){return new nx(this)},Cqt.bc=function(){return new bf(this)},Cqt.qc=function(t){return new mC(this,t)},Cqt.dc=function(){return!this.a},Cqt.rc=function(t){return W4(this,t)},Cqt.gc=function(){return this.d},Cqt.c=0,Cqt.d=0,gX(zqt,"LinkedListMultimap",766),dIt(52,28,MVt),Cqt.ad=function(t){Rit(this,t)},Cqt.Nc=function(){return new f1(this,16)},Cqt.Vc=function(t,e){throw Um(new Zy("Add not supported on this list"))},Cqt.Fc=function(t){return this.Vc(this.gc(),t),!0},Cqt.Wc=function(t,e){var n,r,i;for(vq(e),n=!1,i=e.Kc();i.Ob();)r=i.Pb(),this.Vc(t++,r),n=!0;return n},Cqt.$b=function(){this.Ud(0,this.gc())},Cqt.Fb=function(t){return OIt(this,t)},Cqt.Hb=function(){return Qct(this)},Cqt.Xc=function(t){return frt(this,t)},Cqt.Kc=function(){return new Cd(this)},Cqt.Yc=function(){return this.Zc(0)},Cqt.Zc=function(t){return new k2(this,t)},Cqt.$c=function(t){throw Um(new Zy("Remove not supported on this list"))},Cqt.Ud=function(t,e){var n,r;for(r=this.Zc(t),n=t;n<e;++n)r.Pb(),r.Qb()},Cqt._c=function(t,e){throw Um(new Zy("Set not supported on this list"))},Cqt.bd=function(t,e){return new s1(this,t,e)},Cqt.j=0,gX(Wqt,"AbstractList",52),dIt(1964,52,MVt),Cqt.Vc=function(t,e){FD(this,t,e)},Cqt.Wc=function(t,e){return Llt(this,t,e)},Cqt.Xb=function(t){return Dmt(this,t)},Cqt.Kc=function(){return this.Zc(0)},Cqt.$c=function(t){return twt(this,t)},Cqt._c=function(t,e){var n,r;n=this.Zc(t);try{return r=n.Pb(),n.Wb(e),r}catch(e){throw rO(e=hst(e),109)?Um(new Sy("Can't set element "+t)):Um(e)}},gX(Wqt,"AbstractSequentialList",1964),dIt(636,1964,MVt,mC),Cqt.Zc=function(t){return gN(this,t)},Cqt.gc=function(){var t;return(t=QH(DX(this.a.b,this.b),283))?t.a:0},gX(zqt,"LinkedListMultimap/1",636),dIt(1297,1970,tVt,bf),Cqt.Hc=function(t){return UC(this.a,t)},Cqt.Kc=function(){return new mit(this.a)},Cqt.Mc=function(t){return!W4(this.a,t).a.dc()},Cqt.gc=function(){return MC(this.a.b)},gX(zqt,"LinkedListMultimap/1KeySetImpl",1297),dIt(1296,1,Vqt,mit),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return hK(this),!!this.c},Cqt.Pb=function(){hK(this),oN(this.c),this.a=this.c,Tz(this.d,this.a.a);do{this.c=this.c.b}while(this.c&&!Tz(this.d,this.c.a));return this.a.a},Cqt.Qb=function(){hK(this),lot(!!this.a),x$(new x7(this.e,this.a.a)),this.a=null,this.b=this.e.c},Cqt.b=0,gX(zqt,"LinkedListMultimap/DistinctKeyIterator",1296),dIt(283,1,{283:1},sY),Cqt.a=0,gX(zqt,"LinkedListMultimap/KeyList",283),dIt(1295,345,aVt,bC),Cqt.cd=function(){return this.a},Cqt.dd=function(){return this.f},Cqt.ed=function(t){var e;return e=this.f,this.f=t,e},gX(zqt,"LinkedListMultimap/Node",1295),dIt(560,1,iVt,x7,P_t),Cqt.Nb=function(t){lz(this,t)},Cqt.Rb=function(t){this.e=vRt(this.f,this.b,t,this.c),++this.d,this.a=null},Cqt.Ob=function(){return!!this.c},Cqt.Sb=function(){return!!this.e},Cqt.Pb=function(){return wZ(this)},Cqt.Tb=function(){return this.d},Cqt.Ub=function(){return TZ(this)},Cqt.Vb=function(){return this.d-1},Cqt.Qb=function(){lot(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,JBt(this.f,this.a),this.a=null},Cqt.Wb=function(t){aN(!!this.a),this.a.f=t},Cqt.d=0,gX(zqt,"LinkedListMultimap/ValueForKeyIterator",560),dIt(1018,52,MVt),Cqt.Vc=function(t,e){this.a.Vc(t,e)},Cqt.Wc=function(t,e){return this.a.Wc(t,e)},Cqt.Hc=function(t){return this.a.Hc(t)},Cqt.Xb=function(t){return this.a.Xb(t)},Cqt.$c=function(t){return this.a.$c(t)},Cqt._c=function(t,e){return this.a._c(t,e)},Cqt.gc=function(){return this.a.gc()},gX(zqt,"Lists/AbstractListWrapper",1018),dIt(1019,1018,NVt),gX(zqt,"Lists/RandomAccessListWrapper",1019),dIt(1021,1019,NVt,_C),Cqt.Zc=function(t){return this.a.Zc(t)},gX(zqt,"Lists/1",1021),dIt(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},xC),Cqt.Vc=function(t,e){this.a.Vc(pz(this,t),e)},Cqt.$b=function(){this.a.$b()},Cqt.Xb=function(t){return this.a.Xb(IX(this,t))},Cqt.Kc=function(){return z1(this,0)},Cqt.Zc=function(t){return z1(this,t)},Cqt.$c=function(t){return this.a.$c(IX(this,t))},Cqt.Ud=function(t,e){(d2(t,e,this.a.gc()),eot(this.a.bd(pz(this,e),pz(this,t)))).$b()},Cqt._c=function(t,e){return this.a._c(IX(this,t),e)},Cqt.gc=function(){return this.a.gc()},Cqt.bd=function(t,e){return d2(t,e,this.a.gc()),eot(this.a.bd(pz(this,e),pz(this,t)))},gX(zqt,"Lists/ReverseList",131),dIt(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},ly),gX(zqt,"Lists/RandomAccessReverseList",280),dIt(1020,1,iVt,vC),Cqt.Nb=function(t){lz(this,t)},Cqt.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},Cqt.Ob=function(){return this.c.Sb()},Cqt.Sb=function(){return this.c.Ob()},Cqt.Pb=function(){return f5(this)},Cqt.Tb=function(){return pz(this.b,this.c.Tb())},Cqt.Ub=function(){if(!this.c.Ob())throw Um(new bb);return this.a=!0,this.c.Pb()},Cqt.Vb=function(){return pz(this.b,this.c.Tb())-1},Cqt.Qb=function(){lot(this.a),this.c.Qb(),this.a=!1},Cqt.Wb=function(t){aN(this.a),this.c.Wb(t)},Cqt.a=!1,gX(zqt,"Lists/ReverseList/1",1020),dIt(432,487,Vqt,uy),Cqt.Qd=function(t){return rx(t)},gX(zqt,"Maps/1",432),dIt(698,487,Vqt,hy),Cqt.Qd=function(t){return QH(t,42).dd()},gX(zqt,"Maps/2",698),dIt(962,487,Vqt,pN),Cqt.Qd=function(t){return new gC(t,PL(this.a,t))},gX(zqt,"Maps/3",962),dIt(959,1971,tVt,mf),Cqt.Jc=function(t){Ob(this.a,t)},Cqt.Kc=function(){return this.a.kc()},Cqt.Rc=function(){return this.a},Cqt.Nc=function(){return this.a.lc()},gX(zqt,"Maps/IteratorBasedAbstractMap/1",959),dIt(960,1,{},gf),Cqt.Od=function(t,e){this.a.td(t)},gX(zqt,"Maps/KeySet/lambda$0$Type",960),dIt(958,28,Jqt,EC),Cqt.$b=function(){this.a.$b()},Cqt.Hc=function(t){return this.a.uc(t)},Cqt.Jc=function(t){bX(t),this.a.wc(new uf(t))},Cqt.dc=function(){return this.a.dc()},Cqt.Kc=function(){return new hy(this.a.vc().Kc())},Cqt.Mc=function(t){var e,n;try{return vAt(this,t,!0)}catch(r){if(rO(r=hst(r),41)){for(n=this.a.vc().Kc();n.Ob();)if(fq(t,(e=QH(n.Pb(),42)).dd()))return this.a.Bc(e.cd()),!0;return!1}throw Um(r)}},Cqt.gc=function(){return this.a.gc()},gX(zqt,"Maps/Values",958),dIt(961,1,{},uf),Cqt.Od=function(t,e){this.a.td(e)},gX(zqt,"Maps/Values/lambda$0$Type",961),dIt(736,1987,Yqt,nx),Cqt.xc=function(t){return this.a._b(t)?this.a.cc(t):null},Cqt.Bc=function(t){return this.a._b(t)?this.a.fc(t):null},Cqt.$b=function(){this.a.$b()},Cqt._b=function(t){return this.a._b(t)},Cqt.Ec=function(){return new lf(this)},Cqt.Dc=function(){return this.Ec()},Cqt.dc=function(){return this.a.dc()},Cqt.ec=function(){return this.a.ec()},Cqt.gc=function(){return this.a.ec().gc()},gX(zqt,"Multimaps/AsMap",736),dIt(1104,1971,tVt,lf),Cqt.Kc=function(){return JM(this.a.a.ec(),new hf(this))},Cqt.Rc=function(){return this.a},Cqt.Mc=function(t){var e;return!!npt(this,t)&&(e=QH(t,42),yw(this.a,e.cd()),!0)},gX(zqt,"Multimaps/AsMap/EntrySet",1104),dIt(1108,1,{},hf),Cqt.Kb=function(t){return PL(this,t)},Cqt.Fb=function(t){return this===t},gX(zqt,"Multimaps/AsMap/EntrySet/1",1108),dIt(543,1989,{543:1,835:1,20:1,28:1,14:1},ff),Cqt.$b=function(){drt(this.a)},Cqt.Hc=function(t){return zT(this.a,t)},Cqt.Jc=function(t){bX(t),t5(kX(this.a),new Af(t))},Cqt.Kc=function(){return new uy(kX(this.a).a.kc())},Cqt.gc=function(){return this.a.d},Cqt.Nc=function(){return DH(kX(this.a).Nc(),new f)},gX(zqt,"Multimaps/Keys",543),dIt(1106,1,{},f),Cqt.Kb=function(t){return QH(t,42).cd()},gX(zqt,"Multimaps/Keys/0methodref$getKey$Type",1106),dIt(1105,487,Vqt,fy),Cqt.Qd=function(t){return new df(QH(t,42))},gX(zqt,"Multimaps/Keys/1",1105),dIt(1990,1,{416:1}),Cqt.Fb=function(t){var e;return!!rO(t,492)&&(e=QH(t,416),QH(this.a.dd(),14).gc()==QH(e.a.dd(),14).gc()&&fq(this.a.cd(),e.a.cd()))},Cqt.Hb=function(){var t;return(null==(t=this.a.cd())?0:Zct(t))^QH(this.a.dd(),14).gc()},Cqt.Ib=function(){var t,e;return e=vN(this.a.cd()),1==(t=QH(this.a.dd(),14).gc())?e:e+" x "+t},gX(zqt,"Multisets/AbstractEntry",1990),dIt(492,1990,{492:1,416:1},df),gX(zqt,"Multimaps/Keys/1/1",492),dIt(1107,1,hVt,Af),Cqt.td=function(t){this.a.td(QH(t,42).cd())},gX(zqt,"Multimaps/Keys/lambda$1$Type",1107),dIt(1110,1,hVt,d),Cqt.td=function(t){_$(QH(t,416))},gX(zqt,"Multiset/lambda$0$Type",1110),dIt(737,1,hVt,pf),Cqt.td=function(t){Bet(this.a,QH(t,416))},gX(zqt,"Multiset/lambda$1$Type",737),dIt(1111,1,{},v),gX(zqt,"Multisets/0methodref$add$Type",1111),dIt(738,1,{},y),Cqt.Kb=function(t){return s4(QH(t,416))},gX(zqt,"Multisets/lambda$3$Type",738),dIt(2008,1,Pqt),gX(zqt,"RangeGwtSerializationDependencies",2008),dIt(514,2008,{169:1,514:1,3:1,45:1},cbt),Cqt.Lb=function(t){return kG(this,QH(t,35))},Cqt.Mb=function(t){return kG(this,QH(t,35))},Cqt.Fb=function(t){var e;return!!rO(t,514)&&(e=QH(t,514),Npt(this.a,e.a)&&Npt(this.b,e.b))},Cqt.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},Cqt.Ib=function(){return Q4(this.a,this.b)},gX(zqt,"Range",514),dIt(778,1999,vVt,iz),Cqt.Zc=function(t){return eD(this.b,t)},Cqt.Pd=function(){return this.a},Cqt.Xb=function(t){return zS(this.b,t)},Cqt.Fd=function(t){return eD(this.b,t)},gX(zqt,"RegularImmutableAsList",778),dIt(646,2006,vVt,CY),Cqt.Hd=function(){return this.a},gX(zqt,"RegularImmutableList",646),dIt(616,715,wVt,cy),gX(zqt,"RegularImmutableMap",616),dIt(716,703,kVt,gx),gX(zqt,"RegularImmutableSet",716),dIt(1976,Zqt,tVt),Cqt.Kc=function(){return new CV(this.a,this.b)},Cqt.Fc=function(t){throw Um(new pb)},Cqt.Gc=function(t){throw Um(new pb)},Cqt.$b=function(){throw Um(new pb)},Cqt.Mc=function(t){throw Um(new pb)},gX(zqt,"Sets/SetView",1976),dIt(963,1976,tVt,wC),Cqt.Kc=function(){return new CV(this.a,this.b)},Cqt.Hc=function(t){return xK(this.a,t)&&this.b.Hc(t)},Cqt.Ic=function(t){return sst(this.a,t)&&this.b.Ic(t)},Cqt.dc=function(){return Pmt(this.b,this.a)},Cqt.Lc=function(){return SV(new D$(null,new f1(this.a,1)),new yf(this.b))},Cqt.gc=function(){return _ot(this)},Cqt.Oc=function(){return SV(new D$(null,new f1(this.a,1)),new vf(this.b))},gX(zqt,"Sets/2",963),dIt(700,699,Gqt,CV),Cqt.Yb=function(){for(var t;vM(this.a);)if(t=a3(this.a),this.c.Hc(t))return t;return this.e=2,null},gX(zqt,"Sets/2/1",700),dIt(964,1,DVt,vf),Cqt.Mb=function(t){return this.a.Hc(t)},gX(zqt,"Sets/2/4methodref$contains$Type",964),dIt(965,1,DVt,yf),Cqt.Mb=function(t){return this.a.Hc(t)},gX(zqt,"Sets/2/5methodref$contains$Type",965),dIt(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},hJ),Cqt.Bd=function(){return this.b},Cqt.Cd=function(){return this.b},Cqt.Md=function(){return this.b},Cqt.Jc=function(t){this.a.Jc(t)},Cqt.Lc=function(){return this.a.Lc()},Cqt.Oc=function(){return this.a.Oc()},gX(zqt,"Sets/UnmodifiableNavigableSet",607),dIt(1932,1931,wVt,jq),Cqt.Ld=function(){return sQ(),new bw(this.a)},Cqt.Cc=function(){return sQ(),new bw(this.a)},Cqt.pd=function(){return sQ(),new bw(this.a)},gX(zqt,"SingletonImmutableBiMap",1932),dIt(647,2006,vVt,E$),Cqt.Hd=function(){return this.a},gX(zqt,"SingletonImmutableList",647),dIt(350,1981,kVt,bw),Cqt.Kc=function(){return new sf(this.a)},Cqt.Hc=function(t){return Oht(this.a,t)},Cqt.Ed=function(){return new sf(this.a)},Cqt.gc=function(){return 1},gX(zqt,"SingletonImmutableSet",350),dIt(1115,1,{},w),Cqt.Kb=function(t){return QH(t,164)},gX(zqt,"Streams/lambda$0$Type",1115),dIt(1116,1,FVt,wf),Cqt.Vd=function(){Q5(this.a)},gX(zqt,"Streams/lambda$1$Type",1116),dIt(1659,1658,qqt,pY),Cqt.Zb=function(){return QH(QH(this.f||(this.f=rO(this.c,171)?new _F(this,QH(this.c,171)):rO(this.c,161)?new xF(this,QH(this.c,161)):new pC(this,this.c)),161),171)},Cqt.hc=function(){return new dk(this.b)},Cqt.gd=function(){return new dk(this.b)},Cqt.ec=function(){return QH(QH(this.i||(this.i=rO(this.c,171)?new Zk(this,QH(this.c,171)):rO(this.c,161)?new Jk(this,QH(this.c,161)):new UO(this,this.c)),84),271)},Cqt.ac=function(){return rO(this.c,171)?new _F(this,QH(this.c,171)):rO(this.c,161)?new xF(this,QH(this.c,161)):new pC(this,this.c)},Cqt.ic=function(t){return null==t&&this.a.ue(t,t),new dk(this.b)},gX(zqt,"TreeMultimap",1659),dIt(78,1,{3:1,78:1}),Cqt.Wd=function(t){return new Error(t)},Cqt.Xd=function(){return this.e},Cqt.Yd=function(){return RAt(LV(Iz((null==this.k&&(this.k=O9(Yte,cVt,78,0,0,1)),this.k)),new D))},Cqt.Zd=function(){return this.f},Cqt.$d=function(){return this.g},Cqt._d=function(){by(this,h2(this.Wd(xY(this,this.g)))),ob(this)},Cqt.Ib=function(){return xY(this,this.$d())},Cqt.e=QVt,Cqt.i=!1,Cqt.n=!0;var Wte,Yte=gX(Fqt,"Throwable",78);dIt(102,78,{3:1,102:1,78:1}),gX(Fqt,"Exception",102),dIt(60,102,UVt,sb,dy),gX(Fqt,"RuntimeException",60),dIt(598,60,UVt),gX(Fqt,"JsException",598),dIt(863,598,UVt),gX(HVt,"JavaScriptExceptionBase",863),dIt(477,863,{477:1,3:1,102:1,60:1,78:1},wut),Cqt.$d=function(){return gkt(this),this.c},Cqt.ae=function(){return jS(this.b)===jS(Wte)?null:this.b},gX($Vt,"JavaScriptException",477);var Jte,Zte=gX($Vt,"JavaScriptObject$",0);dIt(1948,1,{}),gX($Vt,"Scheduler",1948);var tee,eee,nee,ree,iee=0,aee=0,oee=-1;dIt(890,1948,{},T),gX(HVt,"SchedulerImpl",890),dIt(1960,1,{}),gX(HVt,"StackTraceCreator/Collector",1960),dIt(864,1960,{},k),Cqt.be=function(t){var e={},n=[];t[GVt]=n;for(var r=arguments.callee.caller;r;){var i=(EY(),r.name||(r.name=qnt(r.toString())));n.push(i);var a,o,s=":"+i,c=e[s];if(c)for(a=0,o=c.length;a<o;a++)if(c[a]===r)return;(c||(e[s]=[])).push(r),r=r.caller}},Cqt.ce=function(t){var e,n,r,i;for(EY(),n=(r=t&&t[GVt]?t[GVt]:[]).length,i=O9(Qee,cVt,310,n,0,1),e=0;e<n;e++)i[e]=new EV(r[e],null,-1);return i},gX(HVt,"StackTraceCreator/CollectorLegacy",864),dIt(1961,1960,{}),Cqt.be=function(t){},Cqt.de=function(t,e,n,r){return new EV(e,t+"@"+r,n<0?-1:n)},Cqt.ce=function(t){var e,n,r,i,a,o;if(i=hyt(t),a=O9(Qee,cVt,310,0,0,1),e=0,0==(r=i.length))return a;for(mR((o=S$t(this,i[0])).d,KVt)||(a[e++]=o),n=1;n<r;n++)a[e++]=S$t(this,i[n]);return a},gX(HVt,"StackTraceCreator/CollectorModern",1961),dIt(865,1961,{},p),Cqt.de=function(t,e,n,r){return new EV(e,t,-1)},gX(HVt,"StackTraceCreator/CollectorModernNoSourceMap",865),dIt(1050,1,{}),gX(vWt,yWt,1050),dIt(615,1050,{615:1},$X),gX(wWt,yWt,615),dIt(2001,1,{}),gX(vWt,TWt,2001),dIt(2002,2001,{}),gX(wWt,TWt,2002),dIt(1090,1,{},g),gX(wWt,"LocaleInfo",1090),dIt(1918,1,{},m),Cqt.a=0,gX(wWt,"TimeZone",1918),dIt(1258,2002,{},A),gX("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),dIt(434,1,{434:1},XH),Cqt.a=!1,Cqt.b=0,gX(vWt,"DateTimeFormat/PatternPart",434),dIt(199,1,kWt,SC,mct,EF),Cqt.wd=function(t){return W0(this,QH(t,199))},Cqt.Fb=function(t){return rO(t,199)&&qS(uot(this.q.getTime()),uot(QH(t,199).q.getTime()))},Cqt.Hb=function(){var t;return dK(n0(t=uot(this.q.getTime()),yG(t,32)))},Cqt.Ib=function(){var t,n,r;return t=((r=-this.q.getTimezoneOffset())>=0?"+":"")+(r/60|0),n=KL(e.Math.abs(r)%60),(gEt(),pne)[this.q.getDay()]+" "+gne[this.q.getMonth()]+" "+KL(this.q.getDate())+" "+KL(this.q.getHours())+":"+KL(this.q.getMinutes())+":"+KL(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var see,cee,lee,uee,hee,fee,dee,Aee,pee,gee,mee,bee=gX(Wqt,"Date",199);dIt(1915,199,kWt,Wwt),Cqt.a=!1,Cqt.b=0,Cqt.c=0,Cqt.d=0,Cqt.e=0,Cqt.f=0,Cqt.g=!1,Cqt.i=0,Cqt.j=0,Cqt.k=0,Cqt.n=0,Cqt.o=0,Cqt.p=0,gX("com.google.gwt.i18n.shared.impl","DateRecord",1915),dIt(1966,1,{}),Cqt.fe=function(){return null},Cqt.ge=function(){return null},Cqt.he=function(){return null},Cqt.ie=function(){return null},Cqt.je=function(){return null},gX(CWt,"JSONValue",1966),dIt(216,1966,{216:1},xf,Tf),Cqt.Fb=function(t){return!!rO(t,216)&&g0(this.a,QH(t,216).a)},Cqt.ee=function(){return Hm},Cqt.Hb=function(){return ZW(this.a)},Cqt.fe=function(){return this},Cqt.Ib=function(){var t,e,n;for(n=new uN("["),e=0,t=this.a.length;e<t;e++)e>0&&(n.a+=","),aL(n,dtt(this,e));return n.a+="]",n.a},gX(CWt,"JSONArray",216),dIt(483,1966,{483:1},kf),Cqt.ee=function(){return jm},Cqt.ge=function(){return this},Cqt.Ib=function(){return cN(),""+this.a},Cqt.a=!1,gX(CWt,"JSONBoolean",483),dIt(985,60,UVt,Ay),gX(CWt,"JSONException",985),dIt(1023,1966,{},b),Cqt.ee=function(){return Xm},Cqt.Ib=function(){return Kqt},gX(CWt,"JSONNull",1023),dIt(258,1966,{258:1},Cf),Cqt.Fb=function(t){return!!rO(t,258)&&this.a==QH(t,258).a},Cqt.ee=function(){return $m},Cqt.Hb=function(){return XL(this.a)},Cqt.he=function(){return this},Cqt.Ib=function(){return this.a+""},Cqt.a=0,gX(CWt,"JSONNumber",258),dIt(183,1966,{183:1},py,Ef),Cqt.Fb=function(t){return!!rO(t,183)&&g0(this.a,QH(t,183).a)},Cqt.ee=function(){return Km},Cqt.Hb=function(){return ZW(this.a)},Cqt.ie=function(){return this},Cqt.Ib=function(){var t,e,n,r,i,a;for(a=new uN("{"),t=!0,r=0,i=(n=wit(this,O9(Vee,cVt,2,0,6,1))).length;r<i;++r)e=n[r],t?t=!1:a.a+=Qqt,oL(a,bLt(e)),a.a+=":",aL(a,$J(this,e));return a.a+="}",a.a},gX(CWt,"JSONObject",183),dIt(596,Zqt,tVt,TC),Cqt.Hc=function(t){return GS(t)&&$w(this.a,CF(t))},Cqt.Kc=function(){return new Cd(new Wy(this.b))},Cqt.gc=function(){return this.b.length},gX(CWt,"JSONObject/1",596),dIt(204,1966,{204:1},jX),Cqt.Fb=function(t){return!!rO(t,204)&&mR(this.a,QH(t,204).a)},Cqt.ee=function(){return Gm},Cqt.Hb=function(){return mbt(this.a)},Cqt.je=function(){return this},Cqt.Ib=function(){return bLt(this.a)},gX(CWt,"JSONString",204),dIt(1962,1,{525:1}),gX(MWt,"OutputStream",1962),dIt(1963,1962,{525:1}),gX(MWt,"FilterOutputStream",1963),dIt(866,1963,{525:1},I),gX(MWt,"PrintStream",866),dIt(418,1,{475:1}),Cqt.Ib=function(){return this.a},gX(Fqt,"AbstractStringBuilder",418),dIt(529,60,UVt,By),gX(Fqt,"ArithmeticException",529),dIt(73,60,OWt,lb,Sy),gX(Fqt,"IndexOutOfBoundsException",73),dIt(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Cb,Tw),gX(Fqt,"ArrayIndexOutOfBoundsException",320),dIt(528,60,UVt,ub,Ly),gX(Fqt,"ArrayStoreException",528),dIt(289,78,NWt,Iy),gX(Fqt,"Error",289),dIt(194,289,NWt,cb,A5),gX(Fqt,"AssertionError",194),_qt={3:1,476:1,35:1};var vee,yee=gX(Fqt,"Boolean",476);dIt(236,1,{3:1,236:1}),gX(Fqt,"Number",236),dIt(217,236,{3:1,217:1,35:1,236:1},Ld),Cqt.wd=function(t){return Rw(this,QH(t,217))},Cqt.ke=function(){return this.a},Cqt.Fb=function(t){return rO(t,217)&&QH(t,217).a==this.a},Cqt.Hb=function(){return this.a},Cqt.Ib=function(){return""+this.a},Cqt.a=0;var wee,Tee,kee=gX(Fqt,"Byte",217);dIt(172,1,{3:1,172:1,35:1},Id),Cqt.wd=function(t){return Qw(this,QH(t,172))},Cqt.Fb=function(t){return rO(t,172)&&QH(t,172).a==this.a},Cqt.Hb=function(){return this.a},Cqt.Ib=function(){return String.fromCharCode(this.a)},Cqt.a=0;var Cee,Eee=gX(Fqt,"Character",172);dIt(205,60,{3:1,205:1,102:1,60:1,78:1},hb,Fy),gX(Fqt,"ClassCastException",205),Bqt={3:1,35:1,333:1,236:1};var xee=gX(Fqt,"Double",333);dIt(155,236,{3:1,35:1,155:1,236:1},Md,Nb),Cqt.wd=function(t){return QL(this,QH(t,155))},Cqt.ke=function(){return this.a},Cqt.Fb=function(t){return rO(t,155)&&gR(this.a,QH(t,155).a)},Cqt.Hb=function(){return xJ(this.a)},Cqt.Ib=function(){return""+this.a},Cqt.a=0;var _ee=gX(Fqt,"Float",155);dIt(32,60,{3:1,102:1,32:1,60:1,78:1},fb,Py,Qlt),gX(Fqt,"IllegalArgumentException",32),dIt(71,60,UVt,db,Ry),gX(Fqt,"IllegalStateException",71),dIt(19,236,{3:1,35:1,19:1,236:1},Od),Cqt.wd=function(t){return UL(this,QH(t,19))},Cqt.ke=function(){return this.a},Cqt.Fb=function(t){return rO(t,19)&&QH(t,19).a==this.a},Cqt.Hb=function(){return this.a},Cqt.Ib=function(){return""+this.a},Cqt.a=0;var Bee,See,Lee=gX(Fqt,"Integer",19);dIt(162,236,{3:1,35:1,162:1,236:1},Nd),Cqt.wd=function(t){return HL(this,QH(t,162))},Cqt.ke=function(){return y2(this.a)},Cqt.Fb=function(t){return rO(t,162)&&qS(QH(t,162).a,this.a)},Cqt.Hb=function(){return dK(this.a)},Cqt.Ib=function(){return""+gG(this.a)},Cqt.a=0;var Iee,Mee,Oee,Nee,Dee,Fee=gX(Fqt,"Long",162);dIt(2039,1,{}),dIt(1831,60,UVt,Qy),gX(Fqt,"NegativeArraySizeException",1831),dIt(173,598,{3:1,102:1,173:1,60:1,78:1},Ab,Uy),Cqt.Wd=function(t){return new TypeError(t)},gX(Fqt,"NullPointerException",173),dIt(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},kw),gX(Fqt,"NumberFormatException",127),dIt(184,236,{3:1,35:1,236:1,184:1},Dd),Cqt.wd=function(t){return Uw(this,QH(t,184))},Cqt.ke=function(){return this.a},Cqt.Fb=function(t){return rO(t,184)&&QH(t,184).a==this.a},Cqt.Hb=function(){return this.a},Cqt.Ib=function(){return""+this.a},Cqt.a=0;var Pee,Ree=gX(Fqt,"Short",184);dIt(310,1,{3:1,310:1},EV),Cqt.Fb=function(t){var e;return!!rO(t,310)&&(e=QH(t,310),this.c==e.c&&this.d==e.d&&this.a==e.a&&this.b==e.b)},Cqt.Hb=function(){return uut(xst(jw(Lte,1),Hqt,1,5,[nft(this.c),this.a,this.d,this.b]))},Cqt.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},Cqt.c=0;var Qee=gX(Fqt,"StackTraceElement",310);Sqt={3:1,475:1,35:1,2:1};var Uee,Hee,jee,$ee,Kee,Gee,zee,Xee,qee,Vee=gX(Fqt,jVt,2);dIt(107,418,{475:1},Cw,Ew,lN),gX(Fqt,"StringBuffer",107),dIt(100,418,{475:1},xw,_w,uN),gX(Fqt,"StringBuilder",100),dIt(687,73,OWt,Bw),gX(Fqt,"StringIndexOutOfBoundsException",687),dIt(2043,1,{}),dIt(844,1,{},D),Cqt.Kb=function(t){return QH(t,78).e},gX(Fqt,"Throwable/lambda$0$Type",844),dIt(41,60,{3:1,102:1,60:1,78:1,41:1},pb,Zy),gX(Fqt,"UnsupportedOperationException",41),dIt(240,236,{3:1,35:1,236:1,240:1},vtt,fk),Cqt.wd=function(t){return YQt(this,QH(t,240))},Cqt.ke=function(){return fxt(e$t(this))},Cqt.Fb=function(t){var e;return this===t||!!rO(t,240)&&(e=QH(t,240),this.e==e.e&&0==YQt(this,e))},Cqt.Hb=function(){var t;return 0!=this.b?this.b:this.a<54?(t=uot(this.f),this.b=dK(t0(t,-1)),this.b=33*this.b+dK(t0(vG(t,32),-1)),this.b=17*this.b+xJ(this.e),this.b):(this.b=17*Put(this.c)+xJ(this.e),this.b)},Cqt.Ib=function(){return e$t(this)},Cqt.a=0,Cqt.b=0,Cqt.d=0,Cqt.e=0,Cqt.f=0;var Wee,Yee,Jee,Zee,tne,ene,nne=gX("java.math","BigDecimal",240);dIt(91,236,{3:1,35:1,236:1,91:1},Fmt,G6,uz,mkt,_gt,LI),Cqt.wd=function(t){return tgt(this,QH(t,91))},Cqt.ke=function(){return fxt(jXt(this,0))},Cqt.Fb=function(t){return cAt(this,t)},Cqt.Hb=function(){return Put(this)},Cqt.Ib=function(){return jXt(this,0)},Cqt.b=-2,Cqt.c=0,Cqt.d=0,Cqt.e=0;var rne,ine,ane,one,sne=gX("java.math","BigInteger",91);dIt(488,1967,Yqt),Cqt.$b=function(){Lz(this)},Cqt._b=function(t){return cz(this,t)},Cqt.uc=function(t){return Mlt(this,t,this.g)||Mlt(this,t,this.f)},Cqt.vc=function(){return new Ed(this)},Cqt.xc=function(t){return DX(this,t)},Cqt.zc=function(t,e){return Xq(this,t,e)},Cqt.Bc=function(t){return g6(this,t)},Cqt.gc=function(){return MC(this)},gX(Wqt,"AbstractHashMap",488),dIt(261,Zqt,tVt,Ed),Cqt.$b=function(){this.a.$b()},Cqt.Hc=function(t){return m2(this,t)},Cqt.Kc=function(){return new olt(this.a)},Cqt.Mc=function(t){var e;return!!m2(this,t)&&(e=QH(t,42).cd(),this.a.Bc(e),!0)},Cqt.gc=function(){return this.a.gc()},gX(Wqt,"AbstractHashMap/EntrySet",261),dIt(262,1,Vqt,olt),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return tnt(this)},Cqt.Ob=function(){return this.b},Cqt.Qb=function(){o8(this)},Cqt.b=!1,gX(Wqt,"AbstractHashMap/EntrySetIterator",262),dIt(417,1,Vqt,Cd),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return ix(this)},Cqt.Pb=function(){return mW(this)},Cqt.Qb=function(){lq(this)},Cqt.b=0,Cqt.c=-1,gX(Wqt,"AbstractList/IteratorImpl",417),dIt(96,417,iVt,k2),Cqt.Qb=function(){lq(this)},Cqt.Rb=function(t){bP(this,t)},Cqt.Sb=function(){return this.b>0},Cqt.Tb=function(){return this.b},Cqt.Ub=function(){return ED(this.b>0),this.a.Xb(this.c=--this.b)},Cqt.Vb=function(){return this.b-1},Cqt.Wb=function(t){kD(-1!=this.c),this.a._c(this.c,t)},gX(Wqt,"AbstractList/ListIteratorImpl",96),dIt(219,52,MVt,s1),Cqt.Vc=function(t,e){IZ(t,this.b),this.c.Vc(this.a+t,e),++this.b},Cqt.Xb=function(t){return u1(t,this.b),this.c.Xb(this.a+t)},Cqt.$c=function(t){var e;return u1(t,this.b),e=this.c.$c(this.a+t),--this.b,e},Cqt._c=function(t,e){return u1(t,this.b),this.c._c(this.a+t,e)},Cqt.gc=function(){return this.b},Cqt.a=0,Cqt.b=0,gX(Wqt,"AbstractList/SubList",219),dIt(384,Zqt,tVt,xd),Cqt.$b=function(){this.a.$b()},Cqt.Hc=function(t){return this.a._b(t)},Cqt.Kc=function(){return new _d(this.a.vc().Kc())},Cqt.Mc=function(t){return!!this.a._b(t)&&(this.a.Bc(t),!0)},Cqt.gc=function(){return this.a.gc()},gX(Wqt,"AbstractMap/1",384),dIt(691,1,Vqt,_d),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.a.Ob()},Cqt.Pb=function(){return QH(this.a.Pb(),42).cd()},Cqt.Qb=function(){this.a.Qb()},gX(Wqt,"AbstractMap/1/1",691),dIt(226,28,Jqt,Bd),Cqt.$b=function(){this.a.$b()},Cqt.Hc=function(t){return this.a.uc(t)},Cqt.Kc=function(){return new Fd(this.a.vc().Kc())},Cqt.gc=function(){return this.a.gc()},gX(Wqt,"AbstractMap/2",226),dIt(294,1,Vqt,Fd),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.a.Ob()},Cqt.Pb=function(){return QH(this.a.Pb(),42).dd()},Cqt.Qb=function(){this.a.Qb()},gX(Wqt,"AbstractMap/2/1",294),dIt(484,1,{484:1,42:1}),Cqt.Fb=function(t){var e;return!!rO(t,42)&&(e=QH(t,42),rV(this.d,e.cd())&&rV(this.e,e.dd()))},Cqt.cd=function(){return this.d},Cqt.dd=function(){return this.e},Cqt.Hb=function(){return FI(this.d)^FI(this.e)},Cqt.ed=function(t){return pP(this,t)},Cqt.Ib=function(){return this.d+"="+this.e},gX(Wqt,"AbstractMap/AbstractEntry",484),dIt(383,484,{484:1,383:1,42:1},Ex),gX(Wqt,"AbstractMap/SimpleEntry",383),dIt(1984,1,qWt),Cqt.Fb=function(t){var e;return!!rO(t,42)&&(e=QH(t,42),rV(this.cd(),e.cd())&&rV(this.dd(),e.dd()))},Cqt.Hb=function(){return FI(this.cd())^FI(this.dd())},Cqt.Ib=function(){return this.cd()+"="+this.dd()},gX(Wqt,oVt,1984),dIt(1992,1967,eVt),Cqt.tc=function(t){return H5(this,t)},Cqt._b=function(t){return NR(this,t)},Cqt.vc=function(){return new Qd(this)},Cqt.xc=function(t){return HS(hlt(this,t))},Cqt.ec=function(){return new Pd(this)},gX(Wqt,"AbstractNavigableMap",1992),dIt(739,Zqt,tVt,Qd),Cqt.Hc=function(t){return rO(t,42)&&H5(this.b,QH(t,42))},Cqt.Kc=function(){return new QP(this.b)},Cqt.Mc=function(t){var e;return!!rO(t,42)&&(e=QH(t,42),$9(this.b,e))},Cqt.gc=function(){return this.b.c},gX(Wqt,"AbstractNavigableMap/EntrySet",739),dIt(493,Zqt,rVt,Pd),Cqt.Nc=function(){return new fx(this)},Cqt.$b=function(){my(this.a)},Cqt.Hc=function(t){return NR(this.a,t)},Cqt.Kc=function(){return new Rd(new QP(new ON(this.a).b))},Cqt.Mc=function(t){return!!NR(this.a,t)&&(LJ(this.a,t),!0)},Cqt.gc=function(){return this.a.c},gX(Wqt,"AbstractNavigableMap/NavigableKeySet",493),dIt(494,1,Vqt,Rd),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return ix(this.a.a)},Cqt.Pb=function(){return mD(this.a).cd()},Cqt.Qb=function(){tQ(this.a)},gX(Wqt,"AbstractNavigableMap/NavigableKeySet/1",494),dIt(2004,28,Jqt),Cqt.Fc=function(t){return R9(eEt(this,t)),!0},Cqt.Gc=function(t){return vq(t),gj(t!=this,"Can't add a queue to itself"),Qit(this,t)},Cqt.$b=function(){for(;null!=mtt(this););},gX(Wqt,"AbstractQueue",2004),dIt(302,28,{4:1,20:1,28:1,14:1},Im,d1),Cqt.Fc=function(t){return f4(this,t),!0},Cqt.$b=function(){o3(this)},Cqt.Hc=function(t){return dst(new hV(this),t)},Cqt.dc=function(){return zy(this)},Cqt.Kc=function(){return new hV(this)},Cqt.Mc=function(t){return jJ(new hV(this),t)},Cqt.gc=function(){return this.c-this.b&this.a.length-1},Cqt.Nc=function(){return new f1(this,272)},Cqt.Qc=function(t){var e;return e=this.c-this.b&this.a.length-1,t.length<e&&(t=Hw(new Array(e),t)),oit(this,t,e),t.length>e&&LX(t,e,null),t},Cqt.b=0,Cqt.c=0,gX(Wqt,"ArrayDeque",302),dIt(446,1,Vqt,hV),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.a!=this.b},Cqt.Pb=function(){return Rut(this)},Cqt.Qb=function(){ert(this)},Cqt.a=0,Cqt.b=0,Cqt.c=-1,gX(Wqt,"ArrayDeque/IteratorImpl",446),dIt(12,52,VWt,Mm,W6,ZR),Cqt.Vc=function(t,e){vK(this,t,e)},Cqt.Fc=function(t){return zH(this,t)},Cqt.Wc=function(t,e){return sut(this,t,e)},Cqt.Gc=function(t){return pst(this,t)},Cqt.$b=function(){this.c=O9(Lte,Hqt,1,0,5,1)},Cqt.Hc=function(t){return-1!=w7(this,t,0)},Cqt.Jc=function(t){Set(this,t)},Cqt.Xb=function(t){return O$(this,t)},Cqt.Xc=function(t){return w7(this,t,0)},Cqt.dc=function(){return 0==this.c.length},Cqt.Kc=function(){return new zd(this)},Cqt.$c=function(t){return s6(this,t)},Cqt.Mc=function(t){return b7(this,t)},Cqt.Ud=function(t,e){c1(this,t,e)},Cqt._c=function(t,e){return r5(this,t,e)},Cqt.gc=function(){return this.c.length},Cqt.ad=function(t){mM(this,t)},Cqt.Pc=function(){return hD(this)},Cqt.Qc=function(t){return Vgt(this,t)};var cne,lne,une,hne,fne,dne,Ane,pne,gne,mne=gX(Wqt,"ArrayList",12);dIt(7,1,Vqt,zd),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return bM(this)},Cqt.Pb=function(){return J1(this)},Cqt.Qb=function(){Sz(this)},Cqt.a=0,Cqt.b=-1,gX(Wqt,"ArrayList/1",7),dIt(2013,e.Function,{},C),Cqt.te=function(t,e){return xft(t,e)},dIt(154,52,WWt,Wy),Cqt.Hc=function(t){return-1!=frt(this,t)},Cqt.Jc=function(t){var e,n,r,i;for(vq(t),r=0,i=(n=this.a).length;r<i;++r)e=n[r],t.td(e)},Cqt.Xb=function(t){return N$(this,t)},Cqt._c=function(t,e){var n;return u1(t,this.a.length),n=this.a[t],LX(this.a,t,e),n},Cqt.gc=function(){return this.a.length},Cqt.ad=function(t){bK(this.a,this.a.length,t)},Cqt.Pc=function(){return Wgt(this,O9(Lte,Hqt,1,this.a.length,5,1))},Cqt.Qc=function(t){return Wgt(this,t)},gX(Wqt,"Arrays/ArrayList",154),dIt(940,52,WWt,x),Cqt.Hc=function(t){return!1},Cqt.Xb=function(t){return bL(t)},Cqt.Kc=function(){return CW(),IC(),hne},Cqt.Yc=function(){return CW(),IC(),hne},Cqt.gc=function(){return 0},gX(Wqt,"Collections/EmptyList",940),dIt(941,1,iVt,_),Cqt.Nb=function(t){lz(this,t)},Cqt.Rb=function(t){throw Um(new pb)},Cqt.Ob=function(){return!1},Cqt.Sb=function(){return!1},Cqt.Pb=function(){throw Um(new bb)},Cqt.Tb=function(){return 0},Cqt.Ub=function(){throw Um(new bb)},Cqt.Vb=function(){return-1},Cqt.Qb=function(){throw Um(new db)},Cqt.Wb=function(t){throw Um(new db)},gX(Wqt,"Collections/EmptyListIterator",941),dIt(943,1967,wVt,B),Cqt._b=function(t){return!1},Cqt.uc=function(t){return!1},Cqt.vc=function(){return CW(),une},Cqt.xc=function(t){return null},Cqt.ec=function(){return CW(),une},Cqt.gc=function(){return 0},Cqt.Cc=function(){return CW(),cne},gX(Wqt,"Collections/EmptyMap",943),dIt(942,Zqt,kVt,E),Cqt.Hc=function(t){return!1},Cqt.Kc=function(){return CW(),IC(),hne},Cqt.gc=function(){return 0},gX(Wqt,"Collections/EmptySet",942),dIt(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},jd),Cqt.Hc=function(t){return rV(this.a,t)},Cqt.Xb=function(t){return u1(t,1),this.a},Cqt.gc=function(){return 1},gX(Wqt,"Collections/SingletonList",599),dIt(372,1,mVt,Ud),Cqt.Jc=function(t){t5(this,t)},Cqt.Lc=function(){return new D$(null,this.Nc())},Cqt.Nc=function(){return new f1(this,0)},Cqt.Oc=function(){return new D$(null,this.Nc())},Cqt.Fc=function(t){return ok()},Cqt.Gc=function(t){return sk()},Cqt.$b=function(){ck()},Cqt.Hc=function(t){return OC(this,t)},Cqt.Ic=function(t){return NC(this,t)},Cqt.dc=function(){return this.b.dc()},Cqt.Kc=function(){return new Hd(this.b.Kc())},Cqt.Mc=function(t){return lk()},Cqt.gc=function(){return this.b.gc()},Cqt.Pc=function(){return this.b.Pc()},Cqt.Qc=function(t){return DC(this,t)},Cqt.Ib=function(){return Udt(this.b)},gX(Wqt,"Collections/UnmodifiableCollection",372),dIt(371,1,Vqt,Hd),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.b.Ob()},Cqt.Pb=function(){return this.b.Pb()},Cqt.Qb=function(){uk()},gX(Wqt,"Collections/UnmodifiableCollectionIterator",371),dIt(531,372,YWt,hN),Cqt.Nc=function(){return new f1(this,16)},Cqt.Vc=function(t,e){throw Um(new pb)},Cqt.Wc=function(t,e){throw Um(new pb)},Cqt.Fb=function(t){return Oht(this.a,t)},Cqt.Xb=function(t){return this.a.Xb(t)},Cqt.Hb=function(){return Zct(this.a)},Cqt.Xc=function(t){return this.a.Xc(t)},Cqt.dc=function(){return this.a.dc()},Cqt.Yc=function(){return new fN(this.a.Zc(0))},Cqt.Zc=function(t){return new fN(this.a.Zc(t))},Cqt.$c=function(t){throw Um(new pb)},Cqt._c=function(t,e){throw Um(new pb)},Cqt.ad=function(t){throw Um(new pb)},Cqt.bd=function(t,e){return new hN(this.a.bd(t,e))},gX(Wqt,"Collections/UnmodifiableList",531),dIt(690,371,iVt,fN),Cqt.Qb=function(){uk()},Cqt.Rb=function(t){throw Um(new pb)},Cqt.Sb=function(){return this.a.Sb()},Cqt.Tb=function(){return this.a.Tb()},Cqt.Ub=function(){return this.a.Ub()},Cqt.Vb=function(){return this.a.Vb()},Cqt.Wb=function(t){throw Um(new pb)},gX(Wqt,"Collections/UnmodifiableListIterator",690),dIt(600,1,Yqt,Gd),Cqt.wc=function(t){Zat(this,t)},Cqt.yc=function(t,e,n){return Jft(this,t,e,n)},Cqt.$b=function(){throw Um(new pb)},Cqt._b=function(t){return this.c._b(t)},Cqt.uc=function(t){return PC(this,t)},Cqt.vc=function(){return tV(this)},Cqt.Fb=function(t){return QC(this,t)},Cqt.xc=function(t){return this.c.xc(t)},Cqt.Hb=function(){return Zct(this.c)},Cqt.dc=function(){return this.c.dc()},Cqt.ec=function(){return eV(this)},Cqt.zc=function(t,e){throw Um(new pb)},Cqt.Bc=function(t){throw Um(new pb)},Cqt.gc=function(){return this.c.gc()},Cqt.Ib=function(){return Udt(this.c)},Cqt.Cc=function(){return Zq(this)},gX(Wqt,"Collections/UnmodifiableMap",600),dIt(382,372,TVt,Sw),Cqt.Nc=function(){return new f1(this,1)},Cqt.Fb=function(t){return Oht(this.b,t)},Cqt.Hb=function(){return Zct(this.b)},gX(Wqt,"Collections/UnmodifiableSet",382),dIt(944,382,TVt,Iw),Cqt.Hc=function(t){return FC(this,t)},Cqt.Ic=function(t){return this.b.Ic(t)},Cqt.Kc=function(){return new $d(this.b.Kc())},Cqt.Pc=function(){var t;return y3(t=this.b.Pc(),t.length),t},Cqt.Qc=function(t){return _Y(this,t)},gX(Wqt,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),dIt(945,1,Vqt,$d),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return new Kd(QH(this.a.Pb(),42))},Cqt.Ob=function(){return this.a.Ob()},Cqt.Qb=function(){throw Um(new pb)},gX(Wqt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),dIt(688,1,qWt,Kd),Cqt.Fb=function(t){return this.a.Fb(t)},Cqt.cd=function(){return this.a.cd()},Cqt.dd=function(){return this.a.dd()},Cqt.Hb=function(){return this.a.Hb()},Cqt.ed=function(t){throw Um(new pb)},Cqt.Ib=function(){return Udt(this.a)},gX(Wqt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),dIt(601,531,{20:1,14:1,15:1,54:1},Lw),gX(Wqt,"Collections/UnmodifiableRandomAccessList",601),dIt(689,382,CVt,dN),Cqt.Nc=function(){return new fx(this)},Cqt.Fb=function(t){return Oht(this.a,t)},Cqt.Hb=function(){return Zct(this.a)},gX(Wqt,"Collections/UnmodifiableSortedSet",689),dIt(847,1,JWt,F),Cqt.ue=function(t,e){var n;return 0!=(n=T3(QH(t,11),QH(e,11)))?n:ZQt(QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(Wqt,"Comparator/lambda$0$Type",847),dIt(751,1,JWt,P),Cqt.ue=function(t,e){return P$(QH(t,35),QH(e,35))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return EW(),Ane},gX(Wqt,"Comparators/NaturalOrderComparator",751),dIt(1177,1,JWt,R),Cqt.ue=function(t,e){return R$(QH(t,35),QH(e,35))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return EW(),dne},gX(Wqt,"Comparators/ReverseNaturalOrderComparator",1177),dIt(64,1,JWt,Jd),Cqt.Fb=function(t){return this===t},Cqt.ue=function(t,e){return this.a.ue(e,t)},Cqt.ve=function(){return this.a},gX(Wqt,"Comparators/ReversedComparator",64),dIt(166,60,UVt,gb),gX(Wqt,"ConcurrentModificationException",166),dIt(1904,1,ZWt,Q),Cqt.we=function(t){lpt(this,t)},Cqt.Ib=function(){return"DoubleSummaryStatistics[count = "+gG(this.a)+", avg = "+(ox(this.a,0)?u6(this)/y2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+u6(this)+"]"},Cqt.a=0,Cqt.b=PWt,Cqt.c=FWt,Cqt.d=0,Cqt.e=0,Cqt.f=0,gX(Wqt,"DoubleSummaryStatistics",1904),dIt(1805,60,UVt,mb),gX(Wqt,"EmptyStackException",1805),dIt(451,1967,Yqt,Hdt),Cqt.zc=function(t,e){return fP(this,t,e)},Cqt.$b=function(){Tq(this)},Cqt._b=function(t){return ax(this,t)},Cqt.uc=function(t){var e,n;for(n=new qC(this.a);n.a<n.c.a.length;)if(e=a3(n),rV(t,this.b[e.g]))return!0;return!1},Cqt.vc=function(){return new Zd(this)},Cqt.xc=function(t){return oV(this,t)},Cqt.Bc=function(t){return MZ(this,t)},Cqt.gc=function(){return this.a.c},gX(Wqt,"EnumMap",451),dIt(1352,Zqt,tVt,Zd),Cqt.$b=function(){Tq(this.a)},Cqt.Hc=function(t){return g2(this,t)},Cqt.Kc=function(){return new S$(this.a)},Cqt.Mc=function(t){var e;return!!g2(this,t)&&(e=QH(t,42).cd(),MZ(this.a,e),!0)},Cqt.gc=function(){return this.a.a.c},gX(Wqt,"EnumMap/EntrySet",1352),dIt(1353,1,Vqt,S$),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return this.b=a3(this.a),new xx(this.c,this.b)},Cqt.Ob=function(){return vM(this.a)},Cqt.Qb=function(){kD(!!this.b),MZ(this.c,this.b),this.b=null},gX(Wqt,"EnumMap/EntrySetIterator",1353),dIt(1354,1984,qWt,xx),Cqt.cd=function(){return this.a},Cqt.dd=function(){return this.b.b[this.a.g]},Cqt.ed=function(t){return wz(this.b,this.a.g,t)},gX(Wqt,"EnumMap/MapEntry",1354),dIt(174,Zqt,{20:1,28:1,14:1,174:1,21:1});var bne=gX(Wqt,"EnumSet",174);dIt(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},VR),Cqt.Fc=function(t){return sit(this,QH(t,22))},Cqt.Hc=function(t){return xK(this,t)},Cqt.Kc=function(){return new qC(this)},Cqt.Mc=function(t){return _K(this,t)},Cqt.gc=function(){return this.c},Cqt.c=0,gX(Wqt,"EnumSet/EnumSetImpl",156),dIt(343,1,Vqt,qC),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return a3(this)},Cqt.Ob=function(){return vM(this)},Cqt.Qb=function(){kD(-1!=this.b),LX(this.c.b,this.b,null),--this.c.c,this.b=-1},Cqt.a=-1,Cqt.b=-1,gX(Wqt,"EnumSet/EnumSetImpl/IteratorImpl",343),dIt(43,488,tYt,Om,GC,mL),Cqt.re=function(t,e){return jS(t)===jS(e)||null!=t&&Oht(t,e)},Cqt.se=function(t){return 0|Zct(t)},gX(Wqt,"HashMap",43),dIt(53,Zqt,eYt,Db,hk,L$),Cqt.Fc=function(t){return Tz(this,t)},Cqt.$b=function(){this.a.$b()},Cqt.Hc=function(t){return RC(this,t)},Cqt.dc=function(){return 0==this.a.gc()},Cqt.Kc=function(){return this.a.ec().Kc()},Cqt.Mc=function(t){return tO(this,t)},Cqt.gc=function(){return this.a.gc()};var vne,yne=gX(Wqt,"HashSet",53);dIt(1781,1,dVt,U),Cqt.ud=function(t){rot(this,t)},Cqt.Ib=function(){return"IntSummaryStatistics[count = "+gG(this.a)+", avg = "+(ox(this.a,0)?y2(this.d)/y2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+gG(this.d)+"]"},Cqt.a=0,Cqt.b=RVt,Cqt.c=Dqt,Cqt.d=0,gX(Wqt,"IntSummaryStatistics",1781),dIt(1049,1,gVt,tI),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new C2(this)},Cqt.c=0,gX(Wqt,"InternalHashCodeMap",1049),dIt(711,1,Vqt,C2),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return this.d=this.a[this.c++],this.d},Cqt.Ob=function(){var t;return this.c<this.a.length||!(t=this.b.next()).done&&(this.a=t.value[1],this.c=0,!0)},Cqt.Qb=function(){pIt(this.e,this.d.cd()),0!=this.c&&--this.c},Cqt.c=0,Cqt.d=null,gX(Wqt,"InternalHashCodeMap/1",711),dIt(1047,1,gVt,eI),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new p3(this)},Cqt.c=0,Cqt.d=0,gX(Wqt,"InternalStringMap",1047),dIt(710,1,Vqt,p3),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return this.c=this.a,this.a=this.b.next(),new WR(this.d,this.c,this.d.d)},Cqt.Ob=function(){return!this.a.done},Cqt.Qb=function(){$ot(this.d,this.c.value[0])},gX(Wqt,"InternalStringMap/1",710),dIt(1048,1984,qWt,WR),Cqt.cd=function(){return this.b.value[0]},Cqt.dd=function(){return this.a.d!=this.c?cx(this.a,this.b.value[0]):this.b.value[1]},Cqt.ed=function(t){return odt(this.a,this.b.value[0],t)},Cqt.c=0,gX(Wqt,"InternalStringMap/2",1048),dIt(228,43,tYt,g3,H9),Cqt.$b=function(){vP(this)},Cqt._b=function(t){return ux(this,t)},Cqt.uc=function(t){var e;for(e=this.d.a;e!=this.d;){if(rV(e.e,t))return!0;e=e.a}return!1},Cqt.vc=function(){return new eA(this)},Cqt.xc=function(t){return utt(this,t)},Cqt.zc=function(t,e){return Ygt(this,t,e)},Cqt.Bc=function(t){return v7(this,t)},Cqt.gc=function(){return MC(this.e)},Cqt.c=!1,gX(Wqt,"LinkedHashMap",228),dIt(387,383,{484:1,383:1,387:1,42:1},xD,JH),gX(Wqt,"LinkedHashMap/ChainEntry",387),dIt(701,Zqt,tVt,eA),Cqt.$b=function(){vP(this.a)},Cqt.Hc=function(t){return b2(this,t)},Cqt.Kc=function(){return new cq(this)},Cqt.Mc=function(t){var e;return!!b2(this,t)&&(e=QH(t,42).cd(),v7(this.a,e),!0)},Cqt.gc=function(){return MC(this.a.e)},gX(Wqt,"LinkedHashMap/EntrySet",701),dIt(702,1,Vqt,cq),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return s8(this)},Cqt.Ob=function(){return this.b!=this.c.a.d},Cqt.Qb=function(){kD(!!this.a),p2(this.c.a.e,this),Dj(this.a),g6(this.c.a.e,this.a.d),hF(this.c.a.e,this),this.a=null},gX(Wqt,"LinkedHashMap/EntrySet/EntryIterator",702),dIt(178,53,eYt,lI,IN,I$);var wne=gX(Wqt,"LinkedHashSet",178);dIt(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},VC,JR),Cqt.Fc=function(t){return Nj(this,t)},Cqt.$b=function(){bW(this)},Cqt.Zc=function(t){return cmt(this,t)},Cqt.gc=function(){return this.b},Cqt.b=0;var Tne,kne,Cne,Ene,xne,_ne=gX(Wqt,"LinkedList",68);dIt(970,1,iVt,YR),Cqt.Nb=function(t){lz(this,t)},Cqt.Rb=function(t){Jz(this,t)},Cqt.Ob=function(){return wk(this)},Cqt.Sb=function(){return this.b.b!=this.d.a},Cqt.Pb=function(){return h4(this)},Cqt.Tb=function(){return this.a},Cqt.Ub=function(){return K0(this)},Cqt.Vb=function(){return this.a-1},Cqt.Qb=function(){bet(this)},Cqt.Wb=function(t){kD(!!this.c),this.c.c=t},Cqt.a=0,Cqt.c=null,gX(Wqt,"LinkedList/ListIteratorImpl",970),dIt(608,1,{},M),gX(Wqt,"LinkedList/Node",608),dIt(1959,1,{}),gX(Wqt,"Locale",1959),dIt(861,1959,{},O),Cqt.Ib=function(){return""},gX(Wqt,"Locale/1",861),dIt(862,1959,{},N),Cqt.Ib=function(){return"unknown"},gX(Wqt,"Locale/4",862),dIt(109,60,{3:1,102:1,60:1,78:1,109:1},bb,uV),gX(Wqt,"NoSuchElementException",109),dIt(404,1,{404:1},gy),Cqt.Fb=function(t){var e;return t===this||!!rO(t,404)&&(e=QH(t,404),rV(this.a,e.a))},Cqt.Hb=function(){return FI(this.a)},Cqt.Ib=function(){return null!=this.a?$qt+vN(this.a)+")":"Optional.empty()"},gX(Wqt,"Optional",404),dIt(463,1,{463:1},xL,bD),Cqt.Fb=function(t){var e;return t===this||!!rO(t,463)&&(e=QH(t,463),this.a==e.a&&0==xft(this.b,e.b))},Cqt.Hb=function(){return this.a?xJ(this.b):0},Cqt.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},Cqt.a=!1,Cqt.b=0,gX(Wqt,"OptionalDouble",463),dIt(517,1,{517:1},_L,vD),Cqt.Fb=function(t){var e;return t===this||!!rO(t,517)&&(e=QH(t,517),this.a==e.a&&0==wM(this.b,e.b))},Cqt.Hb=function(){return this.a?this.b:0},Cqt.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},Cqt.a=!1,Cqt.b=0,gX(Wqt,"OptionalInt",517),dIt(503,2004,Jqt,GG),Cqt.Gc=function(t){return nwt(this,t)},Cqt.$b=function(){this.b.c=O9(Lte,Hqt,1,0,5,1)},Cqt.Hc=function(t){return-1!=(null==t?-1:w7(this.b,t,0))},Cqt.Kc=function(){return new Xd(this)},Cqt.Mc=function(t){return cit(this,t)},Cqt.gc=function(){return this.b.c.length},Cqt.Nc=function(){return new f1(this,256)},Cqt.Pc=function(){return hD(this.b)},Cqt.Qc=function(t){return Vgt(this.b,t)},gX(Wqt,"PriorityQueue",503),dIt(1277,1,Vqt,Xd),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return this.a<this.c.b.c.length},Cqt.Pb=function(){return ED(this.a<this.c.b.c.length),this.b=this.a++,O$(this.c.b,this.b)},Cqt.Qb=function(){kD(-1!=this.b),lit(this.c,this.a=this.b),this.b=-1},Cqt.a=0,Cqt.b=-1,gX(Wqt,"PriorityQueue/1",1277),dIt(230,1,{230:1},cdt,x3),Cqt.a=0,Cqt.b=0;var Bne,Sne,Lne,Ine=0;gX(Wqt,"Random",230),dIt(27,1,uVt,f1,$z,xV),Cqt.qd=function(){return this.a},Cqt.rd=function(){return NG(this),this.c},Cqt.Nb=function(t){NG(this),this.d.Nb(t)},Cqt.sd=function(t){return Jtt(this,t)},Cqt.a=0,Cqt.c=0,gX(Wqt,"Spliterators/IteratorSpliterator",27),dIt(485,27,uVt,fx),gX(Wqt,"SortedSet/1",485),dIt(602,1,ZWt,qd),Cqt.we=function(t){this.a.td(t)},gX(Wqt,"Spliterator/OfDouble/0methodref$accept$Type",602),dIt(603,1,ZWt,Vd),Cqt.we=function(t){this.a.td(t)},gX(Wqt,"Spliterator/OfDouble/1methodref$accept$Type",603),dIt(604,1,dVt,Wd),Cqt.ud=function(t){this.a.td(nft(t))},gX(Wqt,"Spliterator/OfInt/2methodref$accept$Type",604),dIt(605,1,dVt,Yd),Cqt.ud=function(t){this.a.td(nft(t))},gX(Wqt,"Spliterator/OfInt/3methodref$accept$Type",605),dIt(617,1,uVt),Cqt.Nb=function(t){pk(this,t)},Cqt.qd=function(){return this.d},Cqt.rd=function(){return this.e},Cqt.d=0,Cqt.e=0,gX(Wqt,"Spliterators/BaseSpliterator",617),dIt(721,617,uVt),Cqt.xe=function(t){Ak(this,t)},Cqt.Nb=function(t){rO(t,182)?Ak(this,QH(t,182)):Ak(this,new Vd(t))},Cqt.sd=function(t){return rO(t,182)?this.ye(QH(t,182)):this.ye(new qd(t))},gX(Wqt,"Spliterators/AbstractDoubleSpliterator",721),dIt(720,617,uVt),Cqt.xe=function(t){Ak(this,t)},Cqt.Nb=function(t){rO(t,196)?Ak(this,QH(t,196)):Ak(this,new Yd(t))},Cqt.sd=function(t){return rO(t,196)?this.ye(QH(t,196)):this.ye(new Wd(t))},gX(Wqt,"Spliterators/AbstractIntSpliterator",720),dIt(540,617,uVt),gX(Wqt,"Spliterators/AbstractSpliterator",540),dIt(692,1,uVt),Cqt.Nb=function(t){pk(this,t)},Cqt.qd=function(){return this.b},Cqt.rd=function(){return this.d-this.c},Cqt.b=0,Cqt.c=0,Cqt.d=0,gX(Wqt,"Spliterators/BaseArraySpliterator",692),dIt(947,692,uVt,Qj),Cqt.ze=function(t,e){rT(this,QH(t,38),e)},Cqt.Nb=function(t){NX(this,t)},Cqt.sd=function(t){return F6(this,t)},gX(Wqt,"Spliterators/ArraySpliterator",947),dIt(693,692,uVt,PR),Cqt.ze=function(t,e){iT(this,QH(t,182),e)},Cqt.xe=function(t){NX(this,t)},Cqt.Nb=function(t){rO(t,182)?NX(this,QH(t,182)):NX(this,new Vd(t))},Cqt.ye=function(t){return F6(this,t)},Cqt.sd=function(t){return rO(t,182)?F6(this,QH(t,182)):F6(this,new qd(t))},gX(Wqt,"Spliterators/DoubleArraySpliterator",693),dIt(1968,1,uVt),Cqt.Nb=function(t){pk(this,t)},Cqt.qd=function(){return 16448},Cqt.rd=function(){return 0},gX(Wqt,"Spliterators/EmptySpliterator",1968),dIt(946,1968,uVt,G),Cqt.xe=function(t){Rh(t)},Cqt.Nb=function(t){rO(t,196)?Rh(QH(t,196)):Rh(new Yd(t))},Cqt.ye=function(t){return hx(t)},Cqt.sd=function(t){return rO(t,196)?hx(QH(t,196)):hx(new Wd(t))},gX(Wqt,"Spliterators/EmptySpliterator/OfInt",946),dIt(580,52,uYt,Pb),Cqt.Vc=function(t,e){FG(t,this.a.c.length+1),vK(this.a,t,e)},Cqt.Fc=function(t){return zH(this.a,t)},Cqt.Wc=function(t,e){return FG(t,this.a.c.length+1),sut(this.a,t,e)},Cqt.Gc=function(t){return pst(this.a,t)},Cqt.$b=function(){this.a.c=O9(Lte,Hqt,1,0,5,1)},Cqt.Hc=function(t){return-1!=w7(this.a,t,0)},Cqt.Ic=function(t){return sst(this.a,t)},Cqt.Jc=function(t){Set(this.a,t)},Cqt.Xb=function(t){return FG(t,this.a.c.length),O$(this.a,t)},Cqt.Xc=function(t){return w7(this.a,t,0)},Cqt.dc=function(){return 0==this.a.c.length},Cqt.Kc=function(){return new zd(this.a)},Cqt.$c=function(t){return FG(t,this.a.c.length),s6(this.a,t)},Cqt.Ud=function(t,e){c1(this.a,t,e)},Cqt._c=function(t,e){return FG(t,this.a.c.length),r5(this.a,t,e)},Cqt.gc=function(){return this.a.c.length},Cqt.ad=function(t){mM(this.a,t)},Cqt.bd=function(t,e){return new s1(this.a,t,e)},Cqt.Pc=function(){return hD(this.a)},Cqt.Qc=function(t){return Vgt(this.a,t)},Cqt.Ib=function(){return MEt(this.a)},gX(Wqt,"Vector",580),dIt(809,580,uYt,ov),gX(Wqt,"Stack",809),dIt(206,1,{206:1},Iot),Cqt.Ib=function(){return z0(this)},gX(Wqt,"StringJoiner",206),dIt(544,1992,{3:1,83:1,171:1,161:1},zC,zG),Cqt.$b=function(){my(this)},Cqt.vc=function(){return new ON(this)},Cqt.zc=function(t,e){return Cct(this,t,e)},Cqt.Bc=function(t){return LJ(this,t)},Cqt.gc=function(){return this.c},Cqt.c=0,gX(Wqt,"TreeMap",544),dIt(390,1,Vqt,QP),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return mD(this)},Cqt.Ob=function(){return ix(this.a)},Cqt.Qb=function(){tQ(this)},gX(Wqt,"TreeMap/EntryIterator",390),dIt(435,739,tVt,ON),Cqt.$b=function(){my(this.a)},gX(Wqt,"TreeMap/EntrySet",435),dIt(436,383,{484:1,383:1,42:1,436:1},U9),Cqt.b=!1;var Mne,One,Nne,Dne,Fne=gX(Wqt,"TreeMap/Node",436);dIt(621,1,{},$),Cqt.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},Cqt.a=!1,Cqt.b=!1,Cqt.c=!1,gX(Wqt,"TreeMap/State",621),dIt(297,22,hYt,Ax),Cqt.Ae=function(){return!1},Cqt.Be=function(){return!1};var Pne,Rne=Unt(Wqt,"TreeMap/SubMapType",297,Gte,W2,cQ);dIt(1112,297,hYt,II),Cqt.Be=function(){return!0},Unt(Wqt,"TreeMap/SubMapType/1",1112,Rne,null,null),dIt(1113,297,hYt,SM),Cqt.Ae=function(){return!0},Cqt.Be=function(){return!0},Unt(Wqt,"TreeMap/SubMapType/2",1113,Rne,null,null),dIt(1114,297,hYt,MI),Cqt.Ae=function(){return!0},Unt(Wqt,"TreeMap/SubMapType/3",1114,Rne,null,null),dIt(208,Zqt,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},$b,dk),Cqt.Nc=function(){return new fx(this)},Cqt.Fc=function(t){return Yz(this,t)},Cqt.$b=function(){my(this.a)},Cqt.Hc=function(t){return NR(this.a,t)},Cqt.Kc=function(){return new Rd(new QP(new ON(new Pd(this.a).a).b))},Cqt.Mc=function(t){return kN(this,t)},Cqt.gc=function(){return this.a.c};var Qne=gX(Wqt,"TreeSet",208);dIt(966,1,{},nA),Cqt.Ce=function(t,e){return NF(this.a,t,e)},gX(fYt,"BinaryOperator/lambda$0$Type",966),dIt(967,1,{},rA),Cqt.Ce=function(t,e){return DF(this.a,t,e)},gX(fYt,"BinaryOperator/lambda$1$Type",967),dIt(846,1,{},K),Cqt.Kb=function(t){return t},gX(fYt,"Function/lambda$0$Type",846),dIt(431,1,DVt,iA),Cqt.Mb=function(t){return!this.a.Mb(t)},gX(fYt,"Predicate/lambda$2$Type",431),dIt(572,1,{572:1});var Une,Hne,jne=gX(dYt,"Handler",572);dIt(2007,1,Pqt),Cqt.ne=function(){return"DUMMY"},Cqt.Ib=function(){return this.ne()},gX(dYt,"Level",2007),dIt(1621,2007,Pqt,z),Cqt.ne=function(){return"INFO"},gX(dYt,"Level/LevelInfo",1621),dIt(1640,1,{},Fb),gX(dYt,"LogManager",1640),dIt(1780,1,Pqt,eQ),Cqt.b=null,gX(dYt,"LogRecord",1780),dIt(512,1,{512:1},b5),Cqt.e=!1;var $ne,Kne,Gne,zne=!1,Xne=!1,qne=!1,Vne=!1,Wne=!1;gX(dYt,"Logger",512),dIt(819,572,{572:1},X),gX(dYt,"SimpleConsoleLogHandler",819),dIt(132,22,{3:1,35:1,22:1,132:1},px);var Yne,Jne=Unt(gYt,"Collector/Characteristics",132,Gte,p1,lQ);dIt(744,1,{},yz),gX(gYt,"CollectorImpl",744),dIt(1060,1,{},q),Cqt.Ce=function(t,e){return Sht(QH(t,206),QH(e,206))},gX(gYt,"Collectors/10methodref$merge$Type",1060),dIt(1061,1,{},V),Cqt.Kb=function(t){return z0(QH(t,206))},gX(gYt,"Collectors/11methodref$toString$Type",1061),dIt(1062,1,{},aA),Cqt.Kb=function(t){return cN(),!!TL(t)},gX(gYt,"Collectors/12methodref$test$Type",1062),dIt(251,1,{},H),Cqt.Od=function(t,e){QH(t,14).Fc(e)},gX(gYt,"Collectors/20methodref$add$Type",251),dIt(253,1,{},j),Cqt.Ee=function(){return new Mm},gX(gYt,"Collectors/21methodref$ctor$Type",253),dIt(346,1,{},W),Cqt.Ee=function(){return new Db},gX(gYt,"Collectors/23methodref$ctor$Type",346),dIt(347,1,{},Y),Cqt.Od=function(t,e){Tz(QH(t,53),e)},gX(gYt,"Collectors/24methodref$add$Type",347),dIt(1055,1,{},J),Cqt.Ce=function(t,e){return YC(QH(t,15),QH(e,14))},gX(gYt,"Collectors/4methodref$addAll$Type",1055),dIt(1059,1,{},Z),Cqt.Od=function(t,e){h6(QH(t,206),QH(e,475))},gX(gYt,"Collectors/9methodref$add$Type",1059),dIt(1058,1,{},VH),Cqt.Ee=function(){return new Iot(this.a,this.b,this.c)},gX(gYt,"Collectors/lambda$15$Type",1058),dIt(1063,1,{},tt),Cqt.Ee=function(){var t;return Ygt(t=new g3,(cN(),!1),new Mm),Ygt(t,!0,new Mm),t},gX(gYt,"Collectors/lambda$22$Type",1063),dIt(1064,1,{},oA),Cqt.Ee=function(){return xst(jw(Lte,1),Hqt,1,5,[this.a])},gX(gYt,"Collectors/lambda$25$Type",1064),dIt(1065,1,{},sA),Cqt.Od=function(t,e){Q$(this.a,ent(t))},gX(gYt,"Collectors/lambda$26$Type",1065),dIt(1066,1,{},cA),Cqt.Ce=function(t,e){return PG(this.a,ent(t),ent(e))},gX(gYt,"Collectors/lambda$27$Type",1066),dIt(1067,1,{},et),Cqt.Kb=function(t){return ent(t)[0]},gX(gYt,"Collectors/lambda$28$Type",1067),dIt(713,1,{},nt),Cqt.Ce=function(t,e){return U$(t,e)},gX(gYt,"Collectors/lambda$4$Type",713),dIt(252,1,{},rt),Cqt.Ce=function(t,e){return jC(QH(t,14),QH(e,14))},gX(gYt,"Collectors/lambda$42$Type",252),dIt(348,1,{},it),Cqt.Ce=function(t,e){return $C(QH(t,53),QH(e,53))},gX(gYt,"Collectors/lambda$50$Type",348),dIt(349,1,{},at),Cqt.Kb=function(t){return QH(t,53)},gX(gYt,"Collectors/lambda$51$Type",349),dIt(1054,1,{},lA),Cqt.Od=function(t,e){flt(this.a,QH(t,83),e)},gX(gYt,"Collectors/lambda$7$Type",1054),dIt(1056,1,{},ot),Cqt.Ce=function(t,e){return gst(QH(t,83),QH(e,83),new J)},gX(gYt,"Collectors/lambda$8$Type",1056),dIt(1057,1,{},uA),Cqt.Kb=function(t){return bdt(this.a,QH(t,83))},gX(gYt,"Collectors/lambda$9$Type",1057),dIt(539,1,{}),Cqt.He=function(){yq(this)},Cqt.d=!1,gX(gYt,"TerminatableStream",539),dIt(812,539,mYt,SF),Cqt.He=function(){yq(this)},gX(gYt,"DoubleStreamImpl",812),dIt(1784,721,uVt,YH),Cqt.ye=function(t){return gvt(this,QH(t,182))},Cqt.a=null,gX(gYt,"DoubleStreamImpl/2",1784),dIt(1785,1,ZWt,hA),Cqt.we=function(t){UI(this.a,t)},gX(gYt,"DoubleStreamImpl/2/lambda$0$Type",1785),dIt(1782,1,ZWt,fA),Cqt.we=function(t){QI(this.a,t)},gX(gYt,"DoubleStreamImpl/lambda$0$Type",1782),dIt(1783,1,ZWt,dA),Cqt.we=function(t){lpt(this.a,t)},gX(gYt,"DoubleStreamImpl/lambda$2$Type",1783),dIt(1358,720,uVt,m5),Cqt.ye=function(t){return v2(this,QH(t,196))},Cqt.a=0,Cqt.b=0,Cqt.c=0,gX(gYt,"IntStream/5",1358),dIt(787,539,mYt,LF),Cqt.He=function(){yq(this)},Cqt.Ie=function(){return wq(this),this.a},gX(gYt,"IntStreamImpl",787),dIt(788,539,mYt,XC),Cqt.He=function(){yq(this)},Cqt.Ie=function(){return wq(this),_O(),Lne},gX(gYt,"IntStreamImpl/Empty",788),dIt(1463,1,dVt,AA),Cqt.ud=function(t){rot(this.a,t)},gX(gYt,"IntStreamImpl/lambda$4$Type",1463);var Zne,tre=h$(gYt,"Stream");dIt(30,539,{525:1,670:1,833:1},D$),Cqt.He=function(){yq(this)},gX(gYt,"StreamImpl",30),dIt(845,1,{},st),Cqt.ld=function(t){return uj(t)},gX(gYt,"StreamImpl/0methodref$lambda$2$Type",845),dIt(1084,540,uVt,FR),Cqt.sd=function(t){for(;L8(this);){if(this.a.sd(t))return!0;yq(this.b),this.b=null,this.a=null}return!1},gX(gYt,"StreamImpl/1",1084),dIt(1085,1,hVt,pA),Cqt.td=function(t){ej(this.a,QH(t,833))},gX(gYt,"StreamImpl/1/lambda$0$Type",1085),dIt(1086,1,DVt,gA),Cqt.Mb=function(t){return Tz(this.a,t)},gX(gYt,"StreamImpl/1methodref$add$Type",1086),dIt(1087,540,uVt,gW),Cqt.sd=function(t){var e;return this.a||(e=new Mm,this.b.a.Nb(new mA(e)),CW(),mM(e,this.c),this.a=new f1(e,16)),Jtt(this.a,t)},Cqt.a=null,gX(gYt,"StreamImpl/5",1087),dIt(1088,1,hVt,mA),Cqt.td=function(t){zH(this.a,t)},gX(gYt,"StreamImpl/5/2methodref$add$Type",1088),dIt(722,540,uVt,q8),Cqt.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new Sx(this,t)););return this.b},Cqt.b=!1,gX(gYt,"StreamImpl/FilterSpliterator",722),dIt(1079,1,hVt,Sx),Cqt.td=function(t){DG(this.a,this.b,t)},gX(gYt,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),dIt(1075,721,uVt,w6),Cqt.ye=function(t){return yR(this,QH(t,182))},gX(gYt,"StreamImpl/MapToDoubleSpliterator",1075),dIt(1078,1,hVt,Lx),Cqt.td=function(t){yx(this.a,this.b,t)},gX(gYt,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),dIt(1074,720,uVt,T6),Cqt.ye=function(t){return wR(this,QH(t,196))},gX(gYt,"StreamImpl/MapToIntSpliterator",1074),dIt(1077,1,hVt,Ix),Cqt.td=function(t){vx(this.a,this.b,t)},gX(gYt,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),dIt(719,540,uVt,k6),Cqt.sd=function(t){return TR(this,t)},gX(gYt,"StreamImpl/MapToObjSpliterator",719),dIt(1076,1,hVt,Mx),Cqt.td=function(t){wx(this.a,this.b,t)},gX(gYt,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),dIt(618,1,hVt,ct),Cqt.td=function(t){_f(this,t)},gX(gYt,"StreamImpl/ValueConsumer",618),dIt(1080,1,hVt,lt),Cqt.td=function(t){dE()},gX(gYt,"StreamImpl/lambda$0$Type",1080),dIt(1081,1,hVt,ut),Cqt.td=function(t){dE()},gX(gYt,"StreamImpl/lambda$1$Type",1081),dIt(1082,1,{},bA),Cqt.Ce=function(t,e){return RQ(this.a,t,e)},gX(gYt,"StreamImpl/lambda$4$Type",1082),dIt(1083,1,hVt,_x),Cqt.td=function(t){wP(this.b,this.a,t)},gX(gYt,"StreamImpl/lambda$5$Type",1083),dIt(1089,1,hVt,vA),Cqt.td=function(t){Hct(this.a,QH(t,365))},gX(gYt,"TerminatableStream/lambda$0$Type",1089),dIt(2041,1,{}),dIt(1914,1,{},ht),gX("javaemul.internal","ConsoleLogger",1914),dIt(2038,1,{});var ere,nre,rre=0,ire=0;dIt(1768,1,hVt,ft),Cqt.td=function(t){QH(t,308)},gX(kYt,"BowyerWatsonTriangulation/lambda$0$Type",1768),dIt(1769,1,hVt,yA),Cqt.td=function(t){Qit(this.a,QH(t,308).e)},gX(kYt,"BowyerWatsonTriangulation/lambda$1$Type",1769),dIt(1770,1,hVt,dt),Cqt.td=function(t){QH(t,168)},gX(kYt,"BowyerWatsonTriangulation/lambda$2$Type",1770),dIt(1765,1,CYt,wA),Cqt.ue=function(t,e){return H4(this.a,QH(t,168),QH(e,168))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(kYt,"NaiveMinST/lambda$0$Type",1765),dIt(499,1,{},TA),gX(kYt,"NodeMicroLayout",499),dIt(168,1,{168:1},Ox),Cqt.Fb=function(t){var e;return!!rO(t,168)&&(e=QH(t,168),rV(this.a,e.a)&&rV(this.b,e.b)||rV(this.a,e.b)&&rV(this.b,e.a))},Cqt.Hb=function(){return FI(this.a)+FI(this.b)};var are=gX(kYt,"TEdge",168);dIt(308,1,{308:1},JUt),Cqt.Fb=function(t){var e;return!!rO(t,308)&&F7(this,(e=QH(t,308)).a)&&F7(this,e.b)&&F7(this,e.c)},Cqt.Hb=function(){return FI(this.a)+FI(this.b)+FI(this.c)},gX(kYt,"TTriangle",308),dIt(221,1,{221:1},xM),gX(kYt,"Tree",221),dIt(1254,1,{},_Z),gX(EYt,"Scanline",1254);var ore=h$(EYt,xYt);dIt(1692,1,{},het),gX(_Yt,"CGraph",1692),dIt(307,1,{307:1},rZ),Cqt.b=0,Cqt.c=0,Cqt.d=0,Cqt.g=0,Cqt.i=0,Cqt.k=PWt,gX(_Yt,"CGroup",307),dIt(815,1,{},Gb),gX(_Yt,"CGroup/CGroupBuilder",815),dIt(57,1,{57:1},SP),Cqt.Ib=function(){return this.j?CF(this.j.Kb(this)):(wF(hre),hre.o+"@"+(EN(this)>>>0).toString(16))},Cqt.f=0,Cqt.i=PWt;var sre,cre,lre,ure,hre=gX(_Yt,"CNode",57);dIt(814,1,{},zb),gX(_Yt,"CNode/CNodeBuilder",814),dIt(1525,1,{},At),Cqt.Oe=function(t,e){return 0},Cqt.Pe=function(t,e){return 0},gX(_Yt,SYt,1525),dIt(1790,1,{},pt),Cqt.Le=function(t){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g;for(u=FWt,i=new zd(t.a.b);i.a<i.c.c.length;)n=QH(J1(i),57),u=e.Math.min(u,n.a.j.d.c+n.b.a);for(A=new VC,s=new zd(t.a.a);s.a<s.c.c.length;)(o=QH(J1(s),307)).k=u,0==o.g&&n5(A,o,A.c.b,A.c);for(;0!=A.b;){for(a=(o=QH(0==A.b?null:(ED(0!=A.b),Let(A,A.a.a)),307)).j.d.c,d=o.a.a.ec().Kc();d.Ob();)h=QH(d.Pb(),57),g=o.k+h.b.a,!$ut(t,o,t.d)||h.d.c<g?h.i=g:h.i=h.d.c;for(a-=o.j.i,o.b+=a,t.d==(Qht(),R_e)||t.d==F_e?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(l=(h=QH(f.Pb(),57)).c.Kc();l.Ob();)c=QH(l.Pb(),57),p=dI(t.d)?t.g.Oe(h,c):t.g.Pe(h,c),c.a.k=e.Math.max(c.a.k,h.i+h.d.b+p-c.b.a),rY(t,c,t.d)&&(c.a.k=e.Math.max(c.a.k,c.d.c-c.b.a)),--c.a.g,0==c.a.g&&Nj(A,c.a)}for(r=new zd(t.a.b);r.a<r.c.c.length;)(n=QH(J1(r),57)).d.c=n.i},gX(_Yt,"LongestPathCompaction",1790),dIt(1690,1,{},vLt),Cqt.e=!1;var fre,dre,Are=gX(_Yt,NYt,1690);dIt(1691,1,hVt,kA),Cqt.td=function(t){nst(this.a,QH(t,46))},gX(_Yt,DYt,1691),dIt(1791,1,{},gt),Cqt.Me=function(t){var e,n,r,i,a,o;for(e=new zd(t.a.b);e.a<e.c.c.length;)QH(J1(e),57).c.$b();for(r=new zd(t.a.b);r.a<r.c.c.length;)for(n=QH(J1(r),57),a=new zd(t.a.b);a.a<a.c.c.length;)n!=(i=QH(J1(a),57))&&(n.a&&n.a==i.a||(o=dI(t.d)?t.g.Pe(n,i):t.g.Oe(n,i),(i.d.c>n.d.c||n.d.c==i.d.c&&n.d.b<i.d.b)&&Fpt(i.d.d+i.d.a+o,n.d.d)&&Ppt(i.d.d,n.d.d+n.d.a+o)&&n.c.Fc(i)))},gX(_Yt,"QuadraticConstraintCalculation",1791),dIt(522,1,{522:1},Nm),Cqt.a=!1,Cqt.b=!1,Cqt.c=!1,Cqt.d=!1,gX(_Yt,FYt,522),dIt(803,1,{},DK),Cqt.Me=function(t){this.c=t,gBt(this,new vt)},gX(_Yt,PYt,803),dIt(1718,1,{679:1},lY),Cqt.Ke=function(t){R_t(this,QH(t,464))},gX(_Yt,RYt,1718),dIt(1719,1,CYt,mt),Cqt.ue=function(t,e){return aW(QH(t,57),QH(e,57))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(_Yt,QYt,1719),dIt(464,1,{464:1},Bx),Cqt.a=!1,gX(_Yt,UYt,464),dIt(1720,1,CYt,bt),Cqt.ue=function(t,e){return Ywt(QH(t,464),QH(e,464))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(_Yt,HYt,1720),dIt(1721,1,jYt,vt),Cqt.Lb=function(t){return QH(t,57),!0},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return QH(t,57),!0},gX(_Yt,"ScanlineConstraintCalculator/lambda$1$Type",1721),dIt(428,22,{3:1,35:1,22:1,428:1},Rx);var pre,gre,mre,bre=Unt($Yt,"HighLevelSortingCriterion",428,Gte,nJ,uQ);dIt(427,22,{3:1,35:1,22:1,427:1},Qx);var vre,yre,wre,Tre,kre,Cre,Ere,xre,_re,Bre,Sre,Lre,Ire,Mre,Ore,Nre,Dre,Fre=Unt($Yt,"LowLevelSortingCriterion",427,Gte,rJ,hQ),Pre=h$(KYt,"ILayoutMetaDataProvider");dIt(853,1,VYt,ju),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,GYt),WYt),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),xre),(x_t(),AEe)),Qre),Zft((rmt(),cEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,zYt),WYt),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),Cre),AEe),Fre),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,XYt),WYt),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),Tre),AEe),bre),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,qYt),WYt),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(cN(),!0)),fEe),yee),Zft(cEe))))},gX($Yt,"PolyominoOptions",853),dIt(250,22,{3:1,35:1,22:1,250:1},Ux);var Rre,Qre=Unt($Yt,"TraversalStrategy",250,Gte,krt,fQ);dIt(213,1,{213:1},yt),Cqt.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},Cqt.a=1,Cqt.b=0,Cqt.c=0,Cqt.f=!1,Cqt.g=0;var Ure=gX(YYt,"NEdge",213);dIt(176,1,{},Ub),gX(YYt,"NEdge/NEdgeBuilder",176),dIt(653,1,{},Rb),gX(YYt,"NGraph",653),dIt(121,1,{121:1},v6),Cqt.c=-1,Cqt.d=0,Cqt.e=0,Cqt.i=-1,Cqt.j=!1;var Hre=gX(YYt,"NNode",121);dIt(795,1,YWt,Qb),Cqt.Jc=function(t){t5(this,t)},Cqt.Lc=function(){return new D$(null,new f1(this,16))},Cqt.ad=function(t){Rit(this,t)},Cqt.Nc=function(){return new f1(this,16)},Cqt.Oc=function(){return new D$(null,new f1(this,16))},Cqt.Vc=function(t,e){++this.b,vK(this.a,t,e)},Cqt.Fc=function(t){return DN(this,t)},Cqt.Wc=function(t,e){return++this.b,sut(this.a,t,e)},Cqt.Gc=function(t){return++this.b,pst(this.a,t)},Cqt.$b=function(){++this.b,this.a.c=O9(Lte,Hqt,1,0,5,1)},Cqt.Hc=function(t){return-1!=w7(this.a,t,0)},Cqt.Ic=function(t){return sst(this.a,t)},Cqt.Xb=function(t){return O$(this.a,t)},Cqt.Xc=function(t){return w7(this.a,t,0)},Cqt.dc=function(){return 0==this.a.c.length},Cqt.Kc=function(){return I8(new zd(this.a))},Cqt.Yc=function(){throw Um(new pb)},Cqt.Zc=function(t){throw Um(new pb)},Cqt.$c=function(t){return++this.b,s6(this.a,t)},Cqt.Mc=function(t){return FN(this,t)},Cqt._c=function(t,e){return++this.b,r5(this.a,t,e)},Cqt.gc=function(){return this.a.c.length},Cqt.bd=function(t,e){return new s1(this.a,t,e)},Cqt.Pc=function(){return hD(this.a)},Cqt.Qc=function(t){return Vgt(this.a,t)},Cqt.b=0,gX(YYt,"NNode/ChangeAwareArrayList",795),dIt(269,1,{},Hb),gX(YYt,"NNode/NNodeBuilder",269),dIt(1630,1,{},wt),Cqt.a=!1,Cqt.f=Dqt,Cqt.j=0,gX(YYt,"NetworkSimplex",1630),dIt(1294,1,hVt,CA),Cqt.td=function(t){jGt(this.a,QH(t,680),!0,!1)},gX(ZYt,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),dIt(558,1,{},EA),Cqt.b=!0,Cqt.c=!0,Cqt.d=!0,Cqt.e=!0,gX(ZYt,"NodeMarginCalculator",558),dIt(212,1,{212:1}),Cqt.j=!1,Cqt.k=!1;var jre,$re,Kre,Gre=gX(tJt,"Cell",212);dIt(124,212,{124:1,212:1},RP),Cqt.Re=function(){return Gj(this)},Cqt.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c},gX(tJt,"AtomicCell",124),dIt(232,22,{3:1,35:1,22:1,232:1},Hx);var zre,Xre=Unt(tJt,"ContainerArea",232,Gte,g1,dQ);dIt(326,212,nJt),gX(tJt,"ContainerCell",326),dIt(1473,326,nJt,HAt),Cqt.Re=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].Re()):t=Wdt(this,Gvt(this,!0)),t>0?t+this.n.d+this.n.a:0},Cqt.Se=function(){var t,n,r,i,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=Wdt(this,Swt(this,null,!0));else for(Det(),r=0,i=(n=xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length;r<i;++r)t=n[r],a=e.Math.max(a,Wdt(this,Swt(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},Cqt.Te=function(){var t,e,n,r,i;if(this.g)for(t=Swt(this,null,!1),Det(),r=0,i=(n=xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length;r<i;++r)qDt(this,e=n[r],t);else for(Det(),r=0,i=(n=xst(jw(Xre,1),IVt,232,0,[jre,$re,Kre])).length;r<i;++r)qDt(this,e=n[r],t=Swt(this,e,!1))},Cqt.Ue=function(){var t,n,r,i;n=this.i,t=this.n,i=Gvt(this,!1),q5(this,(Det(),jre),n.d+t.d,i),q5(this,Kre,n.d+n.a-t.a-i[2],i),r=n.a-t.d-t.a,i[0]>0&&(i[0]+=this.d,r-=i[0]),i[2]>0&&(i[2]+=this.d,r-=i[2]),this.c.a=e.Math.max(0,r),this.c.d=n.d+t.d+(this.c.a-r)/2,i[1]=e.Math.max(i[1],r),q5(this,$re,n.d+t.d+i[0]-(i[1]-r)/2,i)},Cqt.b=null,Cqt.d=0,Cqt.e=!1,Cqt.f=!1,Cqt.g=!1;var qre,Vre,Wre,Yre=0,Jre=0;gX(tJt,"GridContainerCell",1473),dIt(461,22,{3:1,35:1,22:1,461:1},jx);var Zre,tie=Unt(tJt,"HorizontalLabelAlignment",461,Gte,m1,AQ);dIt(306,212,{212:1,306:1},bJ,det,FY),Cqt.Re=function(){return zj(this)},Cqt.Se=function(){return Xj(this)},Cqt.a=0,Cqt.c=!1;var eie,nie,rie,iie=gX(tJt,"LabelCell",306);dIt(244,326,{212:1,326:1,244:1},Bgt),Cqt.Re=function(){return CSt(this)},Cqt.Se=function(){return ESt(this)},Cqt.Te=function(){RUt(this)},Cqt.Ue=function(){$Ut(this)},Cqt.b=0,Cqt.c=0,Cqt.d=!1,gX(tJt,"StripContainerCell",244),dIt(1626,1,DVt,Tt),Cqt.Mb=function(t){return qy(QH(t,212))},gX(tJt,"StripContainerCell/lambda$0$Type",1626),dIt(1627,1,{},kt),Cqt.Fe=function(t){return QH(t,212).Se()},gX(tJt,"StripContainerCell/lambda$1$Type",1627),dIt(1628,1,DVt,Ct),Cqt.Mb=function(t){return Vy(QH(t,212))},gX(tJt,"StripContainerCell/lambda$2$Type",1628),dIt(1629,1,{},Et),Cqt.Fe=function(t){return QH(t,212).Re()},gX(tJt,"StripContainerCell/lambda$3$Type",1629),dIt(462,22,{3:1,35:1,22:1,462:1},$x);var aie,oie,sie,cie,lie,uie,hie,fie,die,Aie,pie,gie,mie,bie,vie,yie,wie,Tie,kie,Cie,Eie,xie,_ie,Bie=Unt(tJt,"VerticalLabelAlignment",462,Gte,b1,pQ);dIt(789,1,{},ezt),Cqt.c=0,Cqt.d=0,Cqt.k=0,Cqt.s=0,Cqt.t=0,Cqt.v=!1,Cqt.w=0,Cqt.D=!1,gX(cJt,"NodeContext",789),dIt(1471,1,CYt,xt),Cqt.ue=function(t,e){return VL(QH(t,61),QH(e,61))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(cJt,"NodeContext/0methodref$comparePortSides$Type",1471),dIt(1472,1,CYt,_t),Cqt.ue=function(t,e){return GCt(QH(t,111),QH(e,111))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(cJt,"NodeContext/1methodref$comparePortContexts$Type",1472),dIt(159,22,{3:1,35:1,22:1,159:1},sat);var Sie,Lie,Iie,Mie,Oie,Nie,Die,Fie=Unt(cJt,"NodeLabelLocation",159,Gte,tmt,gQ);dIt(111,1,{111:1},CLt),Cqt.a=!1,gX(cJt,"PortContext",111),dIt(1476,1,hVt,Bt),Cqt.td=function(t){xk(QH(t,306))},gX(hJt,fJt,1476),dIt(1477,1,DVt,St),Cqt.Mb=function(t){return!!QH(t,111).c},gX(hJt,dJt,1477),dIt(1478,1,hVt,Lt),Cqt.td=function(t){xk(QH(t,111).c)},gX(hJt,"LabelPlacer/lambda$2$Type",1478),dIt(1475,1,hVt,Mt),Cqt.td=function(t){HF(),Vm(QH(t,111))},gX(hJt,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),dIt(790,1,hVt,LQ),Cqt.td=function(t){DE(this.b,this.c,this.a,QH(t,181))},Cqt.a=!1,Cqt.c=!1,gX(hJt,"NodeLabelCellCreator/lambda$0$Type",790),dIt(1474,1,hVt,xA),Cqt.td=function(t){_b(this.a,QH(t,181))},gX(hJt,"PortContextCreator/lambda$0$Type",1474),dIt(1829,1,{},Ot),gX(pJt,"GreedyRectangleStripOverlapRemover",1829),dIt(1830,1,CYt,It),Cqt.ue=function(t,e){return RN(QH(t,222),QH(e,222))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(pJt,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),dIt(1786,1,{},Yb),Cqt.a=5,Cqt.e=0,gX(pJt,"RectangleStripOverlapRemover",1786),dIt(1787,1,CYt,Dt),Cqt.ue=function(t,e){return QN(QH(t,222),QH(e,222))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(pJt,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),dIt(1789,1,CYt,Ft),Cqt.ue=function(t,e){return Wz(QH(t,222),QH(e,222))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(pJt,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),dIt(406,22,{3:1,35:1,22:1,406:1},Kx);var Pie,Rie,Qie,Uie,Hie,jie=Unt(pJt,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Gte,V2,mQ);dIt(222,1,{222:1},OK),gX(pJt,"RectangleStripOverlapRemover/RectangleNode",222),dIt(1788,1,hVt,_A),Cqt.td=function(t){_vt(this.a,QH(t,222))},gX(pJt,"RectangleStripOverlapRemover/lambda$1$Type",1788),dIt(1304,1,CYt,Pt),Cqt.ue=function(t,e){return Kjt(QH(t,167),QH(e,167))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(mJt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),dIt(1307,1,{},Rt),Cqt.Kb=function(t){return QH(t,324).a},gX(mJt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),dIt(1308,1,DVt,Qt),Cqt.Mb=function(t){return QH(t,323).a},gX(mJt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),dIt(1309,1,DVt,Ut),Cqt.Mb=function(t){return QH(t,323).a},gX(mJt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),dIt(1302,1,CYt,Ht),Cqt.ue=function(t,e){return XPt(QH(t,167),QH(e,167))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(mJt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),dIt(1305,1,{},Nt),Cqt.Kb=function(t){return QH(t,324).a},gX(mJt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),dIt(767,1,CYt,jt),Cqt.ue=function(t,e){return Got(QH(t,167),QH(e,167))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(mJt,"PolyominoCompactor/MinNumOfExtensionsComparator",767),dIt(1300,1,CYt,$t),Cqt.ue=function(t,e){return Vrt(QH(t,321),QH(e,321))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(mJt,"PolyominoCompactor/MinPerimeterComparator",1300),dIt(1301,1,CYt,Kt),Cqt.ue=function(t,e){return abt(QH(t,321),QH(e,321))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(mJt,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),dIt(1303,1,CYt,Gt),Cqt.ue=function(t,e){return URt(QH(t,167),QH(e,167))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(mJt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),dIt(1306,1,{},zt),Cqt.Kb=function(t){return QH(t,324).a},gX(mJt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),dIt(777,1,{},Nx),Cqt.Ce=function(t,e){return B2(this,QH(t,46),QH(e,167))},gX(mJt,"SuccessorCombination",777),dIt(644,1,{},Xt),Cqt.Ce=function(t,e){var n;return zSt((n=QH(t,46),QH(e,167),n))},gX(mJt,"SuccessorJitter",644),dIt(643,1,{},qt),Cqt.Ce=function(t,e){var n;return fDt((n=QH(t,46),QH(e,167),n))},gX(mJt,"SuccessorLineByLine",643),dIt(568,1,{},Vt),Cqt.Ce=function(t,e){var n;return uMt((n=QH(t,46),QH(e,167),n))},gX(mJt,"SuccessorManhattan",568),dIt(1356,1,{},Wt),Cqt.Ce=function(t,e){var n;return wNt((n=QH(t,46),QH(e,167),n))},gX(mJt,"SuccessorMaxNormWindingInMathPosSense",1356),dIt(400,1,{},BA),Cqt.Ce=function(t,e){return Qz(this,t,e)},Cqt.c=!1,Cqt.d=!1,Cqt.e=!1,Cqt.f=!1,gX(mJt,"SuccessorQuadrantsGeneric",400),dIt(1357,1,{},Yt),Cqt.Kb=function(t){return QH(t,324).a},gX(mJt,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),dIt(323,22,{3:1,35:1,22:1,323:1},Px),Cqt.a=!1;var $ie,Kie=Unt(TJt,kJt,323,Gte,J2,bQ);dIt(1298,1,{}),Cqt.Ib=function(){var t,e,n,r,i,a;for(n=" ",t=nft(0),i=0;i<this.o;i++)n+=""+t.a,t=nft(uP(t.a));for(n+="\n",t=nft(0),a=0;a<this.p;a++){for(n+=""+t.a,t=nft(uP(t.a)),r=0;r<this.o;r++)0==qut(e=tit(this,r,a),0)?n+="_":0==qut(e,1)?n+="X":n+="0";n+="\n"}return lD(n,0,n.length-1)},Cqt.o=0,Cqt.p=0,gX(TJt,"TwoBitGrid",1298),dIt(321,1298,{321:1},jAt),Cqt.j=0,Cqt.k=0,gX(TJt,"PlanarGrid",321),dIt(167,321,{321:1,167:1}),Cqt.g=0,Cqt.i=0,gX(TJt,"Polyomino",167);var Gie=h$(BJt,SJt);dIt(134,1,LJt,Jt),Cqt.Ye=function(t,e){return cct(this,t,e)},Cqt.Ve=function(){return j$(this)},Cqt.We=function(t){return bEt(this,t)},Cqt.Xe=function(t){return ID(this,t)},gX(BJt,"MapPropertyHolder",134),dIt(1299,134,LJt,vDt),gX(TJt,"Polyominoes",1299);var zie,Xie,qie,Vie,Wie,Yie,Jie,Zie,tae=!1;dIt(1766,1,hVt,Zt),Cqt.td=function(t){o$t(QH(t,221))},gX(IJt,"DepthFirstCompaction/0methodref$compactTree$Type",1766),dIt(810,1,hVt,SA),Cqt.td=function(t){Fq(this.a,QH(t,221))},gX(IJt,"DepthFirstCompaction/lambda$1$Type",810),dIt(1767,1,hVt,MQ),Cqt.td=function(t){Agt(this.a,this.b,this.c,QH(t,221))},gX(IJt,"DepthFirstCompaction/lambda$2$Type",1767),dIt(65,1,{65:1},SZ),gX(IJt,"Node",65),dIt(1250,1,{},_M),gX(IJt,"ScanlineOverlapCheck",1250),dIt(1251,1,{679:1},cY),Cqt.Ke=function(t){jF(this,QH(t,440))},gX(IJt,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),dIt(1252,1,CYt,te),Cqt.ue=function(t,e){return Nft(QH(t,65),QH(e,65))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(IJt,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),dIt(440,1,{440:1},Dx),Cqt.a=!1,gX(IJt,"ScanlineOverlapCheck/Timestamp",440),dIt(1253,1,CYt,ee),Cqt.ue=function(t,e){return Jwt(QH(t,440),QH(e,440))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(IJt,"ScanlineOverlapCheck/lambda$0$Type",1253),dIt(550,1,{},ne),gX(MJt,"SVGImage",550),dIt(324,1,{324:1},OQ),Cqt.Ib=function(){return"("+this.a+Qqt+this.b+Qqt+this.c+")"},gX(MJt,"UniqueTriple",324),dIt(209,1,OJt),gX(NJt,"AbstractLayoutProvider",209),dIt(1132,209,OJt,re),Cqt.Ze=function(t,e){var n,r,i;SCt(e,DJt,1),this.a=jy(kF(JIt(t,(Tmt(),wae)))),E9(t,hae)&&(r=CF(JIt(t,hae)),(n=zPt(irt(),r))&&QH(sJ(n.f),209).Ze(t,bat(e,1))),i=new s3(this.a),this.b=FGt(i,t),0===QH(JIt(t,($lt(),oae)),481).g?(ULt(new ie,this.b),Wmt(t,Aae,bEt(this.b,Aae))):LC(),GGt(i),Wmt(t,dae,this.b),Hxt(e)},Cqt.a=0,gX(FJt,"DisCoLayoutProvider",1132),dIt(1244,1,{},ie),Cqt.c=!1,Cqt.e=0,Cqt.f=0,gX(FJt,"DisCoPolyominoCompactor",1244),dIt(561,1,{561:1},cK),Cqt.b=!0,gX(PJt,"DCComponent",561),dIt(394,22,{3:1,35:1,22:1,394:1},Fx),Cqt.a=!1;var eae,nae,rae=Unt(PJt,"DCDirection",394,Gte,Y2,vQ);dIt(266,134,{3:1,266:1,94:1,134:1},TIt),gX(PJt,"DCElement",266),dIt(395,1,{395:1},Bvt),Cqt.c=0,gX(PJt,"DCExtension",395),dIt(755,134,LJt,PT),gX(PJt,"DCGraph",755),dIt(481,22,{3:1,35:1,22:1,481:1},_D);var iae,aae,oae,sae,cae,lae,uae,hae,fae,dae,Aae,pae,gae,mae,bae,vae,yae,wae,Tae,kae,Cae,Eae=Unt(RJt,QJt,481,Gte,DV,yQ);dIt(854,1,VYt,Uu),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,UJt),KJt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),sae),(x_t(),AEe)),Eae),Zft((rmt(),cEe))))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,HJt),KJt),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),bEe),Vee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,jJt),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),mEe),Lte),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,$Jt),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),mEe),Lte),Zft(cEe)))),UHt((new Hu,t))},gX(RJt,"DisCoMetaDataProvider",854),dIt(998,1,VYt,Hu),Cqt.Qe=function(t){UHt(t)},gX(RJt,"DisCoOptions",998),dIt(999,1,{},ae),Cqt.$e=function(){return new re},Cqt._e=function(t){},gX(RJt,"DisCoOptions/DiscoFactory",999),dIt(562,167,{321:1,167:1,562:1},VMt),Cqt.a=0,Cqt.b=0,Cqt.c=0,Cqt.d=0,gX("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),dIt(1268,1,DVt,oe),Cqt.Mb=function(t){return TL(t)},gX(WJt,"ElkGraphComponentsProcessor/lambda$0$Type",1268),dIt(1269,1,{},se),Cqt.Kb=function(t){return kW(),xEt(QH(t,79))},gX(WJt,"ElkGraphComponentsProcessor/lambda$1$Type",1269),dIt(1270,1,DVt,ce),Cqt.Mb=function(t){return Hj(QH(t,79))},gX(WJt,"ElkGraphComponentsProcessor/lambda$2$Type",1270),dIt(1271,1,{},le),Cqt.Kb=function(t){return kW(),SEt(QH(t,79))},gX(WJt,"ElkGraphComponentsProcessor/lambda$3$Type",1271),dIt(1272,1,DVt,ue),Cqt.Mb=function(t){return jj(QH(t,79))},gX(WJt,"ElkGraphComponentsProcessor/lambda$4$Type",1272),dIt(1273,1,DVt,LA),Cqt.Mb=function(t){return kJ(this.a,QH(t,79))},gX(WJt,"ElkGraphComponentsProcessor/lambda$5$Type",1273),dIt(1274,1,{},IA),Cqt.Kb=function(t){return FX(this.a,QH(t,79))},gX(WJt,"ElkGraphComponentsProcessor/lambda$6$Type",1274),dIt(1241,1,{},s3),Cqt.a=0,gX(WJt,"ElkGraphTransformer",1241),dIt(1242,1,{},he),Cqt.Od=function(t,e){tLt(this,QH(t,160),QH(e,266))},gX(WJt,"ElkGraphTransformer/OffsetApplier",1242),dIt(1243,1,hVt,MA),Cqt.td=function(t){TO(this,QH(t,8))},gX(WJt,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),dIt(753,1,{},fe),gX(eZt,nZt,753),dIt(1232,1,CYt,de),Cqt.ue=function(t,e){return _St(QH(t,231),QH(e,231))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(eZt,rZt,1232),dIt(740,209,OJt,jb),Cqt.Ze=function(t,e){mOt(this,t,e)},gX(eZt,"ForceLayoutProvider",740),dIt(357,134,{3:1,357:1,94:1,134:1}),gX(iZt,"FParticle",357),dIt(559,357,{3:1,559:1,357:1,94:1,134:1},cX),Cqt.Ib=function(){var t;return this.a?(t=w7(this.a.a,this,0))>=0?"b"+t+"["+a5(this.a)+"]":"b["+a5(this.a)+"]":"b_"+EN(this)},gX(iZt,"FBendpoint",559),dIt(282,134,{3:1,282:1,94:1,134:1},_P),Cqt.Ib=function(){return a5(this)},gX(iZt,"FEdge",282),dIt(231,134,{3:1,231:1,94:1,134:1},b6);var xae,_ae,Bae,Sae,Lae,Iae,Mae,Oae,Nae,Dae,Fae=gX(iZt,"FGraph",231);dIt(447,357,{3:1,447:1,357:1,94:1,134:1},m3),Cqt.Ib=function(){return null==this.b||0==this.b.length?"l["+a5(this.a)+"]":"l_"+this.b},gX(iZt,"FLabel",447),dIt(144,357,{3:1,144:1,357:1,94:1,134:1},HX),Cqt.Ib=function(){return p0(this)},Cqt.b=0,gX(iZt,"FNode",144),dIt(2003,1,{}),Cqt.bf=function(t){cUt(this,t)},Cqt.cf=function(){jvt(this)},Cqt.d=0,gX(oZt,"AbstractForceModel",2003),dIt(631,2003,{631:1},Mot),Cqt.af=function(t,n){var r,i,a,o;return tSt(this.f,t,n),a=GP(QM(n.d),t.d),o=e.Math.sqrt(a.a*a.a+a.b*a.b),i=e.Math.max(0,o-uq(t.e)/2-uq(n.e)/2),vO(a,((r=jct(this.e,t,n))>0?-Pz(i,this.c)*r:OD(i,this.b)*QH(bEt(t,(uPt(),Yae)),19).a)/o),a},Cqt.bf=function(t){cUt(this,t),this.a=QH(bEt(t,(uPt(),Hae)),19).a,this.c=jy(kF(bEt(t,roe))),this.b=jy(kF(bEt(t,Zae)))},Cqt.df=function(t){return t<this.a},Cqt.a=0,Cqt.b=0,Cqt.c=0,gX(oZt,"EadesModel",631),dIt(632,2003,{632:1},lj),Cqt.af=function(t,n){var r,i,a,o,s;return tSt(this.f,t,n),a=GP(QM(n.d),t.d),s=e.Math.sqrt(a.a*a.a+a.b*a.b),o=MD(i=e.Math.max(0,s-uq(t.e)/2-uq(n.e)/2),this.a)*QH(bEt(t,(uPt(),Yae)),19).a,(r=jct(this.e,t,n))>0&&(o-=Cy(i,this.a)*r),vO(a,o*this.b/s),a},Cqt.bf=function(t){var n,r,i,a,o,s,c;for(cUt(this,t),this.b=jy(kF(bEt(t,(uPt(),ioe)))),this.c=this.b/QH(bEt(t,Hae),19).a,i=t.e.c.length,o=0,a=0,c=new zd(t.e);c.a<c.c.c.length;)o+=(s=QH(J1(c),144)).e.a,a+=s.e.b;n=o*a,r=jy(kF(bEt(t,roe)))*uJt,this.a=e.Math.sqrt(n/(2*i))*r},Cqt.cf=function(){jvt(this),this.b-=this.c},Cqt.df=function(t){return this.b>0},Cqt.a=0,Cqt.b=0,Cqt.c=0,gX(oZt,"FruchtermanReingoldModel",632),dIt(849,1,VYt,$u),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,sZt),""),"Force Model"),"Determines the model for force calculation."),Bae),(x_t(),AEe)),Loe),Zft((rmt(),cEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,cZt),""),"Iterations"),"The number of iterations on the force model."),nft(300)),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,lZt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),nft(0)),gEe),Lee),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,uZt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),hZt),dEe),xee),Zft(cEe)))),i2(t,uZt,sZt,Oae),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,fZt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),dEe),xee),Zft(cEe)))),i2(t,fZt,sZt,Lae),gzt((new Ku,t))},gX(dZt,"ForceMetaDataProvider",849),dIt(424,22,{3:1,35:1,22:1,424:1},Gx);var Pae,Rae,Qae,Uae,Hae,jae,$ae,Kae,Gae,zae,Xae,qae,Vae,Wae,Yae,Jae,Zae,toe,eoe,noe,roe,ioe,aoe,ooe,soe,coe,loe,uoe,hoe,foe,doe,Aoe,poe,goe,moe,boe,voe,yoe,woe,Toe,koe,Coe,Eoe,xoe,_oe,Boe,Soe,Loe=Unt(dZt,"ForceModelStrategy",424,Gte,iJ,wQ);dIt(988,1,VYt,Ku),Cqt.Qe=function(t){gzt(t)},gX(dZt,"ForceOptions",988),dIt(989,1,{},Ae),Cqt.$e=function(){return new jb},Cqt._e=function(t){},gX(dZt,"ForceOptions/ForceFactory",989),dIt(850,1,VYt,Gu),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,OZt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(cN(),!1)),(x_t(),fEe)),yee),Zft((rmt(),sEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,NZt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),dEe),xee),wK(cEe,xst(jw(yEe,1),IVt,175,0,[aEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,DZt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),hoe),AEe),Uoe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,FZt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),hZt),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,PZt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),nft(Dqt)),gEe),Lee),Zft(cEe)))),GKt((new zu,t))},gX(dZt,"StressMetaDataProvider",850),dIt(992,1,VYt,zu),Cqt.Qe=function(t){GKt(t)},gX(dZt,"StressOptions",992),dIt(993,1,{},pe),Cqt.$e=function(){return new BP},Cqt._e=function(t){},gX(dZt,"StressOptions/StressFactory",993),dIt(1128,209,OJt,BP),Cqt.Ze=function(t,e){var n,r,i,a;for(SCt(e,QZt,1),Hy(TF(JIt(t,(rwt(),voe))))?Hy(TF(JIt(t,Eoe)))||yJ(new TA((jE(),new Ny(t)))):mOt(new jb,t,bat(e,1)),r=uct(t),a=(n=HUt(this.a,r)).Kc();a.Ob();)(i=QH(a.Pb(),231)).e.c.length<=1||(Hjt(this.b,i),nMt(this.b),Set(i.d,new ge));Ezt(r=$zt(n)),Hxt(e)},gX(HZt,"StressLayoutProvider",1128),dIt(1129,1,hVt,ge),Cqt.td=function(t){RHt(QH(t,447))},gX(HZt,"StressLayoutProvider/lambda$0$Type",1129),dIt(990,1,{},Tb),Cqt.c=0,Cqt.e=0,Cqt.g=0,gX(HZt,"StressMajorization",990),dIt(379,22,{3:1,35:1,22:1,379:1},zx);var Ioe,Moe,Ooe,Noe,Doe,Foe,Poe,Roe,Qoe,Uoe=Unt(HZt,"StressMajorization/Dimension",379,Gte,y1,TQ);dIt(991,1,CYt,OA),Cqt.ue=function(t,e){return CR(this.a,QH(t,144),QH(e,144))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(HZt,"StressMajorization/lambda$0$Type",991),dIt(1229,1,{},N0),gX($Zt,"ElkLayered",1229),dIt(1230,1,hVt,me),Cqt.td=function(t){FSt(QH(t,37))},gX($Zt,"ElkLayered/lambda$0$Type",1230),dIt(1231,1,hVt,NA),Cqt.td=function(t){ER(this.a,QH(t,37))},gX($Zt,"ElkLayered/lambda$1$Type",1231),dIt(1263,1,{},LM),gX($Zt,"GraphConfigurator",1263),dIt(759,1,hVt,DA),Cqt.td=function(t){qEt(this.a,QH(t,10))},gX($Zt,"GraphConfigurator/lambda$0$Type",759),dIt(760,1,{},be),Cqt.Kb=function(t){return tTt(),new D$(null,new f1(QH(t,29).a,16))},gX($Zt,"GraphConfigurator/lambda$1$Type",760),dIt(761,1,hVt,FA),Cqt.td=function(t){qEt(this.a,QH(t,10))},gX($Zt,"GraphConfigurator/lambda$2$Type",761),dIt(1127,209,OJt,Kb),Cqt.Ze=function(t,e){var n;n=EHt(new Zb,t),jS(JIt(t,(HXt(),sge)))===jS((oht(),pBe))?rAt(this.a,n,e):dLt(this.a,n,e),pzt(new qu,n)},gX($Zt,"LayeredLayoutProvider",1127),dIt(356,22,{3:1,35:1,22:1,356:1},Xx);var Hoe,joe,$oe,Koe=Unt($Zt,"LayeredPhases",356,Gte,s5,kQ);dIt(1651,1,{},mrt),Cqt.i=0,gX(KZt,"ComponentsToCGraphTransformer",1651),dIt(1652,1,{},ve),Cqt.ef=function(t,n){return e.Math.min(null!=t.a?jy(t.a):t.c.i,null!=n.a?jy(n.a):n.c.i)},Cqt.ff=function(t,n){return e.Math.min(null!=t.a?jy(t.a):t.c.i,null!=n.a?jy(n.a):n.c.i)},gX(KZt,"ComponentsToCGraphTransformer/1",1652),dIt(81,1,{81:1}),Cqt.i=0,Cqt.k=!0,Cqt.o=PWt;var Goe,zoe,Xoe,qoe=gX(GZt,"CNode",81);dIt(460,81,{460:1,81:1},MN,Egt),Cqt.Ib=function(){return""},gX(KZt,"ComponentsToCGraphTransformer/CRectNode",460),dIt(1623,1,{},ye),gX(KZt,"OneDimensionalComponentsCompaction",1623),dIt(1624,1,{},we),Cqt.Kb=function(t){return OZ(QH(t,46))},Cqt.Fb=function(t){return this===t},gX(KZt,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),dIt(1625,1,{},Te),Cqt.Kb=function(t){return TAt(QH(t,46))},Cqt.Fb=function(t){return this===t},gX(KZt,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),dIt(1654,1,{},QX),gX(GZt,"CGraph",1654),dIt(189,1,{189:1},xgt),Cqt.b=0,Cqt.c=0,Cqt.e=0,Cqt.g=!0,Cqt.i=PWt,gX(GZt,"CGroup",189),dIt(1653,1,{},xe),Cqt.ef=function(t,n){return e.Math.max(null!=t.a?jy(t.a):t.c.i,null!=n.a?jy(n.a):n.c.i)},Cqt.ff=function(t,n){return e.Math.max(null!=t.a?jy(t.a):t.c.i,null!=n.a?jy(n.a):n.c.i)},gX(GZt,SYt,1653),dIt(1655,1,{},cLt),Cqt.d=!1;var Voe=gX(GZt,NYt,1655);dIt(1656,1,{},_e),Cqt.Kb=function(t){return vE(),cN(),0!=QH(QH(t,46).a,81).d.e},Cqt.Fb=function(t){return this===t},gX(GZt,DYt,1656),dIt(823,1,{},C$),Cqt.a=!1,Cqt.b=!1,Cqt.c=!1,Cqt.d=!1,gX(GZt,FYt,823),dIt(1825,1,{},NK),gX(zZt,PYt,1825);var Woe=h$(XZt,xYt);dIt(1826,1,{369:1},uY),Cqt.Ke=function(t){$Dt(this,QH(t,466))},gX(zZt,RYt,1826),dIt(1827,1,CYt,Be),Cqt.ue=function(t,e){return oW(QH(t,81),QH(e,81))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(zZt,QYt,1827),dIt(466,1,{466:1},l_),Cqt.a=!1,gX(zZt,UYt,466),dIt(1828,1,CYt,Se),Cqt.ue=function(t,e){return Zwt(QH(t,466),QH(e,466))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(zZt,HYt,1828),dIt(140,1,{140:1},d_,mj),Cqt.Fb=function(t){var e;return null!=t&&ese==tlt(t)&&(e=QH(t,140),rV(this.c,e.c)&&rV(this.d,e.d))},Cqt.Hb=function(){return uut(xst(jw(Lte,1),Hqt,1,5,[this.c,this.d]))},Cqt.Ib=function(){return"("+this.c+Qqt+this.d+(this.a?"cx":"")+this.b+")"},Cqt.a=!0,Cqt.c=0,Cqt.d=0;var Yoe,Joe,Zoe,tse,ese=gX(XZt,"Point",140);dIt(405,22,{3:1,35:1,22:1,405:1},qx);var nse,rse,ise,ase,ose,sse,cse,lse,use,hse,fse,dse=Unt(XZt,"Point/Quadrant",405,Gte,Z2,CQ);dIt(1642,1,{},Xb),Cqt.b=null,Cqt.c=null,Cqt.d=null,Cqt.e=null,Cqt.f=null,gX(XZt,"RectilinearConvexHull",1642),dIt(574,1,{369:1},kmt),Cqt.Ke=function(t){P8(this,QH(t,140))},Cqt.b=0,gX(XZt,"RectilinearConvexHull/MaximalElementsEventHandler",574),dIt(1644,1,CYt,Ce),Cqt.ue=function(t,e){return NV(kF(t),kF(e))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(XZt,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),dIt(1643,1,{369:1},uet),Cqt.Ke=function(t){xNt(this,QH(t,140))},Cqt.a=0,Cqt.b=null,Cqt.c=null,Cqt.d=null,Cqt.e=null,gX(XZt,"RectilinearConvexHull/RectangleEventHandler",1643),dIt(1645,1,CYt,Ee),Cqt.ue=function(t,e){return a0(QH(t,140),QH(e,140))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(XZt,"RectilinearConvexHull/lambda$0$Type",1645),dIt(1646,1,CYt,ke),Cqt.ue=function(t,e){return o0(QH(t,140),QH(e,140))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(XZt,"RectilinearConvexHull/lambda$1$Type",1646),dIt(1647,1,CYt,Le),Cqt.ue=function(t,e){return c0(QH(t,140),QH(e,140))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(XZt,"RectilinearConvexHull/lambda$2$Type",1647),dIt(1648,1,CYt,Ie),Cqt.ue=function(t,e){return s0(QH(t,140),QH(e,140))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(XZt,"RectilinearConvexHull/lambda$3$Type",1648),dIt(1649,1,CYt,Me),Cqt.ue=function(t,e){return wEt(QH(t,140),QH(e,140))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(XZt,"RectilinearConvexHull/lambda$4$Type",1649),dIt(1650,1,{},BZ),gX(XZt,"Scanline",1650),dIt(2005,1,{}),gX(qZt,"AbstractGraphPlacer",2005),dIt(325,1,{325:1},GD),Cqt.mf=function(t){return!!this.nf(t)&&(YSt(this.b,QH(bEt(t,(lqt(),Ghe)),21),t),!0)},Cqt.nf=function(t){var e,n,r;for(e=QH(bEt(t,(lqt(),Ghe)),21),r=QH(c6(lse,e),21).Kc();r.Ob();)if(n=QH(r.Pb(),21),!QH(c6(this.b,n),15).dc())return!1;return!0},gX(qZt,"ComponentGroup",325),dIt(765,2005,{},qb),Cqt.of=function(t){var e;for(e=new zd(this.a);e.a<e.c.c.length;)if(QH(J1(e),325).mf(t))return;zH(this.a,new GD(t))},Cqt.lf=function(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A;if(this.a.c=O9(Lte,Hqt,1,0,5,1),e.a.c=O9(Lte,Hqt,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(jot(e,o=QH(t.Xb(0),37)),i=t.Kc();i.Ob();)r=QH(i.Pb(),37),this.of(r);for(A=new jT,a=jy(kF(bEt(o,(HXt(),mme)))),l=new zd(this.a);l.a<l.c.c.length;)u=kXt(s=QH(J1(l),325),a),f8(TX(s.b),A.a,A.b),A.a+=u.a,A.b+=u.b;if(e.f.a=A.a-a,e.f.b=A.b-a,Hy(TF(bEt(o,kpe)))&&jS(bEt(o,Ype))===jS((Cdt(),q_e))){for(d=t.Kc();d.Ob();)JPt(h=QH(d.Pb(),37),h.c.a,h.c.b);for(PXt(n=new Oe,t,a),f=t.Kc();f.Ob();)KP(vL((h=QH(f.Pb(),37)).c),n.e);KP(vL(e.f),n.a)}for(c=new zd(this.a);c.a<c.c.c.length;)d8(e,TX((s=QH(J1(c),325)).b))},gX(qZt,"ComponentGroupGraphPlacer",765),dIt(1293,765,{},cv),Cqt.of=function(t){ght(this,t)},Cqt.lf=function(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b;if(this.a.c=O9(Lte,Hqt,1,0,5,1),n.a.c=O9(Lte,Hqt,1,0,5,1),t.dc())return n.f.a=0,void(n.f.b=0);for(jot(n,o=QH(t.Xb(0),37)),i=t.Kc();i.Ob();)ght(this,QH(i.Pb(),37));for(b=new jT,m=new jT,p=new jT,A=new jT,a=jy(kF(bEt(o,(HXt(),mme)))),l=new zd(this.a);l.a<l.c.c.length;){if(s=QH(J1(l),325),dI(QH(bEt(n,(cqt(),hxe)),103))){for(p.a=b.a,g=new uy(kX(vX(s.b).a).a.kc());g.b.Ob();)if(QH(rx(g.b.Pb()),21).Hc((yzt(),sSe))){p.a=m.a;break}}else if(AI(QH(bEt(n,hxe),103)))for(p.b=b.b,g=new uy(kX(vX(s.b).a).a.kc());g.b.Ob();)if(QH(rx(g.b.Pb()),21).Hc((yzt(),xSe))){p.b=m.b;break}if(u=kXt(QH(s,570),a),f8(TX(s.b),p.a,p.b),dI(QH(bEt(n,hxe),103))){for(m.a=p.a+u.a,A.a=e.Math.max(A.a,m.a),g=new uy(kX(vX(s.b).a).a.kc());g.b.Ob();)if(QH(rx(g.b.Pb()),21).Hc((yzt(),CSe))){b.a=p.a+u.a;break}m.b=p.b+u.b,p.b=m.b,A.b=e.Math.max(A.b,p.b)}else if(AI(QH(bEt(n,hxe),103))){for(m.b=p.b+u.b,A.b=e.Math.max(A.b,m.b),g=new uy(kX(vX(s.b).a).a.kc());g.b.Ob();)if(QH(rx(g.b.Pb()),21).Hc((yzt(),oSe))){b.b=p.b+u.b;break}m.a=p.a+u.a,p.a=m.a,A.a=e.Math.max(A.a,p.a)}}if(n.f.a=A.a-a,n.f.b=A.b-a,Hy(TF(bEt(o,kpe)))&&jS(bEt(o,Ype))===jS((Cdt(),q_e))){for(d=t.Kc();d.Ob();)JPt(h=QH(d.Pb(),37),h.c.a,h.c.b);for(PXt(r=new Oe,t,a),f=t.Kc();f.Ob();)KP(vL((h=QH(f.Pb(),37)).c),r.e);KP(vL(n.f),r.a)}for(c=new zd(this.a);c.a<c.c.c.length;)d8(n,TX((s=QH(J1(c),325)).b))},gX(qZt,"ComponentGroupModelOrderGraphPlacer",1293),dIt(423,22,{3:1,35:1,22:1,423:1},Vx);var Ase,pse,gse,mse=Unt(qZt,"ComponentOrderingStrategy",423,Gte,v1,EQ);dIt(650,1,{},Oe),gX(qZt,"ComponentsCompactor",650),dIt(1468,12,VWt,g5),Cqt.Fc=function(t){return WTt(this,QH(t,140))},gX(qZt,"ComponentsCompactor/Hullpoints",1468),dIt(1465,1,{841:1},lbt),Cqt.a=!1,gX(qZt,"ComponentsCompactor/InternalComponent",1465),dIt(1464,1,gVt,Vb),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new zd(this.a)},gX(qZt,"ComponentsCompactor/InternalConnectedComponents",1464),dIt(1467,1,{594:1},ALt),Cqt.hf=function(){return null},Cqt.jf=function(){return this.a},Cqt.gf=function(){return omt(this.d)},Cqt.kf=function(){return this.b},gX(qZt,"ComponentsCompactor/InternalExternalExtension",1467),dIt(1466,1,{594:1},Jb),Cqt.jf=function(){return this.a},Cqt.gf=function(){return omt(this.d)},Cqt.hf=function(){return this.c},Cqt.kf=function(){return this.b},gX(qZt,"ComponentsCompactor/InternalUnionExternalExtension",1466),dIt(1470,1,{},VDt),gX(qZt,"ComponentsCompactor/OuterSegments",1470),dIt(1469,1,{},Wb),gX(qZt,"ComponentsCompactor/Segments",1469),dIt(1264,1,{},hY),gX(qZt,nZt,1264),dIt(1265,1,CYt,Ne),Cqt.ue=function(t,e){return h0(QH(t,37),QH(e,37))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(qZt,"ComponentsProcessor/lambda$0$Type",1265),dIt(570,325,{325:1,570:1},p5),Cqt.mf=function(t){return Alt(this,t)},Cqt.nf=function(t){return fNt(this,t)},gX(qZt,"ModelOrderComponentGroup",570),dIt(1291,2005,{},De),Cqt.lf=function(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T;if(1!=t.gc()){if(t.dc())return n.a.c=O9(Lte,Hqt,1,0,5,1),n.f.a=0,void(n.f.b=0);if(jS(bEt(n,(HXt(),xpe)))===jS((Uht(),fse))){for(l=t.Kc();l.Ob();){for(m=0,p=new zd((s=QH(l.Pb(),37)).a);p.a<p.c.c.length;)A=QH(J1(p),10),m+=QH(bEt(A,cme),19).a;s.p=m}CW(),t.ad(new Fe)}for(o=QH(t.Xb(0),37),n.a.c=O9(Lte,Hqt,1,0,5,1),jot(n,o),d=0,y=0,u=t.Kc();u.Ob();)b=(s=QH(u.Pb(),37)).f,d=e.Math.max(d,b.a),y+=b.a*b.b;for(d=e.Math.max(d,e.Math.sqrt(y)*jy(kF(bEt(n,wpe)))),w=0,T=0,f=0,r=a=jy(kF(bEt(n,mme))),c=t.Kc();c.Ob();)w+(b=(s=QH(c.Pb(),37)).f).a>d&&(w=0,T+=f+a,f=0),JPt(s,w+(g=s.c).a,T+g.b),vL(g),r=e.Math.max(r,w+b.a),f=e.Math.max(f,b.b),w+=b.a+a;if(n.f.a=r,n.f.b=T+f,Hy(TF(bEt(o,kpe)))){for(PXt(i=new Oe,t,a),h=t.Kc();h.Ob();)KP(vL(QH(h.Pb(),37).c),i.e);KP(vL(n.f),i.a)}d8(n,t)}else(v=QH(t.Xb(0),37))!=n&&(n.a.c=O9(Lte,Hqt,1,0,5,1),IRt(n,v,0,0),jot(n,v),vW(n.d,v.d),n.f.a=v.f.a,n.f.b=v.f.b)},gX(qZt,"SimpleRowGraphPlacer",1291),dIt(1292,1,CYt,Fe),Cqt.ue=function(t,e){return Kot(QH(t,37),QH(e,37))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(qZt,"SimpleRowGraphPlacer/1",1292),dIt(1262,1,jYt,Pe),Cqt.Lb=function(t){var e;return!!(e=QH(bEt(QH(t,243).b,(HXt(),gge)),74))&&0!=e.b},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){var e;return!!(e=QH(bEt(QH(t,243).b,(HXt(),gge)),74))&&0!=e.b},gX(JZt,"CompoundGraphPostprocessor/1",1262),dIt(1261,1,ZZt,tv),Cqt.pf=function(t,e){bbt(this,QH(t,37),e)},gX(JZt,"CompoundGraphPreprocessor",1261),dIt(441,1,{441:1},Kht),Cqt.c=!1,gX(JZt,"CompoundGraphPreprocessor/ExternalPort",441),dIt(243,1,{243:1},IQ),Cqt.Ib=function(){return dD(this.c)+":"+SSt(this.b)},gX(JZt,"CrossHierarchyEdge",243),dIt(763,1,CYt,PA),Cqt.ue=function(t,e){return qyt(this,QH(t,243),QH(e,243))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(JZt,"CrossHierarchyEdgeComparator",763),dIt(299,134,{3:1,299:1,94:1,134:1}),Cqt.p=0,gX(t1t,"LGraphElement",299),dIt(17,299,{3:1,17:1,299:1,94:1,134:1},fY),Cqt.Ib=function(){return SSt(this)};var bse=gX(t1t,"LEdge",17);dIt(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},brt),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new zd(this.b)},Cqt.Ib=function(){return 0==this.b.c.length?"G-unlayered"+MEt(this.a):0==this.a.c.length?"G-layered"+MEt(this.b):"G[layerless"+MEt(this.a)+", layers"+MEt(this.b)+"]"};var vse,yse=gX(t1t,"LGraph",37);dIt(657,1,{}),Cqt.qf=function(){return this.e.n},Cqt.We=function(t){return bEt(this.e,t)},Cqt.rf=function(){return this.e.o},Cqt.sf=function(){return this.e.p},Cqt.Xe=function(t){return ID(this.e,t)},Cqt.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},Cqt.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},Cqt.vf=function(t){this.e.p=t},gX(t1t,"LGraphAdapters/AbstractLShapeAdapter",657),dIt(577,1,{839:1},RA),Cqt.wf=function(){var t,e;if(!this.b)for(this.b=sD(this.a.b.c.length),e=new zd(this.a.b);e.a<e.c.c.length;)t=QH(J1(e),70),zH(this.b,new QA(t));return this.b},Cqt.b=null,gX(t1t,"LGraphAdapters/LEdgeAdapter",577),dIt(656,1,{},UV),Cqt.xf=function(){var t,e,n,r,i;if(!this.b)for(this.b=new Mm,n=new zd(this.a.b);n.a<n.c.c.length;)for(i=new zd(QH(J1(n),29).a);i.a<i.c.c.length;)if(r=QH(J1(i),10),this.c.Mb(r)&&(zH(this.b,new PQ(this,r,this.e)),this.d)){if(ID(r,(lqt(),Ffe)))for(e=QH(bEt(r,Ffe),15).Kc();e.Ob();)t=QH(e.Pb(),10),zH(this.b,new PQ(this,t,!1));if(ID(r,Nhe))for(e=QH(bEt(r,Nhe),15).Kc();e.Ob();)t=QH(e.Pb(),10),zH(this.b,new PQ(this,t,!1))}return this.b},Cqt.qf=function(){throw Um(new Zy(n1t))},Cqt.We=function(t){return bEt(this.a,t)},Cqt.rf=function(){return this.a.f},Cqt.sf=function(){return this.a.p},Cqt.Xe=function(t){return ID(this.a,t)},Cqt.tf=function(t){throw Um(new Zy(n1t))},Cqt.uf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},Cqt.vf=function(t){this.a.p=t},Cqt.b=null,Cqt.d=!1,Cqt.e=!1,gX(t1t,"LGraphAdapters/LGraphAdapter",656),dIt(576,657,{181:1},QA),gX(t1t,"LGraphAdapters/LLabelAdapter",576),dIt(575,657,{680:1},PQ),Cqt.yf=function(){return this.b},Cqt.zf=function(){return CW(),CW(),cne},Cqt.wf=function(){var t,e;if(!this.a)for(this.a=sD(QH(this.e,10).b.c.length),e=new zd(QH(this.e,10).b);e.a<e.c.c.length;)t=QH(J1(e),70),zH(this.a,new QA(t));return this.a},Cqt.Af=function(){var t;return new UP((t=QH(this.e,10).d).d,t.c,t.a,t.b)},Cqt.Bf=function(){return CW(),CW(),cne},Cqt.Cf=function(){var t,e;if(!this.c)for(this.c=sD(QH(this.e,10).j.c.length),e=new zd(QH(this.e,10).j);e.a<e.c.c.length;)t=QH(J1(e),11),zH(this.c,new A_(t,this.d));return this.c},Cqt.Df=function(){return Hy(TF(bEt(QH(this.e,10),(lqt(),Phe))))},Cqt.Ef=function(t){QH(this.e,10).d.b=t.b,QH(this.e,10).d.d=t.d,QH(this.e,10).d.c=t.c,QH(this.e,10).d.a=t.a},Cqt.Ff=function(t){QH(this.e,10).f.b=t.b,QH(this.e,10).f.d=t.d,QH(this.e,10).f.c=t.c,QH(this.e,10).f.a=t.a},Cqt.Gf=function(){Oet(this,(AE(),vse))},Cqt.a=null,Cqt.b=null,Cqt.c=null,Cqt.d=!1,gX(t1t,"LGraphAdapters/LNodeAdapter",575),dIt(1722,657,{838:1},A_),Cqt.zf=function(){var t,e,n,r;if(this.d&&QH(this.e,11).i.k==(oxt(),_se))return CW(),CW(),cne;if(!this.a){for(this.a=new Mm,n=new zd(QH(this.e,11).e);n.a<n.c.c.length;)t=QH(J1(n),17),zH(this.a,new RA(t));if(this.d&&(r=QH(bEt(QH(this.e,11),(lqt(),wfe)),10)))for(e=new oG(YO(udt(r).a.Kc(),new u));AIt(e);)t=QH(K5(e),17),zH(this.a,new RA(t))}return this.a},Cqt.wf=function(){var t,e;if(!this.b)for(this.b=sD(QH(this.e,11).f.c.length),e=new zd(QH(this.e,11).f);e.a<e.c.c.length;)t=QH(J1(e),70),zH(this.b,new QA(t));return this.b},Cqt.Bf=function(){var t,e,n,r;if(this.d&&QH(this.e,11).i.k==(oxt(),_se))return CW(),CW(),cne;if(!this.c){for(this.c=new Mm,n=new zd(QH(this.e,11).g);n.a<n.c.c.length;)t=QH(J1(n),17),zH(this.c,new RA(t));if(this.d&&(r=QH(bEt(QH(this.e,11),(lqt(),wfe)),10)))for(e=new oG(YO(hdt(r).a.Kc(),new u));AIt(e);)t=QH(K5(e),17),zH(this.c,new RA(t))}return this.c},Cqt.Hf=function(){return QH(this.e,11).j},Cqt.If=function(){return Hy(TF(bEt(QH(this.e,11),(lqt(),tfe))))},Cqt.a=null,Cqt.b=null,Cqt.c=null,Cqt.d=!1,gX(t1t,"LGraphAdapters/LPortAdapter",1722),dIt(1723,1,CYt,Re),Cqt.ue=function(t,e){return XFt(QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(t1t,"LGraphAdapters/PortComparator",1723),dIt(804,1,DVt,Qe),Cqt.Mb=function(t){return QH(t,10),AE(),!0},gX(t1t,"LGraphAdapters/lambda$0$Type",804),dIt(392,299,{3:1,299:1,392:1,94:1,134:1}),gX(t1t,"LShape",392),dIt(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},HT,BM),Cqt.Ib=function(){var t;return null==(t=Vj(this))?"label":"l_"+t},gX(t1t,"LLabel",70),dIt(207,1,{3:1,4:1,207:1,414:1}),Cqt.Fb=function(t){var e;return!!rO(t,207)&&(e=QH(t,207),this.d==e.d&&this.a==e.a&&this.b==e.b&&this.c==e.c)},Cqt.Hb=function(){var t,e;return t=XL(this.b)<<16,t|=XL(this.a)&VVt,e=XL(this.c)<<16,t^(e|=XL(this.d)&VVt)},Cqt.Jf=function(t){var e,n,r,i,a,o,s,c,l;for(i=0;i<t.length&&Dut((h1(i,t.length),t.charCodeAt(i)),s1t);)++i;for(e=t.length;e>0&&Dut((h1(e-1,t.length),t.charCodeAt(e-1)),c1t);)--e;if(i<e){c=yRt(t.substr(i,e-i),",|;");try{for(o=0,s=(a=c).length;o<s;++o){if(2!=(r=yRt(a[o],"=")).length)throw Um(new Py("Expecting a list of key-value pairs."));n=FEt(r[0]),l=fxt(FEt(r[1])),mR(n,"top")?this.d=l:mR(n,"left")?this.b=l:mR(n,"bottom")?this.a=l:mR(n,"right")&&(this.c=l)}}catch(t){throw rO(t=hst(t),127)?Um(new Py(l1t+t)):Um(t)}}},Cqt.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},Cqt.a=0,Cqt.b=0,Cqt.c=0,Cqt.d=0,gX(u1t,"Spacing",207),dIt(142,207,h1t,uv,uI,UP,SQ);var wse=gX(u1t,"ElkMargin",142);dIt(651,142,h1t,lv),gX(t1t,"LMargin",651),dIt(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},Ibt),Cqt.Ib=function(){return Imt(this)},Cqt.i=!1;var Tse,kse,Cse,Ese,xse,_se,Bse=gX(t1t,"LNode",10);dIt(267,22,{3:1,35:1,22:1,267:1},Wx);var Sse,Lse=Unt(t1t,"LNode/NodeType",267,Gte,a8,_Q);dIt(116,207,f1t,hv,zI,BQ);var Ise,Mse,Ose,Nse,Dse,Fse,Pse=gX(u1t,"ElkPadding",116);dIt(764,116,f1t,fv),gX(t1t,"LPadding",764),dIt(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},_xt),Cqt.Ib=function(){var t,e,n;return oL(((t=new xw).a+="p_",t),gyt(this)),this.i&&oL(aL((t.a+="[",t),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&QH(O$(this.e,0),17).c!=this&&(e=QH(O$(this.e,0),17).c,oL((t.a+=" << ",t),gyt(e)),oL(aL((t.a+="[",t),e.i),"]")),0==this.e.c.length&&1==this.g.c.length&&QH(O$(this.g,0),17).d!=this&&(n=QH(O$(this.g,0),17).d,oL((t.a+=" >> ",t),gyt(n)),oL(aL((t.a+="[",t),n.i),"]")),t.a},Cqt.c=!0,Cqt.d=!1;var Rse,Qse,Use,Hse,jse=gX(t1t,"LPort",11);dIt(397,1,gVt,UA),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new HA(new zd(this.a.e))},gX(t1t,"LPort/1",397),dIt(1290,1,Vqt,HA),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return QH(J1(this.a),17).c},Cqt.Ob=function(){return bM(this.a)},Cqt.Qb=function(){Sz(this.a)},gX(t1t,"LPort/1/1",1290),dIt(359,1,gVt,jA),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new $A(new zd(this.a.g))},gX(t1t,"LPort/2",359),dIt(762,1,Vqt,$A),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return QH(J1(this.a),17).d},Cqt.Ob=function(){return bM(this.a)},Cqt.Qb=function(){Sz(this.a)},gX(t1t,"LPort/2/1",762),dIt(1283,1,gVt,c_),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new m6(this)},gX(t1t,"LPort/CombineIter",1283),dIt(201,1,Vqt,m6),Cqt.Nb=function(t){lz(this,t)},Cqt.Qb=function(){ak()},Cqt.Ob=function(){return $N(this)},Cqt.Pb=function(){return bM(this.a)?J1(this.a):J1(this.b)},gX(t1t,"LPort/CombineIter/1",201),dIt(1285,1,jYt,Ue),Cqt.Lb=function(t){return SG(t)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return pat(),0!=QH(t,11).e.c.length},gX(t1t,"LPort/lambda$0$Type",1285),dIt(1284,1,jYt,He),Cqt.Lb=function(t){return LG(t)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return pat(),0!=QH(t,11).g.c.length},gX(t1t,"LPort/lambda$1$Type",1284),dIt(1286,1,jYt,je),Cqt.Lb=function(t){return pat(),QH(t,11).j==(yzt(),sSe)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return pat(),QH(t,11).j==(yzt(),sSe)},gX(t1t,"LPort/lambda$2$Type",1286),dIt(1287,1,jYt,$e),Cqt.Lb=function(t){return pat(),QH(t,11).j==(yzt(),oSe)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return pat(),QH(t,11).j==(yzt(),oSe)},gX(t1t,"LPort/lambda$3$Type",1287),dIt(1288,1,jYt,Ke),Cqt.Lb=function(t){return pat(),QH(t,11).j==(yzt(),CSe)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return pat(),QH(t,11).j==(yzt(),CSe)},gX(t1t,"LPort/lambda$4$Type",1288),dIt(1289,1,jYt,Ge),Cqt.Lb=function(t){return pat(),QH(t,11).j==(yzt(),xSe)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return pat(),QH(t,11).j==(yzt(),xSe)},gX(t1t,"LPort/lambda$5$Type",1289),dIt(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},UX),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new zd(this.a)},Cqt.Ib=function(){return"L_"+w7(this.b.b,this,0)+MEt(this.a)},gX(t1t,"Layer",29),dIt(1342,1,{},Zb),gX(A1t,p1t,1342),dIt(1346,1,{},ze),Cqt.Kb=function(t){return xCt(QH(t,82))},gX(A1t,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),dIt(1349,1,{},Xe),Cqt.Kb=function(t){return xCt(QH(t,82))},gX(A1t,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),dIt(1343,1,hVt,KA),Cqt.td=function(t){xLt(this.a,QH(t,118))},gX(A1t,g1t,1343),dIt(1344,1,hVt,GA),Cqt.td=function(t){xLt(this.a,QH(t,118))},gX(A1t,m1t,1344),dIt(1345,1,{},qe),Cqt.Kb=function(t){return new D$(null,new f1(pV(QH(t,79)),16))},gX(A1t,b1t,1345),dIt(1347,1,DVt,zA),Cqt.Mb=function(t){return PI(this.a,QH(t,33))},gX(A1t,v1t,1347),dIt(1348,1,{},Ve),Cqt.Kb=function(t){return new D$(null,new f1(gV(QH(t,79)),16))},gX(A1t,"ElkGraphImporter/lambda$5$Type",1348),dIt(1350,1,DVt,XA),Cqt.Mb=function(t){return RI(this.a,QH(t,33))},gX(A1t,"ElkGraphImporter/lambda$7$Type",1350),dIt(1351,1,DVt,We),Cqt.Mb=function(t){return SW(QH(t,79))},gX(A1t,"ElkGraphImporter/lambda$8$Type",1351),dIt(1278,1,{},qu),gX(A1t,"ElkGraphLayoutTransferrer",1278),dIt(1279,1,DVt,qA),Cqt.Mb=function(t){return WP(this.a,QH(t,17))},gX(A1t,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),dIt(1280,1,hVt,VA),Cqt.td=function(t){mE(),zH(this.a,QH(t,17))},gX(A1t,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),dIt(1281,1,DVt,WA),Cqt.Mb=function(t){return KF(this.a,QH(t,17))},gX(A1t,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),dIt(1282,1,hVt,YA),Cqt.td=function(t){mE(),zH(this.a,QH(t,17))},gX(A1t,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),dIt(1485,1,ZZt,Ye),Cqt.pf=function(t,e){qit(QH(t,37),e)},gX(w1t,"CommentNodeMarginCalculator",1485),dIt(1486,1,{},Je),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"CommentNodeMarginCalculator/lambda$0$Type",1486),dIt(1487,1,hVt,Ze),Cqt.td=function(t){tjt(QH(t,10))},gX(w1t,"CommentNodeMarginCalculator/lambda$1$Type",1487),dIt(1488,1,ZZt,tn),Cqt.pf=function(t,e){aFt(QH(t,37),e)},gX(w1t,"CommentPostprocessor",1488),dIt(1489,1,ZZt,en),Cqt.pf=function(t,e){ozt(QH(t,37),e)},gX(w1t,"CommentPreprocessor",1489),dIt(1490,1,ZZt,nn),Cqt.pf=function(t,e){wOt(QH(t,37),e)},gX(w1t,"ConstraintsPostprocessor",1490),dIt(1491,1,ZZt,rn),Cqt.pf=function(t,e){iot(QH(t,37),e)},gX(w1t,"EdgeAndLayerConstraintEdgeReverser",1491),dIt(1492,1,ZZt,an),Cqt.pf=function(t,e){$At(QH(t,37),e)},gX(w1t,"EndLabelPostprocessor",1492),dIt(1493,1,{},on),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"EndLabelPostprocessor/lambda$0$Type",1493),dIt(1494,1,DVt,sn),Cqt.Mb=function(t){return kY(QH(t,10))},gX(w1t,"EndLabelPostprocessor/lambda$1$Type",1494),dIt(1495,1,hVt,cn),Cqt.td=function(t){eTt(QH(t,10))},gX(w1t,"EndLabelPostprocessor/lambda$2$Type",1495),dIt(1496,1,ZZt,ln),Cqt.pf=function(t,e){J_t(QH(t,37),e)},gX(w1t,"EndLabelPreprocessor",1496),dIt(1497,1,{},un),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"EndLabelPreprocessor/lambda$0$Type",1497),dIt(1498,1,hVt,NQ),Cqt.td=function(t){FE(this.a,this.b,this.c,QH(t,10))},Cqt.a=0,Cqt.b=0,Cqt.c=!1,gX(w1t,"EndLabelPreprocessor/lambda$1$Type",1498),dIt(1499,1,DVt,hn),Cqt.Mb=function(t){return jS(bEt(QH(t,70),(HXt(),Vpe)))===jS((Fet(),G_e))},gX(w1t,"EndLabelPreprocessor/lambda$2$Type",1499),dIt(1500,1,hVt,JA),Cqt.td=function(t){Nj(this.a,QH(t,70))},gX(w1t,"EndLabelPreprocessor/lambda$3$Type",1500),dIt(1501,1,DVt,fn),Cqt.Mb=function(t){return jS(bEt(QH(t,70),(HXt(),Vpe)))===jS((Fet(),K_e))},gX(w1t,"EndLabelPreprocessor/lambda$4$Type",1501),dIt(1502,1,hVt,ZA),Cqt.td=function(t){Nj(this.a,QH(t,70))},gX(w1t,"EndLabelPreprocessor/lambda$5$Type",1502),dIt(1551,1,ZZt,Xu),Cqt.pf=function(t,e){_ft(QH(t,37),e)},gX(w1t,"EndLabelSorter",1551),dIt(1552,1,CYt,dn),Cqt.ue=function(t,e){return Hgt(QH(t,456),QH(e,456))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"EndLabelSorter/1",1552),dIt(456,1,{456:1},TW),gX(w1t,"EndLabelSorter/LabelGroup",456),dIt(1553,1,{},An),Cqt.Kb=function(t){return wE(),new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"EndLabelSorter/lambda$0$Type",1553),dIt(1554,1,DVt,pn),Cqt.Mb=function(t){return wE(),QH(t,10).k==(oxt(),xse)},gX(w1t,"EndLabelSorter/lambda$1$Type",1554),dIt(1555,1,hVt,gn),Cqt.td=function(t){sxt(QH(t,10))},gX(w1t,"EndLabelSorter/lambda$2$Type",1555),dIt(1556,1,DVt,mn),Cqt.Mb=function(t){return wE(),jS(bEt(QH(t,70),(HXt(),Vpe)))===jS((Fet(),K_e))},gX(w1t,"EndLabelSorter/lambda$3$Type",1556),dIt(1557,1,DVt,bn),Cqt.Mb=function(t){return wE(),jS(bEt(QH(t,70),(HXt(),Vpe)))===jS((Fet(),G_e))},gX(w1t,"EndLabelSorter/lambda$4$Type",1557),dIt(1503,1,ZZt,vn),Cqt.pf=function(t,e){Bjt(this,QH(t,37))},Cqt.b=0,Cqt.c=0,gX(w1t,"FinalSplineBendpointsCalculator",1503),dIt(1504,1,{},yn),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),dIt(1505,1,{},wn),Cqt.Kb=function(t){return new D$(null,new $z(new oG(YO(hdt(QH(t,10)).a.Kc(),new u))))},gX(w1t,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),dIt(1506,1,DVt,Tn),Cqt.Mb=function(t){return!h5(QH(t,17))},gX(w1t,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),dIt(1507,1,DVt,kn),Cqt.Mb=function(t){return ID(QH(t,17),(lqt(),Mfe))},gX(w1t,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),dIt(1508,1,hVt,tp),Cqt.td=function(t){KRt(this.a,QH(t,128))},gX(w1t,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),dIt(1509,1,hVt,Cn),Cqt.td=function(t){Y_t(QH(t,17).a)},gX(w1t,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),dIt(792,1,ZZt,ep),Cqt.pf=function(t,e){q$t(this,QH(t,37),e)},gX(w1t,"GraphTransformer",792),dIt(511,22,{3:1,35:1,22:1,511:1},Yx);var $se,Kse,Gse,zse=Unt(w1t,"GraphTransformer/Mode",511,Gte,aJ,ZU);dIt(1510,1,ZZt,En),Cqt.pf=function(t,e){eDt(QH(t,37),e)},gX(w1t,"HierarchicalNodeResizingProcessor",1510),dIt(1511,1,ZZt,xn),Cqt.pf=function(t,e){hit(QH(t,37),e)},gX(w1t,"HierarchicalPortConstraintProcessor",1511),dIt(1512,1,CYt,_n),Cqt.ue=function(t,e){return Bmt(QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"HierarchicalPortConstraintProcessor/NodeComparator",1512),dIt(1513,1,ZZt,Bn),Cqt.pf=function(t,e){wHt(QH(t,37),e)},gX(w1t,"HierarchicalPortDummySizeProcessor",1513),dIt(1514,1,ZZt,Sn),Cqt.pf=function(t,e){YFt(this,QH(t,37),e)},Cqt.a=0,gX(w1t,"HierarchicalPortOrthogonalEdgeRouter",1514),dIt(1515,1,CYt,Ln),Cqt.ue=function(t,e){return PN(QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"HierarchicalPortOrthogonalEdgeRouter/1",1515),dIt(1516,1,CYt,In),Cqt.ue=function(t,e){return E8(QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"HierarchicalPortOrthogonalEdgeRouter/2",1516),dIt(1517,1,ZZt,Mn),Cqt.pf=function(t,e){TEt(QH(t,37),e)},gX(w1t,"HierarchicalPortPositionProcessor",1517),dIt(1518,1,ZZt,Vu),Cqt.pf=function(t,e){rXt(this,QH(t,37))},Cqt.a=0,Cqt.c=0,gX(w1t,"HighDegreeNodeLayeringProcessor",1518),dIt(571,1,{571:1},On),Cqt.b=-1,Cqt.d=-1,gX(w1t,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),dIt(1519,1,{},Nn),Cqt.Kb=function(t){return HQ(),udt(QH(t,10))},Cqt.Fb=function(t){return this===t},gX(w1t,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),dIt(1520,1,{},Dn),Cqt.Kb=function(t){return HQ(),hdt(QH(t,10))},Cqt.Fb=function(t){return this===t},gX(w1t,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),dIt(1526,1,ZZt,Fn),Cqt.pf=function(t,e){AUt(this,QH(t,37),e)},gX(w1t,"HyperedgeDummyMerger",1526),dIt(793,1,{},DQ),Cqt.a=!1,Cqt.b=!1,Cqt.c=!1,gX(w1t,"HyperedgeDummyMerger/MergeState",793),dIt(1527,1,{},Pn),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"HyperedgeDummyMerger/lambda$0$Type",1527),dIt(1528,1,{},Rn),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,10).j,16))},gX(w1t,"HyperedgeDummyMerger/lambda$1$Type",1528),dIt(1529,1,hVt,Qn),Cqt.td=function(t){QH(t,11).p=-1},gX(w1t,"HyperedgeDummyMerger/lambda$2$Type",1529),dIt(1530,1,ZZt,Un),Cqt.pf=function(t,e){fUt(QH(t,37),e)},gX(w1t,"HypernodesProcessor",1530),dIt(1531,1,ZZt,Hn),Cqt.pf=function(t,e){dUt(QH(t,37),e)},gX(w1t,"InLayerConstraintProcessor",1531),dIt(1532,1,ZZt,jn),Cqt.pf=function(t,e){Mat(QH(t,37),e)},gX(w1t,"InnermostNodeMarginCalculator",1532),dIt(1533,1,ZZt,$n),Cqt.pf=function(t,e){qGt(this,QH(t,37))},Cqt.a=PWt,Cqt.b=PWt,Cqt.c=FWt,Cqt.d=FWt;var Xse,qse,Vse,Wse,Yse,Jse,Zse,tce,ece,nce,rce,ice,ace,oce,sce,cce,lce,uce,hce,fce,dce,Ace,pce,gce,mce,bce,vce,yce,wce,Tce,kce,Cce,Ece,xce,_ce,Bce,Sce,Lce,Ice,Mce,Oce,Nce,Dce,Fce,Pce,Rce,Qce,Uce,Hce,jce,$ce,Kce,Gce,zce,Xce,qce,Vce,Wce=gX(w1t,"InteractiveExternalPortPositioner",1533);dIt(1534,1,{},Kn),Cqt.Kb=function(t){return QH(t,17).d.i},Cqt.Fb=function(t){return this===t},gX(w1t,"InteractiveExternalPortPositioner/lambda$0$Type",1534),dIt(1535,1,{},np),Cqt.Kb=function(t){return HN(this.a,kF(t))},Cqt.Fb=function(t){return this===t},gX(w1t,"InteractiveExternalPortPositioner/lambda$1$Type",1535),dIt(1536,1,{},Gn),Cqt.Kb=function(t){return QH(t,17).c.i},Cqt.Fb=function(t){return this===t},gX(w1t,"InteractiveExternalPortPositioner/lambda$2$Type",1536),dIt(1537,1,{},rp),Cqt.Kb=function(t){return jN(this.a,kF(t))},Cqt.Fb=function(t){return this===t},gX(w1t,"InteractiveExternalPortPositioner/lambda$3$Type",1537),dIt(1538,1,{},ip),Cqt.Kb=function(t){return zP(this.a,kF(t))},Cqt.Fb=function(t){return this===t},gX(w1t,"InteractiveExternalPortPositioner/lambda$4$Type",1538),dIt(1539,1,{},ap),Cqt.Kb=function(t){return XP(this.a,kF(t))},Cqt.Fb=function(t){return this===t},gX(w1t,"InteractiveExternalPortPositioner/lambda$5$Type",1539),dIt(77,22,{3:1,35:1,22:1,77:1,234:1},Jx),Cqt.Kf=function(){switch(this.g){case 15:return new pa;case 22:return new ga;case 47:return new va;case 28:case 35:return new nr;case 32:return new Ye;case 42:return new tn;case 1:return new en;case 41:return new nn;case 56:return new ep((Eit(),Hse));case 0:return new ep((Eit(),Use));case 2:return new rn;case 54:return new an;case 33:return new ln;case 51:return new vn;case 55:return new En;case 13:return new xn;case 38:return new Bn;case 44:return new Sn;case 40:return new Mn;case 9:return new Vu;case 49:return new oD;case 37:return new Fn;case 43:return new Un;case 27:return new Hn;case 30:return new jn;case 3:return new $n;case 18:return new Xn;case 29:return new qn;case 5:return new Wu;case 50:return new zn;case 34:return new Yu;case 36:return new rr;case 52:return new Xu;case 11:return new ar;case 7:return new Zu;case 39:return new or;case 45:return new sr;case 16:return new cr;case 10:return new lr;case 48:return new hr;case 21:return new fr;case 23:return new My((srt(),Sve));case 8:return new Ar;case 12:return new gr;case 4:return new mr;case 19:return new rh;case 17:return new _r;case 53:return new Br;case 6:return new Hr;case 25:return new iv;case 46:return new Nr;case 31:return new OP;case 14:return new Vr;case 26:return new xa;case 20:return new ti;case 24:return new My((srt(),Lve));default:throw Um(new Py(C1t+(null!=this.f?this.f:""+this.g)))}};var Yce,Jce,Zce,tle,ele,nle,rle,ile,ale=Unt(w1t,E1t,77,Gte,TNt,JU);dIt(1540,1,ZZt,Xn),Cqt.pf=function(t,e){YGt(QH(t,37),e)},gX(w1t,"InvertedPortProcessor",1540),dIt(1541,1,ZZt,qn),Cqt.pf=function(t,e){MRt(QH(t,37),e)},gX(w1t,"LabelAndNodeSizeProcessor",1541),dIt(1542,1,DVt,Vn),Cqt.Mb=function(t){return QH(t,10).k==(oxt(),xse)},gX(w1t,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),dIt(1543,1,DVt,Wn),Cqt.Mb=function(t){return QH(t,10).k==(oxt(),kse)},gX(w1t,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),dIt(1544,1,hVt,FQ),Cqt.td=function(t){PE(this.b,this.a,this.c,QH(t,10))},Cqt.a=!1,Cqt.c=!1,gX(w1t,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),dIt(1545,1,ZZt,Wu),Cqt.pf=function(t,e){uGt(QH(t,37),e)},gX(w1t,"LabelDummyInserter",1545),dIt(1546,1,jYt,Yn),Cqt.Lb=function(t){return jS(bEt(QH(t,70),(HXt(),Vpe)))===jS((Fet(),$_e))},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return jS(bEt(QH(t,70),(HXt(),Vpe)))===jS((Fet(),$_e))},gX(w1t,"LabelDummyInserter/1",1546),dIt(1547,1,ZZt,zn),Cqt.pf=function(t,e){x$t(QH(t,37),e)},gX(w1t,"LabelDummyRemover",1547),dIt(1548,1,DVt,Jn),Cqt.Mb=function(t){return Hy(TF(bEt(QH(t,70),(HXt(),qpe))))},gX(w1t,"LabelDummyRemover/lambda$0$Type",1548),dIt(1359,1,ZZt,Yu),Cqt.pf=function(t,e){kKt(this,QH(t,37),e)},Cqt.a=null,gX(w1t,"LabelDummySwitcher",1359),dIt(286,1,{286:1},iRt),Cqt.c=0,Cqt.d=null,Cqt.f=0,gX(w1t,"LabelDummySwitcher/LabelDummyInfo",286),dIt(1360,1,{},Zn),Cqt.Kb=function(t){return Bit(),new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"LabelDummySwitcher/lambda$0$Type",1360),dIt(1361,1,DVt,tr),Cqt.Mb=function(t){return Bit(),QH(t,10).k==(oxt(),Cse)},gX(w1t,"LabelDummySwitcher/lambda$1$Type",1361),dIt(1362,1,{},cp),Cqt.Kb=function(t){return GF(this.a,QH(t,10))},gX(w1t,"LabelDummySwitcher/lambda$2$Type",1362),dIt(1363,1,hVt,lp),Cqt.td=function(t){VX(this.a,QH(t,286))},gX(w1t,"LabelDummySwitcher/lambda$3$Type",1363),dIt(1364,1,CYt,er),Cqt.ue=function(t,e){return IG(QH(t,286),QH(e,286))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"LabelDummySwitcher/lambda$4$Type",1364),dIt(791,1,ZZt,nr),Cqt.pf=function(t,e){V6(QH(t,37),e)},gX(w1t,"LabelManagementProcessor",791),dIt(1549,1,ZZt,rr),Cqt.pf=function(t,e){ODt(QH(t,37),e)},gX(w1t,"LabelSideSelector",1549),dIt(1550,1,DVt,ir),Cqt.Mb=function(t){return Hy(TF(bEt(QH(t,70),(HXt(),qpe))))},gX(w1t,"LabelSideSelector/lambda$0$Type",1550),dIt(1558,1,ZZt,ar),Cqt.pf=function(t,e){THt(QH(t,37),e)},gX(w1t,"LayerConstraintPostprocessor",1558),dIt(1559,1,ZZt,Zu),Cqt.pf=function(t,e){rMt(QH(t,37),e)},gX(w1t,"LayerConstraintPreprocessor",1559),dIt(360,22,{3:1,35:1,22:1,360:1},Zx);var ole,sle,cle,lle,ule,hle,fle,dle,Ale,ple=Unt(w1t,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Gte,t4,$Q);dIt(1560,1,ZZt,or),Cqt.pf=function(t,e){T$t(QH(t,37),e)},gX(w1t,"LayerSizeAndGraphHeightCalculator",1560),dIt(1561,1,ZZt,sr),Cqt.pf=function(t,e){LOt(QH(t,37),e)},gX(w1t,"LongEdgeJoiner",1561),dIt(1562,1,ZZt,cr),Cqt.pf=function(t,e){Xjt(QH(t,37),e)},gX(w1t,"LongEdgeSplitter",1562),dIt(1563,1,ZZt,lr),Cqt.pf=function(t,e){xKt(this,QH(t,37),e)},Cqt.d=0,Cqt.e=0,Cqt.i=0,Cqt.j=0,Cqt.k=0,Cqt.n=0,gX(w1t,"NodePromotion",1563),dIt(1564,1,{},ur),Cqt.Kb=function(t){return QH(t,46),cN(),!0},Cqt.Fb=function(t){return this===t},gX(w1t,"NodePromotion/lambda$0$Type",1564),dIt(1565,1,{},op),Cqt.Kb=function(t){return iV(this.a,QH(t,46))},Cqt.Fb=function(t){return this===t},Cqt.a=0,gX(w1t,"NodePromotion/lambda$1$Type",1565),dIt(1566,1,{},sp),Cqt.Kb=function(t){return aV(this.a,QH(t,46))},Cqt.Fb=function(t){return this===t},Cqt.a=0,gX(w1t,"NodePromotion/lambda$2$Type",1566),dIt(1567,1,ZZt,hr),Cqt.pf=function(t,e){zzt(QH(t,37),e)},gX(w1t,"NorthSouthPortPostprocessor",1567),dIt(1568,1,ZZt,fr),Cqt.pf=function(t,e){Czt(QH(t,37),e)},gX(w1t,"NorthSouthPortPreprocessor",1568),dIt(1569,1,CYt,dr),Cqt.ue=function(t,e){return Jot(QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"NorthSouthPortPreprocessor/lambda$0$Type",1569),dIt(1570,1,ZZt,Ar),Cqt.pf=function(t,e){IQt(QH(t,37),e)},gX(w1t,"PartitionMidprocessor",1570),dIt(1571,1,DVt,pr),Cqt.Mb=function(t){return ID(QH(t,10),(HXt(),zge))},gX(w1t,"PartitionMidprocessor/lambda$0$Type",1571),dIt(1572,1,hVt,up),Cqt.td=function(t){LW(this.a,QH(t,10))},gX(w1t,"PartitionMidprocessor/lambda$1$Type",1572),dIt(1573,1,ZZt,gr),Cqt.pf=function(t,e){dNt(QH(t,37),e)},gX(w1t,"PartitionPostprocessor",1573),dIt(1574,1,ZZt,mr),Cqt.pf=function(t,e){OLt(QH(t,37),e)},gX(w1t,"PartitionPreprocessor",1574),dIt(1575,1,DVt,br),Cqt.Mb=function(t){return ID(QH(t,10),(HXt(),zge))},gX(w1t,"PartitionPreprocessor/lambda$0$Type",1575),dIt(1576,1,{},vr),Cqt.Kb=function(t){return new D$(null,new $z(new oG(YO(hdt(QH(t,10)).a.Kc(),new u))))},gX(w1t,"PartitionPreprocessor/lambda$1$Type",1576),dIt(1577,1,DVt,yr),Cqt.Mb=function(t){return Mgt(QH(t,17))},gX(w1t,"PartitionPreprocessor/lambda$2$Type",1577),dIt(1578,1,hVt,wr),Cqt.td=function(t){Fst(QH(t,17))},gX(w1t,"PartitionPreprocessor/lambda$3$Type",1578),dIt(1579,1,ZZt,rh),Cqt.pf=function(t,e){oQt(QH(t,37),e)},gX(w1t,"PortListSorter",1579),dIt(1580,1,{},Tr),Cqt.Kb=function(t){return Klt(),QH(t,11).e},gX(w1t,"PortListSorter/lambda$0$Type",1580),dIt(1581,1,{},kr),Cqt.Kb=function(t){return Klt(),QH(t,11).g},gX(w1t,"PortListSorter/lambda$1$Type",1581),dIt(1582,1,CYt,Cr),Cqt.ue=function(t,e){return T3(QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"PortListSorter/lambda$2$Type",1582),dIt(1583,1,CYt,Er),Cqt.ue=function(t,e){return Syt(QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"PortListSorter/lambda$3$Type",1583),dIt(1584,1,CYt,xr),Cqt.ue=function(t,e){return ZQt(QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"PortListSorter/lambda$4$Type",1584),dIt(1585,1,ZZt,_r),Cqt.pf=function(t,e){XIt(QH(t,37),e)},gX(w1t,"PortSideProcessor",1585),dIt(1586,1,ZZt,Br),Cqt.pf=function(t,e){BPt(QH(t,37),e)},gX(w1t,"ReversedEdgeRestorer",1586),dIt(1591,1,ZZt,iv),Cqt.pf=function(t,e){Wvt(this,QH(t,37),e)},gX(w1t,"SelfLoopPortRestorer",1591),dIt(1592,1,{},Sr),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"SelfLoopPortRestorer/lambda$0$Type",1592),dIt(1593,1,DVt,Lr),Cqt.Mb=function(t){return QH(t,10).k==(oxt(),xse)},gX(w1t,"SelfLoopPortRestorer/lambda$1$Type",1593),dIt(1594,1,DVt,Ir),Cqt.Mb=function(t){return ID(QH(t,10),(lqt(),Bfe))},gX(w1t,"SelfLoopPortRestorer/lambda$2$Type",1594),dIt(1595,1,{},Mr),Cqt.Kb=function(t){return QH(bEt(QH(t,10),(lqt(),Bfe)),403)},gX(w1t,"SelfLoopPortRestorer/lambda$3$Type",1595),dIt(1596,1,hVt,hp),Cqt.td=function(t){Ext(this.a,QH(t,403))},gX(w1t,"SelfLoopPortRestorer/lambda$4$Type",1596),dIt(794,1,hVt,Or),Cqt.td=function(t){Zxt(QH(t,101))},gX(w1t,"SelfLoopPortRestorer/lambda$5$Type",794),dIt(1597,1,ZZt,Nr),Cqt.pf=function(t,e){Mmt(QH(t,37),e)},gX(w1t,"SelfLoopPostProcessor",1597),dIt(1598,1,{},Dr),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"SelfLoopPostProcessor/lambda$0$Type",1598),dIt(1599,1,DVt,Fr),Cqt.Mb=function(t){return QH(t,10).k==(oxt(),xse)},gX(w1t,"SelfLoopPostProcessor/lambda$1$Type",1599),dIt(1600,1,DVt,Pr),Cqt.Mb=function(t){return ID(QH(t,10),(lqt(),Bfe))},gX(w1t,"SelfLoopPostProcessor/lambda$2$Type",1600),dIt(1601,1,hVt,Rr),Cqt.td=function(t){MTt(QH(t,10))},gX(w1t,"SelfLoopPostProcessor/lambda$3$Type",1601),dIt(1602,1,{},Qr),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,101).f,1))},gX(w1t,"SelfLoopPostProcessor/lambda$4$Type",1602),dIt(1603,1,hVt,fp),Cqt.td=function(t){i4(this.a,QH(t,409))},gX(w1t,"SelfLoopPostProcessor/lambda$5$Type",1603),dIt(1604,1,DVt,Ur),Cqt.Mb=function(t){return!!QH(t,101).i},gX(w1t,"SelfLoopPostProcessor/lambda$6$Type",1604),dIt(1605,1,hVt,dp),Cqt.td=function(t){Ty(this.a,QH(t,101))},gX(w1t,"SelfLoopPostProcessor/lambda$7$Type",1605),dIt(1587,1,ZZt,Hr),Cqt.pf=function(t,e){JMt(QH(t,37),e)},gX(w1t,"SelfLoopPreProcessor",1587),dIt(1588,1,{},jr),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,101).f,1))},gX(w1t,"SelfLoopPreProcessor/lambda$0$Type",1588),dIt(1589,1,{},$r),Cqt.Kb=function(t){return QH(t,409).a},gX(w1t,"SelfLoopPreProcessor/lambda$1$Type",1589),dIt(1590,1,hVt,Kr),Cqt.td=function(t){HM(QH(t,17))},gX(w1t,"SelfLoopPreProcessor/lambda$2$Type",1590),dIt(1606,1,ZZt,OP),Cqt.pf=function(t,e){cxt(this,QH(t,37),e)},gX(w1t,"SelfLoopRouter",1606),dIt(1607,1,{},Gr),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,29).a,16))},gX(w1t,"SelfLoopRouter/lambda$0$Type",1607),dIt(1608,1,DVt,zr),Cqt.Mb=function(t){return QH(t,10).k==(oxt(),xse)},gX(w1t,"SelfLoopRouter/lambda$1$Type",1608),dIt(1609,1,DVt,Xr),Cqt.Mb=function(t){return ID(QH(t,10),(lqt(),Bfe))},gX(w1t,"SelfLoopRouter/lambda$2$Type",1609),dIt(1610,1,{},qr),Cqt.Kb=function(t){return QH(bEt(QH(t,10),(lqt(),Bfe)),403)},gX(w1t,"SelfLoopRouter/lambda$3$Type",1610),dIt(1611,1,hVt,t_),Cqt.td=function(t){qV(this.a,this.b,QH(t,403))},gX(w1t,"SelfLoopRouter/lambda$4$Type",1611),dIt(1612,1,ZZt,Vr),Cqt.pf=function(t,e){uDt(QH(t,37),e)},gX(w1t,"SemiInteractiveCrossMinProcessor",1612),dIt(1613,1,DVt,Wr),Cqt.Mb=function(t){return QH(t,10).k==(oxt(),xse)},gX(w1t,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),dIt(1614,1,DVt,Yr),Cqt.Mb=function(t){return j$(QH(t,10))._b((HXt(),sme))},gX(w1t,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),dIt(1615,1,CYt,Jr),Cqt.ue=function(t,e){return Ait(QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(w1t,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),dIt(1616,1,{},Zr),Cqt.Ce=function(t,e){return GW(QH(t,10),QH(e,10))},gX(w1t,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),dIt(1618,1,ZZt,ti),Cqt.pf=function(t,e){CHt(QH(t,37),e)},gX(w1t,"SortByInputModelProcessor",1618),dIt(1619,1,DVt,ei),Cqt.Mb=function(t){return 0!=QH(t,11).g.c.length},gX(w1t,"SortByInputModelProcessor/lambda$0$Type",1619),dIt(1620,1,hVt,Ap),Cqt.td=function(t){u_t(this.a,QH(t,11))},gX(w1t,"SortByInputModelProcessor/lambda$1$Type",1620),dIt(1693,803,{},pit),Cqt.Me=function(t){var e,n,r,i;switch(this.c=t,this.a.g){case 2:e=new Mm,WC(SV(new D$(null,new f1(this.c.a.b,16)),new pi),new a_(this,e)),gBt(this,new ii),Set(e,new ai),e.c=O9(Lte,Hqt,1,0,5,1),WC(SV(new D$(null,new f1(this.c.a.b,16)),new oi),new gp(e)),gBt(this,new si),Set(e,new ci),e.c=O9(Lte,Hqt,1,0,5,1),n=yM(nat(IV(new D$(null,new f1(this.c.a.b,16)),new mp(this))),new li),WC(new D$(null,new f1(this.c.a.a,16)),new n_(n,e)),gBt(this,new hi),Set(e,new ni),e.c=O9(Lte,Hqt,1,0,5,1);break;case 3:r=new Mm,gBt(this,new ri),i=yM(nat(IV(new D$(null,new f1(this.c.a.b,16)),new pp(this))),new ui),WC(SV(new D$(null,new f1(this.c.a.b,16)),new fi),new i_(i,r)),gBt(this,new di),Set(r,new Ai),r.c=O9(Lte,Hqt,1,0,5,1);break;default:throw Um(new vb)}},Cqt.b=0,gX(L1t,"EdgeAwareScanlineConstraintCalculation",1693),dIt(1694,1,jYt,ri),Cqt.Lb=function(t){return rO(QH(t,57).g,145)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return rO(QH(t,57).g,145)},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),dIt(1695,1,{},pp),Cqt.Fe=function(t){return $Bt(this.a,QH(t,57))},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),dIt(1703,1,FVt,e_),Cqt.Vd=function(){Qwt(this.a,this.b,-1)},Cqt.b=0,gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),dIt(1705,1,jYt,ii),Cqt.Lb=function(t){return rO(QH(t,57).g,145)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return rO(QH(t,57).g,145)},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),dIt(1706,1,hVt,ai),Cqt.td=function(t){QH(t,365).Vd()},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),dIt(1707,1,DVt,oi),Cqt.Mb=function(t){return rO(QH(t,57).g,10)},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),dIt(1709,1,hVt,gp),Cqt.td=function(t){Tdt(this.a,QH(t,57))},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),dIt(1708,1,FVt,u_),Cqt.Vd=function(){Qwt(this.b,this.a,-1)},Cqt.a=0,gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),dIt(1710,1,jYt,si),Cqt.Lb=function(t){return rO(QH(t,57).g,10)},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return rO(QH(t,57).g,10)},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),dIt(1711,1,hVt,ci),Cqt.td=function(t){QH(t,365).Vd()},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),dIt(1712,1,{},mp),Cqt.Fe=function(t){return KBt(this.a,QH(t,57))},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),dIt(1713,1,{},li),Cqt.De=function(){return 0},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),dIt(1696,1,{},ui),Cqt.De=function(){return 0},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),dIt(1715,1,hVt,n_),Cqt.td=function(t){UK(this.a,this.b,QH(t,307))},Cqt.a=0,gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),dIt(1714,1,FVt,r_),Cqt.Vd=function(){qIt(this.a,this.b,-1)},Cqt.b=0,gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),dIt(1716,1,jYt,hi),Cqt.Lb=function(t){return QH(t,57),!0},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return QH(t,57),!0},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),dIt(1717,1,hVt,ni),Cqt.td=function(t){QH(t,365).Vd()},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),dIt(1697,1,DVt,fi),Cqt.Mb=function(t){return rO(QH(t,57).g,10)},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),dIt(1699,1,hVt,i_),Cqt.td=function(t){HK(this.a,this.b,QH(t,57))},Cqt.a=0,gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),dIt(1698,1,FVt,h_),Cqt.Vd=function(){Qwt(this.b,this.a,-1)},Cqt.a=0,gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),dIt(1700,1,jYt,di),Cqt.Lb=function(t){return QH(t,57),!0},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return QH(t,57),!0},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),dIt(1701,1,hVt,Ai),Cqt.td=function(t){QH(t,365).Vd()},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),dIt(1702,1,DVt,pi),Cqt.Mb=function(t){return rO(QH(t,57).g,145)},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),dIt(1704,1,hVt,a_),Cqt.td=function(t){ket(this.a,this.b,QH(t,57))},gX(L1t,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),dIt(1521,1,ZZt,oD),Cqt.pf=function(t,e){i$t(this,QH(t,37),e)},gX(L1t,"HorizontalGraphCompactor",1521),dIt(1522,1,{},bp),Cqt.Oe=function(t,e){var n,r;return Y7(t,e)?0:(n=l2(t),r=l2(e),n&&n.k==(oxt(),kse)||r&&r.k==(oxt(),kse)?0:KN(QH(bEt(this.a.a,(lqt(),Sfe)),304),n?n.k:(oxt(),Ese),r?r.k:(oxt(),Ese)))},Cqt.Pe=function(t,e){var n,r;return Y7(t,e)?1:(n=l2(t),r=l2(e),GN(QH(bEt(this.a.a,(lqt(),Sfe)),304),n?n.k:(oxt(),Ese),r?r.k:(oxt(),Ese)))},gX(L1t,"HorizontalGraphCompactor/1",1522),dIt(1523,1,{},gi),Cqt.Ne=function(t,e){return kE(),0==t.a.i},gX(L1t,"HorizontalGraphCompactor/lambda$0$Type",1523),dIt(1524,1,{},vp),Cqt.Ne=function(t,e){return PW(this.a,t,e)},gX(L1t,"HorizontalGraphCompactor/lambda$1$Type",1524),dIt(1664,1,{},_7),gX(L1t,"LGraphToCGraphTransformer",1664),dIt(1672,1,DVt,mi),Cqt.Mb=function(t){return null!=t},gX(L1t,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),dIt(1665,1,{},bi),Cqt.Kb=function(t){return jQ(),Udt(bEt(QH(QH(t,57).g,10),(lqt(),dfe)))},gX(L1t,"LGraphToCGraphTransformer/lambda$0$Type",1665),dIt(1666,1,{},vi),Cqt.Kb=function(t){return jQ(),bht(QH(QH(t,57).g,145))},gX(L1t,"LGraphToCGraphTransformer/lambda$1$Type",1666),dIt(1675,1,DVt,yi),Cqt.Mb=function(t){return jQ(),rO(QH(t,57).g,10)},gX(L1t,"LGraphToCGraphTransformer/lambda$10$Type",1675),dIt(1676,1,hVt,wi),Cqt.td=function(t){FW(QH(t,57))},gX(L1t,"LGraphToCGraphTransformer/lambda$11$Type",1676),dIt(1677,1,DVt,Ti),Cqt.Mb=function(t){return jQ(),rO(QH(t,57).g,145)},gX(L1t,"LGraphToCGraphTransformer/lambda$12$Type",1677),dIt(1681,1,hVt,ki),Cqt.td=function(t){mht(QH(t,57))},gX(L1t,"LGraphToCGraphTransformer/lambda$13$Type",1681),dIt(1678,1,hVt,yp),Cqt.td=function(t){aI(this.a,QH(t,8))},Cqt.a=0,gX(L1t,"LGraphToCGraphTransformer/lambda$14$Type",1678),dIt(1679,1,hVt,wp),Cqt.td=function(t){sI(this.a,QH(t,110))},Cqt.a=0,gX(L1t,"LGraphToCGraphTransformer/lambda$15$Type",1679),dIt(1680,1,hVt,Tp),Cqt.td=function(t){oI(this.a,QH(t,8))},Cqt.a=0,gX(L1t,"LGraphToCGraphTransformer/lambda$16$Type",1680),dIt(1682,1,{},Ci),Cqt.Kb=function(t){return jQ(),new D$(null,new $z(new oG(YO(hdt(QH(t,10)).a.Kc(),new u))))},gX(L1t,"LGraphToCGraphTransformer/lambda$17$Type",1682),dIt(1683,1,DVt,Ei),Cqt.Mb=function(t){return jQ(),h5(QH(t,17))},gX(L1t,"LGraphToCGraphTransformer/lambda$18$Type",1683),dIt(1684,1,hVt,kp),Cqt.td=function(t){Ctt(this.a,QH(t,17))},gX(L1t,"LGraphToCGraphTransformer/lambda$19$Type",1684),dIt(1668,1,hVt,Cp),Cqt.td=function(t){u0(this.a,QH(t,145))},gX(L1t,"LGraphToCGraphTransformer/lambda$2$Type",1668),dIt(1685,1,{},xi),Cqt.Kb=function(t){return jQ(),new D$(null,new f1(QH(t,29).a,16))},gX(L1t,"LGraphToCGraphTransformer/lambda$20$Type",1685),dIt(1686,1,{},_i),Cqt.Kb=function(t){return jQ(),new D$(null,new $z(new oG(YO(hdt(QH(t,10)).a.Kc(),new u))))},gX(L1t,"LGraphToCGraphTransformer/lambda$21$Type",1686),dIt(1687,1,{},Bi),Cqt.Kb=function(t){return jQ(),QH(bEt(QH(t,17),(lqt(),Mfe)),15)},gX(L1t,"LGraphToCGraphTransformer/lambda$22$Type",1687),dIt(1688,1,DVt,Si),Cqt.Mb=function(t){return ZN(QH(t,15))},gX(L1t,"LGraphToCGraphTransformer/lambda$23$Type",1688),dIt(1689,1,hVt,Ep),Cqt.td=function(t){xBt(this.a,QH(t,15))},gX(L1t,"LGraphToCGraphTransformer/lambda$24$Type",1689),dIt(1667,1,hVt,o_),Cqt.td=function(t){U4(this.a,this.b,QH(t,145))},gX(L1t,"LGraphToCGraphTransformer/lambda$3$Type",1667),dIt(1669,1,{},Li),Cqt.Kb=function(t){return jQ(),new D$(null,new f1(QH(t,29).a,16))},gX(L1t,"LGraphToCGraphTransformer/lambda$4$Type",1669),dIt(1670,1,{},Ii),Cqt.Kb=function(t){return jQ(),new D$(null,new $z(new oG(YO(hdt(QH(t,10)).a.Kc(),new u))))},gX(L1t,"LGraphToCGraphTransformer/lambda$5$Type",1670),dIt(1671,1,{},Mi),Cqt.Kb=function(t){return jQ(),QH(bEt(QH(t,17),(lqt(),Mfe)),15)},gX(L1t,"LGraphToCGraphTransformer/lambda$6$Type",1671),dIt(1673,1,hVt,xp),Cqt.td=function(t){PSt(this.a,QH(t,15))},gX(L1t,"LGraphToCGraphTransformer/lambda$8$Type",1673),dIt(1674,1,hVt,s_),Cqt.td=function(t){OM(this.a,this.b,QH(t,145))},gX(L1t,"LGraphToCGraphTransformer/lambda$9$Type",1674),dIt(1663,1,{},Oi),Cqt.Le=function(t){var e,n,r,i,a;for(this.a=t,this.d=new Rb,this.c=O9(Hre,Hqt,121,this.a.a.a.c.length,0,1),this.b=0,n=new zd(this.a.a.a);n.a<n.c.c.length;)(e=QH(J1(n),307)).d=this.b,a=SN(oE(new Hb,e),this.d),this.c[this.b]=a,++this.b;for(YKt(this),Lzt(this),JOt(this),XRt(QQ(this.d),new Gv),i=new zd(this.a.a.b);i.a<i.c.c.length;)(r=QH(J1(i),57)).d.c=this.c[r.a.d].e+r.b.a},Cqt.b=0,gX(L1t,"NetworkSimplexCompaction",1663),dIt(145,1,{35:1,145:1},xHt),Cqt.wd=function(t){return Itt(this,QH(t,145))},Cqt.Ib=function(){return bht(this)},gX(L1t,"VerticalSegment",145),dIt(827,1,{},Kkt),Cqt.c=0,Cqt.e=0,Cqt.i=0,gX(I1t,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),dIt(663,1,{663:1},yat),Cqt.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},Cqt.b=0,Cqt.c=0,Cqt.f=0,gX(I1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),dIt(287,1,{35:1,287:1},jD),Cqt.wd=function(t){return i$(this,QH(t,287))},Cqt.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},Cqt.a=0,Cqt.b=0,Cqt.c=0,gX(I1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),dIt(1929,1,{},Jxt),Cqt.b=0,Cqt.e=!1,gX(I1t,"CrossingMatrixFiller",1929);var gle,mle,ble,vle,yle=h$(M1t,"IInitializable");dIt(1804,1,O1t,g_),Cqt.Nf=function(t,e,n,r,i,a){},Cqt.Pf=function(t,e,n){},Cqt.Lf=function(){return this.c!=(srt(),Sve)},Cqt.Mf=function(){this.e=O9(BNe,lWt,25,this.d,15,1)},Cqt.Of=function(t,e){e[t][0].c.p=t},Cqt.Qf=function(t,e,n,r){++this.d},Cqt.Rf=function(){return!0},Cqt.Sf=function(t,e,n,r){return Wut(this,t,e,n),Y3(this,e)},Cqt.Tf=function(t,e){var n;return Wut(this,t,n=cT(e,t.length),e),fct(this,n)},Cqt.d=0,gX(I1t,"GreedySwitchHeuristic",1804),dIt(1930,1,{},uK),Cqt.b=0,Cqt.d=0,gX(I1t,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),dIt(1917,1,{},oPt),Cqt.a=!1,gX(I1t,"SwitchDecider",1917),dIt(101,1,{101:1},g_t),Cqt.a=null,Cqt.c=null,Cqt.i=null,gX(N1t,"SelfHyperLoop",101),dIt(1916,1,{},emt),Cqt.c=0,Cqt.e=0,gX(N1t,"SelfHyperLoopLabels",1916),dIt(411,22,{3:1,35:1,22:1,411:1},m_);var wle,Tle,kle,Cle,Ele,xle,_le=Unt(N1t,"SelfHyperLoopLabels/Alignment",411,Gte,n4,KQ);dIt(409,1,{409:1},y6),gX(N1t,"SelfLoopEdge",409),dIt(403,1,{403:1},Sgt),Cqt.a=!1,gX(N1t,"SelfLoopHolder",403),dIt(1724,1,DVt,$i),Cqt.Mb=function(t){return h5(QH(t,17))},gX(N1t,"SelfLoopHolder/lambda$0$Type",1724),dIt(113,1,{113:1},nmt),Cqt.a=!1,Cqt.c=!1,gX(N1t,"SelfLoopPort",113),dIt(1792,1,DVt,Ki),Cqt.Mb=function(t){return h5(QH(t,17))},gX(N1t,"SelfLoopPort/lambda$0$Type",1792),dIt(363,22,{3:1,35:1,22:1,363:1},b_);var Ble,Sle,Lle,Ile,Mle,Ole,Nle,Dle,Fle=Unt(N1t,"SelfLoopType",363,Gte,O5,VQ);dIt(1732,1,{},ih),gX(D1t,"PortRestorer",1732),dIt(361,22,{3:1,35:1,22:1,361:1},v_);var Ple,Rle,Qle,Ule,Hle,jle,$le,Kle,Gle,zle=Unt(D1t,"PortRestorer/PortSideArea",361,Gte,E1,WQ);dIt(1733,1,{},qi),Cqt.Kb=function(t){return REt(),QH(t,15).Oc()},gX(D1t,"PortRestorer/lambda$0$Type",1733),dIt(1734,1,hVt,Vi),Cqt.td=function(t){REt(),QH(t,113).c=!1},gX(D1t,"PortRestorer/lambda$1$Type",1734),dIt(1743,1,DVt,Wi),Cqt.Mb=function(t){return REt(),QH(t,11).j==(yzt(),xSe)},gX(D1t,"PortRestorer/lambda$10$Type",1743),dIt(1744,1,{},Yi),Cqt.Kb=function(t){return REt(),QH(t,113).d},gX(D1t,"PortRestorer/lambda$11$Type",1744),dIt(1745,1,hVt,_p),Cqt.td=function(t){MT(this.a,QH(t,11))},gX(D1t,"PortRestorer/lambda$12$Type",1745),dIt(1735,1,hVt,Bp),Cqt.td=function(t){SD(this.a,QH(t,101))},gX(D1t,"PortRestorer/lambda$2$Type",1735),dIt(1736,1,CYt,Ji),Cqt.ue=function(t,e){return snt(QH(t,113),QH(e,113))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(D1t,"PortRestorer/lambda$3$Type",1736),dIt(1737,1,DVt,Zi),Cqt.Mb=function(t){return REt(),QH(t,113).c},gX(D1t,"PortRestorer/lambda$4$Type",1737),dIt(1738,1,DVt,Di),Cqt.Mb=function(t){return Lat(QH(t,11))},gX(D1t,"PortRestorer/lambda$5$Type",1738),dIt(1739,1,DVt,Ni),Cqt.Mb=function(t){return REt(),QH(t,11).j==(yzt(),sSe)},gX(D1t,"PortRestorer/lambda$6$Type",1739),dIt(1740,1,DVt,Fi),Cqt.Mb=function(t){return REt(),QH(t,11).j==(yzt(),oSe)},gX(D1t,"PortRestorer/lambda$7$Type",1740),dIt(1741,1,DVt,Pi),Cqt.Mb=function(t){return r4(QH(t,11))},gX(D1t,"PortRestorer/lambda$8$Type",1741),dIt(1742,1,DVt,Ri),Cqt.Mb=function(t){return REt(),QH(t,11).j==(yzt(),CSe)},gX(D1t,"PortRestorer/lambda$9$Type",1742),dIt(270,22,{3:1,35:1,22:1,270:1},zV);var Xle,qle,Vle,Wle,Yle,Jle,Zle,tue,eue=Unt(D1t,"PortSideAssigner/Target",270,Gte,Qet,GQ);dIt(1725,1,{},Qi),Cqt.Kb=function(t){return SV(new D$(null,new f1(QH(t,101).j,16)),new Xi)},gX(D1t,"PortSideAssigner/lambda$1$Type",1725),dIt(1726,1,{},Ui),Cqt.Kb=function(t){return QH(t,113).d},gX(D1t,"PortSideAssigner/lambda$2$Type",1726),dIt(1727,1,hVt,Hi),Cqt.td=function(t){jBt(QH(t,11),(yzt(),sSe))},gX(D1t,"PortSideAssigner/lambda$3$Type",1727),dIt(1728,1,{},ji),Cqt.Kb=function(t){return QH(t,113).d},gX(D1t,"PortSideAssigner/lambda$4$Type",1728),dIt(1729,1,hVt,Sp),Cqt.td=function(t){Zm(this.a,QH(t,11))},gX(D1t,"PortSideAssigner/lambda$5$Type",1729),dIt(1730,1,CYt,Gi),Cqt.ue=function(t,e){return kq(QH(t,101),QH(e,101))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(D1t,"PortSideAssigner/lambda$6$Type",1730),dIt(1731,1,CYt,zi),Cqt.ue=function(t,e){return oj(QH(t,113),QH(e,113))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(D1t,"PortSideAssigner/lambda$7$Type",1731),dIt(805,1,DVt,Xi),Cqt.Mb=function(t){return QH(t,113).c},gX(D1t,"PortSideAssigner/lambda$8$Type",805),dIt(2009,1,{}),gX(F1t,"AbstractSelfLoopRouter",2009),dIt(1750,1,CYt,ta),Cqt.ue=function(t,e){return _R(QH(t,101),QH(e,101))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(F1t,fJt,1750),dIt(1751,1,CYt,ea),Cqt.ue=function(t,e){return xR(QH(t,101),QH(e,101))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(F1t,dJt,1751),dIt(1793,2009,{},na),Cqt.Uf=function(t,e,n){return n},gX(F1t,"OrthogonalSelfLoopRouter",1793),dIt(1795,1,hVt,f_),Cqt.td=function(t){ggt(this.b,this.a,QH(t,8))},gX(F1t,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),dIt(1794,1793,{},ra),Cqt.Uf=function(t,e,n){var r,i;return FD(n,0,KP(QM((r=t.c.d).n),r.a)),Nj(n,KP(QM((i=t.d.d).n),i.a)),TQt(n)},gX(F1t,"PolylineSelfLoopRouter",1794),dIt(1746,1,{},Ju),Cqt.a=null,gX(F1t,"RoutingDirector",1746),dIt(1747,1,CYt,ia),Cqt.ue=function(t,e){return fj(QH(t,113),QH(e,113))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(F1t,"RoutingDirector/lambda$0$Type",1747),dIt(1748,1,{},aa),Cqt.Kb=function(t){return CE(),QH(t,101).j},gX(F1t,"RoutingDirector/lambda$1$Type",1748),dIt(1749,1,hVt,oa),Cqt.td=function(t){CE(),QH(t,15).ad(qle)},gX(F1t,"RoutingDirector/lambda$2$Type",1749),dIt(1752,1,{},sa),gX(F1t,"RoutingSlotAssigner",1752),dIt(1753,1,DVt,Lp),Cqt.Mb=function(t){return xB(this.a,QH(t,101))},gX(F1t,"RoutingSlotAssigner/lambda$0$Type",1753),dIt(1754,1,CYt,Ip),Cqt.ue=function(t,e){return K$(this.a,QH(t,101),QH(e,101))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(F1t,"RoutingSlotAssigner/lambda$1$Type",1754),dIt(1796,1793,{},ca),Cqt.Uf=function(t,e,n){var r,i,a,o;return r=jy(kF(pmt(t.b.g.b,(HXt(),yme)))),ZMt(t,e,n,o=new KD(xst(jw(EEe,1),cVt,8,0,[(a=t.c.d,KP(new fI(a.n),a.a))])),r),Nj(o,KP(new fI((i=t.d.d).n),i.a)),Qbt(new sHt(o))},gX(F1t,"SplineSelfLoopRouter",1796),dIt(578,1,CYt,$it,vj),Cqt.ue=function(t,e){return uXt(this,QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(P1t,"ModelOrderNodeComparator",578),dIt(1755,1,DVt,la),Cqt.Mb=function(t){return 0!=QH(t,11).e.c.length},gX(P1t,"ModelOrderNodeComparator/lambda$0$Type",1755),dIt(1756,1,{},ua),Cqt.Kb=function(t){return QH(O$(QH(t,11).e,0),17).c},gX(P1t,"ModelOrderNodeComparator/lambda$1$Type",1756),dIt(1757,1,DVt,ha),Cqt.Mb=function(t){return 0!=QH(t,11).e.c.length},gX(P1t,"ModelOrderNodeComparator/lambda$2$Type",1757),dIt(1758,1,{},fa),Cqt.Kb=function(t){return QH(O$(QH(t,11).e,0),17).c},gX(P1t,"ModelOrderNodeComparator/lambda$3$Type",1758),dIt(1759,1,DVt,da),Cqt.Mb=function(t){return 0!=QH(t,11).e.c.length},gX(P1t,"ModelOrderNodeComparator/lambda$4$Type",1759),dIt(806,1,CYt,B7,p_),Cqt.ue=function(t,e){return MG(this,t,e)},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(P1t,"ModelOrderPortComparator",806),dIt(801,1,{},Aa),Cqt.Vf=function(t,n){var r,i,a,o;for(a=xxt(n),r=new Mm,o=n.f/a,i=1;i<a;++i)zH(r,nft(dK(uot(e.Math.round(i*o)))));return r},Cqt.Wf=function(){return!1},gX(R1t,"ARDCutIndexHeuristic",801),dIt(1479,1,ZZt,pa),Cqt.pf=function(t,e){sRt(QH(t,37),e)},gX(R1t,"BreakingPointInserter",1479),dIt(305,1,{305:1},g4),Cqt.Ib=function(){var t;return(t=new xw).a+="BPInfo[",t.a+="\n\tstart=",aL(t,this.i),t.a+="\n\tend=",aL(t,this.a),t.a+="\n\tnodeStartEdge=",aL(t,this.e),t.a+="\n\tstartEndEdge=",aL(t,this.j),t.a+="\n\toriginalEdge=",aL(t,this.f),t.a+="\n\tstartInLayerDummy=",aL(t,this.k),t.a+="\n\tstartInLayerEdge=",aL(t,this.n),t.a+="\n\tendInLayerDummy=",aL(t,this.b),t.a+="\n\tendInLayerEdge=",aL(t,this.c),t.a},gX(R1t,"BreakingPointInserter/BPInfo",305),dIt(652,1,{652:1},Up),Cqt.a=!1,Cqt.b=0,Cqt.c=0,gX(R1t,"BreakingPointInserter/Cut",652),dIt(1480,1,ZZt,ga),Cqt.pf=function(t,e){bOt(QH(t,37),e)},gX(R1t,"BreakingPointProcessor",1480),dIt(1481,1,DVt,ma),Cqt.Mb=function(t){return Wtt(QH(t,10))},gX(R1t,"BreakingPointProcessor/0methodref$isEnd$Type",1481),dIt(1482,1,DVt,ba),Cqt.Mb=function(t){return Ytt(QH(t,10))},gX(R1t,"BreakingPointProcessor/1methodref$isStart$Type",1482),dIt(1483,1,ZZt,va),Cqt.pf=function(t,e){rNt(this,QH(t,37),e)},gX(R1t,"BreakingPointRemover",1483),dIt(1484,1,hVt,ya),Cqt.td=function(t){QH(t,128).k=!0},gX(R1t,"BreakingPointRemover/lambda$0$Type",1484),dIt(797,1,{},CIt),Cqt.b=0,Cqt.e=0,Cqt.f=0,Cqt.j=0,gX(R1t,"GraphStats",797),dIt(798,1,{},wa),Cqt.Ce=function(t,n){return e.Math.max(jy(kF(t)),jy(kF(n)))},gX(R1t,"GraphStats/0methodref$max$Type",798),dIt(799,1,{},Ta),Cqt.Ce=function(t,n){return e.Math.max(jy(kF(t)),jy(kF(n)))},gX(R1t,"GraphStats/2methodref$max$Type",799),dIt(1660,1,{},ka),Cqt.Ce=function(t,e){return gH(kF(t),kF(e))},gX(R1t,"GraphStats/lambda$1$Type",1660),dIt(1661,1,{},Mp),Cqt.Kb=function(t){return dmt(this.a,QH(t,29))},gX(R1t,"GraphStats/lambda$2$Type",1661),dIt(1662,1,{},Op),Cqt.Kb=function(t){return qOt(this.a,QH(t,29))},gX(R1t,"GraphStats/lambda$6$Type",1662),dIt(800,1,{},Ca),Cqt.Vf=function(t,e){return QH(bEt(t,(HXt(),Pme)),15)||(CW(),CW(),cne)},Cqt.Wf=function(){return!1},gX(R1t,"ICutIndexCalculator/ManualCutIndexCalculator",800),dIt(802,1,{},Ea),Cqt.Vf=function(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w;for(null==n.n&&Dvt(n),w=n.n,null==n.d&&Dvt(n),l=n.d,(y=O9(MNe,jWt,25,w.length,15,1))[0]=w[0],b=w[0],u=1;u<w.length;u++)y[u]=y[u-1]+w[u],b+=w[u];for(a=xxt(n)-1,s=QH(bEt(t,(HXt(),Rme)),19).a,i=PWt,r=new Mm,d=e.Math.max(0,a-s);d<=e.Math.min(n.f-1,a+s);d++){if(g=b/(d+1),m=0,h=1,o=new Mm,v=PWt,f=0,c=0,p=l[0],0==d)v=b,null==n.g&&(n.g=zit(n,new Ta)),c=jy(n.g);else{for(;h<n.f;)y[h-1]-m>=g&&(zH(o,nft(h)),v=e.Math.max(v,y[h-1]-f),c+=p,m+=y[h-1]-m,f=y[h-1],p=l[h]),p=e.Math.max(p,l[h]),++h;c+=p}(A=e.Math.min(1/v,1/n.b/c))>i&&(i=A,r=o)}return r},Cqt.Wf=function(){return!1},gX(R1t,"MSDCutIndexHeuristic",802),dIt(1617,1,ZZt,xa),Cqt.pf=function(t,e){fHt(QH(t,37),e)},gX(R1t,"SingleEdgeGraphWrapper",1617),dIt(227,22,{3:1,35:1,22:1,227:1},y_);var nue,rue,iue,aue=Unt(Q1t,"CenterEdgeLabelPlacementStrategy",227,Gte,Y9,zQ);dIt(422,22,{3:1,35:1,22:1,422:1},w_);var oue,sue,cue,lue,uue=Unt(Q1t,"ConstraintCalculationStrategy",422,Gte,jY,XQ);dIt(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},T_),Cqt.Kf=function(){return cSt(this)},Cqt.Xf=function(){return cSt(this)};var hue,fue,due,Aue,pue=Unt(Q1t,"CrossingMinimizationStrategy",314,Gte,T1,qQ);dIt(337,22,{3:1,35:1,22:1,337:1},k_);var gue,mue,bue,vue,yue,wue,Tue=Unt(Q1t,"CuttingStrategy",337,Gte,k1,YQ);dIt(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},C_),Cqt.Kf=function(){return FIt(this)},Cqt.Xf=function(){return FIt(this)};var kue,Cue,Eue,xue=Unt(Q1t,"CycleBreakingStrategy",335,Gte,I5,JQ);dIt(419,22,{3:1,35:1,22:1,419:1},E_);var _ue,Bue,Sue,Lue,Iue=Unt(Q1t,"DirectionCongruency",419,Gte,HY,ZQ);dIt(450,22,{3:1,35:1,22:1,450:1},x_);var Mue,Oue,Nue,Due,Fue,Pue,Rue,Que=Unt(Q1t,"EdgeConstraint",450,Gte,C1,tU);dIt(276,22,{3:1,35:1,22:1,276:1},__);var Uue,Hue,jue,$ue=Unt(Q1t,"EdgeLabelSideSelection",276,Gte,e8,eU);dIt(479,22,{3:1,35:1,22:1,479:1},B_);var Kue,Gue,zue,Xue,que,Vue,Wue,Yue=Unt(Q1t,"EdgeStraighteningStrategy",479,Gte,UY,nU);dIt(274,22,{3:1,35:1,22:1,274:1},S_);var Jue,Zue,the,ehe,nhe,rhe,ihe,ahe=Unt(Q1t,"FixedAlignment",274,Gte,Z9,rU);dIt(275,22,{3:1,35:1,22:1,275:1},L_);var ohe,she,che,lhe,uhe,hhe,fhe,dhe,Ahe,phe,ghe,mhe=Unt(Q1t,"GraphCompactionStrategy",275,Gte,J9,iU);dIt(256,22,{3:1,35:1,22:1,256:1},I_);var bhe,vhe,yhe,whe,The=Unt(Q1t,"GraphProperties",256,Gte,fat,aU);dIt(292,22,{3:1,35:1,22:1,292:1},M_);var khe,Che,Ehe,xhe,_he=Unt(Q1t,"GreedySwitchType",292,Gte,_1,oU);dIt(303,22,{3:1,35:1,22:1,303:1},O_);var Bhe,She,Lhe,Ihe=Unt(Q1t,"InLayerConstraint",303,Gte,x1,sU);dIt(420,22,{3:1,35:1,22:1,420:1},N_);var Mhe,Ohe,Nhe,Dhe,Fhe,Phe,Rhe,Qhe,Uhe,Hhe,jhe,$he,Khe,Ghe,zhe,Xhe,qhe,Vhe,Whe,Yhe,Jhe,Zhe,tfe,efe,nfe,rfe,ife,afe,ofe,sfe,cfe,lfe,ufe,hfe,ffe,dfe,Afe,pfe,gfe,mfe,bfe,vfe,yfe,wfe,Tfe,kfe,Cfe,Efe,xfe,_fe,Bfe,Sfe,Lfe,Ife,Mfe,Ofe,Nfe,Dfe,Ffe,Pfe,Rfe,Qfe,Ufe,Hfe,jfe=Unt(Q1t,"InteractiveReferencePoint",420,Gte,$Y,cU);dIt(163,22,{3:1,35:1,22:1,163:1},Q_);var $fe,Kfe,Gfe,zfe,Xfe,qfe,Vfe,Wfe,Yfe,Jfe,Zfe,tde,ede,nde,rde,ide,ade,ode,sde,cde,lde,ude,hde,fde,dde,Ade,pde,gde,mde,bde,vde,yde,wde,Tde,kde,Cde,Ede,xde,_de,Bde,Sde,Lde,Ide,Mde,Ode,Nde,Dde,Fde,Pde,Rde,Qde,Ude,Hde,jde,$de,Kde,Gde,zde,Xde,qde,Vde,Wde,Yde,Jde,Zde,tAe,eAe,nAe,rAe,iAe,aAe,oAe,sAe,cAe,lAe,uAe,hAe,fAe,dAe,AAe,pAe,gAe,mAe,bAe,vAe,yAe,wAe,TAe,kAe,CAe,EAe,xAe,_Ae,BAe,SAe,LAe,IAe,MAe,OAe,NAe,DAe,FAe,PAe,RAe,QAe,UAe,HAe,jAe,$Ae,KAe,GAe,zAe,XAe,qAe,VAe,WAe,YAe,JAe,ZAe,tpe,epe,npe,rpe,ipe,ape,ope,spe,cpe,lpe,upe,hpe,fpe,dpe,Ape,ppe,gpe,mpe,bpe,vpe,ype,wpe,Tpe,kpe,Cpe,Epe,xpe,_pe,Bpe,Spe,Lpe,Ipe,Mpe,Ope,Npe,Dpe,Fpe,Ppe,Rpe,Qpe,Upe,Hpe,jpe,$pe,Kpe,Gpe,zpe,Xpe,qpe,Vpe,Wpe,Ype,Jpe,Zpe,tge,ege,nge,rge,ige,age,oge,sge,cge,lge,uge,hge,fge,dge,Age,pge,gge,mge,bge,vge,yge,wge,Tge,kge,Cge,Ege,xge,_ge,Bge,Sge,Lge,Ige,Mge,Oge,Nge,Dge,Fge,Pge,Rge,Qge,Uge,Hge,jge,$ge,Kge,Gge,zge,Xge,qge,Vge,Wge,Yge,Jge,Zge,tme,eme,nme,rme,ime,ame,ome,sme,cme,lme,ume,hme,fme,dme,Ame,pme,gme,mme,bme,vme,yme,wme,Tme,kme,Cme,Eme,xme,_me,Bme,Sme,Lme,Ime,Mme,Ome,Nme,Dme,Fme,Pme,Rme,Qme,Ume,Hme,jme,$me,Kme,Gme,zme,Xme,qme,Vme,Wme,Yme,Jme,Zme,tbe,ebe=Unt(Q1t,"LayerConstraint",163,Gte,N5,lU);dIt(848,1,VYt,sh),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,G1t),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),Ede),(x_t(),AEe)),Iue),Zft((rmt(),cEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,z1t),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(cN(),!1)),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,X1t),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),qde),AEe),jfe),Zft(cEe)))),i2(t,X1t,e0t,Wde),i2(t,X1t,h0t,Vde),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,q1t),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,V1t),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(ET(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,W1t),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),fEe),yee),Zft(lEe)),xst(jw(Vee,1),cVt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Y1t),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),OAe),AEe),$be),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,J1t),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),nft(7)),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Z1t),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,t0t),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,e0t),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),kde),AEe),xue),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,n0t),u2t),"Node Layering Strategy"),"Strategy for node layering."),hAe),AEe),obe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,r0t),u2t),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),eAe),AEe),ebe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,i0t),u2t),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),nft(-1)),gEe),Lee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,a0t),u2t),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),nft(-1)),gEe),Lee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,o0t),h2t),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),nft(4)),gEe),Lee),Zft(cEe)))),i2(t,o0t,n0t,iAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,s0t),h2t),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),nft(2)),gEe),Lee),Zft(cEe)))),i2(t,s0t,n0t,oAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,c0t),f2t),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),lAe),AEe),Nbe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,l0t),f2t),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),nft(0)),gEe),Lee),Zft(cEe)))),i2(t,l0t,c0t,null),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,u0t),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),nft(Dqt)),gEe),Lee),Zft(cEe)))),i2(t,u0t,n0t,Jde),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,h0t),d2t),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),wde),AEe),pue),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,f0t),d2t),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,d0t),d2t),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),dEe),xee),Zft(cEe)))),i2(t,d0t,A2t,pde),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,A0t),d2t),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),fEe),yee),Zft(cEe)))),i2(t,A0t,h0t,vde),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,p0t),d2t),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),nft(-1)),gEe),Lee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,g0t),d2t),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),nft(-1)),gEe),Lee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,m0t),p2t),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),nft(40)),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,b0t),p2t),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),fde),AEe),_he),Zft(cEe)))),i2(t,b0t,h0t,dde),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,v0t),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),cde),AEe),_he),Zft(cEe)))),i2(t,v0t,h0t,lde),i2(t,v0t,A2t,ude),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,y0t),g2t),"Node Placement Strategy"),"Strategy for node placement."),IAe),AEe),Sbe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,w0t),g2t),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),fEe),yee),Zft(cEe)))),i2(t,w0t,y0t,wAe),i2(t,w0t,y0t,TAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,T0t),m2t),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),pAe),AEe),Yue),Zft(cEe)))),i2(t,T0t,y0t,gAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,k0t),m2t),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),bAe),AEe),ahe),Zft(cEe)))),i2(t,k0t,y0t,vAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,C0t),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),dEe),xee),Zft(cEe)))),i2(t,C0t,y0t,CAe),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,E0t),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),AEe),vbe),Zft(sEe)))),i2(t,E0t,y0t,SAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,x0t),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),_Ae),AEe),vbe),Zft(cEe)))),i2(t,x0t,y0t,BAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,_0t),b2t),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Ode),AEe),Jbe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,B0t),b2t),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Dde),AEe),rve),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,S0t),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),Pde),AEe),cve),Zft(cEe)))),i2(t,S0t,v2t,Rde),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,L0t),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),dEe),xee),Zft(cEe)))),i2(t,L0t,v2t,Ude),i2(t,L0t,S0t,Hde),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,I0t),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),dEe),xee),Zft(cEe)))),i2(t,I0t,v2t,Ide),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,M0t),y2t),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,O0t),y2t),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,N0t),y2t),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,D0t),y2t),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,F0t),w2t),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),nft(0)),gEe),Lee),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,P0t),w2t),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),nft(0)),gEe),Lee),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,R0t),w2t),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),nft(0)),gEe),Lee),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Q0t),T2t),DJt),"Tries to further compact components (disconnected sub-graphs)."),!1),fEe),yee),Zft(cEe)))),i2(t,Q0t,yZt,!0),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,U0t),k2t),"Post Compaction Strategy"),C2t),Vfe),AEe),mhe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,H0t),k2t),"Post Compaction Constraint Calculation"),C2t),Xfe),AEe),uue),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,j0t),E2t),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,$0t),E2t),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),nft(16)),gEe),Lee),Zft(cEe)))),i2(t,$0t,j0t,!0),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,K0t),E2t),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),nft(5)),gEe),Lee),Zft(cEe)))),i2(t,K0t,j0t,!0),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,G0t),x2t),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),hpe),AEe),Cve),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,z0t),x2t),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),dEe),xee),Zft(cEe)))),i2(t,z0t,G0t,KAe),i2(t,z0t,G0t,GAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,X0t),x2t),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),dEe),xee),Zft(cEe)))),i2(t,X0t,G0t,XAe),i2(t,X0t,G0t,qAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,q0t),_2t),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),epe),AEe),Tue),Zft(cEe)))),i2(t,q0t,G0t,npe),i2(t,q0t,G0t,rpe),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,V0t),_2t),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),mEe),Fte),Zft(cEe)))),i2(t,V0t,q0t,WAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,W0t),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),JAe),gEe),Lee),Zft(cEe)))),i2(t,W0t,q0t,ZAe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Y0t),B2t),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),gpe),AEe),dve),Zft(cEe)))),i2(t,Y0t,G0t,mpe),i2(t,Y0t,G0t,bpe),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,J0t),B2t),"Valid Indices for Wrapping"),null),mEe),Fte),Zft(cEe)))),i2(t,J0t,G0t,dpe),i2(t,J0t,G0t,Ape),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Z0t),S2t),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),fEe),yee),Zft(cEe)))),i2(t,Z0t,G0t,spe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,t2t),S2t),"Distance Penalty When Improving Cuts"),null),2),dEe),xee),Zft(cEe)))),i2(t,t2t,G0t,ape),i2(t,t2t,Z0t,!0),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,e2t),S2t),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),fEe),yee),Zft(cEe)))),i2(t,e2t,G0t,lpe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,n2t),L2t),"Edge Label Side Selection"),"Method to decide on edge label sides."),Sde),AEe),$ue),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,r2t),L2t),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),_de),AEe),aue),wK(cEe,xst(jw(yEe,1),IVt,175,0,[oEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,i2t),I2t),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),ide),AEe),Rbe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,a2t),I2t),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,o2t),I2t),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Yfe),AEe),mse),Zft(cEe)))),i2(t,o2t,yZt,null),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,s2t),I2t),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),ede),AEe),fbe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,c2t),I2t),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),dEe),xee),Zft(cEe)))),i2(t,c2t,i2t,null),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,l2t),I2t),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),dEe),xee),Zft(cEe)))),i2(t,l2t,i2t,null),mqt((new uh,t))},gX(Q1t,"LayeredMetaDataProvider",848),dIt(986,1,VYt,uh),Cqt.Qe=function(t){mqt(t)},gX(Q1t,"LayeredOptions",986),dIt(987,1,{},Ba),Cqt.$e=function(){return new Kb},Cqt._e=function(t){},gX(Q1t,"LayeredOptions/LayeredFactory",987),dIt(1372,1,{}),Cqt.a=0,gX(v4t,"ElkSpacings/AbstractSpacingsBuilder",1372),dIt(779,1372,{},oAt),gX(Q1t,"LayeredSpacings/LayeredSpacingsBuilder",779),dIt(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},D_),Cqt.Kf=function(){return rOt(this)},Cqt.Xf=function(){return rOt(this)};var nbe,rbe,ibe,abe,obe=Unt(Q1t,"LayeringStrategy",313,Gte,t8,uU);dIt(378,22,{3:1,35:1,22:1,378:1},F_);var sbe,cbe,lbe,ube,hbe,fbe=Unt(Q1t,"LongEdgeOrderingStrategy",378,Gte,w1,hU);dIt(197,22,{3:1,35:1,22:1,197:1},P_);var dbe,Abe,pbe,gbe,mbe,bbe,vbe=Unt(Q1t,"NodeFlexibility",197,Gte,v4,fU);dIt(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},R_),Cqt.Kf=function(){return DIt(this)},Cqt.Xf=function(){return DIt(this)};var ybe,wbe,Tbe,kbe,Cbe,Ebe,xbe,_be,Bbe,Sbe=Unt(Q1t,"NodePlacementStrategy",315,Gte,L5,bU);dIt(260,22,{3:1,35:1,22:1,260:1},U_);var Lbe,Ibe,Mbe,Obe,Nbe=Unt(Q1t,"NodePromotionStrategy",260,Gte,Uet,AU);dIt(339,22,{3:1,35:1,22:1,339:1},H_);var Dbe,Fbe,Pbe,Rbe=Unt(Q1t,"OrderingStrategy",339,Gte,S1,pU);dIt(421,22,{3:1,35:1,22:1,421:1},j_);var Qbe,Ube,Hbe,jbe,$be=Unt(Q1t,"PortSortingStrategy",421,Gte,KY,gU);dIt(452,22,{3:1,35:1,22:1,452:1},$_);var Kbe,Gbe,zbe,Xbe,qbe=Unt(Q1t,"PortType",452,Gte,B1,dU);dIt(375,22,{3:1,35:1,22:1,375:1},K_);var Vbe,Wbe,Ybe,Jbe=Unt(Q1t,"SelfLoopDistributionStrategy",375,Gte,L1,mU);dIt(376,22,{3:1,35:1,22:1,376:1},G_);var Zbe,tve,eve,nve,rve=Unt(Q1t,"SelfLoopOrderingStrategy",376,Gte,QY,vU);dIt(304,1,{304:1},cKt),gX(Q1t,"Spacings",304),dIt(336,22,{3:1,35:1,22:1,336:1},z_);var ive,ave,ove,sve,cve=Unt(Q1t,"SplineRoutingMode",336,Gte,M1,yU);dIt(338,22,{3:1,35:1,22:1,338:1},X_);var lve,uve,hve,fve,dve=Unt(Q1t,"ValidifyStrategy",338,Gte,O1,wU);dIt(377,22,{3:1,35:1,22:1,377:1},q_);var Ave,pve,gve,mve,bve,vve,yve,wve,Tve,kve,Cve=Unt(Q1t,"WrappingStrategy",377,Gte,I1,TU);dIt(1383,1,T4t,hh),Cqt.Yf=function(t){return QH(t,37),pve},Cqt.pf=function(t,e){Yjt(this,QH(t,37),e)},gX(k4t,"DepthFirstCycleBreaker",1383),dIt(782,1,T4t,FK),Cqt.Yf=function(t){return QH(t,37),gve},Cqt.pf=function(t,e){GXt(this,QH(t,37),e)},Cqt.Zf=function(t){return QH(O$(t,gbt(this.d,t.c.length)),10)},gX(k4t,"GreedyCycleBreaker",782),dIt(1386,782,T4t,TS),Cqt.Zf=function(t){var e,n,r,i;for(i=null,e=Dqt,r=new zd(t);r.a<r.c.c.length;)ID(n=QH(J1(r),10),(lqt(),ffe))&&QH(bEt(n,ffe),19).a<e&&(e=QH(bEt(n,ffe),19).a,i=n);return i||QH(O$(t,gbt(this.d,t.c.length)),10)},gX(k4t,"GreedyModelOrderCycleBreaker",1386),dIt(1384,1,T4t,eh),Cqt.Yf=function(t){return QH(t,37),mve},Cqt.pf=function(t,e){B$t(this,QH(t,37),e)},gX(k4t,"InteractiveCycleBreaker",1384),dIt(1385,1,T4t,nh),Cqt.Yf=function(t){return QH(t,37),bve},Cqt.pf=function(t,e){M$t(this,QH(t,37),e)},Cqt.a=0,Cqt.b=0,gX(k4t,"ModelOrderCycleBreaker",1385),dIt(1389,1,T4t,LE),Cqt.Yf=function(t){return QH(t,37),vve},Cqt.pf=function(t,e){YXt(this,QH(t,37),e)},gX(C4t,"CoffmanGrahamLayerer",1389),dIt(1390,1,CYt,Np),Cqt.ue=function(t,e){return USt(this.a,QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(C4t,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),dIt(1391,1,CYt,Dp),Cqt.ue=function(t,e){return $K(this.a,QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(C4t,"CoffmanGrahamLayerer/lambda$1$Type",1391),dIt(1392,1,T4t,Sa),Cqt.Yf=function(t){return QH(t,37),d$(d$(d$(new Q2,(vEt(),Doe),(hqt(),vce)),Foe,Bce),Poe,_ce)},Cqt.pf=function(t,e){Tzt(this,QH(t,37),e)},gX(C4t,"InteractiveLayerer",1392),dIt(569,1,{569:1},ev),Cqt.a=0,Cqt.c=0,gX(C4t,"InteractiveLayerer/LayerSpan",569),dIt(1388,1,T4t,th),Cqt.Yf=function(t){return QH(t,37),yve},Cqt.pf=function(t,e){jDt(this,QH(t,37),e)},gX(C4t,"LongestPathLayerer",1388),dIt(1395,1,T4t,oh),Cqt.Yf=function(t){return QH(t,37),d$(d$(d$(new Q2,(vEt(),Doe),(hqt(),rce)),Foe,Bce),Poe,_ce)},Cqt.pf=function(t,e){nXt(this,QH(t,37),e)},Cqt.a=0,Cqt.b=0,Cqt.d=0,gX(C4t,"MinWidthLayerer",1395),dIt(1396,1,CYt,Fp),Cqt.ue=function(t,e){return Aot(this,QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(C4t,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),dIt(1387,1,T4t,ah),Cqt.Yf=function(t){return QH(t,37),kve},Cqt.pf=function(t,e){bKt(this,QH(t,37),e)},gX(C4t,"NetworkSimplexLayerer",1387),dIt(1393,1,T4t,DP),Cqt.Yf=function(t){return QH(t,37),d$(d$(d$(new Q2,(vEt(),Doe),(hqt(),rce)),Foe,Bce),Poe,_ce)},Cqt.pf=function(t,e){IGt(this,QH(t,37),e)},Cqt.d=0,Cqt.f=0,Cqt.g=0,Cqt.i=0,Cqt.s=0,Cqt.t=0,Cqt.u=0,gX(C4t,"StretchWidthLayerer",1393),dIt(1394,1,CYt,La),Cqt.ue=function(t,e){return D6(QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(C4t,"StretchWidthLayerer/1",1394),dIt(402,1,E4t),Cqt.Nf=function(t,e,n,r,i,a){},Cqt._f=function(t,e,n){return rQt(this,t,e,n)},Cqt.Mf=function(){this.g=O9(ONe,x4t,25,this.d,15,1),this.f=O9(ONe,x4t,25,this.d,15,1)},Cqt.Of=function(t,e){this.e[t]=O9(BNe,lWt,25,e[t].length,15,1)},Cqt.Pf=function(t,e,n){n[t][e].p=e,this.e[t][e]=e},Cqt.Qf=function(t,e,n,r){QH(O$(r[t][e].j,n),11).p=this.d++},Cqt.b=0,Cqt.c=0,Cqt.d=0,gX(_4t,"AbstractBarycenterPortDistributor",402),dIt(1633,1,CYt,Pp),Cqt.ue=function(t,e){return jgt(this.a,QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(_4t,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),dIt(817,1,O1t,j2),Cqt.Nf=function(t,e,n,r,i,a){},Cqt.Pf=function(t,e,n){},Cqt.Qf=function(t,e,n,r){},Cqt.Lf=function(){return!1},Cqt.Mf=function(){this.c=this.e.a,this.g=this.f.g},Cqt.Of=function(t,e){e[t][0].c.p=t},Cqt.Rf=function(){return!1},Cqt.ag=function(t,e,n,r){n?cTt(this,t):(DTt(this,t,r),JKt(this,t,e)),t.c.length>1&&(Hy(TF(bEt(gq((u1(0,t.c.length),QH(t.c[0],10))),(HXt(),Ope))))?FMt(t,this.d,QH(this,660)):(CW(),mM(t,this.d)),Uot(this.e,t))},Cqt.Sf=function(t,e,n,r){var i,a,o,s,c,l,u;for(e!=W$(n,t.length)&&(a=t[e-(n?1:-1)],j6(this.f,a,n?(art(),Hbe):(art(),Ube))),i=t[e][0],u=!r||i.k==(oxt(),kse),l=a6(t[e]),this.ag(l,u,!1,n),o=0,c=new zd(l);c.a<c.c.c.length;)s=QH(J1(c),10),t[e][o++]=s;return!1},Cqt.Tf=function(t,e){var n,r,i,a,o;for(a=a6(t[o=W$(e,t.length)]),this.ag(a,!1,!0,e),n=0,i=new zd(a);i.a<i.c.c.length;)r=QH(J1(i),10),t[o][n++]=r;return!1},gX(_4t,"BarycenterHeuristic",817),dIt(658,1,{658:1},Qp),Cqt.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},Cqt.b=0,Cqt.d=0,Cqt.e=!1;var Eve=gX(_4t,"BarycenterHeuristic/BarycenterState",658);dIt(1802,1,CYt,Rp),Cqt.ue=function(t,e){return Ckt(this.a,QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(_4t,"BarycenterHeuristic/lambda$0$Type",1802),dIt(816,1,O1t,Gkt),Cqt.Mf=function(){},Cqt.Nf=function(t,e,n,r,i,a){},Cqt.Qf=function(t,e,n,r){},Cqt.Of=function(t,e){this.a[t]=O9(Eve,{3:1,4:1,5:1,2018:1},658,e[t].length,0,1),this.b[t]=O9(Ive,{3:1,4:1,5:1,2019:1},233,e[t].length,0,1)},Cqt.Pf=function(t,e,n){Dgt(this,n[t][e],!0)},Cqt.c=!1,gX(_4t,"ForsterConstraintResolver",816),dIt(233,1,{233:1},NY,oKt),Cqt.Ib=function(){var t,e;for((e=new xw).a+="[",t=0;t<this.d.length;t++)oL(e,Imt(this.d[t])),null!=uO(this.g,this.d[0]).a&&oL(oL((e.a+="<",e),YS(uO(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(e.a+=Qqt);return(e.a+="]",e).a},Cqt.a=0,Cqt.c=0,Cqt.f=0;var xve,_ve,Bve,Sve,Lve,Ive=gX(_4t,"ForsterConstraintResolver/ConstraintGroup",233);dIt(1797,1,hVt,Hp),Cqt.td=function(t){Dgt(this.a,QH(t,10),!1)},gX(_4t,"ForsterConstraintResolver/lambda$0$Type",1797),dIt(214,1,{214:1,225:1},_Kt),Cqt.Nf=function(t,e,n,r,i,a){},Cqt.Of=function(t,e){},Cqt.Mf=function(){this.r=O9(BNe,lWt,25,this.n,15,1)},Cqt.Pf=function(t,e,n){var r;(r=n[t][e].e)&&zH(this.b,r)},Cqt.Qf=function(t,e,n,r){++this.n},Cqt.Ib=function(){return nGt(this.e,new Db)},Cqt.g=!1,Cqt.i=!1,Cqt.n=0,Cqt.s=!1,gX(_4t,"GraphInfoHolder",214),dIt(1832,1,O1t,_a),Cqt.Nf=function(t,e,n,r,i,a){},Cqt.Of=function(t,e){},Cqt.Qf=function(t,e,n,r){},Cqt._f=function(t,e,n){return n&&e>0?aZ(this.a,t[e-1],t[e]):!n&&e<t.length-1?aZ(this.a,t[e],t[e+1]):vit(this.a,t[e],n?(yzt(),xSe):(yzt(),oSe)),fOt(this,t,e,n)},Cqt.Mf=function(){this.d=O9(BNe,lWt,25,this.c,15,1),this.a=new qR(this.d)},Cqt.Pf=function(t,e,n){var r;r=n[t][e],this.c+=r.j.c.length},Cqt.c=0,gX(_4t,"GreedyPortDistributor",1832),dIt(1401,1,T4t,fh),Cqt.Yf=function(t){return zut(QH(t,37))},Cqt.pf=function(t,e){zKt(QH(t,37),e)},gX(_4t,"InteractiveCrossingMinimizer",1401),dIt(1402,1,CYt,jp),Cqt.ue=function(t,e){return HTt(this,QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(_4t,"InteractiveCrossingMinimizer/1",1402),dIt(507,1,{507:1,123:1,51:1},My),Cqt.Yf=function(t){var e;return QH(t,37),d$(e=vI(_ve),(vEt(),Poe),(hqt(),Qce)),e},Cqt.pf=function(t,e){xQt(this,QH(t,37),e)},Cqt.e=0,gX(_4t,"LayerSweepCrossingMinimizer",507),dIt(1398,1,hVt,$p),Cqt.td=function(t){dHt(this.a,QH(t,214))},gX(_4t,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),dIt(1399,1,hVt,Kp),Cqt.td=function(t){Sut(this.a,QH(t,214))},gX(_4t,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),dIt(1400,1,hVt,Gp),Cqt.td=function(t){gUt(this.a,QH(t,214))},gX(_4t,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),dIt(454,22,{3:1,35:1,22:1,454:1},V_);var Mve,Ove=Unt(_4t,"LayerSweepCrossingMinimizer/CrossMinType",454,Gte,N1,kU);dIt(1397,1,DVt,Ia),Cqt.Mb=function(t){return Rat(),0==QH(t,29).a.c.length},gX(_4t,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),dIt(1799,1,O1t,iZ),Cqt.Mf=function(){},Cqt.Nf=function(t,e,n,r,i,a){},Cqt.Qf=function(t,e,n,r){},Cqt.Of=function(t,e){e[t][0].c.p=t,this.b[t]=O9(Pve,{3:1,4:1,5:1,1944:1},659,e[t].length,0,1)},Cqt.Pf=function(t,e,n){n[t][e].p=e,LX(this.b[t],e,new Ma)},gX(_4t,"LayerSweepTypeDecider",1799),dIt(659,1,{659:1},Ma),Cqt.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},Cqt.a=0,Cqt.b=0,Cqt.c=0;var Nve,Dve,Fve,Pve=gX(_4t,"LayerSweepTypeDecider/NodeInfo",659);dIt(1800,1,jYt,Oa),Cqt.Lb=function(t){return $N(new m6(QH(t,11).b))},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return $N(new m6(QH(t,11).b))},gX(_4t,"LayerSweepTypeDecider/lambda$0$Type",1800),dIt(1801,1,jYt,Na),Cqt.Lb=function(t){return $N(new m6(QH(t,11).b))},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return $N(new m6(QH(t,11).b))},gX(_4t,"LayerSweepTypeDecider/lambda$1$Type",1801),dIt(1833,402,E4t,NT),Cqt.$f=function(t,e,n){var r,i,a,o,s,c,l,u,h;switch(l=this.g,n.g){case 1:for(r=0,i=0,c=new zd(t.j);c.a<c.c.c.length;)0!=(o=QH(J1(c),11)).e.c.length&&(++r,o.j==(yzt(),sSe)&&++i);for(a=e+i,h=e+r,s=NAt(t,(art(),Ube)).Kc();s.Ob();)(o=QH(s.Pb(),11)).j==(yzt(),sSe)?(l[o.p]=a,--a):(l[o.p]=h,--h);return r;case 2:for(u=0,s=NAt(t,(art(),Hbe)).Kc();s.Ob();)++u,l[(o=QH(s.Pb(),11)).p]=e+u;return u;default:throw Um(new fb)}},gX(_4t,"LayerTotalPortDistributor",1833),dIt(660,817,{660:1,225:1},git),Cqt.ag=function(t,e,n,r){n?cTt(this,t):(DTt(this,t,r),JKt(this,t,e)),t.c.length>1&&(Hy(TF(bEt(gq((u1(0,t.c.length),QH(t.c[0],10))),(HXt(),Ope))))?FMt(t,this.d,this):(CW(),mM(t,this.d)),Hy(TF(bEt(gq((u1(0,t.c.length),QH(t.c[0],10))),Ope)))||Uot(this.e,t))},gX(_4t,"ModelOrderBarycenterHeuristic",660),dIt(1803,1,CYt,zp),Cqt.ue=function(t,e){return Pxt(this.a,QH(t,10),QH(e,10))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(_4t,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),dIt(1403,1,T4t,vh),Cqt.Yf=function(t){var e;return QH(t,37),d$(e=vI(Nve),(vEt(),Poe),(hqt(),Qce)),e},Cqt.pf=function(t,e){mY((QH(t,37),e))},gX(_4t,"NoCrossingMinimizer",1403),dIt(796,402,E4t,DT),Cqt.$f=function(t,e,n){var r,i,a,o,s,c,l,u,h,f,d;switch(h=this.g,n.g){case 1:for(i=0,a=0,u=new zd(t.j);u.a<u.c.c.length;)0!=(c=QH(J1(u),11)).e.c.length&&(++i,c.j==(yzt(),sSe)&&++a);for(o=e+a*(r=1/(i+1)),d=e+1-r,l=NAt(t,(art(),Ube)).Kc();l.Ob();)(c=QH(l.Pb(),11)).j==(yzt(),sSe)?(h[c.p]=o,o-=r):(h[c.p]=d,d-=r);break;case 2:for(s=0,u=new zd(t.j);u.a<u.c.c.length;)0==(c=QH(J1(u),11)).g.c.length||++s;for(f=e+(r=1/(s+1)),l=NAt(t,(art(),Hbe)).Kc();l.Ob();)h[(c=QH(l.Pb(),11)).p]=f,f+=r;break;default:throw Um(new Py("Port type is undefined"))}return 1},gX(_4t,"NodeRelativePortDistributor",796),dIt(807,1,{},XG,HEt),gX(_4t,"SweepCopy",807),dIt(1798,1,O1t,dpt),Cqt.Of=function(t,e){},Cqt.Mf=function(){var t;t=O9(BNe,lWt,25,this.f,15,1),this.d=new tg(t),this.a=new qR(t)},Cqt.Nf=function(t,e,n,r,i,a){var o;o=QH(O$(a[t][e].j,n),11),i.c==o&&i.c.i.c==i.d.i.c&&++this.e[t]},Cqt.Pf=function(t,e,n){var r;r=n[t][e],this.c[t]=this.c[t]|r.k==(oxt(),_se)},Cqt.Qf=function(t,e,n,r){var i;(i=QH(O$(r[t][e].j,n),11)).p=this.f++,i.g.c.length+i.e.c.length>1&&(i.j==(yzt(),oSe)?this.b[t]=!0:i.j==xSe&&t>0&&(this.b[t-1]=!0))},Cqt.f=0,gX(M1t,"AllCrossingsCounter",1798),dIt(587,1,{},bit),Cqt.b=0,Cqt.d=0,gX(M1t,"BinaryIndexedTree",587),dIt(524,1,{},qR),gX(M1t,"CrossingsCounter",524),dIt(1906,1,CYt,Xp),Cqt.ue=function(t,e){return G$(this.a,QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(M1t,"CrossingsCounter/lambda$0$Type",1906),dIt(1907,1,CYt,qp),Cqt.ue=function(t,e){return z$(this.a,QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(M1t,"CrossingsCounter/lambda$1$Type",1907),dIt(1908,1,CYt,Vp),Cqt.ue=function(t,e){return X$(this.a,QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(M1t,"CrossingsCounter/lambda$2$Type",1908),dIt(1909,1,CYt,Wp),Cqt.ue=function(t,e){return q$(this.a,QH(t,11),QH(e,11))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(M1t,"CrossingsCounter/lambda$3$Type",1909),dIt(1910,1,hVt,Yp),Cqt.td=function(t){p7(this.a,QH(t,11))},gX(M1t,"CrossingsCounter/lambda$4$Type",1910),dIt(1911,1,DVt,Jp),Cqt.Mb=function(t){return bS(this.a,QH(t,11))},gX(M1t,"CrossingsCounter/lambda$5$Type",1911),dIt(1912,1,hVt,Zp),Cqt.td=function(t){mS(this,t)},gX(M1t,"CrossingsCounter/lambda$6$Type",1912),dIt(1913,1,hVt,Y_),Cqt.td=function(t){var e;cj(),d4(this.b,(e=this.a,QH(t,11),e))},gX(M1t,"CrossingsCounter/lambda$7$Type",1913),dIt(826,1,jYt,Da),Cqt.Lb=function(t){return cj(),ID(QH(t,11),(lqt(),wfe))},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return cj(),ID(QH(t,11),(lqt(),wfe))},gX(M1t,"CrossingsCounter/lambda$8$Type",826),dIt(1905,1,{},tg),gX(M1t,"HyperedgeCrossingsCounter",1905),dIt(467,1,{35:1,467:1},NP),Cqt.wd=function(t){return mgt(this,QH(t,467))},Cqt.b=0,Cqt.c=0,Cqt.e=0,Cqt.f=0;var Rve=gX(M1t,"HyperedgeCrossingsCounter/Hyperedge",467);dIt(362,1,{35:1,362:1},HV),Cqt.wd=function(t){return hMt(this,QH(t,362))},Cqt.b=0,Cqt.c=0;var Qve,Uve,Hve=gX(M1t,"HyperedgeCrossingsCounter/HyperedgeCorner",362);dIt(523,22,{3:1,35:1,22:1,523:1},W_);var jve,$ve,Kve,Gve,zve,Xve=Unt(M1t,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Gte,GY,CU);dIt(1405,1,T4t,lh),Cqt.Yf=function(t){return QH(bEt(QH(t,37),(lqt(),Yhe)),21).Hc((fFt(),uhe))?$ve:null},Cqt.pf=function(t,e){hTt(this,QH(t,37),e)},gX(B4t,"InteractiveNodePlacer",1405),dIt(1406,1,T4t,ch),Cqt.Yf=function(t){return QH(bEt(QH(t,37),(lqt(),Yhe)),21).Hc((fFt(),uhe))?Kve:null},Cqt.pf=function(t,e){wvt(this,QH(t,37),e)},gX(B4t,"LinearSegmentsNodePlacer",1406),dIt(257,1,{35:1,257:1},nv),Cqt.wd=function(t){return aT(this,QH(t,257))},Cqt.Fb=function(t){var e;return!!rO(t,257)&&(e=QH(t,257),this.b==e.b)},Cqt.Hb=function(){return this.b},Cqt.Ib=function(){return"ls"+MEt(this.e)},Cqt.a=0,Cqt.b=0,Cqt.c=-1,Cqt.d=-1,Cqt.g=0;var qve,Vve=gX(B4t,"LinearSegmentsNodePlacer/LinearSegment",257);dIt(1408,1,T4t,PK),Cqt.Yf=function(t){return QH(bEt(QH(t,37),(lqt(),Yhe)),21).Hc((fFt(),uhe))?qve:null},Cqt.pf=function(t,e){EXt(this,QH(t,37),e)},Cqt.b=0,Cqt.g=0,gX(B4t,"NetworkSimplexPlacer",1408),dIt(1427,1,CYt,Fa),Cqt.ue=function(t,e){return wM(QH(t,19).a,QH(e,19).a)},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(B4t,"NetworkSimplexPlacer/0methodref$compare$Type",1427),dIt(1429,1,CYt,Pa),Cqt.ue=function(t,e){return wM(QH(t,19).a,QH(e,19).a)},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(B4t,"NetworkSimplexPlacer/1methodref$compare$Type",1429),dIt(649,1,{649:1},J_);var Wve=gX(B4t,"NetworkSimplexPlacer/EdgeRep",649);dIt(401,1,{401:1},jV),Cqt.b=!1;var Yve,Jve,Zve,tye=gX(B4t,"NetworkSimplexPlacer/NodeRep",401);dIt(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},av),gX(B4t,"NetworkSimplexPlacer/Path",508),dIt(1409,1,{},Ra),Cqt.Kb=function(t){return QH(t,17).d.i.k},gX(B4t,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),dIt(1410,1,DVt,Qa),Cqt.Mb=function(t){return QH(t,267)==(oxt(),Ese)},gX(B4t,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),dIt(1411,1,{},Ua),Cqt.Kb=function(t){return QH(t,17).d.i},gX(B4t,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),dIt(1412,1,DVt,eg),Cqt.Mb=function(t){return UF(tpt(QH(t,10)))},gX(B4t,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),dIt(1413,1,DVt,Ha),Cqt.Mb=function(t){return c$(QH(t,11))},gX(B4t,"NetworkSimplexPlacer/lambda$0$Type",1413),dIt(1414,1,hVt,Z_),Cqt.td=function(t){NM(this.a,this.b,QH(t,11))},gX(B4t,"NetworkSimplexPlacer/lambda$1$Type",1414),dIt(1423,1,hVt,ng),Cqt.td=function(t){XBt(this.a,QH(t,17))},gX(B4t,"NetworkSimplexPlacer/lambda$10$Type",1423),dIt(1424,1,{},ja),Cqt.Kb=function(t){return QZ(),new D$(null,new f1(QH(t,29).a,16))},gX(B4t,"NetworkSimplexPlacer/lambda$11$Type",1424),dIt(1425,1,hVt,rg),Cqt.td=function(t){UFt(this.a,QH(t,10))},gX(B4t,"NetworkSimplexPlacer/lambda$12$Type",1425),dIt(1426,1,{},$a),Cqt.Kb=function(t){return QZ(),nft(QH(t,121).e)},gX(B4t,"NetworkSimplexPlacer/lambda$13$Type",1426),dIt(1428,1,{},Ka),Cqt.Kb=function(t){return QZ(),nft(QH(t,121).e)},gX(B4t,"NetworkSimplexPlacer/lambda$15$Type",1428),dIt(1430,1,DVt,Ga),Cqt.Mb=function(t){return QZ(),QH(t,401).c.k==(oxt(),xse)},gX(B4t,"NetworkSimplexPlacer/lambda$17$Type",1430),dIt(1431,1,DVt,za),Cqt.Mb=function(t){return QZ(),QH(t,401).c.j.c.length>1},gX(B4t,"NetworkSimplexPlacer/lambda$18$Type",1431),dIt(1432,1,hVt,$V),Cqt.td=function(t){iAt(this.c,this.b,this.d,this.a,QH(t,401))},Cqt.c=0,Cqt.d=0,gX(B4t,"NetworkSimplexPlacer/lambda$19$Type",1432),dIt(1415,1,{},Xa),Cqt.Kb=function(t){return QZ(),new D$(null,new f1(QH(t,29).a,16))},gX(B4t,"NetworkSimplexPlacer/lambda$2$Type",1415),dIt(1433,1,hVt,ig),Cqt.td=function(t){MM(this.a,QH(t,11))},Cqt.a=0,gX(B4t,"NetworkSimplexPlacer/lambda$20$Type",1433),dIt(1434,1,{},qa),Cqt.Kb=function(t){return QZ(),new D$(null,new f1(QH(t,29).a,16))},gX(B4t,"NetworkSimplexPlacer/lambda$21$Type",1434),dIt(1435,1,hVt,ag),Cqt.td=function(t){dO(this.a,QH(t,10))},gX(B4t,"NetworkSimplexPlacer/lambda$22$Type",1435),dIt(1436,1,DVt,Va),Cqt.Mb=function(t){return UF(t)},gX(B4t,"NetworkSimplexPlacer/lambda$23$Type",1436),dIt(1437,1,{},Wa),Cqt.Kb=function(t){return QZ(),new D$(null,new f1(QH(t,29).a,16))},gX(B4t,"NetworkSimplexPlacer/lambda$24$Type",1437),dIt(1438,1,DVt,og),Cqt.Mb=function(t){return wL(this.a,QH(t,10))},gX(B4t,"NetworkSimplexPlacer/lambda$25$Type",1438),dIt(1439,1,hVt,tB),Cqt.td=function(t){C_t(this.a,this.b,QH(t,10))},gX(B4t,"NetworkSimplexPlacer/lambda$26$Type",1439),dIt(1440,1,DVt,Ya),Cqt.Mb=function(t){return QZ(),!h5(QH(t,17))},gX(B4t,"NetworkSimplexPlacer/lambda$27$Type",1440),dIt(1441,1,DVt,Ja),Cqt.Mb=function(t){return QZ(),!h5(QH(t,17))},gX(B4t,"NetworkSimplexPlacer/lambda$28$Type",1441),dIt(1442,1,{},sg),Cqt.Ce=function(t,e){return sO(this.a,QH(t,29),QH(e,29))},gX(B4t,"NetworkSimplexPlacer/lambda$29$Type",1442),dIt(1416,1,{},Za),Cqt.Kb=function(t){return QZ(),new D$(null,new $z(new oG(YO(hdt(QH(t,10)).a.Kc(),new u))))},gX(B4t,"NetworkSimplexPlacer/lambda$3$Type",1416),dIt(1417,1,DVt,to),Cqt.Mb=function(t){return QZ(),Z0(QH(t,17))},gX(B4t,"NetworkSimplexPlacer/lambda$4$Type",1417),dIt(1418,1,hVt,cg),Cqt.td=function(t){nHt(this.a,QH(t,17))},gX(B4t,"NetworkSimplexPlacer/lambda$5$Type",1418),dIt(1419,1,{},eo),Cqt.Kb=function(t){return QZ(),new D$(null,new f1(QH(t,29).a,16))},gX(B4t,"NetworkSimplexPlacer/lambda$6$Type",1419),dIt(1420,1,DVt,no),Cqt.Mb=function(t){return QZ(),QH(t,10).k==(oxt(),xse)},gX(B4t,"NetworkSimplexPlacer/lambda$7$Type",1420),dIt(1421,1,{},ro),Cqt.Kb=function(t){return QZ(),new D$(null,new $z(new oG(YO(ldt(QH(t,10)).a.Kc(),new u))))},gX(B4t,"NetworkSimplexPlacer/lambda$8$Type",1421),dIt(1422,1,DVt,io),Cqt.Mb=function(t){return QZ(),Kj(QH(t,17))},gX(B4t,"NetworkSimplexPlacer/lambda$9$Type",1422),dIt(1404,1,T4t,Eh),Cqt.Yf=function(t){return QH(bEt(QH(t,37),(lqt(),Yhe)),21).Hc((fFt(),uhe))?Yve:null},Cqt.pf=function(t,e){yjt(QH(t,37),e)},gX(B4t,"SimpleNodePlacer",1404),dIt(180,1,{180:1},jRt),Cqt.Ib=function(){var t;return t="",this.c==(AJ(),Zve)?t+=aJt:this.c==Jve&&(t+=iJt),this.o==(oZ(),nye)?t+=gJt:this.o==rye?t+="UP":t+="BALANCED",t},gX(I4t,"BKAlignedLayout",180),dIt(516,22,{3:1,35:1,22:1,516:1},rB);var eye,nye,rye,iye=Unt(I4t,"BKAlignedLayout/HDirection",516,Gte,XY,EU);dIt(515,22,{3:1,35:1,22:1,515:1},nB);var aye,oye,sye,cye,lye,uye,hye,fye,dye,Aye,pye,gye,mye,bye,vye,yye,wye,Tye,kye,Cye=Unt(I4t,"BKAlignedLayout/VDirection",515,Gte,qY,xU);dIt(1634,1,{},eB),gX(I4t,"BKAligner",1634),dIt(1637,1,{},Yyt),gX(I4t,"BKCompactor",1637),dIt(654,1,{654:1},ao),Cqt.a=0,gX(I4t,"BKCompactor/ClassEdge",654),dIt(458,1,{458:1},rv),Cqt.a=null,Cqt.b=0,gX(I4t,"BKCompactor/ClassNode",458),dIt(1407,1,T4t,yS),Cqt.Yf=function(t){return QH(bEt(QH(t,37),(lqt(),Yhe)),21).Hc((fFt(),uhe))?oye:null},Cqt.pf=function(t,e){rqt(this,QH(t,37),e)},Cqt.d=!1,gX(I4t,"BKNodePlacer",1407),dIt(1635,1,{},oo),Cqt.d=0,gX(I4t,"NeighborhoodInformation",1635),dIt(1636,1,CYt,lg),Cqt.ue=function(t,e){return Cet(this,QH(t,46),QH(e,46))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(I4t,"NeighborhoodInformation/NeighborComparator",1636),dIt(808,1,{}),gX(I4t,"ThresholdStrategy",808),dIt(1763,808,{},dv),Cqt.bg=function(t,e,n){return this.a.o==(oZ(),rye)?FWt:PWt},Cqt.cg=function(){},gX(I4t,"ThresholdStrategy/NullThresholdStrategy",1763),dIt(579,1,{579:1},iB),Cqt.c=!1,Cqt.d=!1,gX(I4t,"ThresholdStrategy/Postprocessable",579),dIt(1764,808,{},Av),Cqt.bg=function(t,e,n){var r,i,a;return i=e==n,r=this.a.a[n.p]==e,i||r?(a=t,this.a.c,AJ(),i&&(a=kjt(this,e,!0)),!isNaN(a)&&!isFinite(a)&&r&&(a=kjt(this,n,!1)),a):t},Cqt.cg=function(){for(var t,e,n;0!=this.d.b;)(e=iUt(this,n=QH(EJ(this.d),579))).a&&(t=e.a,(Hy(this.a.f[this.a.g[n.b.p].p])||h5(t)||t.c.i.c!=t.d.i.c)&&(fMt(this,n)||nI(this.e,n)));for(;0!=this.e.a.c.length;)fMt(this,QH(tut(this.e),579))},gX(I4t,"ThresholdStrategy/SimpleThresholdStrategy",1764),dIt(635,1,{635:1,246:1,234:1},so),Cqt.Kf=function(){return kot(this)},Cqt.Xf=function(){return kot(this)},gX(M4t,"EdgeRouterFactory",635),dIt(1458,1,T4t,xh),Cqt.Yf=function(t){return GDt(QH(t,37))},Cqt.pf=function(t,e){Djt(QH(t,37),e)},gX(M4t,"OrthogonalEdgeRouter",1458),dIt(1451,1,T4t,wS),Cqt.Yf=function(t){return TTt(QH(t,37))},Cqt.pf=function(t,e){Szt(this,QH(t,37),e)},gX(M4t,"PolylineEdgeRouter",1451),dIt(1452,1,jYt,co),Cqt.Lb=function(t){return Vot(QH(t,10))},Cqt.Fb=function(t){return this===t},Cqt.Mb=function(t){return Vot(QH(t,10))},gX(M4t,"PolylineEdgeRouter/1",1452),dIt(1809,1,DVt,lo),Cqt.Mb=function(t){return QH(t,129).c==(B6(),Tye)},gX(O4t,"HyperEdgeCycleDetector/lambda$0$Type",1809),dIt(1810,1,{},uo),Cqt.Ge=function(t){return QH(t,129).d},gX(O4t,"HyperEdgeCycleDetector/lambda$1$Type",1810),dIt(1811,1,DVt,ho),Cqt.Mb=function(t){return QH(t,129).c==(B6(),Tye)},gX(O4t,"HyperEdgeCycleDetector/lambda$2$Type",1811),dIt(1812,1,{},fo),Cqt.Ge=function(t){return QH(t,129).d},gX(O4t,"HyperEdgeCycleDetector/lambda$3$Type",1812),dIt(1813,1,{},Ao),Cqt.Ge=function(t){return QH(t,129).d},gX(O4t,"HyperEdgeCycleDetector/lambda$4$Type",1813),dIt(1814,1,{},po),Cqt.Ge=function(t){return QH(t,129).d},gX(O4t,"HyperEdgeCycleDetector/lambda$5$Type",1814),dIt(112,1,{35:1,112:1},Qot),Cqt.wd=function(t){return oT(this,QH(t,112))},Cqt.Fb=function(t){var e;return!!rO(t,112)&&(e=QH(t,112),this.g==e.g)},Cqt.Hb=function(){return this.g},Cqt.Ib=function(){var t,e,n,r;for(t=new uN("{"),r=new zd(this.n);r.a<r.c.c.length;)null==(e=pyt((n=QH(J1(r),11)).i))&&(e="n"+SR(n.i)),t.a+=""+e,r.a<r.c.c.length&&(t.a+=",");return t.a+="}",t.a},Cqt.a=0,Cqt.b=0,Cqt.c=NaN,Cqt.d=0,Cqt.g=0,Cqt.i=0,Cqt.o=0,Cqt.s=NaN,gX(O4t,"HyperEdgeSegment",112),dIt(129,1,{129:1},$Z),Cqt.Ib=function(){return this.a+"->"+this.b+" ("+fD(this.c)+")"},Cqt.d=0,gX(O4t,"HyperEdgeSegmentDependency",129),dIt(520,22,{3:1,35:1,22:1,520:1},aB);var Eye,xye,_ye,Bye,Sye,Lye,Iye,Mye,Oye=Unt(O4t,"HyperEdgeSegmentDependency/DependencyType",520,Gte,zY,_U);dIt(1815,1,{},ug),gX(O4t,"HyperEdgeSegmentSplitter",1815),dIt(1816,1,{},$T),Cqt.a=0,Cqt.b=0,gX(O4t,"HyperEdgeSegmentSplitter/AreaRating",1816),dIt(329,1,{329:1},vH),Cqt.a=0,Cqt.b=0,Cqt.c=0,gX(O4t,"HyperEdgeSegmentSplitter/FreeArea",329),dIt(1817,1,CYt,ko),Cqt.ue=function(t,e){return BR(QH(t,112),QH(e,112))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(O4t,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),dIt(1818,1,hVt,GV),Cqt.td=function(t){J4(this.a,this.d,this.c,this.b,QH(t,112))},Cqt.b=0,gX(O4t,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),dIt(1819,1,{},Co),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,112).e,16))},gX(O4t,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),dIt(1820,1,{},Eo),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,112).j,16))},gX(O4t,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),dIt(1821,1,{},xo),Cqt.Fe=function(t){return jy(kF(t))},gX(O4t,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),dIt(655,1,{},lX),Cqt.a=0,Cqt.b=0,Cqt.c=0,gX(O4t,"OrthogonalRoutingGenerator",655),dIt(1638,1,{},_o),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,112).e,16))},gX(O4t,"OrthogonalRoutingGenerator/lambda$0$Type",1638),dIt(1639,1,{},Bo),Cqt.Kb=function(t){return new D$(null,new f1(QH(t,112).j,16))},gX(O4t,"OrthogonalRoutingGenerator/lambda$1$Type",1639),dIt(661,1,{}),gX(N4t,"BaseRoutingDirectionStrategy",661),dIt(1807,661,{},pv),Cqt.dg=function(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g;if(!t.r||t.q)for(h=n+t.o*r,u=new zd(t.n);u.a<u.c.c.length;)for(l=QH(J1(u),11),f=Lct(xst(jw(EEe,1),cVt,8,0,[l.i.n,l.n,l.a])).a,c=new zd(l.g);c.a<c.c.c.length;)h5(s=QH(J1(c),17))||(p=s.d,g=Lct(xst(jw(EEe,1),cVt,8,0,[p.i.n,p.n,p.a])).a,e.Math.abs(f-g)>hZt&&(a=t,i=new OB(f,o=h),Nj(s.a,i),QQt(this,s,a,i,!1),(d=t.r)&&(i=new OB(A=jy(kF(Dmt(d.e,0))),o),Nj(s.a,i),QQt(this,s,a,i,!1),a=d,i=new OB(A,o=n+d.o*r),Nj(s.a,i),QQt(this,s,a,i,!1)),i=new OB(g,o),Nj(s.a,i),QQt(this,s,a,i,!1)))},Cqt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},Cqt.fg=function(){return yzt(),CSe},Cqt.gg=function(){return yzt(),sSe},gX(N4t,"NorthToSouthRoutingStrategy",1807),dIt(1808,661,{},gv),Cqt.dg=function(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g;if(!t.r||t.q)for(h=n-t.o*r,u=new zd(t.n);u.a<u.c.c.length;)for(l=QH(J1(u),11),f=Lct(xst(jw(EEe,1),cVt,8,0,[l.i.n,l.n,l.a])).a,c=new zd(l.g);c.a<c.c.c.length;)h5(s=QH(J1(c),17))||(p=s.d,g=Lct(xst(jw(EEe,1),cVt,8,0,[p.i.n,p.n,p.a])).a,e.Math.abs(f-g)>hZt&&(a=t,i=new OB(f,o=h),Nj(s.a,i),QQt(this,s,a,i,!1),(d=t.r)&&(i=new OB(A=jy(kF(Dmt(d.e,0))),o),Nj(s.a,i),QQt(this,s,a,i,!1),a=d,i=new OB(A,o=n-d.o*r),Nj(s.a,i),QQt(this,s,a,i,!1)),i=new OB(g,o),Nj(s.a,i),QQt(this,s,a,i,!1)))},Cqt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},Cqt.fg=function(){return yzt(),sSe},Cqt.gg=function(){return yzt(),CSe},gX(N4t,"SouthToNorthRoutingStrategy",1808),dIt(1806,661,{},mv),Cqt.dg=function(t,n,r){var i,a,o,s,c,l,u,h,f,d,A,p,g;if(!t.r||t.q)for(h=n+t.o*r,u=new zd(t.n);u.a<u.c.c.length;)for(l=QH(J1(u),11),f=Lct(xst(jw(EEe,1),cVt,8,0,[l.i.n,l.n,l.a])).b,c=new zd(l.g);c.a<c.c.c.length;)h5(s=QH(J1(c),17))||(p=s.d,g=Lct(xst(jw(EEe,1),cVt,8,0,[p.i.n,p.n,p.a])).b,e.Math.abs(f-g)>hZt&&(a=t,i=new OB(o=h,f),Nj(s.a,i),QQt(this,s,a,i,!0),(d=t.r)&&(i=new OB(o,A=jy(kF(Dmt(d.e,0)))),Nj(s.a,i),QQt(this,s,a,i,!0),a=d,i=new OB(o=n+d.o*r,A),Nj(s.a,i),QQt(this,s,a,i,!0)),i=new OB(o,g),Nj(s.a,i),QQt(this,s,a,i,!0)))},Cqt.eg=function(t){return t.i.n.b+t.n.b+t.a.b},Cqt.fg=function(){return yzt(),oSe},Cqt.gg=function(){return yzt(),xSe},gX(N4t,"WestToEastRoutingStrategy",1806),dIt(813,1,{},sHt),Cqt.Ib=function(){return MEt(this.a)},Cqt.b=0,Cqt.c=!1,Cqt.d=!1,Cqt.f=0,gX(F4t,"NubSpline",813),dIt(407,1,{407:1},TDt,fJ),gX(F4t,"NubSpline/PolarCP",407),dIt(1453,1,T4t,lyt),Cqt.Yf=function(t){return rCt(QH(t,37))},Cqt.pf=function(t,e){iXt(this,QH(t,37),e)},gX(F4t,"SplineEdgeRouter",1453),dIt(268,1,{268:1},C6),Cqt.Ib=function(){return this.a+" ->("+this.c+") "+this.b},Cqt.c=0,gX(F4t,"SplineEdgeRouter/Dependency",268),dIt(455,22,{3:1,35:1,22:1,455:1},oB);var Nye,Dye,Fye,Pye,Rye,Qye=Unt(F4t,"SplineEdgeRouter/SideToProcess",455,Gte,VY,BU);dIt(1454,1,DVt,wo),Cqt.Mb=function(t){return pDt(),!QH(t,128).o},gX(F4t,"SplineEdgeRouter/lambda$0$Type",1454),dIt(1455,1,{},yo),Cqt.Ge=function(t){return pDt(),QH(t,128).v+1},gX(F4t,"SplineEdgeRouter/lambda$1$Type",1455),dIt(1456,1,hVt,sB),Cqt.td=function(t){e$(this.a,this.b,QH(t,46))},gX(F4t,"SplineEdgeRouter/lambda$2$Type",1456),dIt(1457,1,hVt,cB),Cqt.td=function(t){n$(this.a,this.b,QH(t,46))},gX(F4t,"SplineEdgeRouter/lambda$3$Type",1457),dIt(128,1,{35:1,128:1},tBt,l$t),Cqt.wd=function(t){return sT(this,QH(t,128))},Cqt.b=0,Cqt.e=!1,Cqt.f=0,Cqt.g=0,Cqt.j=!1,Cqt.k=!1,Cqt.n=0,Cqt.o=!1,Cqt.p=!1,Cqt.q=!1,Cqt.s=0,Cqt.u=0,Cqt.v=0,Cqt.F=0,gX(F4t,"SplineSegment",128),dIt(459,1,{459:1},To),Cqt.a=0,Cqt.b=!1,Cqt.c=!1,Cqt.d=!1,Cqt.e=!1,Cqt.f=0,gX(F4t,"SplineSegment/EdgeInformation",459),dIt(1234,1,{},go),gX(H4t,nZt,1234),dIt(1235,1,CYt,mo),Cqt.ue=function(t,e){return BSt(QH(t,135),QH(e,135))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(H4t,rZt,1235),dIt(1233,1,{},Sk),gX(H4t,"MrTree",1233),dIt(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},lB),Cqt.Kf=function(){return LSt(this)},Cqt.Xf=function(){return LSt(this)};var Uye,Hye=Unt(H4t,"TreeLayoutPhases",393,Gte,y4,SU);dIt(1130,209,OJt,PP),Cqt.Ze=function(t,e){var n,r,i,a,o,s;for(Hy(TF(JIt(t,(_It(),xwe))))||yJ(new TA((jE(),new Ny(t)))),jot(o=new E6,t),lct(o,(j$t(),swe),t),mQt(t,o,s=new Om),XQt(t,o,s),a=o,r=new zd(i=NQt(this.a,a));r.a<r.c.c.length;)n=QH(J1(r),135),Xkt(this.b,n,bat(e,1/i.c.length));BGt(a=tqt(i))},gX(H4t,"TreeLayoutProvider",1130),dIt(1847,1,gVt,bo),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return CW(),IC(),hne},gX(H4t,"TreeUtil/1",1847),dIt(1848,1,gVt,vo),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return CW(),IC(),hne},gX(H4t,"TreeUtil/2",1848),dIt(502,134,{3:1,502:1,94:1,134:1}),Cqt.g=0,gX(j4t,"TGraphElement",502),dIt(188,502,{3:1,188:1,502:1,94:1,134:1},KW),Cqt.Ib=function(){return this.b&&this.c?A0(this.b)+"->"+A0(this.c):"e_"+Zct(this)},gX(j4t,"TEdge",188),dIt(135,134,{3:1,135:1,94:1,134:1},E6),Cqt.Ib=function(){var t,e,n,r,i;for(i=null,r=cmt(this.b,0);r.b!=r.d.c;)i+=(null==(n=QH(h4(r),86)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(e=cmt(this.a,0);e.b!=e.d.c;)i+=((t=QH(h4(e),188)).b&&t.c?A0(t.b)+"->"+A0(t.c):"e_"+Zct(t))+"\n";return i};var jye=gX(j4t,"TGraph",135);dIt(633,502,{3:1,502:1,633:1,94:1,134:1}),gX(j4t,"TShape",633),dIt(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},ilt),Cqt.Ib=function(){return A0(this)};var $ye,Kye,Gye,zye,Xye,qye,Vye=gX(j4t,"TNode",86);dIt(255,1,gVt,hg),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return new fg(cmt(this.a.d,0))},gX(j4t,"TNode/2",255),dIt(358,1,Vqt,fg),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return QH(h4(this.a),188).c},Cqt.Ob=function(){return wk(this.a)},Cqt.Qb=function(){bet(this.a)},gX(j4t,"TNode/2/1",358),dIt(1840,1,ZZt,FP),Cqt.pf=function(t,e){NUt(this,QH(t,135),e)},gX($4t,"FanProcessor",1840),dIt(327,22,{3:1,35:1,22:1,327:1,234:1},uB),Cqt.Kf=function(){switch(this.g){case 0:return new qv;case 1:return new FP;case 2:return new Io;case 3:return new So;case 4:return new Oo;case 5:return new No;default:throw Um(new Py(C1t+(null!=this.f?this.f:""+this.g)))}};var Wye,Yye,Jye,Zye,twe,ewe,nwe,rwe,iwe,awe,owe,swe,cwe,lwe,uwe,hwe,fwe,dwe,Awe,pwe,gwe,mwe,bwe,vwe,ywe,wwe,Twe,kwe,Cwe,Ewe,xwe,_we,Bwe,Swe,Lwe,Iwe,Mwe,Owe,Nwe,Dwe,Fwe,Pwe=Unt($4t,E1t,327,Gte,n8,LU);dIt(1843,1,ZZt,So),Cqt.pf=function(t,e){oMt(this,QH(t,135),e)},Cqt.a=0,gX($4t,"LevelHeightProcessor",1843),dIt(1844,1,gVt,Lo),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return CW(),IC(),hne},gX($4t,"LevelHeightProcessor/1",1844),dIt(1841,1,ZZt,Io),Cqt.pf=function(t,e){V_t(this,QH(t,135),e)},Cqt.a=0,gX($4t,"NeighborsProcessor",1841),dIt(1842,1,gVt,Mo),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return CW(),IC(),hne},gX($4t,"NeighborsProcessor/1",1842),dIt(1845,1,ZZt,Oo),Cqt.pf=function(t,e){aMt(this,QH(t,135),e)},Cqt.a=0,gX($4t,"NodePositionProcessor",1845),dIt(1839,1,ZZt,qv),Cqt.pf=function(t,e){Jjt(this,QH(t,135))},gX($4t,"RootProcessor",1839),dIt(1846,1,ZZt,No),Cqt.pf=function(t,e){Aft(QH(t,135))},gX($4t,"Untreeifyer",1846),dIt(851,1,VYt,Ch),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,z4t),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),vwe),(x_t(),AEe)),Hwe),Zft((rmt(),cEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,X4t),""),"Search Order"),"Which search order to use when computing a spanning tree."),mwe),AEe),Wwe),Zft(cEe)))),PKt((new kh,t))},gX(q4t,"MrTreeMetaDataProvider",851),dIt(994,1,VYt,kh),Cqt.Qe=function(t){PKt(t)},gX(q4t,"MrTreeOptions",994),dIt(995,1,{},Do),Cqt.$e=function(){return new PP},Cqt._e=function(t){},gX(q4t,"MrTreeOptions/MrtreeFactory",995),dIt(480,22,{3:1,35:1,22:1,480:1},hB);var Rwe,Qwe,Uwe,Hwe=Unt(q4t,"OrderWeighting",480,Gte,YY,IU);dIt(425,22,{3:1,35:1,22:1,425:1},fB);var jwe,$we,Kwe,Gwe,zwe,Xwe,qwe,Vwe,Wwe=Unt(q4t,"TreeifyingOrder",425,Gte,WY,OU);dIt(1459,1,T4t,Ah),Cqt.Yf=function(t){return QH(t,135),$we},Cqt.pf=function(t,e){vat(this,QH(t,135),e)},gX("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),dIt(1460,1,T4t,ph),Cqt.Yf=function(t){return QH(t,135),Kwe},Cqt.pf=function(t,e){uBt(this,QH(t,135),e)},gX("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),dIt(1461,1,T4t,dh),Cqt.Yf=function(t){return QH(t,135),Gwe},Cqt.pf=function(t,e){ZFt(this,QH(t,135),e)},Cqt.a=0,gX("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),dIt(1462,1,T4t,gh),Cqt.Yf=function(t){return QH(t,135),zwe},Cqt.pf=function(t,e){Nwt(QH(t,135),e)},gX("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462),dIt(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},dB),Cqt.Kf=function(){return fAt(this)},Cqt.Xf=function(){return fAt(this)};var Ywe,Jwe,Zwe,tTe,eTe=Unt(Y4t,"RadialLayoutPhases",495,Gte,JY,MU);dIt(1131,209,OJt,Bk),Cqt.Ze=function(t,e){var n,r,i;if(SCt(e,"Radial layout",TBt(this,t).c.length),Hy(TF(JIt(t,(Gyt(),STe))))||yJ(new TA((jE(),new Ny(t)))),i=oCt(t),Wmt(t,(fF(),Xwe),i),!i)throw Um(new Py("The given graph is not a tree!"));for(0==(n=jy(kF(JIt(t,NTe))))&&(n=uSt(t)),Wmt(t,NTe,n),r=new zd(TBt(this,t));r.a<r.c.c.length;)QH(J1(r),51).pf(t,bat(e,1));Hxt(e)},gX(Y4t,"RadialLayoutProvider",1131),dIt(549,1,CYt,_k),Cqt.ue=function(t,e){return DPt(this.a,this.b,QH(t,33),QH(e,33))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},Cqt.a=0,Cqt.b=0,gX(Y4t,"RadialUtil/lambda$0$Type",549),dIt(1375,1,ZZt,Po),Cqt.pf=function(t,e){AKt(QH(t,33),e)},gX(t3t,"CalculateGraphSize",1375),dIt(442,22,{3:1,35:1,22:1,442:1,234:1},AB),Cqt.Kf=function(){switch(this.g){case 0:return new jo;case 1:return new Fo;case 2:return new Po;default:throw Um(new Py(C1t+(null!=this.f?this.f:""+this.g)))}};var nTe,rTe,iTe,aTe=Unt(t3t,E1t,442,Gte,D1,NU);dIt(645,1,{}),Cqt.e=1,Cqt.g=0,gX(e3t,"AbstractRadiusExtensionCompaction",645),dIt(1772,645,{},AF),Cqt.hg=function(t){var e,n,r,i,a,o,s,c,l;for(this.c=QH(JIt(t,(fF(),Xwe)),33),td(this,this.c),this.d=Tbt(QH(JIt(t,(Gyt(),DTe)),293)),(c=QH(JIt(t,kTe),19))&&Zf(this,c.a),ed(this,(vq(s=kF(JIt(t,(cqt(),I_e)))),s)),l=dFt(this.c),this.d&&this.d.lg(l),mRt(this,l),o=new Wy(xst(jw($Le,1),n3t,33,0,[this.c])),n=0;n<2;n++)for(e=0;e<l.c.length;e++)i=new Wy(xst(jw($Le,1),n3t,33,0,[(u1(e,l.c.length),QH(l.c[e],33))])),a=e<l.c.length-1?(u1(e+1,l.c.length),QH(l.c[e+1],33)):(u1(0,l.c.length),QH(l.c[0],33)),r=0==e?QH(O$(l,l.c.length-1),33):(u1(e-1,l.c.length),QH(l.c[e-1],33)),JCt(this,(u1(e,l.c.length),QH(l.c[e],33),o),r,a,i)},gX(e3t,"AnnulusWedgeCompaction",1772),dIt(1374,1,ZZt,Fo),Cqt.pf=function(t,e){fTt(QH(t,33),e)},gX(e3t,"GeneralCompactor",1374),dIt(1771,645,{},Ro),Cqt.hg=function(t){var e,n,r,i;n=QH(JIt(t,(fF(),Xwe)),33),this.f=n,this.b=Tbt(QH(JIt(t,(Gyt(),DTe)),293)),(i=QH(JIt(t,kTe),19))&&Zf(this,i.a),ed(this,(vq(r=kF(JIt(t,(cqt(),I_e)))),r)),e=dFt(n),this.b&&this.b.lg(e),m_t(this,e)},Cqt.a=0,gX(e3t,"RadialCompaction",1771),dIt(1779,1,{},Qo),Cqt.ig=function(t){var e,n,r,i,a,o;for(this.a=t,e=0,r=0,a=new zd(o=dFt(t));a.a<a.c.c.length;)for(i=QH(J1(a),33),n=++r;n<o.c.length;n++)WUt(this,i,(u1(n,o.c.length),QH(o.c[n],33)))&&(e+=1);return e},gX(r3t,"CrossingMinimizationPosition",1779),dIt(1777,1,{},Uo),Cqt.ig=function(t){var n,r,i,a,o,s,c,l,h,f,d,A,p;for(i=0,r=new oG(YO(AOt(t).a.Kc(),new u));AIt(r);)n=QH(K5(r),79),h=(c=xCt(QH(Xet((!n.c&&(n.c=new cR(DLe,n,5,8)),n.c),0),82))).i+c.g/2,f=c.j+c.f/2,a=t.i+t.g/2,o=t.j+t.f/2,(d=new jT).a=h-a,d.b=f-o,Gwt(s=new OB(d.a,d.b),t.g,t.f),d.a-=s.a,d.b-=s.b,a=h-d.a,o=f-d.b,Gwt(l=new OB(d.a,d.b),c.g,c.f),d.a-=l.a,d.b-=l.b,A=(h=a+d.a)-a,p=(f=o+d.b)-o,i+=e.Math.sqrt(A*A+p*p);return i},gX(r3t,"EdgeLengthOptimization",1777),dIt(1778,1,{},Ho),Cqt.ig=function(t){var n,r,i,a,o,s,c,l,h;for(i=0,r=new oG(YO(AOt(t).a.Kc(),new u));AIt(r);)n=QH(K5(r),79),s=(o=xCt(QH(Xet((!n.c&&(n.c=new cR(DLe,n,5,8)),n.c),0),82))).i+o.g/2,c=o.j+o.f/2,a=QH(JIt(o,(cqt(),A_e)),8),l=s-(t.i+a.a+t.g/2),h=c-(t.j+a.b+t.f),i+=e.Math.sqrt(l*l+h*h);return i},gX(r3t,"EdgeLengthPositionOptimization",1778),dIt(1373,645,ZZt,jo),Cqt.pf=function(t,e){uOt(this,QH(t,33),e)},gX("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),dIt(426,22,{3:1,35:1,22:1,426:1},pB);var oTe,sTe,cTe,lTe,uTe=Unt(a3t,"AnnulusWedgeCriteria",426,Gte,ZY,DU);dIt(380,22,{3:1,35:1,22:1,380:1},gB);var hTe,fTe,dTe,ATe,pTe,gTe,mTe,bTe,vTe,yTe,wTe,TTe,kTe,CTe,ETe,xTe,_Te,BTe,STe,LTe,ITe,MTe,OTe,NTe,DTe,FTe,PTe,RTe,QTe,UTe,HTe,jTe=Unt(a3t,QJt,380,Gte,F1,FU);dIt(852,1,VYt,mh),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,o3t),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),nft(0)),(x_t(),gEe)),Lee),Zft((rmt(),sEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,s3t),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,c3t),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),ATe),AEe),jTe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,l3t),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),nft(1)),gEe),Lee),Zft(cEe)))),i2(t,l3t,c3t,null),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,u3t),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),yTe),AEe),VTe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,h3t),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),TTe),AEe),uTe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,f3t),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),gTe),AEe),XTe),Zft(cEe)))),tzt((new bh,t))},gX(a3t,"RadialMetaDataProvider",852),dIt(996,1,VYt,bh),Cqt.Qe=function(t){tzt(t)},gX(a3t,"RadialOptions",996),dIt(997,1,{},$o),Cqt.$e=function(){return new Bk},Cqt._e=function(t){},gX(a3t,"RadialOptions/RadialFactory",997),dIt(340,22,{3:1,35:1,22:1,340:1},mB);var $Te,KTe,GTe,zTe,XTe=Unt(a3t,"RadialTranslationStrategy",340,Gte,w4,PU);dIt(293,22,{3:1,35:1,22:1,293:1},bB);var qTe,VTe=Unt(a3t,"SortingStrategy",293,Gte,R1,RU);dIt(1449,1,T4t,Ko),Cqt.Yf=function(t){return QH(t,33),null},Cqt.pf=function(t,e){EOt(this,QH(t,33),e)},Cqt.c=0,gX("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),dIt(1775,1,{},Go),Cqt.jg=function(t){return Gmt(t)},gX(A3t,"AnnulusWedgeByLeafs",1775),dIt(1776,1,{},zo),Cqt.jg=function(t){return qkt(this,t)},gX(A3t,"AnnulusWedgeByNodeSpace",1776),dIt(1450,1,T4t,Xo),Cqt.Yf=function(t){return QH(t,33),null},Cqt.pf=function(t,e){fkt(this,QH(t,33),e)},gX("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),dIt(811,1,{},Wv),Cqt.kg=function(t){},Cqt.lg=function(t){Jm(this,t)},gX(p3t,"IDSorter",811),dIt(1774,1,CYt,qo),Cqt.ue=function(t,e){return Vit(QH(t,33),QH(e,33))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(p3t,"IDSorter/lambda$0$Type",1774),dIt(1773,1,{},Lit),Cqt.kg=function(t){r2(this,t)},Cqt.lg=function(t){t.dc()||(this.e||r2(this,J$(QH(t.Xb(0),33))),Jm(this.e,t))},gX(p3t,"PolarCoordinateSorter",1773),dIt(1136,209,OJt,Vo),Cqt.Ze=function(t,n){var r,i,a,o,s,c,l,u,h,f,d,A,p,g,m,b,v,y,w,T,k,C;if(SCt(n,"Rectangle Packing",1),n.n&&n.n&&t&&b0(n,o2(t),(Ult(),aLe)),r=jy(kF(JIt(t,(XMt(),uke)))),A=QH(JIt(t,Eke),381),m=Hy(TF(JIt(t,bke))),y=Hy(TF(JIt(t,Cke))),h=Hy(TF(JIt(t,Ake))),w=QH(JIt(t,xke),116),v=jy(kF(JIt(t,Lke))),i=Hy(TF(JIt(t,Ske))),f=Hy(TF(JIt(t,pke))),g=Hy(TF(JIt(t,gke))),C=jy(kF(JIt(t,Ike))),!t.a&&(t.a=new tz($Le,t,10,11)),kit(k=t.a),g){for(d=new Mm,c=new SO(k);c.e!=c.i.gc();)E9(o=QH(ymt(c),33),dke)&&(d.c[d.c.length]=o);for(l=new zd(d);l.a<l.c.c.length;)stt(k,o=QH(J1(l),33));for(CW(),mM(d,new Wo),u=new zd(d);u.a<u.c.c.length;)o=QH(J1(u),33),T=QH(JIt(o,dke),19).a,cft(k,T=e.Math.min(T,k.i),o);for(p=0,s=new SO(k);s.e!=s.i.gc();)Wmt(o=QH(ymt(s),33),fke,nft(p)),++p}(b=z_t(t)).a-=w.b+w.c,b.b-=w.d+w.a,b.a,C<0||C<b.a?(a=SRt(new yH(r,A,m),k,v,w),n.n&&n.n&&t&&b0(n,o2(t),(Ult(),aLe))):a=new t$(r,C,0,(WOt(),Pke)),b.a+=w.b+w.c,b.b+=w.d+w.a,y||(kit(k),a=yGt(new m4(r,h,f,i,v),k,e.Math.max(b.a,a.c),b,n,t,w)),got(k,w),Pzt(t,a.c+(w.b+w.c),a.b+(w.d+w.a),!1,!0),Hy(TF(JIt(t,kke)))||yJ(new TA((jE(),new Ny(t)))),n.n&&n.n&&t&&b0(n,o2(t),(Ult(),aLe)),Hxt(n)},gX(v3t,"RectPackingLayoutProvider",1136),dIt(1137,1,CYt,Wo),Cqt.ue=function(t,e){return dlt(QH(t,33),QH(e,33))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(v3t,"RectPackingLayoutProvider/lambda$0$Type",1137),dIt(1256,1,{},yH),Cqt.a=0,Cqt.c=!1,gX(y3t,"AreaApproximation",1256);var WTe,YTe,JTe,ZTe=h$(y3t,"BestCandidateFilter");dIt(638,1,{526:1},Yo),Cqt.mg=function(t,n,r){var i,a,o,s,c,l;for(l=new Mm,o=FWt,c=new zd(t);c.a<c.c.c.length;)s=QH(J1(c),220),o=e.Math.min(o,(s.c+(r.b+r.c))*(s.b+(r.d+r.a)));for(a=new zd(t);a.a<a.c.c.length;)((i=QH(J1(a),220)).c+(r.b+r.c))*(i.b+(r.d+r.a))==o&&(l.c[l.c.length]=i);return l},gX(y3t,"AreaFilter",638),dIt(639,1,{526:1},Jo),Cqt.mg=function(t,n,r){var i,a,o,s,c,l;for(c=new Mm,l=FWt,s=new zd(t);s.a<s.c.c.length;)o=QH(J1(s),220),l=e.Math.min(l,e.Math.abs((o.c+(r.b+r.c))/(o.b+(r.d+r.a))-n));for(a=new zd(t);a.a<a.c.c.length;)i=QH(J1(a),220),e.Math.abs((i.c+(r.b+r.c))/(i.b+(r.d+r.a))-n)==l&&(c.c[c.c.length]=i);return c},gX(y3t,"AspectRatioFilter",639),dIt(637,1,{526:1},Zo),Cqt.mg=function(t,n,r){var i,a,o,s,c,l;for(l=new Mm,o=PWt,c=new zd(t);c.a<c.c.c.length;)s=QH(J1(c),220),o=e.Math.max(o,V$(s.c+(r.b+r.c),s.b+(r.d+r.a),s.a));for(a=new zd(t);a.a<a.c.c.length;)V$((i=QH(J1(a),220)).c+(r.b+r.c),i.b+(r.d+r.a),i.a)==o&&(l.c[l.c.length]=i);return l},gX(y3t,"ScaleMeasureFilter",637),dIt(381,22,{3:1,35:1,22:1,381:1},vB);var tke,eke,nke,rke,ike,ake,oke,ske,cke,lke,uke,hke,fke,dke,Ake,pke,gke,mke,bke,vke,yke,wke,Tke,kke,Cke,Eke,xke,_ke,Bke,Ske,Lke,Ike,Mke=Unt(w3t,"OptimizationGoal",381,Gte,P1,QU);dIt(856,1,VYt,_h),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,T3t),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),ske),(x_t(),AEe)),Mke),Zft((rmt(),sEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,k3t),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(cN(),!0)),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,C3t),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),nft(-1)),gEe),Lee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,E3t),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),nft(-1)),gEe),Lee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,x3t),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,_3t),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,B3t),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),fEe),yee),Zft(sEe)))),i2(t,B3t,L3t,null),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,S3t),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),dEe),xee),Zft(sEe)))),OXt((new Bh,t))},gX(w3t,"RectPackingMetaDataProvider",856),dIt(1004,1,VYt,Bh),Cqt.Qe=function(t){OXt(t)},gX(w3t,"RectPackingOptions",1004),dIt(1005,1,{},ts),Cqt.$e=function(){return new Vo},Cqt._e=function(t){},gX(w3t,"RectPackingOptions/RectpackingFactory",1005),dIt(1257,1,{},m4),Cqt.a=0,Cqt.b=!1,Cqt.c=0,Cqt.d=0,Cqt.e=!1,Cqt.f=!1,Cqt.g=0,gX("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),dIt(187,1,{187:1},alt),Cqt.a=0,Cqt.c=!1,Cqt.d=0,Cqt.e=0,Cqt.f=0,Cqt.g=0,Cqt.i=0,Cqt.k=!1,Cqt.o=FWt,Cqt.p=FWt,Cqt.r=0,Cqt.s=0,Cqt.t=0,gX(M3t,"Block",187),dIt(211,1,{211:1},DJ),Cqt.a=0,Cqt.b=0,Cqt.d=0,Cqt.e=0,Cqt.f=0,gX(M3t,"BlockRow",211),dIt(443,1,{443:1},FJ),Cqt.b=0,Cqt.c=0,Cqt.d=0,Cqt.e=0,Cqt.f=0,gX(M3t,"BlockStack",443),dIt(220,1,{220:1},t$,aAt),Cqt.a=0,Cqt.b=0,Cqt.c=0,Cqt.d=0,Cqt.e=0;var Oke,Nke,Dke,Fke,Pke,Rke=gX(M3t,"DrawingData",220);dIt(355,22,{3:1,35:1,22:1,355:1},yB);var Qke,Uke,Hke,jke,$ke=Unt(M3t,"DrawingDataDescriptor",355,Gte,M5,UU);dIt(200,1,{200:1},O0),Cqt.b=0,Cqt.c=0,Cqt.e=0,Cqt.f=0,gX(M3t,"RectRow",200),dIt(756,1,{},Tut),Cqt.j=0,gX(N3t,p1t,756),dIt(1245,1,{},es),Cqt.Je=function(t){return z9(t.a,t.b)},gX(N3t,g1t,1245),dIt(1246,1,{},dg),Cqt.Je=function(t){return p6(this.a,t)},gX(N3t,m1t,1246),dIt(1247,1,{},Ag),Cqt.Je=function(t){return Smt(this.a,t)},gX(N3t,b1t,1247),dIt(1248,1,{},pg),Cqt.Je=function(t){return oct(this.a,t)},gX(N3t,"ElkGraphImporter/lambda$3$Type",1248),dIt(1249,1,{},gg),Cqt.Je=function(t){return nLt(this.a,t)},gX(N3t,v1t,1249),dIt(1133,209,OJt,Lk),Cqt.Ze=function(t,e){var n,r,i,a,o,s,c,l,u,h;for(E9(t,(CEt(),vCe))&&(h=CF(JIt(t,(Ubt(),HCe))),(a=zPt(irt(),h))&&QH(sJ(a.f),209).Ze(t,bat(e,1))),Wmt(t,ACe,(L6(),Yke)),Wmt(t,pCe,(Ixt(),rCe)),Wmt(t,gCe,(Mst(),zCe)),o=QH(JIt(t,(Ubt(),PCe)),19).a,SCt(e,"Overlap removal",1),Hy(TF(JIt(t,FCe))),c=new mg(s=new Db),n=$Xt(r=new Tut,t),l=!0,i=0;i<o&&l;){if(Hy(TF(JIt(t,RCe)))){if(s.a.$b(),H_t(new _M(c),n.i),0==s.a.gc())break;n.e=s}for(c2(this.b),xz(this.b,(xdt(),Uke),(BE(),jCe)),xz(this.b,Hke,n.g),xz(this.b,jke,(_E(),qke)),this.a=I$t(this.b,n),u=new zd(this.a);u.a<u.c.c.length;)QH(J1(u),51).pf(n,bat(e,1));iTt(r,n),l=Hy(TF(bEt(n,(zat(),Vie)))),++i}DKt(r,n),Hxt(e)},gX(N3t,"OverlapRemovalLayoutProvider",1133),dIt(1134,1,{},mg),gX(N3t,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),dIt(437,22,{3:1,35:1,22:1,437:1},wB);var Kke,Gke,zke=Unt(N3t,"SPOrEPhases",437,Gte,Q1,HU);dIt(1255,1,{},Ik),gX(N3t,"ShrinkTree",1255),dIt(1135,209,OJt,Yv),Cqt.Ze=function(t,e){var n,r,i,a;E9(t,(CEt(),vCe))&&(a=CF(JIt(t,vCe)),(i=zPt(irt(),a))&&QH(sJ(i.f),209).Ze(t,bat(e,1))),n=$Xt(r=new Tut,t),IOt(this.a,n,bat(e,1)),DKt(r,n)},gX(N3t,"ShrinkTreeLayoutProvider",1135),dIt(300,134,{3:1,300:1,94:1,134:1},NJ),Cqt.c=!1,gX("org.eclipse.elk.alg.spore.graph","Graph",300),dIt(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},IE),Cqt.Kf=function(){return elt(this)},Cqt.Xf=function(){return elt(this)};var Xke,qke,Vke=Unt(D3t,QJt,482,Gte,FV,jU);dIt(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},gF),Cqt.Kf=function(){return new as},Cqt.Xf=function(){return new as};var Wke,Yke,Jke,Zke=Unt(D3t,"OverlapRemovalStrategy",551,Gte,PV,$U);dIt(430,22,{3:1,35:1,22:1,430:1},TB);var tCe,eCe,nCe,rCe,iCe,aCe,oCe=Unt(D3t,"RootSelection",430,Gte,eJ,KU);dIt(316,22,{3:1,35:1,22:1,316:1},kB);var sCe,cCe,lCe,uCe,hCe,fCe,dCe,ACe,pCe,gCe,mCe,bCe,vCe,yCe,wCe,TCe,kCe,CCe,ECe,xCe,_Ce,BCe,SCe,LCe,ICe,MCe,OCe,NCe,DCe,FCe,PCe,RCe,QCe,UCe,HCe,jCe,$Ce=Unt(D3t,"SpanningTreeCostFunction",316,Gte,S5,GU);dIt(1002,1,VYt,yh),Cqt.Qe=function(t){vjt(t)},gX(D3t,"SporeCompactionOptions",1002),dIt(1003,1,{},ns),Cqt.$e=function(){return new Yv},Cqt._e=function(t){},gX(D3t,"SporeCompactionOptions/SporeCompactionFactory",1003),dIt(855,1,VYt,wh),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,P3t),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(x_t(),bEe)),Vee),Zft((rmt(),cEe))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,j3t),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),NCe),AEe),XCe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,R3t),X3t),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),MCe),AEe),VCe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Q3t),X3t),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),LCe),AEe),$Ce),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,U3t),X3t),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),bEe),Vee),Zft(cEe)))),i2(t,U3t,H3t,xCe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,H3t),X3t),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),BCe),AEe),oCe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,$3t),T2t),"Compaction Strategy"),"This option defines how the compaction is applied."),wCe),AEe),Vke),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,K3t),T2t),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(cN(),!1)),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,G3t),q3t),"Upper limit for iterations of overlap removal"),null),nft(64)),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,z3t),q3t),"Whether to run a supplementary scanline overlap check."),null),!0),fEe),yee),Zft(cEe)))),LRt((new Th,t)),vjt((new yh,t))},gX(D3t,"SporeMetaDataProvider",855),dIt(qVt,1,VYt,Th),Cqt.Qe=function(t){LRt(t)},gX(D3t,"SporeOverlapRemovalOptions",qVt),dIt(1001,1,{},rs),Cqt.$e=function(){return new Lk},Cqt._e=function(t){},gX(D3t,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),dIt(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},Gq),Cqt.Kf=function(){return nlt(this)},Cqt.Xf=function(){return nlt(this)};var KCe,GCe,zCe,XCe=Unt(D3t,"StructureExtractionStrategy",530,Gte,RV,zU);dIt(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},CB),Cqt.Kf=function(){return dAt(this)},Cqt.Xf=function(){return dAt(this)};var qCe,VCe=Unt(D3t,"TreeConstructionStrategy",429,Gte,tJ,XU);dIt(1443,1,T4t,is),Cqt.Yf=function(t){return QH(t,300),new Q2},Cqt.pf=function(t,e){kTt(QH(t,300),e)},gX(W3t,"DelaunayTriangulationPhase",1443),dIt(1444,1,hVt,bg),Cqt.td=function(t){zH(this.a,QH(t,65).a)},gX(W3t,"DelaunayTriangulationPhase/lambda$0$Type",1444),dIt(783,1,T4t,Xv),Cqt.Yf=function(t){return QH(t,300),new Q2},Cqt.pf=function(t,e){this.ng(QH(t,300),e)},Cqt.ng=function(t,e){var n;SCt(e,"Minimum spanning tree construction",1),n=t.d?t.d.a:QH(O$(t.i,0),65).a,Pst(this,(Hy(TF(bEt(t,(zat(),qie)))),Wjt(t.e,n,t.b)),t),Hxt(e)},gX(Y3t,"MinSTPhase",783),dIt(1446,783,T4t,bv),Cqt.ng=function(t,e){var n,r;SCt(e,"Maximum spanning tree construction",1),n=new vg(t),r=t.d?t.d.c:QH(O$(t.i,0),65).c,Pst(this,(Hy(TF(bEt(t,(zat(),qie)))),Wjt(t.e,r,n)),t),Hxt(e)},gX(Y3t,"MaxSTPhase",1446),dIt(1447,1,{},vg),Cqt.Je=function(t){return _B(this.a,t)},gX(Y3t,"MaxSTPhase/lambda$0$Type",1447),dIt(1445,1,hVt,yg),Cqt.td=function(t){DM(this.a,QH(t,65))},gX(Y3t,"MinSTPhase/lambda$0$Type",1445),dIt(785,1,T4t,as),Cqt.Yf=function(t){return QH(t,300),new Q2},Cqt.pf=function(t,e){XCt(this,QH(t,300),e)},Cqt.a=!1,gX(J3t,"GrowTreePhase",785),dIt(786,1,hVt,wH),Cqt.td=function(t){est(this.a,this.b,this.c,QH(t,221))},gX(J3t,"GrowTreePhase/lambda$0$Type",786),dIt(1448,1,T4t,os),Cqt.Yf=function(t){return QH(t,300),new Q2},Cqt.pf=function(t,e){tvt(this,QH(t,300),e)},gX(J3t,"ShrinkTreeCompactionPhase",1448),dIt(784,1,hVt,TH),Cqt.td=function(t){hIt(this.a,this.b,this.c,QH(t,221))},gX(J3t,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var WCe,YCe,JCe=h$(v4t,"IGraphElementVisitor");dIt(860,1,{527:1},D0),Cqt.og=function(t){var e;jot(e=lPt(this,t),QH(DX(this.b,t),94)),vOt(this,t,e)},gX(NJt,"LayoutConfigurator",860);var ZCe,tEe,eEe,nEe=h$(NJt,"LayoutConfigurator/IPropertyHolderOptionFilter");dIt(932,1,{1933:1},ss),Cqt.pg=function(t,e){return Ost(),!t.Xe(e)},gX(NJt,"LayoutConfigurator/lambda$0$Type",932),dIt(933,1,{1933:1},cs),Cqt.pg=function(t,e){return Ck(t,e)},gX(NJt,"LayoutConfigurator/lambda$1$Type",933),dIt(931,1,{831:1},ls),Cqt.qg=function(t,e){return Ost(),!t.Xe(e)},gX(NJt,"LayoutConfigurator/lambda$2$Type",931),dIt(934,1,DVt,IB),Cqt.Mb=function(t){return Vq(this.a,this.b,QH(t,1933))},gX(NJt,"LayoutConfigurator/lambda$3$Type",934),dIt(858,1,{},us),gX(NJt,"RecursiveGraphLayoutEngine",858),dIt(296,60,UVt,vb,nw),gX(NJt,"UnsupportedConfigurationException",296),dIt(453,60,UVt,rw),gX(NJt,"UnsupportedGraphException",453),dIt(754,1,{}),gX(v4t,"AbstractRandomListAccessor",754),dIt(500,754,{},_Nt),Cqt.rg=function(){return null},Cqt.d=!0,Cqt.e=!0,Cqt.f=0,gX(t5t,"AlgorithmAssembler",500),dIt(1236,1,DVt,hs),Cqt.Mb=function(t){return!!QH(t,123)},gX(t5t,"AlgorithmAssembler/lambda$0$Type",1236),dIt(1237,1,{},wg),Cqt.Kb=function(t){return hT(this.a,QH(t,123))},gX(t5t,"AlgorithmAssembler/lambda$1$Type",1237),dIt(1238,1,DVt,fs),Cqt.Mb=function(t){return!!QH(t,80)},gX(t5t,"AlgorithmAssembler/lambda$2$Type",1238),dIt(1239,1,hVt,Tg),Cqt.td=function(t){Yat(this.a,QH(t,80))},gX(t5t,"AlgorithmAssembler/lambda$3$Type",1239),dIt(1240,1,hVt,MB),Cqt.td=function(t){ND(this.a,this.b,QH(t,234))},gX(t5t,"AlgorithmAssembler/lambda$4$Type",1240),dIt(1355,1,CYt,ds),Cqt.ue=function(t,e){return RW(QH(t,234),QH(e,234))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(t5t,"EnumBasedFactoryComparator",1355),dIt(80,754,{80:1},Q2),Cqt.rg=function(){return new Db},Cqt.a=0,gX(t5t,"LayoutProcessorConfiguration",80),dIt(1013,1,{527:1},Sh),Cqt.og=function(t){Zat(tEe,new kg(t))},gX(KYt,"DeprecatedLayoutOptionReplacer",1013),dIt(1014,1,hVt,As),Cqt.td=function(t){M8(QH(t,160))},gX(KYt,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),dIt(1015,1,hVt,ps),Cqt.td=function(t){kAt(QH(t,160))},gX(KYt,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),dIt(1016,1,{},kg),Cqt.Od=function(t,e){DD(this.a,QH(t,146),QH(e,38))},gX(KYt,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),dIt(149,1,{686:1,149:1},CCt),Cqt.Fb=function(t){return y5(this,t)},Cqt.sg=function(){return this.b},Cqt.tg=function(){return this.c},Cqt.ne=function(){return this.e},Cqt.Hb=function(){return mbt(this.c)},Cqt.Ib=function(){return"Layout Algorithm: "+this.c};var rEe,iEe=gX(KYt,"LayoutAlgorithmData",149);dIt(263,1,{},gs),gX(KYt,"LayoutAlgorithmData/Builder",263),dIt(1017,1,{527:1},ms),Cqt.og=function(t){rO(t,239)&&!Hy(TF(t.We((cqt(),$xe))))&&PUt(QH(t,33))},gX(KYt,"LayoutAlgorithmResolver",1017),dIt(229,1,{686:1,229:1},KZ),Cqt.Fb=function(t){return!!rO(t,229)&&mR(this.b,QH(t,229).b)},Cqt.sg=function(){return this.a},Cqt.tg=function(){return this.b},Cqt.ne=function(){return this.d},Cqt.Hb=function(){return mbt(this.b)},Cqt.Ib=function(){return"Layout Type: "+this.b},gX(KYt,"LayoutCategoryData",229),dIt(344,1,{},bs),gX(KYt,"LayoutCategoryData/Builder",344),dIt(867,1,{},SPt),gX(KYt,"LayoutMetaDataService",867),dIt(868,1,{},KX),gX(KYt,"LayoutMetaDataService/Registry",868),dIt(478,1,{478:1},vs),gX(KYt,"LayoutMetaDataService/Registry/Triple",478),dIt(869,1,e5t,ys),Cqt.ug=function(){return new jT},gX(KYt,"LayoutMetaDataService/lambda$0$Type",869),dIt(870,1,n5t,ws),Cqt.vg=function(t){return QM(QH(t,8))},gX(KYt,"LayoutMetaDataService/lambda$1$Type",870),dIt(879,1,e5t,Ts),Cqt.ug=function(){return new Mm},gX(KYt,"LayoutMetaDataService/lambda$10$Type",879),dIt(880,1,n5t,ks),Cqt.vg=function(t){return new ZR(QH(t,12))},gX(KYt,"LayoutMetaDataService/lambda$11$Type",880),dIt(881,1,e5t,Cs),Cqt.ug=function(){return new VC},gX(KYt,"LayoutMetaDataService/lambda$12$Type",881),dIt(882,1,n5t,Es),Cqt.vg=function(t){return $H(QH(t,68))},gX(KYt,"LayoutMetaDataService/lambda$13$Type",882),dIt(883,1,e5t,xs),Cqt.ug=function(){return new Db},gX(KYt,"LayoutMetaDataService/lambda$14$Type",883),dIt(884,1,n5t,_s),Cqt.vg=function(t){return WW(QH(t,53))},gX(KYt,"LayoutMetaDataService/lambda$15$Type",884),dIt(885,1,e5t,Bs),Cqt.ug=function(){return new lI},gX(KYt,"LayoutMetaDataService/lambda$16$Type",885),dIt(886,1,n5t,Ss),Cqt.vg=function(t){return C3(QH(t,53))},gX(KYt,"LayoutMetaDataService/lambda$17$Type",886),dIt(887,1,e5t,Ls),Cqt.ug=function(){return new $b},gX(KYt,"LayoutMetaDataService/lambda$18$Type",887),dIt(888,1,n5t,Is),Cqt.vg=function(t){return jH(QH(t,208))},gX(KYt,"LayoutMetaDataService/lambda$19$Type",888),dIt(871,1,e5t,Ms),Cqt.ug=function(){return new vv},gX(KYt,"LayoutMetaDataService/lambda$2$Type",871),dIt(872,1,n5t,Os),Cqt.vg=function(t){return new FT(QH(t,74))},gX(KYt,"LayoutMetaDataService/lambda$3$Type",872),dIt(873,1,e5t,Ns),Cqt.ug=function(){return new uv},gX(KYt,"LayoutMetaDataService/lambda$4$Type",873),dIt(874,1,n5t,Ds),Cqt.vg=function(t){return new SQ(QH(t,142))},gX(KYt,"LayoutMetaDataService/lambda$5$Type",874),dIt(875,1,e5t,Ps),Cqt.ug=function(){return new hv},gX(KYt,"LayoutMetaDataService/lambda$6$Type",875),dIt(876,1,n5t,Rs),Cqt.vg=function(t){return new BQ(QH(t,116))},gX(KYt,"LayoutMetaDataService/lambda$7$Type",876),dIt(877,1,e5t,Qs),Cqt.ug=function(){return new Js},gX(KYt,"LayoutMetaDataService/lambda$8$Type",877),dIt(878,1,n5t,Us),Cqt.vg=function(t){return new ntt(QH(t,373))},gX(KYt,"LayoutMetaDataService/lambda$9$Type",878);var aEe,oEe,sEe,cEe,lEe,uEe=h$(BJt,"IProperty");dIt(23,1,{35:1,686:1,23:1,146:1},f_t),Cqt.wd=function(t){return AO(this,QH(t,146))},Cqt.Fb=function(t){return rO(t,23)?mR(this.f,QH(t,23).f):rO(t,146)&&mR(this.f,QH(t,146).tg())},Cqt.wg=function(){var t;if(rO(this.b,4)){if(null==(t=Ypt(this.b)))throw Um(new Ry(s5t+this.f+"'. Make sure it's type is registered with the "+(wF(uIe),uIe.k)+i5t));return t}return this.b},Cqt.sg=function(){return this.d},Cqt.tg=function(){return this.f},Cqt.ne=function(){return this.i},Cqt.Hb=function(){return mbt(this.f)},Cqt.Ib=function(){return"Layout Option: "+this.f},gX(KYt,"LayoutOptionData",23),dIt(24,1,{},Hs),gX(KYt,"LayoutOptionData/Builder",24),dIt(175,22,{3:1,35:1,22:1,175:1},SB);var hEe,fEe,dEe,AEe,pEe,gEe,mEe,bEe,vEe,yEe=Unt(KYt,"LayoutOptionData/Target",175,Gte,B5,qU);dIt(277,22,{3:1,35:1,22:1,277:1},LB);var wEe,TEe,kEe,CEe=Unt(KYt,"LayoutOptionData/Type",277,Gte,Ret,VU);dIt(110,1,{110:1},hI,KV,AY),Cqt.Fb=function(t){var e;return!(null==t||!rO(t,110))&&(e=QH(t,110),rV(this.c,e.c)&&rV(this.d,e.d)&&rV(this.b,e.b)&&rV(this.a,e.a))},Cqt.Hb=function(){return uut(xst(jw(Lte,1),Hqt,1,5,[this.c,this.d,this.b,this.a]))},Cqt.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},Cqt.a=0,Cqt.b=0,Cqt.c=0,Cqt.d=0,gX(u1t,"ElkRectangle",110),dIt(8,1,{3:1,4:1,8:1,414:1},jT,GZ,OB,fI),Cqt.Fb=function(t){return Zrt(this,t)},Cqt.Hb=function(){return XL(this.a)+fyt(XL(this.b))},Cqt.Jf=function(t){var e,n,r;for(n=0;n<t.length&&Nut((h1(n,t.length),t.charCodeAt(n)),s1t);)++n;for(e=t.length;e>0&&Nut((h1(e-1,t.length),t.charCodeAt(e-1)),c1t);)--e;if(n>=e)throw Um(new Py("The given string does not contain any numbers."));if(2!=(r=yRt(t.substr(n,e-n),",|;|\r|\n")).length)throw Um(new Py("Exactly two numbers are expected, "+r.length+" were found."));try{this.a=fxt(FEt(r[0])),this.b=fxt(FEt(r[1]))}catch(t){throw rO(t=hst(t),127)?Um(new Py(l1t+t)):Um(t)}},Cqt.Ib=function(){return"("+this.a+","+this.b+")"},Cqt.a=0,Cqt.b=0;var EEe=gX(u1t,"KVector",8);dIt(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},vv,FT,KD),Cqt.Pc=function(){return qlt(this)},Cqt.Jf=function(t){var e,n,r,i,a;n=yRt(t,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),bW(this);try{for(e=0,i=0,r=0,a=0;e<n.length;)null!=n[e]&&FEt(n[e]).length>0&&(i%2==0?r=fxt(n[e]):a=fxt(n[e]),i>0&&i%2!=0&&Nj(this,new OB(r,a)),++i),++e}catch(t){throw rO(t=hst(t),127)?Um(new Py("The given string does not match the expected format for vectors."+t)):Um(t)}},Cqt.Ib=function(){var t,e,n;for(t=new uN("("),e=cmt(this,0);e.b!=e.d.c;)oL(t,(n=QH(h4(e),8)).a+","+n.b),e.b!=e.d.c&&(t.a+="; ");return(t.a+=")",t).a};var xEe,_Ee,BEe,SEe,LEe,IEe,MEe=gX(u1t,"KVectorChain",74);dIt(248,22,{3:1,35:1,22:1,248:1},NB);var OEe,NEe,DEe,FEe,PEe,REe,QEe,UEe,HEe,jEe,$Ee,KEe,GEe,zEe,XEe,qEe,VEe,WEe,YEe,JEe=Unt(l5t,"Alignment",248,Gte,W9,WU);dIt(979,1,VYt,Lh),Cqt.Qe=function(t){$Qt(t)},gX(l5t,"BoxLayouterOptions",979),dIt(980,1,{},Fs),Cqt.$e=function(){return new Gs},Cqt._e=function(t){},gX(l5t,"BoxLayouterOptions/BoxFactory",980),dIt(291,22,{3:1,35:1,22:1,291:1},DB);var ZEe,txe,exe,nxe,rxe,ixe,axe,oxe,sxe,cxe,lxe,uxe,hxe,fxe,dxe,Axe,pxe,gxe,mxe,bxe,vxe,yxe,wxe,Txe,kxe,Cxe,Exe,xxe,_xe,Bxe,Sxe,Lxe,Ixe,Mxe,Oxe,Nxe,Dxe,Fxe,Pxe,Rxe,Qxe,Uxe,Hxe,jxe,$xe,Kxe,Gxe,zxe,Xxe,qxe,Vxe,Wxe,Yxe,Jxe,Zxe,t_e,e_e,n_e,r_e,i_e,a_e,o_e,s_e,c_e,l_e,u_e,h_e,f_e,d_e,A_e,p_e,g_e,m_e,b_e,v_e,y_e,w_e,T_e,k_e,C_e,E_e,x_e,__e,B_e,S_e,L_e,I_e,M_e,O_e,N_e,D_e,F_e,P_e,R_e,Q_e,U_e,H_e=Unt(l5t,"ContentAlignment",291,Gte,V9,YU);dIt(684,1,VYt,Ih),Cqt.Qe=function(t){Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,d5t),""),"Layout Algorithm"),"Select a specific layout algorithm."),(x_t(),bEe)),Vee),Zft((rmt(),cEe))))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,A5t),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),mEe),iEe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,X2t),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),nxe),AEe),JEe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,qJt),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,p5t),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),mEe),MEe),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,o4t),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),lxe),pEe),H_e),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,z2t),""),"Debug Mode"),"Whether additional debug information shall be generated."),(cN(),!1)),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Y2t),""),kJt),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),fxe),AEe),z_e),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,v2t),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),mxe),AEe),oBe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,L3t),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,A2t),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Txe),AEe),CBe),wK(cEe,xst(jw(yEe,1),IVt,175,0,[sEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,VJt),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),zxe),mEe),Pse),wK(cEe,xst(jw(yEe,1),IVt,175,0,[sEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,wZt),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,b4t),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,CZt),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,TZt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),o_e),AEe),iSe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,p4t),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),mEe),EEe),wK(sEe,xst(jw(yEe,1),IVt,175,0,[lEe,oEe]))))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,gZt),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),gEe),Lee),wK(sEe,xst(jw(yEe,1),IVt,175,0,[aEe]))))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,vZt),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,yZt),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,s4t),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Sxe),mEe),MEe),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,u4t),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,h4t),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,g5t),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),mEe),DNe),wK(cEe,xst(jw(yEe,1),IVt,175,0,[oEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,g4t),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Ixe),mEe),wse),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,K2t),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),fEe),yee),wK(sEe,xst(jw(yEe,1),IVt,175,0,[aEe,lEe,oEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,m5t),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),dEe),xee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,b5t),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,v5t),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),nft(100)),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,y5t),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,w5t),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),nft(4e3)),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,T5t),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),nft(400)),gEe),Lee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,k5t),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,C5t),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,E5t),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,x5t),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,f5t),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),oxe),AEe),rLe),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,M2t),y2t),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,O2t),y2t),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,zJt),y2t),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,N2t),y2t),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,bZt),y2t),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,D2t),y2t),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,F2t),y2t),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Q2t),y2t),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,P2t),y2t),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,R2t),y2t),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,mZt),y2t),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,U2t),y2t),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),dEe),xee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,H2t),y2t),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),dEe),xee),wK(cEe,xst(jw(yEe,1),IVt,175,0,[sEe]))))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,j2t),y2t),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),mEe),cLe),wK(sEe,xst(jw(yEe,1),IVt,175,0,[aEe,lEe,oEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,m4t),y2t),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),N_e),mEe),wse),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,A4t),L5t),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),gEe),Lee),wK(cEe,xst(jw(yEe,1),IVt,175,0,[sEe]))))),i2(t,A4t,d4t,Wxe),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,d4t),L5t),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),qxe),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,J2t),I5t),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Oxe),mEe),Pse),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,_Zt),I5t),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Dxe),pEe),jBe),wK(sEe,xst(jw(yEe,1),IVt,175,0,[oEe]))))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,e4t),M5t),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),Jxe),AEe),WBe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,n4t),M5t),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),AEe),WBe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,r4t),M5t),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),AEe),WBe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,i4t),M5t),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),AEe),WBe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,a4t),M5t),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),AEe),WBe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,xZt),O5t),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),Pxe),pEe),VSe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,EZt),O5t),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),jxe),pEe),eLe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,UZt),O5t),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Uxe),mEe),EEe),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,W2t),O5t),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),fEe),yee),Zft(cEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,c4t),L2t),"Edge Label Placement"),"Gives a hint on where to put edge labels."),pxe),AEe),J_e),Zft(oEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,kZt),L2t),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),fEe),yee),Zft(oEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,_5t),"font"),"Font Name"),"Font name used for a label."),bEe),Vee),Zft(oEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,B5t),"font"),"Font Size"),"Font size used for a label."),gEe),Lee),Zft(oEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,f4t),N5t),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),mEe),EEe),Zft(lEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,l4t),N5t),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),gEe),Lee),Zft(lEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,G2t),N5t),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),d_e),AEe),RSe),Zft(lEe)))),Ldt(t,new f_t(BT(_T(ST(wT(xT(kT(CT(new Hs,$2t),N5t),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),dEe),xee),Zft(lEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,BZt),D5t),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),u_e),pEe),_Se),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,Z2t),D5t),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,t4t),D5t),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,q2t),F5t),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),fEe),yee),Zft(sEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,V2t),F5t),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),fEe),yee),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,XJt),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),dEe),xee),Zft(aEe)))),Ldt(t,new f_t(BT(_T(ST(TT(wT(xT(kT(CT(new Hs,S5t),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),vxe),AEe),bBe),Zft(aEe)))),OE(t,new KZ(bT(yT(vT(new bs,d1t),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),OE(t,new KZ(bT(yT(vT(new bs,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),OE(t,new KZ(bT(yT(vT(new bs,pZt),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),OE(t,new KZ(bT(yT(vT(new bs,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),OE(t,new KZ(bT(yT(vT(new bs,W4t),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),OE(t,new KZ(bT(yT(vT(new bs,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),OE(t,new KZ(bT(yT(vT(new bs,d3t),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),fRt((new Mh,t)),$Qt((new Lh,t)),FFt((new Oh,t))},gX(l5t,"CoreOptions",684),dIt(103,22,{3:1,35:1,22:1,103:1},FB);var j_e,$_e,K_e,G_e,z_e=Unt(l5t,kJt,103,Gte,x5,tH);dIt(272,22,{3:1,35:1,22:1,272:1},PB);var X_e,q_e,V_e,W_e,Y_e,J_e=Unt(l5t,"EdgeLabelPlacement",272,Gte,H1,eH);dIt(218,22,{3:1,35:1,22:1,218:1},RB);var Z_e,tBe,eBe,nBe,rBe,iBe,aBe,oBe=Unt(l5t,"EdgeRouting",218,Gte,C4,nH);dIt(312,22,{3:1,35:1,22:1,312:1},QB);var sBe,cBe,lBe,uBe,hBe,fBe,dBe,ABe,pBe,gBe,mBe,bBe=Unt(l5t,"EdgeType",312,Gte,i8,rH);dIt(977,1,VYt,Mh),Cqt.Qe=function(t){fRt(t)},gX(l5t,"FixedLayouterOptions",977),dIt(978,1,{},Ws),Cqt.$e=function(){return new $s},Cqt._e=function(t){},gX(l5t,"FixedLayouterOptions/FixedFactory",978),dIt(334,22,{3:1,35:1,22:1,334:1},UB);var vBe,yBe,wBe,TBe,kBe,CBe=Unt(l5t,"HierarchyHandling",334,Gte,U1,iH);dIt(285,22,{3:1,35:1,22:1,285:1},HB);var EBe,xBe,_Be,BBe,SBe,LBe,IBe,MBe,OBe,NBe,DBe=Unt(l5t,"LabelSide",285,Gte,k4,aH);dIt(93,22,{3:1,35:1,22:1,93:1},jB);var FBe,PBe,RBe,QBe,UBe,HBe,jBe=Unt(l5t,"NodeLabelPlacement",93,Gte,ynt,oH);dIt(249,22,{3:1,35:1,22:1,249:1},$B);var $Be,KBe,GBe,zBe,XBe,qBe,VBe,WBe=Unt(l5t,"PortAlignment",249,Gte,_5,sH);dIt(98,22,{3:1,35:1,22:1,98:1},KB);var YBe,JBe,ZBe,tSe,eSe,nSe,rSe,iSe=Unt(l5t,"PortConstraints",98,Gte,C9,cH);dIt(273,22,{3:1,35:1,22:1,273:1},GB);var aSe,oSe,sSe,cSe,lSe,uSe,hSe,fSe,dSe,ASe,pSe,gSe,mSe,bSe,vSe,ySe,wSe,TSe,kSe,CSe,ESe,xSe,_Se=Unt(l5t,"PortLabelPlacement",273,Gte,r8,lH);dIt(61,22,{3:1,35:1,22:1,61:1},zB);var BSe,SSe,LSe,ISe,MSe,OSe,NSe,DSe,FSe,PSe,RSe=Unt(l5t,"PortSide",61,Gte,c5,fH);dIt(981,1,VYt,Oh),Cqt.Qe=function(t){FFt(t)},gX(l5t,"RandomLayouterOptions",981),dIt(982,1,{},Ys),Cqt.$e=function(){return new ec},Cqt._e=function(t){},gX(l5t,"RandomLayouterOptions/RandomFactory",982),dIt(374,22,{3:1,35:1,22:1,374:1},XB);var QSe,USe,HSe,jSe,$Se,KSe,GSe,zSe,XSe,qSe,VSe=Unt(l5t,"SizeConstraint",374,Gte,T4,uH);dIt(259,22,{3:1,35:1,22:1,259:1},qB);var WSe,YSe,JSe,ZSe,tLe,eLe=Unt(l5t,"SizeOptions",259,Gte,Trt,hH);dIt(370,1,{1949:1},Gv),Cqt.b=!1,Cqt.c=0,Cqt.d=-1,Cqt.e=null,Cqt.f=null,Cqt.g=-1,Cqt.j=!1,Cqt.k=!1,Cqt.n=!1,Cqt.o=0,Cqt.q=0,Cqt.r=0,gX(v4t,"BasicProgressMonitor",370),dIt(972,209,OJt,Gs),Cqt.Ze=function(t,e){var n,r,i,a,o,s,c,l,u;SCt(e,"Box layout",2),i=$y(kF(JIt(t,(EEt(),GEe)))),a=QH(JIt(t,jEe),116),n=Hy(TF(JIt(t,PEe))),r=Hy(TF(JIt(t,REe))),0===QH(JIt(t,DEe),311).g?(s=new ZR((!t.a&&(t.a=new tz($Le,t,10,11)),t.a)),CW(),mM(s,new Cg(r)),o=s,c=z_t(t),(null==(l=kF(JIt(t,NEe)))||(vq(l),l<=0))&&(l=1.3),Pzt(t,(u=Hzt(o,i,a,c.a,c.b,n,(vq(l),l))).a,u.b,!1,!0)):y$t(t,i,a,n),Hxt(e)},gX(v4t,"BoxLayoutProvider",972),dIt(973,1,CYt,Cg),Cqt.ue=function(t,e){return lNt(this,QH(t,33),QH(e,33))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},Cqt.a=!1,gX(v4t,"BoxLayoutProvider/1",973),dIt(157,1,{157:1},$et,$D),Cqt.Ib=function(){return this.c?KPt(this.c):MEt(this.b)},gX(v4t,"BoxLayoutProvider/Group",157),dIt(311,22,{3:1,35:1,22:1,311:1},VB);var nLe,rLe=Unt(v4t,"BoxLayoutProvider/PackingMode",311,Gte,E4,dH);dIt(974,1,CYt,zs),Cqt.ue=function(t,e){return NW(QH(t,157),QH(e,157))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(v4t,"BoxLayoutProvider/lambda$0$Type",974),dIt(975,1,CYt,Xs),Cqt.ue=function(t,e){return rW(QH(t,157),QH(e,157))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(v4t,"BoxLayoutProvider/lambda$1$Type",975),dIt(976,1,CYt,qs),Cqt.ue=function(t,e){return iW(QH(t,157),QH(e,157))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(v4t,"BoxLayoutProvider/lambda$2$Type",976),dIt(1365,1,{831:1},Vs),Cqt.qg=function(t,e){return SE(),!rO(e,160)||Ck((Ost(),QH(t,160)),e)},gX(v4t,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),dIt(1366,1,hVt,Eg),Cqt.td=function(t){Ylt(this.a,QH(t,146))},gX(v4t,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),dIt(1367,1,hVt,Ks),Cqt.td=function(t){QH(t,94),SE()},gX(v4t,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),dIt(1371,1,hVt,xg),Cqt.td=function(t){Sit(this.a,QH(t,94))},gX(v4t,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),dIt(1369,1,DVt,WB),Cqt.Mb=function(t){return qct(this.a,this.b,QH(t,146))},gX(v4t,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),dIt(1368,1,DVt,YB),Cqt.Mb=function(t){return LD(this.a,this.b,QH(t,831))},gX(v4t,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),dIt(1370,1,hVt,JB),Cqt.td=function(t){RG(this.a,this.b,QH(t,146))},gX(v4t,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),dIt(935,1,{},js),Cqt.Kb=function(t){return bI(t)},Cqt.Fb=function(t){return this===t},gX(v4t,"ElkUtil/lambda$0$Type",935),dIt(936,1,hVt,ZB),Cqt.td=function(t){rLt(this.a,this.b,QH(t,79))},Cqt.a=0,Cqt.b=0,gX(v4t,"ElkUtil/lambda$1$Type",936),dIt(937,1,hVt,tS),Cqt.td=function(t){wy(this.a,this.b,QH(t,202))},Cqt.a=0,Cqt.b=0,gX(v4t,"ElkUtil/lambda$2$Type",937),dIt(938,1,hVt,eS),Cqt.td=function(t){ZI(this.a,this.b,QH(t,137))},Cqt.a=0,Cqt.b=0,gX(v4t,"ElkUtil/lambda$3$Type",938),dIt(939,1,hVt,_g),Cqt.td=function(t){r$(this.a,QH(t,469))},gX(v4t,"ElkUtil/lambda$4$Type",939),dIt(342,1,{35:1,342:1},Lm),Cqt.wd=function(t){return gO(this,QH(t,236))},Cqt.Fb=function(t){var e;return!!rO(t,342)&&(e=QH(t,342),this.a==e.a)},Cqt.Hb=function(){return xJ(this.a)},Cqt.Ib=function(){return this.a+" (exclusive)"},Cqt.a=0,gX(v4t,"ExclusiveBounds/ExclusiveLowerBound",342),dIt(1138,209,OJt,$s),Cqt.Ze=function(t,n){var r,i,a,o,s,c,l,h,f,d,A,p,g,m,b,v,y,w,T,k,C;for(SCt(n,"Fixed Layout",1),o=QH(JIt(t,(cqt(),gxe)),218),d=0,A=0,b=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));b.e!=b.i.gc();){for(g=QH(ymt(b),33),(C=QH(JIt(g,(zlt(),ABe)),8))&&(CI(g,C.a,C.b),QH(JIt(g,lBe),174).Hc((bpt(),NSe))&&(p=QH(JIt(g,hBe),8)).a>0&&p.b>0&&Pzt(g,p.a,p.b,!0,!0)),d=e.Math.max(d,g.i+g.g),A=e.Math.max(A,g.j+g.f),h=new SO((!g.n&&(g.n=new tz(jLe,g,1,7)),g.n));h.e!=h.i.gc();)c=QH(ymt(h),137),(C=QH(JIt(c,ABe),8))&&CI(c,C.a,C.b),d=e.Math.max(d,g.i+c.i+c.g),A=e.Math.max(A,g.j+c.j+c.f);for(w=new SO((!g.c&&(g.c=new tz(KLe,g,9,9)),g.c));w.e!=w.i.gc();)for(y=QH(ymt(w),118),(C=QH(JIt(y,ABe),8))&&CI(y,C.a,C.b),T=g.i+y.i,k=g.j+y.j,d=e.Math.max(d,T+y.g),A=e.Math.max(A,k+y.f),l=new SO((!y.n&&(y.n=new tz(jLe,y,1,7)),y.n));l.e!=l.i.gc();)c=QH(ymt(l),137),(C=QH(JIt(c,ABe),8))&&CI(c,C.a,C.b),d=e.Math.max(d,T+c.i+c.g),A=e.Math.max(A,k+c.j+c.f);for(a=new oG(YO(AOt(g).a.Kc(),new u));AIt(a);)f=Rzt(r=QH(K5(a),79)),d=e.Math.max(d,f.a),A=e.Math.max(A,f.b);for(i=new oG(YO(dOt(g).a.Kc(),new u));AIt(i);)WJ(xEt(r=QH(K5(i),79)))!=t&&(f=Rzt(r),d=e.Math.max(d,f.a),A=e.Math.max(A,f.b))}if(o==(Cdt(),q_e))for(m=new SO((!t.a&&(t.a=new tz($Le,t,10,11)),t.a));m.e!=m.i.gc();)for(i=new oG(YO(AOt(g=QH(ymt(m),33)).a.Kc(),new u));AIt(i);)0==(s=rUt(r=QH(K5(i),79))).b?Wmt(r,Bxe,null):Wmt(r,Bxe,s);Hy(TF(JIt(t,(zlt(),uBe))))||Pzt(t,d+(v=QH(JIt(t,fBe),116)).b+v.c,A+v.d+v.a,!0,!0),Hxt(n)},gX(v4t,"FixedLayoutProvider",1138),dIt(373,134,{3:1,414:1,373:1,94:1,134:1},Js,ntt),Cqt.Jf=function(t){var e,n,r,i,a,o,s;if(t)try{for(o=yRt(t,";,;"),i=0,a=(r=o).length;i<a;++i){if(e=yRt(r[i],"\\:"),!(n=gKt(irt(),e[0])))throw Um(new Py("Invalid option id: "+e[0]));if(null==(s=J$t(n,e[1])))throw Um(new Py("Invalid option value: "+e[1]));null==s?(!this.q&&(this.q=new Om),g6(this.q,n)):(!this.q&&(this.q=new Om),Xq(this.q,n,s))}}catch(t){throw rO(t=hst(t),102)?Um(new Qlt(t)):Um(t)}},Cqt.Ib=function(){return CF(E3(LV((this.q?this.q:(CW(),CW(),lne)).vc().Oc(),new Zs),O7(new VH,new Z,new q,new V,xst(jw(Jne,1),IVt,132,0,[]))))};var iLe,aLe,oLe,sLe,cLe=gX(v4t,"IndividualSpacings",373);dIt(971,1,{},Zs),Cqt.Kb=function(t){return DW(QH(t,42))},gX(v4t,"IndividualSpacings/lambda$0$Type",971),dIt(709,1,{},sK),Cqt.c=0,gX(v4t,"InstancePool",709),dIt(1275,1,{},tc),gX(v4t,"LoggedGraph",1275),dIt(396,22,{3:1,35:1,22:1,396:1},rS);var lLe,uLe,hLe,fLe=Unt(v4t,"LoggedGraph/Type",396,Gte,x4,AH);dIt(46,1,{20:1,46:1},nS),Cqt.Jc=function(t){t5(this,t)},Cqt.Fb=function(t){var e,n,r;return!!rO(t,46)&&(n=QH(t,46),e=null==this.a?null==n.a:Oht(this.a,n.a),r=null==this.b?null==n.b:Oht(this.b,n.b),e&&r)},Cqt.Hb=function(){var t,e,n;return t=-65536&(e=null==this.a?0:Zct(this.a)),e&VVt^(-65536&(n=null==this.b?0:Zct(this.b)))>>16&VVt|t^(n&VVt)<<16},Cqt.Kc=function(){return new Bg(this)},Cqt.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+Udt(this.b)+")":null==this.b?"pair("+Udt(this.a)+",null)":"pair("+Udt(this.a)+","+Udt(this.b)+")"},gX(v4t,"Pair",46),dIt(983,1,Vqt,Bg),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},Cqt.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw Um(new bb)},Cqt.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Um(new db)},Cqt.b=!1,Cqt.c=!1,gX(v4t,"Pair/1",983),dIt(448,1,{448:1},XV),Cqt.Fb=function(t){return rV(this.a,QH(t,448).a)&&rV(this.c,QH(t,448).c)&&rV(this.d,QH(t,448).d)&&rV(this.b,QH(t,448).b)},Cqt.Hb=function(){return uut(xst(jw(Lte,1),Hqt,1,5,[this.a,this.c,this.d,this.b]))},Cqt.Ib=function(){return"("+this.a+Qqt+this.c+Qqt+this.d+Qqt+this.b+")"},gX(v4t,"Quadruple",448),dIt(1126,209,OJt,ec),Cqt.Ze=function(t,e){var n;SCt(e,"Random Layout",1),0!=(!t.a&&(t.a=new tz($Le,t,10,11)),t.a).i?(nzt(t,(n=QH(JIt(t,(mpt(),MSe)),19))&&0!=n.a?new x3(n.a):new cdt,$y(kF(JIt(t,SSe))),$y(kF(JIt(t,OSe))),QH(JIt(t,LSe),116)),Hxt(e)):Hxt(e)},gX(v4t,"RandomLayoutProvider",1126),dIt(553,1,{}),Cqt.qf=function(){return new OB(this.f.i,this.f.j)},Cqt.We=function(t){return wY(t,(cqt(),i_e))?JIt(this.f,hLe):JIt(this.f,t)},Cqt.rf=function(){return new OB(this.f.g,this.f.f)},Cqt.sf=function(){return this.g},Cqt.Xe=function(t){return E9(this.f,t)},Cqt.tf=function(t){xnt(this.f,t.a),_nt(this.f,t.b)},Cqt.uf=function(t){Ent(this.f,t.a),Cnt(this.f,t.b)},Cqt.vf=function(t){this.g=t},Cqt.g=0,gX(H5t,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),dIt(554,1,{839:1},Sg),Cqt.wf=function(){var t,e;if(!this.b)for(this.b=x2(mV(this.a).i),e=new SO(mV(this.a));e.e!=e.i.gc();)t=QH(ymt(e),137),zH(this.b,new Dy(t));return this.b},Cqt.b=null,gX(H5t,"ElkGraphAdapters/ElkEdgeAdapter",554),dIt(301,553,{},Ny),Cqt.xf=function(){return eyt(this)},Cqt.a=null,gX(H5t,"ElkGraphAdapters/ElkGraphAdapter",301),dIt(630,553,{181:1},Dy),gX(H5t,"ElkGraphAdapters/ElkLabelAdapter",630),dIt(629,553,{680:1},WN),Cqt.wf=function(){return Zvt(this)},Cqt.Af=function(){var t;return!(t=QH(JIt(this.f,(cqt(),Lxe)),142))&&(t=new uv),t},Cqt.Cf=function(){return tyt(this)},Cqt.Ef=function(t){var e;e=new SQ(t),Wmt(this.f,(cqt(),Lxe),e)},Cqt.Ff=function(t){Wmt(this.f,(cqt(),Gxe),new BQ(t))},Cqt.yf=function(){return this.d},Cqt.zf=function(){var t,e;if(!this.a)for(this.a=new Mm,e=new oG(YO(dOt(QH(this.f,33)).a.Kc(),new u));AIt(e);)t=QH(K5(e),79),zH(this.a,new Sg(t));return this.a},Cqt.Bf=function(){var t,e;if(!this.c)for(this.c=new Mm,e=new oG(YO(AOt(QH(this.f,33)).a.Kc(),new u));AIt(e);)t=QH(K5(e),79),zH(this.c,new Sg(t));return this.c},Cqt.Df=function(){return 0!=VW(QH(this.f,33)).i||Hy(TF(QH(this.f,33).We((cqt(),Cxe))))},Cqt.Gf=function(){P7(this,(jE(),uLe))},Cqt.a=null,Cqt.b=null,Cqt.c=null,Cqt.d=null,Cqt.e=null,gX(H5t,"ElkGraphAdapters/ElkNodeAdapter",629),dIt(1266,553,{838:1},om),Cqt.wf=function(){return yyt(this)},Cqt.zf=function(){var t,e;if(!this.a)for(this.a=sD(QH(this.f,118).xg().i),e=new SO(QH(this.f,118).xg());e.e!=e.i.gc();)t=QH(ymt(e),79),zH(this.a,new Sg(t));return this.a},Cqt.Bf=function(){var t,e;if(!this.c)for(this.c=sD(QH(this.f,118).yg().i),e=new SO(QH(this.f,118).yg());e.e!=e.i.gc();)t=QH(ymt(e),79),zH(this.c,new Sg(t));return this.c},Cqt.Hf=function(){return QH(QH(this.f,118).We((cqt(),f_e)),61)},Cqt.If=function(){var t,e,n,r,i,a,o;for(r=zJ(QH(this.f,118)),n=new SO(QH(this.f,118).yg());n.e!=n.i.gc();)for(o=new SO((!(t=QH(ymt(n),79)).c&&(t.c=new cR(DLe,t,5,8)),t.c));o.e!=o.i.gc();){if(_et(xCt(a=QH(ymt(o),82)),r))return!0;if(xCt(a)==r&&Hy(TF(JIt(t,(cqt(),Exe)))))return!0}for(e=new SO(QH(this.f,118).xg());e.e!=e.i.gc();)for(i=new SO((!(t=QH(ymt(e),79)).b&&(t.b=new cR(DLe,t,4,7)),t.b));i.e!=i.i.gc();)if(_et(xCt(QH(ymt(i),82)),r))return!0;return!1},Cqt.a=null,Cqt.b=null,Cqt.c=null,gX(H5t,"ElkGraphAdapters/ElkPortAdapter",1266),dIt(1267,1,CYt,nc),Cqt.ue=function(t,e){return $Pt(QH(t,118),QH(e,118))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(H5t,"ElkGraphAdapters/PortComparator",1267);var dLe,ALe,pLe,gLe,mLe,bLe,vLe,yLe,wLe,TLe,kLe,CLe,ELe,xLe,_Le,BLe,SLe,LLe=h$(j5t,"EObject"),ILe=h$($5t,K5t),MLe=h$($5t,G5t),OLe=h$($5t,z5t),NLe=h$($5t,"ElkShape"),DLe=h$($5t,X5t),FLe=h$($5t,q5t),PLe=h$($5t,V5t),RLe=h$(j5t,W5t),QLe=h$(j5t,"EFactory"),ULe=h$(j5t,Y5t),HLe=h$(j5t,"EPackage"),jLe=h$($5t,J5t),$Le=h$($5t,Z5t),KLe=h$($5t,t6t);dIt(90,1,e6t),Cqt.Jg=function(){return this.Kg(),null},Cqt.Kg=function(){return null},Cqt.Lg=function(){return this.Kg(),!1},Cqt.Mg=function(){return!1},Cqt.Ng=function(t){fot(this,t)},gX(n6t,"BasicNotifierImpl",90),dIt(97,90,u6t),Cqt.nh=function(){return mI(this)},Cqt.Og=function(t,e){return t},Cqt.Pg=function(){throw Um(new pb)},Cqt.Qg=function(t){var e;return e=_bt(QH(eet(this.Tg(),this.Vg()),18)),this.eh().ih(this,e.n,e.f,t)},Cqt.Rg=function(t,e){throw Um(new pb)},Cqt.Sg=function(t,e,n){return kQt(this,t,e,n)},Cqt.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck())?t:this.zh()},Cqt.Ug=function(){return iIt(this)},Cqt.Vg=function(){throw Um(new pb)},Cqt.Wg=function(){var t,e;return!(e=this.ph().dk())&&this.Pg().ik((qE(),e=null==(t=uJ(jUt(this.Tg())))?IMe:new qN(this,t))),e},Cqt.Xg=function(t,e){return t},Cqt.Yg=function(t){return t.Gj()?t.aj():LAt(this.Tg(),t)},Cqt.Zg=function(){var t;return(t=this.Pg())?t.fk():null},Cqt.$g=function(){return this.Pg()?this.Pg().ck():null},Cqt._g=function(t,e,n){return Jmt(this,t,e,n)},Cqt.ah=function(t){return C8(this,t)},Cqt.bh=function(t,e){return X5(this,t,e)},Cqt.dh=function(){var t;return!!(t=this.Pg())&&t.gk()},Cqt.eh=function(){throw Um(new pb)},Cqt.fh=function(){return Wpt(this)},Cqt.gh=function(t,e,n,r){return Omt(this,t,e,r)},Cqt.hh=function(t,e,n){return QH(eet(this.Tg(),e),66).Nj().Qj(this,this.yh(),e-this.Ah(),t,n)},Cqt.ih=function(t,e,n,r){return oJ(this,t,e,r)},Cqt.jh=function(t,e,n){return QH(eet(this.Tg(),e),66).Nj().Rj(this,this.yh(),e-this.Ah(),t,n)},Cqt.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},Cqt.lh=function(t){return mmt(this,t)},Cqt.mh=function(t){return YJ(this,t)},Cqt.oh=function(t){return R$t(this,t)},Cqt.ph=function(){throw Um(new pb)},Cqt.qh=function(){return this.Pg()?this.Pg().ek():null},Cqt.rh=function(){return Wpt(this)},Cqt.sh=function(t,e){vBt(this,t,e)},Cqt.th=function(t){this.ph().hk(t)},Cqt.uh=function(t){this.ph().kk(t)},Cqt.vh=function(t){this.ph().jk(t)},Cqt.wh=function(t,e){var n,r,i,a;return(a=this.Zg())&&t&&(e=Rmt(a.Vk(),this,e),a.Zk(this)),(r=this.eh())&&(0!=(pRt(this,this.eh(),this.Vg()).Bb&UWt)?(i=r.fh())&&(t?!a&&i.Zk(this):i.Yk(this)):(e=(n=this.Vg())>=0?this.Qg(e):this.eh().ih(this,-1-n,null,e),e=this.Sg(null,-1,e))),this.uh(t),e},Cqt.xh=function(t){var e,n,r,i,a,o,s;if((a=LAt(n=this.Tg(),t))>=(e=this.Ah()))return QH(t,66).Nj().Uj(this,this.yh(),a-e);if(a<=-1){if(!(o=Q$t((B_t(),WMe),n,t)))throw Um(new Py(r6t+t.ne()+o6t));if(YE(),QH(o,66).Oj()||(o=Y1(Q7(WMe,o))),i=QH((r=this.Yg(o))>=0?this._g(r,!0,!0):iLt(this,o,!0),153),(s=o.Zj())>1||-1==s)return QH(QH(i,215).hl(t,!1),76)}else if(t.$j())return QH((r=this.Yg(t))>=0?this._g(r,!1,!0):iLt(this,t,!1),76);return new _S(this,t)},Cqt.yh=function(){return q7(this)},Cqt.zh=function(){return(qX(),JIe).S},Cqt.Ah=function(){return hX(this.zh())},Cqt.Bh=function(t){b_t(this,t)},Cqt.Ib=function(){return xMt(this)},gX(h6t,"BasicEObjectImpl",97),dIt(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),Cqt.Ch=function(t){return V7(this)[t]},Cqt.Dh=function(t,e){LX(V7(this),t,e)},Cqt.Eh=function(t){LX(V7(this),t,null)},Cqt.Jg=function(){return QH(vot(this,4),126)},Cqt.Kg=function(){throw Um(new pb)},Cqt.Lg=function(){return 0!=(4&this.Db)},Cqt.Pg=function(){throw Um(new pb)},Cqt.Fh=function(t){lgt(this,2,t)},Cqt.Rg=function(t,e){this.Db=e<<16|255&this.Db,this.Fh(t)},Cqt.Tg=function(){return yY(this)},Cqt.Vg=function(){return this.Db>>16},Cqt.Wg=function(){var t;return qE(),null==(t=uJ(jUt(QH(vot(this,16),26)||this.zh())))?IMe:new qN(this,t)},Cqt.Mg=function(){return 0==(1&this.Db)},Cqt.Zg=function(){return QH(vot(this,128),1935)},Cqt.$g=function(){return QH(vot(this,16),26)},Cqt.dh=function(){return 0!=(32&this.Db)},Cqt.eh=function(){return QH(vot(this,2),49)},Cqt.kh=function(){return 0!=(64&this.Db)},Cqt.ph=function(){throw Um(new pb)},Cqt.qh=function(){return QH(vot(this,64),281)},Cqt.th=function(t){lgt(this,16,t)},Cqt.uh=function(t){lgt(this,128,t)},Cqt.vh=function(t){lgt(this,64,t)},Cqt.yh=function(){return ugt(this)},Cqt.Db=0,gX(h6t,"MinimalEObjectImpl",114),dIt(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Cqt.Fh=function(t){this.Cb=t},Cqt.eh=function(){return this.Cb},gX(h6t,"MinimalEObjectImpl/Container",115),dIt(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Cqt._g=function(t,e,n){return Tyt(this,t,e,n)},Cqt.jh=function(t,e,n){return ext(this,t,e,n)},Cqt.lh=function(t){return m0(this,t)},Cqt.sh=function(t,e){rlt(this,t,e)},Cqt.zh=function(){return _Xt(),ELe},Cqt.Bh=function(t){Kst(this,t)},Cqt.Ve=function(){return hmt(this)},Cqt.We=function(t){return JIt(this,t)},Cqt.Xe=function(t){return E9(this,t)},Cqt.Ye=function(t,e){return Wmt(this,t,e)},gX(f6t,"EMapPropertyHolderImpl",1985),dIt(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ac),Cqt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return Jmt(this,t,e,n)},Cqt.lh=function(t){switch(t){case 0:return 0!=this.a;case 1:return 0!=this.b}return mmt(this,t)},Cqt.sh=function(t,e){switch(t){case 0:return void wnt(this,jy(kF(e)));case 1:return void Tnt(this,jy(kF(e)))}vBt(this,t,e)},Cqt.zh=function(){return _Xt(),pLe},Cqt.Bh=function(t){switch(t){case 0:return void wnt(this,0);case 1:return void Tnt(this,0)}b_t(this,t)},Cqt.Ib=function(){var t;return 0!=(64&this.Db)?xMt(this):((t=new lN(xMt(this))).a+=" (x: ",gk(t,this.a),t.a+=", y: ",gk(t,this.b),t.a+=")",t.a)},Cqt.a=0,Cqt.b=0,gX(f6t,"ElkBendPointImpl",567),dIt(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Cqt._g=function(t,e,n){return Rht(this,t,e,n)},Cqt.hh=function(t,e,n){return QCt(this,t,e,n)},Cqt.jh=function(t,e,n){return rst(this,t,e,n)},Cqt.lh=function(t){return Tot(this,t)},Cqt.sh=function(t,e){$Tt(this,t,e)},Cqt.zh=function(){return _Xt(),vLe},Cqt.Bh=function(t){sht(this,t)},Cqt.zg=function(){return this.k},Cqt.Ag=function(){return mV(this)},Cqt.Ib=function(){return Wft(this)},Cqt.k=null,gX(f6t,"ElkGraphElementImpl",723),dIt(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Cqt._g=function(t,e,n){return Fdt(this,t,e,n)},Cqt.lh=function(t){return uAt(this,t)},Cqt.sh=function(t,e){KTt(this,t,e)},Cqt.zh=function(){return _Xt(),CLe},Cqt.Bh=function(t){DAt(this,t)},Cqt.Bg=function(){return this.f},Cqt.Cg=function(){return this.g},Cqt.Dg=function(){return this.i},Cqt.Eg=function(){return this.j},Cqt.Fg=function(t,e){kI(this,t,e)},Cqt.Gg=function(t,e){CI(this,t,e)},Cqt.Hg=function(t){xnt(this,t)},Cqt.Ig=function(t){_nt(this,t)},Cqt.Ib=function(){return bxt(this)},Cqt.f=0,Cqt.g=0,Cqt.i=0,Cqt.j=0,gX(f6t,"ElkShapeImpl",724),dIt(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Cqt._g=function(t,e,n){return Hbt(this,t,e,n)},Cqt.hh=function(t,e,n){return ATt(this,t,e,n)},Cqt.jh=function(t,e,n){return pTt(this,t,e,n)},Cqt.lh=function(t){return $ct(this,t)},Cqt.sh=function(t,e){MIt(this,t,e)},Cqt.zh=function(){return _Xt(),gLe},Cqt.Bh=function(t){Nmt(this,t)},Cqt.xg=function(){return!this.d&&(this.d=new cR(FLe,this,8,5)),this.d},Cqt.yg=function(){return!this.e&&(this.e=new cR(FLe,this,7,4)),this.e},gX(f6t,"ElkConnectableShapeImpl",725),dIt(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ic),Cqt.Qg=function(t){return Cwt(this,t)},Cqt._g=function(t,e,n){switch(t){case 3:return GJ(this);case 4:return!this.b&&(this.b=new cR(DLe,this,4,7)),this.b;case 5:return!this.c&&(this.c=new cR(DLe,this,5,8)),this.c;case 6:return!this.a&&(this.a=new tz(PLe,this,6,6)),this.a;case 7:return cN(),!this.b&&(this.b=new cR(DLe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new cR(DLe,this,5,8)),this.c.i<=1));case 8:return cN(),!!ZLt(this);case 9:return cN(),!!VSt(this);case 10:return cN(),!this.b&&(this.b=new cR(DLe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new cR(DLe,this,5,8)),0!=this.c.i)}return Rht(this,t,e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 3:return this.Cb&&(n=(r=this.Db>>16)>=0?Cwt(this,n):this.Cb.ih(this,-1-r,null,n)),XF(this,QH(t,33),n);case 4:return!this.b&&(this.b=new cR(DLe,this,4,7)),WAt(this.b,t,n);case 5:return!this.c&&(this.c=new cR(DLe,this,5,8)),WAt(this.c,t,n);case 6:return!this.a&&(this.a=new tz(PLe,this,6,6)),WAt(this.a,t,n)}return QCt(this,t,e,n)},Cqt.jh=function(t,e,n){switch(e){case 3:return XF(this,null,n);case 4:return!this.b&&(this.b=new cR(DLe,this,4,7)),Rmt(this.b,t,n);case 5:return!this.c&&(this.c=new cR(DLe,this,5,8)),Rmt(this.c,t,n);case 6:return!this.a&&(this.a=new tz(PLe,this,6,6)),Rmt(this.a,t,n)}return rst(this,t,e,n)},Cqt.lh=function(t){switch(t){case 3:return!!GJ(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new cR(DLe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new cR(DLe,this,5,8)),this.c.i<=1));case 8:return ZLt(this);case 9:return VSt(this);case 10:return!this.b&&(this.b=new cR(DLe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new cR(DLe,this,5,8)),0!=this.c.i)}return Tot(this,t)},Cqt.sh=function(t,e){switch(t){case 3:return void HOt(this,QH(e,33));case 4:return!this.b&&(this.b=new cR(DLe,this,4,7)),c$t(this.b),!this.b&&(this.b=new cR(DLe,this,4,7)),void pX(this.b,QH(e,14));case 5:return!this.c&&(this.c=new cR(DLe,this,5,8)),c$t(this.c),!this.c&&(this.c=new cR(DLe,this,5,8)),void pX(this.c,QH(e,14));case 6:return!this.a&&(this.a=new tz(PLe,this,6,6)),c$t(this.a),!this.a&&(this.a=new tz(PLe,this,6,6)),void pX(this.a,QH(e,14))}$Tt(this,t,e)},Cqt.zh=function(){return _Xt(),mLe},Cqt.Bh=function(t){switch(t){case 3:return void HOt(this,null);case 4:return!this.b&&(this.b=new cR(DLe,this,4,7)),void c$t(this.b);case 5:return!this.c&&(this.c=new cR(DLe,this,5,8)),void c$t(this.c);case 6:return!this.a&&(this.a=new tz(PLe,this,6,6)),void c$t(this.a)}sht(this,t)},Cqt.Ib=function(){return hjt(this)},gX(f6t,"ElkEdgeImpl",352),dIt(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},oc),Cqt.Qg=function(t){return cwt(this,t)},Cqt._g=function(t,e,n){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new LO(MLe,this,5)),this.a;case 6:return XJ(this);case 7:return e?xbt(this):this.i;case 8:return e?Ebt(this):this.f;case 9:return!this.g&&(this.g=new cR(PLe,this,9,10)),this.g;case 10:return!this.e&&(this.e=new cR(PLe,this,10,9)),this.e;case 11:return this.d}return Tyt(this,t,e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?cwt(this,n):this.Cb.ih(this,-1-r,null,n)),qF(this,QH(t,79),n);case 9:return!this.g&&(this.g=new cR(PLe,this,9,10)),WAt(this.g,t,n);case 10:return!this.e&&(this.e=new cR(PLe,this,10,9)),WAt(this.e,t,n)}return QH(eet(QH(vot(this,16),26)||(_Xt(),bLe),e),66).Nj().Qj(this,ugt(this),e-hX((_Xt(),bLe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 5:return!this.a&&(this.a=new LO(MLe,this,5)),Rmt(this.a,t,n);case 6:return qF(this,null,n);case 9:return!this.g&&(this.g=new cR(PLe,this,9,10)),Rmt(this.g,t,n);case 10:return!this.e&&(this.e=new cR(PLe,this,10,9)),Rmt(this.e,t,n)}return ext(this,t,e,n)},Cqt.lh=function(t){switch(t){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!XJ(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return m0(this,t)},Cqt.sh=function(t,e){switch(t){case 1:return void Bnt(this,jy(kF(e)));case 2:return void Lnt(this,jy(kF(e)));case 3:return void knt(this,jy(kF(e)));case 4:return void Snt(this,jy(kF(e)));case 5:return!this.a&&(this.a=new LO(MLe,this,5)),c$t(this.a),!this.a&&(this.a=new LO(MLe,this,5)),void pX(this.a,QH(e,14));case 6:return void QOt(this,QH(e,79));case 7:return void Ort(this,QH(e,82));case 8:return void Mrt(this,QH(e,82));case 9:return!this.g&&(this.g=new cR(PLe,this,9,10)),c$t(this.g),!this.g&&(this.g=new cR(PLe,this,9,10)),void pX(this.g,QH(e,14));case 10:return!this.e&&(this.e=new cR(PLe,this,10,9)),c$t(this.e),!this.e&&(this.e=new cR(PLe,this,10,9)),void pX(this.e,QH(e,14));case 11:return void iit(this,CF(e))}rlt(this,t,e)},Cqt.zh=function(){return _Xt(),bLe},Cqt.Bh=function(t){switch(t){case 1:return void Bnt(this,0);case 2:return void Lnt(this,0);case 3:return void knt(this,0);case 4:return void Snt(this,0);case 5:return!this.a&&(this.a=new LO(MLe,this,5)),void c$t(this.a);case 6:return void QOt(this,null);case 7:return void Ort(this,null);case 8:return void Mrt(this,null);case 9:return!this.g&&(this.g=new cR(PLe,this,9,10)),void c$t(this.g);case 10:return!this.e&&(this.e=new cR(PLe,this,10,9)),void c$t(this.e);case 11:return void iit(this,null)}Kst(this,t)},Cqt.Ib=function(){return FLt(this)},Cqt.b=0,Cqt.c=0,Cqt.d=null,Cqt.j=0,Cqt.k=0,gX(f6t,"ElkEdgeSectionImpl",439),dIt(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Cqt._g=function(t,e,n){return 0==t?(!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab):K8(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e,n)},Cqt.hh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n)):QH(eet(QH(vot(this,16),26)||this.zh(),e),66).Nj().Qj(this,ugt(this),e-hX(this.zh()),t,n)},Cqt.jh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n)):QH(eet(QH(vot(this,16),26)||this.zh(),e),66).Nj().Rj(this,ugt(this),e-hX(this.zh()),t,n)},Cqt.lh=function(t){return 0==t?!!this.Ab&&0!=this.Ab.i:B4(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.oh=function(t){return lzt(this,t)},Cqt.sh=function(t,e){if(0===t)return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));Mdt(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e)},Cqt.uh=function(t){lgt(this,128,t)},Cqt.zh=function(){return pqt(),uMe},Cqt.Bh=function(t){if(0===t)return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);jht(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.Gh=function(){this.Bb|=1},Cqt.Hh=function(t){return OQt(this,t)},Cqt.Bb=0,gX(h6t,"EModelElementImpl",150),dIt(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},Nh),Cqt.Ih=function(t,e){return jKt(this,t,e)},Cqt.Jh=function(t){var e,n,r,i;if(this.a!=Get(t)||0!=(256&t.Bb))throw Um(new Py(b6t+t.zb+p6t));for(n=vY(t);0!=i3(n.a).i;){if(nyt(e=QH(eKt(n,0,rO(i=QH(Xet(i3(n.a),0),87).c,88)?QH(i,26):(pqt(),fMe)),26)))return QH(r=Get(e).Nh().Jh(e),49).th(t),r;n=vY(e)}return"java.util.Map$Entry"==(null!=t.D?t.D:t.B)?new l$(t):new yj(t)},Cqt.Kh=function(t,e){return NXt(this,t,e)},Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.a}return K8(this,t-hX((pqt(),sMe)),eet(QH(vot(this,16),26)||sMe,t),e,n)},Cqt.hh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 1:return this.a&&(n=QH(this.a,49).ih(this,4,HLe,n)),Yut(this,QH(t,235),n)}return QH(eet(QH(vot(this,16),26)||(pqt(),sMe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),sMe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 1:return Yut(this,null,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),sMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),sMe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return B4(this,t-hX((pqt(),sMe)),eet(QH(vot(this,16),26)||sMe,t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void NEt(this,QH(e,235))}Mdt(this,t-hX((pqt(),sMe)),eet(QH(vot(this,16),26)||sMe,t),e)},Cqt.zh=function(){return pqt(),sMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void NEt(this,null)}jht(this,t-hX((pqt(),sMe)),eet(QH(vot(this,16),26)||sMe,t))},gX(h6t,"EFactoryImpl",704),dIt(y6t,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},sc),Cqt.Ih=function(t,e){switch(t.yj()){case 12:return QH(e,146).tg();case 13:return Udt(e);default:throw Um(new Py(A6t+t.ne()+p6t))}},Cqt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Get(t))?obt(e.Mh(),t):-1),t.G){case 4:return new cc;case 6:return new yv;case 7:return new wv;case 8:return new ic;case 9:return new ac;case 10:return new oc;case 11:return new uc;default:throw Um(new Py(b6t+t.zb+p6t))}},Cqt.Kh=function(t,e){switch(t.yj()){case 13:case 12:return null;default:throw Um(new Py(A6t+t.ne()+p6t))}},gX(f6t,"ElkGraphFactoryImpl",y6t),dIt(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Cqt.Wg=function(){var t;return null==(t=uJ(jUt(QH(vot(this,16),26)||this.zh())))?(qE(),qE(),IMe):new zD(this,t)},Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.ne()}return K8(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return B4(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void this.Lh(CF(e))}Mdt(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e)},Cqt.zh=function(){return pqt(),hMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void this.Lh(null)}jht(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.ne=function(){return this.zb},Cqt.Lh=function(t){Oit(this,t)},Cqt.Ib=function(){return yht(this)},Cqt.zb=null,gX(h6t,"ENamedElementImpl",438),dIt(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},gY),Cqt.Qg=function(t){return dwt(this,t)},Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new WG(this,QIe,this)),this.rb;case 6:return!this.vb&&(this.vb=new tR(HLe,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?QH(this.Cb,235):null:qJ(this)}return K8(this,t-hX((pqt(),pMe)),eet(QH(vot(this,16),26)||pMe,t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 4:return this.sb&&(n=QH(this.sb,49).ih(this,1,QLe,n)),wht(this,QH(t,471),n);case 5:return!this.rb&&(this.rb=new WG(this,QIe,this)),WAt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new tR(HLe,this,6,7)),WAt(this.vb,t,n);case 7:return this.Cb&&(n=(r=this.Db>>16)>=0?dwt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,7,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),pMe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),pMe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 4:return wht(this,null,n);case 5:return!this.rb&&(this.rb=new WG(this,QIe,this)),Rmt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new tR(HLe,this,6,7)),Rmt(this.vb,t,n);case 7:return kQt(this,null,7,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),pMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),pMe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!qJ(this)}return B4(this,t-hX((pqt(),pMe)),eet(QH(vot(this,16),26)||pMe,t))},Cqt.oh=function(t){return MNt(this,t)||lzt(this,t)},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void Oit(this,CF(e));case 2:return void Dit(this,CF(e));case 3:return void Nit(this,CF(e));case 4:return void nxt(this,QH(e,471));case 5:return!this.rb&&(this.rb=new WG(this,QIe,this)),c$t(this.rb),!this.rb&&(this.rb=new WG(this,QIe,this)),void pX(this.rb,QH(e,14));case 6:return!this.vb&&(this.vb=new tR(HLe,this,6,7)),c$t(this.vb),!this.vb&&(this.vb=new tR(HLe,this,6,7)),void pX(this.vb,QH(e,14))}Mdt(this,t-hX((pqt(),pMe)),eet(QH(vot(this,16),26)||pMe,t),e)},Cqt.vh=function(t){var e,n;if(t&&this.rb)for(n=new SO(this.rb);n.e!=n.i.gc();)rO(e=ymt(n),351)&&(QH(e,351).w=null);lgt(this,64,t)},Cqt.zh=function(){return pqt(),pMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void Oit(this,null);case 2:return void Dit(this,null);case 3:return void Nit(this,null);case 4:return void nxt(this,null);case 5:return!this.rb&&(this.rb=new WG(this,QIe,this)),void c$t(this.rb);case 6:return!this.vb&&(this.vb=new tR(HLe,this,6,7)),void c$t(this.vb)}jht(this,t-hX((pqt(),pMe)),eet(QH(vot(this,16),26)||pMe,t))},Cqt.Gh=function(){kyt(this)},Cqt.Mh=function(){return!this.rb&&(this.rb=new WG(this,QIe,this)),this.rb},Cqt.Nh=function(){return this.sb},Cqt.Oh=function(){return this.ub},Cqt.Ph=function(){return this.xb},Cqt.Qh=function(){return this.yb},Cqt.Rh=function(t){this.ub=t},Cqt.Ib=function(){var t;return 0!=(64&this.Db)?yht(this):((t=new lN(yht(this))).a+=" (nsURI: ",rL(t,this.yb),t.a+=", nsPrefix: ",rL(t,this.xb),t.a+=")",t.a)},Cqt.xb=null,Cqt.yb=null,gX(h6t,"EPackageImpl",179),dIt(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},cIt),Cqt.q=!1,Cqt.r=!1;var GLe=!1;gX(f6t,"ElkGraphPackageImpl",555),dIt(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},cc),Cqt.Qg=function(t){return lwt(this,t)},Cqt._g=function(t,e,n){switch(t){case 7:return VJ(this);case 8:return this.a}return Fdt(this,t,e,n)},Cqt.hh=function(t,e,n){var r;return 7===e?(this.Cb&&(n=(r=this.Db>>16)>=0?lwt(this,n):this.Cb.ih(this,-1-r,null,n)),XK(this,QH(t,160),n)):QCt(this,t,e,n)},Cqt.jh=function(t,e,n){return 7==e?XK(this,null,n):rst(this,t,e,n)},Cqt.lh=function(t){switch(t){case 7:return!!VJ(this);case 8:return!mR("",this.a)}return uAt(this,t)},Cqt.sh=function(t,e){switch(t){case 7:return void BNt(this,QH(e,160));case 8:return void Nrt(this,CF(e))}KTt(this,t,e)},Cqt.zh=function(){return _Xt(),yLe},Cqt.Bh=function(t){switch(t){case 7:return void BNt(this,null);case 8:return void Nrt(this,"")}DAt(this,t)},Cqt.Ib=function(){return i_t(this)},Cqt.a="",gX(f6t,"ElkLabelImpl",354),dIt(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},yv),Cqt.Qg=function(t){return Ewt(this,t)},Cqt._g=function(t,e,n){switch(t){case 9:return!this.c&&(this.c=new tz(KLe,this,9,9)),this.c;case 10:return!this.a&&(this.a=new tz($Le,this,10,11)),this.a;case 11:return WJ(this);case 12:return!this.b&&(this.b=new tz(FLe,this,12,3)),this.b;case 13:return cN(),!this.a&&(this.a=new tz($Le,this,10,11)),this.a.i>0}return Hbt(this,t,e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 9:return!this.c&&(this.c=new tz(KLe,this,9,9)),WAt(this.c,t,n);case 10:return!this.a&&(this.a=new tz($Le,this,10,11)),WAt(this.a,t,n);case 11:return this.Cb&&(n=(r=this.Db>>16)>=0?Ewt(this,n):this.Cb.ih(this,-1-r,null,n)),$P(this,QH(t,33),n);case 12:return!this.b&&(this.b=new tz(FLe,this,12,3)),WAt(this.b,t,n)}return ATt(this,t,e,n)},Cqt.jh=function(t,e,n){switch(e){case 9:return!this.c&&(this.c=new tz(KLe,this,9,9)),Rmt(this.c,t,n);case 10:return!this.a&&(this.a=new tz($Le,this,10,11)),Rmt(this.a,t,n);case 11:return $P(this,null,n);case 12:return!this.b&&(this.b=new tz(FLe,this,12,3)),Rmt(this.b,t,n)}return pTt(this,t,e,n)},Cqt.lh=function(t){switch(t){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!WJ(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new tz($Le,this,10,11)),this.a.i>0}return $ct(this,t)},Cqt.sh=function(t,e){switch(t){case 9:return!this.c&&(this.c=new tz(KLe,this,9,9)),c$t(this.c),!this.c&&(this.c=new tz(KLe,this,9,9)),void pX(this.c,QH(e,14));case 10:return!this.a&&(this.a=new tz($Le,this,10,11)),c$t(this.a),!this.a&&(this.a=new tz($Le,this,10,11)),void pX(this.a,QH(e,14));case 11:return void ZOt(this,QH(e,33));case 12:return!this.b&&(this.b=new tz(FLe,this,12,3)),c$t(this.b),!this.b&&(this.b=new tz(FLe,this,12,3)),void pX(this.b,QH(e,14))}MIt(this,t,e)},Cqt.zh=function(){return _Xt(),wLe},Cqt.Bh=function(t){switch(t){case 9:return!this.c&&(this.c=new tz(KLe,this,9,9)),void c$t(this.c);case 10:return!this.a&&(this.a=new tz($Le,this,10,11)),void c$t(this.a);case 11:return void ZOt(this,null);case 12:return!this.b&&(this.b=new tz(FLe,this,12,3)),void c$t(this.b)}Nmt(this,t)},Cqt.Ib=function(){return KPt(this)},gX(f6t,"ElkNodeImpl",239),dIt(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},wv),Cqt.Qg=function(t){return uwt(this,t)},Cqt._g=function(t,e,n){return 9==t?zJ(this):Hbt(this,t,e,n)},Cqt.hh=function(t,e,n){var r;return 9===e?(this.Cb&&(n=(r=this.Db>>16)>=0?uwt(this,n):this.Cb.ih(this,-1-r,null,n)),VF(this,QH(t,33),n)):ATt(this,t,e,n)},Cqt.jh=function(t,e,n){return 9==e?VF(this,null,n):pTt(this,t,e,n)},Cqt.lh=function(t){return 9==t?!!zJ(this):$ct(this,t)},Cqt.sh=function(t,e){9!==t?MIt(this,t,e):UOt(this,QH(e,33))},Cqt.zh=function(){return _Xt(),TLe},Cqt.Bh=function(t){9!==t?Nmt(this,t):UOt(this,null)},Cqt.Ib=function(){return GPt(this)},gX(f6t,"ElkPortImpl",186);var zLe=h$(U6t,"BasicEMap/Entry");dIt(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},uc),Cqt.Fb=function(t){return this===t},Cqt.cd=function(){return this.b},Cqt.Hb=function(){return EN(this)},Cqt.Uh=function(t){Drt(this,QH(t,146))},Cqt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return Jmt(this,t,e,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.b;case 1:return null!=this.c}return mmt(this,t)},Cqt.sh=function(t,e){switch(t){case 0:return void Drt(this,QH(e,146));case 1:return void Rrt(this,e)}vBt(this,t,e)},Cqt.zh=function(){return _Xt(),kLe},Cqt.Bh=function(t){switch(t){case 0:return void Drt(this,null);case 1:return void Rrt(this,null)}b_t(this,t)},Cqt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=t?Zct(t):0),this.a},Cqt.dd=function(){return this.c},Cqt.Th=function(t){this.a=t},Cqt.ed=function(t){var e;return e=this.c,Rrt(this,t),e},Cqt.Ib=function(){var t;return 0!=(64&this.Db)?xMt(this):(oL(oL(oL(t=new xw,this.b?this.b.tg():Kqt),e1t),vN(this.c)),t.a)},Cqt.a=-1,Cqt.c=null;var XLe,qLe,VLe,WLe,YLe,JLe,ZLe,tIe,eIe=gX(f6t,"ElkPropertyToValueMapEntryImpl",1092);dIt(984,1,{},dc),gX($6t,"JsonAdapter",984),dIt(210,60,UVt,tw),gX($6t,"JsonImportException",210),dIt(857,1,{},Awt),gX($6t,"JsonImporter",857),dIt(891,1,{},iS),gX($6t,"JsonImporter/lambda$0$Type",891),dIt(892,1,{},aS),gX($6t,"JsonImporter/lambda$1$Type",892),dIt(900,1,{},Lg),gX($6t,"JsonImporter/lambda$10$Type",900),dIt(902,1,{},oS),gX($6t,"JsonImporter/lambda$11$Type",902),dIt(903,1,{},sS),gX($6t,"JsonImporter/lambda$12$Type",903),dIt(909,1,{},lW),gX($6t,"JsonImporter/lambda$13$Type",909),dIt(908,1,{},cW),gX($6t,"JsonImporter/lambda$14$Type",908),dIt(904,1,{},cS),gX($6t,"JsonImporter/lambda$15$Type",904),dIt(905,1,{},lS),gX($6t,"JsonImporter/lambda$16$Type",905),dIt(906,1,{},uS),gX($6t,"JsonImporter/lambda$17$Type",906),dIt(907,1,{},hS),gX($6t,"JsonImporter/lambda$18$Type",907),dIt(912,1,{},Ig),gX($6t,"JsonImporter/lambda$19$Type",912),dIt(893,1,{},Mg),gX($6t,"JsonImporter/lambda$2$Type",893),dIt(910,1,{},Og),gX($6t,"JsonImporter/lambda$20$Type",910),dIt(911,1,{},Ng),gX($6t,"JsonImporter/lambda$21$Type",911),dIt(915,1,{},Dg),gX($6t,"JsonImporter/lambda$22$Type",915),dIt(913,1,{},Fg),gX($6t,"JsonImporter/lambda$23$Type",913),dIt(914,1,{},Pg),gX($6t,"JsonImporter/lambda$24$Type",914),dIt(917,1,{},Rg),gX($6t,"JsonImporter/lambda$25$Type",917),dIt(916,1,{},Qg),gX($6t,"JsonImporter/lambda$26$Type",916),dIt(918,1,hVt,fS),Cqt.td=function(t){w8(this.b,this.a,CF(t))},gX($6t,"JsonImporter/lambda$27$Type",918),dIt(919,1,hVt,dS),Cqt.td=function(t){T8(this.b,this.a,CF(t))},gX($6t,"JsonImporter/lambda$28$Type",919),dIt(920,1,{},AS),gX($6t,"JsonImporter/lambda$29$Type",920),dIt(896,1,{},Ug),gX($6t,"JsonImporter/lambda$3$Type",896),dIt(921,1,{},pS),gX($6t,"JsonImporter/lambda$30$Type",921),dIt(922,1,{},Hg),gX($6t,"JsonImporter/lambda$31$Type",922),dIt(923,1,{},jg),gX($6t,"JsonImporter/lambda$32$Type",923),dIt(924,1,{},$g),gX($6t,"JsonImporter/lambda$33$Type",924),dIt(925,1,{},Kg),gX($6t,"JsonImporter/lambda$34$Type",925),dIt(859,1,{},Gg),gX($6t,"JsonImporter/lambda$35$Type",859),dIt(929,1,{},kH),gX($6t,"JsonImporter/lambda$36$Type",929),dIt(926,1,hVt,zg),Cqt.td=function(t){V3(this.a,QH(t,469))},gX($6t,"JsonImporter/lambda$37$Type",926),dIt(927,1,hVt,CS),Cqt.td=function(t){uL(this.a,this.b,QH(t,202))},gX($6t,"JsonImporter/lambda$38$Type",927),dIt(928,1,hVt,ES),Cqt.td=function(t){hL(this.a,this.b,QH(t,202))},gX($6t,"JsonImporter/lambda$39$Type",928),dIt(894,1,{},Xg),gX($6t,"JsonImporter/lambda$4$Type",894),dIt(930,1,hVt,qg),Cqt.td=function(t){W3(this.a,QH(t,8))},gX($6t,"JsonImporter/lambda$40$Type",930),dIt(895,1,{},Vg),gX($6t,"JsonImporter/lambda$5$Type",895),dIt(899,1,{},Wg),gX($6t,"JsonImporter/lambda$6$Type",899),dIt(897,1,{},Yg),gX($6t,"JsonImporter/lambda$7$Type",897),dIt(898,1,{},Jg),gX($6t,"JsonImporter/lambda$8$Type",898),dIt(901,1,{},Zg),gX($6t,"JsonImporter/lambda$9$Type",901),dIt(948,1,hVt,tm),Cqt.td=function(t){JX(this.a,new jX(CF(t)))},gX($6t,"JsonMetaDataConverter/lambda$0$Type",948),dIt(949,1,hVt,em),Cqt.td=function(t){PX(this.a,QH(t,237))},gX($6t,"JsonMetaDataConverter/lambda$1$Type",949),dIt(950,1,hVt,nm),Cqt.td=function(t){ZZ(this.a,QH(t,149))},gX($6t,"JsonMetaDataConverter/lambda$2$Type",950),dIt(951,1,hVt,rm),Cqt.td=function(t){RX(this.a,QH(t,175))},gX($6t,"JsonMetaDataConverter/lambda$3$Type",951),dIt(237,22,{3:1,35:1,22:1,237:1},kS);var nIe,rIe=Unt(BJt,"GraphFeature",237,Gte,Pet,pH);dIt(13,1,{35:1,146:1},am,eP,LL,GI),Cqt.wd=function(t){return pO(this,QH(t,146))},Cqt.Fb=function(t){return wY(this,t)},Cqt.wg=function(){return bmt(this)},Cqt.tg=function(){return this.b},Cqt.Hb=function(){return mbt(this.b)},Cqt.Ib=function(){return this.b},gX(BJt,"Property",13),dIt(818,1,CYt,im),Cqt.ue=function(t,e){return Rft(this,QH(t,94),QH(e,94))},Cqt.Fb=function(t){return this===t},Cqt.ve=function(){return new Jd(this)},gX(BJt,"PropertyHolderComparator",818),dIt(695,1,Vqt,sm),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return S8(this)},Cqt.Qb=function(){ak()},Cqt.Ob=function(){return!!this.a},gX(i9t,"ElkGraphUtil/AncestorIterator",695);var iIe=h$(U6t,"EList");dIt(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),Cqt.Vc=function(t,e){cft(this,t,e)},Cqt.Fc=function(t){return l8(this,t)},Cqt.Wc=function(t,e){return sct(this,t,e)},Cqt.Gc=function(t){return pX(this,t)},Cqt.Zh=function(){return new iD(this)},Cqt.$h=function(){return new aD(this)},Cqt._h=function(t){return crt(this,t)},Cqt.ai=function(){return!0},Cqt.bi=function(t,e){},Cqt.ci=function(){},Cqt.di=function(t,e){I9(this,t,e)},Cqt.ei=function(t,e,n){},Cqt.fi=function(t,e){},Cqt.gi=function(t,e,n){},Cqt.Fb=function(t){return VFt(this,t)},Cqt.Hb=function(){return Cst(this)},Cqt.hi=function(){return!1},Cqt.Kc=function(){return new SO(this)},Cqt.Yc=function(){return new rD(this)},Cqt.Zc=function(t){var e;if(e=this.gc(),t<0||t>e)throw Um(new ZP(t,e));return new jz(this,t)},Cqt.ji=function(t,e){this.ii(t,this.Xc(e))},Cqt.Mc=function(t){return stt(this,t)},Cqt.li=function(t,e){return e},Cqt._c=function(t,e){return sbt(this,t,e)},Cqt.Ib=function(){return Ydt(this)},Cqt.ni=function(){return!0},Cqt.oi=function(t,e){return Nlt(this,e)},gX(U6t,"AbstractEList",67),dIt(63,67,l9t,gc,pet,wat),Cqt.Vh=function(t,e){return UCt(this,t,e)},Cqt.Wh=function(t){return fvt(this,t)},Cqt.Xh=function(t,e){Bht(this,t,e)},Cqt.Yh=function(t){r6(this,t)},Cqt.pi=function(t){return R8(this,t)},Cqt.$b=function(){i6(this)},Cqt.Hc=function(t){return ETt(this,t)},Cqt.Xb=function(t){return Xet(this,t)},Cqt.qi=function(t){var e,n,r;++this.j,t>(n=null==this.g?0:this.g.length)&&(r=this.g,(e=n+(n/2|0)+4)<t&&(e=t),this.g=this.ri(e),null!=r&&ajt(r,0,this.g,0,this.i))},Cqt.Xc=function(t){return Xyt(this,t)},Cqt.dc=function(){return 0==this.i},Cqt.ii=function(t,e){return WSt(this,t,e)},Cqt.ri=function(t){return O9(Lte,Hqt,1,t,5,1)},Cqt.ki=function(t){return this.g[t]},Cqt.$c=function(t){return Myt(this,t)},Cqt.mi=function(t,e){return ott(this,t,e)},Cqt.gc=function(){return this.i},Cqt.Pc=function(){return M4(this)},Cqt.Qc=function(t){return VAt(this,t)},Cqt.i=0;var aIe,oIe,sIe=gX(U6t,"BasicEList",63),cIe=h$(U6t,"TreeIterator");dIt(694,63,u9t),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&QH(this.g[this.i-1],47).Ob():ZJ(this)},Cqt.Pb=function(){return aOt(this)},Cqt.Qb=function(){if(!this.e)throw Um(new Ry("There is no valid object to remove."));this.e.Qb()},Cqt.c=!1,gX(U6t,"AbstractTreeIterator",694),dIt(685,694,u9t,BI),Cqt.si=function(t){var e;return rO(e=QH(t,56).Wg().Kc(),279)&&QH(e,279).Nk(new Ac),e},gX(i9t,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),dIt(952,1,{},Ac),gX(i9t,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var lIe,uIe=gX(i9t,"ElkReflect",null);dIt(889,1,n5t,pc),Cqt.vg=function(t){return cZ(),Q6(QH(t,174))},gX(i9t,"ElkReflect/lambda$0$Type",889),h$(U6t,"ResourceLocator"),dIt(1051,1,{}),gX(U6t,"DelegatingResourceLocator",1051),dIt(1052,1051,{}),gX("org.eclipse.emf.common","EMFPlugin",1052);var hIe,fIe=h$(Y9t,"Adapter"),dIe=h$(Y9t,"Notification");dIt(1153,1,J9t),Cqt.ti=function(){return this.d},Cqt.ui=function(t){},Cqt.vi=function(t){this.d=t},Cqt.wi=function(t){this.d==t&&(this.d=null)},Cqt.d=null,gX(n6t,"AdapterImpl",1153),dIt(1995,67,Z9t),Cqt.Vh=function(t,e){return yAt(this,t,e)},Cqt.Wh=function(t){var e,n,r;if(++this.j,t.dc())return!1;for(e=this.Vi(),r=t.Kc();r.Ob();)n=r.Pb(),this.Ii(this.oi(e,n)),++e;return!0},Cqt.Xh=function(t,e){YF(this,t,e)},Cqt.Yh=function(t){tq(this,t)},Cqt.Gi=function(){return this.Ji()},Cqt.$b=function(){WF(this,this.Vi(),this.Wi())},Cqt.Hc=function(t){return this.Li(t)},Cqt.Ic=function(t){return this.Mi(t)},Cqt.Hi=function(t,e){this.Si().jm()},Cqt.Ii=function(t){this.Si().jm()},Cqt.Ji=function(){return this.Si()},Cqt.Ki=function(){this.Si().jm()},Cqt.Li=function(t){return this.Si().jm()},Cqt.Mi=function(t){return this.Si().jm()},Cqt.Ni=function(t){return this.Si().jm()},Cqt.Oi=function(t){return this.Si().jm()},Cqt.Pi=function(){return this.Si().jm()},Cqt.Qi=function(t){return this.Si().jm()},Cqt.Ri=function(){return this.Si().jm()},Cqt.Ti=function(t){return this.Si().jm()},Cqt.Ui=function(t,e){return this.Si().jm()},Cqt.Vi=function(){return this.Si().jm()},Cqt.Wi=function(){return this.Si().jm()},Cqt.Xi=function(t){return this.Si().jm()},Cqt.Yi=function(){return this.Si().jm()},Cqt.Fb=function(t){return this.Ni(t)},Cqt.Xb=function(t){return this.li(t,this.Oi(t))},Cqt.Hb=function(){return this.Pi()},Cqt.Xc=function(t){return this.Qi(t)},Cqt.dc=function(){return this.Ri()},Cqt.ii=function(t,e){return LEt(this,t,e)},Cqt.ki=function(t){return this.Oi(t)},Cqt.$c=function(t){return f$(this,t)},Cqt.Mc=function(t){var e;return(e=this.Xc(t))>=0&&(this.$c(e),!0)},Cqt.mi=function(t,e){return this.Ui(t,this.oi(t,e))},Cqt.gc=function(){return this.Vi()},Cqt.Pc=function(){return this.Wi()},Cqt.Qc=function(t){return this.Xi(t)},Cqt.Ib=function(){return this.Yi()},gX(U6t,"DelegatingEList",1995),dIt(1996,1995,Z9t),Cqt.Vh=function(t,e){return oUt(this,t,e)},Cqt.Wh=function(t){return this.Vh(this.Vi(),t)},Cqt.Xh=function(t,e){eIt(this,t,e)},Cqt.Yh=function(t){SLt(this,t)},Cqt.ai=function(){return!this.bj()},Cqt.$b=function(){m$t(this)},Cqt.Zi=function(t,e,n,r,i){return new MY(this,t,e,n,r,i)},Cqt.$i=function(t){fot(this.Ai(),t)},Cqt._i=function(){return null},Cqt.aj=function(){return-1},Cqt.Ai=function(){return null},Cqt.bj=function(){return!1},Cqt.cj=function(t,e){return e},Cqt.dj=function(t,e){return e},Cqt.ej=function(){return!1},Cqt.fj=function(){return!this.Ri()},Cqt.ii=function(t,e){var n,r;return this.ej()?(r=this.fj(),n=LEt(this,t,e),this.$i(this.Zi(7,nft(e),n,t,r)),n):LEt(this,t,e)},Cqt.$c=function(t){var e,n,r,i;return this.ej()?(n=null,r=this.fj(),e=this.Zi(4,i=f$(this,t),null,t,r),this.bj()&&i?(n=this.dj(i,n))?(n.Ei(e),n.Fi()):this.$i(e):n?(n.Ei(e),n.Fi()):this.$i(e),i):(i=f$(this,t),this.bj()&&i&&(n=this.dj(i,null))&&n.Fi(),i)},Cqt.mi=function(t,e){return sUt(this,t,e)},gX(n6t,"DelegatingNotifyingListImpl",1996),dIt(143,1,t8t),Cqt.Ei=function(t){return Pkt(this,t)},Cqt.Fi=function(){L7(this)},Cqt.xi=function(){return this.d},Cqt._i=function(){return null},Cqt.gj=function(){return null},Cqt.yi=function(t){return-1},Cqt.zi=function(){return FDt(this)},Cqt.Ai=function(){return null},Cqt.Bi=function(){return PDt(this)},Cqt.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Cqt.hj=function(){return!1},Cqt.Di=function(t){var e,n,r,i,a,o,s,c;switch(this.d){case 1:case 2:switch(t.xi()){case 1:case 2:if(jS(t.Ai())===jS(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0}case 4:if(4===t.xi()&&jS(t.Ai())===jS(this.Ai())&&this.yi(null)==t.yi(null))return o=tKt(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,r=t.Ci(),this.d=6,c=new pet(2),a<=r?(l8(c,this.n),l8(c,t.Bi()),this.g=xst(jw(BNe,1),lWt,25,15,[this.o=a,r+1])):(l8(c,t.Bi()),l8(c,this.n),this.g=xst(jw(BNe,1),lWt,25,15,[this.o=r,a])),this.n=c,o||(this.o=-2-this.o-1),!0;break;case 6:if(4===t.xi()&&jS(t.Ai())===jS(this.Ai())&&this.yi(null)==t.yi(null)){for(o=tKt(this),r=t.Ci(),s=QH(this.g,48),n=O9(BNe,lWt,25,s.length+1,15,1),e=0;e<s.length&&(i=s[e])<=r;)n[e++]=i,++r;for(QH(this.n,15).Vc(e,t.Bi()),n[e]=r;++e<n.length;)n[e]=s[e-1];return this.g=n,o||(this.o=-2-n[0]),!0}}return!1},Cqt.Ib=function(){var t,e,n;switch((n=new lN(JT(this.gm)+"@"+(Zct(this)>>>0).toString(16))).a+=" (eventType: ",this.d){case 1:n.a+="SET";break;case 2:n.a+="UNSET";break;case 3:n.a+="ADD";break;case 5:n.a+="ADD_MANY";break;case 4:n.a+="REMOVE";break;case 6:n.a+="REMOVE_MANY";break;case 7:n.a+="MOVE";break;case 8:n.a+="REMOVING_ADAPTER";break;case 9:n.a+="RESOLVE";break;default:mk(n,this.d)}if(hRt(this)&&(n.a+=", touch: true"),n.a+=", position: ",mk(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",nL(n,this.Ai()),n.a+=", feature: ",nL(n,this._i()),n.a+=", oldValue: ",nL(n,PDt(this)),n.a+=", newValue: ",6==this.d&&rO(this.g,48)){for(e=QH(this.g,48),n.a+="[",t=0;t<e.length;)n.a+=e[t],++t<e.length&&(n.a+=Qqt);n.a+="]"}else nL(n,FDt(this));return n.a+=", isTouch: ",bk(n,hRt(this)),n.a+=", wasSet: ",bk(n,tKt(this)),n.a+=")",n.a},Cqt.d=0,Cqt.e=0,Cqt.f=0,Cqt.j=0,Cqt.k=0,Cqt.o=0,Cqt.p=0,gX(n6t,"NotificationImpl",143),dIt(1167,143,t8t,MY),Cqt._i=function(){return this.a._i()},Cqt.yi=function(t){return this.a.aj()},Cqt.Ai=function(){return this.a.Ai()},gX(n6t,"DelegatingNotifyingListImpl/1",1167),dIt(242,63,l9t,mc,RT),Cqt.Fc=function(t){return CAt(this,QH(t,366))},Cqt.Ei=function(t){return CAt(this,t)},Cqt.Fi=function(){var t,e,n;for(t=0;t<this.i;++t)null!=(n=(e=QH(this.g[t],366)).Ai())&&-1!=e.xi()&&QH(n,92).Ng(e)},Cqt.ri=function(t){return O9(dIe,Hqt,366,t,0,1)},gX(n6t,"NotificationChainImpl",242),dIt(1378,90,e6t),Cqt.Kg=function(){return this.e},Cqt.Mg=function(){return 0!=(1&this.f)},Cqt.f=1,gX(n6t,"NotifierImpl",1378),dIt(1993,63,l9t),Cqt.Vh=function(t,e){return MUt(this,t,e)},Cqt.Wh=function(t){return this.Vh(this.i,t)},Cqt.Xh=function(t,e){jLt(this,t,e)},Cqt.Yh=function(t){tIt(this,t)},Cqt.ai=function(){return!this.bj()},Cqt.$b=function(){c$t(this)},Cqt.Zi=function(t,e,n,r,i){return new OY(this,t,e,n,r,i)},Cqt.$i=function(t){fot(this.Ai(),t)},Cqt._i=function(){return null},Cqt.aj=function(){return-1},Cqt.Ai=function(){return null},Cqt.bj=function(){return!1},Cqt.ij=function(){return!1},Cqt.cj=function(t,e){return e},Cqt.dj=function(t,e){return e},Cqt.ej=function(){return!1},Cqt.fj=function(){return 0!=this.i},Cqt.ii=function(t,e){return Bft(this,t,e)},Cqt.$c=function(t){return uFt(this,t)},Cqt.mi=function(t,e){return uHt(this,t,e)},Cqt.jj=function(t,e){return e},Cqt.kj=function(t,e){return e},Cqt.lj=function(t,e,n){return n},gX(n6t,"NotifyingListImpl",1993),dIt(1166,143,t8t,OY),Cqt._i=function(){return this.a._i()},Cqt.yi=function(t){return this.a.aj()},Cqt.Ai=function(){return this.a.Ai()},gX(n6t,"NotifyingListImpl/1",1166),dIt(953,63,l9t,iP),Cqt.Hc=function(t){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new L$(this),this.a=this.j),RC(this.b,t)):ETt(this,t)},Cqt.ni=function(){return!0},Cqt.a=0,gX(U6t,"AbstractEList/1",953),dIt(295,73,OWt,ZP),gX(U6t,"AbstractEList/BasicIndexOutOfBoundsException",295),dIt(40,1,Vqt,SO),Cqt.Nb=function(t){lz(this,t)},Cqt.mj=function(){if(this.i.j!=this.f)throw Um(new gb)},Cqt.nj=function(){return ymt(this)},Cqt.Ob=function(){return this.e!=this.i.gc()},Cqt.Pb=function(){return this.nj()},Cqt.Qb=function(){VTt(this)},Cqt.e=0,Cqt.f=0,Cqt.g=-1,gX(U6t,"AbstractEList/EIterator",40),dIt(278,40,iVt,rD,jz),Cqt.Qb=function(){VTt(this)},Cqt.Rb=function(t){spt(this,t)},Cqt.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(t){throw rO(t=hst(t),73)?(this.mj(),Um(new bb)):Um(t)}},Cqt.pj=function(t){yvt(this,t)},Cqt.Sb=function(){return 0!=this.e},Cqt.Tb=function(){return this.e},Cqt.Ub=function(){return this.oj()},Cqt.Vb=function(){return this.e-1},Cqt.Wb=function(t){this.pj(t)},gX(U6t,"AbstractEList/EListIterator",278),dIt(341,40,Vqt,iD),Cqt.nj=function(){return wmt(this)},Cqt.Qb=function(){throw Um(new pb)},gX(U6t,"AbstractEList/NonResolvingEIterator",341),dIt(385,278,iVt,aD,DR),Cqt.Rb=function(t){throw Um(new pb)},Cqt.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(t){throw rO(t=hst(t),73)?(this.mj(),Um(new bb)):Um(t)}},Cqt.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(t){throw rO(t=hst(t),73)?(this.mj(),Um(new bb)):Um(t)}},Cqt.Qb=function(){throw Um(new pb)},Cqt.Wb=function(t){throw Um(new pb)},gX(U6t,"AbstractEList/NonResolvingEListIterator",385),dIt(1982,67,r8t),Cqt.Vh=function(t,e){var n,r,i,a,o,s,c,l,u;if(0!=(r=e.gc())){for(n=xlt(this,(l=null==(c=QH(vot(this.a,4),126))?0:c.length)+r),(u=l-t)>0&&ajt(c,t,n,t+r,u),s=e.Kc(),a=0;a<r;++a)WI(n,t+a,Nlt(this,o=s.Pb()));for(Qgt(this,n),i=0;i<r;++i)o=n[t],this.bi(t,o),++t;return!0}return++this.j,!1},Cqt.Wh=function(t){var e,n,r,i,a,o,s,c,l;if(0!=(r=t.gc())){for(e=xlt(this,l=(c=null==(n=QH(vot(this.a,4),126))?0:n.length)+r),s=t.Kc(),a=c;a<l;++a)WI(e,a,Nlt(this,o=s.Pb()));for(Qgt(this,e),i=c;i<l;++i)o=e[i],this.bi(i,o);return!0}return++this.j,!1},Cqt.Xh=function(t,e){var n,r,i,a;n=xlt(this,(i=null==(r=QH(vot(this.a,4),126))?0:r.length)+1),a=Nlt(this,e),t!=i&&ajt(r,t,n,t+1,i-t),LX(n,t,a),Qgt(this,n),this.bi(t,e)},Cqt.Yh=function(t){var e,n,r;WI(e=xlt(this,(r=null==(n=QH(vot(this.a,4),126))?0:n.length)+1),r,Nlt(this,t)),Qgt(this,e),this.bi(r,t)},Cqt.Zh=function(){return new C5(this)},Cqt.$h=function(){return new VG(this)},Cqt._h=function(t){var e,n;if(n=null==(e=QH(vot(this.a,4),126))?0:e.length,t<0||t>n)throw Um(new ZP(t,n));return new Qq(this,t)},Cqt.$b=function(){var t,e;++this.j,e=null==(t=QH(vot(this.a,4),126))?0:t.length,Qgt(this,null),I9(this,e,t)},Cqt.Hc=function(t){var e,n,r,i;if(null!=(e=QH(vot(this.a,4),126)))if(null!=t){for(r=0,i=(n=e).length;r<i;++r)if(Oht(t,n[r]))return!0}else for(r=0,i=(n=e).length;r<i;++r)if(jS(n[r])===jS(t))return!0;return!1},Cqt.Xb=function(t){var e,n;if(t>=(n=null==(e=QH(vot(this.a,4),126))?0:e.length))throw Um(new ZP(t,n));return e[t]},Cqt.Xc=function(t){var e,n,r;if(null!=(e=QH(vot(this.a,4),126)))if(null!=t){for(n=0,r=e.length;n<r;++n)if(Oht(t,e[n]))return n}else for(n=0,r=e.length;n<r;++n)if(jS(e[n])===jS(t))return n;return-1},Cqt.dc=function(){return null==QH(vot(this.a,4),126)},Cqt.Kc=function(){return new k5(this)},Cqt.Yc=function(){return new qG(this)},Cqt.Zc=function(t){var e,n;if(n=null==(e=QH(vot(this.a,4),126))?0:e.length,t<0||t>n)throw Um(new ZP(t,n));return new Rq(this,t)},Cqt.ii=function(t,e){var n,r,i;if(t>=(i=null==(n=Ipt(this))?0:n.length))throw Um(new Sy(o9t+t+s9t+i));if(e>=i)throw Um(new Sy(c9t+e+s9t+i));return r=n[e],t!=e&&(t<e?ajt(n,t,n,t+1,e-t):ajt(n,e+1,n,e,t-e),LX(n,t,r),Qgt(this,n)),r},Cqt.ki=function(t){return QH(vot(this.a,4),126)[t]},Cqt.$c=function(t){return TLt(this,t)},Cqt.mi=function(t,e){var n,r;return r=(n=Ipt(this))[t],WI(n,t,Nlt(this,e)),Qgt(this,n),r},Cqt.gc=function(){var t;return null==(t=QH(vot(this.a,4),126))?0:t.length},Cqt.Pc=function(){var t,e,n;return n=null==(t=QH(vot(this.a,4),126))?0:t.length,e=O9(fIe,n8t,415,n,0,1),n>0&&ajt(t,0,e,0,n),e},Cqt.Qc=function(t){var e,n;return(n=null==(e=QH(vot(this.a,4),126))?0:e.length)>0&&(t.length<n&&(t=Dnt(tlt(t).c,n)),ajt(e,0,t,0,n)),t.length>n&&LX(t,n,null),t},gX(U6t,"ArrayDelegatingEList",1982),dIt(1038,40,Vqt,k5),Cqt.mj=function(){if(this.b.j!=this.f||jS(QH(vot(this.b.a,4),126))!==jS(this.a))throw Um(new gb)},Cqt.Qb=function(){VTt(this),this.a=QH(vot(this.b.a,4),126)},gX(U6t,"ArrayDelegatingEList/EIterator",1038),dIt(706,278,iVt,qG,Rq),Cqt.mj=function(){if(this.b.j!=this.f||jS(QH(vot(this.b.a,4),126))!==jS(this.a))throw Um(new gb)},Cqt.pj=function(t){yvt(this,t),this.a=QH(vot(this.b.a,4),126)},Cqt.Qb=function(){VTt(this),this.a=QH(vot(this.b.a,4),126)},gX(U6t,"ArrayDelegatingEList/EListIterator",706),dIt(1039,341,Vqt,C5),Cqt.mj=function(){if(this.b.j!=this.f||jS(QH(vot(this.b.a,4),126))!==jS(this.a))throw Um(new gb)},gX(U6t,"ArrayDelegatingEList/NonResolvingEIterator",1039),dIt(707,385,iVt,VG,Qq),Cqt.mj=function(){if(this.b.j!=this.f||jS(QH(vot(this.b.a,4),126))!==jS(this.a))throw Um(new gb)},gX(U6t,"ArrayDelegatingEList/NonResolvingEListIterator",707),dIt(606,295,OWt,IL),gX(U6t,"BasicEList/BasicIndexOutOfBoundsException",606),dIt(696,63,l9t,NS),Cqt.Vc=function(t,e){throw Um(new pb)},Cqt.Fc=function(t){throw Um(new pb)},Cqt.Wc=function(t,e){throw Um(new pb)},Cqt.Gc=function(t){throw Um(new pb)},Cqt.$b=function(){throw Um(new pb)},Cqt.qi=function(t){throw Um(new pb)},Cqt.Kc=function(){return this.Zh()},Cqt.Yc=function(){return this.$h()},Cqt.Zc=function(t){return this._h(t)},Cqt.ii=function(t,e){throw Um(new pb)},Cqt.ji=function(t,e){throw Um(new pb)},Cqt.$c=function(t){throw Um(new pb)},Cqt.Mc=function(t){throw Um(new pb)},Cqt._c=function(t,e){throw Um(new pb)},gX(U6t,"BasicEList/UnmodifiableEList",696),dIt(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),Cqt.Vc=function(t,e){qM(this,t,QH(e,42))},Cqt.Fc=function(t){return iF(this,QH(t,42))},Cqt.Jc=function(t){t5(this,t)},Cqt.Xb=function(t){return QH(Xet(this.c,t),133)},Cqt.ii=function(t,e){return QH(this.c.ii(t,e),42)},Cqt.ji=function(t,e){VM(this,t,QH(e,42))},Cqt.Lc=function(){return new D$(null,new f1(this,16))},Cqt.$c=function(t){return QH(this.c.$c(t),42)},Cqt._c=function(t,e){return aX(this,t,QH(e,42))},Cqt.ad=function(t){Rit(this,t)},Cqt.Nc=function(){return new f1(this,16)},Cqt.Oc=function(){return new D$(null,new f1(this,16))},Cqt.Wc=function(t,e){return this.c.Wc(t,e)},Cqt.Gc=function(t){return this.c.Gc(t)},Cqt.$b=function(){this.c.$b()},Cqt.Hc=function(t){return this.c.Hc(t)},Cqt.Ic=function(t){return sst(this.c,t)},Cqt.qj=function(){var t,e;if(null==this.d){for(this.d=O9(sIe,i8t,63,2*this.f+1,0,1),e=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)Bbt(this,QH(t.nj(),133));this.e=e}},Cqt.Fb=function(t){return MR(this,t)},Cqt.Hb=function(){return Cst(this.c)},Cqt.Xc=function(t){return this.c.Xc(t)},Cqt.rj=function(){this.c=new cm(this)},Cqt.dc=function(){return 0==this.f},Cqt.Kc=function(){return this.c.Kc()},Cqt.Yc=function(){return this.c.Yc()},Cqt.Zc=function(t){return this.c.Zc(t)},Cqt.sj=function(){return S9(this)},Cqt.tj=function(t,e,n){return new CH(t,e,n)},Cqt.uj=function(){return new bc},Cqt.Mc=function(t){return lrt(this,t)},Cqt.gc=function(){return this.f},Cqt.bd=function(t,e){return new s1(this.c,t,e)},Cqt.Pc=function(){return this.c.Pc()},Cqt.Qc=function(t){return this.c.Qc(t)},Cqt.Ib=function(){return Ydt(this.c)},Cqt.e=0,Cqt.f=0,gX(U6t,"BasicEMap",705),dIt(1033,63,l9t,cm),Cqt.bi=function(t,e){Sb(this,QH(e,133))},Cqt.ei=function(t,e,n){var r;++(r=this,QH(e,133),r).a.e},Cqt.fi=function(t,e){Lb(this,QH(e,133))},Cqt.gi=function(t,e,n){XN(this,QH(e,133),QH(n,133))},Cqt.di=function(t,e){aot(this.a)},gX(U6t,"BasicEMap/1",1033),dIt(1034,63,l9t,bc),Cqt.ri=function(t){return O9(pIe,a8t,612,t,0,1)},gX(U6t,"BasicEMap/2",1034),dIt(1035,Zqt,tVt,lm),Cqt.$b=function(){this.a.c.$b()},Cqt.Hc=function(t){return rpt(this.a,t)},Cqt.Kc=function(){return 0==this.a.f?(dF(),AIe.a):new QT(this.a)},Cqt.Mc=function(t){var e;return e=this.a.f,Xpt(this.a,t),this.a.f!=e},Cqt.gc=function(){return this.a.f},gX(U6t,"BasicEMap/3",1035),dIt(1036,28,Jqt,um),Cqt.$b=function(){this.a.c.$b()},Cqt.Hc=function(t){return WFt(this.a,t)},Cqt.Kc=function(){return 0==this.a.f?(dF(),AIe.a):new UT(this.a)},Cqt.gc=function(){return this.a.f},gX(U6t,"BasicEMap/4",1036),dIt(1037,Zqt,tVt,hm),Cqt.$b=function(){this.a.c.$b()},Cqt.Hc=function(t){var e,n,r,i,a,o,s,c,l;if(this.a.f>0&&rO(t,42)&&(this.a.qj(),i=null==(s=(c=QH(t,42)).cd())?0:Zct(s),a=tP(this.a,i),e=this.a.d[a]))for(n=QH(e.g,367),l=e.i,o=0;o<l;++o)if((r=n[o]).Sh()==i&&r.Fb(c))return!0;return!1},Cqt.Kc=function(){return 0==this.a.f?(dF(),AIe.a):new pW(this.a)},Cqt.Mc=function(t){return BIt(this,t)},Cqt.gc=function(){return this.a.f},gX(U6t,"BasicEMap/5",1037),dIt(613,1,Vqt,pW),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return-1!=this.b},Cqt.Pb=function(){var t;if(this.f.e!=this.c)throw Um(new gb);if(-1==this.b)throw Um(new bb);return this.d=this.a,this.e=this.b,oTt(this),t=QH(this.f.d[this.d].g[this.e],133),this.vj(t)},Cqt.Qb=function(){if(this.f.e!=this.c)throw Um(new gb);if(-1==this.e)throw Um(new db);this.f.c.Mc(Xet(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b},Cqt.vj=function(t){return t},Cqt.a=0,Cqt.b=-1,Cqt.c=0,Cqt.d=0,Cqt.e=0,gX(U6t,"BasicEMap/BasicEMapIterator",613),dIt(1031,613,Vqt,QT),Cqt.vj=function(t){return t.cd()},gX(U6t,"BasicEMap/BasicEMapKeyIterator",1031),dIt(1032,613,Vqt,UT),Cqt.vj=function(t){return t.dd()},gX(U6t,"BasicEMap/BasicEMapValueIterator",1032),dIt(1030,1,Yqt,fm),Cqt.wc=function(t){Zat(this,t)},Cqt.yc=function(t,e,n){return Jft(this,t,e,n)},Cqt.$b=function(){this.a.c.$b()},Cqt._b=function(t){return QS(this,t)},Cqt.uc=function(t){return WFt(this.a,t)},Cqt.vc=function(){return _9(this.a)},Cqt.Fb=function(t){return MR(this.a,t)},Cqt.xc=function(t){return ipt(this.a,t)},Cqt.Hb=function(){return Cst(this.a.c)},Cqt.dc=function(){return 0==this.a.f},Cqt.ec=function(){return B9(this.a)},Cqt.zc=function(t,e){return mTt(this.a,t,e)},Cqt.Bc=function(t){return Xpt(this.a,t)},Cqt.gc=function(){return this.a.f},Cqt.Ib=function(){return Ydt(this.a.c)},Cqt.Cc=function(){return x9(this.a)},gX(U6t,"BasicEMap/DelegatingMap",1030),dIt(612,1,{42:1,133:1,612:1},CH),Cqt.Fb=function(t){var e;return!!rO(t,42)&&(e=QH(t,42),(null!=this.b?Oht(this.b,e.cd()):jS(this.b)===jS(e.cd()))&&(null!=this.c?Oht(this.c,e.dd()):jS(this.c)===jS(e.dd())))},Cqt.Sh=function(){return this.a},Cqt.cd=function(){return this.b},Cqt.dd=function(){return this.c},Cqt.Hb=function(){return this.a^(null==this.c?0:Zct(this.c))},Cqt.Th=function(t){this.a=t},Cqt.Uh=function(t){throw Um(new sb)},Cqt.ed=function(t){var e;return e=this.c,this.c=t,e},Cqt.Ib=function(){return this.b+"->"+this.c},Cqt.a=0;var AIe,pIe=gX(U6t,"BasicEMap/EntryImpl",612);dIt(536,1,{},lc),gX(U6t,"BasicEMap/View",536),dIt(768,1,{}),Cqt.Fb=function(t){return OIt((CW(),cne),t)},Cqt.Hb=function(){return Qct((CW(),cne))},Cqt.Ib=function(){return MEt((CW(),cne))},gX(U6t,"ECollections/BasicEmptyUnmodifiableEList",768),dIt(1312,1,iVt,vc),Cqt.Nb=function(t){lz(this,t)},Cqt.Rb=function(t){throw Um(new pb)},Cqt.Ob=function(){return!1},Cqt.Sb=function(){return!1},Cqt.Pb=function(){throw Um(new bb)},Cqt.Tb=function(){return 0},Cqt.Ub=function(){throw Um(new bb)},Cqt.Vb=function(){return-1},Cqt.Qb=function(){throw Um(new pb)},Cqt.Wb=function(t){throw Um(new pb)},gX(U6t,"ECollections/BasicEmptyUnmodifiableEList/1",1312),dIt(1310,768,{20:1,14:1,15:1,58:1},Tv),Cqt.Vc=function(t,e){Mk()},Cqt.Fc=function(t){return Ok()},Cqt.Wc=function(t,e){return Nk()},Cqt.Gc=function(t){return Dk()},Cqt.$b=function(){Fk()},Cqt.Hc=function(t){return!1},Cqt.Ic=function(t){return!1},Cqt.Jc=function(t){t5(this,t)},Cqt.Xb=function(t){return bL((CW(),t)),null},Cqt.Xc=function(t){return-1},Cqt.dc=function(){return!0},Cqt.Kc=function(){return this.a},Cqt.Yc=function(){return this.a},Cqt.Zc=function(t){return this.a},Cqt.ii=function(t,e){return Pk()},Cqt.ji=function(t,e){Rk()},Cqt.Lc=function(){return new D$(null,new f1(this,16))},Cqt.$c=function(t){return Qk()},Cqt.Mc=function(t){return Uk()},Cqt._c=function(t,e){return Hk()},Cqt.gc=function(){return 0},Cqt.ad=function(t){Rit(this,t)},Cqt.Nc=function(){return new f1(this,16)},Cqt.Oc=function(){return new D$(null,new f1(this,16))},Cqt.bd=function(t,e){return CW(),new s1(cne,t,e)},Cqt.Pc=function(){return rG((CW(),cne))},Cqt.Qc=function(t){return CW(),Tvt(cne,t)},gX(U6t,"ECollections/EmptyUnmodifiableEList",1310),dIt(1311,768,{20:1,14:1,15:1,58:1,589:1},kv),Cqt.Vc=function(t,e){Mk()},Cqt.Fc=function(t){return Ok()},Cqt.Wc=function(t,e){return Nk()},Cqt.Gc=function(t){return Dk()},Cqt.$b=function(){Fk()},Cqt.Hc=function(t){return!1},Cqt.Ic=function(t){return!1},Cqt.Jc=function(t){t5(this,t)},Cqt.Xb=function(t){return bL((CW(),t)),null},Cqt.Xc=function(t){return-1},Cqt.dc=function(){return!0},Cqt.Kc=function(){return this.a},Cqt.Yc=function(){return this.a},Cqt.Zc=function(t){return this.a},Cqt.ii=function(t,e){return Pk()},Cqt.ji=function(t,e){Rk()},Cqt.Lc=function(){return new D$(null,new f1(this,16))},Cqt.$c=function(t){return Qk()},Cqt.Mc=function(t){return Uk()},Cqt._c=function(t,e){return Hk()},Cqt.gc=function(){return 0},Cqt.ad=function(t){Rit(this,t)},Cqt.Nc=function(){return new f1(this,16)},Cqt.Oc=function(){return new D$(null,new f1(this,16))},Cqt.bd=function(t,e){return CW(),new s1(cne,t,e)},Cqt.Pc=function(){return rG((CW(),cne))},Cqt.Qc=function(t){return CW(),Tvt(cne,t)},Cqt.sj=function(){return CW(),CW(),lne},gX(U6t,"ECollections/EmptyUnmodifiableEMap",1311);var gIe,mIe=h$(U6t,"Enumerator");dIt(281,1,{281:1},rPt),Cqt.Fb=function(t){var e;return this===t||!!rO(t,281)&&(e=QH(t,281),this.f==e.f&&gK(this.i,e.i)&&pK(this.a,0!=(256&this.f)?0!=(256&e.f)?e.a:null:0!=(256&e.f)?null:e.a)&&pK(this.d,e.d)&&pK(this.g,e.g)&&pK(this.e,e.e)&&Emt(this,e))},Cqt.Hb=function(){return this.f},Cqt.Ib=function(){return CQt(this)},Cqt.f=0;var bIe,vIe,yIe,wIe=0,TIe=0,kIe=0,CIe=0,EIe=0,xIe=0,_Ie=0,BIe=0,SIe=0,LIe=0,IIe=0,MIe=0,OIe=0;gX(U6t,"URI",281),dIt(1091,43,tYt,Cv),Cqt.zc=function(t,e){return QH(mZ(this,CF(t),QH(e,281)),281)},gX(U6t,"URI/URICache",1091),dIt(497,63,l9t,fc,nK),Cqt.hi=function(){return!0},gX(U6t,"UniqueEList",497),dIt(581,60,UVt,I7),gX(U6t,"WrappedException",581);var NIe,DIe=h$(j5t,c8t),FIe=h$(j5t,l8t),PIe=h$(j5t,u8t),RIe=h$(j5t,h8t),QIe=h$(j5t,f8t),UIe=h$(j5t,"EClass"),HIe=h$(j5t,"EDataType");dIt(1183,43,tYt,Ev),Cqt.xc=function(t){return GS(t)?CJ(this,t):HS(SY(this.f,t))},gX(j5t,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var jIe,$Ie,KIe=h$(j5t,"EEnum"),GIe=h$(j5t,d8t),zIe=h$(j5t,A8t),XIe=h$(j5t,p8t),qIe=h$(j5t,g8t),VIe=h$(j5t,m8t);dIt(1029,1,{},hc),Cqt.Ib=function(){return"NIL"},gX(j5t,"EStructuralFeature/Internal/DynamicValueHolder/1",1029),dIt(1028,43,tYt,xv),Cqt.xc=function(t){return GS(t)?CJ(this,t):HS(SY(this.f,t))},gX(j5t,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var WIe,YIe,JIe,ZIe,tMe,eMe,nMe,rMe,iMe,aMe,oMe,sMe,cMe,lMe,uMe,hMe,fMe,dMe,AMe,pMe,gMe,mMe,bMe,vMe,yMe,wMe,TMe,kMe,CMe,EMe,xMe,_Me=h$(j5t,b8t),BMe=h$(j5t,"EValidator/PatternMatcher"),SMe=h$(v8t,"FeatureMap/Entry");dIt(535,1,{72:1},xS),Cqt.ak=function(){return this.a},Cqt.dd=function(){return this.b},gX(h6t,"BasicEObjectImpl/1",535),dIt(1027,1,y8t,_S),Cqt.Wj=function(t){return X5(this.a,this.b,t)},Cqt.fj=function(){return YJ(this.a,this.b)},Cqt.Wb=function(t){MJ(this.a,this.b,t)},Cqt.Xj=function(){Eq(this.a,this.b)},gX(h6t,"BasicEObjectImpl/4",1027),dIt(1983,1,{108:1}),Cqt.bk=function(t){this.e=0==t?TMe:O9(Lte,Hqt,1,t,5,1)},Cqt.Ch=function(t){return this.e[t]},Cqt.Dh=function(t,e){this.e[t]=e},Cqt.Eh=function(t){this.e[t]=null},Cqt.ck=function(){return this.c},Cqt.dk=function(){throw Um(new pb)},Cqt.ek=function(){throw Um(new pb)},Cqt.fk=function(){return this.d},Cqt.gk=function(){return null!=this.e},Cqt.hk=function(t){this.c=t},Cqt.ik=function(t){throw Um(new pb)},Cqt.jk=function(t){throw Um(new pb)},Cqt.kk=function(t){this.d=t},gX(h6t,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),dIt(185,1983,{108:1},Dh),Cqt.dk=function(){return this.a},Cqt.ek=function(){return this.b},Cqt.ik=function(t){this.a=t},Cqt.jk=function(t){this.b=t},gX(h6t,"BasicEObjectImpl/EPropertiesHolderImpl",185),dIt(506,97,u6t,yc),Cqt.Kg=function(){return this.f},Cqt.Pg=function(){return this.k},Cqt.Rg=function(t,e){this.g=t,this.i=e},Cqt.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},Cqt.Vg=function(){return this.i},Cqt.Mg=function(){return 0!=(1&this.j)},Cqt.eh=function(){return this.g},Cqt.kh=function(){return 0!=(4&this.j)},Cqt.ph=function(){return!this.k&&(this.k=new Dh),this.k},Cqt.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},Cqt.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},Cqt.zh=function(){return(qX(),JIe).S},Cqt.i=0,Cqt.j=1,gX(h6t,"EObjectImpl",506),dIt(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},yj),Cqt.Ch=function(t){return this.e[t]},Cqt.Dh=function(t,e){this.e[t]=e},Cqt.Eh=function(t){this.e[t]=null},Cqt.Tg=function(){return this.d},Cqt.Yg=function(t){return LAt(this.d,t)},Cqt.$g=function(){return this.d},Cqt.dh=function(){return null!=this.e},Cqt.ph=function(){return!this.k&&(this.k=new wc),this.k},Cqt.th=function(t){this.d=t},Cqt.yh=function(){var t;return null==this.e&&(t=hX(this.d),this.e=0==t?kMe:O9(Lte,Hqt,1,t,5,1)),this},Cqt.Ah=function(){return 0},gX(h6t,"DynamicEObjectImpl",780),dIt(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},l$),Cqt.Fb=function(t){return this===t},Cqt.Hb=function(){return EN(this)},Cqt.th=function(t){this.d=t,this.b=ONt(t,"key"),this.c=ONt(t,T6t)},Cqt.Sh=function(){var t;return-1==this.a&&(t=W7(this,this.b),this.a=null==t?0:Zct(t)),this.a},Cqt.cd=function(){return W7(this,this.b)},Cqt.dd=function(){return W7(this,this.c)},Cqt.Th=function(t){this.a=t},Cqt.Uh=function(t){MJ(this,this.b,t)},Cqt.ed=function(t){var e;return e=W7(this,this.c),MJ(this,this.c,t),e},Cqt.a=0,gX(h6t,"DynamicEObjectImpl/BasicEMapEntry",1376),dIt(1377,1,{108:1},wc),Cqt.bk=function(t){throw Um(new pb)},Cqt.Ch=function(t){throw Um(new pb)},Cqt.Dh=function(t,e){throw Um(new pb)},Cqt.Eh=function(t){throw Um(new pb)},Cqt.ck=function(){throw Um(new pb)},Cqt.dk=function(){return this.a},Cqt.ek=function(){return this.b},Cqt.fk=function(){return this.c},Cqt.gk=function(){throw Um(new pb)},Cqt.hk=function(t){throw Um(new pb)},Cqt.ik=function(t){this.a=t},Cqt.jk=function(t){this.b=t},Cqt.kk=function(t){this.c=t},gX(h6t,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),dIt(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},Tc),Cqt.Qg=function(t){return fwt(this,t)},Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new WD((pqt(),bMe),KMe,this)),this.b):(!this.b&&(this.b=new WD((pqt(),bMe),KMe,this)),S9(this.b));case 3:return hZ(this);case 4:return!this.a&&(this.a=new LO(LLe,this,4)),this.a;case 5:return!this.c&&(this.c=new DO(LLe,this,5)),this.c}return K8(this,t-hX((pqt(),ZIe)),eet(QH(vot(this,16),26)||ZIe,t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 3:return this.Cb&&(n=(r=this.Db>>16)>=0?fwt(this,n):this.Cb.ih(this,-1-r,null,n)),qK(this,QH(t,147),n)}return QH(eet(QH(vot(this,16),26)||(pqt(),ZIe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),ZIe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 2:return!this.b&&(this.b=new WD((pqt(),bMe),KMe,this)),QR(this.b,t,n);case 3:return qK(this,null,n);case 4:return!this.a&&(this.a=new LO(LLe,this,4)),Rmt(this.a,t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),ZIe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),ZIe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!hZ(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return B4(this,t-hX((pqt(),ZIe)),eet(QH(vot(this,16),26)||ZIe,t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void p$(this,CF(e));case 2:return!this.b&&(this.b=new WD((pqt(),bMe),KMe,this)),void tot(this.b,e);case 3:return void SNt(this,QH(e,147));case 4:return!this.a&&(this.a=new LO(LLe,this,4)),c$t(this.a),!this.a&&(this.a=new LO(LLe,this,4)),void pX(this.a,QH(e,14));case 5:return!this.c&&(this.c=new DO(LLe,this,5)),c$t(this.c),!this.c&&(this.c=new DO(LLe,this,5)),void pX(this.c,QH(e,14))}Mdt(this,t-hX((pqt(),ZIe)),eet(QH(vot(this,16),26)||ZIe,t),e)},Cqt.zh=function(){return pqt(),ZIe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void Urt(this,null);case 2:return!this.b&&(this.b=new WD((pqt(),bMe),KMe,this)),void this.b.c.$b();case 3:return void SNt(this,null);case 4:return!this.a&&(this.a=new LO(LLe,this,4)),void c$t(this.a);case 5:return!this.c&&(this.c=new DO(LLe,this,5)),void c$t(this.c)}jht(this,t-hX((pqt(),ZIe)),eet(QH(vot(this,16),26)||ZIe,t))},Cqt.Ib=function(){return qht(this)},Cqt.d=null,gX(h6t,"EAnnotationImpl",510),dIt(151,705,w8t,b8),Cqt.Xh=function(t,e){JI(this,t,QH(e,42))},Cqt.lk=function(t,e){return RR(this,QH(t,42),e)},Cqt.pi=function(t){return QH(QH(this.c,69).pi(t),133)},Cqt.Zh=function(){return QH(this.c,69).Zh()},Cqt.$h=function(){return QH(this.c,69).$h()},Cqt._h=function(t){return QH(this.c,69)._h(t)},Cqt.mk=function(t,e){return QR(this,t,e)},Cqt.Wj=function(t){return QH(this.c,76).Wj(t)},Cqt.rj=function(){},Cqt.fj=function(){return QH(this.c,76).fj()},Cqt.tj=function(t,e,n){var r;return(r=QH(Get(this.b).Nh().Jh(this.b),133)).Th(t),r.Uh(e),r.ed(n),r},Cqt.uj=function(){return new _m(this)},Cqt.Wb=function(t){tot(this,t)},Cqt.Xj=function(){QH(this.c,76).Xj()},gX(v8t,"EcoreEMap",151),dIt(158,151,w8t,WD),Cqt.qj=function(){var t,e,n,r,i;if(null==this.d){for(i=O9(sIe,i8t,63,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)!(t=i[r=((e=QH(n.nj(),133)).Sh()&Dqt)%i.length])&&(t=i[r]=new _m(this)),t.Fc(e);this.d=i}},gX(h6t,"EAnnotationImpl/1",158),dIt(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),0!=(256&this.Bb);case 3:return cN(),0!=(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),!!this.$j();case 7:return cN(),this.s>=1;case 8:return e?Bwt(this):this.r;case 9:return this.q}return K8(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 9:return AX(this,n)}return QH(eet(QH(vot(this,16),26)||this.zh(),e),66).Nj().Rj(this,ugt(this),e-hX(this.zh()),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==bq(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==bq(this.q).i)}return B4(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void this.Lh(CF(e));case 2:return void Wht(this,Hy(TF(e)));case 3:return void Zht(this,Hy(TF(e)));case 4:return void Mnt(this,QH(e,19).a);case 5:return void this.ok(QH(e,19).a);case 8:return void But(this,QH(e,138));case 9:return void((n=HCt(this,QH(e,87),null))&&n.Fi())}Mdt(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e)},Cqt.zh=function(){return pqt(),yMe},Cqt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void this.Lh(null);case 2:return void Wht(this,!0);case 3:return void Zht(this,!0);case 4:return void Mnt(this,0);case 5:return void this.ok(1);case 8:return void But(this,null);case 9:return void((e=HCt(this,null,null))&&e.Fi())}jht(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.Gh=function(){Bwt(this),this.Bb|=1},Cqt.Yj=function(){return Bwt(this)},Cqt.Zj=function(){return this.t},Cqt.$j=function(){var t;return(t=this.t)>1||-1==t},Cqt.hi=function(){return 0!=(512&this.Bb)},Cqt.nk=function(t,e){return xht(this,t,e)},Cqt.ok=function(t){Ont(this,t)},Cqt.Ib=function(){return PLt(this)},Cqt.s=0,Cqt.t=1,gX(h6t,"ETypedElementImpl",284),dIt(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),Cqt.Qg=function(t){return Oyt(this,t)},Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),0!=(256&this.Bb);case 3:return cN(),0!=(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),!!this.$j();case 7:return cN(),this.s>=1;case 8:return e?Bwt(this):this.r;case 9:return this.q;case 10:return cN(),0!=(this.Bb&y6t);case 11:return cN(),0!=(this.Bb&C8t);case 12:return cN(),0!=(this.Bb&RWt);case 13:return this.j;case 14:return jOt(this);case 15:return cN(),0!=(this.Bb&k8t);case 16:return cN(),0!=(this.Bb&lVt);case 17:return dZ(this)}return K8(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 17:return this.Cb&&(n=(r=this.Db>>16)>=0?Oyt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,17,n)}return QH(eet(QH(vot(this,16),26)||this.zh(),e),66).Nj().Qj(this,ugt(this),e-hX(this.zh()),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 9:return AX(this,n);case 17:return kQt(this,null,17,n)}return QH(eet(QH(vot(this,16),26)||this.zh(),e),66).Nj().Rj(this,ugt(this),e-hX(this.zh()),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==bq(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==bq(this.q).i);case 10:return 0==(this.Bb&y6t);case 11:return 0!=(this.Bb&C8t);case 12:return 0!=(this.Bb&RWt);case 13:return null!=this.j;case 14:return null!=jOt(this);case 15:return 0!=(this.Bb&k8t);case 16:return 0!=(this.Bb&lVt);case 17:return!!dZ(this)}return B4(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void WZ(this,CF(e));case 2:return void Wht(this,Hy(TF(e)));case 3:return void Zht(this,Hy(TF(e)));case 4:return void Mnt(this,QH(e,19).a);case 5:return void this.ok(QH(e,19).a);case 8:return void But(this,QH(e,138));case 9:return void((n=HCt(this,QH(e,87),null))&&n.Fi());case 10:return void Lft(this,Hy(TF(e)));case 11:return void Oft(this,Hy(TF(e)));case 12:return void Ift(this,Hy(TF(e)));case 13:return void PS(this,CF(e));case 15:return void Mft(this,Hy(TF(e)));case 16:return void jft(this,Hy(TF(e)))}Mdt(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e)},Cqt.zh=function(){return pqt(),vMe},Cqt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return rO(this.Cb,88)&&LBt(E5(QH(this.Cb,88)),4),void Oit(this,null);case 2:return void Wht(this,!0);case 3:return void Zht(this,!0);case 4:return void Mnt(this,0);case 5:return void this.ok(1);case 8:return void But(this,null);case 9:return void((e=HCt(this,null,null))&&e.Fi());case 10:return void Lft(this,!0);case 11:return void Oft(this,!1);case 12:return void Ift(this,!1);case 13:return this.i=null,void ait(this,null);case 15:return void Mft(this,!1);case 16:return void jft(this,!1)}jht(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.Gh=function(){vV(Q7((B_t(),WMe),this)),Bwt(this),this.Bb|=1},Cqt.Gj=function(){return this.f},Cqt.zj=function(){return jOt(this)},Cqt.Hj=function(){return dZ(this)},Cqt.Lj=function(){return null},Cqt.pk=function(){return this.k},Cqt.aj=function(){return this.n},Cqt.Mj=function(){return skt(this)},Cqt.Nj=function(){var t,e,n,r,i,a,o,s,c;return this.p||((null==(n=dZ(this)).i&&jUt(n),n.i).length,(r=this.Lj())&&hX(dZ(r)),t=(o=(i=Bwt(this)).Bj())?0!=(1&o.i)?o==SNe?yee:o==BNe?Lee:o==ONe?_ee:o==MNe?xee:o==LNe?Fee:o==NNe?Ree:o==INe?kee:Eee:o:null,e=jOt(this),s=i.zj(),fdt(this),0!=(this.Bb&lVt)&&((a=bTt((B_t(),WMe),n))&&a!=this||(a=Y1(Q7(WMe,this))))?this.p=new SS(this,a):this.$j()?this.rk()?r?0!=(this.Bb&k8t)?t?this.sk()?this.p=new uW(47,t,this,r):this.p=new uW(5,t,this,r):this.sk()?this.p=new f3(46,this,r):this.p=new f3(4,this,r):t?this.sk()?this.p=new uW(49,t,this,r):this.p=new uW(7,t,this,r):this.sk()?this.p=new f3(48,this,r):this.p=new f3(6,this,r):0!=(this.Bb&k8t)?t?t==Hte?this.p=new EH(50,zLe,this):this.sk()?this.p=new EH(43,t,this):this.p=new EH(1,t,this):this.sk()?this.p=new DY(42,this):this.p=new DY(0,this):t?t==Hte?this.p=new EH(41,zLe,this):this.sk()?this.p=new EH(45,t,this):this.p=new EH(3,t,this):this.sk()?this.p=new DY(44,this):this.p=new DY(2,this):rO(i,148)?t==SMe?this.p=new DY(40,this):0!=(512&this.Bb)?0!=(this.Bb&k8t)?this.p=t?new EH(9,t,this):new DY(8,this):this.p=t?new EH(11,t,this):new DY(10,this):0!=(this.Bb&k8t)?this.p=t?new EH(13,t,this):new DY(12,this):this.p=t?new EH(15,t,this):new DY(14,this):r?(c=r.t)>1||-1==c?this.sk()?0!=(this.Bb&k8t)?this.p=t?new uW(25,t,this,r):new f3(24,this,r):this.p=t?new uW(27,t,this,r):new f3(26,this,r):0!=(this.Bb&k8t)?this.p=t?new uW(29,t,this,r):new f3(28,this,r):this.p=t?new uW(31,t,this,r):new f3(30,this,r):this.sk()?0!=(this.Bb&k8t)?this.p=t?new uW(33,t,this,r):new f3(32,this,r):this.p=t?new uW(35,t,this,r):new f3(34,this,r):0!=(this.Bb&k8t)?this.p=t?new uW(37,t,this,r):new f3(36,this,r):this.p=t?new uW(39,t,this,r):new f3(38,this,r):this.sk()?0!=(this.Bb&k8t)?this.p=t?new EH(17,t,this):new DY(16,this):this.p=t?new EH(19,t,this):new DY(18,this):0!=(this.Bb&k8t)?this.p=t?new EH(21,t,this):new DY(20,this):this.p=t?new EH(23,t,this):new DY(22,this):this.qk()?this.sk()?this.p=new xH(QH(i,26),this,r):this.p=new mJ(QH(i,26),this,r):rO(i,148)?t==SMe?this.p=new DY(40,this):0!=(this.Bb&k8t)?this.p=t?new JK(e,s,this,(UAt(),o==BNe?UMe:o==SNe?DMe:o==LNe?HMe:o==ONe?QMe:o==MNe?RMe:o==NNe?$Me:o==INe?FMe:o==_Ne?PMe:jMe)):new dW(QH(i,148),e,s,this):this.p=t?new YK(e,s,this,(UAt(),o==BNe?UMe:o==SNe?DMe:o==LNe?HMe:o==ONe?QMe:o==MNe?RMe:o==NNe?$Me:o==INe?FMe:o==_Ne?PMe:jMe)):new fW(QH(i,148),e,s,this):this.rk()?r?0!=(this.Bb&k8t)?this.sk()?this.p=new MH(QH(i,26),this,r):this.p=new IH(QH(i,26),this,r):this.sk()?this.p=new LH(QH(i,26),this,r):this.p=new _H(QH(i,26),this,r):0!=(this.Bb&k8t)?this.sk()?this.p=new tF(QH(i,26),this):this.p=new ZD(QH(i,26),this):this.sk()?this.p=new JD(QH(i,26),this):this.p=new YD(QH(i,26),this):this.sk()?r?0!=(this.Bb&k8t)?this.p=new OH(QH(i,26),this,r):this.p=new BH(QH(i,26),this,r):0!=(this.Bb&k8t)?this.p=new nF(QH(i,26),this):this.p=new eF(QH(i,26),this):r?0!=(this.Bb&k8t)?this.p=new NH(QH(i,26),this,r):this.p=new SH(QH(i,26),this,r):0!=(this.Bb&k8t)?this.p=new rF(QH(i,26),this):this.p=new rK(QH(i,26),this)),this.p},Cqt.Ij=function(){return 0!=(this.Bb&y6t)},Cqt.qk=function(){return!1},Cqt.rk=function(){return!1},Cqt.Jj=function(){return 0!=(this.Bb&lVt)},Cqt.Oj=function(){return ctt(this)},Cqt.sk=function(){return!1},Cqt.Kj=function(){return 0!=(this.Bb&k8t)},Cqt.tk=function(t){this.k=t},Cqt.Lh=function(t){WZ(this,t)},Cqt.Ib=function(){return TPt(this)},Cqt.e=!1,Cqt.n=0,gX(h6t,"EStructuralFeatureImpl",449),dIt(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},Bv),Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),0!=(256&this.Bb);case 3:return cN(),0!=(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),!!OSt(this);case 7:return cN(),this.s>=1;case 8:return e?Bwt(this):this.r;case 9:return this.q;case 10:return cN(),0!=(this.Bb&y6t);case 11:return cN(),0!=(this.Bb&C8t);case 12:return cN(),0!=(this.Bb&RWt);case 13:return this.j;case 14:return jOt(this);case 15:return cN(),0!=(this.Bb&k8t);case 16:return cN(),0!=(this.Bb&lVt);case 17:return dZ(this);case 18:return cN(),0!=(this.Bb&l6t);case 19:return e?ost(this):O6(this)}return K8(this,t-hX((pqt(),tMe)),eet(QH(vot(this,16),26)||tMe,t),e,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return OSt(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==bq(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==bq(this.q).i);case 10:return 0==(this.Bb&y6t);case 11:return 0!=(this.Bb&C8t);case 12:return 0!=(this.Bb&RWt);case 13:return null!=this.j;case 14:return null!=jOt(this);case 15:return 0!=(this.Bb&k8t);case 16:return 0!=(this.Bb&lVt);case 17:return!!dZ(this);case 18:return 0!=(this.Bb&l6t);case 19:return!!O6(this)}return B4(this,t-hX((pqt(),tMe)),eet(QH(vot(this,16),26)||tMe,t))},Cqt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void WZ(this,CF(e));case 2:return void Wht(this,Hy(TF(e)));case 3:return void Zht(this,Hy(TF(e)));case 4:return void Mnt(this,QH(e,19).a);case 5:return void KT(this,QH(e,19).a);case 8:return void But(this,QH(e,138));case 9:return void((n=HCt(this,QH(e,87),null))&&n.Fi());case 10:return void Lft(this,Hy(TF(e)));case 11:return void Oft(this,Hy(TF(e)));case 12:return void Ift(this,Hy(TF(e)));case 13:return void PS(this,CF(e));case 15:return void Mft(this,Hy(TF(e)));case 16:return void jft(this,Hy(TF(e)));case 18:return void $ft(this,Hy(TF(e)))}Mdt(this,t-hX((pqt(),tMe)),eet(QH(vot(this,16),26)||tMe,t),e)},Cqt.zh=function(){return pqt(),tMe},Cqt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return rO(this.Cb,88)&&LBt(E5(QH(this.Cb,88)),4),void Oit(this,null);case 2:return void Wht(this,!0);case 3:return void Zht(this,!0);case 4:return void Mnt(this,0);case 5:return this.b=0,void Ont(this,1);case 8:return void But(this,null);case 9:return void((e=HCt(this,null,null))&&e.Fi());case 10:return void Lft(this,!0);case 11:return void Oft(this,!1);case 12:return void Ift(this,!1);case 13:return this.i=null,void ait(this,null);case 15:return void Mft(this,!1);case 16:return void jft(this,!1);case 18:return void $ft(this,!1)}jht(this,t-hX((pqt(),tMe)),eet(QH(vot(this,16),26)||tMe,t))},Cqt.Gh=function(){ost(this),vV(Q7((B_t(),WMe),this)),Bwt(this),this.Bb|=1},Cqt.$j=function(){return OSt(this)},Cqt.nk=function(t,e){return this.b=0,this.a=null,xht(this,t,e)},Cqt.ok=function(t){KT(this,t)},Cqt.Ib=function(){var t;return 0!=(64&this.Db)?TPt(this):((t=new lN(TPt(this))).a+=" (iD: ",bk(t,0!=(this.Bb&l6t)),t.a+=")",t.a)},Cqt.b=0,gX(h6t,"EAttributeImpl",322),dIt(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),Cqt.uk=function(t){return t.Tg()==this},Cqt.Qg=function(t){return uyt(this,t)},Cqt.Rg=function(t,e){this.w=null,this.Db=e<<16|255&this.Db,this.Cb=t},Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nyt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?Get(this):fZ(this);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),this.A}return K8(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?uyt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,6,n)}return QH(eet(QH(vot(this,16),26)||this.zh(),e),66).Nj().Qj(this,ugt(this),e-hX(this.zh()),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 6:return kQt(this,null,6,n);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),Rmt(this.A,t,n)}return QH(eet(QH(vot(this,16),26)||this.zh(),e),66).Nj().Rj(this,ugt(this),e-hX(this.zh()),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nyt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fZ(this);case 7:return!!this.A&&0!=this.A.i}return B4(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void YZ(this,CF(e));case 2:return void _I(this,CF(e));case 5:return void W$t(this,CF(e));case 7:return!this.A&&(this.A=new MO(_Me,this,7)),c$t(this.A),!this.A&&(this.A=new MO(_Me,this,7)),void pX(this.A,QH(e,14))}Mdt(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e)},Cqt.zh=function(){return pqt(),nMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return rO(this.Cb,179)&&(QH(this.Cb,179).tb=null),void Oit(this,null);case 2:return Dlt(this,null),void Nnt(this,this.D);case 5:return void W$t(this,null);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),void c$t(this.A)}jht(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.yj=function(){var t;return-1==this.G&&(this.G=(t=Get(this))?obt(t.Mh(),this):-1),this.G},Cqt.zj=function(){return null},Cqt.Aj=function(){return Get(this)},Cqt.vk=function(){return this.v},Cqt.Bj=function(){return nyt(this)},Cqt.Cj=function(){return null!=this.D?this.D:this.B},Cqt.Dj=function(){return this.F},Cqt.wj=function(t){return EUt(this,t)},Cqt.wk=function(t){this.v=t},Cqt.xk=function(t){Git(this,t)},Cqt.yk=function(t){this.C=t},Cqt.Lh=function(t){YZ(this,t)},Cqt.Ib=function(){return _At(this)},Cqt.C=null,Cqt.D=null,Cqt.G=-1,gX(h6t,"EClassifierImpl",351),dIt(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Fh),Cqt.uk=function(t){return qP(this,t.Tg())},Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nyt(this);case 4:return null;case 5:return this.F;case 6:return e?Get(this):fZ(this);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),this.A;case 8:return cN(),0!=(256&this.Bb);case 9:return cN(),0!=(512&this.Bb);case 10:return vY(this);case 11:return!this.q&&(this.q=new tz(XIe,this,11,10)),this.q;case 12:return WHt(this);case 13:return FHt(this);case 14:return FHt(this),this.r;case 15:return WHt(this),this.k;case 16:return X_t(this);case 17:return pHt(this);case 18:return jUt(this);case 19:return _Ot(this);case 20:return WHt(this),this.o;case 21:return!this.s&&(this.s=new tz(PIe,this,21,17)),this.s;case 22:return i3(this);case 23:return HFt(this)}return K8(this,t-hX((pqt(),eMe)),eet(QH(vot(this,16),26)||eMe,t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?uyt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,6,n);case 11:return!this.q&&(this.q=new tz(XIe,this,11,10)),WAt(this.q,t,n);case 21:return!this.s&&(this.s=new tz(PIe,this,21,17)),WAt(this.s,t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),eMe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),eMe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 6:return kQt(this,null,6,n);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),Rmt(this.A,t,n);case 11:return!this.q&&(this.q=new tz(XIe,this,11,10)),Rmt(this.q,t,n);case 21:return!this.s&&(this.s=new tz(PIe,this,21,17)),Rmt(this.s,t,n);case 22:return Rmt(i3(this),t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),eMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),eMe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nyt(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==i3(this.u.a).i||this.n&&Fbt(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=WHt(this).i;case 13:return 0!=FHt(this).i;case 14:return FHt(this),0!=this.r.i;case 15:return WHt(this),0!=this.k.i;case 16:return 0!=X_t(this).i;case 17:return 0!=pHt(this).i;case 18:return 0!=jUt(this).i;case 19:return 0!=_Ot(this).i;case 20:return WHt(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Fbt(this.n);case 23:return 0!=HFt(this).i}return B4(this,t-hX((pqt(),eMe)),eet(QH(vot(this,16),26)||eMe,t))},Cqt.oh=function(t){return(null==this.i||this.q&&0!=this.q.i?null:ONt(this,t))||lzt(this,t)},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void YZ(this,CF(e));case 2:return void _I(this,CF(e));case 5:return void W$t(this,CF(e));case 7:return!this.A&&(this.A=new MO(_Me,this,7)),c$t(this.A),!this.A&&(this.A=new MO(_Me,this,7)),void pX(this.A,QH(e,14));case 8:return void Yht(this,Hy(TF(e)));case 9:return void tft(this,Hy(TF(e)));case 10:return m$t(vY(this)),void pX(vY(this),QH(e,14));case 11:return!this.q&&(this.q=new tz(XIe,this,11,10)),c$t(this.q),!this.q&&(this.q=new tz(XIe,this,11,10)),void pX(this.q,QH(e,14));case 21:return!this.s&&(this.s=new tz(PIe,this,21,17)),c$t(this.s),!this.s&&(this.s=new tz(PIe,this,21,17)),void pX(this.s,QH(e,14));case 22:return c$t(i3(this)),void pX(i3(this),QH(e,14))}Mdt(this,t-hX((pqt(),eMe)),eet(QH(vot(this,16),26)||eMe,t),e)},Cqt.zh=function(){return pqt(),eMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return rO(this.Cb,179)&&(QH(this.Cb,179).tb=null),void Oit(this,null);case 2:return Dlt(this,null),void Nnt(this,this.D);case 5:return void W$t(this,null);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),void c$t(this.A);case 8:return void Yht(this,!1);case 9:return void tft(this,!1);case 10:return void(this.u&&m$t(this.u));case 11:return!this.q&&(this.q=new tz(XIe,this,11,10)),void c$t(this.q);case 21:return!this.s&&(this.s=new tz(PIe,this,21,17)),void c$t(this.s);case 22:return void(this.n&&c$t(this.n))}jht(this,t-hX((pqt(),eMe)),eet(QH(vot(this,16),26)||eMe,t))},Cqt.Gh=function(){var t,e;if(WHt(this),FHt(this),X_t(this),pHt(this),jUt(this),_Ot(this),HFt(this),i6(GH(E5(this))),this.s)for(t=0,e=this.s.i;t<e;++t)gD(Xet(this.s,t));if(this.q)for(t=0,e=this.q.i;t<e;++t)gD(Xet(this.q,t));_ht((B_t(),WMe),this).ne(),this.Bb|=1},Cqt.Ib=function(){return Akt(this)},Cqt.k=null,Cqt.r=null,gX(h6t,"EClassImpl",88),dIt(1994,1993,D8t),Cqt.Vh=function(t,e){return MUt(this,t,e)},Cqt.Wh=function(t){return MUt(this,this.i,t)},Cqt.Xh=function(t,e){jLt(this,t,e)},Cqt.Yh=function(t){tIt(this,t)},Cqt.lk=function(t,e){return WAt(this,t,e)},Cqt.pi=function(t){return R8(this,t)},Cqt.mk=function(t,e){return Rmt(this,t,e)},Cqt.mi=function(t,e){return uHt(this,t,e)},Cqt.Zh=function(){return new iD(this)},Cqt.$h=function(){return new aD(this)},Cqt._h=function(t){return crt(this,t)},gX(v8t,"NotifyingInternalEListImpl",1994),dIt(622,1994,F8t),Cqt.Hc=function(t){return f$t(this,t)},Cqt.Zi=function(t,e,n,r,i){return bZ(this,t,e,n,r,i)},Cqt.$i=function(t){Ib(this,t)},Cqt.Wj=function(t){return this},Cqt.ak=function(){return eet(this.e.Tg(),this.aj())},Cqt._i=function(){return this.ak()},Cqt.aj=function(){return LAt(this.e.Tg(),this.ak())},Cqt.zk=function(){return QH(this.ak().Yj(),26).Bj()},Cqt.Ak=function(){return _bt(QH(this.ak(),18)).n},Cqt.Ai=function(){return this.e},Cqt.Bk=function(){return!0},Cqt.Ck=function(){return!1},Cqt.Dk=function(){return!1},Cqt.Ek=function(){return!1},Cqt.Xc=function(t){return obt(this,t)},Cqt.cj=function(t,e){var n;return n=QH(t,49),this.Dk()?this.Bk()?n.gh(this.e,this.Ak(),this.zk(),e):n.gh(this.e,LAt(n.Tg(),_bt(QH(this.ak(),18))),null,e):n.gh(this.e,-1-this.aj(),null,e)},Cqt.dj=function(t,e){var n;return n=QH(t,49),this.Dk()?this.Bk()?n.ih(this.e,this.Ak(),this.zk(),e):n.ih(this.e,LAt(n.Tg(),_bt(QH(this.ak(),18))),null,e):n.ih(this.e,-1-this.aj(),null,e)},Cqt.rk=function(){return!1},Cqt.Fk=function(){return!0},Cqt.wj=function(t){return O4(this.d,t)},Cqt.ej=function(){return mI(this.e)},Cqt.fj=function(){return 0!=this.i},Cqt.ri=function(t){return Dnt(this.d,t)},Cqt.li=function(t,e){return this.Fk()&&this.Ek()?$Lt(this,t,QH(e,56)):e},Cqt.Gk=function(t){return t.kh()?tht(this.e,QH(t,49)):t},Cqt.Wb=function(t){WM(this,t)},Cqt.Pc=function(){return U8(this)},Cqt.Qc=function(t){var e;if(this.Ek())for(e=this.i-1;e>=0;--e)Xet(this,e);return VAt(this,t)},Cqt.Xj=function(){c$t(this)},Cqt.oi=function(t,e){return Rnt(this,t,e)},gX(v8t,"EcoreEList",622),dIt(496,622,F8t,bj),Cqt.ai=function(){return!1},Cqt.aj=function(){return this.c},Cqt.bj=function(){return!1},Cqt.Fk=function(){return!0},Cqt.hi=function(){return!0},Cqt.li=function(t,e){return e},Cqt.ni=function(){return!1},Cqt.c=0,gX(v8t,"EObjectEList",496),dIt(85,496,F8t,LO),Cqt.bj=function(){return!0},Cqt.Dk=function(){return!1},Cqt.rk=function(){return!0},gX(v8t,"EObjectContainmentEList",85),dIt(545,85,F8t,IO),Cqt.ci=function(){this.b=!0},Cqt.fj=function(){return this.b},Cqt.Xj=function(){var t;c$t(this),mI(this.e)?(t=this.b,this.b=!1,fot(this.e,new Z5(this.e,2,this.c,t,!1))):this.b=!1},Cqt.b=!1,gX(v8t,"EObjectContainmentEList/Unsettable",545),dIt(1140,545,F8t,VK),Cqt.ii=function(t,e){var n,r;return n=QH(Bft(this,t,e),87),mI(this.e)&&Ib(this,new y8(this.a,7,(pqt(),rMe),nft(e),rO(r=n.c,88)?QH(r,26):fMe,t)),n},Cqt.jj=function(t,e){return JAt(this,QH(t,87),e)},Cqt.kj=function(t,e){return YAt(this,QH(t,87),e)},Cqt.lj=function(t,e,n){return RTt(this,QH(t,87),QH(e,87),n)},Cqt.Zi=function(t,e,n,r,i){switch(t){case 3:return bZ(this,t,e,n,r,this.i>1);case 5:return bZ(this,t,e,n,r,this.i-QH(n,15).gc()>0);default:return new M7(this.e,t,this.c,e,n,r,!0)}},Cqt.ij=function(){return!0},Cqt.fj=function(){return Fbt(this)},Cqt.Xj=function(){c$t(this)},gX(h6t,"EClassImpl/1",1140),dIt(1154,1153,J9t),Cqt.ui=function(t){var e,n,r,i,a,o,s;if(8!=(n=t.xi())){if(0==(r=amt(t)))switch(n){case 1:case 9:null!=(s=t.Bi())&&(!(e=E5(QH(s,473))).c&&(e.c=new Hc),stt(e.c,t.Ai())),null!=(o=t.zi())&&0==(1&(i=QH(o,473)).Bb)&&(!(e=E5(i)).c&&(e.c=new Hc),l8(e.c,QH(t.Ai(),26)));break;case 3:null!=(o=t.zi())&&0==(1&(i=QH(o,473)).Bb)&&(!(e=E5(i)).c&&(e.c=new Hc),l8(e.c,QH(t.Ai(),26)));break;case 5:if(null!=(o=t.zi()))for(a=QH(o,14).Kc();a.Ob();)0==(1&(i=QH(a.Pb(),473)).Bb)&&(!(e=E5(i)).c&&(e.c=new Hc),l8(e.c,QH(t.Ai(),26)));break;case 4:null!=(s=t.Bi())&&0==(1&(i=QH(s,473)).Bb)&&(!(e=E5(i)).c&&(e.c=new Hc),stt(e.c,t.Ai()));break;case 6:if(null!=(s=t.Bi()))for(a=QH(s,14).Kc();a.Ob();)0==(1&(i=QH(a.Pb(),473)).Bb)&&(!(e=E5(i)).c&&(e.c=new Hc),stt(e.c,t.Ai()))}this.Hk(r)}},Cqt.Hk=function(t){APt(this,t)},Cqt.b=63,gX(h6t,"ESuperAdapter",1154),dIt(1155,1154,J9t,dm),Cqt.Hk=function(t){LBt(this,t)},gX(h6t,"EClassImpl/10",1155),dIt(1144,696,F8t),Cqt.Vh=function(t,e){return UCt(this,t,e)},Cqt.Wh=function(t){return fvt(this,t)},Cqt.Xh=function(t,e){Bht(this,t,e)},Cqt.Yh=function(t){r6(this,t)},Cqt.pi=function(t){return R8(this,t)},Cqt.mi=function(t,e){return ott(this,t,e)},Cqt.lk=function(t,e){throw Um(new pb)},Cqt.Zh=function(){return new iD(this)},Cqt.$h=function(){return new aD(this)},Cqt._h=function(t){return crt(this,t)},Cqt.mk=function(t,e){throw Um(new pb)},Cqt.Wj=function(t){return this},Cqt.fj=function(){return 0!=this.i},Cqt.Wb=function(t){throw Um(new pb)},Cqt.Xj=function(){throw Um(new pb)},gX(v8t,"EcoreEList/UnmodifiableEList",1144),dIt(319,1144,F8t,ML),Cqt.ni=function(){return!1},gX(v8t,"EcoreEList/UnmodifiableEList/FastCompare",319),dIt(1147,319,F8t,Act),Cqt.Xc=function(t){var e,n;if(rO(t,170)&&-1!=(e=QH(t,170).aj()))for(n=this.i;e<n;++e)if(jS(this.g[e])===jS(t))return e;return-1},gX(h6t,"EClassImpl/1EAllStructuralFeaturesList",1147),dIt(1141,497,l9t,kc),Cqt.ri=function(t){return O9(zIe,U8t,87,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/1EGenericSuperTypeEList",1141),dIt(623,497,l9t,Cc),Cqt.ri=function(t){return O9(PIe,O8t,170,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/1EStructuralFeatureUniqueEList",623),dIt(741,497,l9t,Ec),Cqt.ri=function(t){return O9(VIe,O8t,18,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/1ReferenceList",741),dIt(1142,497,l9t,Am),Cqt.bi=function(t,e){ZK(this,QH(e,34))},Cqt.ri=function(t){return O9(RIe,O8t,34,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/2",1142),dIt(1143,497,l9t,xc),Cqt.ri=function(t){return O9(RIe,O8t,34,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/3",1143),dIt(1145,319,F8t,wj),Cqt.Fc=function(t){return mH(this,QH(t,34))},Cqt.Yh=function(t){Wk(this,QH(t,34))},gX(h6t,"EClassImpl/4",1145),dIt(1146,319,F8t,Tj),Cqt.Fc=function(t){return bH(this,QH(t,18))},Cqt.Yh=function(t){Yk(this,QH(t,18))},gX(h6t,"EClassImpl/5",1146),dIt(1148,497,l9t,_c),Cqt.ri=function(t){return O9(XIe,N8t,59,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/6",1148),dIt(1149,497,l9t,Bc),Cqt.ri=function(t){return O9(VIe,O8t,18,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/7",1149),dIt(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),Cqt.Vh=function(t,e){return oUt(this,t,e)},Cqt.Wh=function(t){return oUt(this,this.Vi(),t)},Cqt.Xh=function(t,e){eIt(this,t,e)},Cqt.Yh=function(t){SLt(this,t)},Cqt.lk=function(t,e){return dvt(this,t,e)},Cqt.mk=function(t,e){return Qmt(this,t,e)},Cqt.mi=function(t,e){return sUt(this,t,e)},Cqt.pi=function(t){return this.Oi(t)},Cqt.Zh=function(){return new iD(this)},Cqt.Gi=function(){return this.Ji()},Cqt.$h=function(){return new aD(this)},Cqt._h=function(t){return crt(this,t)},gX(v8t,"DelegatingNotifyingInternalEListImpl",1997),dIt(742,1997,H8t),Cqt.ai=function(){var t;return rO(t=eet(yY(this.b),this.aj()).Yj(),148)&&!rO(t,457)&&0==(1&t.Bj().i)},Cqt.Hc=function(t){var e,n,r,i,a,o,s;if(this.Fk()){if((s=this.Vi())>4){if(!this.wj(t))return!1;if(this.rk()){if(o=(e=(n=QH(t,49)).Ug())==this.b&&(this.Dk()?n.Og(n.Vg(),QH(eet(yY(this.b),this.aj()).Yj(),26).Bj())==_bt(QH(eet(yY(this.b),this.aj()),18)).n:-1-n.Vg()==this.aj()),this.Ek()&&!o&&!e&&n.Zg())for(r=0;r<s;++r)if(jS(jG(this,this.Oi(r)))===jS(t))return!0;return o}if(this.Dk()&&!this.Ck()){if(jS(i=QH(t,56).ah(_bt(QH(eet(yY(this.b),this.aj()),18))))===jS(this.b))return!0;if(null==i||!QH(i,56).kh())return!1}}if(a=this.Li(t),this.Ek()&&!a)for(r=0;r<s;++r)if(jS(n=jG(this,this.Oi(r)))===jS(t))return!0;return a}return this.Li(t)},Cqt.Zi=function(t,e,n,r,i){return new M7(this.b,t,this.aj(),e,n,r,i)},Cqt.$i=function(t){fot(this.b,t)},Cqt.Wj=function(t){return this},Cqt._i=function(){return eet(yY(this.b),this.aj())},Cqt.aj=function(){return LAt(yY(this.b),eet(yY(this.b),this.aj()))},Cqt.Ai=function(){return this.b},Cqt.Bk=function(){return!!eet(yY(this.b),this.aj()).Yj().Bj()},Cqt.bj=function(){var t;return!(!rO(t=eet(yY(this.b),this.aj()),99)||0==(QH(t,18).Bb&l6t)&&!_bt(QH(t,18)))},Cqt.Ck=function(){var t,e,n;return!!rO(t=eet(yY(this.b),this.aj()),99)&&!!(e=_bt(QH(t,18)))&&((n=e.t)>1||-1==n)},Cqt.Dk=function(){var t;return!!rO(t=eet(yY(this.b),this.aj()),99)&&!!_bt(QH(t,18))},Cqt.Ek=function(){var t;return!!rO(t=eet(yY(this.b),this.aj()),99)&&0!=(QH(t,18).Bb&UWt)},Cqt.Xc=function(t){var e,n,r;if((n=this.Qi(t))>=0)return n;if(this.Fk())for(e=0,r=this.Vi();e<r;++e)if(jS(jG(this,this.Oi(e)))===jS(t))return e;return-1},Cqt.cj=function(t,e){var n;return n=QH(t,49),this.Dk()?this.Bk()?n.gh(this.b,_bt(QH(eet(yY(this.b),this.aj()),18)).n,QH(eet(yY(this.b),this.aj()).Yj(),26).Bj(),e):n.gh(this.b,LAt(n.Tg(),_bt(QH(eet(yY(this.b),this.aj()),18))),null,e):n.gh(this.b,-1-this.aj(),null,e)},Cqt.dj=function(t,e){var n;return n=QH(t,49),this.Dk()?this.Bk()?n.ih(this.b,_bt(QH(eet(yY(this.b),this.aj()),18)).n,QH(eet(yY(this.b),this.aj()).Yj(),26).Bj(),e):n.ih(this.b,LAt(n.Tg(),_bt(QH(eet(yY(this.b),this.aj()),18))),null,e):n.ih(this.b,-1-this.aj(),null,e)},Cqt.rk=function(){var t;return!!rO(t=eet(yY(this.b),this.aj()),99)&&0!=(QH(t,18).Bb&l6t)},Cqt.Fk=function(){return rO(eet(yY(this.b),this.aj()).Yj(),88)},Cqt.wj=function(t){return eet(yY(this.b),this.aj()).Yj().wj(t)},Cqt.ej=function(){return mI(this.b)},Cqt.fj=function(){return!this.Ri()},Cqt.hi=function(){return eet(yY(this.b),this.aj()).hi()},Cqt.li=function(t,e){return eKt(this,t,e)},Cqt.Wb=function(t){m$t(this),pX(this,QH(t,15))},Cqt.Pc=function(){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)eKt(this,t,this.Oi(t));return this.Wi()},Cqt.Qc=function(t){var e;if(this.Ek())for(e=this.Vi()-1;e>=0;--e)eKt(this,e,this.Oi(e));return this.Xi(t)},Cqt.Xj=function(){m$t(this)},Cqt.oi=function(t,e){return Q8(this,t,e)},gX(v8t,"DelegatingEcoreEList",742),dIt(1150,742,H8t,aP),Cqt.Hi=function(t,e){uF(this,t,QH(e,26))},Cqt.Ii=function(t){tM(this,QH(t,26))},Cqt.Oi=function(t){var e;return rO(e=QH(Xet(i3(this.a),t),87).c,88)?QH(e,26):(pqt(),fMe)},Cqt.Ti=function(t){var e;return rO(e=QH(uFt(i3(this.a),t),87).c,88)?QH(e,26):(pqt(),fMe)},Cqt.Ui=function(t,e){return Avt(this,t,QH(e,26))},Cqt.ai=function(){return!1},Cqt.Zi=function(t,e,n,r,i){return null},Cqt.Ji=function(){return new pm(this)},Cqt.Ki=function(){c$t(i3(this.a))},Cqt.Li=function(t){return Ght(this,t)},Cqt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!Ght(this,e.Pb()))return!1;return!0},Cqt.Ni=function(t){var e,n,r;if(rO(t,15)&&(r=QH(t,15)).gc()==i3(this.a).i){for(e=r.Kc(),n=new SO(this);e.Ob();)if(jS(e.Pb())!==jS(ymt(n)))return!1;return!0}return!1},Cqt.Pi=function(){var t,e,n,r;for(e=1,t=new SO(i3(this.a));t.e!=t.i.gc();)e=31*e+((n=rO(r=QH(ymt(t),87).c,88)?QH(r,26):(pqt(),fMe))?EN(n):0);return e},Cqt.Qi=function(t){var e,n,r,i;for(r=0,n=new SO(i3(this.a));n.e!=n.i.gc();){if(e=QH(ymt(n),87),jS(t)===jS(rO(i=e.c,88)?QH(i,26):(pqt(),fMe)))return r;++r}return-1},Cqt.Ri=function(){return 0==i3(this.a).i},Cqt.Si=function(){return null},Cqt.Vi=function(){return i3(this.a).i},Cqt.Wi=function(){var t,e,n,r,i,a;for(a=i3(this.a).i,i=O9(Lte,Hqt,1,a,5,1),n=0,e=new SO(i3(this.a));e.e!=e.i.gc();)t=QH(ymt(e),87),i[n++]=rO(r=t.c,88)?QH(r,26):(pqt(),fMe);return i},Cqt.Xi=function(t){var e,n,r,i;for(i=i3(this.a).i,t.length<i&&(t=Dnt(tlt(t).c,i)),t.length>i&&LX(t,i,null),n=0,e=new SO(i3(this.a));e.e!=e.i.gc();)LX(t,n++,rO(r=QH(ymt(e),87).c,88)?QH(r,26):(pqt(),fMe));return t},Cqt.Yi=function(){var t,e,n,r,i;for((i=new Cw).a+="[",t=i3(this.a),e=0,r=i3(this.a).i;e<r;)rL(i,vN(rO(n=QH(Xet(t,e),87).c,88)?QH(n,26):(pqt(),fMe))),++e<r&&(i.a+=Qqt);return i.a+="]",i.a},Cqt.$i=function(t){},Cqt.aj=function(){return 10},Cqt.Bk=function(){return!0},Cqt.bj=function(){return!1},Cqt.Ck=function(){return!1},Cqt.Dk=function(){return!1},Cqt.Ek=function(){return!0},Cqt.rk=function(){return!1},Cqt.Fk=function(){return!0},Cqt.wj=function(t){return rO(t,88)},Cqt.fj=function(){return q0(this.a)},Cqt.hi=function(){return!0},Cqt.ni=function(){return!0},gX(h6t,"EClassImpl/8",1150),dIt(1151,1964,MVt,pm),Cqt.Zc=function(t){return crt(this.a,t)},Cqt.gc=function(){return i3(this.a.a).i},gX(h6t,"EClassImpl/8/1",1151),dIt(1152,497,l9t,Sc),Cqt.ri=function(t){return O9(QIe,Hqt,138,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"EClassImpl/9",1152),dIt(1139,53,eYt,_v),gX(h6t,"EClassImpl/MyHashSet",1139),dIt(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},wb),Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nyt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?Get(this):fZ(this);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),this.A;case 8:return cN(),0!=(256&this.Bb)}return K8(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nyt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb)}return B4(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void YZ(this,CF(e));case 2:return void _I(this,CF(e));case 5:return void W$t(this,CF(e));case 7:return!this.A&&(this.A=new MO(_Me,this,7)),c$t(this.A),!this.A&&(this.A=new MO(_Me,this,7)),void pX(this.A,QH(e,14));case 8:return void Jht(this,Hy(TF(e)))}Mdt(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t),e)},Cqt.zh=function(){return pqt(),iMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return rO(this.Cb,179)&&(QH(this.Cb,179).tb=null),void Oit(this,null);case 2:return Dlt(this,null),void Nnt(this,this.D);case 5:return void W$t(this,null);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),void c$t(this.A);case 8:return void Jht(this,!0)}jht(this,t-hX(this.zh()),eet(QH(vot(this,16),26)||this.zh(),t))},Cqt.Gh=function(){_ht((B_t(),WMe),this).ne(),this.Bb|=1},Cqt.Fj=function(){var t,e;if(!this.c&&!(t=$Mt(Get(this))).dc())for(e=t.Kc();e.Ob();)OQt(this,CF(e.Pb()))&&Fft(this);return this.b},Cqt.zj=function(){var t;if(!this.e){t=null;try{t=nyt(this)}catch(t){if(!rO(t=hst(t),102))throw Um(t)}this.d=null,t&&0!=(1&t.i)&&(this.d=t==SNe?(cN(),gee):t==BNe?nft(0):t==ONe?new Md(0):t==MNe?0:t==LNe?wgt(0):t==NNe?rft(0):t==INe?Ett(0):ust(0)),this.e=!0}return this.d},Cqt.Ej=function(){return 0!=(256&this.Bb)},Cqt.Ik=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},Cqt.xk=function(t){Git(this,t),this.Ik(t)},Cqt.yk=function(t){this.C=t,this.e=!1},Cqt.Ib=function(){var t;return 0!=(64&this.Db)?_At(this):((t=new lN(_At(this))).a+=" (serializable: ",bk(t,0!=(256&this.Bb)),t.a+=")",t.a)},Cqt.c=!1,Cqt.d=null,Cqt.e=!1,gX(h6t,"EDataTypeImpl",566),dIt(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},Sv),Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nyt(this);case 4:return Vlt(this);case 5:return this.F;case 6:return e?Get(this):fZ(this);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),this.A;case 8:return cN(),0!=(256&this.Bb);case 9:return!this.a&&(this.a=new tz(GIe,this,9,5)),this.a}return K8(this,t-hX((pqt(),aMe)),eet(QH(vot(this,16),26)||aMe,t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?uyt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,6,n);case 9:return!this.a&&(this.a=new tz(GIe,this,9,5)),WAt(this.a,t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),aMe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),aMe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 6:return kQt(this,null,6,n);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),Rmt(this.A,t,n);case 9:return!this.a&&(this.a=new tz(GIe,this,9,5)),Rmt(this.a,t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),aMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),aMe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nyt(this);case 4:return!!Vlt(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return B4(this,t-hX((pqt(),aMe)),eet(QH(vot(this,16),26)||aMe,t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void YZ(this,CF(e));case 2:return void _I(this,CF(e));case 5:return void W$t(this,CF(e));case 7:return!this.A&&(this.A=new MO(_Me,this,7)),c$t(this.A),!this.A&&(this.A=new MO(_Me,this,7)),void pX(this.A,QH(e,14));case 8:return void Jht(this,Hy(TF(e)));case 9:return!this.a&&(this.a=new tz(GIe,this,9,5)),c$t(this.a),!this.a&&(this.a=new tz(GIe,this,9,5)),void pX(this.a,QH(e,14))}Mdt(this,t-hX((pqt(),aMe)),eet(QH(vot(this,16),26)||aMe,t),e)},Cqt.zh=function(){return pqt(),aMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return rO(this.Cb,179)&&(QH(this.Cb,179).tb=null),void Oit(this,null);case 2:return Dlt(this,null),void Nnt(this,this.D);case 5:return void W$t(this,null);case 7:return!this.A&&(this.A=new MO(_Me,this,7)),void c$t(this.A);case 8:return void Jht(this,!0);case 9:return!this.a&&(this.a=new tz(GIe,this,9,5)),void c$t(this.a)}jht(this,t-hX((pqt(),aMe)),eet(QH(vot(this,16),26)||aMe,t))},Cqt.Gh=function(){var t,e;if(this.a)for(t=0,e=this.a.i;t<e;++t)gD(Xet(this.a,t));_ht((B_t(),WMe),this).ne(),this.Bb|=1},Cqt.zj=function(){return Vlt(this)},Cqt.wj=function(t){return null!=t},Cqt.Ik=function(t){},gX(h6t,"EEnumImpl",457),dIt(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},yb),Cqt.ne=function(){return this.zb},Cqt.Qg=function(t){return hwt(this,t)},Cqt._g=function(t,e,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return nft(this.d);case 3:return this.b?this.b:this.a;case 4:return null==(r=this.c)?this.zb:r;case 5:return this.Db>>16==5?QH(this.Cb,671):null}return K8(this,t-hX((pqt(),oMe)),eet(QH(vot(this,16),26)||oMe,t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 5:return this.Cb&&(n=(r=this.Db>>16)>=0?hwt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,5,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),oMe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),oMe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 5:return kQt(this,null,5,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),oMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),oMe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!QH(this.Cb,671))}return B4(this,t-hX((pqt(),oMe)),eet(QH(vot(this,16),26)||oMe,t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void Oit(this,CF(e));case 2:return void Int(this,QH(e,19).a);case 3:return void pLt(this,QH(e,1940));case 4:return void Qrt(this,CF(e))}Mdt(this,t-hX((pqt(),oMe)),eet(QH(vot(this,16),26)||oMe,t),e)},Cqt.zh=function(){return pqt(),oMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void Oit(this,null);case 2:return void Int(this,0);case 3:return void pLt(this,null);case 4:return void Qrt(this,null)}jht(this,t-hX((pqt(),oMe)),eet(QH(vot(this,16),26)||oMe,t))},Cqt.Ib=function(){var t;return null==(t=this.c)?this.zb:t},Cqt.b=null,Cqt.c=null,Cqt.d=0,gX(h6t,"EEnumLiteralImpl",573);var LMe,IMe,MMe,OMe=h$(h6t,"EFactoryImpl/InternalEDateTimeFormat");dIt(489,1,{2015:1},gm),gX(h6t,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),dIt(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Fm),Cqt.Sg=function(t,e,n){var r;return n=kQt(this,t,e,n),this.e&&rO(t,170)&&(r=yOt(this,this.e))!=this.c&&(n=aGt(this,r,n)),n},Cqt._g=function(t,e,n){switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new LO(zIe,this,1)),this.d;case 2:return e?hUt(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?jbt(this):this.a}return K8(this,t-hX((pqt(),cMe)),eet(QH(vot(this,16),26)||cMe,t),e,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return Zut(this,null,n);case 1:return!this.d&&(this.d=new LO(zIe,this,1)),Rmt(this.d,t,n);case 3:return Jut(this,null,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),cMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),cMe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return B4(this,t-hX((pqt(),cMe)),eet(QH(vot(this,16),26)||cMe,t))},Cqt.sh=function(t,e){switch(t){case 0:return void wkt(this,QH(e,87));case 1:return!this.d&&(this.d=new LO(zIe,this,1)),c$t(this.d),!this.d&&(this.d=new LO(zIe,this,1)),void pX(this.d,QH(e,14));case 3:return void ykt(this,QH(e,87));case 4:return void DEt(this,QH(e,836));case 5:return void int(this,QH(e,138))}Mdt(this,t-hX((pqt(),cMe)),eet(QH(vot(this,16),26)||cMe,t),e)},Cqt.zh=function(){return pqt(),cMe},Cqt.Bh=function(t){switch(t){case 0:return void wkt(this,null);case 1:return!this.d&&(this.d=new LO(zIe,this,1)),void c$t(this.d);case 3:return void ykt(this,null);case 4:return void DEt(this,null);case 5:return void int(this,null)}jht(this,t-hX((pqt(),cMe)),eet(QH(vot(this,16),26)||cMe,t))},Cqt.Ib=function(){var t;return(t=new uN(xMt(this))).a+=" (expression: ",fjt(this,t),t.a+=")",t.a},gX(h6t,"EGenericTypeImpl",241),dIt(1969,1964,j8t),Cqt.Xh=function(t,e){JF(this,t,e)},Cqt.lk=function(t,e){return JF(this,this.gc(),t),e},Cqt.pi=function(t){return Dmt(this.Gi(),t)},Cqt.Zh=function(){return this.$h()},Cqt.Gi=function(){return new Em(this)},Cqt.$h=function(){return this._h(0)},Cqt._h=function(t){return this.Gi().Zc(t)},Cqt.mk=function(t,e){return vAt(this,t,!0),e},Cqt.ii=function(t,e){var n;return n=twt(this,e),this.Zc(t).Rb(n),n},Cqt.ji=function(t,e){vAt(this,e,!0),this.Zc(t).Rb(e)},gX(v8t,"AbstractSequentialInternalEList",1969),dIt(486,1969,j8t,qN),Cqt.pi=function(t){return Dmt(this.Gi(),t)},Cqt.Zh=function(){return null==this.b?(VE(),VE(),MMe):this.Jk()},Cqt.Gi=function(){return new NL(this.a,this.b)},Cqt.$h=function(){return null==this.b?(VE(),VE(),MMe):this.Jk()},Cqt._h=function(t){var e,n;if(null==this.b){if(t<0||t>1)throw Um(new Sy(e8t+t+", size=0"));return VE(),VE(),MMe}for(n=this.Jk(),e=0;e<t;++e)Cot(n);return n},Cqt.dc=function(){var t,e,n,r,i,a;if(null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(a=this.a.bh(t,!1),YE(),QH(t,66).Oj()){for(r=0,i=(e=QH(a,153)).gc();r<i;++r)if(fX(e.il(r))&&null!=e.jl(r))return!1}else if(t.$j()){if(!QH(a,14).dc())return!1}else if(null!=a)return!1;return!0},Cqt.Kc=function(){return Tit(this)},Cqt.Zc=function(t){var e,n;if(null==this.b){if(0!=t)throw Um(new Sy(e8t+t+", size=0"));return VE(),VE(),MMe}for(n=this.Lk()?this.Kk():this.Jk(),e=0;e<t;++e)Cot(n);return n},Cqt.ii=function(t,e){throw Um(new pb)},Cqt.ji=function(t,e){throw Um(new pb)},Cqt.Jk=function(){return new VN(this.a,this.b)},Cqt.Kk=function(){return new XD(this.a,this.b)},Cqt.Lk=function(){return!0},Cqt.gc=function(){var t,e,n,r,i,a,o;if(i=0,null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(o=this.a.bh(t,!1),YE(),QH(t,66).Oj())for(r=0,a=(e=QH(o,153)).gc();r<a;++r)fX(e.il(r))&&null!=e.jl(r)&&++i;else t.$j()?i+=QH(o,14).gc():null!=o&&++i;return i},Cqt.Mk=function(){return!0},gX(v8t,"EContentsEList",486),dIt(1156,486,j8t,zD),Cqt.Jk=function(){return new qD(this.a,this.b)},Cqt.Kk=function(){return new VD(this.a,this.b)},Cqt.Mk=function(){return!1},gX(h6t,"ENamedElementImpl/1",1156),dIt(279,1,$8t,VN),Cqt.Nb=function(t){lz(this,t)},Cqt.Rb=function(t){throw Um(new pb)},Cqt.Nk=function(t){if(0!=this.g||this.e)throw Um(new Ry("Iterator already in use or already filtered"));this.e=t},Cqt.Ob=function(){var t,e,n,r,i,a;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(this.k&&(this.p?y_t(this,this.p):gLt(this)))return i=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=QH(i,72)).ak(),n=t.dd(),this.i=n):(n=i,this.i=n),this.g=3,!0;for(;this.d<this.c.length;)if(e=this.c[this.d++],(!this.e||e.Gj()!=ILe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(YE(),QH(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(r=QH(a,15),this.k=r):(r=QH(a,69),this.k=this.j=r),rO(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?y_t(this,this.p):gLt(this))return i=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=QH(i,72)).ak(),n=t.dd(),this.i=n):(n=i,this.i=n),this.g=3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=2,!0;return this.k=null,this.p=null,this.f=!1,this.g=1,!1}},Cqt.Sb=function(){var t,e,n,r,i,a;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(this.k&&(this.p?w_t(this,this.p):dBt(this)))return i=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=QH(i,72)).ak(),n=t.dd(),this.i=n):(n=i,this.i=n),this.g=-3,!0;for(;this.d>0;)if(e=this.c[--this.d],(!this.e||e.Gj()!=ILe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(YE(),QH(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(r=QH(a,15),this.k=r):(r=QH(a,69),this.k=this.j=r),rO(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?w_t(this,this.p):dBt(this))return i=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=QH(i,72)).ak(),n=t.dd(),this.i=n):(n=i,this.i=n),this.g=-3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},Cqt.Pb=function(){return Cot(this)},Cqt.Tb=function(){return this.a},Cqt.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw Um(new bb)},Cqt.Vb=function(){return this.a-1},Cqt.Qb=function(){throw Um(new pb)},Cqt.Lk=function(){return!1},Cqt.Wb=function(t){throw Um(new pb)},Cqt.Mk=function(){return!0},Cqt.a=0,Cqt.d=0,Cqt.f=!1,Cqt.g=0,Cqt.n=0,Cqt.o=0,gX(v8t,"EContentsEList/FeatureIteratorImpl",279),dIt(697,279,$8t,XD),Cqt.Lk=function(){return!0},gX(v8t,"EContentsEList/ResolvingFeatureIteratorImpl",697),dIt(1157,697,$8t,VD),Cqt.Mk=function(){return!1},gX(h6t,"ENamedElementImpl/1/1",1157),dIt(1158,279,$8t,qD),Cqt.Mk=function(){return!1},gX(h6t,"ENamedElementImpl/1/2",1158),dIt(36,143,t8t,l3,u3,JG,v8,M7,Z5,Hnt,C0,jnt,E0,W5,x0,Gnt,_0,Y5,B0,$nt,S0,ZG,y8,jW,Knt,L0,J5,I0),Cqt._i=function(){return c8(this)},Cqt.gj=function(){var t;return(t=c8(this))?t.zj():null},Cqt.yi=function(t){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},Cqt.Ai=function(){return this.c},Cqt.hj=function(){var t;return!!(t=c8(this))&&t.Kj()},Cqt.b=-1,gX(h6t,"ENotificationImpl",36),dIt(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},Lv),Cqt.Qg=function(t){return xwt(this,t)},Cqt._g=function(t,e,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),0!=(256&this.Bb);case 3:return cN(),0!=(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),(r=this.t)>1||-1==r;case 7:return cN(),this.s>=1;case 8:return e?Bwt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?QH(this.Cb,26):null;case 11:return!this.d&&(this.d=new MO(_Me,this,11)),this.d;case 12:return!this.c&&(this.c=new tz(qIe,this,12,10)),this.c;case 13:return!this.a&&(this.a=new oP(this,this)),this.a;case 14:return U7(this)}return K8(this,t-hX((pqt(),dMe)),eet(QH(vot(this,16),26)||dMe,t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 10:return this.Cb&&(n=(r=this.Db>>16)>=0?xwt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,10,n);case 12:return!this.c&&(this.c=new tz(qIe,this,12,10)),WAt(this.c,t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),dMe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),dMe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 9:return AX(this,n);case 10:return kQt(this,null,10,n);case 11:return!this.d&&(this.d=new MO(_Me,this,11)),Rmt(this.d,t,n);case 12:return!this.c&&(this.c=new tz(qIe,this,12,10)),Rmt(this.c,t,n);case 14:return Rmt(U7(this),t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),dMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),dMe)),t,n)},Cqt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==bq(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==bq(this.q).i);case 10:return!(this.Db>>16!=10||!QH(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==U7(this.a.a).i||this.b&&Pbt(this.b));case 14:return!!this.b&&Pbt(this.b)}return B4(this,t-hX((pqt(),dMe)),eet(QH(vot(this,16),26)||dMe,t))},Cqt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void Oit(this,CF(e));case 2:return void Wht(this,Hy(TF(e)));case 3:return void Zht(this,Hy(TF(e)));case 4:return void Mnt(this,QH(e,19).a);case 5:return void Ont(this,QH(e,19).a);case 8:return void But(this,QH(e,138));case 9:return void((n=HCt(this,QH(e,87),null))&&n.Fi());case 11:return!this.d&&(this.d=new MO(_Me,this,11)),c$t(this.d),!this.d&&(this.d=new MO(_Me,this,11)),void pX(this.d,QH(e,14));case 12:return!this.c&&(this.c=new tz(qIe,this,12,10)),c$t(this.c),!this.c&&(this.c=new tz(qIe,this,12,10)),void pX(this.c,QH(e,14));case 13:return!this.a&&(this.a=new oP(this,this)),m$t(this.a),!this.a&&(this.a=new oP(this,this)),void pX(this.a,QH(e,14));case 14:return c$t(U7(this)),void pX(U7(this),QH(e,14))}Mdt(this,t-hX((pqt(),dMe)),eet(QH(vot(this,16),26)||dMe,t),e)},Cqt.zh=function(){return pqt(),dMe},Cqt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void Oit(this,null);case 2:return void Wht(this,!0);case 3:return void Zht(this,!0);case 4:return void Mnt(this,0);case 5:return void Ont(this,1);case 8:return void But(this,null);case 9:return void((e=HCt(this,null,null))&&e.Fi());case 11:return!this.d&&(this.d=new MO(_Me,this,11)),void c$t(this.d);case 12:return!this.c&&(this.c=new tz(qIe,this,12,10)),void c$t(this.c);case 13:return void(this.a&&m$t(this.a));case 14:return void(this.b&&c$t(this.b))}jht(this,t-hX((pqt(),dMe)),eet(QH(vot(this,16),26)||dMe,t))},Cqt.Gh=function(){var t,e;if(this.c)for(t=0,e=this.c.i;t<e;++t)gD(Xet(this.c,t));Bwt(this),this.Bb|=1},gX(h6t,"EOperationImpl",399),dIt(505,742,H8t,oP),Cqt.Hi=function(t,e){lF(this,t,QH(e,138))},Cqt.Ii=function(t){eM(this,QH(t,138))},Cqt.Oi=function(t){return QH(Xet(U7(this.a),t),87).c||(pqt(),lMe)},Cqt.Ti=function(t){return QH(uFt(U7(this.a),t),87).c||(pqt(),lMe)},Cqt.Ui=function(t,e){return fgt(this,t,QH(e,138))},Cqt.ai=function(){return!1},Cqt.Zi=function(t,e,n,r,i){return null},Cqt.Ji=function(){return new mm(this)},Cqt.Ki=function(){c$t(U7(this.a))},Cqt.Li=function(t){return sft(this,t)},Cqt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!sft(this,e.Pb()))return!1;return!0},Cqt.Ni=function(t){var e,n,r;if(rO(t,15)&&(r=QH(t,15)).gc()==U7(this.a).i){for(e=r.Kc(),n=new SO(this);e.Ob();)if(jS(e.Pb())!==jS(ymt(n)))return!1;return!0}return!1},Cqt.Pi=function(){var t,e,n;for(e=1,t=new SO(U7(this.a));t.e!=t.i.gc();)e=31*e+((n=QH(ymt(t),87).c||(pqt(),lMe))?Zct(n):0);return e},Cqt.Qi=function(t){var e,n,r;for(r=0,n=new SO(U7(this.a));n.e!=n.i.gc();){if(e=QH(ymt(n),87),jS(t)===jS(e.c||(pqt(),lMe)))return r;++r}return-1},Cqt.Ri=function(){return 0==U7(this.a).i},Cqt.Si=function(){return null},Cqt.Vi=function(){return U7(this.a).i},Cqt.Wi=function(){var t,e,n,r,i;for(i=U7(this.a).i,r=O9(Lte,Hqt,1,i,5,1),n=0,e=new SO(U7(this.a));e.e!=e.i.gc();)t=QH(ymt(e),87),r[n++]=t.c||(pqt(),lMe);return r},Cqt.Xi=function(t){var e,n,r;for(r=U7(this.a).i,t.length<r&&(t=Dnt(tlt(t).c,r)),t.length>r&&LX(t,r,null),n=0,e=new SO(U7(this.a));e.e!=e.i.gc();)LX(t,n++,QH(ymt(e),87).c||(pqt(),lMe));return t},Cqt.Yi=function(){var t,e,n,r;for((r=new Cw).a+="[",t=U7(this.a),e=0,n=U7(this.a).i;e<n;)rL(r,vN(QH(Xet(t,e),87).c||(pqt(),lMe))),++e<n&&(r.a+=Qqt);return r.a+="]",r.a},Cqt.$i=function(t){},Cqt.aj=function(){return 13},Cqt.Bk=function(){return!0},Cqt.bj=function(){return!1},Cqt.Ck=function(){return!1},Cqt.Dk=function(){return!1},Cqt.Ek=function(){return!0},Cqt.rk=function(){return!1},Cqt.Fk=function(){return!0},Cqt.wj=function(t){return rO(t,138)},Cqt.fj=function(){return X0(this.a)},Cqt.hi=function(){return!0},Cqt.ni=function(){return!0},gX(h6t,"EOperationImpl/1",505),dIt(1340,1964,MVt,mm),Cqt.Zc=function(t){return crt(this.a,t)},Cqt.gc=function(){return U7(this.a.a).i},gX(h6t,"EOperationImpl/1/1",1340),dIt(1341,545,F8t,WK),Cqt.ii=function(t,e){var n;return n=QH(Bft(this,t,e),87),mI(this.e)&&Ib(this,new y8(this.a,7,(pqt(),AMe),nft(e),n.c||lMe,t)),n},Cqt.jj=function(t,e){return Cht(this,QH(t,87),e)},Cqt.kj=function(t,e){return Eht(this,QH(t,87),e)},Cqt.lj=function(t,e,n){return Xgt(this,QH(t,87),QH(e,87),n)},Cqt.Zi=function(t,e,n,r,i){switch(t){case 3:return bZ(this,t,e,n,r,this.i>1);case 5:return bZ(this,t,e,n,r,this.i-QH(n,15).gc()>0);default:return new M7(this.e,t,this.c,e,n,r,!0)}},Cqt.ij=function(){return!0},Cqt.fj=function(){return Pbt(this)},Cqt.Xj=function(){c$t(this)},gX(h6t,"EOperationImpl/2",1341),dIt(498,1,{1938:1,498:1},BS),gX(h6t,"EPackageImpl/1",498),dIt(16,85,F8t,tz),Cqt.zk=function(){return this.d},Cqt.Ak=function(){return this.b},Cqt.Dk=function(){return!0},Cqt.b=0,gX(v8t,"EObjectContainmentWithInverseEList",16),dIt(353,16,F8t,tR),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectContainmentWithInverseEList/Resolving",353),dIt(298,353,F8t,WG),Cqt.ci=function(){this.a.tb=null},gX(h6t,"EPackageImpl/2",298),dIt(1228,1,{},Lc),gX(h6t,"EPackageImpl/3",1228),dIt(718,43,tYt,Mv),Cqt._b=function(t){return GS(t)?tY(this,t):!!SY(this.f,t)},gX(h6t,"EPackageRegistryImpl",718),dIt(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Iv),Cqt.Qg=function(t){return _wt(this,t)},Cqt._g=function(t,e,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),0!=(256&this.Bb);case 3:return cN(),0!=(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),(r=this.t)>1||-1==r;case 7:return cN(),this.s>=1;case 8:return e?Bwt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?QH(this.Cb,59):null}return K8(this,t-hX((pqt(),gMe)),eet(QH(vot(this,16),26)||gMe,t),e,n)},Cqt.hh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),WAt(this.Ab,t,n);case 10:return this.Cb&&(n=(r=this.Db>>16)>=0?_wt(this,n):this.Cb.ih(this,-1-r,null,n)),kQt(this,t,10,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),gMe),e),66).Nj().Qj(this,ugt(this),e-hX((pqt(),gMe)),t,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 9:return AX(this,n);case 10:return kQt(this,null,10,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),gMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),gMe)),t,n)},Cqt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==bq(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==bq(this.q).i);case 10:return!(this.Db>>16!=10||!QH(this.Cb,59))}return B4(this,t-hX((pqt(),gMe)),eet(QH(vot(this,16),26)||gMe,t))},Cqt.zh=function(){return pqt(),gMe},gX(h6t,"EParameterImpl",509),dIt(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},pF),Cqt._g=function(t,e,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),0!=(256&this.Bb);case 3:return cN(),0!=(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),(i=this.t)>1||-1==i;case 7:return cN(),this.s>=1;case 8:return e?Bwt(this):this.r;case 9:return this.q;case 10:return cN(),0!=(this.Bb&y6t);case 11:return cN(),0!=(this.Bb&C8t);case 12:return cN(),0!=(this.Bb&RWt);case 13:return this.j;case 14:return jOt(this);case 15:return cN(),0!=(this.Bb&k8t);case 16:return cN(),0!=(this.Bb&lVt);case 17:return dZ(this);case 18:return cN(),0!=(this.Bb&l6t);case 19:return cN(),!(!(r=_bt(this))||0==(r.Bb&l6t));case 20:return cN(),0!=(this.Bb&UWt);case 21:return e?_bt(this):this.b;case 22:return e?Bct(this):F5(this);case 23:return!this.a&&(this.a=new DO(RIe,this,23)),this.a}return K8(this,t-hX((pqt(),mMe)),eet(QH(vot(this,16),26)||mMe,t),e,n)},Cqt.lh=function(t){var e,n;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(n=this.t)>1||-1==n;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==bq(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==bq(this.q).i);case 10:return 0==(this.Bb&y6t);case 11:return 0!=(this.Bb&C8t);case 12:return 0!=(this.Bb&RWt);case 13:return null!=this.j;case 14:return null!=jOt(this);case 15:return 0!=(this.Bb&k8t);case 16:return 0!=(this.Bb&lVt);case 17:return!!dZ(this);case 18:return 0!=(this.Bb&l6t);case 19:return!!(e=_bt(this))&&0!=(e.Bb&l6t);case 20:return 0==(this.Bb&UWt);case 21:return!!this.b;case 22:return!!F5(this);case 23:return!!this.a&&0!=this.a.i}return B4(this,t-hX((pqt(),mMe)),eet(QH(vot(this,16),26)||mMe,t))},Cqt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void WZ(this,CF(e));case 2:return void Wht(this,Hy(TF(e)));case 3:return void Zht(this,Hy(TF(e)));case 4:return void Mnt(this,QH(e,19).a);case 5:return void Ont(this,QH(e,19).a);case 8:return void But(this,QH(e,138));case 9:return void((n=HCt(this,QH(e,87),null))&&n.Fi());case 10:return void Lft(this,Hy(TF(e)));case 11:return void Oft(this,Hy(TF(e)));case 12:return void Ift(this,Hy(TF(e)));case 13:return void PS(this,CF(e));case 15:return void Mft(this,Hy(TF(e)));case 16:return void jft(this,Hy(TF(e)));case 18:return void VZ(this,Hy(TF(e)));case 20:return void Gft(this,Hy(TF(e)));case 21:return void rit(this,QH(e,18));case 23:return!this.a&&(this.a=new DO(RIe,this,23)),c$t(this.a),!this.a&&(this.a=new DO(RIe,this,23)),void pX(this.a,QH(e,14))}Mdt(this,t-hX((pqt(),mMe)),eet(QH(vot(this,16),26)||mMe,t),e)},Cqt.zh=function(){return pqt(),mMe},Cqt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return rO(this.Cb,88)&&LBt(E5(QH(this.Cb,88)),4),void Oit(this,null);case 2:return void Wht(this,!0);case 3:return void Zht(this,!0);case 4:return void Mnt(this,0);case 5:return void Ont(this,1);case 8:return void But(this,null);case 9:return void((e=HCt(this,null,null))&&e.Fi());case 10:return void Lft(this,!0);case 11:return void Oft(this,!1);case 12:return void Ift(this,!1);case 13:return this.i=null,void ait(this,null);case 15:return void Mft(this,!1);case 16:return void jft(this,!1);case 18:return Kft(this,!1),void(rO(this.Cb,88)&&LBt(E5(QH(this.Cb,88)),2));case 20:return void Gft(this,!0);case 21:return void rit(this,null);case 23:return!this.a&&(this.a=new DO(RIe,this,23)),void c$t(this.a)}jht(this,t-hX((pqt(),mMe)),eet(QH(vot(this,16),26)||mMe,t))},Cqt.Gh=function(){Bct(this),vV(Q7((B_t(),WMe),this)),Bwt(this),this.Bb|=1},Cqt.Lj=function(){return _bt(this)},Cqt.qk=function(){var t;return!!(t=_bt(this))&&0!=(t.Bb&l6t)},Cqt.rk=function(){return 0!=(this.Bb&l6t)},Cqt.sk=function(){return 0!=(this.Bb&UWt)},Cqt.nk=function(t,e){return this.c=null,xht(this,t,e)},Cqt.Ib=function(){var t;return 0!=(64&this.Db)?TPt(this):((t=new lN(TPt(this))).a+=" (containment: ",bk(t,0!=(this.Bb&l6t)),t.a+=", resolveProxies: ",bk(t,0!=(this.Bb&UWt)),t.a+=")",t.a)},gX(h6t,"EReferenceImpl",99),dIt(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},Ic),Cqt.Fb=function(t){return this===t},Cqt.cd=function(){return this.b},Cqt.dd=function(){return this.c},Cqt.Hb=function(){return EN(this)},Cqt.Uh=function(t){g$(this,CF(t))},Cqt.ed=function(t){return Lj(this,CF(t))},Cqt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return K8(this,t-hX((pqt(),bMe)),eet(QH(vot(this,16),26)||bMe,t),e,n)},Cqt.lh=function(t){switch(t){case 0:return null!=this.b;case 1:return null!=this.c}return B4(this,t-hX((pqt(),bMe)),eet(QH(vot(this,16),26)||bMe,t))},Cqt.sh=function(t,e){switch(t){case 0:return void m$(this,CF(e));case 1:return void Prt(this,CF(e))}Mdt(this,t-hX((pqt(),bMe)),eet(QH(vot(this,16),26)||bMe,t),e)},Cqt.zh=function(){return pqt(),bMe},Cqt.Bh=function(t){switch(t){case 0:return void Frt(this,null);case 1:return void Prt(this,null)}jht(this,t-hX((pqt(),bMe)),eet(QH(vot(this,16),26)||bMe,t))},Cqt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=null==t?0:mbt(t)),this.a},Cqt.Th=function(t){this.a=t},Cqt.Ib=function(){var t;return 0!=(64&this.Db)?xMt(this):((t=new lN(xMt(this))).a+=" (key: ",rL(t,this.b),t.a+=", value: ",rL(t,this.c),t.a+=")",t.a)},Cqt.a=-1,Cqt.b=null,Cqt.c=null;var NMe,DMe,FMe,PMe,RMe,QMe,UMe,HMe,jMe,$Me,KMe=gX(h6t,"EStringToStringMapEntryImpl",548),GMe=h$(v8t,"FeatureMap/Entry/Internal");dIt(565,1,K8t),Cqt.Ok=function(t){return this.Pk(QH(t,49))},Cqt.Pk=function(t){return this.Ok(t)},Cqt.Fb=function(t){var e,n;return this===t||!!rO(t,72)&&(e=QH(t,72)).ak()==this.c&&(null==(n=this.dd())?null==e.dd():Oht(n,e.dd()))},Cqt.ak=function(){return this.c},Cqt.Hb=function(){var t;return t=this.dd(),Zct(this.c)^(null==t?0:Zct(t))},Cqt.Ib=function(){var t,e;return e=Get((t=this.c).Hj()).Ph(),t.ne(),(null!=e&&0!=e.length?e+":"+t.ne():t.ne())+"="+this.dd()},gX(h6t,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),dIt(776,565,K8t,nP),Cqt.Pk=function(t){return new nP(this.c,t)},Cqt.dd=function(){return this.a},Cqt.Qk=function(t,e,n){return Eat(this,t,this.a,e,n)},Cqt.Rk=function(t,e,n){return xat(this,t,this.a,e,n)},gX(h6t,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),dIt(1314,1,{},SS),Cqt.Pj=function(t,e,n,r,i){return QH(C8(t,this.b),215).nl(this.a).Wj(r)},Cqt.Qj=function(t,e,n,r,i){return QH(C8(t,this.b),215).el(this.a,r,i)},Cqt.Rj=function(t,e,n,r,i){return QH(C8(t,this.b),215).fl(this.a,r,i)},Cqt.Sj=function(t,e,n){return QH(C8(t,this.b),215).nl(this.a).fj()},Cqt.Tj=function(t,e,n,r){QH(C8(t,this.b),215).nl(this.a).Wb(r)},Cqt.Uj=function(t,e,n){return QH(C8(t,this.b),215).nl(this.a)},Cqt.Vj=function(t,e,n){QH(C8(t,this.b),215).nl(this.a).Xj()},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),dIt(89,1,{},EH,uW,DY,f3),Cqt.Pj=function(t,e,n,r,i){var a;if(null==(a=e.Ch(n))&&e.Dh(n,a=nqt(this,t)),!i)switch(this.e){case 50:case 41:return QH(a,589).sj();case 40:return QH(a,215).kl()}return a},Cqt.Qj=function(t,e,n,r,i){var a;return null==(a=e.Ch(n))&&e.Dh(n,a=nqt(this,t)),QH(a,69).lk(r,i)},Cqt.Rj=function(t,e,n,r,i){var a;return null!=(a=e.Ch(n))&&(i=QH(a,69).mk(r,i)),i},Cqt.Sj=function(t,e,n){var r;return null!=(r=e.Ch(n))&&QH(r,76).fj()},Cqt.Tj=function(t,e,n,r){var i;!(i=QH(e.Ch(n),76))&&e.Dh(n,i=nqt(this,t)),i.Wb(r)},Cqt.Uj=function(t,e,n){var r;return null==(r=e.Ch(n))&&e.Dh(n,r=nqt(this,t)),rO(r,76)?QH(r,76):new wm(QH(e.Ch(n),15))},Cqt.Vj=function(t,e,n){var r;!(r=QH(e.Ch(n),76))&&e.Dh(n,r=nqt(this,t)),r.Xj()},Cqt.b=0,Cqt.e=0,gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),dIt(504,1,{}),Cqt.Qj=function(t,e,n,r,i){throw Um(new pb)},Cqt.Rj=function(t,e,n,r,i){throw Um(new pb)},Cqt.Uj=function(t,e,n){return new hW(this,t,e,n)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),dIt(1331,1,y8t,hW),Cqt.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},Cqt.fj=function(){return this.a.Sj(this.c,this.d,this.b)},Cqt.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},Cqt.Xj=function(){this.a.Vj(this.c,this.d,this.b)},Cqt.b=0,gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),dIt(769,504,{},mJ),Cqt.Pj=function(t,e,n,r,i){return pRt(t,t.eh(),t.Vg())==this.b?this.sk()&&r?iIt(t):t.eh():null},Cqt.Qj=function(t,e,n,r,i){var a,o;return t.eh()&&(i=(a=t.Vg())>=0?t.Qg(i):t.eh().ih(t,-1-a,null,i)),o=LAt(t.Tg(),this.e),t.Sg(r,o,i)},Cqt.Rj=function(t,e,n,r,i){var a;return a=LAt(t.Tg(),this.e),t.Sg(null,a,i)},Cqt.Sj=function(t,e,n){var r;return r=LAt(t.Tg(),this.e),!!t.eh()&&t.Vg()==r},Cqt.Tj=function(t,e,n,r){var i,a,o,s,c;if(null!=r&&!EUt(this.a,r))throw Um(new Fy(G8t+(rO(r,56)?Akt(QH(r,56).Tg()):aet(tlt(r)))+z8t+this.a+"'"));if(i=t.eh(),o=LAt(t.Tg(),this.e),jS(r)!==jS(i)||t.Vg()!=o&&null!=r){if(mwt(t,QH(r,56)))throw Um(new Py(d6t+t.Ib()));c=null,i&&(c=(a=t.Vg())>=0?t.Qg(c):t.eh().ih(t,-1-a,null,c)),(s=QH(r,49))&&(c=s.gh(t,LAt(s.Tg(),this.b),null,c)),(c=t.Sg(s,o,c))&&c.Fi()}else t.Lg()&&t.Mg()&&fot(t,new JG(t,1,o,r,r))},Cqt.Vj=function(t,e,n){var r,i,a;t.eh()?(a=(r=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-r,null,null),i=LAt(t.Tg(),this.e),(a=t.Sg(null,i,a))&&a.Fi()):t.Lg()&&t.Mg()&&fot(t,new ZG(t,1,this.e,null,null))},Cqt.sk=function(){return!1},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),dIt(1315,769,{},xH),Cqt.sk=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),dIt(563,504,{}),Cqt.Pj=function(t,e,n,r,i){var a;return null==(a=e.Ch(n))?this.b:jS(a)===jS(NMe)?null:a},Cqt.Sj=function(t,e,n){var r;return null!=(r=e.Ch(n))&&(jS(r)===jS(NMe)||!Oht(r,this.b))},Cqt.Tj=function(t,e,n,r){var i,a;t.Lg()&&t.Mg()?(i=null==(a=e.Ch(n))?this.b:jS(a)===jS(NMe)?null:a,null==r?null!=this.c?(e.Dh(n,null),r=this.b):null!=this.b?e.Dh(n,NMe):e.Dh(n,null):(this.Sk(r),e.Dh(n,r)),fot(t,this.d.Tk(t,1,this.e,i,r))):null==r?null!=this.c?e.Dh(n,null):null!=this.b?e.Dh(n,NMe):e.Dh(n,null):(this.Sk(r),e.Dh(n,r))},Cqt.Vj=function(t,e,n){var r,i;t.Lg()&&t.Mg()?(r=null==(i=e.Ch(n))?this.b:jS(i)===jS(NMe)?null:i,e.Eh(n),fot(t,this.d.Tk(t,1,this.e,r,this.b))):e.Eh(n)},Cqt.Sk=function(t){throw Um(new hb)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),dIt(X8t,1,{},Mc),Cqt.Tk=function(t,e,n,r,i){return new ZG(t,e,n,r,i)},Cqt.Uk=function(t,e,n,r,i,a){return new jW(t,e,n,r,i,a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",X8t),dIt(1332,X8t,{},Oc),Cqt.Tk=function(t,e,n,r,i){return new J5(t,e,n,Hy(TF(r)),Hy(TF(i)))},Cqt.Uk=function(t,e,n,r,i,a){return new I0(t,e,n,Hy(TF(r)),Hy(TF(i)),a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),dIt(1333,X8t,{},Nc),Cqt.Tk=function(t,e,n,r,i){return new Hnt(t,e,n,QH(r,217).a,QH(i,217).a)},Cqt.Uk=function(t,e,n,r,i,a){return new C0(t,e,n,QH(r,217).a,QH(i,217).a,a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),dIt(1334,X8t,{},Dc),Cqt.Tk=function(t,e,n,r,i){return new jnt(t,e,n,QH(r,172).a,QH(i,172).a)},Cqt.Uk=function(t,e,n,r,i,a){return new E0(t,e,n,QH(r,172).a,QH(i,172).a,a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),dIt(1335,X8t,{},Fc),Cqt.Tk=function(t,e,n,r,i){return new W5(t,e,n,jy(kF(r)),jy(kF(i)))},Cqt.Uk=function(t,e,n,r,i,a){return new x0(t,e,n,jy(kF(r)),jy(kF(i)),a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),dIt(1336,X8t,{},Pc),Cqt.Tk=function(t,e,n,r,i){return new Gnt(t,e,n,QH(r,155).a,QH(i,155).a)},Cqt.Uk=function(t,e,n,r,i,a){return new _0(t,e,n,QH(r,155).a,QH(i,155).a,a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),dIt(1337,X8t,{},Rc),Cqt.Tk=function(t,e,n,r,i){return new Y5(t,e,n,QH(r,19).a,QH(i,19).a)},Cqt.Uk=function(t,e,n,r,i,a){return new B0(t,e,n,QH(r,19).a,QH(i,19).a,a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),dIt(1338,X8t,{},Qc),Cqt.Tk=function(t,e,n,r,i){return new $nt(t,e,n,QH(r,162).a,QH(i,162).a)},Cqt.Uk=function(t,e,n,r,i,a){return new S0(t,e,n,QH(r,162).a,QH(i,162).a,a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),dIt(1339,X8t,{},Uc),Cqt.Tk=function(t,e,n,r,i){return new Knt(t,e,n,QH(r,184).a,QH(i,184).a)},Cqt.Uk=function(t,e,n,r,i,a){return new L0(t,e,n,QH(r,184).a,QH(i,184).a,a)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),dIt(1317,563,{},fW),Cqt.Sk=function(t){if(!this.a.wj(t))throw Um(new Fy(G8t+tlt(t)+z8t+this.a+"'"))},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),dIt(1318,563,{},YK),Cqt.Sk=function(t){},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),dIt(770,563,{}),Cqt.Sj=function(t,e,n){return null!=e.Ch(n)},Cqt.Tj=function(t,e,n,r){var i,a;t.Lg()&&t.Mg()?(i=!0,null==(a=e.Ch(n))?(i=!1,a=this.b):jS(a)===jS(NMe)&&(a=null),null==r?null!=this.c?(e.Dh(n,null),r=this.b):e.Dh(n,NMe):(this.Sk(r),e.Dh(n,r)),fot(t,this.d.Uk(t,1,this.e,a,r,!i))):null==r?null!=this.c?e.Dh(n,null):e.Dh(n,NMe):(this.Sk(r),e.Dh(n,r))},Cqt.Vj=function(t,e,n){var r,i;t.Lg()&&t.Mg()?(r=!0,null==(i=e.Ch(n))?(r=!1,i=this.b):jS(i)===jS(NMe)&&(i=null),e.Eh(n),fot(t,this.d.Uk(t,2,this.e,i,this.b,r))):e.Eh(n)},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),dIt(1319,770,{},dW),Cqt.Sk=function(t){if(!this.a.wj(t))throw Um(new Fy(G8t+tlt(t)+z8t+this.a+"'"))},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),dIt(1320,770,{},JK),Cqt.Sk=function(t){},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),dIt(398,504,{},rK),Cqt.Pj=function(t,e,n,r,i){var a,o,s,c,l;if(l=e.Ch(n),this.Kj()&&jS(l)===jS(NMe))return null;if(this.sk()&&r&&null!=l){if((s=QH(l,49)).kh()&&s!=(c=tht(t,s))){if(!EUt(this.a,c))throw Um(new Fy(G8t+tlt(c)+z8t+this.a+"'"));e.Dh(n,l=c),this.rk()&&(a=QH(c,49),o=s.ih(t,this.b?LAt(s.Tg(),this.b):-1-LAt(t.Tg(),this.e),null,null),!a.eh()&&(o=a.gh(t,this.b?LAt(a.Tg(),this.b):-1-LAt(t.Tg(),this.e),null,o)),o&&o.Fi()),t.Lg()&&t.Mg()&&fot(t,new ZG(t,9,this.e,s,c))}return l}return l},Cqt.Qj=function(t,e,n,r,i){var a,o;return jS(o=e.Ch(n))===jS(NMe)&&(o=null),e.Dh(n,r),this.bj()?jS(o)!==jS(r)&&null!=o&&(i=(a=QH(o,49)).ih(t,LAt(a.Tg(),this.b),null,i)):this.rk()&&null!=o&&(i=QH(o,49).ih(t,-1-LAt(t.Tg(),this.e),null,i)),t.Lg()&&t.Mg()&&(!i&&(i=new RT(4)),i.Ei(new ZG(t,1,this.e,o,r))),i},Cqt.Rj=function(t,e,n,r,i){var a;return jS(a=e.Ch(n))===jS(NMe)&&(a=null),e.Eh(n),t.Lg()&&t.Mg()&&(!i&&(i=new RT(4)),this.Kj()?i.Ei(new ZG(t,2,this.e,a,null)):i.Ei(new ZG(t,1,this.e,a,null))),i},Cqt.Sj=function(t,e,n){return null!=e.Ch(n)},Cqt.Tj=function(t,e,n,r){var i,a,o,s,c;if(null!=r&&!EUt(this.a,r))throw Um(new Fy(G8t+(rO(r,56)?Akt(QH(r,56).Tg()):aet(tlt(r)))+z8t+this.a+"'"));s=null!=(c=e.Ch(n)),this.Kj()&&jS(c)===jS(NMe)&&(c=null),o=null,this.bj()?jS(c)!==jS(r)&&(null!=c&&(o=(i=QH(c,49)).ih(t,LAt(i.Tg(),this.b),null,o)),null!=r&&(o=(i=QH(r,49)).gh(t,LAt(i.Tg(),this.b),null,o))):this.rk()&&jS(c)!==jS(r)&&(null!=c&&(o=QH(c,49).ih(t,-1-LAt(t.Tg(),this.e),null,o)),null!=r&&(o=QH(r,49).gh(t,-1-LAt(t.Tg(),this.e),null,o))),null==r&&this.Kj()?e.Dh(n,NMe):e.Dh(n,r),t.Lg()&&t.Mg()?(a=new jW(t,1,this.e,c,r,this.Kj()&&!s),o?(o.Ei(a),o.Fi()):fot(t,a)):o&&o.Fi()},Cqt.Vj=function(t,e,n){var r,i,a,o,s;o=null!=(s=e.Ch(n)),this.Kj()&&jS(s)===jS(NMe)&&(s=null),a=null,null!=s&&(this.bj()?a=(r=QH(s,49)).ih(t,LAt(r.Tg(),this.b),null,a):this.rk()&&(a=QH(s,49).ih(t,-1-LAt(t.Tg(),this.e),null,a))),e.Eh(n),t.Lg()&&t.Mg()?(i=new jW(t,this.Kj()?2:1,this.e,s,null,o),a?(a.Ei(i),a.Fi()):fot(t,i)):a&&a.Fi()},Cqt.bj=function(){return!1},Cqt.rk=function(){return!1},Cqt.sk=function(){return!1},Cqt.Kj=function(){return!1},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),dIt(564,398,{},YD),Cqt.rk=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),dIt(1323,564,{},JD),Cqt.sk=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),dIt(772,564,{},ZD),Cqt.Kj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),dIt(1325,772,{},tF),Cqt.sk=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),dIt(640,564,{},_H),Cqt.bj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),dIt(1324,640,{},LH),Cqt.sk=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),dIt(773,640,{},IH),Cqt.Kj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),dIt(1326,773,{},MH),Cqt.sk=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),dIt(641,398,{},eF),Cqt.sk=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),dIt(1327,641,{},nF),Cqt.Kj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),dIt(774,641,{},BH),Cqt.bj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),dIt(1328,774,{},OH),Cqt.Kj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),dIt(1321,398,{},rF),Cqt.Kj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),dIt(771,398,{},SH),Cqt.bj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),dIt(1322,771,{},NH),Cqt.Kj=function(){return!0},gX(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),dIt(775,565,K8t,iq),Cqt.Pk=function(t){return new iq(this.a,this.c,t)},Cqt.dd=function(){return this.b},Cqt.Qk=function(t,e,n){return N9(this,t,this.b,n)},Cqt.Rk=function(t,e,n){return D9(this,t,this.b,n)},gX(h6t,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),dIt(1329,1,y8t,wm),Cqt.Wj=function(t){return this.a},Cqt.fj=function(){return rO(this.a,95)?QH(this.a,95).fj():!this.a.dc()},Cqt.Wb=function(t){this.a.$b(),this.a.Gc(QH(t,15))},Cqt.Xj=function(){rO(this.a,95)?QH(this.a,95).Xj():this.a.$b()},gX(h6t,"EStructuralFeatureImpl/SettingMany",1329),dIt(1330,565,K8t,A3),Cqt.Ok=function(t){return new rP((G$t(),POe),this.b.Ih(this.a,t))},Cqt.dd=function(){return null},Cqt.Qk=function(t,e,n){return n},Cqt.Rk=function(t,e,n){return n},gX(h6t,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),dIt(642,565,K8t,rP),Cqt.Ok=function(t){return new rP(this.c,t)},Cqt.dd=function(){return this.a},Cqt.Qk=function(t,e,n){return n},Cqt.Rk=function(t,e,n){return n},gX(h6t,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),dIt(391,497,l9t,Hc),Cqt.ri=function(t){return O9(UIe,Hqt,26,t,0,1)},Cqt.ni=function(){return!1},gX(h6t,"ESuperAdapter/1",391),dIt(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},jc),Cqt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new iK(this,zIe,this)),this.a}return K8(this,t-hX((pqt(),wMe)),eet(QH(vot(this,16),26)||wMe,t),e,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),Rmt(this.Ab,t,n);case 2:return!this.a&&(this.a=new iK(this,zIe,this)),Rmt(this.a,t,n)}return QH(eet(QH(vot(this,16),26)||(pqt(),wMe),e),66).Nj().Rj(this,ugt(this),e-hX((pqt(),wMe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return B4(this,t-hX((pqt(),wMe)),eet(QH(vot(this,16),26)||wMe,t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),c$t(this.Ab),!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void pX(this.Ab,QH(e,14));case 1:return void Oit(this,CF(e));case 2:return!this.a&&(this.a=new iK(this,zIe,this)),c$t(this.a),!this.a&&(this.a=new iK(this,zIe,this)),void pX(this.a,QH(e,14))}Mdt(this,t-hX((pqt(),wMe)),eet(QH(vot(this,16),26)||wMe,t),e)},Cqt.zh=function(){return pqt(),wMe},Cqt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tz(DIe,this,0,3)),void c$t(this.Ab);case 1:return void Oit(this,null);case 2:return!this.a&&(this.a=new iK(this,zIe,this)),void c$t(this.a)}jht(this,t-hX((pqt(),wMe)),eet(QH(vot(this,16),26)||wMe,t))},gX(h6t,"ETypeParameterImpl",444),dIt(445,85,F8t,iK),Cqt.cj=function(t,e){return MCt(this,QH(t,87),e)},Cqt.dj=function(t,e){return OCt(this,QH(t,87),e)},gX(h6t,"ETypeParameterImpl/1",445),dIt(634,43,tYt,Ov),Cqt.ec=function(){return new Tm(this)},gX(h6t,"ETypeParameterImpl/2",634),dIt(556,Zqt,tVt,Tm),Cqt.Fc=function(t){return VP(this,QH(t,87))},Cqt.Gc=function(t){var e,n,r;for(r=!1,n=t.Kc();n.Ob();)e=QH(n.Pb(),87),null==Xq(this.a,e,"")&&(r=!0);return r},Cqt.$b=function(){Lz(this.a)},Cqt.Hc=function(t){return cz(this.a,t)},Cqt.Kc=function(){return new km(new olt(new Ed(this.a).a))},Cqt.Mc=function(t){return P6(this,t)},Cqt.gc=function(){return MC(this.a)},gX(h6t,"ETypeParameterImpl/2/1",556),dIt(557,1,Vqt,km),Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return QH(tnt(this.a).cd(),87)},Cqt.Ob=function(){return this.a.b},Cqt.Qb=function(){o8(this.a)},gX(h6t,"ETypeParameterImpl/2/1/1",557),dIt(1276,43,tYt,Nv),Cqt._b=function(t){return GS(t)?tY(this,t):!!SY(this.f,t)},Cqt.xc=function(t){var e;return rO(e=GS(t)?CJ(this,t):HS(SY(this.f,t)),837)?(e=QH(e,837)._j(),Xq(this,QH(t,235),e),e):null!=e?e:null==t?(WE(),eOe):null},gX(h6t,"EValidatorRegistryImpl",1276),dIt(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},$c),Cqt.Ih=function(t,e){switch(t.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==e?null:Udt(e);case 25:return zet(e);case 27:return G8(e);case 28:return z8(e);case 29:return null==e?null:UM(_Le[0],QH(e,199));case 41:return null==e?"":JT(QH(e,290));case 42:return Udt(e);case 50:return CF(e);default:throw Um(new Py(A6t+t.ne()+p6t))}},Cqt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Get(t))?obt(e.Mh(),t):-1),t.G){case 0:return new Bv;case 1:return new Tc;case 2:return new Fh;case 4:return new wb;case 5:return new Sv;case 6:return new yb;case 7:return new Nh;case 10:return new yc;case 11:return new Lv;case 12:return new gY;case 13:return new Iv;case 14:return new pF;case 17:return new Ic;case 18:return new Fm;case 19:return new jc;default:throw Um(new Py(b6t+t.zb+p6t))}},Cqt.Kh=function(t,e){switch(t.yj()){case 20:return null==e?null:new fk(e);case 21:return null==e?null:new LI(e);case 23:case 22:return null==e?null:Jpt(e);case 26:case 24:return null==e?null:Ett(hQt(e,-128,127)<<24>>24);case 25:return AMt(e);case 27:return Eyt(e);case 28:return xyt(e);case 29:return pEt(e);case 32:case 31:return null==e?null:fxt(e);case 38:case 37:return null==e?null:new Nb(e);case 40:case 39:return null==e?null:nft(hQt(e,RVt,Dqt));case 41:case 42:return null;case 44:case 43:return null==e?null:wgt(rzt(e));case 49:case 48:return null==e?null:rft(hQt(e,V8t,32767)<<16>>16);case 50:return e;default:throw Um(new Py(A6t+t.ne()+p6t))}},gX(h6t,"EcoreFactoryImpl",1313),dIt(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},Kq),Cqt.gb=!1,Cqt.hb=!1;var zMe,XMe=!1;gX(h6t,"EcorePackageImpl",547),dIt(1184,1,{837:1},Kc),Cqt._j=function(){return sN(),nOe},gX(h6t,"EcorePackageImpl/1",1184),dIt(1193,1,c7t,Gc),Cqt.wj=function(t){return rO(t,147)},Cqt.xj=function(t){return O9(RLe,Hqt,147,t,0,1)},gX(h6t,"EcorePackageImpl/10",1193),dIt(1194,1,c7t,zc),Cqt.wj=function(t){return rO(t,191)},Cqt.xj=function(t){return O9(ULe,Hqt,191,t,0,1)},gX(h6t,"EcorePackageImpl/11",1194),dIt(1195,1,c7t,Xc),Cqt.wj=function(t){return rO(t,56)},Cqt.xj=function(t){return O9(LLe,Hqt,56,t,0,1)},gX(h6t,"EcorePackageImpl/12",1195),dIt(1196,1,c7t,qc),Cqt.wj=function(t){return rO(t,399)},Cqt.xj=function(t){return O9(XIe,N8t,59,t,0,1)},gX(h6t,"EcorePackageImpl/13",1196),dIt(1197,1,c7t,Vc),Cqt.wj=function(t){return rO(t,235)},Cqt.xj=function(t){return O9(HLe,Hqt,235,t,0,1)},gX(h6t,"EcorePackageImpl/14",1197),dIt(1198,1,c7t,Wc),Cqt.wj=function(t){return rO(t,509)},Cqt.xj=function(t){return O9(qIe,Hqt,2017,t,0,1)},gX(h6t,"EcorePackageImpl/15",1198),dIt(1199,1,c7t,Yc),Cqt.wj=function(t){return rO(t,99)},Cqt.xj=function(t){return O9(VIe,O8t,18,t,0,1)},gX(h6t,"EcorePackageImpl/16",1199),dIt(1200,1,c7t,Jc),Cqt.wj=function(t){return rO(t,170)},Cqt.xj=function(t){return O9(PIe,O8t,170,t,0,1)},gX(h6t,"EcorePackageImpl/17",1200),dIt(1201,1,c7t,Zc),Cqt.wj=function(t){return rO(t,472)},Cqt.xj=function(t){return O9(FIe,Hqt,472,t,0,1)},gX(h6t,"EcorePackageImpl/18",1201),dIt(1202,1,c7t,tl),Cqt.wj=function(t){return rO(t,548)},Cqt.xj=function(t){return O9(KMe,a8t,548,t,0,1)},gX(h6t,"EcorePackageImpl/19",1202),dIt(1185,1,c7t,el),Cqt.wj=function(t){return rO(t,322)},Cqt.xj=function(t){return O9(RIe,O8t,34,t,0,1)},gX(h6t,"EcorePackageImpl/2",1185),dIt(1203,1,c7t,nl),Cqt.wj=function(t){return rO(t,241)},Cqt.xj=function(t){return O9(zIe,U8t,87,t,0,1)},gX(h6t,"EcorePackageImpl/20",1203),dIt(1204,1,c7t,rl),Cqt.wj=function(t){return rO(t,444)},Cqt.xj=function(t){return O9(_Me,Hqt,836,t,0,1)},gX(h6t,"EcorePackageImpl/21",1204),dIt(1205,1,c7t,il),Cqt.wj=function(t){return $S(t)},Cqt.xj=function(t){return O9(yee,cVt,476,t,8,1)},gX(h6t,"EcorePackageImpl/22",1205),dIt(1206,1,c7t,al),Cqt.wj=function(t){return rO(t,190)},Cqt.xj=function(t){return O9(INe,cVt,190,t,0,2)},gX(h6t,"EcorePackageImpl/23",1206),dIt(1207,1,c7t,ol),Cqt.wj=function(t){return rO(t,217)},Cqt.xj=function(t){return O9(kee,cVt,217,t,0,1)},gX(h6t,"EcorePackageImpl/24",1207),dIt(1208,1,c7t,sl),Cqt.wj=function(t){return rO(t,172)},Cqt.xj=function(t){return O9(Eee,cVt,172,t,0,1)},gX(h6t,"EcorePackageImpl/25",1208),dIt(1209,1,c7t,cl),Cqt.wj=function(t){return rO(t,199)},Cqt.xj=function(t){return O9(bee,cVt,199,t,0,1)},gX(h6t,"EcorePackageImpl/26",1209),dIt(1210,1,c7t,ll),Cqt.wj=function(t){return!1},Cqt.xj=function(t){return O9(FNe,Hqt,2110,t,0,1)},gX(h6t,"EcorePackageImpl/27",1210),dIt(1211,1,c7t,ul),Cqt.wj=function(t){return KS(t)},Cqt.xj=function(t){return O9(xee,cVt,333,t,7,1)},gX(h6t,"EcorePackageImpl/28",1211),dIt(1212,1,c7t,hl),Cqt.wj=function(t){return rO(t,58)},Cqt.xj=function(t){return O9(iIe,ZJt,58,t,0,1)},gX(h6t,"EcorePackageImpl/29",1212),dIt(1186,1,c7t,fl),Cqt.wj=function(t){return rO(t,510)},Cqt.xj=function(t){return O9(DIe,{3:1,4:1,5:1,1934:1},590,t,0,1)},gX(h6t,"EcorePackageImpl/3",1186),dIt(1213,1,c7t,dl),Cqt.wj=function(t){return rO(t,573)},Cqt.xj=function(t){return O9(mIe,Hqt,1940,t,0,1)},gX(h6t,"EcorePackageImpl/30",1213),dIt(1214,1,c7t,Al),Cqt.wj=function(t){return rO(t,153)},Cqt.xj=function(t){return O9(uOe,ZJt,153,t,0,1)},gX(h6t,"EcorePackageImpl/31",1214),dIt(1215,1,c7t,pl),Cqt.wj=function(t){return rO(t,72)},Cqt.xj=function(t){return O9(SMe,l7t,72,t,0,1)},gX(h6t,"EcorePackageImpl/32",1215),dIt(1216,1,c7t,gl),Cqt.wj=function(t){return rO(t,155)},Cqt.xj=function(t){return O9(_ee,cVt,155,t,0,1)},gX(h6t,"EcorePackageImpl/33",1216),dIt(1217,1,c7t,ml),Cqt.wj=function(t){return rO(t,19)},Cqt.xj=function(t){return O9(Lee,cVt,19,t,0,1)},gX(h6t,"EcorePackageImpl/34",1217),dIt(1218,1,c7t,bl),Cqt.wj=function(t){return rO(t,290)},Cqt.xj=function(t){return O9(Ite,Hqt,290,t,0,1)},gX(h6t,"EcorePackageImpl/35",1218),dIt(1219,1,c7t,vl),Cqt.wj=function(t){return rO(t,162)},Cqt.xj=function(t){return O9(Fee,cVt,162,t,0,1)},gX(h6t,"EcorePackageImpl/36",1219),dIt(1220,1,c7t,yl),Cqt.wj=function(t){return rO(t,83)},Cqt.xj=function(t){return O9(Ote,Hqt,83,t,0,1)},gX(h6t,"EcorePackageImpl/37",1220),dIt(1221,1,c7t,wl),Cqt.wj=function(t){return rO(t,591)},Cqt.xj=function(t){return O9(tOe,Hqt,591,t,0,1)},gX(h6t,"EcorePackageImpl/38",1221),dIt(1222,1,c7t,Tl),Cqt.wj=function(t){return!1},Cqt.xj=function(t){return O9(PNe,Hqt,2111,t,0,1)},gX(h6t,"EcorePackageImpl/39",1222),dIt(1187,1,c7t,kl),Cqt.wj=function(t){return rO(t,88)},Cqt.xj=function(t){return O9(UIe,Hqt,26,t,0,1)},gX(h6t,"EcorePackageImpl/4",1187),dIt(1223,1,c7t,Cl),Cqt.wj=function(t){return rO(t,184)},Cqt.xj=function(t){return O9(Ree,cVt,184,t,0,1)},gX(h6t,"EcorePackageImpl/40",1223),dIt(1224,1,c7t,El),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(h6t,"EcorePackageImpl/41",1224),dIt(1225,1,c7t,xl),Cqt.wj=function(t){return rO(t,588)},Cqt.xj=function(t){return O9(cIe,Hqt,588,t,0,1)},gX(h6t,"EcorePackageImpl/42",1225),dIt(1226,1,c7t,_l),Cqt.wj=function(t){return!1},Cqt.xj=function(t){return O9(RNe,cVt,2112,t,0,1)},gX(h6t,"EcorePackageImpl/43",1226),dIt(1227,1,c7t,Bl),Cqt.wj=function(t){return rO(t,42)},Cqt.xj=function(t){return O9(Hte,yVt,42,t,0,1)},gX(h6t,"EcorePackageImpl/44",1227),dIt(1188,1,c7t,Sl),Cqt.wj=function(t){return rO(t,138)},Cqt.xj=function(t){return O9(QIe,Hqt,138,t,0,1)},gX(h6t,"EcorePackageImpl/5",1188),dIt(1189,1,c7t,Ll),Cqt.wj=function(t){return rO(t,148)},Cqt.xj=function(t){return O9(HIe,Hqt,148,t,0,1)},gX(h6t,"EcorePackageImpl/6",1189),dIt(1190,1,c7t,Il),Cqt.wj=function(t){return rO(t,457)},Cqt.xj=function(t){return O9(KIe,Hqt,671,t,0,1)},gX(h6t,"EcorePackageImpl/7",1190),dIt(1191,1,c7t,Ml),Cqt.wj=function(t){return rO(t,573)},Cqt.xj=function(t){return O9(GIe,Hqt,678,t,0,1)},gX(h6t,"EcorePackageImpl/8",1191),dIt(1192,1,c7t,Ol),Cqt.wj=function(t){return rO(t,471)},Cqt.xj=function(t){return O9(QLe,Hqt,471,t,0,1)},gX(h6t,"EcorePackageImpl/9",1192),dIt(1025,1982,r8t,Oy),Cqt.bi=function(t,e){Lht(this,QH(e,415))},Cqt.fi=function(t,e){eBt(this,t,QH(e,415))},gX(h6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),dIt(1026,143,t8t,aq),Cqt.Ai=function(){return this.a.a},gX(h6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),dIt(1053,1052,{},oM),gX("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var qMe,VMe,WMe,YMe,JMe,ZMe,tOe=h$(u7t,"Resource");dIt(781,1378,h7t),Cqt.Yk=function(t){},Cqt.Zk=function(t){},Cqt.Vk=function(){return!this.a&&(this.a=new Cm(this)),this.a},Cqt.Wk=function(t){var e,n,r,i,a;if((r=t.length)>0){if(h1(0,t.length),47==t.charCodeAt(0)){for(a=new W6(4),i=1,e=1;e<r;++e)h1(e,t.length),47==t.charCodeAt(e)&&(zH(a,i==e?"":t.substr(i,e-i)),i=e+1);return zH(a,t.substr(i)),sTt(this,a)}h1(r-1,t.length),63==t.charCodeAt(r-1)&&(n=kR(t,WCt(63),r-2))>0&&(t=t.substr(0,n))}return wSt(this,t)},Cqt.Xk=function(){return this.c},Cqt.Ib=function(){return JT(this.gm)+"@"+(Zct(this)>>>0).toString(16)+" uri='"+this.d+"'"},Cqt.b=!1,gX(f7t,"ResourceImpl",781),dIt(1379,781,h7t,xm),gX(f7t,"BinaryResourceImpl",1379),dIt(1169,694,u9t),Cqt.si=function(t){return rO(t,56)?TY(this,QH(t,56)):rO(t,591)?new SO(QH(t,591).Vk()):jS(t)===jS(this.f)?QH(t,14).Kc():(dF(),AIe.a)},Cqt.Ob=function(){return fLt(this)},Cqt.a=!1,gX(v8t,"EcoreUtil/ContentTreeIterator",1169),dIt(1380,1169,u9t,nz),Cqt.si=function(t){return jS(t)===jS(this.f)?QH(t,15).Kc():new R2(QH(t,56))},gX(f7t,"ResourceImpl/5",1380),dIt(648,1994,D8t,Cm),Cqt.Hc=function(t){return this.i<=4?ETt(this,t):rO(t,49)&&QH(t,49).Zg()==this.a},Cqt.bi=function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0))},Cqt.di=function(t,e){0==t?this.a.b||(this.a.b=!0):I9(this,t,e)},Cqt.fi=function(t,e){},Cqt.gi=function(t,e,n){},Cqt.aj=function(){return 2},Cqt.Ai=function(){return this.a},Cqt.bj=function(){return!0},Cqt.cj=function(t,e){return e=QH(t,49).wh(this.a,e)},Cqt.dj=function(t,e){return QH(t,49).wh(null,e)},Cqt.ej=function(){return!1},Cqt.hi=function(){return!0},Cqt.ri=function(t){return O9(LLe,Hqt,56,t,0,1)},Cqt.ni=function(){return!1},gX(f7t,"ResourceImpl/ContentsEList",648),dIt(957,1964,MVt,Em),Cqt.Zc=function(t){return this.a._h(t)},Cqt.gc=function(){return this.a.gc()},gX(v8t,"AbstractSequentialInternalEList/1",957),dIt(624,1,{},Cj),gX(v8t,"BasicExtendedMetaData",624),dIt(1160,1,{},LS),Cqt.$k=function(){return null},Cqt._k=function(){return-2==this.a&&od(this,aEt(this.d,this.b)),this.a},Cqt.al=function(){return null},Cqt.bl=function(){return CW(),CW(),cne},Cqt.ne=function(){return this.c==_7t&&cd(this,Tgt(this.d,this.b)),this.c},Cqt.cl=function(){return 0},Cqt.a=-2,Cqt.c=_7t,gX(v8t,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),dIt(1161,1,{},P0),Cqt.$k=function(){return this.a==(D5(),JMe)&&sd(this,mNt(this.f,this.b)),this.a},Cqt._k=function(){return 0},Cqt.al=function(){return this.c==(D5(),JMe)&&ld(this,bNt(this.f,this.b)),this.c},Cqt.bl=function(){return!this.d&&ud(this,ERt(this.f,this.b)),this.d},Cqt.ne=function(){return this.e==_7t&&hd(this,Tgt(this.f,this.b)),this.e},Cqt.cl=function(){return-2==this.g&&fd(this,Wkt(this.f,this.b)),this.g},Cqt.e=_7t,Cqt.g=-2,gX(v8t,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),dIt(1159,1,{},DS),Cqt.b=!1,Cqt.c=!1,gX(v8t,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),dIt(1162,1,{},F0),Cqt.c=-2,Cqt.e=_7t,Cqt.f=_7t,gX(v8t,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),dIt(585,622,F8t,kj),Cqt.aj=function(){return this.c},Cqt.Fk=function(){return!1},Cqt.li=function(t,e){return e},Cqt.c=0,gX(v8t,"EDataTypeEList",585);var eOe,nOe,rOe,iOe,aOe,oOe,sOe,cOe,lOe,uOe=h$(v8t,"FeatureMap");dIt(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},Tat),Cqt.Vc=function(t,e){hNt(this,t,QH(e,72))},Cqt.Fc=function(t){return oOt(this,QH(t,72))},Cqt.Yh=function(t){dX(this,QH(t,72))},Cqt.cj=function(t,e){return UR(this,QH(t,72),e)},Cqt.dj=function(t,e){return HR(this,QH(t,72),e)},Cqt.ii=function(t,e){return aQt(this,t,e)},Cqt.li=function(t,e){return lKt(this,t,QH(e,72))},Cqt._c=function(t,e){return xDt(this,t,QH(e,72))},Cqt.jj=function(t,e){return jR(this,QH(t,72),e)},Cqt.kj=function(t,e){return $R(this,QH(t,72),e)},Cqt.lj=function(t,e,n){return pkt(this,QH(t,72),QH(e,72),n)},Cqt.oi=function(t,e){return cCt(this,t,QH(e,72))},Cqt.dl=function(t,e){return NRt(this,t,e)},Cqt.Wc=function(t,e){var n,r,i,a,o,s,c,l,u;for(l=new pet(e.gc()),i=e.Kc();i.Ob();)if(a=(r=QH(i.Pb(),72)).ak(),IDt(this.e,a))(!a.hi()||!j4(this,a,r.dd())&&!ETt(l,r))&&l8(l,r);else{for(u=aDt(this.e.Tg(),a),n=QH(this.g,119),o=!0,s=0;s<this.i;++s)if(c=n[s],u.rl(c.ak())){QH(sbt(this,s,r),72),o=!1;break}o&&l8(l,r)}return sct(this,t,l)},Cqt.Gc=function(t){var e,n,r,i,a,o,s,c,l;for(c=new pet(t.gc()),r=t.Kc();r.Ob();)if(i=(n=QH(r.Pb(),72)).ak(),IDt(this.e,i))(!i.hi()||!j4(this,i,n.dd())&&!ETt(c,n))&&l8(c,n);else{for(l=aDt(this.e.Tg(),i),e=QH(this.g,119),a=!0,o=0;o<this.i;++o)if(s=e[o],l.rl(s.ak())){QH(sbt(this,o,n),72),a=!1;break}a&&l8(c,n)}return pX(this,c)},Cqt.Wh=function(t){return this.j=-1,MUt(this,this.i,t)},Cqt.el=function(t,e,n){return xPt(this,t,e,n)},Cqt.mk=function(t,e){return kRt(this,t,e)},Cqt.fl=function(t,e,n){return JHt(this,t,e,n)},Cqt.gl=function(){return this},Cqt.hl=function(t,e){return rjt(this,t,e)},Cqt.il=function(t){return QH(Xet(this,t),72).ak()},Cqt.jl=function(t){return QH(Xet(this,t),72).dd()},Cqt.kl=function(){return this.b},Cqt.bj=function(){return!0},Cqt.ij=function(){return!0},Cqt.ll=function(t){return!apt(this,t)},Cqt.ri=function(t){return O9(GMe,l7t,332,t,0,1)},Cqt.Gk=function(t){return cF(this,t)},Cqt.Wb=function(t){Zz(this,t)},Cqt.ml=function(t,e){Cjt(this,t,e)},Cqt.nl=function(t){return Krt(this,t)},Cqt.ol=function(t){Pvt(this,t)},gX(v8t,"BasicFeatureMap",75),dIt(1851,1,iVt),Cqt.Nb=function(t){lz(this,t)},Cqt.Rb=function(t){if(-1==this.g)throw Um(new db);mG(this);try{LDt(this.e,this.b,this.a,t),this.d=this.e.j,ibt(this)}catch(t){throw rO(t=hst(t),73)?Um(new gb):Um(t)}},Cqt.Ob=function(){return Plt(this)},Cqt.Sb=function(){return Rlt(this)},Cqt.Pb=function(){return ibt(this)},Cqt.Tb=function(){return this.a},Cqt.Ub=function(){var t;if(Rlt(this))return mG(this),this.g=--this.a,this.Lk()&&(t=QSt(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw Um(new bb)},Cqt.Vb=function(){return this.a-1},Cqt.Qb=function(){if(-1==this.g)throw Um(new db);mG(this);try{a_t(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw rO(t=hst(t),73)?Um(new gb):Um(t)}},Cqt.Lk=function(){return!1},Cqt.Wb=function(t){if(-1==this.g)throw Um(new db);mG(this);try{zUt(this.e,this.b,this.g,t),this.d=this.e.j}catch(t){throw rO(t=hst(t),73)?Um(new gb):Um(t)}},Cqt.a=0,Cqt.c=0,Cqt.d=0,Cqt.f=!1,Cqt.g=0,Cqt.i=0,gX(v8t,"FeatureMapUtil/BasicFeatureEIterator",1851),dIt(410,1851,iVt,Lot),Cqt.pl=function(){var t,e,n;for(n=this.e.i,t=QH(this.e.g,119);this.c<n;){if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},Cqt.ql=function(){var t,e;for(t=QH(this.e.g,119);--this.c>=0;)if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},gX(v8t,"BasicFeatureMap/FeatureEIterator",410),dIt(662,410,iVt,OL),Cqt.Lk=function(){return!0},gX(v8t,"BasicFeatureMap/ResolvingFeatureEIterator",662),dIt(955,486,j8t,$M),Cqt.Gi=function(){return this},gX(v8t,"EContentsEList/1",955),dIt(956,486,j8t,NL),Cqt.Lk=function(){return!1},gX(v8t,"EContentsEList/2",956),dIt(954,279,$8t,KM),Cqt.Nk=function(t){},Cqt.Ob=function(){return!1},Cqt.Sb=function(){return!1},gX(v8t,"EContentsEList/FeatureIteratorImpl/1",954),dIt(825,585,F8t,FO),Cqt.ci=function(){this.a=!0},Cqt.fj=function(){return this.a},Cqt.Xj=function(){var t;c$t(this),mI(this.e)?(t=this.a,this.a=!1,fot(this.e,new Z5(this.e,2,this.c,t,!1))):this.a=!1},Cqt.a=!1,gX(v8t,"EDataTypeEList/Unsettable",825),dIt(1849,585,F8t,PO),Cqt.hi=function(){return!0},gX(v8t,"EDataTypeUniqueEList",1849),dIt(1850,825,F8t,RO),Cqt.hi=function(){return!0},gX(v8t,"EDataTypeUniqueEList/Unsettable",1850),dIt(139,85,F8t,MO),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectContainmentEList/Resolving",139),dIt(1163,545,F8t,OO),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectContainmentEList/Unsettable/Resolving",1163),dIt(748,16,F8t,eR),Cqt.ci=function(){this.a=!0},Cqt.fj=function(){return this.a},Cqt.Xj=function(){var t;c$t(this),mI(this.e)?(t=this.a,this.a=!1,fot(this.e,new Z5(this.e,2,this.c,t,!1))):this.a=!1},Cqt.a=!1,gX(v8t,"EObjectContainmentWithInverseEList/Unsettable",748),dIt(1173,748,F8t,nR),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),dIt(743,496,F8t,NO),Cqt.ci=function(){this.a=!0},Cqt.fj=function(){return this.a},Cqt.Xj=function(){var t;c$t(this),mI(this.e)?(t=this.a,this.a=!1,fot(this.e,new Z5(this.e,2,this.c,t,!1))):this.a=!1},Cqt.a=!1,gX(v8t,"EObjectEList/Unsettable",743),dIt(328,496,F8t,DO),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectResolvingEList",328),dIt(1641,743,F8t,QO),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectResolvingEList/Unsettable",1641),dIt(1381,1,{},Nl),gX(v8t,"EObjectValidator",1381),dIt(546,496,F8t,ez),Cqt.zk=function(){return this.d},Cqt.Ak=function(){return this.b},Cqt.bj=function(){return!0},Cqt.Dk=function(){return!0},Cqt.b=0,gX(v8t,"EObjectWithInverseEList",546),dIt(1176,546,F8t,rR),Cqt.Ck=function(){return!0},gX(v8t,"EObjectWithInverseEList/ManyInverse",1176),dIt(625,546,F8t,iR),Cqt.ci=function(){this.a=!0},Cqt.fj=function(){return this.a},Cqt.Xj=function(){var t;c$t(this),mI(this.e)?(t=this.a,this.a=!1,fot(this.e,new Z5(this.e,2,this.c,t,!1))):this.a=!1},Cqt.a=!1,gX(v8t,"EObjectWithInverseEList/Unsettable",625),dIt(1175,625,F8t,oR),Cqt.Ck=function(){return!0},gX(v8t,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),dIt(749,546,F8t,aR),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectWithInverseResolvingEList",749),dIt(31,749,F8t,cR),Cqt.Ck=function(){return!0},gX(v8t,"EObjectWithInverseResolvingEList/ManyInverse",31),dIt(750,625,F8t,sR),Cqt.Ek=function(){return!0},Cqt.li=function(t,e){return $Lt(this,t,QH(e,56))},gX(v8t,"EObjectWithInverseResolvingEList/Unsettable",750),dIt(1174,750,F8t,lR),Cqt.Ck=function(){return!0},gX(v8t,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),dIt(1164,622,F8t),Cqt.ai=function(){return 0==(1792&this.b)},Cqt.ci=function(){this.b|=1},Cqt.Bk=function(){return 0!=(4&this.b)},Cqt.bj=function(){return 0!=(40&this.b)},Cqt.Ck=function(){return 0!=(16&this.b)},Cqt.Dk=function(){return 0!=(8&this.b)},Cqt.Ek=function(){return 0!=(this.b&C8t)},Cqt.rk=function(){return 0!=(32&this.b)},Cqt.Fk=function(){return 0!=(this.b&y6t)},Cqt.wj=function(t){return this.d?O4(this.d,t):this.ak().Yj().wj(t)},Cqt.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},Cqt.hi=function(){return 0!=(128&this.b)},Cqt.Xj=function(){var t;c$t(this),0!=(2&this.b)&&(mI(this.e)?(t=0!=(1&this.b),this.b&=-2,Ib(this,new Z5(this.e,2,LAt(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},Cqt.ni=function(){return 0==(1536&this.b)},Cqt.b=0,gX(v8t,"EcoreEList/Generic",1164),dIt(1165,1164,F8t,$W),Cqt.ak=function(){return this.a},gX(v8t,"EcoreEList/Dynamic",1165),dIt(747,63,l9t,_m),Cqt.ri=function(t){return Dnt(this.a.a,t)},gX(v8t,"EcoreEMap/1",747),dIt(746,85,F8t,YG),Cqt.bi=function(t,e){Bbt(this.b,QH(e,133))},Cqt.di=function(t,e){aot(this.b)},Cqt.ei=function(t,e,n){var r;++(r=this.b,QH(e,133),r).e},Cqt.fi=function(t,e){Sft(this.b,QH(e,133))},Cqt.gi=function(t,e,n){Sft(this.b,QH(n,133)),jS(n)===jS(e)&&QH(n,133).Th(rM(QH(e,133).cd())),Bbt(this.b,QH(e,133))},gX(v8t,"EcoreEMap/DelegateEObjectContainmentEList",746),dIt(1171,151,w8t,vrt),gX(v8t,"EcoreEMap/Unsettable",1171),dIt(1172,746,F8t,uR),Cqt.ci=function(){this.a=!0},Cqt.fj=function(){return this.a},Cqt.Xj=function(){var t;c$t(this),mI(this.e)?(t=this.a,this.a=!1,fot(this.e,new Z5(this.e,2,this.c,t,!1))):this.a=!1},Cqt.a=!1,gX(v8t,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),dIt(1168,228,tYt,uX),Cqt.a=!1,Cqt.b=!1,gX(v8t,"EcoreUtil/Copier",1168),dIt(745,1,Vqt,R2),Cqt.Nb=function(t){lz(this,t)},Cqt.Ob=function(){return opt(this)},Cqt.Pb=function(){var t;return opt(this),t=this.b,this.b=null,t},Cqt.Qb=function(){this.a.Qb()},gX(v8t,"EcoreUtil/ProperContentIterator",745),dIt(1382,1381,{},Ph),gX(v8t,"EcoreValidator",1382),h$(v8t,"FeatureMapUtil/Validator"),dIt(1260,1,{1942:1},Dl),Cqt.rl=function(t){return!0},gX(v8t,"FeatureMapUtil/1",1260),dIt(757,1,{1942:1},izt),Cqt.rl=function(t){var e;return this.c==t||(null==(e=TF(DX(this.a,t)))?NPt(this,t)?(n6(this.a,t,(cN(),mee)),!0):(n6(this.a,t,(cN(),gee)),!1):e==(cN(),mee))},Cqt.e=!1,gX(v8t,"FeatureMapUtil/BasicValidator",757),dIt(758,43,tYt,GM),gX(v8t,"FeatureMapUtil/BasicValidator/Cache",758),dIt(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},OS),Cqt.Vc=function(t,e){LDt(this.c,this.b,t,e)},Cqt.Fc=function(t){return NRt(this.c,this.b,t)},Cqt.Wc=function(t,e){return wjt(this.c,this.b,t,e)},Cqt.Gc=function(t){return YM(this,t)},Cqt.Xh=function(t,e){cet(this.c,this.b,t,e)},Cqt.lk=function(t,e){return xPt(this.c,this.b,t,e)},Cqt.pi=function(t){return njt(this.c,this.b,t,!1)},Cqt.Zh=function(){return yI(this.c,this.b)},Cqt.$h=function(){return wI(this.c,this.b)},Cqt._h=function(t){return L9(this.c,this.b,t)},Cqt.mk=function(t,e){return ZF(this,t,e)},Cqt.$b=function(){Mb(this)},Cqt.Hc=function(t){return j4(this.c,this.b,t)},Cqt.Ic=function(t){return Cat(this.c,this.b,t)},Cqt.Xb=function(t){return njt(this.c,this.b,t,!0)},Cqt.Wj=function(t){return this},Cqt.Xc=function(t){return $4(this.c,this.b,t)},Cqt.dc=function(){return US(this)},Cqt.fj=function(){return!apt(this.c,this.b)},Cqt.Kc=function(){return rtt(this.c,this.b)},Cqt.Yc=function(){return itt(this.c,this.b)},Cqt.Zc=function(t){return hft(this.c,this.b,t)},Cqt.ii=function(t,e){return bUt(this.c,this.b,t,e)},Cqt.ji=function(t,e){q6(this.c,this.b,t,e)},Cqt.$c=function(t){return a_t(this.c,this.b,t)},Cqt.Mc=function(t){return _Rt(this.c,this.b,t)},Cqt._c=function(t,e){return zUt(this.c,this.b,t,e)},Cqt.Wb=function(t){LLt(this.c,this.b),YM(this,QH(t,15))},Cqt.gc=function(){return Pft(this.c,this.b)},Cqt.Pc=function(){return j1(this.c,this.b)},Cqt.Qc=function(t){return K4(this.c,this.b,t)},Cqt.Ib=function(){var t,e;for((e=new Cw).a+="[",t=yI(this.c,this.b);Plt(t);)rL(e,vN(ibt(t))),Plt(t)&&(e.a+=Qqt);return e.a+="]",e.a},Cqt.Xj=function(){LLt(this.c,this.b)},gX(v8t,"FeatureMapUtil/FeatureEList",501),dIt(627,36,t8t,h3),Cqt.yi=function(t){return eft(this,t)},Cqt.Di=function(t){var e,n,r,i;switch(this.d){case 1:case 2:if(jS(t.Ai())===jS(this.c)&&eft(this,null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0;break;case 3:if(3===t.xi()&&jS(t.Ai())===jS(this.c)&&eft(this,null)==t.yi(null))return this.d=5,l8(e=new pet(2),this.g),l8(e,t.zi()),this.g=e,!0;break;case 5:if(3===t.xi()&&jS(t.Ai())===jS(this.c)&&eft(this,null)==t.yi(null))return QH(this.g,14).Fc(t.zi()),!0;break;case 4:switch(t.xi()){case 3:if(jS(t.Ai())===jS(this.c)&&eft(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break;case 4:if(jS(t.Ai())===jS(this.c)&&eft(this,null)==t.yi(null))return this.d=6,l8(i=new pet(2),this.n),l8(i,t.Bi()),this.n=i,r=xst(jw(BNe,1),lWt,25,15,[this.o,t.Ci()]),this.g=r,!0}break;case 6:if(4===t.xi()&&jS(t.Ai())===jS(this.c)&&eft(this,null)==t.yi(null))return QH(this.n,14).Fc(t.Bi()),ajt(r=QH(this.g,48),0,n=O9(BNe,lWt,25,r.length+1,15,1),0,r.length),n[r.length]=t.Ci(),this.g=n,!0}return!1},gX(v8t,"FeatureMapUtil/FeatureENotificationImpl",627),dIt(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},u$),Cqt.dl=function(t,e){return NRt(this.c,t,e)},Cqt.el=function(t,e,n){return xPt(this.c,t,e,n)},Cqt.fl=function(t,e,n){return JHt(this.c,t,e,n)},Cqt.gl=function(){return this},Cqt.hl=function(t,e){return rjt(this.c,t,e)},Cqt.il=function(t){return QH(njt(this.c,this.b,t,!1),72).ak()},Cqt.jl=function(t){return QH(njt(this.c,this.b,t,!1),72).dd()},Cqt.kl=function(){return this.a},Cqt.ll=function(t){return!apt(this.c,t)},Cqt.ml=function(t,e){Cjt(this.c,t,e)},Cqt.nl=function(t){return Krt(this.c,t)},Cqt.ol=function(t){Pvt(this.c,t)},gX(v8t,"FeatureMapUtil/FeatureFeatureMap",552),dIt(1259,1,y8t,FS),Cqt.Wj=function(t){return njt(this.b,this.a,-1,t)},Cqt.fj=function(){return!apt(this.b,this.a)},Cqt.Wb=function(t){Cjt(this.b,this.a,t)},Cqt.Xj=function(){LLt(this.b,this.a)},gX(v8t,"FeatureMapUtil/FeatureValue",1259);var hOe=h$(S7t,"AnyType");dIt(666,60,UVt,ew),gX(S7t,"InvalidDatatypeValueException",666);var fOe,dOe,AOe,pOe,gOe,mOe,bOe,vOe,yOe,wOe,TOe,kOe,COe,EOe,xOe,_Oe,BOe,SOe,LOe,IOe,MOe,OOe,NOe,DOe,FOe,POe,ROe,QOe,UOe,HOe,jOe=h$(S7t,L7t),$Oe=h$(S7t,I7t),KOe=h$(S7t,M7t);dIt(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Dv),Cqt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new Tat(this,0)),this.c):(!this.c&&(this.c=new Tat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Tat(this,0)),QH(JZ(this.c,(G$t(),pOe)),153)):(!this.c&&(this.c=new Tat(this,0)),QH(QH(JZ(this.c,(G$t(),pOe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new Tat(this,2)),this.b):(!this.b&&(this.b=new Tat(this,2)),this.b.b)}return K8(this,t-hX(this.zh()),eet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Dh),this.k).ck(),t),e,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.c&&(this.c=new Tat(this,0)),kRt(this.c,t,n);case 1:return(!this.c&&(this.c=new Tat(this,0)),QH(QH(JZ(this.c,(G$t(),pOe)),153),69)).mk(t,n);case 2:return!this.b&&(this.b=new Tat(this,2)),kRt(this.b,t,n)}return QH(eet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Dh),this.k).ck(),e),66).Nj().Rj(this,q7(this),e-hX(this.zh()),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new Tat(this,0)),QH(JZ(this.c,(G$t(),pOe)),153)).dc();case 2:return!!this.b&&0!=this.b.i}return B4(this,t-hX(this.zh()),eet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Dh),this.k).ck(),t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new Tat(this,0)),void Zz(this.c,e);case 1:return void(!this.c&&(this.c=new Tat(this,0)),QH(QH(JZ(this.c,(G$t(),pOe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new Tat(this,2)),void Zz(this.b,e)}Mdt(this,t-hX(this.zh()),eet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Dh),this.k).ck(),t),e)},Cqt.zh=function(){return G$t(),AOe},Cqt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new Tat(this,0)),void c$t(this.c);case 1:return void(!this.c&&(this.c=new Tat(this,0)),QH(JZ(this.c,(G$t(),pOe)),153)).$b();case 2:return!this.b&&(this.b=new Tat(this,2)),void c$t(this.b)}jht(this,t-hX(this.zh()),eet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Dh),this.k).ck(),t))},Cqt.Ib=function(){var t;return 0!=(4&this.j)?xMt(this):((t=new lN(xMt(this))).a+=" (mixed: ",nL(t,this.c),t.a+=", anyAttribute: ",nL(t,this.b),t.a+=")",t.a)},gX(O7t,"AnyTypeImpl",830),dIt(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},Pl),Cqt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return K8(this,t-hX((G$t(),_Oe)),eet(0==(2&this.j)?_Oe:(!this.k&&(this.k=new Dh),this.k).ck(),t),e,n)},Cqt.lh=function(t){switch(t){case 0:return null!=this.a;case 1:return null!=this.b}return B4(this,t-hX((G$t(),_Oe)),eet(0==(2&this.j)?_Oe:(!this.k&&(this.k=new Dh),this.k).ck(),t))},Cqt.sh=function(t,e){switch(t){case 0:return void vd(this,CF(e));case 1:return void yd(this,CF(e))}Mdt(this,t-hX((G$t(),_Oe)),eet(0==(2&this.j)?_Oe:(!this.k&&(this.k=new Dh),this.k).ck(),t),e)},Cqt.zh=function(){return G$t(),_Oe},Cqt.Bh=function(t){switch(t){case 0:return void(this.a=null);case 1:return void(this.b=null)}jht(this,t-hX((G$t(),_Oe)),eet(0==(2&this.j)?_Oe:(!this.k&&(this.k=new Dh),this.k).ck(),t))},Cqt.Ib=function(){var t;return 0!=(4&this.j)?xMt(this):((t=new lN(xMt(this))).a+=" (data: ",rL(t,this.a),t.a+=", target: ",rL(t,this.b),t.a+=")",t.a)},Cqt.a=null,Cqt.b=null,gX(O7t,"ProcessingInstructionImpl",667),dIt(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},Pv),Cqt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new Tat(this,0)),this.c):(!this.c&&(this.c=new Tat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Tat(this,0)),QH(JZ(this.c,(G$t(),pOe)),153)):(!this.c&&(this.c=new Tat(this,0)),QH(QH(JZ(this.c,(G$t(),pOe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new Tat(this,2)),this.b):(!this.b&&(this.b=new Tat(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Tat(this,0)),CF(rjt(this.c,(G$t(),LOe),!0));case 4:return AR(this.a,(!this.c&&(this.c=new Tat(this,0)),CF(rjt(this.c,(G$t(),LOe),!0))));case 5:return this.a}return K8(this,t-hX((G$t(),SOe)),eet(0==(2&this.j)?SOe:(!this.k&&(this.k=new Dh),this.k).ck(),t),e,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new Tat(this,0)),QH(JZ(this.c,(G$t(),pOe)),153)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new Tat(this,0)),null!=CF(rjt(this.c,(G$t(),LOe),!0));case 4:return null!=AR(this.a,(!this.c&&(this.c=new Tat(this,0)),CF(rjt(this.c,(G$t(),LOe),!0))));case 5:return!!this.a}return B4(this,t-hX((G$t(),SOe)),eet(0==(2&this.j)?SOe:(!this.k&&(this.k=new Dh),this.k).ck(),t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new Tat(this,0)),void Zz(this.c,e);case 1:return void(!this.c&&(this.c=new Tat(this,0)),QH(QH(JZ(this.c,(G$t(),pOe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new Tat(this,2)),void Zz(this.b,e);case 3:return void R0(this,CF(e));case 4:return void R0(this,pR(this.a,e));case 5:return void wd(this,QH(e,148))}Mdt(this,t-hX((G$t(),SOe)),eet(0==(2&this.j)?SOe:(!this.k&&(this.k=new Dh),this.k).ck(),t),e)},Cqt.zh=function(){return G$t(),SOe},Cqt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new Tat(this,0)),void c$t(this.c);case 1:return void(!this.c&&(this.c=new Tat(this,0)),QH(JZ(this.c,(G$t(),pOe)),153)).$b();case 2:return!this.b&&(this.b=new Tat(this,2)),void c$t(this.b);case 3:return!this.c&&(this.c=new Tat(this,0)),void Cjt(this.c,(G$t(),LOe),null);case 4:return void R0(this,pR(this.a,null));case 5:return void(this.a=null)}jht(this,t-hX((G$t(),SOe)),eet(0==(2&this.j)?SOe:(!this.k&&(this.k=new Dh),this.k).ck(),t))},gX(O7t,"SimpleAnyTypeImpl",668),dIt(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},Fv),Cqt._g=function(t,e,n){switch(t){case 0:return n?(!this.a&&(this.a=new Tat(this,0)),this.a):(!this.a&&(this.a=new Tat(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new b8((pqt(),bMe),KMe,this,1)),this.b):(!this.b&&(this.b=new b8((pqt(),bMe),KMe,this,1)),S9(this.b));case 2:return n?(!this.c&&(this.c=new b8((pqt(),bMe),KMe,this,2)),this.c):(!this.c&&(this.c=new b8((pqt(),bMe),KMe,this,2)),S9(this.c));case 3:return!this.a&&(this.a=new Tat(this,0)),JZ(this.a,(G$t(),OOe));case 4:return!this.a&&(this.a=new Tat(this,0)),JZ(this.a,(G$t(),NOe));case 5:return!this.a&&(this.a=new Tat(this,0)),JZ(this.a,(G$t(),FOe));case 6:return!this.a&&(this.a=new Tat(this,0)),JZ(this.a,(G$t(),POe))}return K8(this,t-hX((G$t(),MOe)),eet(0==(2&this.j)?MOe:(!this.k&&(this.k=new Dh),this.k).ck(),t),e,n)},Cqt.jh=function(t,e,n){switch(e){case 0:return!this.a&&(this.a=new Tat(this,0)),kRt(this.a,t,n);case 1:return!this.b&&(this.b=new b8((pqt(),bMe),KMe,this,1)),QR(this.b,t,n);case 2:return!this.c&&(this.c=new b8((pqt(),bMe),KMe,this,2)),QR(this.c,t,n);case 5:return!this.a&&(this.a=new Tat(this,0)),ZF(JZ(this.a,(G$t(),FOe)),t,n)}return QH(eet(0==(2&this.j)?(G$t(),MOe):(!this.k&&(this.k=new Dh),this.k).ck(),e),66).Nj().Rj(this,q7(this),e-hX((G$t(),MOe)),t,n)},Cqt.lh=function(t){switch(t){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new Tat(this,0)),!US(JZ(this.a,(G$t(),OOe)));case 4:return!this.a&&(this.a=new Tat(this,0)),!US(JZ(this.a,(G$t(),NOe)));case 5:return!this.a&&(this.a=new Tat(this,0)),!US(JZ(this.a,(G$t(),FOe)));case 6:return!this.a&&(this.a=new Tat(this,0)),!US(JZ(this.a,(G$t(),POe)))}return B4(this,t-hX((G$t(),MOe)),eet(0==(2&this.j)?MOe:(!this.k&&(this.k=new Dh),this.k).ck(),t))},Cqt.sh=function(t,e){switch(t){case 0:return!this.a&&(this.a=new Tat(this,0)),void Zz(this.a,e);case 1:return!this.b&&(this.b=new b8((pqt(),bMe),KMe,this,1)),void tot(this.b,e);case 2:return!this.c&&(this.c=new b8((pqt(),bMe),KMe,this,2)),void tot(this.c,e);case 3:return!this.a&&(this.a=new Tat(this,0)),Mb(JZ(this.a,(G$t(),OOe))),!this.a&&(this.a=new Tat(this,0)),void YM(JZ(this.a,OOe),QH(e,14));case 4:return!this.a&&(this.a=new Tat(this,0)),Mb(JZ(this.a,(G$t(),NOe))),!this.a&&(this.a=new Tat(this,0)),void YM(JZ(this.a,NOe),QH(e,14));case 5:return!this.a&&(this.a=new Tat(this,0)),Mb(JZ(this.a,(G$t(),FOe))),!this.a&&(this.a=new Tat(this,0)),void YM(JZ(this.a,FOe),QH(e,14));case 6:return!this.a&&(this.a=new Tat(this,0)),Mb(JZ(this.a,(G$t(),POe))),!this.a&&(this.a=new Tat(this,0)),void YM(JZ(this.a,POe),QH(e,14))}Mdt(this,t-hX((G$t(),MOe)),eet(0==(2&this.j)?MOe:(!this.k&&(this.k=new Dh),this.k).ck(),t),e)},Cqt.zh=function(){return G$t(),MOe},Cqt.Bh=function(t){switch(t){case 0:return!this.a&&(this.a=new Tat(this,0)),void c$t(this.a);case 1:return!this.b&&(this.b=new b8((pqt(),bMe),KMe,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new b8((pqt(),bMe),KMe,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new Tat(this,0)),void Mb(JZ(this.a,(G$t(),OOe)));case 4:return!this.a&&(this.a=new Tat(this,0)),void Mb(JZ(this.a,(G$t(),NOe)));case 5:return!this.a&&(this.a=new Tat(this,0)),void Mb(JZ(this.a,(G$t(),FOe)));case 6:return!this.a&&(this.a=new Tat(this,0)),void Mb(JZ(this.a,(G$t(),POe)))}jht(this,t-hX((G$t(),MOe)),eet(0==(2&this.j)?MOe:(!this.k&&(this.k=new Dh),this.k).ck(),t))},Cqt.Ib=function(){var t;return 0!=(4&this.j)?xMt(this):((t=new lN(xMt(this))).a+=" (mixed: ",nL(t,this.a),t.a+=")",t.a)},gX(O7t,"XMLTypeDocumentRootImpl",669),dIt(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Fl),Cqt.Ih=function(t,e){switch(t.yj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==e?null:Udt(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return CF(e);case 6:return mF(QH(e,190));case 12:case 47:case 49:case 11:return jKt(this,t,e);case 13:return null==e?null:$Ht(QH(e,240));case 15:case 14:return null==e?null:Dz(jy(kF(e)));case 17:return Tkt((G$t(),e));case 18:return Tkt(e);case 21:case 20:return null==e?null:Fz(QH(e,155).a);case 27:return bF(QH(e,190));case 30:return Rvt((G$t(),QH(e,15)));case 31:return Rvt(QH(e,15));case 40:return yF((G$t(),e));case 42:return kkt((G$t(),e));case 43:return kkt(e);case 59:case 48:return vF((G$t(),e));default:throw Um(new Py(A6t+t.ne()+p6t))}},Cqt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Get(t))?obt(e.Mh(),t):-1),t.G){case 0:return new Dv;case 1:return new Pl;case 2:return new Pv;case 3:return new Fv;default:throw Um(new Py(b6t+t.zb+p6t))}},Cqt.Kh=function(t,e){var n,r,i,a,o,s,c,l,u,h,f,d,A,p,g,m;switch(t.yj()){case 5:case 52:case 4:return e;case 6:return vmt(e);case 8:case 7:return null==e?null:Rkt(e);case 9:return null==e?null:Ett(hQt((r=QHt(e,!0)).length>0&&(h1(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 10:return null==e?null:Ett(hQt((i=QHt(e,!0)).length>0&&(h1(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 11:return CF(NXt(this,(G$t(),bOe),e));case 12:return CF(NXt(this,(G$t(),vOe),e));case 13:return null==e?null:new fk(QHt(e,!0));case 15:case 14:return pOt(e);case 16:return CF(NXt(this,(G$t(),yOe),e));case 17:return Hpt((G$t(),e));case 18:return Hpt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return QHt(e,!0);case 21:case 20:return BOt(e);case 22:return CF(NXt(this,(G$t(),wOe),e));case 23:return CF(NXt(this,(G$t(),TOe),e));case 24:return CF(NXt(this,(G$t(),kOe),e));case 25:return CF(NXt(this,(G$t(),COe),e));case 26:return CF(NXt(this,(G$t(),EOe),e));case 27:return Jgt(e);case 30:return jpt((G$t(),e));case 31:return jpt(e);case 32:return null==e?null:nft(hQt((u=QHt(e,!0)).length>0&&(h1(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,RVt,Dqt));case 33:return null==e?null:new LI((h=QHt(e,!0)).length>0&&(h1(0,h.length),43==h.charCodeAt(0))?h.substr(1):h);case 34:return null==e?null:nft(hQt((f=QHt(e,!0)).length>0&&(h1(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,RVt,Dqt));case 36:return null==e?null:wgt(rzt((d=QHt(e,!0)).length>0&&(h1(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==e?null:wgt(rzt((A=QHt(e,!0)).length>0&&(h1(0,A.length),43==A.charCodeAt(0))?A.substr(1):A));case 40:return qAt((G$t(),e));case 42:return $pt((G$t(),e));case 43:return $pt(e);case 44:return null==e?null:new LI((p=QHt(e,!0)).length>0&&(h1(0,p.length),43==p.charCodeAt(0))?p.substr(1):p);case 45:return null==e?null:new LI((g=QHt(e,!0)).length>0&&(h1(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return QHt(e,!1);case 47:return CF(NXt(this,(G$t(),xOe),e));case 59:case 48:return XAt((G$t(),e));case 49:return CF(NXt(this,(G$t(),BOe),e));case 50:return null==e?null:rft(hQt((m=QHt(e,!0)).length>0&&(h1(0,m.length),43==m.charCodeAt(0))?m.substr(1):m,V8t,32767)<<16>>16);case 51:return null==e?null:rft(hQt((a=QHt(e,!0)).length>0&&(h1(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,V8t,32767)<<16>>16);case 53:return CF(NXt(this,(G$t(),IOe),e));case 55:return null==e?null:rft(hQt((o=QHt(e,!0)).length>0&&(h1(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,V8t,32767)<<16>>16);case 56:return null==e?null:rft(hQt((s=QHt(e,!0)).length>0&&(h1(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,V8t,32767)<<16>>16);case 57:return null==e?null:wgt(rzt((c=QHt(e,!0)).length>0&&(h1(0,c.length),43==c.charCodeAt(0))?c.substr(1):c));case 58:return null==e?null:wgt(rzt((l=QHt(e,!0)).length>0&&(h1(0,l.length),43==l.charCodeAt(0))?l.substr(1):l));case 60:return null==e?null:nft(hQt((n=QHt(e,!0)).length>0&&(h1(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,RVt,Dqt));case 61:return null==e?null:nft(hQt(QHt(e,!0),RVt,Dqt));default:throw Um(new Py(A6t+t.ne()+p6t))}},gX(O7t,"XMLTypeFactoryImpl",1919),dIt(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},$q),Cqt.N=!1,Cqt.O=!1;var GOe,zOe,XOe,qOe,VOe,WOe=!1;gX(O7t,"XMLTypePackageImpl",586),dIt(1852,1,{837:1},Rl),Cqt._j=function(){return uUt(),wNe},gX(O7t,"XMLTypePackageImpl/1",1852),dIt(1861,1,c7t,Ql),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/10",1861),dIt(1862,1,c7t,Ul),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/11",1862),dIt(1863,1,c7t,Hl),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/12",1863),dIt(1864,1,c7t,jl),Cqt.wj=function(t){return KS(t)},Cqt.xj=function(t){return O9(xee,cVt,333,t,7,1)},gX(O7t,"XMLTypePackageImpl/13",1864),dIt(1865,1,c7t,$l),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/14",1865),dIt(1866,1,c7t,Kl),Cqt.wj=function(t){return rO(t,15)},Cqt.xj=function(t){return O9(Fte,ZJt,15,t,0,1)},gX(O7t,"XMLTypePackageImpl/15",1866),dIt(1867,1,c7t,Gl),Cqt.wj=function(t){return rO(t,15)},Cqt.xj=function(t){return O9(Fte,ZJt,15,t,0,1)},gX(O7t,"XMLTypePackageImpl/16",1867),dIt(1868,1,c7t,zl),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/17",1868),dIt(1869,1,c7t,Xl),Cqt.wj=function(t){return rO(t,155)},Cqt.xj=function(t){return O9(_ee,cVt,155,t,0,1)},gX(O7t,"XMLTypePackageImpl/18",1869),dIt(1870,1,c7t,ql),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/19",1870),dIt(1853,1,c7t,Vl),Cqt.wj=function(t){return rO(t,843)},Cqt.xj=function(t){return O9(hOe,Hqt,843,t,0,1)},gX(O7t,"XMLTypePackageImpl/2",1853),dIt(1871,1,c7t,Wl),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/20",1871),dIt(1872,1,c7t,Yl),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/21",1872),dIt(1873,1,c7t,Jl),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/22",1873),dIt(1874,1,c7t,Zl),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/23",1874),dIt(1875,1,c7t,tu),Cqt.wj=function(t){return rO(t,190)},Cqt.xj=function(t){return O9(INe,cVt,190,t,0,2)},gX(O7t,"XMLTypePackageImpl/24",1875),dIt(1876,1,c7t,eu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/25",1876),dIt(1877,1,c7t,nu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/26",1877),dIt(1878,1,c7t,ru),Cqt.wj=function(t){return rO(t,15)},Cqt.xj=function(t){return O9(Fte,ZJt,15,t,0,1)},gX(O7t,"XMLTypePackageImpl/27",1878),dIt(1879,1,c7t,iu),Cqt.wj=function(t){return rO(t,15)},Cqt.xj=function(t){return O9(Fte,ZJt,15,t,0,1)},gX(O7t,"XMLTypePackageImpl/28",1879),dIt(1880,1,c7t,au),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/29",1880),dIt(1854,1,c7t,ou),Cqt.wj=function(t){return rO(t,667)},Cqt.xj=function(t){return O9(jOe,Hqt,2021,t,0,1)},gX(O7t,"XMLTypePackageImpl/3",1854),dIt(1881,1,c7t,su),Cqt.wj=function(t){return rO(t,19)},Cqt.xj=function(t){return O9(Lee,cVt,19,t,0,1)},gX(O7t,"XMLTypePackageImpl/30",1881),dIt(1882,1,c7t,cu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/31",1882),dIt(1883,1,c7t,lu),Cqt.wj=function(t){return rO(t,162)},Cqt.xj=function(t){return O9(Fee,cVt,162,t,0,1)},gX(O7t,"XMLTypePackageImpl/32",1883),dIt(1884,1,c7t,uu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/33",1884),dIt(1885,1,c7t,hu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/34",1885),dIt(1886,1,c7t,fu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/35",1886),dIt(1887,1,c7t,du),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/36",1887),dIt(1888,1,c7t,Au),Cqt.wj=function(t){return rO(t,15)},Cqt.xj=function(t){return O9(Fte,ZJt,15,t,0,1)},gX(O7t,"XMLTypePackageImpl/37",1888),dIt(1889,1,c7t,pu),Cqt.wj=function(t){return rO(t,15)},Cqt.xj=function(t){return O9(Fte,ZJt,15,t,0,1)},gX(O7t,"XMLTypePackageImpl/38",1889),dIt(1890,1,c7t,gu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/39",1890),dIt(1855,1,c7t,mu),Cqt.wj=function(t){return rO(t,668)},Cqt.xj=function(t){return O9($Oe,Hqt,2022,t,0,1)},gX(O7t,"XMLTypePackageImpl/4",1855),dIt(1891,1,c7t,bu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/40",1891),dIt(1892,1,c7t,vu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/41",1892),dIt(1893,1,c7t,yu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/42",1893),dIt(1894,1,c7t,wu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/43",1894),dIt(1895,1,c7t,Tu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/44",1895),dIt(1896,1,c7t,ku),Cqt.wj=function(t){return rO(t,184)},Cqt.xj=function(t){return O9(Ree,cVt,184,t,0,1)},gX(O7t,"XMLTypePackageImpl/45",1896),dIt(1897,1,c7t,Cu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/46",1897),dIt(1898,1,c7t,Eu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/47",1898),dIt(1899,1,c7t,xu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/48",1899),dIt(cWt,1,c7t,_u),Cqt.wj=function(t){return rO(t,184)},Cqt.xj=function(t){return O9(Ree,cVt,184,t,0,1)},gX(O7t,"XMLTypePackageImpl/49",cWt),dIt(1856,1,c7t,Bu),Cqt.wj=function(t){return rO(t,669)},Cqt.xj=function(t){return O9(KOe,Hqt,2023,t,0,1)},gX(O7t,"XMLTypePackageImpl/5",1856),dIt(1901,1,c7t,Su),Cqt.wj=function(t){return rO(t,162)},Cqt.xj=function(t){return O9(Fee,cVt,162,t,0,1)},gX(O7t,"XMLTypePackageImpl/50",1901),dIt(1902,1,c7t,Lu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/51",1902),dIt(1903,1,c7t,Iu),Cqt.wj=function(t){return rO(t,19)},Cqt.xj=function(t){return O9(Lee,cVt,19,t,0,1)},gX(O7t,"XMLTypePackageImpl/52",1903),dIt(1857,1,c7t,Mu),Cqt.wj=function(t){return GS(t)},Cqt.xj=function(t){return O9(Vee,cVt,2,t,6,1)},gX(O7t,"XMLTypePackageImpl/6",1857),dIt(1858,1,c7t,Ou),Cqt.wj=function(t){return rO(t,190)},Cqt.xj=function(t){return O9(INe,cVt,190,t,0,2)},gX(O7t,"XMLTypePackageImpl/7",1858),dIt(1859,1,c7t,Nu),Cqt.wj=function(t){return $S(t)},Cqt.xj=function(t){return O9(yee,cVt,476,t,8,1)},gX(O7t,"XMLTypePackageImpl/8",1859),dIt(1860,1,c7t,Du),Cqt.wj=function(t){return rO(t,217)},Cqt.xj=function(t){return O9(kee,cVt,217,t,0,1)},gX(O7t,"XMLTypePackageImpl/9",1860),dIt(50,60,UVt,iw),gX(ate,"RegEx/ParseException",50),dIt(820,1,{},Fu),Cqt.sl=function(t){return t<this.j&&63==lV(this.i,t)},Cqt.tl=function(){var t,e,n,r,i;if(10!=this.c)throw Um(new iw(yqt((aM(),p9t))));switch(t=this.a){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(VXt(this),0!=this.c)throw Um(new iw(yqt((aM(),U9t))));if(123==this.a){for(i=0,n=0;;){if(VXt(this),0!=this.c)throw Um(new iw(yqt((aM(),U9t))));if((i=$bt(this.a))<0)break;if(n>16*n)throw Um(new iw(yqt((aM(),H9t))));n=16*n+i}if(125!=this.a)throw Um(new iw(yqt((aM(),j9t))));if(n>ote)throw Um(new iw(yqt((aM(),$9t))));t=n}else{if(i=0,0!=this.c||(i=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(n=i,VXt(this),0!=this.c||(i=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));t=n=16*n+i}break;case 117:if(r=0,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=16*e+r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=16*e+r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));t=e=16*e+r;break;case 118:if(VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=16*e+r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=16*e+r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=16*e+r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if(e=16*e+r,VXt(this),0!=this.c||(r=$bt(this.a))<0)throw Um(new iw(yqt((aM(),U9t))));if((e=16*e+r)>ote)throw Um(new iw(yqt((aM(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw Um(new iw(yqt((aM(),K9t))))}return t},Cqt.ul=function(t){var e;switch(t){case 100:e=32==(32&this.e)?Jzt("Nd",!0):(dqt(),iNe);break;case 68:e=32==(32&this.e)?Jzt("Nd",!1):(dqt(),lNe);break;case 119:e=32==(32&this.e)?Jzt("IsWord",!0):(dqt(),bNe);break;case 87:e=32==(32&this.e)?Jzt("IsWord",!1):(dqt(),hNe);break;case 115:e=32==(32&this.e)?Jzt("IsSpace",!0):(dqt(),dNe);break;case 83:e=32==(32&this.e)?Jzt("IsSpace",!1):(dqt(),uNe);break;default:throw Um(new dy(ste+t.toString(16)))}return e},Cqt.vl=function(t){var e,n,r,i,a,o,s,c,l,u,h;for(this.b=1,VXt(this),e=null,0==this.c&&94==this.a?(VXt(this),t?(dqt(),dqt(),l=new k0(5)):(dqt(),dqt(),WDt(e=new k0(4),0,ote),l=new k0(4))):(dqt(),dqt(),l=new k0(4)),i=!0;1!=(h=this.c)&&(0!=h||93!=this.a||i);){if(i=!1,n=this.a,r=!1,10==h)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cjt(l,this.ul(n)),r=!0;break;case 105:case 73:case 99:case 67:(n=this.Ll(l,n))<0&&(r=!0);break;case 112:case 80:if(!(u=DSt(this,n)))throw Um(new iw(yqt((aM(),S9t))));cjt(l,u),r=!0;break;default:n=this.tl()}else if(20==h){if((a=uD(this.i,58,this.d))<0)throw Um(new iw(yqt((aM(),L9t))));if(o=!0,94==lV(this.i,this.d)&&(++this.d,o=!1),!(s=h8(lD(this.i,this.d,a),o,512==(512&this.e))))throw Um(new iw(yqt((aM(),M9t))));if(cjt(l,s),r=!0,a+1>=this.j||93!=lV(this.i,a+1))throw Um(new iw(yqt((aM(),L9t))));this.d=a+2}if(VXt(this),!r)if(0!=this.c||45!=this.a)WDt(l,n,n);else{if(VXt(this),1==(h=this.c))throw Um(new iw(yqt((aM(),I9t))));0==h&&93==this.a?(WDt(l,n,n),WDt(l,45,45)):(c=this.a,10==h&&(c=this.tl()),VXt(this),WDt(l,n,c))}(this.e&y6t)==y6t&&0==this.c&&44==this.a&&VXt(this)}if(1==this.c)throw Um(new iw(yqt((aM(),I9t))));return e&&(XKt(e,l),l=e),kMt(l),jjt(l),this.b=0,VXt(this),l},Cqt.wl=function(){var t,e,n,r;for(n=this.vl(!1);7!=(r=this.c);){if(t=this.a,(0!=r||45!=t&&38!=t)&&4!=r)throw Um(new iw(yqt((aM(),R9t))));if(VXt(this),9!=this.c)throw Um(new iw(yqt((aM(),P9t))));if(e=this.vl(!1),4==r)cjt(n,e);else if(45==t)XKt(n,e);else{if(38!=t)throw Um(new dy("ASSERT"));yKt(n,e)}}return VXt(this),n},Cqt.xl=function(){var t,e;return t=this.a-48,dqt(),dqt(),e=new gJ(12,null,t),!this.g&&(this.g=new Pb),xb(this.g,new Bm(t)),VXt(this),e},Cqt.yl=function(){return VXt(this),dqt(),ANe},Cqt.zl=function(){return VXt(this),dqt(),fNe},Cqt.Al=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Bl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Cl=function(){return VXt(this),ult()},Cqt.Dl=function(){return VXt(this),dqt(),gNe},Cqt.El=function(){return VXt(this),dqt(),vNe},Cqt.Fl=function(){var t;if(this.d>=this.j||64!=(65504&(t=lV(this.i,this.d++))))throw Um(new iw(yqt((aM(),E9t))));return VXt(this),dqt(),dqt(),new oK(0,t-64)},Cqt.Gl=function(){return VXt(this),FUt()},Cqt.Hl=function(){return VXt(this),dqt(),yNe},Cqt.Il=function(){var t;return dqt(),dqt(),t=new oK(0,105),VXt(this),t},Cqt.Jl=function(){return VXt(this),dqt(),mNe},Cqt.Kl=function(){return VXt(this),dqt(),pNe},Cqt.Ll=function(t,e){return this.tl()},Cqt.Ml=function(){return VXt(this),dqt(),sNe},Cqt.Nl=function(){var t,e,n,r,i;if(this.d+1>=this.j)throw Um(new iw(yqt((aM(),T9t))));if(r=-1,e=null,49<=(t=lV(this.i,this.d))&&t<=57){if(r=t-48,!this.g&&(this.g=new Pb),xb(this.g,new Bm(r)),++this.d,41!=lV(this.i,this.d))throw Um(new iw(yqt((aM(),v9t))));++this.d}else switch(63==t&&--this.d,VXt(this),(e=SXt(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Um(new iw(yqt((aM(),v9t))));break;default:throw Um(new iw(yqt((aM(),k9t))))}if(VXt(this),n=null,2==(i=qpt(this)).e){if(2!=i.em())throw Um(new iw(yqt((aM(),C9t))));n=i.am(1),i=i.am(0)}if(7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),dqt(),dqt(),new ytt(r,e,i,n)},Cqt.Ol=function(){return VXt(this),dqt(),cNe},Cqt.Pl=function(){var t;if(VXt(this),t=az(24,qpt(this)),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),t},Cqt.Ql=function(){var t;if(VXt(this),t=az(20,qpt(this)),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),t},Cqt.Rl=function(){var t;if(VXt(this),t=az(22,qpt(this)),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),t},Cqt.Sl=function(){var t,e,n,r,i;for(t=0,n=0,e=-1;this.d<this.j&&0!=(i=VLt(e=lV(this.i,this.d)));)t|=i,++this.d;if(this.d>=this.j)throw Um(new iw(yqt((aM(),y9t))));if(45==e){for(++this.d;this.d<this.j&&0!=(i=VLt(e=lV(this.i,this.d)));)n|=i,++this.d;if(this.d>=this.j)throw Um(new iw(yqt((aM(),y9t))))}if(58==e){if(++this.d,VXt(this),r=SX(qpt(this),t,n),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));VXt(this)}else{if(41!=e)throw Um(new iw(yqt((aM(),w9t))));++this.d,VXt(this),r=SX(qpt(this),t,n)}return r},Cqt.Tl=function(){var t;if(VXt(this),t=az(21,qpt(this)),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),t},Cqt.Ul=function(){var t;if(VXt(this),t=az(23,qpt(this)),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),t},Cqt.Vl=function(){var t,e;if(VXt(this),t=this.f++,e=oz(qpt(this),t),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),e},Cqt.Wl=function(){var t;if(VXt(this),t=oz(qpt(this),0),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),t},Cqt.Xl=function(t){return VXt(this),5==this.c?(VXt(this),AK(t,(dqt(),dqt(),new c3(9,t)))):AK(t,(dqt(),dqt(),new c3(3,t)))},Cqt.Yl=function(t){var e;return VXt(this),dqt(),dqt(),e=new nM(2),5==this.c?(VXt(this),t$t(e,oNe),t$t(e,t)):(t$t(e,t),t$t(e,oNe)),e},Cqt.Zl=function(t){return VXt(this),5==this.c?(VXt(this),dqt(),dqt(),new c3(9,t)):(dqt(),dqt(),new c3(3,t))},Cqt.a=0,Cqt.b=0,Cqt.c=0,Cqt.d=0,Cqt.e=0,Cqt.f=1,Cqt.g=null,Cqt.j=0,gX(ate,"RegEx/RegexParser",820),dIt(1824,820,{},Rv),Cqt.sl=function(t){return!1},Cqt.tl=function(){return jFt(this)},Cqt.ul=function(t){return AQt(t)},Cqt.vl=function(t){return JXt(this)},Cqt.wl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.xl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.yl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.zl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Al=function(){return VXt(this),AQt(67)},Cqt.Bl=function(){return VXt(this),AQt(73)},Cqt.Cl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Dl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.El=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Fl=function(){return VXt(this),AQt(99)},Cqt.Gl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Hl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Il=function(){return VXt(this),AQt(105)},Cqt.Jl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Kl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Ll=function(t,e){return cjt(t,AQt(e)),-1},Cqt.Ml=function(){return VXt(this),dqt(),dqt(),new oK(0,94)},Cqt.Nl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Ol=function(){return VXt(this),dqt(),dqt(),new oK(0,36)},Cqt.Pl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Ql=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Rl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Sl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Tl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Ul=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Vl=function(){var t;if(VXt(this),t=oz(qpt(this),0),7!=this.c)throw Um(new iw(yqt((aM(),v9t))));return VXt(this),t},Cqt.Wl=function(){throw Um(new iw(yqt((aM(),G9t))))},Cqt.Xl=function(t){return VXt(this),AK(t,(dqt(),dqt(),new c3(3,t)))},Cqt.Yl=function(t){var e;return VXt(this),dqt(),dqt(),t$t(e=new nM(2),t),t$t(e,oNe),e},Cqt.Zl=function(t){return VXt(this),dqt(),dqt(),new c3(3,t)};var YOe=null,JOe=null;gX(ate,"RegEx/ParserForXMLSchema",1824),dIt(117,1,vte,Sm),Cqt.$l=function(t){throw Um(new dy("Not supported."))},Cqt._l=function(){return-1},Cqt.am=function(t){return null},Cqt.bm=function(){return null},Cqt.cm=function(t){},Cqt.dm=function(t){},Cqt.em=function(){return 0},Cqt.Ib=function(){return this.fm(0)},Cqt.fm=function(t){return 11==this.e?".":""},Cqt.e=0;var ZOe,tNe,eNe,nNe,rNe,iNe,aNe,oNe,sNe,cNe,lNe,uNe,hNe,fNe,dNe,ANe,pNe,gNe,mNe,bNe,vNe,yNe,wNe,TNe,kNe=null,CNe=null,ENe=null,xNe=gX(ate,"RegEx/Token",117);dIt(136,117,{3:1,136:1,117:1},k0),Cqt.fm=function(t){var e,n,r;if(4==this.e)if(this==aNe)n=".";else if(this==iNe)n="\\d";else if(this==bNe)n="\\w";else if(this==dNe)n="\\s";else{for((r=new Cw).a+="[",e=0;e<this.b.length;e+=2)0!=(t&y6t)&&e>0&&(r.a+=","),this.b[e]===this.b[e+1]?rL(r,aHt(this.b[e])):(rL(r,aHt(this.b[e])),r.a+="-",rL(r,aHt(this.b[e+1])));r.a+="]",n=r.a}else if(this==lNe)n="\\D";else if(this==hNe)n="\\W";else if(this==uNe)n="\\S";else{for((r=new Cw).a+="[^",e=0;e<this.b.length;e+=2)0!=(t&y6t)&&e>0&&(r.a+=","),this.b[e]===this.b[e+1]?rL(r,aHt(this.b[e])):(rL(r,aHt(this.b[e])),r.a+="-",rL(r,aHt(this.b[e+1])));r.a+="]",n=r.a}return n},Cqt.a=!1,Cqt.c=!1,gX(ate,"RegEx/RangeToken",136),dIt(584,1,{584:1},Bm),Cqt.a=0,gX(ate,"RegEx/RegexParser/ReferencePosition",584),dIt(583,1,{3:1,583:1},Gk),Cqt.Fb=function(t){var e;return null!=t&&!!rO(t,583)&&(e=QH(t,583),mR(this.b,e.b)&&this.a==e.a)},Cqt.Hb=function(){return mbt(this.b+"/"+tDt(this.a))},Cqt.Ib=function(){return this.c.fm(this.a)},Cqt.a=0,gX(ate,"RegEx/RegularExpression",583),dIt(223,117,vte,oK),Cqt._l=function(){return this.a},Cqt.fm=function(t){var e,n;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:n="\\"+EP(this.a&VVt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=this.a>=UWt?"\\v"+lD(e="0"+(this.a>>>0).toString(16),e.length-6,e.length):""+EP(this.a&VVt)}break;case 8:n=this==sNe||this==cNe?""+EP(this.a&VVt):"\\"+EP(this.a&VVt);break;default:n=null}return n},Cqt.a=0,gX(ate,"RegEx/Token/CharToken",223),dIt(309,117,vte,c3),Cqt.am=function(t){return this.a},Cqt.cm=function(t){this.b=t},Cqt.dm=function(t){this.c=t},Cqt.em=function(){return 1},Cqt.fm=function(t){var e;if(3==this.e)if(this.c<0&&this.b<0)e=this.a.fm(t)+"*";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw Um(new dy("Token#toString(): CLOSURE "+this.c+Qqt+this.b));e=this.a.fm(t)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)e=this.a.fm(t)+"*?";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw Um(new dy("Token#toString(): NONGREEDYCLOSURE "+this.c+Qqt+this.b));e=this.a.fm(t)+"{"+this.c+",}?"}return e},Cqt.b=0,Cqt.c=0,gX(ate,"RegEx/Token/ClosureToken",309),dIt(821,117,vte,Kz),Cqt.am=function(t){return 0==t?this.a:this.b},Cqt.em=function(){return 2},Cqt.fm=function(t){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+?":this.a.fm(t)+""+this.b.fm(t)},gX(ate,"RegEx/Token/ConcatToken",821),dIt(1822,117,vte,ytt),Cqt.am=function(t){if(0==t)return this.d;if(1==t)return this.b;throw Um(new dy("Internal Error: "+t))},Cqt.em=function(){return this.b?2:1},Cqt.fm=function(t){var e;return e=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?e+=this.d+"|"+this.b+")":e+=this.d+")",e},Cqt.c=0,gX(ate,"RegEx/Token/ConditionToken",1822),dIt(1823,117,vte,T0),Cqt.am=function(t){return this.b},Cqt.em=function(){return 1},Cqt.fm=function(t){return"(?"+(0==this.a?"":tDt(this.a))+(0==this.c?"":tDt(this.c))+":"+this.b.fm(t)+")"},Cqt.a=0,Cqt.c=0,gX(ate,"RegEx/Token/ModifierToken",1823),dIt(822,117,vte,rq),Cqt.am=function(t){return this.a},Cqt.em=function(){return 1},Cqt.fm=function(t){var e;switch(e=null,this.e){case 6:e=0==this.b?"(?:"+this.a.fm(t)+")":"("+this.a.fm(t)+")";break;case 20:e="(?="+this.a.fm(t)+")";break;case 21:e="(?!"+this.a.fm(t)+")";break;case 22:e="(?<="+this.a.fm(t)+")";break;case 23:e="(?<!"+this.a.fm(t)+")";break;case 24:e="(?>"+this.a.fm(t)+")"}return e},Cqt.b=0,gX(ate,"RegEx/Token/ParenToken",822),dIt(521,117,{3:1,117:1,521:1},gJ),Cqt.bm=function(){return this.b},Cqt.fm=function(t){return 12==this.e?"\\"+this.a:nIt(this.b)},Cqt.a=0,gX(ate,"RegEx/Token/StringToken",521),dIt(465,117,vte,nM),Cqt.$l=function(t){t$t(this,t)},Cqt.am=function(t){return QH(hq(this.a,t),117)},Cqt.em=function(){return this.a?this.a.a.c.length:0},Cqt.fm=function(t){var e,n,r,i,a;if(1==this.e){if(2==this.a.a.c.length)e=QH(hq(this.a,0),117),i=3==(n=QH(hq(this.a,1),117)).e&&n.am(0)==e?e.fm(t)+"+":9==n.e&&n.am(0)==e?e.fm(t)+"+?":e.fm(t)+""+n.fm(t);else{for(a=new Cw,r=0;r<this.a.a.c.length;r++)rL(a,QH(hq(this.a,r),117).fm(t));i=a.a}return i}if(2==this.a.a.c.length&&7==QH(hq(this.a,1),117).e)i=QH(hq(this.a,0),117).fm(t)+"?";else if(2==this.a.a.c.length&&7==QH(hq(this.a,0),117).e)i=QH(hq(this.a,1),117).fm(t)+"??";else{for(rL(a=new Cw,QH(hq(this.a,0),117).fm(t)),r=1;r<this.a.a.c.length;r++)a.a+="|",rL(a,QH(hq(this.a,r),117).fm(t));i=a.a}return i},gX(ate,"RegEx/Token/UnionToken",465),dIt(518,1,{592:1},Kk),Cqt.Ib=function(){return this.a.b},gX(yte,"XMLTypeUtil/PatternMatcherImpl",518),dIt(1622,1381,{},Pu),gX(yte,"XMLTypeValidator",1622),dIt(264,1,gVt,cG),Cqt.Jc=function(t){t5(this,t)},Cqt.Kc=function(){return(this.b-this.a)*this.c<0?TNe:new GO(this)},Cqt.a=0,Cqt.b=0,Cqt.c=0,gX(Tte,"ExclusiveRange",264),dIt(1068,1,iVt,Ru),Cqt.Rb=function(t){QH(t,19),uM()},Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return jk()},Cqt.Ub=function(){return $k()},Cqt.Wb=function(t){QH(t,19),fM()},Cqt.Ob=function(){return!1},Cqt.Sb=function(){return!1},Cqt.Tb=function(){return-1},Cqt.Vb=function(){return-1},Cqt.Qb=function(){throw Um(new Zy(Ete))},gX(Tte,"ExclusiveRange/1",1068),dIt(254,1,iVt,GO),Cqt.Rb=function(t){QH(t,19),hM()},Cqt.Nb=function(t){lz(this,t)},Cqt.Pb=function(){return Qut(this)},Cqt.Ub=function(){return B8(this)},Cqt.Wb=function(t){QH(t,19),dM()},Cqt.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Cqt.Sb=function(){return this.b>0},Cqt.Tb=function(){return this.b},Cqt.Vb=function(){return this.b-1},Cqt.Qb=function(){throw Um(new Zy(Ete))},Cqt.a=0,Cqt.b=0,gX(Tte,"ExclusiveRange/RangeIterator",254);var _Ne=Dq(x8t,"C"),BNe=Dq(S8t,"I"),SNe=Dq(Iqt,"Z"),LNe=Dq(L8t,"J"),INe=Dq(E8t,"B"),MNe=Dq(_8t,"D"),ONe=Dq(B8t,"F"),NNe=Dq(I8t,"S"),DNe=h$("org.eclipse.elk.core.labels","ILabelManager"),FNe=h$(U6t,"DiagnosticChain"),PNe=h$(u7t,"ResourceSet"),RNe=gX(U6t,"InvocationTargetException",null),QNe=(Nw(),l5),UNe=UNe=lkt;Jnt(qm),cat("permProps",[[[xte,_te],[Bte,"gecko1_8"]],[[xte,_te],[Bte,"ie10"]],[[xte,_te],[Bte,"ie8"]],[[xte,_te],[Bte,"ie9"]],[[xte,_te],[Bte,"safari"]]]),UNe(null,"elk",null)}).call(this)}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e,n){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(e){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,n);var a=Object.assign({},e),o=!1;try{t.resolve("web-worker"),o=!0}catch(t){}if(e.workerUrl)if(o){var s=t("web-worker");a.workerFactory=function(t){return new s(t)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!a.workerFactory){var c=t("./elk-worker.min.js").Worker;a.workerFactory=function(t){return new c(t)}}return i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a))}return a(n,e),n}(t("./elk-api.js").default);Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=o,o.default=o},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(t,e,n){e.exports=Worker},{}]},{},[3])(3)})),olt=n(alt);const slt=new olt,clt={},llt={};let ult={};const hlt=(t,e,n)=>{const r={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return r.TD=r.TB,W5.info("abc88",n,e,t),r[n][e][t]},flt=(t,e,n)=>{if(W5.info("getNextPort abc88",{node:t,edgeDirection:e,graphDirection:n}),!clt[t])switch(n){case"TB":case"TD":clt[t]={inPosition:"north",outPosition:"south"};break;case"BT":clt[t]={inPosition:"south",outPosition:"north"};break;case"RL":clt[t]={inPosition:"east",outPosition:"west"};break;case"LR":clt[t]={inPosition:"west",outPosition:"east"}}const r="in"===e?clt[t].inPosition:clt[t].outPosition;return"in"===e?clt[t].inPosition=hlt(clt[t].inPosition,e,n):clt[t].outPosition=hlt(clt[t].outPosition,e,n),r},dlt=function(t,e,n,r){W5.info("abc78 edges = ",t);const i=r.insert("g").attr("class","edgeLabels");let a,o,s={},c=e.db.getDirection();if(void 0!==t.defaultStyle){const e=d8(t.defaultStyle);a=e.style,o=e.labelStyle}return t.forEach((function(e){var r="L-"+e.start+"-"+e.end;void 0===s[r]?(s[r]=0,W5.info("abc78 new entry",r,s[r])):(s[r]++,W5.info("abc78 new entry",r,s[r]));let l=r+"-"+s[r];W5.info("abc78 new link id to be used is",r,l,s[r]);var u="LS-"+e.start,h="LE-"+e.end;const f={style:"",labelStyle:""};switch(f.minlen=e.length||1,"arrow_open"===e.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",e.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let d="",A="";switch(e.stroke){case"normal":d="fill:none;",void 0!==a&&(d=a),void 0!==o&&(A=o),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;"}if(void 0!==e.style){const t=d8(e.style);d=t.style,A=t.labelStyle}f.style=f.style+=d,f.labelStyle=f.labelStyle+=A,void 0!==e.interpolate?f.curve=h8(e.interpolate,xV):void 0!==t.defaultInterpolate?f.curve=h8(t.defaultInterpolate,xV):f.curve=h8(llt.curve,xV),void 0===e.text?void 0!==e.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType="text",f.label=e.text.replace(s6.lineBreakRegex,"\n"),void 0===e.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=l,f.classes="flowchart-link "+u+" "+h;const p=knt(i,f),{source:g,target:m}=((t,e)=>{let n=t.start,r=t.end;const i=ult[n],a=ult[r];return i&&a?("diamond"===i.type&&(n=`${n}-${flt(n,"out",e)}`),"diamond"===a.type&&(r=`${r}-${flt(r,"in",e)}`),{source:n,target:r}):{source:n,target:r}})(e,c);W5.debug("abc78 source and target",g,m),n.edges.push({id:"e"+e.start+e.end,sources:[g],targets:[m],labelEl:p,labels:[{width:f.width,height:f.height,orgWidth:f.width,orgHeight:f.height,text:f.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:f})})),n},Alt=function(t,e,n){const r=((t,e,n)=>{const{parentById:r}=n,i=new Set;let a=t;for(;a;){if(i.add(a),a===e)return a;a=r[a]}for(a=e;a;){if(i.has(a))return a;a=r[a]}return"root"})(t,e,n);if(void 0===r||"root"===r)return{x:0,y:0};const i=ult[r].offset;return{x:i.posX,y:i.posY}},plt=function(t,e,n,r,i){const a=Alt(e.sources[0],e.targets[0],i),o=e.sections[0].startPoint,s=e.sections[0].endPoint,c=(e.sections[0].bendPoints?e.sections[0].bendPoints:[]).map((t=>[t.x+a.x,t.y+a.y])),l=[[o.x+a.x,o.y+a.y],...c,[s.x+a.x,s.y+a.y]],u=SV().curve(xV),h=t.insert("path").attr("d",u(l)).attr("class","path").attr("fill","none"),f=t.insert("g").attr("class","edgeLabel"),d=i$(f.node().appendChild(e.labelEl)),A=d.node().firstChild.getBoundingClientRect();d.attr("width",A.width),d.attr("height",A.height),f.attr("transform",`translate(${e.labels[0].x+a.x}, ${e.labels[0].y+a.y})`),function(t,e,n,r){let i="";switch(r&&(i=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,i=i.replace(/\(/g,"\\("),i=i.replace(/\)/g,"\\)")),e.arrowTypeStart){case"arrow_cross":t.attr("marker-start","url("+i+"#"+n+"-crossStart)");break;case"arrow_point":t.attr("marker-start","url("+i+"#"+n+"-pointStart)");break;case"arrow_barb":t.attr("marker-start","url("+i+"#"+n+"-barbStart)");break;case"arrow_circle":t.attr("marker-start","url("+i+"#"+n+"-circleStart)");break;case"aggregation":t.attr("marker-start","url("+i+"#"+n+"-aggregationStart)");break;case"extension":t.attr("marker-start","url("+i+"#"+n+"-extensionStart)");break;case"composition":t.attr("marker-start","url("+i+"#"+n+"-compositionStart)");break;case"dependency":t.attr("marker-start","url("+i+"#"+n+"-dependencyStart)");break;case"lollipop":t.attr("marker-start","url("+i+"#"+n+"-lollipopStart)")}switch(e.arrowTypeEnd){case"arrow_cross":t.attr("marker-end","url("+i+"#"+n+"-crossEnd)");break;case"arrow_point":t.attr("marker-end","url("+i+"#"+n+"-pointEnd)");break;case"arrow_barb":t.attr("marker-end","url("+i+"#"+n+"-barbEnd)");break;case"arrow_circle":t.attr("marker-end","url("+i+"#"+n+"-circleEnd)");break;case"aggregation":t.attr("marker-end","url("+i+"#"+n+"-aggregationEnd)");break;case"extension":t.attr("marker-end","url("+i+"#"+n+"-extensionEnd)");break;case"composition":t.attr("marker-end","url("+i+"#"+n+"-compositionEnd)");break;case"dependency":t.attr("marker-end","url("+i+"#"+n+"-dependencyEnd)");break;case"lollipop":t.attr("marker-end","url("+i+"#"+n+"-lollipopEnd)")}}(h,n,r.type,r.arrowMarkerAbsolute)},glt=(t,e)=>{t.forEach((t=>{t.children||(t.children=[]);const n=e.childrenById[t.id];n&&n.forEach((e=>{t.children.push(ult[e])})),glt(t.children,e)}))},mlt=(t,e,n,r,i,a,o)=>{n.forEach((function(n){if(n)if(ult[n.id].offset={posX:n.x+t,posY:n.y+e,x:t,y:e,depth:o,width:n.width,height:n.height},"group"===n.type){const r=i.insert("g").attr("class","subgraph");r.insert("rect").attr("class","subgraph subgraph-lvl-"+o%5+" node").attr("x",n.x+t).attr("y",n.y+e).attr("width",n.width).attr("height",n.height);const a=r.insert("g").attr("class","label");a.attr("transform",`translate(${n.labels[0].x+t+n.x}, ${n.labels[0].y+e+n.y})`),a.node().appendChild(n.labelData.labelNode),W5.info("Id (UGH)= ",n.type,n.labels)}else W5.info("Id (UGH)= ",n.id),n.el.attr("transform",`translate(${n.x+t+n.width/2}, ${n.y+e+n.height/2})`)})),n.forEach((function(n){n&&"group"===n.type&&mlt(t+n.x,e+n.y,n.children,r,i,a,o+1)}))},blt={getClasses:function(t,e){W5.info("Extracting classes"),e.db.clear("ver-2");try{return e.parse(t),e.db.getClasses()}catch(t){return{}}},draw:async function(t,e,n,r){var i;r.db.clear(),ult={},r.db.setGen("gen-2"),r.parser.parse(t);const a=i$("body").append("div").attr("style","height:400px").attr("id","cy");let o={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(W5.info("Drawing flowchart using v3 renderer",slt),r.db.getDirection()){case"BT":o.layoutOptions["elk.direction"]="UP";break;case"TB":o.layoutOptions["elk.direction"]="DOWN";break;case"LR":o.layoutOptions["elk.direction"]="RIGHT";break;case"RL":o.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:s,flowchart:c}=R8();let l;"sandbox"===s&&(l=i$("#i"+e));const u=i$("sandbox"===s?l.nodes()[0].contentDocument.body:"body"),h="sandbox"===s?l.nodes()[0].contentDocument:document,f=u.select(`[id="${e}"]`);Get(f,["point","circle","cross"],r.type,r.arrowMarkerAbsolute);const d=r.db.getVertices();let A;const p=r.db.getSubGraphs();W5.info("Subgraphs - ",p);for(let t=p.length-1;t>=0;t--)A=p[t],r.db.addVertex(A.id,A.title,"group",void 0,A.classes,A.dir);const g=f.insert("g").attr("class","subgraphs"),m=function(t){const e={parentById:{},childrenById:{}},n=t.getSubGraphs();return W5.info("Subgraphs - ",n),n.forEach((function(t){t.nodes.forEach((function(n){e.parentById[n]=t.id,void 0===e.childrenById[t.id]&&(e.childrenById[t.id]=[]),e.childrenById[t.id].push(n)}))})),n.forEach((function(t){t.id,void 0!==e.parentById[t.id]&&e.parentById[t.id]})),e}(r.db);o=function(t,e,n,r,i,a,o){const s=n.select(`[id="${e}"]`),c=s.insert("g").attr("class","nodes");return Object.keys(t).forEach((function(e){const n=t[e];let o="default";n.classes.length>0&&(o=n.classes.join(" "));const l=d8(n.styles);let u,h=void 0!==n.text?n.text:n.id;const f={width:0,height:0};if(a6(R8().flowchart.htmlLabels)){const t={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};u=G5(s,t).node();const e=u.getBBox();f.width=e.width,f.height=e.height,f.labelNode=u,u.parentNode.removeChild(u)}else{const t=r.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",l.labelStyle.replace("color:","fill:"));const e=h.split(s6.lineBreakRegex);for(const n of e){const e=r.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}u=t;const n=u.getBBox();f.width=n.width,f.height=n.height,f.labelNode=u}const d=[{id:n.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:n.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:n.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:n.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let A=0,p="",g={};switch(n.type){case"round":A=5,p="rect";break;case"square":case"group":default:p="rect";break;case"diamond":p="question",g={portConstraints:"FIXED_SIDE"};break;case"hexagon":p="hexagon";break;case"odd":case"odd_right":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"doublecircle":p="doublecircle"}const m={labelStyle:l.labelStyle,shape:p,labelText:h,rx:A,ry:A,class:o,style:l.style,id:n.id,link:n.link,linkTarget:n.linkTarget,tooltip:i.db.getTooltip(n.id)||"",domId:i.db.lookUpDomId(n.id),haveCallback:n.haveCallback,width:"group"===n.type?500:void 0,dir:n.dir,type:n.type,props:n.props,padding:R8().flowchart.padding};let b,v;"group"!==m.type&&(v=mnt(c,m,n.dir),b=v.node().getBBox());const y={id:n.id,ports:"diamond"===n.type?d:[],layoutOptions:g,labelText:h,labelData:f,domId:i.db.lookUpDomId(n.id),width:null==b?void 0:b.width,height:null==b?void 0:b.height,type:n.type,el:v,parent:a.parentById[n.id]};ult[m.id]=y})),o}(d,e,u,h,r,m,o);const b=f.insert("g").attr("class","edges edgePath"),v=r.db.getEdges();o=dlt(v,r,o,f);Object.keys(ult).forEach((t=>{const e=ult[t];e.parent||o.children.push(e),void 0!==m.childrenById[t]&&(e.labels=[{text:e.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:e.labelData.width,height:e.labelData.height}],delete e.x,delete e.y,delete e.width,delete e.height)})),glt(o.children,m),W5.info("after layout",JSON.stringify(o,null,2));const y=await slt.layout(o);mlt(0,0,y.children,f,g,r,0),W5.info("after layout",y),null==(i=y.edges)||i.map((t=>{plt(b,t,t.edgeData,r,m)})),z8({},f,c.diagramPadding,c.useMaxWidth),a.remove()}},vlt=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n ${(t=>{let e="";for(let n=0;n<5;n++)e+=`\n .subgraph-lvl-${n} {\n fill: ${t[`surface${n}`]};\n stroke: ${t[`surfacePeer${n}`]};\n }\n `;return e})(t)}\n`,ylt={db:Yrt,renderer:blt,parser:Jnt,styles:vlt};var wlt=Object.freeze({__proto__:null,diagram:ylt}),Tlt=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,2],r=[1,5],i=[6,9,11,17,18,20,22,23,26,27,28],a=[1,15],o=[1,16],s=[1,17],c=[1,18],l=[1,19],u=[1,23],h=[1,24],f=[1,27],d=[4,6,9,11,17,18,20,22,23,26,27,28],A={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:r.addTask(a[s],0,""),this.$=a[s];break;case 20:r.addEvent(a[s].substr(2)),this.$=a[s];break;case 21:r.parseDirective("%%{","open_directive");break;case 22:r.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 24:r.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:n,7:3,12:4,28:r},{1:[3]},e(i,[2,3],{5:6}),{3:7,4:n,7:3,12:4,28:r},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:a,18:o,20:s,22:c,23:l,24:20,25:21,26:u,27:h,28:r},{1:[2,2]},{14:25,15:[1,26],31:f},e([15,31],[2,22]),e(i,[2,8],{1:[2,1]}),e(i,[2,4]),{7:22,10:28,12:4,17:a,18:o,20:s,22:c,23:l,24:20,25:21,26:u,27:h,28:r},e(i,[2,6]),e(i,[2,7]),e(i,[2,11]),{19:[1,29]},{21:[1,30]},e(i,[2,14]),e(i,[2,15]),e(i,[2,16]),e(i,[2,17]),e(i,[2,18]),e(i,[2,19]),e(i,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},e(i,[2,5]),e(i,[2,12]),e(i,[2,13]),e(d,[2,9]),{14:34,31:f},{31:[2,23]},{11:[1,35]},e(d,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},p=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}},t);function g(){this.yy={}}return A.lexer=p,g.prototype=A,A.Parser=g,new g}();Tlt.parser=Tlt;const klt=Tlt;let Clt="",Elt=0;const xlt=[],_lt=[],Blt=[],Slt=()=>v7,Llt=(t,e,n)=>{w7(globalThis,t,e,n)},Ilt=function(){xlt.length=0,_lt.length=0,Clt="",Blt.length=0,h7()},Mlt=function(t){Clt=t,xlt.push(t)},Olt=function(){return xlt},Nlt=function(){let t=Rlt();let e=0;for(;!t&&e<100;)t=Rlt(),e++;return _lt.push(...Blt),_lt},Dlt=function(t,e,n){const r={id:Elt++,section:Clt,type:Clt,task:t,score:e||0,events:n?[n]:[]};Blt.push(r)},Flt=function(t){const e=Blt.find((t=>t.id===Elt-1));e.events.push(t)},Plt=function(t){const e={section:Clt,type:Clt,description:t,task:t,classes:[]};_lt.push(e)},Rlt=function(){let t=!0;for(const[e,n]of Blt.entries())Blt[e].processed,t=t&&n.processed;return t},Qlt={clear:Ilt,getCommonDb:Slt,addSection:Mlt,getSections:Olt,getTasks:Nlt,addTask:Dlt,addTaskOrg:Plt,addEvent:Flt,parseDirective:Llt},Ult=Object.freeze(Object.defineProperty({__proto__:null,addEvent:Flt,addSection:Mlt,addTask:Dlt,addTaskOrg:Plt,clear:Ilt,default:Qlt,getCommonDb:Slt,getSections:Olt,getTasks:Nlt,parseDirective:Llt},Symbol.toStringTag,{value:"Module"}));!function(){function t(t,e,n,i,a,o,s,c){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,a,o,s,c,l){const{taskFontSize:u,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let t=0;t<f.length;t++){const c=t*u-u*(f.length-1)/2,d=e.append("text").attr("x",n+a/2).attr("y",i).attr("fill",l).style("text-anchor","middle").style("font-size",u).style("font-family",h);d.append("tspan").attr("x",n+a/2).attr("dy",c).text(f[t]),d.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(d,s)}}function n(t,n,i,a,o,s,c,l){const u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,o,s,c,l),r(h,c)}function r(t,e){for(const n in e)n in e&&t.attr(n,e[n])}}();function Hlt(t,e){t.each((function(){var t,n=i$(this),r=n.text().split(/(\s+|<br>)/).reverse(),i=[],a=n.attr("y"),o=parseFloat(n.attr("dy")),s=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let o=0;o<r.length;o++)t=r[r.length-1-o],i.push(t),s.text(i.join(" ").trim()),(s.node().getComputedTextLength()>e||"<br>"===t)&&(i.pop(),s.text(i.join(" ").trim()),i="<br>"===t?[""]:[t],s=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const jlt=function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},$lt=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},Klt=function(t,e,n,r){const i=n%12-1,a=t.append("g");e.section=i,a.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+i);const o=a.append("g"),s=a.append("g"),c=s.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(Hlt,e.width).node().getBBox(),l=r.fontSize&&r.fontSize.replace?r.fontSize.replace("px",""):r.fontSize;return e.height=c.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,s.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),jlt(o,e,i),e},Glt=function(t,e,n){const r=t.append("g"),i=r.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(Hlt,e.width).node().getBBox(),a=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return r.remove(),i.height+1.1*a*.5+e.padding},zlt=function(t,e,n,r,i,a,o,s,c,l,u){for(const s of e){const e={descr:s.task,section:n,number:n,width:150,padding:20,maxHeight:a};W5.debug("taskNode",e);const h=t.append("g").attr("class","taskWrapper"),f=Klt(h,e,n,o).height;if(W5.debug("taskHeight after draw",f),h.attr("transform",`translate(${r}, ${i})`),a=Math.max(a,f),s.events){const e=t.append("g").attr("class","lineWrapper");let h=a;i+=100,h+=Xlt(t,s.events,n,r,i,o),i-=100,e.append("line").attr("x1",r+95).attr("y1",i+a).attr("x2",r+95).attr("y2",i+a+(u?a:l)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,u&&!R8().timeline.disableMulticolor&&n++}i-=10},Xlt=function(t,e,n,r,i,a){let o=0;const s=i;i+=100;for(const s of e){const e={descr:s,section:n,number:n,width:150,padding:20,maxHeight:50};W5.debug("eventNode",e);const c=t.append("g").attr("class","eventWrapper"),l=Klt(c,e,n,a).height;o+=l,c.attr("transform",`translate(${r}, ${i})`),i=i+10+l}return i=s,o},qlt={setConf:function(t){Object.keys(t).forEach((function(e){conf[e]=t[e]}))},draw:function(t,e,n,r){const i=R8(),a=i.leftMargin?i.leftMargin:50;r.db.clear(),r.parser.parse(t+"\n"),W5.debug("timeline",r.db);const o=i.securityLevel;let s;"sandbox"===o&&(s=i$("#i"+e));const c=i$("sandbox"===o?s.nodes()[0].contentDocument.body:"body").select("#"+e);c.append("g");const l=r.db.getTasks(),u=r.db.getCommonDb().getDiagramTitle();W5.debug("task",l),$lt(c);const h=r.db.getSections();W5.debug("sections",h);let f=0,d=0,A=0,p=0,g=50+a,m=50;p=50;let b=0,v=!0;h.forEach((function(t){const e=Glt(c,{number:b,descr:t,section:b,width:150,padding:20,maxHeight:f},i);W5.debug("sectionHeight before draw",e),f=Math.max(f,e+20)}));let y=0,w=0;W5.debug("tasks.length",l.length);for(const[t,e]of l.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:d},r=Glt(c,n,i);W5.debug("taskHeight before draw",r),d=Math.max(d,r+20),y=Math.max(y,e.events.length);let a=0;for(let t=0;t<e.events.length;t++){const n={descr:e.events[t],section:e.section,number:e.section,width:150,padding:20,maxHeight:50};a+=Glt(c,n,i)}w=Math.max(w,a)}W5.debug("maxSectionHeight before draw",f),W5.debug("maxTaskHeight before draw",d),h&&h.length>0?h.forEach((t=>{const e={number:b,descr:t,section:b,width:150,padding:20,maxHeight:f};W5.debug("sectionNode",e);const n=c.append("g"),r=Klt(n,e,b,i);W5.debug("sectionNode output",r),n.attr("transform",`translate(${g}, 50)`),m+=f+50;const a=l.filter((e=>e.section===t));a.length>0&&zlt(c,a,b,g,m,d,i,y,w,f,!1),g+=200*Math.max(a.length,1),m=50,b++})):(v=!1,zlt(c,l,b,g,m,d,i,y,w,f,!0));const T=c.node().getBBox();W5.debug("bounds",T),u&&c.append("text").text(u).attr("x",T.width/2-a).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),A=v?f+d+150:d+100;c.append("g").attr("class","lineWrapper").append("line").attr("x1",a).attr("y1",A).attr("x2",T.width+3*a).attr("y2",A).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),z8(void 0,c,i.timeline.padding?i.timeline.padding:50,!!i.timeline.useMaxWidth&&i.timeline.useMaxWidth)}},Vlt=t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],QW(t["lineColor"+e])?t["lineColor"+e]=HW(t["lineColor"+e],20):t["lineColor"+e]=jW(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const r=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${r};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+n]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e})(t)}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`,Wlt={db:Ult,renderer:qlt,parser:klt,styles:Vlt};var Ylt=Object.freeze({__proto__:null,diagram:Wlt}),Jlt=r((function(t,n){t.exports=function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return s(t)||c(t,e)||l(t,e)||h()}function s(t){if(Array.isArray(t))return t}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);o=!0);}catch(t){s=!0,i=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}}function l(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f="undefined"==typeof window?null:window,d=f?f.navigator:null;f&&f.document;var A=t(""),p=t({}),g=t((function(){})),m="undefined"==typeof HTMLElement?"undefined":t(HTMLElement),b=function(t){return t&&t.instanceString&&y(t.instanceString)?t.instanceString():null},v=function(e){return null!=e&&t(e)==A},y=function(e){return null!=e&&t(e)===g},w=function(t){return!_(t)&&(Array.isArray?Array.isArray(t):null!=t&&t instanceof Array)},T=function(e){return null!=e&&t(e)===p&&!w(e)&&e.constructor===Object},k=function(e){return null!=e&&t(e)===p},C=function(e){return null!=e&&t(e)===t(1)&&!isNaN(e)},E=function(t){return C(t)&&Math.floor(t)===t},x=function(t){return"undefined"===m?void 0:null!=t&&t instanceof HTMLElement},_=function(t){return B(t)||S(t)},B=function(t){return"collection"===b(t)&&t._private.single},S=function(t){return"collection"===b(t)&&!t._private.single},L=function(t){return"core"===b(t)},I=function(t){return"stylesheet"===b(t)},M=function(t){return"event"===b(t)},O=function(t){return null==t||!(""!==t&&!t.match(/^\s+$/))},N=function(t){return"undefined"!=typeof HTMLElement&&t instanceof HTMLElement},D=function(t){return T(t)&&C(t.x1)&&C(t.x2)&&C(t.y1)&&C(t.y2)},F=function(t){return k(t)&&y(t.then)},P=function(){return d&&d.userAgent.match(/msie|trident|edge/i)},R=function(t,e){e||(e=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);return t.join("$")});var n=function n(){var r,i=this,a=arguments,o=e.apply(i,a),s=n.cache;return(r=s[o])||(r=s[o]=t.apply(i,a)),r};return n.cache={},n},Q=R((function(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))})),U=R((function(t){return t.replace(/(-\w)/g,(function(t){return t[1].toUpperCase()}))})),H=R((function(t,e){return t+e[0].toUpperCase()+e.substring(1)}),(function(t,e){return t+"$"+e})),j=function(t){return O(t)?t:t.charAt(0).toUpperCase()+t.substring(1)},$="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",K="rgb[a]?\\(("+$+"[%]?)\\s*,\\s*("+$+"[%]?)\\s*,\\s*("+$+"[%]?)(?:\\s*,\\s*("+$+"))?\\)",G="rgb[a]?\\((?:"+$+"[%]?)\\s*,\\s*(?:"+$+"[%]?)\\s*,\\s*(?:"+$+"[%]?)(?:\\s*,\\s*(?:"+$+"))?\\)",z="hsl[a]?\\(("+$+")\\s*,\\s*("+$+"[%])\\s*,\\s*("+$+"[%])(?:\\s*,\\s*("+$+"))?\\)",X="hsl[a]?\\((?:"+$+")\\s*,\\s*(?:"+$+"[%])\\s*,\\s*(?:"+$+"[%])(?:\\s*,\\s*(?:"+$+"))?\\)",q="\\#[0-9a-fA-F]{3}",V="\\#[0-9a-fA-F]{6}",W=function(t,e){return t<e?-1:t>e?1:0},Y=function(t,e){return-1*W(t,e)},J=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,n=1;n<e.length;n++){var r=e[n];if(null!=r)for(var i=Object.keys(r),a=0;a<i.length;a++){var o=i[a];t[o]=r[o]}}return t},Z=function(t){if((4===t.length||7===t.length)&&"#"===t[0]){var e,n,r,i=16;return 4===t.length?(e=parseInt(t[1]+t[1],i),n=parseInt(t[2]+t[2],i),r=parseInt(t[3]+t[3],i)):(e=parseInt(t[1]+t[2],i),n=parseInt(t[3]+t[4],i),r=parseInt(t[5]+t[6],i)),[e,n,r]}},tt=function(t){var e,n,r,i,a,o,s,c;function l(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var u=new RegExp("^"+z+"$").exec(t);if(u){if((n=parseInt(u[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(u[2]))<0||r>100)return;if(r/=100,(i=parseFloat(u[3]))<0||i>100)return;if(i/=100,void 0!==(a=u[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=c=Math.round(255*i);else{var h=i<.5?i*(1+r):i+r-i*r,f=2*i-h;o=Math.round(255*l(f,h,n+1/3)),s=Math.round(255*l(f,h,n)),c=Math.round(255*l(f,h,n-1/3))}e=[o,s,c,a]}return e},et=function(t){var e,n=new RegExp("^"+K+"$").exec(t);if(n){e=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;e.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var c=n[4];if(void 0!==c){if((c=parseFloat(c))<0||c>1)return;e.push(c)}}return e},nt=function(t){return it[t.toLowerCase()]},rt=function(t){return(w(t)?t:null)||nt(t)||Z(t)||et(t)||tt(t)},it={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},at=function(t){for(var e=t.map,n=t.keys,r=n.length,i=0;i<r;i++){var a=n[i];if(T(a))throw Error("Tried to set map with object key");i<n.length-1?(null==e[a]&&(e[a]={}),e=e[a]):e[a]=t.value}},ot=function(t){for(var e=t.map,n=t.keys,r=n.length,i=0;i<r;i++){var a=n[i];if(T(a))throw Error("Tried to get map with object key");if(null==(e=e[a]))return e}return e};function st(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var ct=st,lt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function ut(t,e){return t(e={exports:{}},e.exports),e.exports}var ht="object"==typeof lt&<&<.Object===Object&<,ft=ht,dt="object"==typeof self&&self&&self.Object===Object&&self,At=ft||dt||Function("return this")(),pt=At,gt=function(){return pt.Date.now()},mt=gt,bt=/\s/;function vt(t){for(var e=t.length;e--&&bt.test(t.charAt(e)););return e}var yt=vt,wt=/^\s+/;function Tt(t){return t?t.slice(0,yt(t)+1).replace(wt,""):t}var kt=Tt,Ct=pt.Symbol,Et=Ct,xt=Object.prototype,_t=xt.hasOwnProperty,Bt=xt.toString,St=Et?Et.toStringTag:void 0;function Lt(t){var e=_t.call(t,St),n=t[St];try{t[St]=void 0;var r=!0}catch(t){}var i=Bt.call(t);return r&&(e?t[St]=n:delete t[St]),i}var It=Lt,Mt=Object.prototype,Ot=Mt.toString;function Nt(t){return Ot.call(t)}var Dt=Nt,Ft="[object Null]",Pt="[object Undefined]",Rt=Et?Et.toStringTag:void 0;function Qt(t){return null==t?void 0===t?Pt:Ft:Rt&&Rt in Object(t)?It(t):Dt(t)}var Ut=Qt;function Ht(t){return null!=t&&"object"==typeof t}var jt=Ht,$t="[object Symbol]";function Kt(t){return"symbol"==typeof t||jt(t)&&Ut(t)==$t}var Gt=Kt,zt=NaN,Xt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Vt=/^0o[0-7]+$/i,Wt=parseInt;function Yt(t){if("number"==typeof t)return t;if(Gt(t))return zt;if(ct(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ct(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=kt(t);var n=qt.test(t);return n||Vt.test(t)?Wt(t.slice(2),n?2:8):Xt.test(t)?zt:+t}var Jt=Yt,Zt="Expected a function",te=Math.max,ee=Math.min;function ne(t,e,n){var r,i,a,o,s,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(Zt);function d(e){var n=r,a=i;return r=i=void 0,l=e,o=t.apply(a,n)}function A(t){return l=t,s=setTimeout(m,e),u?d(t):o}function p(t){var n=e-(t-c);return h?ee(n,a-(t-l)):n}function g(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-l>=a}function m(){var t=mt();if(g(t))return b(t);s=setTimeout(m,p(t))}function b(t){return s=void 0,f&&r?d(t):(r=i=void 0,o)}function v(){void 0!==s&&clearTimeout(s),l=0,r=c=i=s=void 0}function y(){return void 0===s?o:b(mt())}function w(){var t=mt(),n=g(t);if(r=arguments,i=this,c=t,n){if(void 0===s)return A(c);if(h)return clearTimeout(s),s=setTimeout(m,e),d(c)}return void 0===s&&(s=setTimeout(m,e)),o}return e=Jt(e)||0,ct(n)&&(u=!!n.leading,a=(h="maxWait"in n)?te(Jt(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),w.cancel=v,w.flush=y,w}var re=ne,ie=f?f.performance:null,ae=ie&&ie.now?function(){return ie.now()}:function(){return Date.now()},oe=function(){if(f){if(f.requestAnimationFrame)return function(t){f.requestAnimationFrame(t)};if(f.mozRequestAnimationFrame)return function(t){f.mozRequestAnimationFrame(t)};if(f.webkitRequestAnimationFrame)return function(t){f.webkitRequestAnimationFrame(t)};if(f.msRequestAnimationFrame)return function(t){f.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout((function(){t(ae())}),1e3/60)}}(),se=function(t){return oe(t)},ce=ae,le=9261,ue=65599,he=5381,fe=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;!(e=t.next()).done;)n=n*ue+e.value|0;return n},de=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:le)*ue+t|0},Ae=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:he;return(e<<5)+e+t|0},pe=function(t,e){return 2097152*t+e},ge=function(t){return 2097152*t[0]+t[1]},me=function(t,e){return[de(t[0],e[0]),Ae(t[1],e[1])]},be=function(t,e){var n={value:0,done:!1},r=0,i=t.length;return fe({next:function(){return r<i?n.value=t[r++]:n.done=!0,n}},e)},ve=function(t,e){var n={value:0,done:!1},r=0,i=t.length;return fe({next:function(){return r<i?n.value=t.charCodeAt(r++):n.done=!0,n}},e)},ye=function(){return we(arguments)},we=function(t){for(var e,n=0;n<t.length;n++){var r=t[n];e=0===n?ve(r):ve(r,e)}return e},Te=!0,ke=null!=console.warn,Ce=null!=console.trace,Ee=Number.MAX_SAFE_INTEGER||9007199254740991,xe=function(){return!0},_e=function(){return!1},Be=function(){return 0},Se=function(){},Le=function(t){throw new Error(t)},Ie=function(t){if(void 0===t)return Te;Te=!!t},Me=function(t){Ie()&&(ke?console.warn(t):Ce&&console.trace())},Oe=function(t){return J({},t)},Ne=function(t){return null==t?t:w(t)?t.slice():T(t)?Oe(t):t},De=function(t){return t.slice()},Fe=function(t,e){for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e},Pe={},Re=function(){return Pe},Qe=function(t){var e=Object.keys(t);return function(n){for(var r={},i=0;i<e.length;i++){var a=e[i],o=null==n?void 0:n[a];r[a]=void 0===o?t[a]:o}return r}},Ue=function(t,e,n){for(var r=t.length-1;r>=0&&(t[r]!==e||(t.splice(r,1),!n));r--);},He=function(t){t.splice(0,t.length)},je=function(t,e){for(var n=0;n<e.length;n++){var r=e[n];t.push(r)}},$e=function(t,e,n){return n&&(e=H(n,e)),t[e]},Ke=function(t,e,n,r){n&&(e=H(n,e)),t[e]=r},Ge=function(){function t(){n(this,t),this._obj={}}return i(t,[{key:"set",value:function(t,e){return this._obj[t]=e,this}},{key:"delete",value:function(t){return this._obj[t]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(t){return void 0!==this._obj[t]}},{key:"get",value:function(t){return this._obj[t]}}]),t}(),ze="undefined"!=typeof Map?Map:Ge,Xe="undefined",qe=function(){function t(e){if(n(this,t),this._obj=Object.create(null),this.size=0,null!=e){var r;r=null!=e.instanceString&&e.instanceString()===this.instanceString()?e.toArray():e;for(var i=0;i<r.length;i++)this.add(r[i])}}return i(t,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(t){var e=this._obj;1!==e[t]&&(e[t]=1,this.size++)}},{key:"delete",value:function(t){var e=this._obj;1===e[t]&&(e[t]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(t){return 1===this._obj[t]}},{key:"toArray",value:function(){var t=this;return Object.keys(this._obj).filter((function(e){return t.has(e)}))}},{key:"forEach",value:function(t,e){return this.toArray().forEach(t,e)}}]),t}(),Ve=("undefined"==typeof Set?"undefined":t(Set))!==Xe?Set:qe,We=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==t&&void 0!==e&&L(t)){var r=e.group;if(null==r&&(r=e.data&&null!=e.data.source&&null!=e.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:t,single:!0,data:e.data||{},position:e.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!e.selected,selectable:void 0===e.selectable||!!e.selectable,locked:!!e.locked,grabbed:!1,grabbable:void 0===e.grabbable||!!e.grabbable,pannable:void 0===e.pannable?"edges"===r:!!e.pannable,active:!1,classes:new Ve,animation:{current:[],queue:[]},rscratch:{},scratch:e.scratch||{},edges:[],children:[],parent:e.parent&&e.parent.isNode()?e.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),e.renderedPosition){var a=e.renderedPosition,o=t.pan(),s=t.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var c=[];w(e.classes)?c=e.classes:v(e.classes)&&(c=e.classes.split(/\s+/));for(var l=0,u=c.length;l<u;l++){var h=c[l];h&&""!==h&&i.classes.add(h)}this.createEmitter();var f=e.style||e.css;f&&(Me("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(f)),(void 0===n||n)&&this.restore()}else Le("An element must be of type `nodes` or `edges`; you specified `"+r+"`")}else Le("An element must have a core reference and parameters set")},Ye=function(t){return t={bfs:t.bfs||!t.dfs,dfs:t.dfs||!t.bfs},function(e,n,r){var i;T(e)&&!_(e)&&(e=(i=e).roots||i.root,n=i.visit,r=i.directed),r=2!==arguments.length||y(n)?r:n,n=y(n)?n:function(){};for(var a,o=this._private.cy,s=e=v(e)?this.filter(e):e,c=[],l=[],u={},h={},f={},d=0,A=this.byGroup(),p=A.nodes,g=A.edges,m=0;m<s.length;m++){var b=s[m],w=b.id();b.isNode()&&(c.unshift(b),t.bfs&&(f[w]=!0,l.push(b)),h[w]=0)}for(var k=function(){var e=t.bfs?c.shift():c.pop(),i=e.id();if(t.dfs){if(f[i])return"continue";f[i]=!0,l.push(e)}var o=h[i],s=u[i],A=null!=s?s.source():null,m=null!=s?s.target():null,b=null==s?void 0:e.same(A)?m[0]:A[0],v=void 0;if(!0===(v=n(e,s,b,d++,o)))return a=e,"break";if(!1===v)return"break";for(var y=e.connectedEdges().filter((function(t){return(!r||t.source().same(e))&&g.has(t)})),w=0;w<y.length;w++){var T=y[w],k=T.connectedNodes().filter((function(t){return!t.same(e)&&p.has(t)})),C=k.id();0===k.length||f[C]||(k=k[0],c.push(k),t.bfs&&(f[C]=!0,l.push(k)),u[C]=T,h[C]=h[i]+1)}};0!==c.length;){var C=k();if("continue"!==C&&"break"===C)break}for(var E=o.collection(),x=0;x<l.length;x++){var B=l[x],S=u[B.id()];null!=S&&E.push(S),E.push(B)}return{path:o.collection(E),found:o.collection(a)}}},Je={breadthFirstSearch:Ye({bfs:!0}),depthFirstSearch:Ye({dfs:!0})};Je.bfs=Je.breadthFirstSearch,Je.dfs=Je.depthFirstSearch;var Ze=ut((function(t,e){(function(){var e,n,r,i,a,o,s,c,l,u,h,f,d,A,p;r=Math.floor,u=Math.min,n=function(t,e){return t<e?-1:t>e?1:0},l=function(t,e,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=t.length);i<a;)o(e,t[s=r((i+a)/2)])<0?a=s:i=s+1;return[].splice.apply(t,[i,i-i].concat(e)),e},o=function(t,e,r){return null==r&&(r=n),t.push(e),A(t,0,t.length-1,r)},a=function(t,e){var r,i;return null==e&&(e=n),r=t.pop(),t.length?(i=t[0],t[0]=r,p(t,0,e)):i=r,i},c=function(t,e,r){var i;return null==r&&(r=n),i=t[0],t[0]=e,p(t,0,r),i},s=function(t,e,r){var i;return null==r&&(r=n),t.length&&r(t[0],e)<0&&(e=(i=[t[0],e])[0],t[0]=i[1],p(t,0,r)),e},i=function(t,e){var i,a,o,s,c,l;for(null==e&&(e=n),c=[],a=0,o=(s=function(){l=[];for(var e=0,n=r(t.length/2);0<=n?e<n:e>n;0<=n?e++:e--)l.push(e);return l}.apply(this).reverse()).length;a<o;a++)i=s[a],c.push(p(t,i,e));return c},d=function(t,e,r){var i;if(null==r&&(r=n),-1!==(i=t.indexOf(e)))return A(t,0,i,r),p(t,i,r)},h=function(t,e,r){var a,o,c,l,u;if(null==r&&(r=n),!(o=t.slice(0,e)).length)return o;for(i(o,r),c=0,l=(u=t.slice(e)).length;c<l;c++)a=u[c],s(o,a,r);return o.sort(r).reverse()},f=function(t,e,r){var o,s,c,h,f,d,A,p,g;if(null==r&&(r=n),10*e<=t.length){if(!(c=t.slice(0,e).sort(r)).length)return c;for(s=c[c.length-1],h=0,d=(A=t.slice(e)).length;h<d;h++)r(o=A[h],s)<0&&(l(c,o,0,null,r),c.pop(),s=c[c.length-1]);return c}for(i(t,r),g=[],f=0,p=u(e,t.length);0<=p?f<p:f>p;0<=p?++f:--f)g.push(a(t,r));return g},A=function(t,e,r,i){var a,o,s;for(null==i&&(i=n),a=t[r];r>e&&i(a,o=t[s=r-1>>1])<0;)t[r]=o,r=s;return t[r]=a},p=function(t,e,r){var i,a,o,s,c;for(null==r&&(r=n),a=t.length,c=e,o=t[e],i=2*e+1;i<a;)(s=i+1)<a&&!(r(t[i],t[s])<0)&&(i=s),t[e]=t[i],i=2*(e=i)+1;return t[e]=o,A(t,c,e,r)},e=function(){function t(t){this.cmp=null!=t?t:n,this.nodes=[]}return t.push=o,t.pop=a,t.replace=c,t.pushpop=s,t.heapify=i,t.updateItem=d,t.nlargest=h,t.nsmallest=f,t.prototype.push=function(t){return o(this.nodes,t,this.cmp)},t.prototype.pop=function(){return a(this.nodes,this.cmp)},t.prototype.peek=function(){return this.nodes[0]},t.prototype.contains=function(t){return-1!==this.nodes.indexOf(t)},t.prototype.replace=function(t){return c(this.nodes,t,this.cmp)},t.prototype.pushpop=function(t){return s(this.nodes,t,this.cmp)},t.prototype.heapify=function(){return i(this.nodes,this.cmp)},t.prototype.updateItem=function(t){return d(this.nodes,t,this.cmp)},t.prototype.clear=function(){return this.nodes=[]},t.prototype.empty=function(){return 0===this.nodes.length},t.prototype.size=function(){return this.nodes.length},t.prototype.clone=function(){var e;return(e=new t).nodes=this.nodes.slice(0),e},t.prototype.toArray=function(){return this.nodes.slice(0)},t.prototype.insert=t.prototype.push,t.prototype.top=t.prototype.peek,t.prototype.front=t.prototype.peek,t.prototype.has=t.prototype.contains,t.prototype.copy=t.prototype.clone,t}(),function(e,n){t.exports=n()}(0,(function(){return e}))}).call(lt)})),tn=Ze,en=Qe({root:null,weight:function(t){return 1},directed:!1}),nn={dijkstra:function(t){if(!T(t)){var e=arguments;t={root:e[0],weight:e[1],directed:e[2]}}var n=en(t),r=n.root,i=n.weight,a=n.directed,o=this,s=i,c=v(r)?this.filter(r)[0]:r[0],l={},u={},h={},f=this.byGroup(),d=f.nodes,A=f.edges;A.unmergeBy((function(t){return t.isLoop()}));for(var p=function(t){return l[t.id()]},g=function(t,e){l[t.id()]=e,m.updateItem(t)},m=new tn((function(t,e){return p(t)-p(e)})),b=0;b<d.length;b++){var y=d[b];l[y.id()]=y.same(c)?0:1/0,m.push(y)}for(var w=function(t,e){for(var n,r=(a?t.edgesTo(e):t.edgesWith(e)).intersect(A),i=1/0,o=0;o<r.length;o++){var c=r[o],l=s(c);(l<i||!n)&&(i=l,n=c)}return{edge:n,dist:i}};m.size()>0;){var k=m.pop(),C=p(k),E=k.id();if(h[E]=C,C!==1/0)for(var x=k.neighborhood().intersect(d),_=0;_<x.length;_++){var B=x[_],S=B.id(),L=w(k,B),I=C+L.dist;I<p(B)&&(g(B,I),u[S]={node:k,edge:L.edge})}}return{distanceTo:function(t){var e=v(t)?d.filter(t)[0]:t[0];return h[e.id()]},pathTo:function(t){var e=v(t)?d.filter(t)[0]:t[0],n=[],r=e,i=r.id();if(e.length>0)for(n.unshift(e);u[i];){var a=u[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},rn={kruskal:function(t){t=t||function(t){return 1};for(var e=this.byGroup(),n=e.nodes,r=e.edges,i=n.length,a=new Array(i),o=n,s=function(t){for(var e=0;e<a.length;e++)if(a[e].has(t))return e},c=0;c<i;c++)a[c]=this.spawn(n[c]);for(var l=r.sort((function(e,n){return t(e)-t(n)})),u=0;u<l.length;u++){var h=l[u],f=h.source()[0],d=h.target()[0],A=s(f),p=s(d),g=a[A],m=a[p];A!==p&&(o.merge(h),g.merge(m),a.splice(p,1))}return o}},an=Qe({root:null,goal:null,weight:function(t){return 1},heuristic:function(t){return 0},directed:!1}),on={aStar:function(t){var e=this.cy(),n=an(t),r=n.root,i=n.goal,a=n.heuristic,o=n.directed,s=n.weight;r=e.collection(r)[0],i=e.collection(i)[0];var c,l,u=r.id(),h=i.id(),f={},d={},A={},p=new tn((function(t,e){return d[t.id()]-d[e.id()]})),g=new Ve,m={},b={},v=function(t,e){p.push(t),g.add(e)},y=function(){c=p.pop(),l=c.id(),g.delete(l)},w=function(t){return g.has(t)};v(r,u),f[u]=0,d[u]=a(r);for(var T=0;p.size()>0;){if(y(),T++,l===h){for(var k=[],C=i,E=h,x=b[E];k.unshift(C),null!=x&&k.unshift(x),null!=(C=m[E]);)x=b[E=C.id()];return{found:!0,distance:f[l],path:this.spawn(k),steps:T}}A[l]=!0;for(var _=c._private.edges,B=0;B<_.length;B++){var S=_[B];if(this.hasElementWithId(S.id())&&(!o||S.data("source")===l)){var L=S.source(),I=S.target(),M=L.id()!==l?L:I,O=M.id();if(this.hasElementWithId(O)&&!A[O]){var N=f[l]+s(S);w(O)?N<f[O]&&(f[O]=N,d[O]=N+a(M),m[O]=c,b[O]=S):(f[O]=N,d[O]=N+a(M),v(M,O),m[O]=c,b[O]=S)}}}}return{found:!1,distance:void 0,path:void 0,steps:T}}},sn=Qe({weight:function(t){return 1},directed:!1}),cn={floydWarshall:function(t){for(var e=this.cy(),n=sn(t),r=n.weight,i=n.directed,a=r,o=this.byGroup(),s=o.nodes,c=o.edges,l=s.length,u=l*l,h=function(t){return s.indexOf(t)},f=function(t){return s[t]},d=new Array(u),A=0;A<u;A++){var p=A%l,g=(A-p)/l;d[A]=g===p?0:1/0}for(var m=new Array(u),b=new Array(u),y=0;y<c.length;y++){var w=c[y],T=w.source()[0],k=w.target()[0];if(T!==k){var C=h(T),E=h(k),x=C*l+E,_=a(w);if(d[x]>_&&(d[x]=_,m[x]=E,b[x]=w),!i){var B=E*l+C;!i&&d[B]>_&&(d[B]=_,m[B]=C,b[B]=w)}}}for(var S=0;S<l;S++)for(var L=0;L<l;L++)for(var I=L*l+S,M=0;M<l;M++){var O=L*l+M,N=S*l+M;d[I]+d[N]<d[O]&&(d[O]=d[I]+d[N],m[O]=m[I])}var D=function(t){return(v(t)?e.filter(t):t)[0]},F=function(t){return h(D(t))},P={distance:function(t,e){var n=F(t),r=F(e);return d[n*l+r]},path:function(t,n){var r=F(t),i=F(n),a=f(r);if(r===i)return a.collection();if(null==m[r*l+i])return e.collection();var o,s=e.collection(),c=r;for(s.merge(a);r!==i;)c=r,r=m[r*l+i],o=b[c*l+r],s.merge(o),s.merge(f(r));return s}};return P}},ln=Qe({weight:function(t){return 1},directed:!1,root:null}),un={bellmanFord:function(t){var e=this,n=ln(t),r=n.weight,i=n.directed,a=n.root,o=r,s=this,c=this.cy(),l=this.byGroup(),u=l.edges,h=l.nodes,f=h.length,d=new ze,A=!1,p=[];a=c.collection(a)[0],u.unmergeBy((function(t){return t.isLoop()}));for(var g=u.length,m=function(t){var e=d.get(t.id());return e||(e={},d.set(t.id(),e)),e},b=function(t){return(v(t)?c.$(t):t)[0]},y=function(t){return m(b(t)).dist},w=function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=b(t);;){if(null==i)return e.spawn();var o=m(i),c=o.edge,l=o.pred;if(r.unshift(i[0]),i.same(n)&&r.length>0)break;null!=c&&r.unshift(c),i=l}return s.spawn(r)},T=0;T<f;T++){var k=h[T],C=m(k);k.same(a)?C.dist=0:C.dist=1/0,C.pred=null,C.edge=null}for(var E=!1,x=function(t,e,n,r,i,a){var o=r.dist+a;o<i.dist&&!n.same(r.edge)&&(i.dist=o,i.pred=t,i.edge=n,E=!0)},_=1;_<f;_++){E=!1;for(var B=0;B<g;B++){var S=u[B],L=S.source(),I=S.target(),M=o(S),O=m(L),N=m(I);x(L,I,S,O,N,M),i||x(I,L,S,N,O,M)}if(!E)break}if(E)for(var D=[],F=0;F<g;F++){var P=u[F],R=P.source(),Q=P.target(),U=o(P),H=m(R).dist,j=m(Q).dist;if(H+U<j||!i&&j+U<H){if(A||(Me("Graph contains a negative weight cycle for Bellman-Ford"),A=!0),!1===t.findNegativeWeightCycles)break;var $=[];H+U<j&&$.push(R),!i&&j+U<H&&$.push(Q);for(var K=$.length,G=0;G<K;G++){var z=$[G],X=[z];X.push(m(z).edge);for(var q=m(z).pred;-1===X.indexOf(q);)X.push(q),X.push(m(q).edge),q=m(q).pred;for(var V=(X=X.slice(X.indexOf(q)))[0].id(),W=0,Y=2;Y<X.length;Y+=2)X[Y].id()<V&&(V=X[Y].id(),W=Y);(X=X.slice(W).concat(X.slice(0,W))).push(X[0]);var J=X.map((function(t){return t.id()})).join(",");-1===D.indexOf(J)&&(p.push(s.spawn(X)),D.push(J))}}}return{distanceTo:y,pathTo:w,hasNegativeWeightCycle:A,negativeWeightCycles:p}}},hn=Math.sqrt(2),fn=function(t,e,n){0===n.length&&Le("Karger-Stein must be run on a connected (sub)graph");for(var r=n[t],i=r[1],a=r[2],o=e[i],s=e[a],c=n,l=c.length-1;l>=0;l--){var u=c[l],h=u[1],f=u[2];(e[h]===o&&e[f]===s||e[h]===s&&e[f]===o)&&c.splice(l,1)}for(var d=0;d<c.length;d++){var A=c[d];A[1]===s?(c[d]=A.slice(),c[d][1]=o):A[2]===s&&(c[d]=A.slice(),c[d][2]=o)}for(var p=0;p<e.length;p++)e[p]===s&&(e[p]=o);return c},dn=function(t,e,n,r){for(;n>r;){var i=Math.floor(Math.random()*e.length);e=fn(i,t,e),n--}return e},An={kargerStein:function(){var t=this,e=this.byGroup(),n=e.nodes,r=e.edges;r.unmergeBy((function(t){return t.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/hn);if(!(i<2)){for(var c=[],l=0;l<a;l++){var u=r[l];c.push([l,n.indexOf(u.source()),n.indexOf(u.target())])}for(var h=1/0,f=[],d=new Array(i),A=new Array(i),p=new Array(i),g=function(t,e){for(var n=0;n<i;n++)e[n]=t[n]},m=0;m<=o;m++){for(var b=0;b<i;b++)A[b]=b;var v=dn(A,c.slice(),i,s),y=v.slice();g(A,p);var w=dn(A,v,s,2),T=dn(p,y,s,2);w.length<=T.length&&w.length<h?(h=w.length,f=w,g(A,d)):T.length<=w.length&&T.length<h&&(h=T.length,f=T,g(p,d))}for(var k=this.spawn(f.map((function(t){return r[t[0]]}))),C=this.spawn(),E=this.spawn(),x=d[0],_=0;_<d.length;_++){var B=d[_],S=n[_];B===x?C.merge(S):E.merge(S)}var L=function(e){var n=t.spawn();return e.forEach((function(e){n.merge(e),e.connectedEdges().forEach((function(e){t.contains(e)&&!k.contains(e)&&n.merge(e)}))})),n},I=[L(C),L(E)];return{cut:k,components:I,partition1:C,partition2:E}}Le("At least 2 nodes are required for Karger-Stein algorithm")}},pn=function(t){return{x:t.x,y:t.y}},gn=function(t,e,n){return{x:t.x*e+n.x,y:t.y*e+n.y}},mn=function(t,e,n){return{x:(t.x-n.x)/e,y:(t.y-n.y)/e}},bn=function(t){return{x:t[0],y:t[1]}},vn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,r=1/0,i=e;i<n;i++){var a=t[i];isFinite(a)&&(r=Math.min(a,r))}return r},yn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,r=-1/0,i=e;i<n;i++){var a=t[i];isFinite(a)&&(r=Math.max(a,r))}return r},wn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,r=0,i=0,a=e;a<n;a++){var o=t[a];isFinite(o)&&(r+=o,i++)}return r/i},Tn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n<t.length&&t.splice(n,t.length-n),e>0&&t.splice(0,e)):t=t.slice(e,n);for(var a=0,o=t.length-1;o>=0;o--){var s=t[o];i?isFinite(s)||(t[o]=-1/0,a++):t.splice(o,1)}r&&t.sort((function(t,e){return t-e}));var c=t.length,l=Math.floor(c/2);return c%2!=0?t[l+1+a]:(t[l-1+a]+t[l+a])/2},kn=function(t){return Math.PI*t/180},Cn=function(t,e){return Math.atan2(e,t)-Math.PI/2},En=Math.log2||function(t){return Math.log(t)/Math.log(2)},xn=function(t){return t>0?1:t<0?-1:0},_n=function(t,e){return Math.sqrt(Bn(t,e))},Bn=function(t,e){var n=e.x-t.x,r=e.y-t.y;return n*n+r*r},Sn=function(t){for(var e=t.length,n=0,r=0;r<e;r++)n+=t[r];for(var i=0;i<e;i++)t[i]=t[i]/n;return t},Ln=function(t,e,n,r){return(1-r)*(1-r)*t+2*(1-r)*r*e+r*r*n},In=function(t,e,n,r){return{x:Ln(t.x,e.x,n.x,r),y:Ln(t.y,e.y,n.y,r)}},Mn=function(t,e,n,r){var i={x:e.x-t.x,y:e.y-t.y},a=_n(t,e),o={x:i.x/a,y:i.y/a};return n=null==n?0:n,r=null!=r?r:n*a,{x:t.x+o.x*r,y:t.y+o.y*r}},On=function(t,e,n){return Math.max(t,Math.min(n,e))},Nn=function(t){if(null==t)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=t.x1&&null!=t.y1){if(null!=t.x2&&null!=t.y2&&t.x2>=t.x1&&t.y2>=t.y1)return{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,w:t.x2-t.x1,h:t.y2-t.y1};if(null!=t.w&&null!=t.h&&t.w>=0&&t.h>=0)return{x1:t.x1,y1:t.y1,x2:t.x1+t.w,y2:t.y1+t.h,w:t.w,h:t.h}}},Dn=function(t){return{x1:t.x1,x2:t.x2,w:t.w,y1:t.y1,y2:t.y2,h:t.h}},Fn=function(t){t.x1=1/0,t.y1=1/0,t.x2=-1/0,t.y2=-1/0,t.w=0,t.h=0},Pn=function(t,e){t.x1=Math.min(t.x1,e.x1),t.x2=Math.max(t.x2,e.x2),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,e.y1),t.y2=Math.max(t.y2,e.y2),t.h=t.y2-t.y1},Rn=function(t,e,n){t.x1=Math.min(t.x1,e),t.x2=Math.max(t.x2,e),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,n),t.y2=Math.max(t.y2,n),t.h=t.y2-t.y1},Qn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.x1-=e,t.x2+=e,t.y1-=e,t.y2+=e,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Un=function(t){var e,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)e=n=r=i=a[0];else if(2===a.length)e=r=a[0],i=n=a[1];else if(4===a.length){var s=o(a,4);e=s[0],n=s[1],r=s[2],i=s[3]}return t.x1-=i,t.x2+=n,t.y1-=e,t.y2+=r,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Hn=function(t,e){t.x1=e.x1,t.y1=e.y1,t.x2=e.x2,t.y2=e.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1},jn=function(t,e){return!(t.x1>e.x2||e.x1>t.x2||t.x2<e.x1||e.x2<t.x1||t.y2<e.y1||e.y2<t.y1||t.y1>e.y2||e.y1>t.y2)},$n=function(t,e,n){return t.x1<=e&&e<=t.x2&&t.y1<=n&&n<=t.y2},Kn=function(t,e){return $n(t,e.x,e.y)},Gn=function(t,e){return $n(t,e.x1,e.y1)&&$n(t,e.x2,e.y2)},zn=function(t,e,n,r,i,a,o){var s,c=pr(i,a),l=i/2,u=a/2,h=r-u-o;if((s=cr(t,e,n,r,n-l+c-o,h,n+l-c+o,h,!1)).length>0)return s;var f=n+l+o;if((s=cr(t,e,n,r,f,r-u+c-o,f,r+u-c+o,!1)).length>0)return s;var d=r+u+o;if((s=cr(t,e,n,r,n-l+c-o,d,n+l-c+o,d,!1)).length>0)return s;var A,p=n-l-o;if((s=cr(t,e,n,r,p,r-u+c-o,p,r+u-c+o,!1)).length>0)return s;var g=n-l+c,m=r-u+c;if((A=or(t,e,n,r,g,m,c+o)).length>0&&A[0]<=g&&A[1]<=m)return[A[0],A[1]];var b=n+l-c,v=r-u+c;if((A=or(t,e,n,r,b,v,c+o)).length>0&&A[0]>=b&&A[1]<=v)return[A[0],A[1]];var y=n+l-c,w=r+u-c;if((A=or(t,e,n,r,y,w,c+o)).length>0&&A[0]>=y&&A[1]>=w)return[A[0],A[1]];var T=n-l+c,k=r+u-c;return(A=or(t,e,n,r,T,k,c+o)).length>0&&A[0]<=T&&A[1]>=k?[A[0],A[1]]:[]},Xn=function(t,e,n,r,i,a,o){var s=o,c=Math.min(n,i),l=Math.max(n,i),u=Math.min(r,a),h=Math.max(r,a);return c-s<=t&&t<=l+s&&u-s<=e&&e<=h+s},qn=function(t,e,n,r,i,a,o,s,c){var l={x1:Math.min(n,o,i)-c,x2:Math.max(n,o,i)+c,y1:Math.min(r,s,a)-c,y2:Math.max(r,s,a)+c};return!(t<l.x1||t>l.x2||e<l.y1||e>l.y2)},Vn=function(t,e,n,r){var i=e*e-4*t*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*t;return[(-e+a)/o,(-e-a)/o]},Wn=function(t,e,n,r,i){var a,o,s,c,l,u,h,f;return 0===t&&(t=1e-5),s=-27*(r/=t)+(e/=t)*(9*(n/=t)-e*e*2),a=(o=(3*n-e*e)/9)*o*o+(s/=54)*s,i[1]=0,h=e/3,a>0?(l=(l=s+Math.sqrt(a))<0?-Math.pow(-l,1/3):Math.pow(l,1/3),u=(u=s-Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-h+l+u,h+=(l+u)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-u+l)/2,i[3]=h,void(i[5]=-h)):(i[5]=i[3]=0,0===a?(f=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=2*f-h,void(i[4]=i[2]=-(f+h))):(c=(o=-o)*o*o,c=Math.acos(s/Math.sqrt(c)),f=2*Math.sqrt(o),i[0]=-h+f*Math.cos(c/3),i[2]=-h+f*Math.cos((c+2*Math.PI)/3),void(i[4]=-h+f*Math.cos((c+4*Math.PI)/3))))},Yn=function(t,e,n,r,i,a,o,s){var c=[];Wn(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*t+2*i*i+2*i*t-o*t+3*r*r-6*r*a+r*s-r*e+2*a*a+2*a*e-s*e,1*n*i-n*n+n*t-i*t+r*a-r*r+r*e-a*e,c);for(var l=1e-7,u=[],h=0;h<6;h+=2)Math.abs(c[h+1])<l&&c[h]>=0&&c[h]<=1&&u.push(c[h]);u.push(1),u.push(0);for(var f,d,A,p=-1,g=0;g<u.length;g++)f=Math.pow(1-u[g],2)*n+2*(1-u[g])*u[g]*i+u[g]*u[g]*o,d=Math.pow(1-u[g],2)*r+2*(1-u[g])*u[g]*a+u[g]*u[g]*s,A=Math.pow(f-t,2)+Math.pow(d-e,2),p>=0?A<p&&(p=A):p=A;return p},Jn=function(t,e,n,r,i,a){var o=[t-n,e-r],s=[i-n,a-r],c=s[0]*s[0]+s[1]*s[1],l=o[0]*o[0]+o[1]*o[1],u=o[0]*s[0]+o[1]*s[1],h=u*u/c;return u<0?l:h>c?(t-i)*(t-i)+(e-a)*(e-a):l-h},Zn=function(t,e,n){for(var r,i,a,o,s=0,c=0;c<n.length/2;c++)if(r=n[2*c],i=n[2*c+1],c+1<n.length/2?(a=n[2*(c+1)],o=n[2*(c+1)+1]):(a=n[2*(c+1-n.length/2)],o=n[2*(c+1-n.length/2)+1]),r==t&&a==t);else{if(!(r>=t&&t>=a||r<=t&&t<=a))continue;(t-r)/(a-r)*(o-i)+i>e&&s++}return s%2!=0},tr=function(t,e,n,r,i,a,o,s,c){var l,u=new Array(n.length);null!=s[0]?(l=Math.atan(s[1]/s[0]),s[0]<0?l+=Math.PI/2:l=-l-Math.PI/2):l=s;for(var h,f=Math.cos(-l),d=Math.sin(-l),A=0;A<u.length/2;A++)u[2*A]=a/2*(n[2*A]*f-n[2*A+1]*d),u[2*A+1]=o/2*(n[2*A+1]*f+n[2*A]*d),u[2*A]+=r,u[2*A+1]+=i;if(c>0){var p=rr(u,-c);h=nr(p)}else h=u;return Zn(t,e,h)},er=function(t,e,n,r,i,a,o){for(var s=new Array(n.length),c=a/2,l=o/2,u=gr(a,o),h=u*u,f=0;f<n.length/4;f++){var d=void 0,A=void 0;d=0===f?n.length-2:4*f-2,A=4*f+2;var p=r+c*n[4*f],g=i+l*n[4*f+1],m=-n[d]*n[A]-n[d+1]*n[A+1],b=u/Math.tan(Math.acos(m)/2),v=p-b*n[d],y=g-b*n[d+1],w=p+b*n[A],T=g+b*n[A+1];s[4*f]=v,s[4*f+1]=y,s[4*f+2]=w,s[4*f+3]=T;var k=n[d+1],C=-n[d];k*n[A]+C*n[A+1]<0&&(k*=-1,C*=-1);var E=v+k*u,x=y+C*u;if(Math.pow(E-t,2)+Math.pow(x-e,2)<=h)return!0}return Zn(t,e,s)},nr=function(t){for(var e,n,r,i,a,o,s,c,l=new Array(t.length/2),u=0;u<t.length/4;u++){e=t[4*u],n=t[4*u+1],r=t[4*u+2],i=t[4*u+3],u<t.length/4-1?(a=t[4*(u+1)],o=t[4*(u+1)+1],s=t[4*(u+1)+2],c=t[4*(u+1)+3]):(a=t[0],o=t[1],s=t[2],c=t[3]);var h=cr(e,n,r,i,a,o,s,c,!0);l[2*u]=h[0],l[2*u+1]=h[1]}return l},rr=function(t,e){for(var n,r,i,a,o=new Array(2*t.length),s=0;s<t.length/2;s++){n=t[2*s],r=t[2*s+1],s<t.length/2-1?(i=t[2*(s+1)],a=t[2*(s+1)+1]):(i=t[0],a=t[1]);var c=a-r,l=-(i-n),u=Math.sqrt(c*c+l*l),h=c/u,f=l/u;o[4*s]=n+h*e,o[4*s+1]=r+f*e,o[4*s+2]=i+h*e,o[4*s+3]=a+f*e}return o},ir=function(t,e,n,r,i,a){var o=n-t,s=r-e;o/=i,s/=a;var c=Math.sqrt(o*o+s*s),l=c-1;if(l<0)return[];var u=l/c;return[(n-t)*u+t,(r-e)*u+e]},ar=function(t,e,n,r,i,a,o){return t-=i,e-=a,(t/=n/2+o)*t+(e/=r/2+o)*e<=1},or=function(t,e,n,r,i,a,o){var s=[n-t,r-e],c=[t-i,e-a],l=s[0]*s[0]+s[1]*s[1],u=2*(c[0]*s[0]+c[1]*s[1]),h=u*u-4*l*(c[0]*c[0]+c[1]*c[1]-o*o);if(h<0)return[];var f=(-u+Math.sqrt(h))/(2*l),d=(-u-Math.sqrt(h))/(2*l),A=Math.min(f,d),p=Math.max(f,d),g=[];if(A>=0&&A<=1&&g.push(A),p>=0&&p<=1&&g.push(p),0===g.length)return[];var m=g[0]*s[0]+t,b=g[0]*s[1]+e;return g.length>1?g[0]==g[1]?[m,b]:[m,b,g[1]*s[0]+t,g[1]*s[1]+e]:[m,b]},sr=function(t,e,n){return e<=t&&t<=n||n<=t&&t<=e?t:t<=e&&e<=n||n<=e&&e<=t?e:n},cr=function(t,e,n,r,i,a,o,s,c){var l=t-i,u=n-t,h=o-i,f=e-a,d=r-e,A=s-a,p=h*f-A*l,g=u*f-d*l,m=A*u-h*d;if(0!==m){var b=p/m,v=g/m,y=.001,w=0-y,T=1+y;return w<=b&&b<=T&&w<=v&&v<=T||c?[t+b*u,e+b*d]:[]}return 0===p||0===g?sr(t,n,o)===o?[o,s]:sr(t,n,i)===i?[i,a]:sr(i,o,n)===n?[n,r]:[]:[]},lr=function(t,e,n,r,i,a,o,s){var c,l,u,h,f,d,A=[],p=new Array(n.length),g=!0;if(null==a&&(g=!1),g){for(var m=0;m<p.length/2;m++)p[2*m]=n[2*m]*a+r,p[2*m+1]=n[2*m+1]*o+i;if(s>0){var b=rr(p,-s);l=nr(b)}else l=p}else l=n;for(var v=0;v<l.length/2;v++)u=l[2*v],h=l[2*v+1],v<l.length/2-1?(f=l[2*(v+1)],d=l[2*(v+1)+1]):(f=l[0],d=l[1]),0!==(c=cr(t,e,r,i,u,h,f,d)).length&&A.push(c[0],c[1]);return A},ur=function(t,e,n,r,i,a,o,s){for(var c,l=[],u=new Array(n.length),h=a/2,f=o/2,d=gr(a,o),A=0;A<n.length/4;A++){var p=void 0,g=void 0;p=0===A?n.length-2:4*A-2,g=4*A+2;var m=r+h*n[4*A],b=i+f*n[4*A+1],v=-n[p]*n[g]-n[p+1]*n[g+1],y=d/Math.tan(Math.acos(v)/2),w=m-y*n[p],T=b-y*n[p+1],k=m+y*n[g],C=b+y*n[g+1];0===A?(u[n.length-2]=w,u[n.length-1]=T):(u[4*A-2]=w,u[4*A-1]=T),u[4*A]=k,u[4*A+1]=C;var E=n[p+1],x=-n[p];E*n[g]+x*n[g+1]<0&&(E*=-1,x*=-1),0!==(c=or(t,e,r,i,w+E*d,T+x*d,d)).length&&l.push(c[0],c[1])}for(var _=0;_<u.length/4;_++)0!==(c=cr(t,e,r,i,u[4*_],u[4*_+1],u[4*_+2],u[4*_+3],!1)).length&&l.push(c[0],c[1]);if(l.length>2){for(var B=[l[0],l[1]],S=Math.pow(B[0]-t,2)+Math.pow(B[1]-e,2),L=1;L<l.length/2;L++){var I=Math.pow(l[2*L]-t,2)+Math.pow(l[2*L+1]-e,2);I<=S&&(B[0]=l[2*L],B[1]=l[2*L+1],S=I)}return B}return l},hr=function(t,e,n){var r=[t[0]-e[0],t[1]-e[1]],i=Math.sqrt(r[0]*r[0]+r[1]*r[1]),a=(i-n)/i;return a<0&&(a=1e-5),[e[0]+a*r[0],e[1]+a*r[1]]},fr=function(t,e){var n=Ar(t,e);return n=dr(n)},dr=function(t){for(var e,n,r=t.length/2,i=1/0,a=1/0,o=-1/0,s=-1/0,c=0;c<r;c++)e=t[2*c],n=t[2*c+1],i=Math.min(i,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);for(var l=2/(o-i),u=2/(s-a),h=0;h<r;h++)e=t[2*h]=t[2*h]*l,n=t[2*h+1]=t[2*h+1]*u,i=Math.min(i,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);if(a<-1)for(var f=0;f<r;f++)n=t[2*f+1]=t[2*f+1]+(-1-a);return t},Ar=function(t,e){var n=1/t*2*Math.PI,r=t%2==0?Math.PI/2+n/2:Math.PI/2;r+=e;for(var i,a=new Array(2*t),o=0;o<t;o++)i=o*n+r,a[2*o]=Math.cos(i),a[2*o+1]=Math.sin(-i);return a},pr=function(t,e){return Math.min(t/4,e/4,8)},gr=function(t,e){return Math.min(t/10,e/10,8)},mr=function(){return 8},br=function(t,e,n){return[t-2*e+n,2*(e-t),t]},vr=function(t,e){return{heightOffset:Math.min(15,.05*e),widthOffset:Math.min(100,.25*t),ctrlPtOffsetPct:.05}},yr=Qe({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(t){return 1}}),wr={pageRank:function(t){for(var e=yr(t),n=e.dampingFactor,r=e.precision,i=e.iterations,a=e.weight,o=this._private.cy,s=this.byGroup(),c=s.nodes,l=s.edges,u=c.length,h=u*u,f=l.length,d=new Array(h),A=new Array(u),p=(1-n)/u,g=0;g<u;g++){for(var m=0;m<u;m++)d[g*u+m]=0;A[g]=0}for(var b=0;b<f;b++){var v=l[b],y=v.data("source"),w=v.data("target");if(y!==w){var T=c.indexOfId(y),k=c.indexOfId(w),C=a(v);d[k*u+T]+=C,A[T]+=C}}for(var E=1/u+p,x=0;x<u;x++)if(0===A[x])for(var _=0;_<u;_++)d[_*u+x]=E;else for(var B=0;B<u;B++){var S=B*u+x;d[S]=d[S]/A[x]+p}for(var L,I=new Array(u),M=new Array(u),O=0;O<u;O++)I[O]=1;for(var N=0;N<i;N++){for(var D=0;D<u;D++)M[D]=0;for(var F=0;F<u;F++)for(var P=0;P<u;P++){var R=F*u+P;M[F]+=d[R]*I[P]}Sn(M),L=I,I=M,M=L;for(var Q=0,U=0;U<u;U++){var H=L[U]-I[U];Q+=H*H}if(Q<r)break}var j={rank:function(t){return t=o.collection(t)[0],I[c.indexOf(t)]}};return j}},Tr=Qe({root:null,weight:function(t){return 1},directed:!1,alpha:0}),kr={degreeCentralityNormalized:function(t){t=Tr(t);var e=this.cy(),n=this.nodes(),r=n.length;if(t.directed){for(var i={},a={},o=0,s=0,c=0;c<r;c++){var l=n[c],u=l.id();t.root=l;var h=this.degreeCentrality(t);o<h.indegree&&(o=h.indegree),s<h.outdegree&&(s=h.outdegree),i[u]=h.indegree,a[u]=h.outdegree}return{indegree:function(t){return 0==o?0:(v(t)&&(t=e.filter(t)),i[t.id()]/o)},outdegree:function(t){return 0===s?0:(v(t)&&(t=e.filter(t)),a[t.id()]/s)}}}for(var f={},d=0,A=0;A<r;A++){var p=n[A];t.root=p;var g=this.degreeCentrality(t);d<g.degree&&(d=g.degree),f[p.id()]=g.degree}return{degree:function(t){return 0===d?0:(v(t)&&(t=e.filter(t)),f[t.id()]/d)}}},degreeCentrality:function(t){t=Tr(t);var e=this.cy(),n=this,r=t,i=r.root,a=r.weight,o=r.directed,s=r.alpha;if(i=e.collection(i)[0],o){for(var c=i.connectedEdges(),l=c.filter((function(t){return t.target().same(i)&&n.has(t)})),u=c.filter((function(t){return t.source().same(i)&&n.has(t)})),h=l.length,f=u.length,d=0,A=0,p=0;p<l.length;p++)d+=a(l[p]);for(var g=0;g<u.length;g++)A+=a(u[g]);return{indegree:Math.pow(h,1-s)*Math.pow(d,s),outdegree:Math.pow(f,1-s)*Math.pow(A,s)}}for(var m=i.connectedEdges().intersection(n),b=m.length,v=0,y=0;y<m.length;y++)v+=a(m[y]);return{degree:Math.pow(b,1-s)*Math.pow(v,s)}}};kr.dc=kr.degreeCentrality,kr.dcn=kr.degreeCentralityNormalised=kr.degreeCentralityNormalized;var Cr=Qe({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),Er={closenessCentralityNormalized:function(t){for(var e=Cr(t),n=e.harmonic,r=e.weight,i=e.directed,a=this.cy(),o={},s=0,c=this.nodes(),l=this.floydWarshall({weight:r,directed:i}),u=0;u<c.length;u++){for(var h=0,f=c[u],d=0;d<c.length;d++)if(u!==d){var A=l.distance(f,c[d]);h+=n?1/A:A}n||(h=1/h),s<h&&(s=h),o[f.id()]=h}return{closeness:function(t){return 0==s?0:(t=v(t)?a.filter(t)[0].id():t.id(),o[t]/s)}}},closenessCentrality:function(t){var e=Cr(t),n=e.root,r=e.weight,i=e.directed,a=e.harmonic;n=this.filter(n)[0];for(var o=this.dijkstra({root:n,weight:r,directed:i}),s=0,c=this.nodes(),l=0;l<c.length;l++){var u=c[l];if(!u.same(n)){var h=o.distanceTo(u);s+=a?1/h:h}}return a?s:1/s}};Er.cc=Er.closenessCentrality,Er.ccn=Er.closenessCentralityNormalised=Er.closenessCentralityNormalized;var xr=Qe({weight:null,directed:!1}),_r={betweennessCentrality:function(t){for(var e=xr(t),n=e.directed,r=e.weight,i=null!=r,a=this.cy(),o=this.nodes(),s={},c={},l=0,u={set:function(t,e){c[t]=e,e>l&&(l=e)},get:function(t){return c[t]}},h=0;h<o.length;h++){var f=o[h],d=f.id();s[d]=n?f.outgoers().nodes():f.openNeighborhood().nodes(),u.set(d,0)}for(var A=function(t){for(var e=o[t].id(),n=[],c={},l={},h={},f=new tn((function(t,e){return h[t]-h[e]})),d=0;d<o.length;d++){var A=o[d].id();c[A]=[],l[A]=0,h[A]=1/0}for(l[e]=1,h[e]=0,f.push(e);!f.empty();){var p=f.pop();if(n.push(p),i)for(var g=0;g<s[p].length;g++){var m=s[p][g],b=a.getElementById(p),v=void 0;v=b.edgesTo(m).length>0?b.edgesTo(m)[0]:m.edgesTo(b)[0];var y=r(v);m=m.id(),h[m]>h[p]+y&&(h[m]=h[p]+y,f.nodes.indexOf(m)<0?f.push(m):f.updateItem(m),l[m]=0,c[m]=[]),h[m]==h[p]+y&&(l[m]=l[m]+l[p],c[m].push(p))}else for(var w=0;w<s[p].length;w++){var T=s[p][w].id();h[T]==1/0&&(f.push(T),h[T]=h[p]+1),h[T]==h[p]+1&&(l[T]=l[T]+l[p],c[T].push(p))}}for(var k={},C=0;C<o.length;C++)k[o[C].id()]=0;for(;n.length>0;){for(var E=n.pop(),x=0;x<c[E].length;x++){var _=c[E][x];k[_]=k[_]+l[_]/l[E]*(1+k[E])}E!=o[t].id()&&u.set(E,u.get(E)+k[E])}},p=0;p<o.length;p++)A(p);var g={betweenness:function(t){var e=a.collection(t).id();return u.get(e)},betweennessNormalized:function(t){if(0==l)return 0;var e=a.collection(t).id();return u.get(e)/l}};return g.betweennessNormalised=g.betweennessNormalized,g}};_r.bc=_r.betweennessCentrality;var Br=Qe({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(t){return 1}]}),Sr=function(t){return Br(t)},Lr=function(t,e){for(var n=0,r=0;r<e.length;r++)n+=e[r](t);return n},Ir=function(t,e,n){for(var r=0;r<e;r++)t[r*e+r]=n},Mr=function(t,e){for(var n,r=0;r<e;r++){n=0;for(var i=0;i<e;i++)n+=t[i*e+r];for(var a=0;a<e;a++)t[a*e+r]=t[a*e+r]/n}},Or=function(t,e,n){for(var r=new Array(n*n),i=0;i<n;i++){for(var a=0;a<n;a++)r[i*n+a]=0;for(var o=0;o<n;o++)for(var s=0;s<n;s++)r[i*n+s]+=t[i*n+o]*e[o*n+s]}return r},Nr=function(t,e,n){for(var r=t.slice(0),i=1;i<n;i++)t=Or(t,r,e);return t},Dr=function(t,e,n){for(var r=new Array(e*e),i=0;i<e*e;i++)r[i]=Math.pow(t[i],n);return Mr(r,e),r},Fr=function(t,e,n,r){for(var i=0;i<n;i++)if(Math.round(t[i]*Math.pow(10,r))/Math.pow(10,r)!=Math.round(e[i]*Math.pow(10,r))/Math.pow(10,r))return!1;return!0},Pr=function(t,e,n,r){for(var i=[],a=0;a<e;a++){for(var o=[],s=0;s<e;s++)Math.round(1e3*t[a*e+s])/1e3>0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},Rr=function(t,e){for(var n=0;n<t.length;n++)if(!e[n]||t[n].id()!==e[n].id())return!1;return!0},Qr=function(t){for(var e=0;e<t.length;e++)for(var n=0;n<t.length;n++)e!=n&&Rr(t[e],t[n])&&t.splice(n,1);return t},Ur=function(t){for(var e=this.nodes(),n=this.edges(),r=this.cy(),i=Sr(t),a={},o=0;o<e.length;o++)a[e[o].id()]=o;for(var s,c=e.length,l=c*c,u=new Array(l),h=0;h<l;h++)u[h]=0;for(var f=0;f<n.length;f++){var d=n[f],A=a[d.source().id()],p=a[d.target().id()],g=Lr(d,i.attributes);u[A*c+p]+=g,u[p*c+A]+=g}Ir(u,c,i.multFactor),Mr(u,c);for(var m=!0,b=0;m&&b<i.maxIterations;)m=!1,s=Nr(u,c,i.expandFactor),u=Dr(s,c,i.inflateFactor),Fr(u,s,l,4)||(m=!0),b++;var v=Pr(u,c,e,r);return v=Qr(v)},Hr={markovClustering:Ur,mcl:Ur},jr=function(t){return t},$r=function(t,e){return Math.abs(e-t)},Kr=function(t,e,n){return t+$r(e,n)},Gr=function(t,e,n){return t+Math.pow(n-e,2)},zr=function(t){return Math.sqrt(t)},Xr=function(t,e,n){return Math.max(t,$r(e,n))},qr=function(t,e,n,r,i){for(var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:jr,o=r,s=0;s<t;s++)o=i(o,e(s),n(s));return a(o)},Vr={euclidean:function(t,e,n){return t>=2?qr(t,e,n,0,Gr,zr):qr(t,e,n,0,Kr)},squaredEuclidean:function(t,e,n){return qr(t,e,n,0,Gr)},manhattan:function(t,e,n){return qr(t,e,n,0,Kr)},max:function(t,e,n){return qr(t,e,n,-1/0,Xr)}};function Wr(t,e,n,r,i,a){var o;return o=y(t)?t:Vr[t]||Vr.euclidean,0===e&&y(t)?o(i,a):o(e,n,r,i,a)}Vr["squared-euclidean"]=Vr.squaredEuclidean,Vr.squaredeuclidean=Vr.squaredEuclidean;var Yr=Qe({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Jr=function(t){return Yr(t)},Zr=function(t,e,n,r,i){var a="kMedoids"!==i?function(t){return n[t]}:function(t){return r[t](n)},o=function(t){return r[t](e)},s=n,c=e;return Wr(t,r.length,a,o,s,c)},ti=function(t,e,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(e),s=null,c=0;c<r;c++)i[c]=t.min(n[c]).value,a[c]=t.max(n[c]).value;for(var l=0;l<e;l++){s=[];for(var u=0;u<r;u++)s[u]=Math.random()*(a[u]-i[u])+i[u];o[l]=s}return o},ei=function(t,e,n,r,i){for(var a=1/0,o=0,s=0;s<e.length;s++){var c=Zr(n,t,e[s],r,i);c<a&&(a=c,o=s)}return o},ni=function(t,e,n){for(var r=[],i=null,a=0;a<e.length;a++)n[(i=e[a]).id()]===t&&r.push(i);return r},ri=function(t,e,n){return Math.abs(e-t)<=n},ii=function(t,e,n){for(var r=0;r<t.length;r++)for(var i=0;i<t[r].length;i++)if(Math.abs(t[r][i]-e[r][i])>n)return!1;return!0},ai=function(t,e,n){for(var r=0;r<n;r++)if(t===e[r])return!0;return!1},oi=function(t,e){var n=new Array(e);if(t.length<50)for(var r=0;r<e;r++){for(var i=t[Math.floor(Math.random()*t.length)];ai(i,n,r);)i=t[Math.floor(Math.random()*t.length)];n[r]=i}else for(var a=0;a<e;a++)n[a]=t[Math.floor(Math.random()*t.length)];return n},si=function(t,e,n){for(var r=0,i=0;i<e.length;i++)r+=Zr("manhattan",e[i],t,n,"kMedoids");return r},ci=function(e){var n,r=this.cy(),i=this.nodes(),a=null,o=Jr(e),s=new Array(o.k),c={};o.testMode?"number"==typeof o.testCentroids?(o.testCentroids,n=ti(i,o.k,o.attributes)):n="object"===t(o.testCentroids)?o.testCentroids:ti(i,o.k,o.attributes):n=ti(i,o.k,o.attributes);for(var l=!0,u=0;l&&u<o.maxIterations;){for(var h=0;h<i.length;h++)c[(a=i[h]).id()]=ei(a,n,o.distance,o.attributes,"kMeans");l=!1;for(var f=0;f<o.k;f++){var d=ni(f,i,c);if(0!==d.length){for(var A=o.attributes.length,p=n[f],g=new Array(A),m=new Array(A),b=0;b<A;b++){m[b]=0;for(var v=0;v<d.length;v++)a=d[v],m[b]+=o.attributes[b](a);g[b]=m[b]/d.length,ri(g[b],p[b],o.sensitivityThreshold)||(l=!0)}n[f]=g,s[f]=r.collection(d)}}u++}return s},li=function(e){var n,r,i=this.cy(),a=this.nodes(),o=null,s=Jr(e),c=new Array(s.k),l={},u=new Array(s.k);s.testMode?"number"==typeof s.testCentroids||(n="object"===t(s.testCentroids)?s.testCentroids:oi(a,s.k)):n=oi(a,s.k);for(var h=!0,f=0;h&&f<s.maxIterations;){for(var d=0;d<a.length;d++)l[(o=a[d]).id()]=ei(o,n,s.distance,s.attributes,"kMedoids");h=!1;for(var A=0;A<n.length;A++){var p=ni(A,a,l);if(0!==p.length){u[A]=si(n[A],p,s.attributes);for(var g=0;g<p.length;g++)(r=si(p[g],p,s.attributes))<u[A]&&(u[A]=r,n[A]=p[g],h=!0);c[A]=i.collection(p)}}f++}return c},ui=function(t,e,n,r,i){for(var a,o,s=0;s<e.length;s++)for(var c=0;c<t.length;c++)r[s][c]=Math.pow(n[s][c],i.m);for(var l=0;l<t.length;l++)for(var u=0;u<i.attributes.length;u++){a=0,o=0;for(var h=0;h<e.length;h++)a+=r[h][l]*i.attributes[u](e[h]),o+=r[h][l];t[l][u]=a/o}},hi=function(t,e,n,r,i){for(var a=0;a<t.length;a++)e[a]=t[a].slice();for(var o,s,c,l=2/(i.m-1),u=0;u<n.length;u++)for(var h=0;h<r.length;h++){o=0;for(var f=0;f<n.length;f++)s=Zr(i.distance,r[h],n[u],i.attributes,"cmeans"),c=Zr(i.distance,r[h],n[f],i.attributes,"cmeans"),o+=Math.pow(s/c,l);t[h][u]=1/o}},fi=function(t,e,n,r){for(var i,a,o=new Array(n.k),s=0;s<o.length;s++)o[s]=[];for(var c=0;c<e.length;c++){i=-1/0,a=-1;for(var l=0;l<e[0].length;l++)e[c][l]>i&&(i=e[c][l],a=l);o[a].push(t[c])}for(var u=0;u<o.length;u++)o[u]=r.collection(o[u]);return o},di=function(t){var e,n,r,i,a=this.cy(),o=this.nodes(),s=Jr(t);r=new Array(o.length);for(var c=0;c<o.length;c++)r[c]=new Array(s.k);n=new Array(o.length);for(var l=0;l<o.length;l++)n[l]=new Array(s.k);for(var u=0;u<o.length;u++){for(var h=0,f=0;f<s.k;f++)n[u][f]=Math.random(),h+=n[u][f];for(var d=0;d<s.k;d++)n[u][d]=n[u][d]/h}e=new Array(s.k);for(var A=0;A<s.k;A++)e[A]=new Array(s.attributes.length);i=new Array(o.length);for(var p=0;p<o.length;p++)i[p]=new Array(s.k);for(var g=!0,m=0;g&&m<s.maxIterations;)g=!1,ui(e,o,n,i,s),hi(n,r,e,o,s),ii(n,r,s.sensitivityThreshold)||(g=!0),m++;return{clusters:fi(o,n,s,a),degreeOfMembership:n}},Ai={kMeans:ci,kMedoids:li,fuzzyCMeans:di,fcm:di},pi=Qe({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),gi={single:"min",complete:"max"},mi=function(t){var e=pi(t),n=gi[e.linkage];return null!=n&&(e.linkage=n),e},bi=function(t,e,n,r,i){for(var a,o=0,s=1/0,c=i.attributes,l=function(t,e){return Wr(i.distance,c.length,(function(e){return c[e](t)}),(function(t){return c[t](e)}),t,e)},u=0;u<t.length;u++){var h=t[u].key,f=n[h][r[h]];f<s&&(o=h,s=f)}if("threshold"===i.mode&&s>=i.threshold||"dendrogram"===i.mode&&1===t.length)return!1;var d,A=e[o],p=e[r[o]];d="dendrogram"===i.mode?{left:A,right:p,key:A.key}:{value:A.value.concat(p.value),key:A.key},t[A.index]=d,t.splice(p.index,1),e[A.key]=d;for(var g=0;g<t.length;g++){var m=t[g];A.key===m.key?a=1/0:"min"===i.linkage?(a=n[A.key][m.key],n[A.key][m.key]>n[p.key][m.key]&&(a=n[p.key][m.key])):"max"===i.linkage?(a=n[A.key][m.key],n[A.key][m.key]<n[p.key][m.key]&&(a=n[p.key][m.key])):a="mean"===i.linkage?(n[A.key][m.key]*A.size+n[p.key][m.key]*p.size)/(A.size+p.size):"dendrogram"===i.mode?l(m.value,A.value):l(m.value[0],A.value[0]),n[A.key][m.key]=n[m.key][A.key]=a}for(var b=0;b<t.length;b++){var v=t[b].key;if(r[v]===A.key||r[v]===p.key){for(var y=v,w=0;w<t.length;w++){var T=t[w].key;n[v][T]<n[v][y]&&(y=T)}r[v]=y}t[b].index=b}return A.key=p.key=A.index=p.index=null,!0},vi=function t(e,n,r){e&&(e.value?n.push(e.value):(e.left&&t(e.left,n),e.right&&t(e.right,n)))},yi=function t(e,n){if(!e)return"";if(e.left&&e.right){var r=t(e.left,n),i=t(e.right,n),a=n.add({group:"nodes",data:{id:r+","+i}});return n.add({group:"edges",data:{source:r,target:a.id()}}),n.add({group:"edges",data:{source:i,target:a.id()}}),a.id()}return e.value?e.value.id():void 0},wi=function t(e,n,r){if(!e)return[];var i=[],a=[],o=[];return 0===n?(e.left&&vi(e.left,i),e.right&&vi(e.right,a),o=i.concat(a),[r.collection(o)]):1===n?e.value?[r.collection(e.value)]:(e.left&&vi(e.left,i),e.right&&vi(e.right,a),[r.collection(i),r.collection(a)]):e.value?[r.collection(e.value)]:(e.left&&(i=t(e.left,n-1,r)),e.right&&(a=t(e.right,n-1,r)),i.concat(a))},Ti=function(t){for(var e=this.cy(),n=this.nodes(),r=mi(t),i=r.attributes,a=function(t,e){return Wr(r.distance,i.length,(function(e){return i[e](t)}),(function(t){return i[t](e)}),t,e)},o=[],s=[],c=[],l=[],u=0;u<n.length;u++){var h={value:"dendrogram"===r.mode?n[u]:[n[u]],key:u,index:u};o[u]=h,l[u]=h,s[u]=[],c[u]=0}for(var f=0;f<o.length;f++)for(var d=0;d<=f;d++){var A=void 0;A="dendrogram"===r.mode?f===d?1/0:a(o[f].value,o[d].value):f===d?1/0:a(o[f].value[0],o[d].value[0]),s[f][d]=A,s[d][f]=A,A<s[f][c[f]]&&(c[f]=d)}for(var p,g=bi(o,l,s,c,r);g;)g=bi(o,l,s,c,r);return"dendrogram"===r.mode?(p=wi(o[0],r.dendrogramDepth,e),r.addDendrogram&&yi(o[0],e)):(p=new Array(o.length),o.forEach((function(t,n){t.key=t.index=null,p[n]=e.collection(t.value)}))),p},ki={hierarchicalClustering:Ti,hca:Ti},Ci=Qe({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),Ei=function(t){var e=t.damping,n=t.preference;.5<=e&&e<1||Le("Damping must range on [0.5, 1). Got: ".concat(e));var r=["median","mean","min","max"];return r.some((function(t){return t===n}))||C(n)||Le("Preference must be one of [".concat(r.map((function(t){return"'".concat(t,"'")})).join(", "),"] or a number. Got: ").concat(n)),Ci(t)},xi=function(t,e,n,r){var i=function(t,e){return r[e](t)};return-Wr(t,r.length,(function(t){return i(e,t)}),(function(t){return i(n,t)}),e,n)},_i=function(t,e){return"median"===e?Tn(t):"mean"===e?wn(t):"min"===e?vn(t):"max"===e?yn(t):e},Bi=function(t,e,n){for(var r=[],i=0;i<t;i++)e[i*t+i]+n[i*t+i]>0&&r.push(i);return r},Si=function(t,e,n){for(var r=[],i=0;i<t;i++){for(var a=-1,o=-1/0,s=0;s<n.length;s++){var c=n[s];e[i*t+c]>o&&(a=c,o=e[i*t+c])}a>0&&r.push(a)}for(var l=0;l<n.length;l++)r[n[l]]=n[l];return r},Li=function(t,e,n){for(var r=Si(t,e,n),i=0;i<n.length;i++){for(var a=[],o=0;o<r.length;o++)r[o]===n[i]&&a.push(o);for(var s=-1,c=-1/0,l=0;l<a.length;l++){for(var u=0,h=0;h<a.length;h++)u+=e[a[h]*t+a[l]];u>c&&(s=l,c=u)}n[i]=a[s]}return r=Si(t,e,n)},Ii=function(t){for(var e,n,r,i,a,o,s=this.cy(),c=this.nodes(),l=Ei(t),u={},h=0;h<c.length;h++)u[c[h].id()]=h;n=(e=c.length)*e,r=new Array(n);for(var f=0;f<n;f++)r[f]=-1/0;for(var d=0;d<e;d++)for(var A=0;A<e;A++)d!==A&&(r[d*e+A]=xi(l.distance,c[d],c[A],l.attributes));i=_i(r,l.preference);for(var p=0;p<e;p++)r[p*e+p]=i;a=new Array(n);for(var g=0;g<n;g++)a[g]=0;o=new Array(n);for(var m=0;m<n;m++)o[m]=0;for(var b=new Array(e),v=new Array(e),y=new Array(e),w=0;w<e;w++)b[w]=0,v[w]=0,y[w]=0;for(var T,k=new Array(e*l.minIterations),C=0;C<k.length;C++)k[C]=0;for(T=0;T<l.maxIterations;T++){for(var E=0;E<e;E++){for(var x=-1/0,_=-1/0,B=-1,S=0,L=0;L<e;L++)b[L]=a[E*e+L],(S=o[E*e+L]+r[E*e+L])>=x?(_=x,x=S,B=L):S>_&&(_=S);for(var I=0;I<e;I++)a[E*e+I]=(1-l.damping)*(r[E*e+I]-x)+l.damping*b[I];a[E*e+B]=(1-l.damping)*(r[E*e+B]-_)+l.damping*b[B]}for(var M=0;M<e;M++){for(var O=0,N=0;N<e;N++)b[N]=o[N*e+M],v[N]=Math.max(0,a[N*e+M]),O+=v[N];O-=v[M],v[M]=a[M*e+M],O+=v[M];for(var D=0;D<e;D++)o[D*e+M]=(1-l.damping)*Math.min(0,O-v[D])+l.damping*b[D];o[M*e+M]=(1-l.damping)*(O-v[M])+l.damping*b[M]}for(var F=0,P=0;P<e;P++){var R=o[P*e+P]+a[P*e+P]>0?1:0;k[T%l.minIterations*e+P]=R,F+=R}if(F>0&&(T>=l.minIterations-1||T==l.maxIterations-1)){for(var Q=0,U=0;U<e;U++){y[U]=0;for(var H=0;H<l.minIterations;H++)y[U]+=k[H*e+U];0!==y[U]&&y[U]!==l.minIterations||Q++}if(Q===e)break}}for(var j=Bi(e,a,o),$=Li(e,r,j),K={},G=0;G<j.length;G++)K[j[G]]=[];for(var z=0;z<c.length;z++){var X=$[u[c[z].id()]];null!=X&&K[X].push(c[z])}for(var q=new Array(j.length),V=0;V<j.length;V++)q[V]=s.collection(K[j[V]]);return q},Mi={affinityPropagation:Ii,ap:Ii},Oi=Qe({root:void 0,directed:!1}),Ni={hierholzer:function(t){if(!T(t)){var e=arguments;t={root:e[0],directed:e[1]}}var n,r,i,a=Oi(t),o=a.root,s=a.directed,c=this,l=!1;o&&(i=v(o)?this.filter(o)[0].id():o[0].id());var u={},h={};s?c.forEach((function(t){var e=t.id();if(t.isNode()){var i=t.indegree(!0),a=t.outdegree(!0),o=i-a,s=a-i;1==o?n?l=!0:n=e:1==s?r?l=!0:r=e:(s>1||o>1)&&(l=!0),u[e]=[],t.outgoers().forEach((function(t){t.isEdge()&&u[e].push(t.id())}))}else h[e]=[void 0,t.target().id()]})):c.forEach((function(t){var e=t.id();t.isNode()?(t.degree(!0)%2&&(n?r?l=!0:r=e:n=e),u[e]=[],t.connectedEdges().forEach((function(t){return u[e].push(t.id())}))):h[e]=[t.source().id(),t.target().id()]}));var f={found:!1,trail:void 0};if(l)return f;if(r&&n)if(s){if(i&&r!=i)return f;i=r}else{if(i&&r!=i&&n!=i)return f;i||(i=r)}else i||(i=c[0].id());var d=function(t){for(var e,n,r,i=t,a=[t];u[i].length;)e=u[i].shift(),n=h[e][0],i!=(r=h[e][1])?(u[r]=u[r].filter((function(t){return t!=e})),i=r):s||i==n||(u[n]=u[n].filter((function(t){return t!=e})),i=n),a.unshift(e),a.unshift(i);return a},A=[],p=[];for(p=d(i);1!=p.length;)0==u[p[0]].length?(A.unshift(c.getElementById(p.shift())),A.unshift(c.getElementById(p.shift()))):p=d(p.shift()).concat(p);for(var g in A.unshift(c.getElementById(p.shift())),u)if(u[g].length)return f;return f.found=!0,f.trail=this.spawn(A,!0),f}},Di=function(){var t=this,e={},n=0,r=0,i=[],a=[],o={},s=function(n,r){for(var o=a.length-1,s=[],c=t.spawn();a[o].x!=n||a[o].y!=r;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(t);c.merge(n),r.forEach((function(n){var r=n.id(),i=n.connectedEdges().intersection(t);c.merge(n),e[r].cutVertex?c.merge(i.filter((function(t){return t.isLoop()}))):c.merge(i)}))})),i.push(c)},c=function c(l,u,h){l===h&&(r+=1),e[u]={id:n,low:n++,cutVertex:!1};var f,d,A,p,g=t.getElementById(u).connectedEdges().intersection(t);0===g.size()?i.push(t.spawn(t.getElementById(u))):g.forEach((function(t){f=t.source().id(),d=t.target().id(),(A=f===u?d:f)!==h&&(p=t.id(),o[p]||(o[p]=!0,a.push({x:u,y:A,edge:t})),A in e?e[u].low=Math.min(e[u].low,e[A].id):(c(l,A,u),e[u].low=Math.min(e[u].low,e[A].low),e[u].id<=e[A].low&&(e[u].cutVertex=!0,s(u,A))))}))};t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||(r=0,c(n,n),e[n].cutVertex=r>1)}}));var l=Object.keys(e).filter((function(t){return e[t].cutVertex})).map((function(e){return t.getElementById(e)}));return{cut:t.spawn(l),components:i}},Fi=function(){var t=this,e={},n=0,r=[],i=[],a=t.spawn(t),o=function o(s){if(i.push(s),e[s]={index:n,low:n++,explored:!1},t.getElementById(s).connectedEdges().intersection(t).forEach((function(t){var n=t.target().id();n!==s&&(n in e||o(n),e[n].explored||(e[s].low=Math.min(e[s].low,e[n].low)))})),e[s].index===e[s].low){for(var c=t.spawn();;){var l=i.pop();if(c.merge(t.getElementById(l)),e[l].low=e[s].index,e[l].explored=!0,l===s)break}var u=c.edgesWith(c),h=c.merge(u);r.push(h),a=a.difference(h)}};return t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||o(n)}})),{cut:a,components:r}},Pi={};[Je,nn,rn,on,cn,un,An,wr,kr,Er,_r,Hr,Ai,ki,Mi,Ni,{hopcroftTarjanBiconnected:Di,htbc:Di,htb:Di,hopcroftTarjanBiconnectedComponents:Di},{tarjanStronglyConnected:Fi,tsc:Fi,tscc:Fi,tarjanStronglyConnectedComponents:Fi}].forEach((function(t){J(Pi,t)}));var Ri=0,Qi=1,Ui=2,Hi=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Ri,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};Hi.prototype={fulfill:function(t){return ji(this,Qi,"fulfillValue",t)},reject:function(t){return ji(this,Ui,"rejectReason",t)},then:function(t,e){var n=this,r=new Hi;return n.onFulfilled.push(Gi(t,r,"fulfill")),n.onRejected.push(Gi(e,r,"reject")),$i(n),r.proxy}};var ji=function(t,e,n,r){return t.state===Ri&&(t.state=e,t[n]=r,$i(t)),t},$i=function(t){t.state===Qi?Ki(t,"onFulfilled",t.fulfillValue):t.state===Ui&&Ki(t,"onRejected",t.rejectReason)},Ki=function(t,e,n){if(0!==t[e].length){var r=t[e];t[e]=[];var i=function(){for(var t=0;t<r.length;t++)r[t](n)};"function"==typeof setImmediate?setImmediate(i):setTimeout(i,0)}},Gi=function(t,e,n){return function(r){if("function"!=typeof t)e[n].call(e,r);else{var i;try{i=t(r)}catch(t){return void e.reject(t)}zi(e,i)}}},zi=function e(n,r){if(n!==r&&n.proxy!==r){var i;if("object"===t(r)&&null!==r||"function"==typeof r)try{i=r.then}catch(t){return void n.reject(t)}if("function"!=typeof i)n.fulfill(r);else{var a=!1;try{i.call(r,(function(t){a||(a=!0,t===r?n.reject(new TypeError("circular thenable chain")):e(n,t))}),(function(t){a||(a=!0,n.reject(t))}))}catch(t){a||n.reject(t)}}}else n.reject(new TypeError("cannot resolve promise with itself"))};Hi.all=function(t){return new Hi((function(e,n){for(var r=new Array(t.length),i=0,a=function(n,a){r[n]=a,++i===t.length&&e(r)},o=0;o<t.length;o++)!function(e){var r=t[e];null!=r&&null!=r.then?r.then((function(t){a(e,t)}),(function(t){n(t)})):a(e,r)}(o)}))},Hi.resolve=function(t){return new Hi((function(e,n){e(t)}))},Hi.reject=function(t){return new Hi((function(e,n){n(t)}))};var Xi="undefined"!=typeof Promise?Promise:Hi,qi=function(t,e,n){var r=L(t),i=!r,a=this._private=J({duration:1e3},e,n);if(a.target=t,a.style=a.style||a.css,a.started=!1,a.playing=!1,a.hooked=!1,a.applying=!1,a.progress=0,a.completes=[],a.frames=[],a.complete&&y(a.complete)&&a.completes.push(a.complete),i){var o=t.position();a.startPosition=a.startPosition||{x:o.x,y:o.y},a.startStyle=a.startStyle||t.cy().style().getAnimationStartStyle(t,a.style)}if(r){var s=t.pan();a.startPan={x:s.x,y:s.y},a.startZoom=t.zoom()}this.length=1,this[0]=this},Vi=qi.prototype;J(Vi,{instanceString:function(){return"animation"},hook:function(){var t=this._private;if(!t.hooked){var e=t.target._private.animation;(t.queue?e.queue:e.current).push(this),_(t.target)&&t.target.cy().addToAnimationPool(t.target),t.hooked=!0}return this},play:function(){var t=this._private;return 1===t.progress&&(t.progress=0),t.playing=!0,t.started=!1,t.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var t=this._private;return t.applying=!0,t.started=!1,t.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var t=this._private;return t.playing=!1,t.started=!1,this},stop:function(){var t=this._private;return t.playing=!1,t.started=!1,t.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(t){var e=this._private;return void 0===t?e.progress*e.duration:this.progress(t/e.duration)},progress:function(t){var e=this._private,n=e.playing;return void 0===t?e.progress:(n&&this.pause(),e.progress=t,e.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var t=this._private,e=t.playing;e&&this.pause(),t.progress=1-t.progress,t.started=!1;var n=function(e,n){var r=t[e];null!=r&&(t[e]=t[n],t[n]=r)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),t.style)for(var r=0;r<t.style.length;r++){var i=t.style[r],a=i.name,o=t.startStyle[a];t.startStyle[a]=i,t.style[r]=o}return e&&this.play(),this},promise:function(t){var e,n=this._private;return e="frame"===t?n.frames:n.completes,new Xi((function(t,n){e.push((function(){t()}))}))}}),Vi.complete=Vi.completed,Vi.run=Vi.play,Vi.running=Vi.playing;var Wi={animated:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return!1;var n=e[0];return n?n._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n<e.length;n++)e[n]._private.animation.queue=[];return this}},delay:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animate({delay:t,duration:t,complete:e}):this}},delayAnimation:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animation({delay:t,duration:t,complete:e}):this}},animation:function(){return function(t,e){var n=this,r=void 0!==n.length,i=r?n:[n],a=this._private.cy||this,o=!r,s=!o;if(!a.styleEnabled())return this;var c=a.style();if(t=J({},t,e),0===Object.keys(t).length)return new qi(i[0],t);switch(void 0===t.duration&&(t.duration=400),t.duration){case"slow":t.duration=600;break;case"fast":t.duration=200}if(s&&(t.style=c.getPropsList(t.style||t.css),t.css=void 0),s&&null!=t.renderedPosition){var l=t.renderedPosition,u=a.pan(),h=a.zoom();t.position=mn(l,h,u)}if(o&&null!=t.panBy){var f=t.panBy,d=a.pan();t.pan={x:d.x+f.x,y:d.y+f.y}}var A=t.center||t.centre;if(o&&null!=A){var p=a.getCenterPan(A.eles,t.zoom);null!=p&&(t.pan=p)}if(o&&null!=t.fit){var g=t.fit,m=a.getFitViewport(g.eles||g.boundingBox,g.padding);null!=m&&(t.pan=m.pan,t.zoom=m.zoom)}if(o&&T(t.zoom)){var b=a.getZoomedViewport(t.zoom);null!=b?(b.zoomed&&(t.zoom=b.zoom),b.panned&&(t.pan=b.pan)):t.zoom=null}return new qi(i[0],t)}},animate:function(){return function(t,e){var n=this,r=void 0!==n.length?n:[n];if(!(this._private.cy||this).styleEnabled())return this;e&&(t=J({},t,e));for(var i=0;i<r.length;i++){var a=r[i],o=a.animated()&&(void 0===t.queue||t.queue);a.animation(t,o?{queue:!0}:void 0).play()}return this}},stop:function(){return function(t,e){var n=this,r=void 0!==n.length?n:[n],i=this._private.cy||this;if(!i.styleEnabled())return this;for(var a=0;a<r.length;a++){for(var o=r[a]._private,s=o.animation.current,c=0;c<s.length;c++){var l=s[c]._private;e&&(l.duration=0)}t&&(o.animation.queue=[]),e||(o.animation.current=[])}return i.notify("draw"),this}}},Yi=Array.isArray,Ji=Yi,Zi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ta=/^\w*$/;function ea(t,e){if(Ji(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Gt(t))||ta.test(t)||!Zi.test(t)||null!=e&&t in Object(e)}var na=ea,ra="[object AsyncFunction]",ia="[object Function]",aa="[object GeneratorFunction]",oa="[object Proxy]";function sa(t){if(!ct(t))return!1;var e=Ut(t);return e==ia||e==aa||e==ra||e==oa}var ca=sa,la=pt["__core-js_shared__"],ua=la,ha=function(){var t=/[^.]+$/.exec(ua&&ua.keys&&ua.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function fa(t){return!!ha&&ha in t}var da=fa,Aa=Function.prototype,pa=Aa.toString;function ga(t){if(null!=t){try{return pa.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var ma=ga,ba=/[\\^$.*+?()[\]{}|]/g,va=/^\[object .+?Constructor\]$/,ya=Function.prototype,wa=Object.prototype,Ta=ya.toString,ka=wa.hasOwnProperty,Ca=RegExp("^"+Ta.call(ka).replace(ba,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ea(t){return!(!ct(t)||da(t))&&(ca(t)?Ca:va).test(ma(t))}var xa=Ea;function _a(t,e){return null==t?void 0:t[e]}var Ba=_a;function Sa(t,e){var n=Ba(t,e);return xa(n)?n:void 0}var La=Sa,Ia=La(Object,"create"),Ma=Ia;function Oa(){this.__data__=Ma?Ma(null):{},this.size=0}var Na=Oa;function Da(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Fa=Da,Pa="__lodash_hash_undefined__",Ra=Object.prototype,Qa=Ra.hasOwnProperty;function Ua(t){var e=this.__data__;if(Ma){var n=e[t];return n===Pa?void 0:n}return Qa.call(e,t)?e[t]:void 0}var Ha=Ua,ja=Object.prototype,$a=ja.hasOwnProperty;function Ka(t){var e=this.__data__;return Ma?void 0!==e[t]:$a.call(e,t)}var Ga=Ka,za="__lodash_hash_undefined__";function Xa(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ma&&void 0===e?za:e,this}var qa=Xa;function Va(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Va.prototype.clear=Na,Va.prototype.delete=Fa,Va.prototype.get=Ha,Va.prototype.has=Ga,Va.prototype.set=qa;var Wa=Va;function Ya(){this.__data__=[],this.size=0}var Ja=Ya;function Za(t,e){return t===e||t!=t&&e!=e}var to=Za;function eo(t,e){for(var n=t.length;n--;)if(to(t[n][0],e))return n;return-1}var no=eo,ro=Array.prototype,io=ro.splice;function ao(t){var e=this.__data__,n=no(e,t);return!(n<0||(n==e.length-1?e.pop():io.call(e,n,1),--this.size,0))}var oo=ao;function so(t){var e=this.__data__,n=no(e,t);return n<0?void 0:e[n][1]}var co=so;function lo(t){return no(this.__data__,t)>-1}var uo=lo;function ho(t,e){var n=this.__data__,r=no(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var fo=ho;function Ao(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ao.prototype.clear=Ja,Ao.prototype.delete=oo,Ao.prototype.get=co,Ao.prototype.has=uo,Ao.prototype.set=fo;var po=Ao,go=La(pt,"Map"),mo=go;function bo(){this.size=0,this.__data__={hash:new Wa,map:new(mo||po),string:new Wa}}var vo=bo;function yo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}var wo=yo;function To(t,e){var n=t.__data__;return wo(e)?n["string"==typeof e?"string":"hash"]:n.map}var ko=To;function Co(t){var e=ko(this,t).delete(t);return this.size-=e?1:0,e}var Eo=Co;function xo(t){return ko(this,t).get(t)}var _o=xo;function Bo(t){return ko(this,t).has(t)}var So=Bo;function Lo(t,e){var n=ko(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var Io=Lo;function Mo(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Mo.prototype.clear=vo,Mo.prototype.delete=Eo,Mo.prototype.get=_o,Mo.prototype.has=So,Mo.prototype.set=Io;var Oo=Mo,No="Expected a function";function Do(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(No);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=t.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Do.Cache||Oo),n}Do.Cache=Oo;var Fo=Do,Po=500;function Ro(t){var e=Fo(t,(function(t){return n.size===Po&&n.clear(),t})),n=e.cache;return e}var Qo=Ro,Uo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ho=/\\(\\)?/g,jo=Qo((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Uo,(function(t,n,r,i){e.push(r?i.replace(Ho,"$1"):n||t)})),e})),$o=jo;function Ko(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var Go=Ko,zo=1/0,Xo=Et?Et.prototype:void 0,qo=Xo?Xo.toString:void 0;function Vo(t){if("string"==typeof t)return t;if(Ji(t))return Go(t,Vo)+"";if(Gt(t))return qo?qo.call(t):"";var e=t+"";return"0"==e&&1/t==-zo?"-0":e}var Wo=Vo;function Yo(t){return null==t?"":Wo(t)}var Jo=Yo;function Zo(t,e){return Ji(t)?t:na(t,e)?[t]:$o(Jo(t))}var ts=Zo,es=1/0;function ns(t){if("string"==typeof t||Gt(t))return t;var e=t+"";return"0"==e&&1/t==-es?"-0":e}var rs=ns;function is(t,e){for(var n=0,r=(e=ts(e,t)).length;null!=t&&n<r;)t=t[rs(e[n++])];return n&&n==r?t:void 0}var as=is;function os(t,e,n){var r=null==t?void 0:as(t,e);return void 0===r?n:r}var ss=os,cs=function(){try{var t=La(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),ls=cs;function us(t,e,n){"__proto__"==e&&ls?ls(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var hs=us,fs=Object.prototype,ds=fs.hasOwnProperty;function As(t,e,n){var r=t[e];ds.call(t,e)&&to(r,n)&&(void 0!==n||e in t)||hs(t,e,n)}var ps=As,gs=9007199254740991,ms=/^(?:0|[1-9]\d*)$/;function bs(t,e){var n=typeof t;return!!(e=null==e?gs:e)&&("number"==n||"symbol"!=n&&ms.test(t))&&t>-1&&t%1==0&&t<e}var vs=bs;function ys(t,e,n,r){if(!ct(t))return t;for(var i=-1,a=(e=ts(e,t)).length,o=a-1,s=t;null!=s&&++i<a;){var c=rs(e[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=o){var u=s[c];void 0===(l=r?r(u,c,s):void 0)&&(l=ct(u)?u:vs(e[i+1])?[]:{})}ps(s,c,l),s=s[c]}return t}var ws=ys;function Ts(t,e,n){return null==t?t:ws(t,e,n)}var ks=Ts;function Cs(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var Es=Cs;function xs(t){return Ji(t)?Go(t,rs):Gt(t)?[t]:Es($o(Jo(t)))}var _s=xs,Bs={data:function(t){return t=J({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(t){},beforeSet:function(t,e){},onSet:function(t){},canSet:function(t){return!0}},t),function(e,n){var r=t,i=this,o=void 0!==i.length,s=o?i:[i],c=o?i[0]:i;if(v(e)){var l,u=-1!==e.indexOf(".")&&_s(e);if(r.allowGetting&&void 0===n)return c&&(r.beforeGet(c),l=u&&void 0===c._private[r.field][e]?ss(c._private[r.field],u):c._private[r.field][e]),l;if(r.allowSetting&&void 0!==n&&!r.immutableKeys[e]){var h=a({},e,n);r.beforeSet(i,h);for(var f=0,d=s.length;f<d;f++){var A=s[f];r.canSet(A)&&(u&&void 0===c._private[r.field][e]?ks(A._private[r.field],u,n):A._private[r.field][e]=n)}r.updateStyle&&i.updateStyle(),r.onSet(i),r.settingTriggersEvent&&i[r.triggerFnName](r.settingEvent)}}else if(r.allowSetting&&T(e)){var p,g,m=e,b=Object.keys(m);r.beforeSet(i,m);for(var w=0;w<b.length;w++)if(g=m[p=b[w]],!r.immutableKeys[p])for(var k=0;k<s.length;k++){var C=s[k];r.canSet(C)&&(C._private[r.field][p]=g)}r.updateStyle&&i.updateStyle(),r.onSet(i),r.settingTriggersEvent&&i[r.triggerFnName](r.settingEvent)}else if(r.allowBinding&&y(e)){var E=e;i.on(r.bindingEvent,E)}else if(r.allowGetting&&void 0===e){var x;return c&&(r.beforeGet(c),x=c._private[r.field]),x}return i}},removeData:function(t){return t=J({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},t),function(e){var n=t,r=this,i=void 0!==r.length?r:[r];if(v(e)){for(var a=e.split(/\s+/),o=a.length,s=0;s<o;s++){var c=a[s];if(!O(c)&&!n.immutableKeys[c])for(var l=0,u=i.length;l<u;l++)i[l]._private[n.field][c]=void 0}n.triggerEvent&&r[n.triggerFnName](n.event)}else if(void 0===e){for(var h=0,f=i.length;h<f;h++)for(var d=i[h]._private[n.field],A=Object.keys(d),p=0;p<A.length;p++){var g=A[p];!n.immutableKeys[g]&&(d[g]=void 0)}n.triggerEvent&&r[n.triggerFnName](n.event)}return r}}},Ss={eventAliasesOn:function(t){var e=t;e.addListener=e.listen=e.bind=e.on,e.unlisten=e.unbind=e.off=e.removeListener,e.trigger=e.emit,e.pon=e.promiseOn=function(t,e){var n=this,r=Array.prototype.slice.call(arguments,0);return new Xi((function(t,e){var i=function(e){n.off.apply(n,o),t(e)},a=r.concat([i]),o=a.concat([]);n.on.apply(n,a)}))}}},Ls={};[Wi,Bs,Ss].forEach((function(t){J(Ls,t)}));var Is={animate:Ls.animate(),animation:Ls.animation(),animated:Ls.animated(),clearQueue:Ls.clearQueue(),delay:Ls.delay(),delayAnimation:Ls.delayAnimation(),stop:Ls.stop()},Ms={classes:function(t){var e=this;if(void 0===t){var n=[];return e[0]._private.classes.forEach((function(t){return n.push(t)})),n}w(t)||(t=(t||"").match(/\S+/g)||[]);for(var r=[],i=new Ve(t),a=0;a<e.length;a++){for(var o=e[a],s=o._private,c=s.classes,l=!1,u=0;u<t.length;u++){var h=t[u];if(!c.has(h)){l=!0;break}}l||(l=c.size!==t.length),l&&(s.classes=i,r.push(o))}return r.length>0&&this.spawn(r).updateStyle().emit("class"),e},addClass:function(t){return this.toggleClass(t,!0)},hasClass:function(t){var e=this[0];return null!=e&&e._private.classes.has(t)},toggleClass:function(t,e){w(t)||(t=t.match(/\S+/g)||[]);for(var n=this,r=void 0===e,i=[],a=0,o=n.length;a<o;a++)for(var s=n[a],c=s._private.classes,l=!1,u=0;u<t.length;u++){var h=t[u],f=c.has(h),d=!1;e||r&&!f?(c.add(h),d=!0):(!e||r&&f)&&(c.delete(h),d=!0),!l&&d&&(i.push(s),l=!0)}return i.length>0&&this.spawn(i).updateStyle().emit("class"),n},removeClass:function(t){return this.toggleClass(t,!1)},flashClass:function(t,e){var n=this;if(null==e)e=250;else if(0===e)return n;return n.addClass(t),setTimeout((function(){n.removeClass(t)}),e),n}};Ms.className=Ms.classNames=Ms.classes;var Os={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:$,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Os.variable="(?:[\\w-.]|(?:\\\\"+Os.metaChar+"))+",Os.className="(?:[\\w-]|(?:\\\\"+Os.metaChar+"))+",Os.value=Os.string+"|"+Os.number,Os.id=Os.variable,function(){var t,e,n;for(t=Os.comparatorOp.split("|"),n=0;n<t.length;n++)e=t[n],Os.comparatorOp+="|@"+e;for(t=Os.comparatorOp.split("|"),n=0;n<t.length;n++)(e=t[n]).indexOf("!")>=0||"="!==e&&(Os.comparatorOp+="|\\!"+e)}();var Ns=function(){return{checks:[]}},Ds={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},Fs=[{selector:":selected",matches:function(t){return t.selected()}},{selector:":unselected",matches:function(t){return!t.selected()}},{selector:":selectable",matches:function(t){return t.selectable()}},{selector:":unselectable",matches:function(t){return!t.selectable()}},{selector:":locked",matches:function(t){return t.locked()}},{selector:":unlocked",matches:function(t){return!t.locked()}},{selector:":visible",matches:function(t){return t.visible()}},{selector:":hidden",matches:function(t){return!t.visible()}},{selector:":transparent",matches:function(t){return t.transparent()}},{selector:":grabbed",matches:function(t){return t.grabbed()}},{selector:":free",matches:function(t){return!t.grabbed()}},{selector:":removed",matches:function(t){return t.removed()}},{selector:":inside",matches:function(t){return!t.removed()}},{selector:":grabbable",matches:function(t){return t.grabbable()}},{selector:":ungrabbable",matches:function(t){return!t.grabbable()}},{selector:":animated",matches:function(t){return t.animated()}},{selector:":unanimated",matches:function(t){return!t.animated()}},{selector:":parent",matches:function(t){return t.isParent()}},{selector:":childless",matches:function(t){return t.isChildless()}},{selector:":child",matches:function(t){return t.isChild()}},{selector:":orphan",matches:function(t){return t.isOrphan()}},{selector:":nonorphan",matches:function(t){return t.isChild()}},{selector:":compound",matches:function(t){return t.isNode()?t.isParent():t.source().isParent()||t.target().isParent()}},{selector:":loop",matches:function(t){return t.isLoop()}},{selector:":simple",matches:function(t){return t.isSimple()}},{selector:":active",matches:function(t){return t.active()}},{selector:":inactive",matches:function(t){return!t.active()}},{selector:":backgrounding",matches:function(t){return t.backgrounding()}},{selector:":nonbackgrounding",matches:function(t){return!t.backgrounding()}}].sort((function(t,e){return Y(t.selector,e.selector)})),Ps=function(){for(var t,e={},n=0;n<Fs.length;n++)e[(t=Fs[n]).selector]=t.matches;return e}(),Rs=function(t,e){return Ps[t](e)},Qs="("+Fs.map((function(t){return t.selector})).join("|")+")",Us=function(t){return t.replace(new RegExp("\\\\("+Os.metaChar+")","g"),(function(t,e){return e}))},Hs=function(t,e,n){t[t.length-1]=n},js=[{name:"group",query:!0,regex:"("+Os.group+")",populate:function(t,e,n){var r=o(n,1)[0];e.checks.push({type:Ds.GROUP,value:"*"===r?r:r+"s"})}},{name:"state",query:!0,regex:Qs,populate:function(t,e,n){var r=o(n,1)[0];e.checks.push({type:Ds.STATE,value:r})}},{name:"id",query:!0,regex:"\\#("+Os.id+")",populate:function(t,e,n){var r=o(n,1)[0];e.checks.push({type:Ds.ID,value:Us(r)})}},{name:"className",query:!0,regex:"\\.("+Os.className+")",populate:function(t,e,n){var r=o(n,1)[0];e.checks.push({type:Ds.CLASS,value:Us(r)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+Os.variable+")\\s*\\]",populate:function(t,e,n){var r=o(n,1)[0];e.checks.push({type:Ds.DATA_EXIST,field:Us(r)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+Os.variable+")\\s*("+Os.comparatorOp+")\\s*("+Os.value+")\\s*\\]",populate:function(t,e,n){var r=o(n,3),i=r[0],a=r[1],s=r[2];s=null!=new RegExp("^"+Os.string+"$").exec(s)?s.substring(1,s.length-1):parseFloat(s),e.checks.push({type:Ds.DATA_COMPARE,field:Us(i),operator:a,value:s})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+Os.boolOp+")\\s*("+Os.variable+")\\s*\\]",populate:function(t,e,n){var r=o(n,2),i=r[0],a=r[1];e.checks.push({type:Ds.DATA_BOOL,field:Us(a),operator:i})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+Os.meta+")\\s*("+Os.comparatorOp+")\\s*("+Os.number+")\\s*\\]\\]",populate:function(t,e,n){var r=o(n,3),i=r[0],a=r[1],s=r[2];e.checks.push({type:Ds.META_COMPARE,field:Us(i),operator:a,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:Os.separator,populate:function(t,e){var n=t.currentSubject,r=t.edgeCount,i=t.compoundCount,a=t[t.length-1];return null!=n&&(a.subject=n,t.currentSubject=null),a.edgeCount=r,a.compoundCount=i,t.edgeCount=0,t.compoundCount=0,t[t.length++]=Ns()}},{name:"directedEdge",separator:!0,regex:Os.directedEdge,populate:function(t,e){if(null==t.currentSubject){var n=Ns(),r=e,i=Ns();return n.checks.push({type:Ds.DIRECTED_EDGE,source:r,target:i}),Hs(t,e,n),t.edgeCount++,i}var a=Ns(),o=e,s=Ns();return a.checks.push({type:Ds.NODE_SOURCE,source:o,target:s}),Hs(t,e,a),t.edgeCount++,s}},{name:"undirectedEdge",separator:!0,regex:Os.undirectedEdge,populate:function(t,e){if(null==t.currentSubject){var n=Ns(),r=e,i=Ns();return n.checks.push({type:Ds.UNDIRECTED_EDGE,nodes:[r,i]}),Hs(t,e,n),t.edgeCount++,i}var a=Ns(),o=e,s=Ns();return a.checks.push({type:Ds.NODE_NEIGHBOR,node:o,neighbor:s}),Hs(t,e,a),s}},{name:"child",separator:!0,regex:Os.child,populate:function(t,e){if(null==t.currentSubject){var n=Ns(),r=Ns(),i=t[t.length-1];return n.checks.push({type:Ds.CHILD,parent:i,child:r}),Hs(t,e,n),t.compoundCount++,r}if(t.currentSubject===e){var a=Ns(),o=t[t.length-1],s=Ns(),c=Ns(),l=Ns(),u=Ns();return a.checks.push({type:Ds.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:Ds.TRUE}],u.checks.push({type:Ds.TRUE}),s.checks.push({type:Ds.PARENT,parent:u,child:l}),Hs(t,o,a),t.currentSubject=c,t.compoundCount++,l}var h=Ns(),f=Ns(),d=[{type:Ds.PARENT,parent:h,child:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"descendant",separator:!0,regex:Os.descendant,populate:function(t,e){if(null==t.currentSubject){var n=Ns(),r=Ns(),i=t[t.length-1];return n.checks.push({type:Ds.DESCENDANT,ancestor:i,descendant:r}),Hs(t,e,n),t.compoundCount++,r}if(t.currentSubject===e){var a=Ns(),o=t[t.length-1],s=Ns(),c=Ns(),l=Ns(),u=Ns();return a.checks.push({type:Ds.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:Ds.TRUE}],u.checks.push({type:Ds.TRUE}),s.checks.push({type:Ds.ANCESTOR,ancestor:u,descendant:l}),Hs(t,o,a),t.currentSubject=c,t.compoundCount++,l}var h=Ns(),f=Ns(),d=[{type:Ds.ANCESTOR,ancestor:h,descendant:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"subject",modifier:!0,regex:Os.subject,populate:function(t,e){if(null!=t.currentSubject&&t.currentSubject!==e)return Me("Redefinition of subject in selector `"+t.toString()+"`"),!1;t.currentSubject=e;var n=t[t.length-1].checks[0],r=null==n?null:n.type;r===Ds.DIRECTED_EDGE?n.type=Ds.NODE_TARGET:r===Ds.UNDIRECTED_EDGE&&(n.type=Ds.NODE_NEIGHBOR,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null)}}];js.forEach((function(t){return t.regexObj=new RegExp("^"+t.regex)}));var $s=function(t){for(var e,n,r,i=0;i<js.length;i++){var a=js[i],o=a.name,s=t.match(a.regexObj);if(null!=s){n=s,e=a,r=o;var c=s[0];t=t.substring(c.length);break}}return{expr:e,match:n,name:r,remaining:t}},Ks=function(t){var e=t.match(/^\s+/);if(e){var n=e[0];t=t.substring(n.length)}return t},Gs=function(t){var e=this,n=e.inputText=t,r=e[0]=Ns();for(e.length=1,n=Ks(n);;){var i=$s(n);if(null==i.expr)return Me("The selector `"+t+"`is invalid"),!1;var a=i.match.slice(1),o=i.expr.populate(e,r,a);if(!1===o)return!1;if(null!=o&&(r=o),(n=i.remaining).match(/^\s*$/))break}var s=e[e.length-1];null!=e.currentSubject&&(s.subject=e.currentSubject),s.edgeCount=e.edgeCount,s.compoundCount=e.compoundCount;for(var c=0;c<e.length;c++){var l=e[c];if(l.compoundCount>0&&l.edgeCount>0)return Me("The selector `"+t+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return Me("The selector `"+t+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&Me("The selector `"+t+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},zs=function(){if(null!=this.toStringCache)return this.toStringCache;for(var t=function(t){return null==t?"":t},e=function(e){return v(e)?'"'+e+'"':t(e)},n=function(t){return" "+t+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case Ds.GROUP:var c=t(s);return c.substring(0,c.length-1);case Ds.DATA_COMPARE:var l=r.field,u=r.operator;return"["+l+n(t(u))+e(s)+"]";case Ds.DATA_BOOL:var h=r.operator,f=r.field;return"["+t(h)+f+"]";case Ds.DATA_EXIST:return"["+r.field+"]";case Ds.META_COMPARE:var d=r.operator;return"[["+r.field+n(t(d))+e(s)+"]]";case Ds.STATE:return s;case Ds.ID:return"#"+s;case Ds.CLASS:return"."+s;case Ds.PARENT:case Ds.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case Ds.ANCESTOR:case Ds.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case Ds.COMPOUND_SPLIT:var A=i(r.left,a),p=i(r.subject,a),g=i(r.right,a);return A+(A.length>0?" ":"")+p+g;case Ds.TRUE:return""}},i=function(t,e){return t.checks.reduce((function(n,i,a){return n+(e===t&&0===a?"$":"")+r(i,e)}),"")},a="",o=0;o<this.length;o++){var s=this[o];a+=i(s,s.subject),this.length>1&&o<this.length-1&&(a+=", ")}return this.toStringCache=a,a},Xs={parse:Gs,toString:zs},qs=function(t,e,n){var r,i,a,o=v(t),s=C(t),c=v(n),l=!1,u=!1,h=!1;switch(e.indexOf("!")>=0&&(e=e.replace("!",""),u=!0),e.indexOf("@")>=0&&(e=e.replace("@",""),l=!0),(o||c||l)&&(i=o||s?""+t:"",a=""+n),l&&(t=i=i.toLowerCase(),n=a=a.toLowerCase()),e){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=t===n;break;case">":h=!0,r=t>n;break;case">=":h=!0,r=t>=n;break;case"<":h=!0,r=t<n;break;case"<=":h=!0,r=t<=n;break;default:r=!1}return!u||null==t&&h||(r=!r),r},Vs=function(t,e){switch(e){case"?":return!!t;case"!":return!t;case"^":return void 0===t}},Ws=function(t){return void 0!==t},Ys=function(t,e){return t.data(e)},Js=function(t,e){return t[e]()},Zs=[],tc=function(t,e){return t.checks.every((function(t){return Zs[t.type](t,e)}))};Zs[Ds.GROUP]=function(t,e){var n=t.value;return"*"===n||n===e.group()},Zs[Ds.STATE]=function(t,e){var n=t.value;return Rs(n,e)},Zs[Ds.ID]=function(t,e){var n=t.value;return e.id()===n},Zs[Ds.CLASS]=function(t,e){var n=t.value;return e.hasClass(n)},Zs[Ds.META_COMPARE]=function(t,e){var n=t.field,r=t.operator,i=t.value;return qs(Js(e,n),r,i)},Zs[Ds.DATA_COMPARE]=function(t,e){var n=t.field,r=t.operator,i=t.value;return qs(Ys(e,n),r,i)},Zs[Ds.DATA_BOOL]=function(t,e){var n=t.field,r=t.operator;return Vs(Ys(e,n),r)},Zs[Ds.DATA_EXIST]=function(t,e){var n=t.field;return t.operator,Ws(Ys(e,n))},Zs[Ds.UNDIRECTED_EDGE]=function(t,e){var n=t.nodes[0],r=t.nodes[1],i=e.source(),a=e.target();return tc(n,i)&&tc(r,a)||tc(r,i)&&tc(n,a)},Zs[Ds.NODE_NEIGHBOR]=function(t,e){return tc(t.node,e)&&e.neighborhood().some((function(e){return e.isNode()&&tc(t.neighbor,e)}))},Zs[Ds.DIRECTED_EDGE]=function(t,e){return tc(t.source,e.source())&&tc(t.target,e.target())},Zs[Ds.NODE_SOURCE]=function(t,e){return tc(t.source,e)&&e.outgoers().some((function(e){return e.isNode()&&tc(t.target,e)}))},Zs[Ds.NODE_TARGET]=function(t,e){return tc(t.target,e)&&e.incomers().some((function(e){return e.isNode()&&tc(t.source,e)}))},Zs[Ds.CHILD]=function(t,e){return tc(t.child,e)&&tc(t.parent,e.parent())},Zs[Ds.PARENT]=function(t,e){return tc(t.parent,e)&&e.children().some((function(e){return tc(t.child,e)}))},Zs[Ds.DESCENDANT]=function(t,e){return tc(t.descendant,e)&&e.ancestors().some((function(e){return tc(t.ancestor,e)}))},Zs[Ds.ANCESTOR]=function(t,e){return tc(t.ancestor,e)&&e.descendants().some((function(e){return tc(t.descendant,e)}))},Zs[Ds.COMPOUND_SPLIT]=function(t,e){return tc(t.subject,e)&&tc(t.left,e)&&tc(t.right,e)},Zs[Ds.TRUE]=function(){return!0},Zs[Ds.COLLECTION]=function(t,e){return t.value.has(e)},Zs[Ds.FILTER]=function(t,e){return(0,t.value)(e)};var ec=function(t){var e=this;if(1===e.length&&1===e[0].checks.length&&e[0].checks[0].type===Ds.ID)return t.getElementById(e[0].checks[0].value).collection();var n=function(t){for(var n=0;n<e.length;n++){var r=e[n];if(tc(r,t))return!0}return!1};return null==e.text()&&(n=function(){return!0}),t.filter(n)},nc={matches:function(t){for(var e=this,n=0;n<e.length;n++){var r=e[n];if(tc(r,t))return!0}return!1},filter:ec},rc=function(t){this.inputText=t,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,null==t||v(t)&&t.match(/^\s*$/)||(_(t)?this.addQuery({checks:[{type:Ds.COLLECTION,value:t.collection()}]}):y(t)?this.addQuery({checks:[{type:Ds.FILTER,value:t}]}):v(t)?this.parse(t)||(this.invalid=!0):Le("A selector must be created from a string; found "))},ic=rc.prototype;[Xs,nc].forEach((function(t){return J(ic,t)})),ic.text=function(){return this.inputText},ic.size=function(){return this.length},ic.eq=function(t){return this[t]},ic.sameText=function(t){return!this.invalid&&!t.invalid&&this.text()===t.text()},ic.addQuery=function(t){this[this.length++]=t},ic.selector=ic.toString;var ac={allAre:function(t){var e=new rc(t);return this.every((function(t){return e.matches(t)}))},is:function(t){var e=new rc(t);return this.some((function(t){return e.matches(t)}))},some:function(t,e){for(var n=0;n<this.length;n++)if(e?t.apply(e,[this[n],n,this]):t(this[n],n,this))return!0;return!1},every:function(t,e){for(var n=0;n<this.length;n++)if(!(e?t.apply(e,[this[n],n,this]):t(this[n],n,this)))return!1;return!0},same:function(t){if(this===t)return!0;t=this.cy().collection(t);var e=this.length;return e===t.length&&(1===e?this[0]===t[0]:this.every((function(e){return t.hasElementWithId(e.id())})))},anySame:function(t){return t=this.cy().collection(t),this.some((function(e){return t.hasElementWithId(e.id())}))},allAreNeighbors:function(t){t=this.cy().collection(t);var e=this.neighborhood();return t.every((function(t){return e.hasElementWithId(t.id())}))},contains:function(t){t=this.cy().collection(t);var e=this;return t.every((function(t){return e.hasElementWithId(t.id())}))}};ac.allAreNeighbours=ac.allAreNeighbors,ac.has=ac.contains,ac.equal=ac.equals=ac.same;var oc,sc,cc=function(t,e){return function(n,r,i,a){var o,s=n,c=this;if(null==s?o="":_(s)&&1===s.length&&(o=s.id()),1===c.length&&o){var l=c[0]._private,u=l.traversalCache=l.traversalCache||{},h=u[e]=u[e]||[],f=ve(o),d=h[f];return d||(h[f]=t.call(c,n,r,i,a))}return t.call(c,n,r,i,a)}},lc={parent:function(t){var e=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var r=0;r<this.length;r++){var i=this[r]._private.parent;i&&e.push(i)}return this.spawn(e,!0).filter(t)},parents:function(t){for(var e=[],n=this.parent();n.nonempty();){for(var r=0;r<n.length;r++){var i=n[r];e.push(i)}n=n.parent()}return this.spawn(e,!0).filter(t)},commonAncestors:function(t){for(var e,n=0;n<this.length;n++){var r=this[n].parents();e=(e=e||r).intersect(r)}return e.filter(t)},orphans:function(t){return this.stdFilter((function(t){return t.isOrphan()})).filter(t)},nonorphans:function(t){return this.stdFilter((function(t){return t.isChild()})).filter(t)},children:cc((function(t){for(var e=[],n=0;n<this.length;n++)for(var r=this[n]._private.children,i=0;i<r.length;i++)e.push(r[i]);return this.spawn(e,!0).filter(t)}),"children"),siblings:function(t){return this.parent().children().not(this).filter(t)},isParent:function(){var t=this[0];if(t)return t.isNode()&&0!==t._private.children.length},isChildless:function(){var t=this[0];if(t)return t.isNode()&&0===t._private.children.length},isChild:function(){var t=this[0];if(t)return t.isNode()&&null!=t._private.parent},isOrphan:function(){var t=this[0];if(t)return t.isNode()&&null==t._private.parent},descendants:function(t){var e=[];function n(t){for(var r=0;r<t.length;r++){var i=t[r];e.push(i),i.children().nonempty()&&n(i.children())}}return n(this.children()),this.spawn(e,!0).filter(t)}};function uc(t,e,n,r){for(var i=[],a=new Ve,o=t.cy().hasCompoundNodes(),s=0;s<t.length;s++){var c=t[s];n?i.push(c):o&&r(i,a,c)}for(;i.length>0;){var l=i.shift();e(l),a.add(l.id()),o&&r(i,a,l)}return t}function hc(t,e,n){if(n.isParent())for(var r=n._private.children,i=0;i<r.length;i++){var a=r[i];e.has(a.id())||t.push(a)}}function fc(t,e,n){if(n.isChild()){var r=n._private.parent;e.has(r.id())||t.push(r)}}function dc(t,e,n){fc(t,e,n),hc(t,e,n)}lc.forEachDown=function(t){return uc(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],hc)},lc.forEachUp=function(t){return uc(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],fc)},lc.forEachUpAndDown=function(t){return uc(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],dc)},lc.ancestors=lc.parents,(oc=sc={data:Ls.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:Ls.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Ls.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Ls.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Ls.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Ls.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var t=this[0];if(t)return t._private.data.id}}).attr=oc.data,oc.removeAttr=oc.removeData;var Ac,pc,gc=sc,mc={};function bc(t){return function(e){var n=this;if(void 0===e&&(e=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,i=n[0],a=i._private.edges,o=0;o<a.length;o++){var s=a[o];!e&&s.isLoop()||(r+=t(i,s))}return r}}}function vc(t,e){return function(n){for(var r,i=this.nodes(),a=0;a<i.length;a++){var o=i[a][t](n);void 0===o||void 0!==r&&!e(o,r)||(r=o)}return r}}J(mc,{degree:bc((function(t,e){return e.source().same(e.target())?2:1})),indegree:bc((function(t,e){return e.target().same(t)?1:0})),outdegree:bc((function(t,e){return e.source().same(t)?1:0}))}),J(mc,{minDegree:vc("degree",(function(t,e){return t<e})),maxDegree:vc("degree",(function(t,e){return t>e})),minIndegree:vc("indegree",(function(t,e){return t<e})),maxIndegree:vc("indegree",(function(t,e){return t>e})),minOutdegree:vc("outdegree",(function(t,e){return t<e})),maxOutdegree:vc("outdegree",(function(t,e){return t>e}))}),J(mc,{totalDegree:function(t){for(var e=0,n=this.nodes(),r=0;r<n.length;r++)e+=n[r].degree(t);return e}});var yc=function(t,e,n){for(var r=0;r<t.length;r++){var i=t[r];if(!i.locked()){var a=i._private.position,o={x:null!=e.x?e.x-a.x:0,y:null!=e.y?e.y-a.y:0};!i.isParent()||0===o.x&&0===o.y||i.children().shift(o,n),i.dirtyBoundingBoxCache()}}},wc={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(t){t.updateCompoundBounds()},beforeSet:function(t,e){yc(t,e,!1)},onSet:function(t){t.dirtyCompoundBoundsCache()},canSet:function(t){return!t.locked()}};Ac=pc={position:Ls.data(wc),silentPosition:Ls.data(J({},wc,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(t,e){yc(t,e,!0)},onSet:function(t){t.dirtyCompoundBoundsCache()}})),positions:function(t,e){if(T(t))e?this.silentPosition(t):this.position(t);else if(y(t)){var n=t,r=this.cy();r.startBatch();for(var i=0;i<this.length;i++){var a=this[i],o=void 0;(o=n(a,i))&&(e?a.silentPosition(o):a.position(o))}r.endBatch()}return this},silentPositions:function(t){return this.positions(t,!0)},shift:function(t,e,n){var r;if(T(t)?(r={x:C(t.x)?t.x:0,y:C(t.y)?t.y:0},n=e):v(t)&&C(e)&&((r={x:0,y:0})[t]=e),null!=r){var i=this.cy();i.startBatch();for(var a=0;a<this.length;a++){var o=this[a];if(!(i.hasCompoundNodes()&&o.isChild()&&o.ancestors().anySame(this))){var s=o.position(),c={x:s.x+r.x,y:s.y+r.y};n?o.silentPosition(c):o.position(c)}}i.endBatch()}return this},silentShift:function(t,e){return T(t)?this.shift(t,!0):v(t)&&C(e)&&this.shift(t,e,!0),this},renderedPosition:function(t,e){var n=this[0],r=this.cy(),i=r.zoom(),a=r.pan(),o=T(t)?t:void 0,s=void 0!==o||void 0!==e&&v(t);if(n&&n.isNode()){if(!s){var c=n.position();return o=gn(c,i,a),void 0===t?o:o[t]}for(var l=0;l<this.length;l++){var u=this[l];void 0!==e?u.position(t,(e-a[t])/i):void 0!==o&&u.position(mn(o,i,a))}}else if(!s)return;return this},relativePosition:function(t,e){var n=this[0],r=this.cy(),i=T(t)?t:void 0,a=void 0!==i||void 0!==e&&v(t),o=r.hasCompoundNodes();if(n&&n.isNode()){if(!a){var s=n.position(),c=o?n.parent():null,l=c&&c.length>0,u=l;l&&(c=c[0]);var h=u?c.position():{x:0,y:0};return i={x:s.x-h.x,y:s.y-h.y},void 0===t?i:i[t]}for(var f=0;f<this.length;f++){var d=this[f],A=o?d.parent():null,p=A&&A.length>0,g=p;p&&(A=A[0]);var m=g?A.position():{x:0,y:0};void 0!==e?d.position(t,e+m[t]):void 0!==i&&d.position({x:i.x+m.x,y:i.y+m.y})}}else if(!a)return;return this}},Ac.modelPosition=Ac.point=Ac.position,Ac.modelPositions=Ac.points=Ac.positions,Ac.renderedPoint=Ac.renderedPosition,Ac.relativePoint=Ac.relativePosition;var Tc,kc,Cc=pc;Tc=kc={},kc.renderedBoundingBox=function(t){var e=this.boundingBox(t),n=this.cy(),r=n.zoom(),i=n.pan(),a=e.x1*r+i.x,o=e.x2*r+i.x,s=e.y1*r+i.y,c=e.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:c,w:o-a,h:c-s}},kc.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp((function(e){if(e.isParent()){var n=e._private;n.compoundBoundsClean=!1,n.bbCache=null,t||e.emitAndNotify("bounds")}})),this):this},kc.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function n(t){if(t.isParent()){var e=t._private,n=t.children(),r="include"===t.pstyle("compound-sizing-wrt-labels").value,i={width:{val:t.pstyle("min-width").pfValue,left:t.pstyle("min-width-bias-left"),right:t.pstyle("min-width-bias-right")},height:{val:t.pstyle("min-height").pfValue,top:t.pstyle("min-height-bias-top"),bottom:t.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=e.position;0!==a.w&&0!==a.h||((a={w:t.pstyle("width").pfValue,h:t.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var c=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(c=100*c/i.width.val);var l=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(l=100*l/i.height.val);var u=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(u=100*u/i.height.val);var h=m(i.width.val-a.w,s,c),f=h.biasDiff,d=h.biasComplementDiff,A=m(i.height.val-a.h,l,u),p=A.biasDiff,g=A.biasComplementDiff;e.autoPadding=b(a.w,a.h,t.pstyle("padding"),t.pstyle("padding-relative-to").value),e.autoWidth=Math.max(a.w,i.width.val),o.x=(-f+a.x1+a.x2+d)/2,e.autoHeight=Math.max(a.h,i.height.val),o.y=(-p+a.y1+a.y2+g)/2}function m(t,e,n){var r=0,i=0,a=e+n;return t>0&&a>0&&(r=e/a*t,i=n/a*t),{biasDiff:r,biasComplementDiff:i}}function b(t,e,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return t>0?n.pfValue*t:0;case"height":return e>0?n.pfValue*e:0;case"average":return t>0&&e>0?n.pfValue*(t+e)/2:0;case"min":return t>0&&e>0?t>e?n.pfValue*e:n.pfValue*t:0;case"max":return t>0&&e>0?t>e?n.pfValue*t:n.pfValue*e:0;default:return 0}}}for(var r=0;r<this.length;r++){var i=this[r],a=i._private;a.compoundBoundsClean&&!t||(n(i),e.batching()||(a.compoundBoundsClean=!0))}return this};var Ec=function(t){return t===1/0||t===-1/0?0:t},xc=function(t,e,n,r,i){r-e!=0&&i-n!=0&&null!=e&&null!=n&&null!=r&&null!=i&&(t.x1=e<t.x1?e:t.x1,t.x2=r>t.x2?r:t.x2,t.y1=n<t.y1?n:t.y1,t.y2=i>t.y2?i:t.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1)},_c=function(t,e){return null==e?t:xc(t,e.x1,e.y1,e.x2,e.y2)},Bc=function(t,e,n){return $e(t,e,n)},Sc=function(t,e,n){if(!e.cy().headless()){var r,i,a=e._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==e.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var c=a.arrowBounds=a.arrowBounds||{},l=c[n]=c[n]||{};l.x1=r-s,l.y1=i-s,l.x2=r+s,l.y2=i+s,l.w=l.x2-l.x1,l.h=l.y2-l.y1,Qn(l,1),xc(t,l.x1,l.y1,l.x2,l.y2)}}},Lc=function(t,e,n){if(!e.cy().headless()){var r;r=n?n+"-":"";var i=e._private,a=i.rstyle;if(e.pstyle(r+"label").strValue){var o,s,c,l,u=e.pstyle("text-halign"),h=e.pstyle("text-valign"),f=Bc(a,"labelWidth",n),d=Bc(a,"labelHeight",n),A=Bc(a,"labelX",n),p=Bc(a,"labelY",n),g=e.pstyle(r+"text-margin-x").pfValue,m=e.pstyle(r+"text-margin-y").pfValue,b=e.isEdge(),v=e.pstyle(r+"text-rotation"),y=e.pstyle("text-outline-width").pfValue,w=e.pstyle("text-border-width").pfValue/2,T=e.pstyle("text-background-padding").pfValue,k=2,C=d,E=f,x=E/2,_=C/2;if(b)o=A-x,s=A+x,c=p-_,l=p+_;else{switch(u.value){case"left":o=A-E,s=A;break;case"center":o=A-x,s=A+x;break;case"right":o=A,s=A+E}switch(h.value){case"top":c=p-C,l=p;break;case"center":c=p-_,l=p+_;break;case"bottom":c=p,l=p+C}}o+=g-Math.max(y,w)-T-k,s+=g+Math.max(y,w)+T+k,c+=m-Math.max(y,w)-T-k,l+=m+Math.max(y,w)+T+k;var B=n||"main",S=i.labelBounds,L=S[B]=S[B]||{};L.x1=o,L.y1=c,L.x2=s,L.y2=l,L.w=s-o,L.h=l-c;var I=b&&"autorotate"===v.strValue,M=null!=v.pfValue&&0!==v.pfValue;if(I||M){var O=I?Bc(i.rstyle,"labelAngle",n):v.pfValue,N=Math.cos(O),D=Math.sin(O),F=(o+s)/2,P=(c+l)/2;if(!b){switch(u.value){case"left":F=s;break;case"right":F=o}switch(h.value){case"top":P=l;break;case"bottom":P=c}}var R=function(t,e){return{x:(t-=F)*N-(e-=P)*D+F,y:t*D+e*N+P}},Q=R(o,c),U=R(o,l),H=R(s,c),j=R(s,l);o=Math.min(Q.x,U.x,H.x,j.x),s=Math.max(Q.x,U.x,H.x,j.x),c=Math.min(Q.y,U.y,H.y,j.y),l=Math.max(Q.y,U.y,H.y,j.y)}var $=B+"Rot",K=S[$]=S[$]||{};K.x1=o,K.y1=c,K.x2=s,K.y2=l,K.w=s-o,K.h=l-c,xc(t,o,c,s,l),xc(i.labelBounds.all,o,c,s,l)}return t}},Ic=function(t,e){var n,r,i,a,o,s,c=t._private.cy,l=c.styleEnabled(),u=c.headless(),h=Nn(),f=t._private,d=t.isNode(),A=t.isEdge(),p=f.rstyle,g=d&&l?t.pstyle("bounds-expansion").pfValue:[0],m=function(t){return"none"!==t.pstyle("display").value},b=!l||m(t)&&(!A||m(t.source())&&m(t.target()));if(b){var v=0;l&&e.includeOverlays&&0!==t.pstyle("overlay-opacity").value&&(v=t.pstyle("overlay-padding").value);var y=0;l&&e.includeUnderlays&&0!==t.pstyle("underlay-opacity").value&&(y=t.pstyle("underlay-padding").value);var w=Math.max(v,y),T=0;if(l&&(T=t.pstyle("width").pfValue/2),d&&e.includeNodes){var k=t.position();o=k.x,s=k.y;var C=t.outerWidth()/2,E=t.outerHeight()/2;xc(h,n=o-C,i=s-E,r=o+C,a=s+E)}else if(A&&e.includeEdges)if(l&&!u){var x=t.pstyle("curve-style").strValue;if(n=Math.min(p.srcX,p.midX,p.tgtX),r=Math.max(p.srcX,p.midX,p.tgtX),i=Math.min(p.srcY,p.midY,p.tgtY),a=Math.max(p.srcY,p.midY,p.tgtY),xc(h,n-=T,i-=T,r+=T,a+=T),"haystack"===x){var _=p.haystackPts;if(_&&2===_.length){if(n=_[0].x,i=_[0].y,n>(r=_[1].x)){var B=n;n=r,r=B}if(i>(a=_[1].y)){var S=i;i=a,a=S}xc(h,n-T,i-T,r+T,a+T)}}else if("bezier"===x||"unbundled-bezier"===x||"segments"===x||"taxi"===x){var L;switch(x){case"bezier":case"unbundled-bezier":L=p.bezierPts;break;case"segments":case"taxi":L=p.linePts}if(null!=L)for(var I=0;I<L.length;I++){var M=L[I];n=M.x-T,r=M.x+T,i=M.y-T,a=M.y+T,xc(h,n,i,r,a)}}}else{var O=t.source().position(),N=t.target().position();if((n=O.x)>(r=N.x)){var D=n;n=r,r=D}if((i=O.y)>(a=N.y)){var F=i;i=a,a=F}xc(h,n-=T,i-=T,r+=T,a+=T)}if(l&&e.includeEdges&&A&&(Sc(h,t,"mid-source"),Sc(h,t,"mid-target"),Sc(h,t,"source"),Sc(h,t,"target")),l&&"yes"===t.pstyle("ghost").value){var P=t.pstyle("ghost-offset-x").pfValue,R=t.pstyle("ghost-offset-y").pfValue;xc(h,h.x1+P,h.y1+R,h.x2+P,h.y2+R)}var Q=f.bodyBounds=f.bodyBounds||{};Hn(Q,h),Un(Q,g),Qn(Q,1),l&&(n=h.x1,r=h.x2,i=h.y1,a=h.y2,xc(h,n-w,i-w,r+w,a+w));var U=f.overlayBounds=f.overlayBounds||{};Hn(U,h),Un(U,g),Qn(U,1);var H=f.labelBounds=f.labelBounds||{};null!=H.all?Fn(H.all):H.all=Nn(),l&&e.includeLabels&&(e.includeMainLabels&&Lc(h,t,null),A&&(e.includeSourceLabels&&Lc(h,t,"source"),e.includeTargetLabels&&Lc(h,t,"target")))}return h.x1=Ec(h.x1),h.y1=Ec(h.y1),h.x2=Ec(h.x2),h.y2=Ec(h.y2),h.w=Ec(h.x2-h.x1),h.h=Ec(h.y2-h.y1),h.w>0&&h.h>0&&b&&(Un(h,g),Qn(h,1)),h},Mc=function(t){var e=0,n=function(t){return(t?1:0)<<e++},r=0;return r+=n(t.incudeNodes),r+=n(t.includeEdges),r+=n(t.includeLabels),r+=n(t.includeMainLabels),r+=n(t.includeSourceLabels),r+=n(t.includeTargetLabels),r+=n(t.includeOverlays)},Oc=function(t){if(t.isEdge()){var e=t.source().position(),n=t.target().position(),r=function(t){return Math.round(t)};return be([r(e.x),r(e.y),r(n.x),r(n.y)])}return 0},Nc=function(t,e){var n,r=t._private,i=t.isEdge(),a=(null==e?Fc:Mc(e))===Fc,o=Oc(t),s=r.bbCachePosKey===o,c=e.useCache&&s,l=function(t){return null==t._private.bbCache||t._private.styleDirty};if(!c||l(t)||i&&l(t.source())||l(t.target())?(s||t.recalculateRenderedStyle(c),n=Ic(t,Dc),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var u=t.isNode();n=Nn(),(e.includeNodes&&u||e.includeEdges&&!u)&&(e.includeOverlays?_c(n,r.overlayBounds):_c(n,r.bodyBounds)),e.includeLabels&&(e.includeMainLabels&&(!i||e.includeSourceLabels&&e.includeTargetLabels)?_c(n,r.labelBounds.all):(e.includeMainLabels&&_c(n,r.labelBounds.mainRot),e.includeSourceLabels&&_c(n,r.labelBounds.sourceRot),e.includeTargetLabels&&_c(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},Dc={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},Fc=Mc(Dc),Pc=Qe(Dc);kc.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=Nn();var n=Pc(t=t||Dc),r=this;if(r.cy().styleEnabled())for(var i=0;i<r.length;i++){var a=r[i],o=a._private,s=Oc(a),c=o.bbCachePosKey===s,l=n.useCache&&c&&!o.styleDirty;a.recalculateRenderedStyle(l)}this.updateCompoundBounds(!t.useCache);for(var u=0;u<r.length;u++){var h=r[u];_c(e,Nc(h,n))}}else t=void 0===t?Dc:Pc(t),e=Nc(this[0],t);return e.x1=Ec(e.x1),e.y1=Ec(e.y1),e.x2=Ec(e.x2),e.y2=Ec(e.y2),e.w=Ec(e.x2-e.x1),e.h=Ec(e.y2-e.y1),e},kc.dirtyBoundingBoxCache=function(){for(var t=0;t<this.length;t++){var e=this[t]._private;e.bbCache=null,e.bbCachePosKey=null,e.bodyBounds=null,e.overlayBounds=null,e.labelBounds.all=null,e.labelBounds.source=null,e.labelBounds.target=null,e.labelBounds.main=null,e.labelBounds.sourceRot=null,e.labelBounds.targetRot=null,e.labelBounds.mainRot=null,e.arrowBounds.source=null,e.arrowBounds.target=null,e.arrowBounds["mid-source"]=null,e.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},kc.boundingBoxAt=function(t){var e=this.nodes(),n=this.cy(),r=n.hasCompoundNodes(),i=n.collection();if(r&&(i=e.filter((function(t){return t.isParent()})),e=e.not(i)),T(t)){var a=t;t=function(){return a}}var o=function(e,n){return e._private.bbAtOldPos=t(e,n)},s=function(t){return t._private.bbAtOldPos};n.startBatch(),e.forEach(o).silentPositions(t),r&&(i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),i.updateCompoundBounds(!0));var c=Dn(this.boundingBox({useCache:!1}));return e.silentPositions(s),r&&(i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),i.updateCompoundBounds(!0)),n.endBatch(),c},Tc.boundingbox=Tc.bb=Tc.boundingBox,Tc.renderedBoundingbox=Tc.renderedBoundingBox;var Rc,Qc,Uc=kc;Rc=Qc={};var Hc=function(t){t.uppercaseName=j(t.name),t.autoName="auto"+t.uppercaseName,t.labelName="label"+t.uppercaseName,t.outerName="outer"+t.uppercaseName,t.uppercaseOuterName=j(t.outerName),Rc[t.name]=function(){var e=this[0],n=e._private,r=n.cy._private.styleEnabled;if(e){if(r){if(e.isParent())return e.updateCompoundBounds(),n[t.autoName]||0;var i=e.pstyle(t.name);return"label"===i.strValue?(e.recalculateRenderedStyle(),n.rstyle[t.labelName]||0):i.pfValue}return 1}},Rc["outer"+t.uppercaseName]=function(){var e=this[0],n=e._private.cy._private.styleEnabled;if(e)return n?e[t.name]()+e.pstyle("border-width").pfValue+2*e.padding():1},Rc["rendered"+t.uppercaseName]=function(){var e=this[0];if(e)return e[t.name]()*this.cy().zoom()},Rc["rendered"+t.uppercaseOuterName]=function(){var e=this[0];if(e)return e[t.outerName]()*this.cy().zoom()}};Hc({name:"width"}),Hc({name:"height"}),Qc.padding=function(){var t=this[0],e=t._private;return t.isParent()?(t.updateCompoundBounds(),void 0!==e.autoPadding?e.autoPadding:t.pstyle("padding").pfValue):t.pstyle("padding").pfValue},Qc.paddedHeight=function(){var t=this[0];return t.height()+2*t.padding()},Qc.paddedWidth=function(){var t=this[0];return t.width()+2*t.padding()};var jc=Qc,$c=function(t,e){if(t.isEdge())return e(t)},Kc=function(t,e){if(t.isEdge()){var n=t.cy();return gn(e(t),n.zoom(),n.pan())}},Gc=function(t,e){if(t.isEdge()){var n=t.cy(),r=n.pan(),i=n.zoom();return e(t).map((function(t){return gn(t,i,r)}))}},zc=function(t){return t.renderer().getControlPoints(t)},Xc={controlPoints:{get:zc,mult:!0},segmentPoints:{get:function(t){return t.renderer().getSegmentPoints(t)},mult:!0},sourceEndpoint:{get:function(t){return t.renderer().getSourceEndpoint(t)}},targetEndpoint:{get:function(t){return t.renderer().getTargetEndpoint(t)}},midpoint:{get:function(t){return t.renderer().getEdgeMidpoint(t)}}},qc=function(t){return"rendered"+t[0].toUpperCase()+t.substr(1)},Vc=Object.keys(Xc).reduce((function(t,e){var n=Xc[e],r=qc(e);return t[e]=function(){return $c(this,n.get)},n.mult?t[r]=function(){return Gc(this,n.get)}:t[r]=function(){return Kc(this,n.get)},t}),{}),Wc=J({},Cc,Uc,jc,Vc),Yc=function(t,e){this.recycle(t,e)};function Jc(){return!1}function Zc(){return!0}Yc.prototype={instanceString:function(){return"event"},recycle:function(t,e){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Jc,null!=t&&t.preventDefault?(this.type=t.type,this.isDefaultPrevented=t.defaultPrevented?Zc:Jc):null!=t&&t.type?e=t:this.type=t,null!=e&&(this.originalEvent=e.originalEvent,this.type=null!=e.type?e.type:this.type,this.cy=e.cy,this.target=e.target,this.position=e.position,this.renderedPosition=e.renderedPosition,this.namespace=e.namespace,this.layout=e.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,r=this.cy.zoom(),i=this.cy.pan();this.renderedPosition={x:n.x*r+i.x,y:n.y*r+i.y}}this.timeStamp=t&&t.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Zc;var t=this.originalEvent;t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Zc;var t=this.originalEvent;t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Zc,this.stopPropagation()},isDefaultPrevented:Jc,isPropagationStopped:Jc,isImmediatePropagationStopped:Jc};var tl=/^([^.]+)(\.(?:[^.]+))?$/,el=".*",nl={qualifierCompare:function(t,e){return t===e},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(t){return t},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},rl=Object.keys(nl),il={};function al(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:il,e=arguments.length>1?arguments[1]:void 0,n=0;n<rl.length;n++){var r=rl[n];this[r]=t[r]||nl[r]}this.context=e||this.context,this.listeners=[],this.emitting=0}var ol=al.prototype,sl=function(t,e,n,r,i,a,o){y(r)&&(i=r,r=null),o&&(a=null==a?o:J({},a,o));for(var s=w(n)?n:n.split(/\s+/),c=0;c<s.length;c++){var l=s[c];if(!O(l)){var u=l.match(tl);if(u&&!1===e(t,l,u[1],u[2]?u[2]:null,r,i,a))break}}},cl=function(t,e){return t.addEventFields(t.context,e),new Yc(e.type,e)},ll=function(t,e,n){if(M(n))e(t,n);else if(T(n))e(t,cl(t,n));else for(var r=w(n)?n:n.split(/\s+/),i=0;i<r.length;i++){var a=r[i];if(!O(a)){var o=a.match(tl);if(o){var s=o[1],c=o[2]?o[2]:null;e(t,cl(t,{type:s,namespace:c,target:t.context}))}}}};ol.on=ol.addListener=function(t,e,n,r,i){return sl(this,(function(t,e,n,r,i,a,o){y(a)&&t.listeners.push({event:e,callback:a,type:n,namespace:r,qualifier:i,conf:o})}),t,e,n,r,i),this},ol.one=function(t,e,n,r){return this.on(t,e,n,r,{one:!0})},ol.removeListener=ol.off=function(t,e,n,r){var i=this;0!==this.emitting&&(this.listeners=De(this.listeners));for(var a=this.listeners,o=function(o){var s=a[o];sl(i,(function(e,n,r,i,c,l){if((s.type===r||"*"===t)&&(!i&&".*"!==s.namespace||s.namespace===i)&&(!c||e.qualifierCompare(s.qualifier,c))&&(!l||s.callback===l))return a.splice(o,1),!1}),t,e,n,r)},s=a.length-1;s>=0;s--)o(s);return this},ol.removeAllListeners=function(){return this.removeListener("*")},ol.emit=ol.trigger=function(t,e,n){var r=this.listeners,i=r.length;return this.emitting++,w(e)||(e=[e]),ll(this,(function(t,a){null!=n&&(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],i=r.length);for(var o=function(n){var i=r[n];if(i.type===a.type&&(!i.namespace||i.namespace===a.namespace||i.namespace===el)&&t.eventMatches(t.context,i,a)){var o=[a];null!=e&&je(o,e),t.beforeEmit(t.context,i,a),i.conf&&i.conf.one&&(t.listeners=t.listeners.filter((function(t){return t!==i})));var s=t.callbackContext(t.context,i,a),c=i.callback.apply(s,o);t.afterEmit(t.context,i,a),!1===c&&(a.stopPropagation(),a.preventDefault())}},s=0;s<i;s++)o(s);t.bubble(t.context)&&!a.isPropagationStopped()&&t.parent(t.context).emit(a,e)}),t),this.emitting--,this};var ul={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var r=e.qualifier;return null==r||t!==n.target&&B(n.target)&&r.matches(n.target)},addEventFields:function(t,e){e.cy=t.cy(),e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t},beforeEmit:function(t,e){e.conf&&e.conf.once&&e.conf.onceCollection.removeListener(e.event,e.qualifier,e.callback)},bubble:function(){return!0},parent:function(t){return t.isChild()?t.parent():t.cy()}},hl=function(t){return v(t)?new rc(t):t},fl={createEmitter:function(){for(var t=0;t<this.length;t++){var e=this[t],n=e._private;n.emitter||(n.emitter=new al(ul,e))}return this},emitter:function(){return this._private.emitter},on:function(t,e,n){for(var r=hl(e),i=0;i<this.length;i++)this[i].emitter().on(t,r,n);return this},removeListener:function(t,e,n){for(var r=hl(e),i=0;i<this.length;i++)this[i].emitter().removeListener(t,r,n);return this},removeAllListeners:function(){for(var t=0;t<this.length;t++)this[t].emitter().removeAllListeners();return this},one:function(t,e,n){for(var r=hl(e),i=0;i<this.length;i++)this[i].emitter().one(t,r,n);return this},once:function(t,e,n){for(var r=hl(e),i=0;i<this.length;i++)this[i].emitter().on(t,r,n,{once:!0,onceCollection:this})},emit:function(t,e){for(var n=0;n<this.length;n++)this[n].emitter().emit(t,e);return this},emitAndNotify:function(t,e){if(0!==this.length)return this.cy().notify(t,this),this.emit(t,e),this}};Ls.eventAliasesOn(fl);var dl={nodes:function(t){return this.filter((function(t){return t.isNode()})).filter(t)},edges:function(t){return this.filter((function(t){return t.isEdge()})).filter(t)},byGroup:function(){for(var t=this.spawn(),e=this.spawn(),n=0;n<this.length;n++){var r=this[n];r.isNode()?t.push(r):e.push(r)}return{nodes:t,edges:e}},filter:function(t,e){if(void 0===t)return this;if(v(t)||_(t))return new rc(t).filter(this);if(y(t)){for(var n=this.spawn(),r=this,i=0;i<r.length;i++){var a=r[i];(e?t.apply(e,[a,i,r]):t(a,i,r))&&n.push(a)}return n}return this.spawn()},not:function(t){if(t){v(t)&&(t=this.filter(t));for(var e=this.spawn(),n=0;n<this.length;n++){var r=this[n];t.has(r)||e.push(r)}return e}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(t){if(v(t)){var e=t;return this.filter(e)}for(var n=this.spawn(),r=this,i=t,a=this.length<t.length,o=a?r:i,s=a?i:r,c=0;c<o.length;c++){var l=o[c];s.has(l)&&n.push(l)}return n},xor:function(t){var e=this._private.cy;v(t)&&(t=e.$(t));var n=this.spawn(),r=this,i=t,a=function(t,e){for(var r=0;r<t.length;r++){var i=t[r],a=i._private.data.id;e.hasElementWithId(a)||n.push(i)}};return a(r,i),a(i,r),n},diff:function(t){var e=this._private.cy;v(t)&&(t=e.$(t));var n=this.spawn(),r=this.spawn(),i=this.spawn(),a=this,o=t,s=function(t,e,n){for(var r=0;r<t.length;r++){var a=t[r],o=a._private.data.id;e.hasElementWithId(o)?i.merge(a):n.push(a)}};return s(a,o,n),s(o,a,r),{left:n,right:r,both:i}},add:function(t){var e=this._private.cy;if(!t)return this;if(v(t)){var n=t;t=e.mutableElements().filter(n)}for(var r=this.spawnSelf(),i=0;i<t.length;i++){var a=t[i],o=!this.has(a);o&&r.push(a)}return r},merge:function(t){var e=this._private,n=e.cy;if(!t)return this;if(t&&v(t)){var r=t;t=n.mutableElements().filter(r)}for(var i=e.map,a=0;a<t.length;a++){var o=t[a],s=o._private.data.id;if(!i.has(s)){var c=this.length++;this[c]=o,i.set(s,{ele:o,index:c})}}return this},unmergeAt:function(t){var e=this[t].id(),n=this._private.map;this[t]=void 0,n.delete(e);var r=t===this.length-1;if(this.length>1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[t]=a,n.set(o,{ele:a,index:t})}return this.length--,this},unmergeOne:function(t){t=t[0];var e=this._private,n=t._private.data.id,r=e.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(t){var e=this._private.cy;if(!t)return this;if(t&&v(t)){var n=t;t=e.mutableElements().filter(n)}for(var r=0;r<t.length;r++)this.unmergeOne(t[r]);return this},unmergeBy:function(t){for(var e=this.length-1;e>=0;e--)t(this[e])&&this.unmergeAt(e);return this},map:function(t,e){for(var n=[],r=this,i=0;i<r.length;i++){var a=r[i],o=e?t.apply(e,[a,i,r]):t(a,i,r);n.push(o)}return n},reduce:function(t,e){for(var n=e,r=this,i=0;i<r.length;i++)n=t(n,r[i],i,r);return n},max:function(t,e){for(var n,r=-1/0,i=this,a=0;a<i.length;a++){var o=i[a],s=e?t.apply(e,[o,a,i]):t(o,a,i);s>r&&(r=s,n=o)}return{value:r,ele:n}},min:function(t,e){for(var n,r=1/0,i=this,a=0;a<i.length;a++){var o=i[a],s=e?t.apply(e,[o,a,i]):t(o,a,i);s<r&&(r=s,n=o)}return{value:r,ele:n}}},Al=dl;Al.u=Al["|"]=Al["+"]=Al.union=Al.or=Al.add,Al["\\"]=Al["!"]=Al["-"]=Al.difference=Al.relativeComplement=Al.subtract=Al.not,Al.n=Al["&"]=Al["."]=Al.and=Al.intersection=Al.intersect,Al["^"]=Al["(+)"]=Al["(-)"]=Al.symmetricDifference=Al.symdiff=Al.xor,Al.fnFilter=Al.filterFn=Al.stdFilter=Al.filter,Al.complement=Al.abscomp=Al.absoluteComplement;var pl={isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var t=this[0];if(t)return t._private.group}},gl=function(t,e){var n=t.cy().hasCompoundNodes();function r(t){var e=t.pstyle("z-compound-depth");return"auto"===e.value?n?t.zDepth():0:"bottom"===e.value?-1:"top"===e.value?Ee:0}var i=r(t)-r(e);if(0!==i)return i;function a(t){return"auto"===t.pstyle("z-index-compare").value&&t.isNode()?1:0}var o=a(t)-a(e);if(0!==o)return o;var s=t.pstyle("z-index").value-e.pstyle("z-index").value;return 0!==s?s:t.poolIndex()-e.poolIndex()},ml={forEach:function(t,e){if(y(t))for(var n=this.length,r=0;r<n;r++){var i=this[r];if(!1===(e?t.apply(e,[i,r,this]):t(i,r,this)))break}return this},toArray:function(){for(var t=[],e=0;e<this.length;e++)t.push(this[e]);return t},slice:function(t,e){var n=[],r=this.length;null==e&&(e=r),null==t&&(t=0),t<0&&(t=r+t),e<0&&(e=r+e);for(var i=t;i>=0&&i<e&&i<r;i++)n.push(this[i]);return this.spawn(n)},size:function(){return this.length},eq:function(t){return this[t]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(t){if(!y(t))return this;var e=this.toArray().sort(t);return this.spawn(e)},sortByZIndex:function(){return this.sort(gl)},zDepth:function(){var t=this[0];if(t){var e=t._private;if("nodes"===e.group){var n=e.data.parent?t.parents().size():0;return t.isParent()?n:Ee-1}var r=e.source,i=e.target,a=r.zDepth(),o=i.zDepth();return Math.max(a,o,0)}}};ml.each=ml.forEach;var bl=function(){var e="undefined";("undefined"==typeof Symbol?"undefined":t(Symbol))!=e&&t(Symbol.iterator)!=e&&(ml[Symbol.iterator]=function(){var t=this,e={value:void 0,done:!1},n=0,r=this.length;return a({next:function(){return n<r?e.value=t[n++]:(e.value=void 0,e.done=!0),e}},Symbol.iterator,(function(){return this}))})};bl();var vl=Qe({nodeDimensionsIncludeLabels:!1}),yl={layoutDimensions:function(t){var e;if(t=vl(t),this.takesUpSpace())if(t.nodeDimensionsIncludeLabels){var n=this.boundingBox();e={w:n.w,h:n.h}}else e={w:this.outerWidth(),h:this.outerHeight()};else e={w:0,h:0};return 0!==e.w&&0!==e.h||(e.w=e.h=1),e},layoutPositions:function(t,e,n){var r=this.nodes().filter((function(t){return!t.isParent()})),i=this.cy(),a=e.eles,o=function(t){return t.id()},s=R(n,o);t.emit({type:"layoutstart",layout:t}),t.animations=[];var c=function(t,e,n){var r={x:e.x1+e.w/2,y:e.y1+e.h/2},i={x:(n.x-r.x)*t,y:(n.y-r.y)*t};return{x:r.x+i.x,y:r.y+i.y}},l=e.spacingFactor&&1!==e.spacingFactor,u=function(){if(!l)return null;for(var t=Nn(),e=0;e<r.length;e++){var n=r[e],i=s(n,e);Rn(t,i.x,i.y)}return t},h=u(),f=R((function(t,n){var r=s(t,n);if(l){var i=Math.abs(e.spacingFactor);r=c(i,h,r)}return null!=e.transform&&(r=e.transform(t,r)),r}),o);if(e.animate){for(var d=0;d<r.length;d++){var A=r[d],p=f(A,d);if(null==e.animateFilter||e.animateFilter(A,d)){var g=A.animation({position:p,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(g)}else A.position(p)}if(e.fit){var m=i.animation({fit:{boundingBox:a.boundingBoxAt(f),padding:e.padding},duration:e.animationDuration,easing:e.animationEasing});t.animations.push(m)}else if(void 0!==e.zoom&&void 0!==e.pan){var b=i.animation({zoom:e.zoom,pan:e.pan,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(b)}t.animations.forEach((function(t){return t.play()})),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),Xi.all(t.animations.map((function(t){return t.promise()}))).then((function(){t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t})}))}else r.positions(f),e.fit&&i.fit(e.eles,e.padding),null!=e.zoom&&i.zoom(e.zoom),e.pan&&i.pan(e.pan),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t});return this},layout:function(t){return this.cy().makeLayout(J({},t,{eles:this}))}};function wl(t,e,n){var r,i=n._private,a=i.styleCache=i.styleCache||[];return null!=(r=a[t])?r:r=a[t]=e(n)}function Tl(t,e){return t=ve(t),function(n){return wl(t,e,n)}}function kl(t,e){t=ve(t);var n=function(t){return e.call(t)};return function(){var e=this[0];if(e)return wl(t,n,e)}}yl.createLayout=yl.makeLayout=yl.layout;var Cl={recalculateRenderedStyle:function(t){var e=this.cy(),n=e.renderer(),r=e.styleEnabled();return n&&r&&n.recalculateRenderedStyle(this,t),this},dirtyStyleCache:function(){var t,e=this.cy(),n=function(t){return t._private.styleCache=null};return e.hasCompoundNodes()?((t=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(t.connectedEdges()),t.forEach(n)):this.forEach((function(t){n(t),t.connectedEdges().forEach(n)})),this},updateStyle:function(t){var e=this._private.cy;if(!e.styleEnabled())return this;if(e.batching())return e._private.batchStyleEles.merge(this),this;var n=this;t=!(!t&&void 0!==t),e.hasCompoundNodes()&&(n=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var r=n;return t?r.emitAndNotify("style"):r.emit("style"),n.forEach((function(t){return t._private.styleDirty=!0})),this},cleanStyle:function(){var t=this.cy();if(t.styleEnabled())for(var e=0;e<this.length;e++){var n=this[e];n._private.styleDirty&&(n._private.styleDirty=!1,t.style().apply(n))}},parsedStyle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[t];return null!=i?i:e?r.style().getDefaultProperty(t):null}},numericStyle:function(t){var e=this[0];if(e.cy().styleEnabled()&&e){var n=e.pstyle(t);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(t){var e=this[0];if(e.cy().styleEnabled())return e?e.pstyle(t).units:void 0},renderedStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=this[0];return n?e.style().getRenderedStyle(n,t):void 0},style:function(t,e){var n=this.cy();if(!n.styleEnabled())return this;var r=!1,i=n.style();if(T(t)){var a=t;i.applyBypass(this,a,r),this.emitAndNotify("style")}else if(v(t)){if(void 0===e){var o=this[0];return o?i.getStylePropertyValue(o,t):void 0}i.applyBypass(this,t,e,r),this.emitAndNotify("style")}else if(void 0===t){var s=this[0];return s?i.getRawStyle(s):void 0}return this},removeStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=!1,r=e.style(),i=this;if(void 0===t)for(var a=0;a<i.length;a++){var o=i[a];r.removeAllBypasses(o,n)}else{t=t.split(/\s+/);for(var s=0;s<i.length;s++){var c=i[s];r.removeBypasses(c,t,n)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var t=this.cy();if(!t.styleEnabled())return 1;var e=t.hasCompoundNodes(),n=this[0];if(n){var r=n._private,i=n.pstyle("opacity").value;if(!e)return i;var a=r.data.parent?n.parents():null;if(a)for(var o=0;o<a.length;o++)i*=a[o].pstyle("opacity").value;return i}},transparent:function(){if(!this.cy().styleEnabled())return!1;var t=this[0],e=t.cy().hasCompoundNodes();return t?e?0===t.effectiveOpacity():0===t.pstyle("opacity").value:void 0},backgrounding:function(){return!!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function El(t,e){var n=t._private.data.parent?t.parents():null;if(n)for(var r=0;r<n.length;r++)if(!e(n[r]))return!1;return!0}function xl(t){var e=t.ok,n=t.edgeOkViaNode||t.ok,r=t.parentOk||t.ok;return function(){var t=this.cy();if(!t.styleEnabled())return!0;var i=this[0],a=t.hasCompoundNodes();if(i){var o=i._private;if(!e(i))return!1;if(i.isNode())return!a||El(i,r);var s=o.source,c=o.target;return n(s)&&(!a||El(s,n))&&(s===c||n(c)&&(!a||El(c,n)))}}}var _l=Tl("eleTakesUpSpace",(function(t){return"element"===t.pstyle("display").value&&0!==t.width()&&(!t.isNode()||0!==t.height())}));Cl.takesUpSpace=kl("takesUpSpace",xl({ok:_l}));var Bl=Tl("eleInteractive",(function(t){return"yes"===t.pstyle("events").value&&"visible"===t.pstyle("visibility").value&&_l(t)})),Sl=Tl("parentInteractive",(function(t){return"visible"===t.pstyle("visibility").value&&_l(t)}));Cl.interactive=kl("interactive",xl({ok:Bl,parentOk:Sl,edgeOkViaNode:_l})),Cl.noninteractive=function(){var t=this[0];if(t)return!t.interactive()};var Ll=Tl("eleVisible",(function(t){return"visible"===t.pstyle("visibility").value&&0!==t.pstyle("opacity").pfValue&&_l(t)})),Il=_l;Cl.visible=kl("visible",xl({ok:Ll,edgeOkViaNode:Il})),Cl.hidden=function(){var t=this[0];if(t)return!t.visible()},Cl.isBundledBezier=kl("isBundledBezier",(function(){return!!this.cy().styleEnabled()&&!this.removed()&&"bezier"===this.pstyle("curve-style").value&&this.takesUpSpace()})),Cl.bypass=Cl.css=Cl.style,Cl.renderedCss=Cl.renderedStyle,Cl.removeBypass=Cl.removeCss=Cl.removeStyle,Cl.pstyle=Cl.parsedStyle;var Ml={};function Ol(t){return function(){var e=arguments,n=[];if(2===e.length){var r=e[0],i=e[1];this.on(t.event,r,i)}else if(1===e.length&&y(e[0])){var a=e[0];this.on(t.event,a)}else if(0===e.length||1===e.length&&w(e[0])){for(var o=1===e.length?e[0]:null,s=0;s<this.length;s++){var c=this[s],l=!t.ableField||c._private[t.ableField],u=c._private[t.field]!=t.value;if(t.overrideAble){var h=t.overrideAble(c);if(void 0!==h&&(l=h,!h))return this}l&&(c._private[t.field]=t.value,u&&n.push(c))}var f=this.spawn(n);f.updateStyle(),f.emit(t.event),o&&f.emit(o)}return this}}function Nl(t){Ml[t.field]=function(){var e=this[0];if(e){if(t.overrideField){var n=t.overrideField(e);if(void 0!==n)return n}return e._private[t.field]}},Ml[t.on]=Ol({event:t.on,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!0}),Ml[t.off]=Ol({event:t.off,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!1})}Nl({field:"locked",overrideField:function(t){return!!t.cy().autolock()||void 0},on:"lock",off:"unlock"}),Nl({field:"grabbable",overrideField:function(t){return!t.cy().autoungrabify()&&!t.pannable()&&void 0},on:"grabify",off:"ungrabify"}),Nl({field:"selected",ableField:"selectable",overrideAble:function(t){return!t.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),Nl({field:"selectable",overrideField:function(t){return!t.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),Ml.deselect=Ml.unselect,Ml.grabbed=function(){var t=this[0];if(t)return t._private.grabbed},Nl({field:"active",on:"activate",off:"unactivate"}),Nl({field:"pannable",on:"panify",off:"unpanify"}),Ml.inactive=function(){var t=this[0];if(t)return!t._private.active};var Dl={},Fl=function(t){return function(e){for(var n=this,r=[],i=0;i<n.length;i++){var a=n[i];if(a.isNode()){for(var o=!1,s=a.connectedEdges(),c=0;c<s.length;c++){var l=s[c],u=l.source(),h=l.target();if(t.noIncomingEdges&&h===a&&u!==a||t.noOutgoingEdges&&u===a&&h!==a){o=!0;break}}o||r.push(a)}}return this.spawn(r,!0).filter(e)}},Pl=function(t){return function(e){for(var n=this,r=[],i=0;i<n.length;i++){var a=n[i];if(a.isNode())for(var o=a.connectedEdges(),s=0;s<o.length;s++){var c=o[s],l=c.source(),u=c.target();t.outgoing&&l===a?(r.push(c),r.push(u)):t.incoming&&u===a&&(r.push(c),r.push(l))}}return this.spawn(r,!0).filter(e)}},Rl=function(t){return function(e){for(var n=this,r=[],i={};;){var a=t.outgoing?n.outgoers():n.incomers();if(0===a.length)break;for(var o=!1,s=0;s<a.length;s++){var c=a[s],l=c.id();i[l]||(i[l]=!0,r.push(c),o=!0)}if(!o)break;n=a}return this.spawn(r,!0).filter(e)}};function Ql(t){return function(e){for(var n=[],r=0;r<this.length;r++){var i=this[r]._private[t.attr];i&&n.push(i)}return this.spawn(n,!0).filter(e)}}function Ul(t){return function(e){var n=[],r=this._private.cy,i=t||{};v(e)&&(e=r.$(e));for(var a=0;a<e.length;a++)for(var o=e[a]._private.edges,s=0;s<o.length;s++){var c=o[s],l=c._private.data,u=this.hasElementWithId(l.source)&&e.hasElementWithId(l.target),h=e.hasElementWithId(l.source)&&this.hasElementWithId(l.target);if(u||h){if(i.thisIsSrc||i.thisIsTgt){if(i.thisIsSrc&&!u)continue;if(i.thisIsTgt&&!h)continue}n.push(c)}}return this.spawn(n,!0)}}function Hl(t){return t=J({},{codirected:!1},t),function(e){for(var n=[],r=this.edges(),i=t,a=0;a<r.length;a++)for(var o=r[a]._private,s=o.source,c=s._private.data.id,l=o.data.target,u=s._private.edges,h=0;h<u.length;h++){var f=u[h],d=f._private.data,A=d.target,p=d.source,g=A===l&&p===c,m=c===A&&l===p;(i.codirected&&g||!i.codirected&&(g||m))&&n.push(f)}return this.spawn(n,!0).filter(e)}}Dl.clearTraversalCache=function(){for(var t=0;t<this.length;t++)this[t]._private.traversalCache=null},J(Dl,{roots:Fl({noIncomingEdges:!0}),leaves:Fl({noOutgoingEdges:!0}),outgoers:cc(Pl({outgoing:!0}),"outgoers"),successors:Rl({outgoing:!0}),incomers:cc(Pl({incoming:!0}),"incomers"),predecessors:Rl({incoming:!0})}),J(Dl,{neighborhood:cc((function(t){for(var e=[],n=this.nodes(),r=0;r<n.length;r++)for(var i=n[r],a=i.connectedEdges(),o=0;o<a.length;o++){var s=a[o],c=s.source(),l=s.target(),u=i===c?l:c;u.length>0&&e.push(u[0]),e.push(s[0])}return this.spawn(e,!0).filter(t)}),"neighborhood"),closedNeighborhood:function(t){return this.neighborhood().add(this).filter(t)},openNeighborhood:function(t){return this.neighborhood(t)}}),Dl.neighbourhood=Dl.neighborhood,Dl.closedNeighbourhood=Dl.closedNeighborhood,Dl.openNeighbourhood=Dl.openNeighborhood,J(Dl,{source:cc((function(t){var e,n=this[0];return n&&(e=n._private.source||n.cy().collection()),e&&t?e.filter(t):e}),"source"),target:cc((function(t){var e,n=this[0];return n&&(e=n._private.target||n.cy().collection()),e&&t?e.filter(t):e}),"target"),sources:Ql({attr:"source"}),targets:Ql({attr:"target"})}),J(Dl,{edgesWith:cc(Ul(),"edgesWith"),edgesTo:cc(Ul({thisIsSrc:!0}),"edgesTo")}),J(Dl,{connectedEdges:cc((function(t){for(var e=[],n=this,r=0;r<n.length;r++){var i=n[r];if(i.isNode())for(var a=i._private.edges,o=0;o<a.length;o++){var s=a[o];e.push(s)}}return this.spawn(e,!0).filter(t)}),"connectedEdges"),connectedNodes:cc((function(t){for(var e=[],n=this,r=0;r<n.length;r++){var i=n[r];i.isEdge()&&(e.push(i.source()[0]),e.push(i.target()[0]))}return this.spawn(e,!0).filter(t)}),"connectedNodes"),parallelEdges:cc(Hl(),"parallelEdges"),codirectedEdges:cc(Hl({codirected:!0}),"codirectedEdges")}),J(Dl,{components:function(t){var e=this,n=e.cy(),r=n.collection(),i=null==t?e.nodes():t.nodes(),a=[];null!=t&&i.empty()&&(i=t.sources());var o=function(t,e){r.merge(t),i.unmerge(t),e.merge(t)};if(i.empty())return e.spawn();var s=function(){var t=n.collection();a.push(t);var r=i[0];o(r,t),e.bfs({directed:!1,roots:r,visit:function(e){return o(e,t)}}),t.forEach((function(n){n.connectedEdges().forEach((function(n){e.has(n)&&t.has(n.source())&&t.has(n.target())&&t.merge(n)}))}))};do{s()}while(i.length>0);return a},component:function(){var t=this[0];return t.cy().mutableElements().components(t)[0]}}),Dl.componentsOf=Dl.components;var jl=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==t){var i=new ze,a=!1;if(e){if(e.length>0&&T(e[0])&&!B(e[0])){a=!0;for(var o=[],s=new Ve,c=0,l=e.length;c<l;c++){var u=e[c];null==u.data&&(u.data={});var h=u.data;if(null==h.id)h.id=Fe();else if(t.hasElementWithId(h.id)||s.has(h.id))continue;var f=new We(t,u,!1);o.push(f),s.add(h.id)}e=o}}else e=[];this.length=0;for(var d=0,A=e.length;d<A;d++){var p=e[d][0];if(null!=p){var g=p._private.data.id;n&&i.has(g)||(n&&i.set(g,{index:this.length,ele:p}),this[this.length]=p,this.length++)}}this._private={eles:this,cy:t,get map(){return null==this.lazyMap&&this.rebuildMap(),this.lazyMap},set map(t){this.lazyMap=t},rebuildMap:function(){for(var t=this.lazyMap=new ze,e=this.eles,n=0;n<e.length;n++){var r=e[n];t.set(r.id(),{index:n,ele:r})}}},n&&(this._private.map=i),a&&!r&&this.restore()}else Le("A collection must have a reference to the core")},$l=We.prototype=jl.prototype=Object.create(Array.prototype);$l.instanceString=function(){return"collection"},$l.spawn=function(t,e){return new jl(this.cy(),t,e)},$l.spawnSelf=function(){return this.spawn(this)},$l.cy=function(){return this._private.cy},$l.renderer=function(){return this._private.cy.renderer()},$l.element=function(){return this[0]},$l.collection=function(){return S(this)?this:new jl(this._private.cy,[this])},$l.unique=function(){return new jl(this._private.cy,this,!0)},$l.hasElementWithId=function(t){return t=""+t,this._private.map.has(t)},$l.getElementById=function(t){t=""+t;var e=this._private.cy,n=this._private.map.get(t);return n?n.ele:new jl(e)},$l.$id=$l.getElementById,$l.poolIndex=function(){var t=this._private.cy._private.elements,e=this[0]._private.data.id;return t._private.map.get(e).index},$l.indexOf=function(t){var e=t[0]._private.data.id;return this._private.map.get(e).index},$l.indexOfId=function(t){return t=""+t,this._private.map.get(t).index},$l.json=function(t){var e=this.element(),n=this.cy();if(null==e&&t)return this;if(null!=e){var r=e._private;if(T(t)){if(n.startBatch(),t.data){e.data(t.data);var i=r.data;if(e.isEdge()){var a=!1,o={},s=t.data.source,c=t.data.target;null!=s&&s!=i.source&&(o.source=""+s,a=!0),null!=c&&c!=i.target&&(o.target=""+c,a=!0),a&&(e=e.move(o))}else{var l="parent"in t.data,u=t.data.parent;!l||null==u&&null==i.parent||u==i.parent||(void 0===u&&(u=null),null!=u&&(u=""+u),e=e.move({parent:u}))}}t.position&&e.position(t.position);var h=function(n,i,a){var o=t[n];null!=o&&o!==r[n]&&(o?e[i]():e[a]())};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),null!=t.classes&&e.classes(t.classes),n.endBatch(),this}if(void 0===t){var f={data:Ne(r.data),position:Ne(r.position),group:r.group,removed:r.removed,selected:r.selected,selectable:r.selectable,locked:r.locked,grabbable:r.grabbable,pannable:r.pannable,classes:""},d=0;return r.classes.forEach((function(t){return f.classes+=0==d++?t:" "+t})),f}}},$l.jsons=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e].json();t.push(n)}return t},$l.clone=function(){for(var t=this.cy(),e=[],n=0;n<this.length;n++){var r=this[n].json(),i=new We(t,r,!1);e.push(i)}return new jl(t,e)},$l.copy=$l.clone,$l.restore=function(){for(var t,e,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],c=[],l=0,u=i.length;l<u;l++){var h=i[l];r&&!h.removed()||(h.isNode()?s.push(h):c.push(h))}t=s.concat(c);var f=function(){t.splice(e,1),e--};for(e=0;e<t.length;e++){var d=t[e],A=d._private,p=A.data;if(d.clearTraversalCache(),r||A.removed)if(void 0===p.id)p.id=Fe();else if(C(p.id))p.id=""+p.id;else{if(O(p.id)||!v(p.id)){Le("Can not create element with invalid string ID `"+p.id+"`"),f();continue}if(a.hasElementWithId(p.id)){Le("Can not create second element with ID `"+p.id+"`"),f();continue}}var g=p.id;if(d.isNode()){var m=A.position;null==m.x&&(m.x=0),null==m.y&&(m.y=0)}if(d.isEdge()){for(var b=d,y=["source","target"],w=y.length,T=!1,k=0;k<w;k++){var E=y[k],x=p[E];C(x)&&(x=p[E]=""+p[E]),null==x||""===x?(Le("Can not create edge `"+g+"` with unspecified "+E),T=!0):a.hasElementWithId(x)||(Le("Can not create edge `"+g+"` with nonexistant "+E+" `"+x+"`"),T=!0)}if(T){f();continue}var _=a.getElementById(p.source),B=a.getElementById(p.target);_.same(B)?_._private.edges.push(b):(_._private.edges.push(b),B._private.edges.push(b)),b._private.source=_,b._private.target=B}A.map=new ze,A.map.set(g,{ele:d,index:0}),A.removed=!1,r&&a.addToPool(d)}for(var S=0;S<s.length;S++){var L=s[S],I=L._private.data;C(I.parent)&&(I.parent=""+I.parent);var M=I.parent;if(null!=M||L._private.parent){var N=L._private.parent?a.collection().merge(L._private.parent):a.getElementById(M);if(N.empty())I.parent=void 0;else if(N[0].removed())Me("Node added with missing parent, reference to parent removed"),I.parent=void 0,L._private.parent=null;else{for(var D=!1,F=N;!F.empty();){if(L.same(F)){D=!0,I.parent=void 0;break}F=F.parent()}D||(N[0]._private.children.push(L),L._private.parent=N[0],o.hasCompoundNodes=!0)}}}if(t.length>0){for(var P=t.length===i.length?i:new jl(a,t),R=0;R<P.length;R++){var Q=P[R];Q.isNode()||(Q.parallelEdges().clearTraversalCache(),Q.source().clearTraversalCache(),Q.target().clearTraversalCache())}(o.hasCompoundNodes?a.collection().merge(P).merge(P.connectedNodes()).merge(P.parent()):P).dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(n),n?P.emitAndNotify("add"):r&&P.emit("add")}return i},$l.removed=function(){var t=this[0];return t&&t._private.removed},$l.inside=function(){var t=this[0];return t&&!t._private.removed},$l.remove=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(t){for(var e=t._private.edges,n=0;n<e.length;n++)c(e[n])}function s(t){for(var e=t._private.children,n=0;n<e.length;n++)c(e[n])}function c(t){var n=i[t.id()];e&&t.removed()||n||(i[t.id()]=!0,t.isNode()?(r.push(t),o(t),s(t)):r.unshift(t))}for(var l=0,u=n.length;l<u;l++)c(n[l]);function h(t,e){var n=t._private.edges;Ue(n,e),t.clearTraversalCache()}function f(t){t.clearTraversalCache()}var d=[];function A(t,e){e=e[0];var n=(t=t[0])._private.children,r=t.id();Ue(n,e),e._private.parent=null,d.ids[r]||(d.ids[r]=!0,d.push(t))}d.ids={},n.dirtyCompoundBoundsCache(),e&&a.removeFromPool(r);for(var p=0;p<r.length;p++){var g=r[p];if(g.isEdge()){var m=g.source()[0],b=g.target()[0];h(m,g),h(b,g);for(var v=g.parallelEdges(),y=0;y<v.length;y++){var w=v[y];f(w),w.isBundledBezier()&&w.dirtyBoundingBoxCache()}}else{var T=g.parent();0!==T.length&&A(T,g)}e&&(g._private.removed=!0)}var k=a._private.elements;a._private.hasCompoundNodes=!1;for(var C=0;C<k.length;C++)if(k[C].isParent()){a._private.hasCompoundNodes=!0;break}var E=new jl(this.cy(),r);E.size()>0&&(t?E.emitAndNotify("remove"):e&&E.emit("remove"));for(var x=0;x<d.length;x++){var _=d[x];e&&_.removed()||_.updateStyle()}return E},$l.move=function(t){var e=this._private.cy,n=this,r=!1,i=!1,a=function(t){return null==t?t:""+t};if(void 0!==t.source||void 0!==t.target){var o=a(t.source),s=a(t.target),c=null!=o&&e.hasElementWithId(o),l=null!=s&&e.hasElementWithId(s);(c||l)&&(e.batch((function(){n.remove(r,i),n.emitAndNotify("moveout");for(var t=0;t<n.length;t++){var e=n[t],a=e._private.data;e.isEdge()&&(c&&(a.source=o),l&&(a.target=s))}n.restore(r,i)})),n.emitAndNotify("move"))}else if(void 0!==t.parent){var u=a(t.parent);if(null===u||e.hasElementWithId(u)){var h=null===u?void 0:u;e.batch((function(){var t=n.remove(r,i);t.emitAndNotify("moveout");for(var e=0;e<n.length;e++){var a=n[e],o=a._private.data;a.isNode()&&(o.parent=h)}t.restore(r,i)})),n.emitAndNotify("move")}}return this},[Pi,Is,Ms,ac,lc,gc,mc,Wc,fl,dl,pl,ml,yl,Cl,Ml,Dl].forEach((function(t){J($l,t)}));var Kl={add:function(t){var e,n=this;if(_(t)){var r=t;if(r._private.cy===n)e=r.restore();else{for(var i=[],a=0;a<r.length;a++){var o=r[a];i.push(o.json())}e=new jl(n,i)}}else if(w(t))e=new jl(n,t);else if(T(t)&&(w(t.nodes)||w(t.edges))){for(var s=t,c=[],l=["nodes","edges"],u=0,h=l.length;u<h;u++){var f=l[u],d=s[f];if(w(d))for(var A=0,p=d.length;A<p;A++){var g=J({group:f},d[A]);c.push(g)}}e=new jl(n,c)}else e=new We(n,t).collection();return e},remove:function(t){if(_(t));else if(v(t)){var e=t;t=this.$(e)}return t.remove()}};function Gl(t,e,n,r){var i=4,a=.001,o=1e-7,s=10,c=11,l=1/(c-1),u="undefined"!=typeof Float32Array;if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var f=u?new Float32Array(c):new Array(c);function d(t,e){return 1-3*e+3*t}function A(t,e){return 3*e-6*t}function p(t){return 3*t}function g(t,e,n){return((d(e,n)*t+A(e,n))*t+p(e))*t}function m(t,e,n){return 3*d(e,n)*t*t+2*A(e,n)*t+p(e)}function b(e,r){for(var a=0;a<i;++a){var o=m(r,t,n);if(0===o)return r;r-=(g(r,t,n)-e)/o}return r}function v(){for(var e=0;e<c;++e)f[e]=g(e*l,t,n)}function y(e,r,i){var a,c,l=0;do{(a=g(c=r+(i-r)/2,t,n)-e)>0?i=c:r=c}while(Math.abs(a)>o&&++l<s);return c}function w(e){for(var r=0,i=1,o=c-1;i!==o&&f[i]<=e;++i)r+=l;--i;var s=r+(e-f[i])/(f[i+1]-f[i])*l,u=m(s,t,n);return u>=a?b(e,s):0===u?s:y(e,r,r+l)}var T=!1;function k(){T=!0,t===e&&n===r||v()}var C=function(i){return T||k(),t===e&&n===r?i:0===i?0:1===i?1:g(w(i),e,r)};C.getControlPoints=function(){return[{x:t,y:e},{x:n,y:r}]};var E="generateBezier("+[t,e,n,r]+")";return C.toString=function(){return E},C}var zl=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,r){var i={x:e.x+r.dx*n,v:e.v+r.dv*n,tension:e.tension,friction:e.friction};return{dx:i.v,dv:t(i)}}function n(n,r){var i={dx:n.v,dv:t(n)},a=e(n,.5*r,i),o=e(n,.5*r,a),s=e(n,r,o),c=1/6*(i.dx+2*(a.dx+o.dx)+s.dx),l=1/6*(i.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+c*r,n.v=n.v+l*r,n}return function t(e,r,i){var a,o,s,c={x:-1,v:0,tension:null,friction:null},l=[0],u=0,h=1e-4,f=.016;for(e=parseFloat(e)||500,r=parseFloat(r)||20,i=i||null,c.tension=e,c.friction=r,o=(a=null!==i)?(u=t(e,r))/i*f:f;s=n(s||c,o),l.push(1+s.x),u+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(t){return l[t*(l.length-1)|0]}:u}}(),Xl=function(t,e,n,r){var i=Gl(t,e,n,r);return function(t,e,n){return t+(e-t)*i(n)}},ql={linear:function(t,e,n){return t+(e-t)*n},ease:Xl(.25,.1,.25,1),"ease-in":Xl(.42,0,1,1),"ease-out":Xl(0,0,.58,1),"ease-in-out":Xl(.42,0,.58,1),"ease-in-sine":Xl(.47,0,.745,.715),"ease-out-sine":Xl(.39,.575,.565,1),"ease-in-out-sine":Xl(.445,.05,.55,.95),"ease-in-quad":Xl(.55,.085,.68,.53),"ease-out-quad":Xl(.25,.46,.45,.94),"ease-in-out-quad":Xl(.455,.03,.515,.955),"ease-in-cubic":Xl(.55,.055,.675,.19),"ease-out-cubic":Xl(.215,.61,.355,1),"ease-in-out-cubic":Xl(.645,.045,.355,1),"ease-in-quart":Xl(.895,.03,.685,.22),"ease-out-quart":Xl(.165,.84,.44,1),"ease-in-out-quart":Xl(.77,0,.175,1),"ease-in-quint":Xl(.755,.05,.855,.06),"ease-out-quint":Xl(.23,1,.32,1),"ease-in-out-quint":Xl(.86,0,.07,1),"ease-in-expo":Xl(.95,.05,.795,.035),"ease-out-expo":Xl(.19,1,.22,1),"ease-in-out-expo":Xl(1,0,0,1),"ease-in-circ":Xl(.6,.04,.98,.335),"ease-out-circ":Xl(.075,.82,.165,1),"ease-in-out-circ":Xl(.785,.135,.15,.86),spring:function(t,e,n){if(0===n)return ql.linear;var r=zl(t,e,n);return function(t,e,n){return t+(e-t)*r(n)}},"cubic-bezier":Xl};function Vl(t,e,n,r,i){if(1===r)return n;if(e===n)return n;var a=i(e,n,r);return null==t||((t.roundValue||t.color)&&(a=Math.round(a)),void 0!==t.min&&(a=Math.max(a,t.min)),void 0!==t.max&&(a=Math.min(a,t.max))),a}function Wl(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Yl(t,e,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=Wl(t,i),s=Wl(e,i);if(C(o)&&C(s))return Vl(a,o,s,n,r);if(w(o)&&w(s)){for(var c=[],l=0;l<s.length;l++){var u=o[l],h=s[l];if(null!=u&&null!=h){var f=Vl(a,u,h,n,r);c.push(f)}else c.push(h)}return c}}function Jl(t,e,n,r){var i=!r,a=t._private,o=e._private,s=o.easing,c=o.startTime,l=(r?t:t.cy()).style();if(!o.easingImpl)if(null==s)o.easingImpl=ql.linear;else{var u,h,f;u=v(s)?l.parse("transition-timing-function",s).value:s,v(u)?(h=u,f=[]):(h=u[1],f=u.slice(2).map((function(t){return+t}))),f.length>0?("spring"===h&&f.push(o.duration),o.easingImpl=ql[h].apply(null,f)):o.easingImpl=ql[h]}var d,A=o.easingImpl;if(d=0===o.duration?1:(n-c)/o.duration,o.applying&&(d=o.progress),d<0?d=0:d>1&&(d=1),null==o.delay){var p=o.startPosition,g=o.position;if(g&&i&&!t.locked()){var m={};Zl(p.x,g.x)&&(m.x=Yl(p.x,g.x,d,A)),Zl(p.y,g.y)&&(m.y=Yl(p.y,g.y,d,A)),t.position(m)}var b=o.startPan,y=o.pan,w=a.pan,T=null!=y&&r;T&&(Zl(b.x,y.x)&&(w.x=Yl(b.x,y.x,d,A)),Zl(b.y,y.y)&&(w.y=Yl(b.y,y.y,d,A)),t.emit("pan"));var k=o.startZoom,C=o.zoom,E=null!=C&&r;E&&(Zl(k,C)&&(a.zoom=On(a.minZoom,Yl(k,C,d,A),a.maxZoom)),t.emit("zoom")),(T||E)&&t.emit("viewport");var x=o.style;if(x&&x.length>0&&i){for(var _=0;_<x.length;_++){var B=x[_],S=B.name,L=B,I=o.startStyle[S],M=Yl(I,L,d,A,l.properties[I.name]);l.overrideBypass(t,S,M)}t.emit("style")}}return o.progress=d,d}function Zl(t,e){return!!(null!=t&&null!=e&&(C(t)&&C(e)||t&&e))}function tu(t,e,n,r){var i=e._private;i.started=!0,i.startTime=n-i.progress*i.duration}function eu(t,e){var n=e._private.aniEles,r=[];function i(e,n){var i=e._private,a=i.animation.current,o=i.animation.queue,s=!1;if(0===a.length){var c=o.shift();c&&a.push(c)}for(var l=function(t){for(var e=t.length-1;e>=0;e--)(0,t[e])();t.splice(0,t.length)},u=a.length-1;u>=0;u--){var h=a[u],f=h._private;f.stopped?(a.splice(u,1),f.hooked=!1,f.playing=!1,f.started=!1,l(f.frames)):(f.playing||f.applying)&&(f.playing&&f.applying&&(f.applying=!1),f.started||tu(e,h,t),Jl(e,h,t,n),f.applying&&(f.applying=!1),l(f.frames),null!=f.step&&f.step(t),h.completed()&&(a.splice(u,1),f.hooked=!1,f.playing=!1,f.started=!1,l(f.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(e),s}for(var a=!1,o=0;o<n.length;o++){var s=i(n[o]);a=a||s}var c=i(e,!0);(a||c)&&(n.length>0?e.notify("draw",n):e.notify("draw")),n.unmerge(r),e.emit("step")}var nu={animate:Ls.animate(),animation:Ls.animation(),animated:Ls.animated(),clearQueue:Ls.clearQueue(),delay:Ls.delay(),delayAnimation:Ls.delayAnimation(),stop:Ls.stop(),addToAnimationPool:function(t){var e=this;e.styleEnabled()&&e._private.aniEles.merge(t)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var t=this;if(t._private.animationsRunning=!0,t.styleEnabled()){var e=t.renderer();e&&e.beforeRender?e.beforeRender((function(e,n){eu(n,t)}),e.beforeRenderPriorities.animations):n()}function n(){t._private.animationsRunning&&se((function(e){eu(e,t),n()}))}}},ru={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var r=e.qualifier;return null==r||t!==n.target&&B(n.target)&&r.matches(n.target)},addEventFields:function(t,e){e.cy=t,e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t}},iu=function(t){return v(t)?new rc(t):t},au={createEmitter:function(){var t=this._private;return t.emitter||(t.emitter=new al(ru,this)),this},emitter:function(){return this._private.emitter},on:function(t,e,n){return this.emitter().on(t,iu(e),n),this},removeListener:function(t,e,n){return this.emitter().removeListener(t,iu(e),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(t,e,n){return this.emitter().one(t,iu(e),n),this},once:function(t,e,n){return this.emitter().one(t,iu(e),n),this},emit:function(t,e){return this.emitter().emit(t,e),this},emitAndNotify:function(t,e){return this.emit(t),this.notify(t,e),this}};Ls.eventAliasesOn(au);var ou={png:function(t){return t=t||{},this._private.renderer.png(t)},jpg:function(t){var e=this._private.renderer;return(t=t||{}).bg=t.bg||"#fff",e.jpg(t)}};ou.jpeg=ou.jpg;var su={layout:function(t){var e=this;if(null!=t)if(null!=t.name){var n=t.name,r=e.extension("layout",n);if(null!=r){var i;i=v(t.eles)?e.$(t.eles):null!=t.eles?t.eles:e.$();var a=new r(J({},t,{cy:e,eles:i}));return a}Le("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Le("A `name` must be specified to make a layout");else Le("Layout options must be specified to make a layout")}};su.createLayout=su.makeLayout=su.layout;var cu={notify:function(t,e){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[t]=n.batchNotifications[t]||this.collection();null!=e&&r.merge(e)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(t,e)}},notifications:function(t){var e=this._private;return void 0===t?e.notificationsEnabled:(e.notificationsEnabled=!!t,this)},noNotifications:function(t){this.notifications(!1),t(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var t=this._private;return null==t.batchCount&&(t.batchCount=0),0===t.batchCount&&(t.batchStyleEles=this.collection(),t.batchNotifications={}),t.batchCount++,this},endBatch:function(){var t=this._private;if(0===t.batchCount)return this;if(t.batchCount--,0===t.batchCount){t.batchStyleEles.updateStyle();var e=this.renderer();Object.keys(t.batchNotifications).forEach((function(n){var r=t.batchNotifications[n];r.empty()?e.notify(n):e.notify(n,r)}))}return this},batch:function(t){return this.startBatch(),t(),this.endBatch(),this},batchData:function(t){var e=this;return this.batch((function(){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r],a=t[i];e.getElementById(i).data(a)}}))}},lu=Qe({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),uu={renderTo:function(t,e,n,r){return this._private.renderer.renderTo(t,e,n,r),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(t){var e=this,n=e.extension("renderer",t.name);if(null!=n){void 0!==t.wheelSensitivity&&Me("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var r=lu(t);r.cy=e,e._private.renderer=new n(r),this.notify("init")}else Le("Can not initialise: No such renderer `".concat(t.name,"` found. Did you forget to import it and `cytoscape.use()` it?"))},destroyRenderer:function(){var t=this;t.notify("destroy");var e=t.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);t._private.renderer=null,t.mutableElements().forEach((function(t){var e=t._private;e.rscratch={},e.rstyle={},e.animation.current=[],e.animation.queue=[]}))},onRender:function(t){return this.on("render",t)},offRender:function(t){return this.off("render",t)}};uu.invalidateDimensions=uu.resize;var hu={collection:function(t,e){return v(t)?this.$(t):_(t)?t.collection():w(t)?(e||(e={}),new jl(this,t,e.unique,e.removed)):new jl(this)},nodes:function(t){var e=this.$((function(t){return t.isNode()}));return t?e.filter(t):e},edges:function(t){var e=this.$((function(t){return t.isEdge()}));return t?e.filter(t):e},$:function(t){var e=this._private.elements;return t?e.filter(t):e.spawnSelf()},mutableElements:function(){return this._private.elements}};hu.elements=hu.filter=hu.$;var fu={},du="t",Au="f";fu.apply=function(t){for(var e=this,n=e._private.cy.collection(),r=0;r<t.length;r++){var i=t[r],a=e.getContextMeta(i);if(!a.empty){var o=e.getContextStyle(a),s=e.applyContextStyle(a,o,i);i._private.appliedInitStyle?e.updateTransitions(i,s.diffProps):i._private.appliedInitStyle=!0,e.updateStyleHints(i)&&n.push(i)}}return n},fu.getPropertiesDiff=function(t,e){var n=this,r=n._private.propDiffs=n._private.propDiffs||{},i=t+"-"+e,a=r[i];if(a)return a;for(var o=[],s={},c=0;c<n.length;c++){var l=n[c],u=t[c]===du,h=e[c]===du,f=u!==h,d=l.mappedProperties.length>0;if(f||h&&d){var A=void 0;f&&d||f?A=l.properties:d&&(A=l.mappedProperties);for(var p=0;p<A.length;p++){for(var g=A[p],m=g.name,b=!1,v=c+1;v<n.length;v++){var y=n[v];if(e[v]===du&&(b=null!=y.properties[g.name]))break}s[m]||b||(s[m]=!0,o.push(m))}}}return r[i]=o,o},fu.getContextMeta=function(t){for(var e,n=this,r="",i=t._private.styleCxtKey||"",a=0;a<n.length;a++){var o=n[a];r+=o.selector&&o.selector.matches(t)?du:Au}return e=n.getPropertiesDiff(i,r),t._private.styleCxtKey=r,{key:r,diffPropNames:e,empty:0===e.length}},fu.getContextStyle=function(t){var e=t.key,n=this,r=this._private.contextStyles=this._private.contextStyles||{};if(r[e])return r[e];for(var i={_private:{key:e}},a=0;a<n.length;a++){var o=n[a];if(e[a]===du)for(var s=0;s<o.properties.length;s++){var c=o.properties[s];i[c.name]=c}}return r[e]=i,i},fu.applyContextStyle=function(t,e,n){for(var r=this,i=t.diffPropNames,a={},o=r.types,s=0;s<i.length;s++){var c=i[s],l=e[c],u=n.pstyle(c);if(!l){if(!u)continue;l=u.bypass?{name:c,deleteBypassed:!0}:{name:c,delete:!0}}if(u!==l){if(l.mapped===o.fn&&null!=u&&null!=u.mapping&&u.mapping.value===l.value){var h=u.mapping;if((h.fnValue=l.value(n))===h.prevFnValue)continue}var f=a[c]={prev:u};r.applyParsedProperty(n,l),f.next=n.pstyle(c),f.next&&f.next.bypass&&(f.next=f.next.bypassed)}}return{diffProps:a}},fu.updateStyleHints=function(t){var e=t._private,n=this,r=n.propertyGroupNames,i=n.propertyGroupKeys,a=function(t,e,r){return n.getPropertiesHash(t,e,r)},o=e.styleKey;if(t.removed())return!1;var s="nodes"===e.group,c=t._private.style;r=Object.keys(c);for(var l=0;l<i.length;l++){var u=i[l];e.styleKeys[u]=[le,he]}for(var h=function(t,n){return e.styleKeys[n][0]=de(t,e.styleKeys[n][0])},f=function(t,n){return e.styleKeys[n][1]=Ae(t,e.styleKeys[n][1])},d=function(t,e){h(t,e),f(t,e)},A=function(t,e){for(var n=0;n<t.length;n++){var r=t.charCodeAt(n);h(r,e),f(r,e)}},p=2e9,g=function(t){return-128<t&&t<128&&Math.floor(t)!==t?p-(1024*t|0):t},m=0;m<r.length;m++){var b=r[m],v=c[b];if(null!=v){var y=this.properties[b],w=y.type,T=y.groupKey,k=void 0;null!=y.hashOverride?k=y.hashOverride(t,v):null!=v.pfValue&&(k=v.pfValue);var C=null==y.enums?v.value:null,E=null!=k,x=E||null!=C,_=v.units;w.number&&x&&!w.multiple?(d(g(E?k:C),T),E||null==_||A(_,T)):A(v.strValue,T)}}for(var B=[le,he],S=0;S<i.length;S++){var L=i[S],I=e.styleKeys[L];B[0]=de(I[0],B[0]),B[1]=Ae(I[1],B[1])}e.styleKey=pe(B[0],B[1]);var M=e.styleKeys;e.labelDimsKey=ge(M.labelDimensions);var O=a(t,["label"],M.labelDimensions);if(e.labelKey=ge(O),e.labelStyleKey=ge(me(M.commonLabel,O)),!s){var N=a(t,["source-label"],M.labelDimensions);e.sourceLabelKey=ge(N),e.sourceLabelStyleKey=ge(me(M.commonLabel,N));var D=a(t,["target-label"],M.labelDimensions);e.targetLabelKey=ge(D),e.targetLabelStyleKey=ge(me(M.commonLabel,D))}if(s){var F=e.styleKeys,P=F.nodeBody,R=F.nodeBorder,Q=F.backgroundImage,U=F.compound,H=F.pie,j=[P,R,Q,U,H].filter((function(t){return null!=t})).reduce(me,[le,he]);e.nodeKey=ge(j),e.hasPie=null!=H&&H[0]!==le&&H[1]!==he}return o!==e.styleKey},fu.clearStyleHints=function(t){var e=t._private;e.styleCxtKey="",e.styleKeys={},e.styleKey=null,e.labelKey=null,e.labelStyleKey=null,e.sourceLabelKey=null,e.sourceLabelStyleKey=null,e.targetLabelKey=null,e.targetLabelStyleKey=null,e.nodeKey=null,e.hasPie=null},fu.applyParsedProperty=function(t,e){var n,r=this,i=e,a=t._private.style,o=r.types,s=r.properties[i.name].type,c=i.bypass,l=a[i.name],u=l&&l.bypass,h=t._private,f="mapping",d=function(t){return null==t?null:null!=t.pfValue?t.pfValue:t.value},A=function(){var e=d(l),n=d(i);r.checkTriggers(t,i.name,e,n)};if(i&&"pie"===i.name.substr(0,3)&&Me("The pie style properties are deprecated. Create charts using background images instead."),"curve-style"===e.name&&t.isEdge()&&("bezier"!==e.value&&t.isLoop()||"haystack"===e.value&&(t.source().isParent()||t.target().isParent()))&&(i=e=this.parse(e.name,"bezier",c)),i.delete)return a[i.name]=void 0,A(),!0;if(i.deleteBypassed)return l?!!l.bypass&&(l.bypassed=void 0,A(),!0):(A(),!0);if(i.deleteBypass)return l?!!l.bypass&&(a[i.name]=l.bypassed,A(),!0):(A(),!0);var p=function(){Me("Do not assign mappings to elements without corresponding data (i.e. ele `"+t.id()+"` has no mapping for property `"+i.name+"` with data field `"+i.field+"`); try a `["+i.field+"]` selector to limit scope to elements with `"+i.field+"` defined")};switch(i.mapped){case o.mapData:for(var g,m=i.field.split("."),b=h.data,v=0;v<m.length&&b;v++)b=b[m[v]];if(null==b)return p(),!1;if(!C(b))return Me("Do not use continuous mappers without specifying numeric data (i.e. `"+i.field+": "+b+"` for `"+t.id()+"` is non-numeric)"),!1;var y=i.fieldMax-i.fieldMin;if((g=0===y?0:(b-i.fieldMin)/y)<0?g=0:g>1&&(g=1),s.color){var w=i.valueMin[0],T=i.valueMax[0],k=i.valueMin[1],E=i.valueMax[1],x=i.valueMin[2],_=i.valueMax[2],B=null==i.valueMin[3]?1:i.valueMin[3],S=null==i.valueMax[3]?1:i.valueMax[3],L=[Math.round(w+(T-w)*g),Math.round(k+(E-k)*g),Math.round(x+(_-x)*g),Math.round(B+(S-B)*g)];n={bypass:i.bypass,name:i.name,value:L,strValue:"rgb("+L[0]+", "+L[1]+", "+L[2]+")"}}else{if(!s.number)return!1;var I=i.valueMin+(i.valueMax-i.valueMin)*g;n=this.parse(i.name,I,i.bypass,f)}if(!n)return p(),!1;n.mapping=i,i=n;break;case o.data:for(var M=i.field.split("."),O=h.data,N=0;N<M.length&&O;N++)O=O[M[N]];if(null!=O&&(n=this.parse(i.name,O,i.bypass,f)),!n)return p(),!1;n.mapping=i,i=n;break;case o.fn:var D=i.value,F=null!=i.fnValue?i.fnValue:D(t);if(i.prevFnValue=F,null==F)return Me("Custom function mappers may not return null (i.e. `"+i.name+"` for ele `"+t.id()+"` is null)"),!1;if(!(n=this.parse(i.name,F,i.bypass,f)))return Me("Custom function mappers may not return invalid values for the property type (i.e. `"+i.name+"` for ele `"+t.id()+"` is invalid)"),!1;n.mapping=Ne(i),i=n;break;case void 0:break;default:return!1}return c?(i.bypassed=u?l.bypassed:l,a[i.name]=i):u?l.bypassed=i:a[i.name]=i,A(),!0},fu.cleanElements=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(this.clearStyleHints(r),r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),e)for(var i=r._private.style,a=Object.keys(i),o=0;o<a.length;o++){var s=a[o],c=i[s];null!=c&&(c.bypass?c.bypassed=null:i[s]=null)}else r._private.style={}}},fu.update=function(){this._private.cy.mutableElements().updateStyle()},fu.updateTransitions=function(t,e){var n=this,r=t._private,i=t.pstyle("transition-property").value,a=t.pstyle("transition-duration").pfValue,o=t.pstyle("transition-delay").pfValue;if(i.length>0&&a>0){for(var s={},c=!1,l=0;l<i.length;l++){var u=i[l],h=t.pstyle(u),f=e[u];if(f){var d=f.prev,A=null!=f.next?f.next:h,p=!1,g=void 0,m=1e-6;d&&(C(d.pfValue)&&C(A.pfValue)?(p=A.pfValue-d.pfValue,g=d.pfValue+m*p):C(d.value)&&C(A.value)?(p=A.value-d.value,g=d.value+m*p):w(d.value)&&w(A.value)&&(p=d.value[0]!==A.value[0]||d.value[1]!==A.value[1]||d.value[2]!==A.value[2],g=d.strValue),p&&(s[u]=A.strValue,this.applyBypass(t,u,g),c=!0))}}if(!c)return;r.transitioning=!0,new Xi((function(e){o>0?t.delayAnimation(o).play().promise().then(e):e()})).then((function(){return t.animation({style:s,duration:a,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(t,i),t.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(t,i),t.emitAndNotify("style"),r.transitioning=!1)},fu.checkTrigger=function(t,e,n,r,i,a){var o=this.properties[e],s=i(o);null!=s&&s(n,r)&&a(o)},fu.checkZOrderTrigger=function(t,e,n,r){var i=this;this.checkTrigger(t,e,n,r,(function(t){return t.triggersZOrder}),(function(){i._private.cy.notify("zorder",t)}))},fu.checkBoundsTrigger=function(t,e,n,r){this.checkTrigger(t,e,n,r,(function(t){return t.triggersBounds}),(function(i){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),!i.triggersBoundsOfParallelBeziers||("curve-style"!==e||"bezier"!==n&&"bezier"!==r)&&("display"!==e||"none"!==n&&"none"!==r)||t.parallelEdges().forEach((function(t){t.isBundledBezier()&&t.dirtyBoundingBoxCache()}))}))},fu.checkTriggers=function(t,e,n,r){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,n,r),this.checkBoundsTrigger(t,e,n,r)};var pu={applyBypass:function(t,e,n,r){var i=this,a=[],o=!0;if("*"===e||"**"===e){if(void 0!==n)for(var s=0;s<i.properties.length;s++){var c=i.properties[s].name,l=this.parse(c,n,!0);l&&a.push(l)}}else if(v(e)){var u=this.parse(e,n,!0);u&&a.push(u)}else{if(!T(e))return!1;var h=e;r=n;for(var f=Object.keys(h),d=0;d<f.length;d++){var A=f[d],p=h[A];if(void 0===p&&(p=h[U(A)]),void 0!==p){var g=this.parse(A,p,!0);g&&a.push(g)}}}if(0===a.length)return!1;for(var m=!1,b=0;b<t.length;b++){for(var y=t[b],w={},k=void 0,C=0;C<a.length;C++){var E=a[C];if(r){var x=y.pstyle(E.name);k=w[E.name]={prev:x}}m=this.applyParsedProperty(y,Ne(E))||m,r&&(k.next=y.pstyle(E.name))}m&&this.updateStyleHints(y),r&&this.updateTransitions(y,w,o)}return m},overrideBypass:function(t,e,n){e=Q(e);for(var r=0;r<t.length;r++){var i=t[r],a=i._private.style[e],o=this.properties[e].type,s=o.color,c=o.mutiple,l=a?null!=a.pfValue?a.pfValue:a.value:null;a&&a.bypass?(a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=s?"rgb("+n.join(",")+")":c?n.join(" "):""+n,this.updateStyleHints(i)):this.applyBypass(i,e,n),this.checkTriggers(i,e,l,n)}},removeAllBypasses:function(t,e){return this.removeBypasses(t,this.propertyNames,e)},removeBypasses:function(t,e,n){for(var r=!0,i=0;i<t.length;i++){for(var a=t[i],o={},s=0;s<e.length;s++){var c=e[s],l=this.properties[c],u=a.pstyle(l.name);if(u&&u.bypass){var h="",f=this.parse(c,h,!0),d=o[l.name]={prev:u};this.applyParsedProperty(a,f),d.next=a.pstyle(l.name)}}this.updateStyleHints(a),n&&this.updateTransitions(a,o,r)}}},gu={getEmSizeInPixels:function(){var t=this.containerCss("font-size");return null!=t?parseFloat(t):1},containerCss:function(t){var e=this._private.cy,n=e.container(),r=e.window();if(r&&n&&r.getComputedStyle)return r.getComputedStyle(n).getPropertyValue(t)}},mu={getRenderedStyle:function(t,e){return e?this.getStylePropertyValue(t,e,!0):this.getRawStyle(t,!0)},getRawStyle:function(t,e){var n=this;if(t=t[0]){for(var r={},i=0;i<n.properties.length;i++){var a=n.properties[i],o=n.getStylePropertyValue(t,a.name,e);null!=o&&(r[a.name]=o,r[U(a.name)]=o)}return r}},getIndexedStyle:function(t,e,n,r){var i=t.pstyle(e)[n][r];return null!=i?i:t.cy().style().getDefaultProperty(e)[n][0]},getStylePropertyValue:function(t,e,n){var r=this;if(t=t[0]){var i=r.properties[e];i.alias&&(i=i.pointsTo);var a=i.type,o=t.pstyle(i.name);if(o){var s=o.value,c=o.units,l=o.strValue;if(n&&a.number&&null!=s&&C(s)){var u=t.cy().zoom(),h=function(t){return t*u},f=function(t,e){return h(t)+e},d=w(s);return(d?c.every((function(t){return null!=t})):null!=c)?d?s.map((function(t,e){return f(t,c[e])})).join(" "):f(s,c):d?s.map((function(t){return v(t)?t:""+h(t)})).join(" "):""+h(s)}if(null!=l)return l}return null}},getAnimationStartStyle:function(t,e){for(var n={},r=0;r<e.length;r++){var i=e[r].name,a=t.pstyle(i);void 0!==a&&(a=T(a)?this.parse(i,a.strValue):this.parse(i,a)),a&&(n[i]=a)}return n},getPropsList:function(t){var e=[],n=t,r=this.properties;if(n)for(var i=Object.keys(n),a=0;a<i.length;a++){var o=i[a],s=n[o],c=r[o]||r[Q(o)],l=this.parse(c.name,s);l&&e.push(l)}return e},getNonDefaultPropertiesHash:function(t,e,n){var r,i,a,o,s,c,l=n.slice();for(s=0;s<e.length;s++)if(r=e[s],null!=(i=t.pstyle(r,!1)))if(null!=i.pfValue)l[0]=de(o,l[0]),l[1]=Ae(o,l[1]);else for(a=i.strValue,c=0;c<a.length;c++)o=a.charCodeAt(c),l[0]=de(o,l[0]),l[1]=Ae(o,l[1]);return l}};mu.getPropertiesHash=mu.getNonDefaultPropertiesHash;var bu={appendFromJson:function(t){for(var e=this,n=0;n<t.length;n++){var r=t[n],i=r.selector,a=r.style||r.css,o=Object.keys(a);e.selector(i);for(var s=0;s<o.length;s++){var c=o[s],l=a[c];e.css(c,l)}}return e},fromJson:function(t){var e=this;return e.resetToDefault(),e.appendFromJson(t),e},json:function(){for(var t=[],e=this.defaultLength;e<this.length;e++){for(var n=this[e],r=n.selector,i=n.properties,a={},o=0;o<i.length;o++){var s=i[o];a[s.name]=s.strValue}t.push({selector:r?r.toString():"core",style:a})}return t}},vu={appendFromString:function(t){var e,n,r,i=this,a=this,o=""+t;function s(){o=o.length>e.length?o.substr(e.length):""}function c(){n=n.length>r.length?n.substr(r.length):""}for(o=o.replace(/[/][*](\s|.)+?[*][/]/g,"");!o.match(/^\s*$/);){var l=o.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!l){Me("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+o);break}e=l[0];var u=l[1];if("core"!==u&&new rc(u).invalid)Me("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),s();else{var h=l[2],f=!1;n=h;for(var d=[];!n.match(/^\s*$/);){var A=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!A){Me("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+h),f=!0;break}r=A[0];var p=A[1],g=A[2];i.properties[p]?a.parse(p,g)?(d.push({name:p,val:g}),c()):(Me("Skipping property: Invalid property definition in: "+r),c()):(Me("Skipping property: Invalid property name in: "+r),c())}if(f){s();break}a.selector(u);for(var m=0;m<d.length;m++){var b=d[m];a.css(b.name,b.val)}s()}}return a},fromString:function(t){var e=this;return e.resetToDefault(),e.appendFromString(t),e}},yu={};(function(){var t=$,e=G,n=X,r=q,i=V,a=function(t){return"^"+t+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},o=function(a){var o=t+"|\\w+|"+e+"|"+n+"|"+r+"|"+i;return"^"+a+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+t+")\\s*\\,\\s*("+t+")\\s*,\\s*("+o+")\\s*\\,\\s*("+o+")\\)$"},s=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];yu.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials","null"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","right-rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:a("data")},layoutData:{mapping:!0,regex:a("layoutData")},scratch:{mapping:!0,regex:a("scratch")},mapData:{mapping:!0,regex:o("mapData")},mapLayoutData:{mapping:!0,regex:o("mapLayoutData")},mapScratch:{mapping:!0,regex:o("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:s,singleRegexMatchValue:!0},urls:{regexes:s,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(t,e){switch(t.length){case 2:return"deg"!==e[0]&&"rad"!==e[0]&&"deg"!==e[1]&&"rad"!==e[1];case 1:return v(t[0])||"deg"===e[0]||"rad"===e[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(t){var e=t.length;return 1===e||2===e||4===e}}};var c={zeroNonZero:function(t,e){return(null==t||null==e)&&t!==e||0==t&&0!=e||0!=t&&0==e},any:function(t,e){return t!=e},emptyNonEmpty:function(t,e){var n=O(t),r=O(e);return n&&!r||!n&&r}},l=yu.types,u=[{name:"label",type:l.text,triggersBounds:c.any,triggersZOrder:c.emptyNonEmpty},{name:"text-rotation",type:l.textRotation,triggersBounds:c.any},{name:"text-margin-x",type:l.bidirectionalSize,triggersBounds:c.any},{name:"text-margin-y",type:l.bidirectionalSize,triggersBounds:c.any}],h=[{name:"source-label",type:l.text,triggersBounds:c.any},{name:"source-text-rotation",type:l.textRotation,triggersBounds:c.any},{name:"source-text-margin-x",type:l.bidirectionalSize,triggersBounds:c.any},{name:"source-text-margin-y",type:l.bidirectionalSize,triggersBounds:c.any},{name:"source-text-offset",type:l.size,triggersBounds:c.any}],f=[{name:"target-label",type:l.text,triggersBounds:c.any},{name:"target-text-rotation",type:l.textRotation,triggersBounds:c.any},{name:"target-text-margin-x",type:l.bidirectionalSize,triggersBounds:c.any},{name:"target-text-margin-y",type:l.bidirectionalSize,triggersBounds:c.any},{name:"target-text-offset",type:l.size,triggersBounds:c.any}],d=[{name:"font-family",type:l.fontFamily,triggersBounds:c.any},{name:"font-style",type:l.fontStyle,triggersBounds:c.any},{name:"font-weight",type:l.fontWeight,triggersBounds:c.any},{name:"font-size",type:l.size,triggersBounds:c.any},{name:"text-transform",type:l.textTransform,triggersBounds:c.any},{name:"text-wrap",type:l.textWrap,triggersBounds:c.any},{name:"text-overflow-wrap",type:l.textOverflowWrap,triggersBounds:c.any},{name:"text-max-width",type:l.size,triggersBounds:c.any},{name:"text-outline-width",type:l.size,triggersBounds:c.any},{name:"line-height",type:l.positiveNumber,triggersBounds:c.any}],A=[{name:"text-valign",type:l.valign,triggersBounds:c.any},{name:"text-halign",type:l.halign,triggersBounds:c.any},{name:"color",type:l.color},{name:"text-outline-color",type:l.color},{name:"text-outline-opacity",type:l.zeroOneNumber},{name:"text-background-color",type:l.color},{name:"text-background-opacity",type:l.zeroOneNumber},{name:"text-background-padding",type:l.size,triggersBounds:c.any},{name:"text-border-opacity",type:l.zeroOneNumber},{name:"text-border-color",type:l.color},{name:"text-border-width",type:l.size,triggersBounds:c.any},{name:"text-border-style",type:l.borderStyle,triggersBounds:c.any},{name:"text-background-shape",type:l.textBackgroundShape,triggersBounds:c.any},{name:"text-justification",type:l.justification}],p=[{name:"events",type:l.bool},{name:"text-events",type:l.bool}],g=[{name:"display",type:l.display,triggersZOrder:c.any,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:l.visibility,triggersZOrder:c.any},{name:"opacity",type:l.zeroOneNumber,triggersZOrder:c.zeroNonZero},{name:"text-opacity",type:l.zeroOneNumber},{name:"min-zoomed-font-size",type:l.size},{name:"z-compound-depth",type:l.zCompoundDepth,triggersZOrder:c.any},{name:"z-index-compare",type:l.zIndexCompare,triggersZOrder:c.any},{name:"z-index",type:l.nonNegativeInt,triggersZOrder:c.any}],m=[{name:"overlay-padding",type:l.size,triggersBounds:c.any},{name:"overlay-color",type:l.color},{name:"overlay-opacity",type:l.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"overlay-shape",type:l.overlayShape,triggersBounds:c.any}],b=[{name:"underlay-padding",type:l.size,triggersBounds:c.any},{name:"underlay-color",type:l.color},{name:"underlay-opacity",type:l.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"underlay-shape",type:l.overlayShape,triggersBounds:c.any}],y=[{name:"transition-property",type:l.propList},{name:"transition-duration",type:l.time},{name:"transition-delay",type:l.time},{name:"transition-timing-function",type:l.easing}],w=function(t,e){return"label"===e.value?-t.poolIndex():e.pfValue},T=[{name:"height",type:l.nodeSize,triggersBounds:c.any,hashOverride:w},{name:"width",type:l.nodeSize,triggersBounds:c.any,hashOverride:w},{name:"shape",type:l.nodeShape,triggersBounds:c.any},{name:"shape-polygon-points",type:l.polygonPointList,triggersBounds:c.any},{name:"background-color",type:l.color},{name:"background-fill",type:l.fill},{name:"background-opacity",type:l.zeroOneNumber},{name:"background-blacken",type:l.nOneOneNumber},{name:"background-gradient-stop-colors",type:l.colors},{name:"background-gradient-stop-positions",type:l.percentages},{name:"background-gradient-direction",type:l.gradientDirection},{name:"padding",type:l.sizeMaybePercent,triggersBounds:c.any},{name:"padding-relative-to",type:l.paddingRelativeTo,triggersBounds:c.any},{name:"bounds-expansion",type:l.boundsExpansion,triggersBounds:c.any}],k=[{name:"border-color",type:l.color},{name:"border-opacity",type:l.zeroOneNumber},{name:"border-width",type:l.size,triggersBounds:c.any},{name:"border-style",type:l.borderStyle}],C=[{name:"background-image",type:l.urls},{name:"background-image-crossorigin",type:l.bgCrossOrigin},{name:"background-image-opacity",type:l.zeroOneNumbers},{name:"background-image-containment",type:l.bgContainment},{name:"background-image-smoothing",type:l.bools},{name:"background-position-x",type:l.bgPos},{name:"background-position-y",type:l.bgPos},{name:"background-width-relative-to",type:l.bgRelativeTo},{name:"background-height-relative-to",type:l.bgRelativeTo},{name:"background-repeat",type:l.bgRepeat},{name:"background-fit",type:l.bgFit},{name:"background-clip",type:l.bgClip},{name:"background-width",type:l.bgWH},{name:"background-height",type:l.bgWH},{name:"background-offset-x",type:l.bgPos},{name:"background-offset-y",type:l.bgPos}],E=[{name:"position",type:l.position,triggersBounds:c.any},{name:"compound-sizing-wrt-labels",type:l.compoundIncludeLabels,triggersBounds:c.any},{name:"min-width",type:l.size,triggersBounds:c.any},{name:"min-width-bias-left",type:l.sizeMaybePercent,triggersBounds:c.any},{name:"min-width-bias-right",type:l.sizeMaybePercent,triggersBounds:c.any},{name:"min-height",type:l.size,triggersBounds:c.any},{name:"min-height-bias-top",type:l.sizeMaybePercent,triggersBounds:c.any},{name:"min-height-bias-bottom",type:l.sizeMaybePercent,triggersBounds:c.any}],x=[{name:"line-style",type:l.lineStyle},{name:"line-color",type:l.color},{name:"line-fill",type:l.fill},{name:"line-cap",type:l.lineCap},{name:"line-opacity",type:l.zeroOneNumber},{name:"line-dash-pattern",type:l.numbers},{name:"line-dash-offset",type:l.number},{name:"line-gradient-stop-colors",type:l.colors},{name:"line-gradient-stop-positions",type:l.percentages},{name:"curve-style",type:l.curveStyle,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:l.zeroOneNumber,triggersBounds:c.any},{name:"source-endpoint",type:l.edgeEndpoint,triggersBounds:c.any},{name:"target-endpoint",type:l.edgeEndpoint,triggersBounds:c.any},{name:"control-point-step-size",type:l.size,triggersBounds:c.any},{name:"control-point-distances",type:l.bidirectionalSizes,triggersBounds:c.any},{name:"control-point-weights",type:l.numbers,triggersBounds:c.any},{name:"segment-distances",type:l.bidirectionalSizes,triggersBounds:c.any},{name:"segment-weights",type:l.numbers,triggersBounds:c.any},{name:"taxi-turn",type:l.bidirectionalSizeMaybePercent,triggersBounds:c.any},{name:"taxi-turn-min-distance",type:l.size,triggersBounds:c.any},{name:"taxi-direction",type:l.axisDirection,triggersBounds:c.any},{name:"edge-distances",type:l.edgeDistances,triggersBounds:c.any},{name:"arrow-scale",type:l.positiveNumber,triggersBounds:c.any},{name:"loop-direction",type:l.angle,triggersBounds:c.any},{name:"loop-sweep",type:l.angle,triggersBounds:c.any},{name:"source-distance-from-node",type:l.size,triggersBounds:c.any},{name:"target-distance-from-node",type:l.size,triggersBounds:c.any}],_=[{name:"ghost",type:l.bool,triggersBounds:c.any},{name:"ghost-offset-x",type:l.bidirectionalSize,triggersBounds:c.any},{name:"ghost-offset-y",type:l.bidirectionalSize,triggersBounds:c.any},{name:"ghost-opacity",type:l.zeroOneNumber}],B=[{name:"selection-box-color",type:l.color},{name:"selection-box-opacity",type:l.zeroOneNumber},{name:"selection-box-border-color",type:l.color},{name:"selection-box-border-width",type:l.size},{name:"active-bg-color",type:l.color},{name:"active-bg-opacity",type:l.zeroOneNumber},{name:"active-bg-size",type:l.size},{name:"outside-texture-bg-color",type:l.color},{name:"outside-texture-bg-opacity",type:l.zeroOneNumber}],S=[];yu.pieBackgroundN=16,S.push({name:"pie-size",type:l.sizeMaybePercent});for(var L=1;L<=yu.pieBackgroundN;L++)S.push({name:"pie-"+L+"-background-color",type:l.color}),S.push({name:"pie-"+L+"-background-size",type:l.percent}),S.push({name:"pie-"+L+"-background-opacity",type:l.zeroOneNumber});var I=[],M=yu.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:l.arrowShape,triggersBounds:c.any},{name:"arrow-color",type:l.color},{name:"arrow-fill",type:l.arrowFill}].forEach((function(t){M.forEach((function(e){var n=e+"-"+t.name,r=t.type,i=t.triggersBounds;I.push({name:n,type:r,triggersBounds:i})}))}),{});var N=yu.properties=[].concat(p,y,g,m,b,_,A,d,u,h,f,T,k,C,S,E,x,I,B),D=yu.propertyGroups={behavior:p,transition:y,visibility:g,overlay:m,underlay:b,ghost:_,commonLabel:A,labelDimensions:d,mainLabel:u,sourceLabel:h,targetLabel:f,nodeBody:T,nodeBorder:k,backgroundImage:C,pie:S,compound:E,edgeLine:x,edgeArrow:I,core:B},F=yu.propertyGroupNames={};(yu.propertyGroupKeys=Object.keys(D)).forEach((function(t){F[t]=D[t].map((function(t){return t.name})),D[t].forEach((function(e){return e.groupKey=t}))}));var P=yu.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];yu.propertyNames=N.map((function(t){return t.name}));for(var R=0;R<N.length;R++){var Q=N[R];N[Q.name]=Q}for(var U=0;U<P.length;U++){var H=P[U],j=N[H.pointsTo],K={name:H.name,alias:!0,pointsTo:j};N.push(K),N[H.name]=K}})(),yu.getDefaultProperty=function(t){return this.getDefaultProperties()[t]},yu.getDefaultProperties=function(){var t=this._private;if(null!=t.defaultProperties)return t.defaultProperties;for(var e=J({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce((function(t,e){for(var n=1;n<=yu.pieBackgroundN;n++){var r=e.name.replace("{{i}}",n),i=e.value;t[r]=i}return t}),{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce((function(t,e){return yu.arrowPrefixes.forEach((function(n){var r=n+"-"+e.name,i=e.value;t[r]=i})),t}),{})),n={},r=0;r<this.properties.length;r++){var i=this.properties[r];if(!i.pointsTo){var a=i.name,o=e[a],s=this.parse(a,o);n[a]=s}}return t.defaultProperties=n,t.defaultProperties},yu.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var wu={parse:function(t,e,n,r){var i=this;if(y(e))return i.parseImplWarn(t,e,n,r);var a,o=ye(t,""+e,n?"t":"f","mapping"===r||!0===r||!1===r||null==r?"dontcare":r),s=i.propCache=i.propCache||[];return(a=s[o])||(a=s[o]=i.parseImplWarn(t,e,n,r)),(n||"mapping"===r)&&(a=Ne(a))&&(a.value=Ne(a.value)),a},parseImplWarn:function(t,e,n,r){var i=this.parseImpl(t,e,n,r);return i||null==e||Me("The style property `".concat(t,": ").concat(e,"` is invalid")),!i||"width"!==i.name&&"height"!==i.name||"label"!==e||Me("The style value of `label` is deprecated for `"+i.name+"`"),i},parseImpl:function(t,e,n,r){var i=this;t=Q(t);var a=i.properties[t],o=e,s=i.types;if(!a)return null;if(void 0===e)return null;a.alias&&(a=a.pointsTo,t=a.name);var c=v(e);c&&(e=e.trim());var l,u,h=a.type;if(!h)return null;if(n&&(""===e||null===e))return{name:t,value:e,bypass:!0,deleteBypass:!0};if(y(e))return{name:t,value:e,strValue:"fn",mapped:s.fn,bypass:n};if(!c||r||e.length<7||"a"!==e[1]);else{if(e.length>=7&&"d"===e[0]&&(l=new RegExp(s.data.regex).exec(e))){if(n)return!1;var f=s.data;return{name:t,value:l,strValue:""+e,mapped:f,field:l[1],bypass:n}}if(e.length>=10&&"m"===e[0]&&(u=new RegExp(s.mapData.regex).exec(e))){if(n)return!1;if(h.multiple)return!1;var d=s.mapData;if(!h.color&&!h.number)return!1;var A=this.parse(t,u[4]);if(!A||A.mapped)return!1;var p=this.parse(t,u[5]);if(!p||p.mapped)return!1;if(A.pfValue===p.pfValue||A.strValue===p.strValue)return Me("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+A.strValue+"`"),this.parse(t,A.strValue);if(h.color){var g=A.value,m=p.value;if(!(g[0]!==m[0]||g[1]!==m[1]||g[2]!==m[2]||g[3]!==m[3]&&(null!=g[3]&&1!==g[3]||null!=m[3]&&1!==m[3])))return!1}return{name:t,value:u,strValue:""+e,mapped:d,field:u[1],fieldMin:parseFloat(u[2]),fieldMax:parseFloat(u[3]),valueMin:A.value,valueMax:p.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var b;if(b=c?e.split(/\s+/):w(e)?e:[e],h.evenMultiple&&b.length%2!=0)return null;for(var T=[],k=[],C=[],x="",_=!1,B=0;B<b.length;B++){var S=i.parse(t,b[B],n,"multiple");_=_||v(S.value),T.push(S.value),C.push(null!=S.pfValue?S.pfValue:S.value),k.push(S.units),x+=(B>0?" ":"")+S.strValue}return h.validate&&!h.validate(T,k)?null:h.singleEnum&&_?1===T.length&&v(T[0])?{name:t,value:T[0],strValue:T[0],bypass:n}:null:{name:t,value:T,pfValue:C,strValue:x,bypass:n,units:k}}var L=function(){for(var r=0;r<h.enums.length;r++)if(h.enums[r]===e)return{name:t,value:e,strValue:""+e,bypass:n};return null};if(h.number){var I,M="px";if(h.units&&(I=h.units),h.implicitUnits&&(M=h.implicitUnits),!h.unitless)if(c){var O="px|em"+(h.allowPercent?"|\\%":"");I&&(O=I);var N=e.match("^("+$+")("+O+")?$");N&&(e=N[1],I=N[2]||M)}else I&&!h.implicitUnits||(I=M);if(e=parseFloat(e),isNaN(e)&&void 0===h.enums)return null;if(isNaN(e)&&void 0!==h.enums)return e=o,L();if(h.integer&&!E(e))return null;if(void 0!==h.min&&(e<h.min||h.strictMin&&e===h.min)||void 0!==h.max&&(e>h.max||h.strictMax&&e===h.max))return null;var D={name:t,value:e,strValue:""+e+(I||""),units:I,bypass:n};return h.unitless||"px"!==I&&"em"!==I?D.pfValue=e:D.pfValue="px"!==I&&I?this.getEmSizeInPixels()*e:e,"ms"!==I&&"s"!==I||(D.pfValue="ms"===I?e:1e3*e),"deg"!==I&&"rad"!==I||(D.pfValue="rad"===I?e:kn(e)),"%"===I&&(D.pfValue=e/100),D}if(h.propList){var F=[],P=""+e;if("none"===P);else{for(var R=P.split(/\s*,\s*|\s+/),U=0;U<R.length;U++){var H=R[U].trim();i.properties[H]?F.push(H):Me("`"+H+"` is not a valid property name")}if(0===F.length)return null}return{name:t,value:F,strValue:0===F.length?"none":F.join(" "),bypass:n}}if(h.color){var j=rt(e);return j?{name:t,value:j,pfValue:j,strValue:"rgb("+j[0]+","+j[1]+","+j[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var K=L();if(K)return K}for(var G=h.regexes?h.regexes:[h.regex],z=0;z<G.length;z++){var X=new RegExp(G[z]).exec(e);if(X)return{name:t,value:h.singleRegexMatchValue?X[1]:X,strValue:""+e,bypass:n}}return null}return h.string?{name:t,value:""+e,strValue:""+e,bypass:n}:h.enums?L():null}},Tu=function t(e){if(!(this instanceof t))return new t(e);L(e)?(this._private={cy:e,coreStyle:{}},this.length=0,this.resetToDefault()):Le("A style must have a core reference")},ku=Tu.prototype;ku.instanceString=function(){return"style"},ku.clear=function(){for(var t=this._private,e=t.cy.elements(),n=0;n<this.length;n++)this[n]=void 0;return this.length=0,t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0),e.forEach((function(t){var e=t[0]._private;e.styleDirty=!0,e.appliedInitStyle=!1})),this},ku.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},ku.core=function(t){return this._private.coreStyle[t]||this.getDefaultProperty(t)},ku.selector=function(t){var e="core"===t?null:new rc(t),n=this.length++;return this[n]={selector:e,properties:[],mappedProperties:[],index:n},this},ku.css=function(){var t=this,e=arguments;if(1===e.length)for(var n=e[0],r=0;r<t.properties.length;r++){var i=t.properties[r],a=n[i.name];void 0===a&&(a=n[U(i.name)]),void 0!==a&&this.cssRule(i.name,a)}else 2===e.length&&this.cssRule(e[0],e[1]);return this},ku.style=ku.css,ku.cssRule=function(t,e){var n=this.parse(t,e);if(n){var r=this.length-1;this[r].properties.push(n),this[r].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[r].mappedProperties.push(n),!this[r].selector&&(this._private.coreStyle[n.name]=n)}return this},ku.append=function(t){return I(t)?t.appendToStyle(this):w(t)?this.appendFromJson(t):v(t)&&this.appendFromString(t),this},Tu.fromJson=function(t,e){var n=new Tu(t);return n.fromJson(e),n},Tu.fromString=function(t,e){return new Tu(t).fromString(e)},[fu,pu,gu,mu,bu,vu,yu,wu].forEach((function(t){J(ku,t)})),Tu.types=ku.types,Tu.properties=ku.properties,Tu.propertyGroups=ku.propertyGroups,Tu.propertyGroupNames=ku.propertyGroupNames,Tu.propertyGroupKeys=ku.propertyGroupKeys;var Cu={style:function(t){return t&&this.setStyle(t).update(),this._private.style},setStyle:function(t){var e=this._private;return I(t)?e.style=t.generateStyle(this):w(t)?e.style=Tu.fromJson(this,t):v(t)?e.style=Tu.fromString(this,t):e.style=Tu(this),e.style},updateStyle:function(){this.mutableElements().updateStyle()}},Eu="single",xu={autolock:function(t){return void 0===t?this._private.autolock:(this._private.autolock=!!t,this)},autoungrabify:function(t){return void 0===t?this._private.autoungrabify:(this._private.autoungrabify=!!t,this)},autounselectify:function(t){return void 0===t?this._private.autounselectify:(this._private.autounselectify=!!t,this)},selectionType:function(t){var e=this._private;return null==e.selectionType&&(e.selectionType=Eu),void 0===t?e.selectionType:("additive"!==t&&"single"!==t||(e.selectionType=t),this)},panningEnabled:function(t){return void 0===t?this._private.panningEnabled:(this._private.panningEnabled=!!t,this)},userPanningEnabled:function(t){return void 0===t?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!t,this)},zoomingEnabled:function(t){return void 0===t?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!t,this)},userZoomingEnabled:function(t){return void 0===t?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!t,this)},boxSelectionEnabled:function(t){return void 0===t?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!t,this)},pan:function(){var t,e,n,r,i,a=arguments,o=this._private.pan;switch(a.length){case 0:return o;case 1:if(v(a[0]))return o[t=a[0]];if(T(a[0])){if(!this._private.panningEnabled)return this;r=(n=a[0]).x,i=n.y,C(r)&&(o.x=r),C(i)&&(o.y=i),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;t=a[0],e=a[1],"x"!==t&&"y"!==t||!C(e)||(o[t]=e),this.emit("pan viewport")}return this.notify("viewport"),this},panBy:function(t,e){var n,r,i,a,o,s=arguments,c=this._private.pan;if(!this._private.panningEnabled)return this;switch(s.length){case 1:T(t)&&(a=(i=s[0]).x,o=i.y,C(a)&&(c.x+=a),C(o)&&(c.y+=o),this.emit("pan viewport"));break;case 2:r=e,"x"!==(n=t)&&"y"!==n||!C(r)||(c[n]+=r),this.emit("pan viewport")}return this.notify("viewport"),this},fit:function(t,e){var n=this.getFitViewport(t,e);if(n){var r=this._private;r.zoom=n.zoom,r.pan=n.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(t,e){if(C(t)&&void 0===e&&(e=t,t=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n;if(v(t)){var r=t;t=this.$(r)}else if(D(t)){var i=t;(n={x1:i.x1,y1:i.y1,x2:i.x2,y2:i.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1}else _(t)||(t=this.mutableElements());if(!_(t)||!t.empty()){n=n||t.boundingBox();var a,o=this.width(),s=this.height();if(e=C(e)?e:0,!isNaN(o)&&!isNaN(s)&&o>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*e)/n.w,(s-2*e)/n.h))>this._private.maxZoom?this._private.maxZoom:a)<this._private.minZoom?this._private.minZoom:a,pan:{x:(o-a*(n.x1+n.x2))/2,y:(s-a*(n.y1+n.y2))/2}}}}},zoomRange:function(t,e){var n=this._private;if(null==e){var r=t;t=r.min,e=r.max}return C(t)&&C(e)&&t<=e?(n.minZoom=t,n.maxZoom=e):C(t)&&void 0===e&&t<=n.maxZoom?n.minZoom=t:C(e)&&void 0===t&&e>=n.minZoom&&(n.maxZoom=e),this},minZoom:function(t){return void 0===t?this._private.minZoom:this.zoomRange({min:t})},maxZoom:function(t){return void 0===t?this._private.maxZoom:this.zoomRange({max:t})},getZoomedViewport:function(t){var e,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),C(t)?n=t:T(t)&&(n=t.level,null!=t.position?e=gn(t.position,a,i):null!=t.renderedPosition&&(e=t.renderedPosition),null==e||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)<r.minZoom?r.minZoom:n,o||!C(n)||n===a||null!=e&&(!C(e.x)||!C(e.y)))return null;if(null!=e){var s=i,c=a,l=n;return{zoomed:!0,panned:!0,zoom:l,pan:{x:-l/c*(e.x-s.x)+e.x,y:-l/c*(e.y-s.y)+e.y}}}return{zoomed:!0,panned:!1,zoom:n,pan:i}},zoom:function(t){if(void 0===t)return this._private.zoom;var e=this.getZoomedViewport(t),n=this._private;return null!=e&&e.zoomed?(n.zoom=e.zoom,e.panned&&(n.pan.x=e.pan.x,n.pan.y=e.pan.y),this.emit("zoom"+(e.panned?" pan":"")+" viewport"),this.notify("viewport"),this):this},viewport:function(t){var e=this._private,n=!0,r=!0,i=[],a=!1,o=!1;if(!t)return this;if(C(t.zoom)||(n=!1),T(t.pan)||(r=!1),!n&&!r)return this;if(n){var s=t.zoom;s<e.minZoom||s>e.maxZoom||!e.zoomingEnabled?a=!0:(e.zoom=s,i.push("zoom"))}if(r&&(!a||!t.cancelOnFailedZoom)&&e.panningEnabled){var c=t.pan;C(c.x)&&(e.pan.x=c.x,o=!1),C(c.y)&&(e.pan.y=c.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(t){var e=this.getCenterPan(t);return e&&(this._private.pan=e,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(t,e){if(this._private.panningEnabled){if(v(t)){var n=t;t=this.mutableElements().filter(n)}else _(t)||(t=this.mutableElements());if(0!==t.length){var r=t.boundingBox(),i=this.width(),a=this.height();return{x:(i-(e=void 0===e?this._private.zoom:e)*(r.x1+r.x2))/2,y:(a-e*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var t,e,n=this._private,r=n.container,i=this;return n.sizeCache=n.sizeCache||(r?(t=i.window().getComputedStyle(r),e=function(e){return parseFloat(t.getPropertyValue(e))},{width:r.clientWidth-e("padding-left")-e("padding-right"),height:r.clientHeight-e("padding-top")-e("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var t=this._private.pan,e=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-t.x)/e,x2:(n.x2-t.x)/e,y1:(n.y1-t.y)/e,y2:(n.y2-t.y)/e};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var t=this.width(),e=this.height();return{x1:0,y1:0,x2:t,y2:e,w:t,h:e}},multiClickDebounceTime:function(t){return t?(this._private.multiClickDebounceTime=t,this):this._private.multiClickDebounceTime}};xu.centre=xu.center,xu.autolockNodes=xu.autolock,xu.autoungrabifyNodes=xu.autoungrabify;var _u={data:Ls.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Ls.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Ls.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Ls.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};_u.attr=_u.data,_u.removeAttr=_u.removeData;var Bu=function(t){var e=this,n=(t=J({},t)).container;n&&!x(n)&&x(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=e;var a=void 0!==f&&void 0!==n&&!t.headless,o=t;o.layout=J({name:a?"grid":"null"},o.layout),o.renderer=J({name:a?"canvas":"null"},o.renderer);var s=function(t,e,n){return void 0!==e?e:void 0!==n?n:t},c=this._private={container:n,ready:!1,options:o,elements:new jl(this),listeners:[],aniEles:new jl(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:C(o.zoom)?o.zoom:1,pan:{x:T(o.pan)&&C(o.pan.x)?o.pan.x:0,y:T(o.pan)&&C(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});var l=function(t,e){if(t.some(F))return Xi.all(t).then(e);e(t)};c.styleEnabled&&e.setStyle([]);var u=J({},o,o.renderer);e.initRenderer(u);var h=function(t,n,r){e.notifications(!1);var i=e.mutableElements();i.length>0&&i.remove(),null!=t&&(T(t)||w(t))&&e.add(t),e.one("layoutready",(function(t){e.notifications(!0),e.emit(t),e.one("load",n),e.emitAndNotify("load")})).one("layoutstop",(function(){e.one("done",r),e.emit("done")}));var a=J({},e._private.options.layout);a.eles=e.elements(),e.layout(a).run()};l([o.style,o.elements],(function(t){var n=t[0],a=t[1];c.styleEnabled&&e.style().append(n),h(a,(function(){e.startAnimationLoop(),c.ready=!0,y(o.ready)&&e.on("ready",o.ready);for(var t=0;t<i.length;t++){var n=i[t];e.on("ready",n)}r&&(r.readies=[]),e.emit("ready")}),o.done)}))},Su=Bu.prototype;J(Su,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(t){return this.isReady()?this.emitter().emit("ready",[],t):this.on("ready",t),this},destroy:function(){var t=this;if(!t.destroyed())return t.stopAnimationLoop(),t.destroyRenderer(),this.emit("destroy"),t._private.destroyed=!0,t},hasElementWithId:function(t){return this._private.elements.hasElementWithId(t)},getElementById:function(t){return this._private.elements.getElementById(t)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(t){return this._private.elements.merge(t),this},removeFromPool:function(t){return this._private.elements.unmerge(t),this},container:function(){return this._private.container||null},window:function(){if(null==this._private.container)return f;var t=this._private.container.ownerDocument;return void 0===t||null==t?f:t.defaultView||f},mount:function(t){if(null!=t){var e=this,n=e._private,r=n.options;return!x(t)&&x(t[0])&&(t=t[0]),e.stopAnimationLoop(),e.destroyRenderer(),n.container=t,n.styleEnabled=!0,e.invalidateSize(),e.initRenderer(J({},r,r.renderer,{name:"null"===r.renderer.name?"canvas":r.renderer.name})),e.startAnimationLoop(),e.style(r.style),e.emit("mount"),e}},unmount:function(){var t=this;return t.stopAnimationLoop(),t.destroyRenderer(),t.initRenderer({name:"null"}),t.emit("unmount"),t},options:function(){return Ne(this._private.options)},json:function(t){var e=this,n=e._private,r=e.mutableElements(),i=function(t){return e.getElementById(t.id())};if(T(t)){if(e.startBatch(),t.elements){var a={},o=function(t,n){for(var r=[],i=[],o=0;o<t.length;o++){var s=t[o];if(s.data.id){var c=""+s.data.id,l=e.getElementById(c);a[c]=!0,0!==l.length?i.push({ele:l,json:s}):n?(s.group=n,r.push(s)):r.push(s)}else Me("cy.json() cannot handle elements without an ID attribute")}e.add(r);for(var u=0;u<i.length;u++){var h=i[u],f=h.ele,d=h.json;f.json(d)}};if(w(t.elements))o(t.elements);else for(var s=["nodes","edges"],c=0;c<s.length;c++){var l=s[c],u=t.elements[l];w(u)&&o(u,l)}var h=e.collection();r.filter((function(t){return!a[t.id()]})).forEach((function(t){t.isParent()?h.merge(t):t.remove()})),h.forEach((function(t){return t.children().move({parent:null})})),h.forEach((function(t){return i(t).remove()}))}t.style&&e.style(t.style),null!=t.zoom&&t.zoom!==n.zoom&&e.zoom(t.zoom),t.pan&&(t.pan.x===n.pan.x&&t.pan.y===n.pan.y||e.pan(t.pan)),t.data&&e.data(t.data);for(var f=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],d=0;d<f.length;d++){var A=f[d];null!=t[A]&&e[A](t[A])}return e.endBatch(),this}var p={};t?p.elements=this.elements().map((function(t){return t.json()})):(p.elements={},r.forEach((function(t){var e=t.group();p.elements[e]||(p.elements[e]=[]),p.elements[e].push(t.json())}))),this._private.styleEnabled&&(p.style=e.style().json()),p.data=Ne(e.data());var g=n.options;return p.zoomingEnabled=n.zoomingEnabled,p.userZoomingEnabled=n.userZoomingEnabled,p.zoom=n.zoom,p.minZoom=n.minZoom,p.maxZoom=n.maxZoom,p.panningEnabled=n.panningEnabled,p.userPanningEnabled=n.userPanningEnabled,p.pan=Ne(n.pan),p.boxSelectionEnabled=n.boxSelectionEnabled,p.renderer=Ne(g.renderer),p.hideEdgesOnViewport=g.hideEdgesOnViewport,p.textureOnViewport=g.textureOnViewport,p.wheelSensitivity=g.wheelSensitivity,p.motionBlur=g.motionBlur,p.multiClickDebounceTime=g.multiClickDebounceTime,p}}),Su.$id=Su.getElementById,[Kl,nu,au,ou,su,cu,uu,hu,Cu,xu,_u].forEach((function(t){J(Su,t)}));var Lu={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}},Iu={maximal:!1,acyclic:!1},Mu=function(t){return t.scratch("breadthfirst")},Ou=function(t,e){return t.scratch("breadthfirst",e)};function Nu(t){this.options=J({},Lu,Iu,t)}Nu.prototype.run=function(){var t,e=this.options,n=e,r=e.cy,i=n.eles,a=i.nodes().filter((function(t){return!t.isParent()})),o=i,s=n.directed,c=n.acyclic||n.maximal||n.maximalAdjustments>0,l=Nn(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(_(n.roots))t=n.roots;else if(w(n.roots)){for(var u=[],h=0;h<n.roots.length;h++){var f=n.roots[h],d=r.getElementById(f);u.push(d)}t=r.collection(u)}else if(v(n.roots))t=r.$(n.roots);else if(s)t=a.roots();else{var A=i.components();t=r.collection();for(var p=function(e){var n=A[e],r=n.maxDegree(!1),i=n.filter((function(t){return t.degree(!1)===r}));t=t.add(i)},g=0;g<A.length;g++)p(g)}var m=[],b={},y=function(t,e){null==m[e]&&(m[e]=[]);var n=m[e].length;m[e].push(t),Ou(t,{index:n,depth:e})},T=function(t,e){var n=Mu(t),r=n.depth,i=n.index;m[r][i]=null,y(t,e)};o.bfs({roots:t,directed:n.directed,visit:function(t,e,n,r,i){var a=t[0],o=a.id();y(a,i),b[o]=!0}});for(var k=[],C=0;C<a.length;C++){var E=a[C];b[E.id()]||k.push(E)}var x=function(t){for(var e=m[t],n=0;n<e.length;n++){var r=e[n];null!=r?Ou(r,{depth:t,index:n}):(e.splice(n,1),n--)}},B=function(){for(var t=0;t<m.length;t++)x(t)},S=function(t,e){for(var r=Mu(t),a=t.incomers().filter((function(t){return t.isNode()&&i.has(t)})),o=-1,s=t.id(),c=0;c<a.length;c++){var l=a[c],u=Mu(l);o=Math.max(o,u.depth)}if(r.depth<=o){if(!n.acyclic&&e[s])return null;var h=o+1;return T(t,h),e[s]=h,!0}return!1};if(s&&c){var L=[],I={},M=function(t){return L.push(t)},O=function(){return L.shift()};for(a.forEach((function(t){return L.push(t)}));L.length>0;){var N=O(),D=S(N,I);if(D)N.outgoers().filter((function(t){return t.isNode()&&i.has(t)})).forEach(M);else if(null===D){Me("Detected double maximal shift for node `"+N.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}B();var F=0;if(n.avoidOverlap)for(var P=0;P<a.length;P++){var R=a[P].layoutDimensions(n),Q=R.w,U=R.h;F=Math.max(F,Q,U)}var H={},j=function(t){if(H[t.id()])return H[t.id()];for(var e=Mu(t).depth,n=t.neighborhood(),r=0,i=0,o=0;o<n.length;o++){var s=n[o];if(!s.isEdge()&&!s.isParent()&&a.has(s)){var c=Mu(s);if(null!=c){var l=c.index,u=c.depth;if(null!=l&&null!=u){var h=m[u].length;u<e&&(r+=l/h,i++)}}}}return r/=i=Math.max(1,i),0===i&&(r=0),H[t.id()]=r,r},$=function(t,e){var n=j(t)-j(e);return 0===n?W(t.id(),e.id()):n};void 0!==n.depthSort&&($=n.depthSort);for(var K=0;K<m.length;K++)m[K].sort($),x(K);for(var G=[],z=0;z<k.length;z++)G.push(k[z]);m.unshift(G),B();for(var X=0,q=0;q<m.length;q++)X=Math.max(m[q].length,X);var V={x:l.x1+l.w/2,y:l.x1+l.h/2},Y=m.reduce((function(t,e){return Math.max(t,e.length)}),0),J=function(t){var e=Mu(t),r=e.depth,i=e.index,a=m[r].length,o=Math.max(l.w/((n.grid?Y:a)+1),F),s=Math.max(l.h/(m.length+1),F),c=Math.min(l.w/2/m.length,l.h/2/m.length);if(c=Math.max(c,F),n.circle){var u=c*r+c-(m.length>0&&m[0].length<=3?c/2:0),h=2*Math.PI/m[r].length*i;return 0===r&&1===m[0].length&&(u=1),{x:V.x+u*Math.cos(h),y:V.y+u*Math.sin(h)}}return{x:V.x+(i+1-(a+1)/2)*o,y:(r+1)*s}};return i.nodes().layoutPositions(this,n,J),this};var Du={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Fu(t){this.options=J({},Du,t)}Fu.prototype.run=function(){var t=this.options,e=t,n=t.cy,r=e.eles,i=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=r.nodes().not(":parent");e.sort&&(a=a.sort(e.sort));for(var o,s=Nn(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c={x:s.x1+s.w/2,y:s.y1+s.h/2},l=(void 0===e.sweep?2*Math.PI-2*Math.PI/a.length:e.sweep)/Math.max(1,a.length-1),u=0,h=0;h<a.length;h++){var f=a[h].layoutDimensions(e),d=f.w,A=f.h;u=Math.max(u,d,A)}if(o=C(e.radius)?e.radius:a.length<=1?0:Math.min(s.h,s.w)/2-u,a.length>1&&e.avoidOverlap){u*=1.75;var p=Math.cos(l)-Math.cos(0),g=Math.sin(l)-Math.sin(0),m=Math.sqrt(u*u/(p*p+g*g));o=Math.max(m,o)}var b=function(t,n){var r=e.startAngle+n*l*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:c.x+a,y:c.y+s}};return r.nodes().layoutPositions(this,e,b),this};var Pu,Ru={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(t){return t.degree()},levelWidth:function(t){return t.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Qu(t){this.options=J({},Ru,t)}Qu.prototype.run=function(){for(var t=this.options,e=t,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,r=t.cy,i=e.eles,a=i.nodes().not(":parent"),o=Nn(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},c=[],l=0,u=0;u<a.length;u++){var h=a[u],f=void 0;f=e.concentric(h),c.push({value:f,node:h}),h._private.scratch.concentric=f}a.updateStyle();for(var d=0;d<a.length;d++){var A=a[d].layoutDimensions(e);l=Math.max(l,A.w,A.h)}c.sort((function(t,e){return e.value-t.value}));for(var p=e.levelWidth(a),g=[[]],m=g[0],b=0;b<c.length;b++){var v=c[b];m.length>0&&Math.abs(m[0].value-v.value)>=p&&(m=[],g.push(m)),m.push(v)}var y=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=g.length>0&&g[0].length>1,T=(Math.min(o.w,o.h)/2-y)/(g.length+w?1:0);y=Math.min(y,T)}for(var k=0,C=0;C<g.length;C++){var E=g[C],x=void 0===e.sweep?2*Math.PI-2*Math.PI/E.length:e.sweep,_=E.dTheta=x/Math.max(1,E.length-1);if(E.length>1&&e.avoidOverlap){var B=Math.cos(_)-Math.cos(0),S=Math.sin(_)-Math.sin(0),L=Math.sqrt(y*y/(B*B+S*S));k=Math.max(L,k)}E.r=k,k+=y}if(e.equidistant){for(var I=0,M=0,O=0;O<g.length;O++){var N=g[O].r-M;I=Math.max(I,N)}M=0;for(var D=0;D<g.length;D++){var F=g[D];0===D&&(M=F.r),F.r=M,M+=I}}for(var P={},R=0;R<g.length;R++)for(var Q=g[R],U=Q.dTheta,H=Q.r,j=0;j<Q.length;j++){var $=Q[j],K=e.startAngle+(n?1:-1)*U*j,G={x:s.x+H*Math.cos(K),y:s.y+H*Math.sin(K)};P[$.node.id()]=G}return i.nodes().layoutPositions(this,e,(function(t){var e=t.id();return P[e]})),this};var Uu={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(t,e){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(t){return 2048},nodeOverlap:4,idealEdgeLength:function(t){return 32},edgeElasticity:function(t){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function Hu(t){this.options=J({},Uu,t),this.options.layout=this}Hu.prototype.run=function(){var t=this.options,e=t.cy,n=this;n.stopped=!1,!0!==t.animate&&!1!==t.animate||n.emit({type:"layoutstart",layout:n}),Pu=!0===t.debug;var r=$u(e,n,t);Pu&&ju(r),t.randomize&&zu(r);var i=ce(),a=function(){qu(r,e,t),!0===t.fit&&e.fit(t.padding)},o=function(e){return!(n.stopped||e>=t.numIter||(Vu(r,t),r.temperature=r.temperature*t.coolingFactor,r.temperature<t.minTemp))},s=function(){if(!0===t.animate||!1===t.animate)a(),n.one("layoutstop",t.stop),n.emit({type:"layoutstop",layout:n});else{var e=t.eles.nodes(),i=Xu(r,t,e);e.layoutPositions(n,t,i)}},c=0,l=!0;if(!0===t.animate){var u=function e(){for(var n=0;l&&n<t.refresh;)l=o(c),c++,n++;l?(ce()-i>=t.animationThreshold&&a(),se(e)):(sh(r,t),s())};u()}else{for(;l;)l=o(c),c++;sh(r,t),s()}return this},Hu.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Hu.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ju,$u=function(t,e,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=Nn(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()}),o={isCompound:t.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),c={},l=0;l<s.length;l++)for(var u=s[l],h=0;h<u.length;h++)c[u[h].id()]=l;for(l=0;l<o.nodeSize;l++){var f=(m=i[l]).layoutDimensions(n);(N={}).isLocked=m.locked(),N.id=m.data("id"),N.parentId=m.data("parent"),N.cmptId=c[m.id()],N.children=[],N.positionX=m.position("x"),N.positionY=m.position("y"),N.offsetX=0,N.offsetY=0,N.height=f.w,N.width=f.h,N.maxX=N.positionX+N.width/2,N.minX=N.positionX-N.width/2,N.maxY=N.positionY+N.height/2,N.minY=N.positionY-N.height/2,N.padLeft=parseFloat(m.style("padding")),N.padRight=parseFloat(m.style("padding")),N.padTop=parseFloat(m.style("padding")),N.padBottom=parseFloat(m.style("padding")),N.nodeRepulsion=y(n.nodeRepulsion)?n.nodeRepulsion(m):n.nodeRepulsion,o.layoutNodes.push(N),o.idToIndex[N.id]=l}var d=[],A=0,p=-1,g=[];for(l=0;l<o.nodeSize;l++){var m,b=(m=o.layoutNodes[l]).parentId;null!=b?o.layoutNodes[o.idToIndex[b]].children.push(m.id):(d[++p]=m.id,g.push(m.id))}for(o.graphSet.push(g);A<=p;){var v=d[A++],w=o.idToIndex[v],T=o.layoutNodes[w].children;if(T.length>0)for(o.graphSet.push(T),l=0;l<T.length;l++)d[++p]=T[l]}for(l=0;l<o.graphSet.length;l++){var k=o.graphSet[l];for(h=0;h<k.length;h++){var C=o.idToIndex[k[h]];o.indexToGraph[C]=l}}for(l=0;l<o.edgeSize;l++){var E=r[l],x={};x.id=E.data("id"),x.sourceId=E.data("source"),x.targetId=E.data("target");var _=y(n.idealEdgeLength)?n.idealEdgeLength(E):n.idealEdgeLength,B=y(n.edgeElasticity)?n.edgeElasticity(E):n.edgeElasticity,S=o.idToIndex[x.sourceId],L=o.idToIndex[x.targetId];if(o.indexToGraph[S]!=o.indexToGraph[L]){for(var I=Ku(x.sourceId,x.targetId,o),M=o.graphSet[I],O=0,N=o.layoutNodes[S];-1===M.indexOf(N.id);)N=o.layoutNodes[o.idToIndex[N.parentId]],O++;for(N=o.layoutNodes[L];-1===M.indexOf(N.id);)N=o.layoutNodes[o.idToIndex[N.parentId]],O++;_*=O*n.nestingFactor}x.idealLength=_,x.elasticity=B,o.layoutEdges.push(x)}return o},Ku=function(t,e,n){var r=Gu(t,e,0,n);return 2>r.count?0:r.graph},Gu=function t(e,n,r,i){var a=i.graphSet[r];if(-1<a.indexOf(e)&&-1<a.indexOf(n))return{count:2,graph:r};for(var o=0,s=0;s<a.length;s++){var c=a[s],l=i.idToIndex[c],u=i.layoutNodes[l].children;if(0!==u.length){var h=t(e,n,i.indexToGraph[i.idToIndex[u[0]]],i);if(0!==h.count){if(1!==h.count)return h;if(2==++o)break}}}return{count:o,graph:r}},zu=function(t,e){for(var n=t.clientWidth,r=t.clientHeight,i=0;i<t.nodeSize;i++){var a=t.layoutNodes[i];0!==a.children.length||a.isLocked||(a.positionX=Math.random()*n,a.positionY=Math.random()*r)}},Xu=function(t,e,n){var r=t.boundingBox,i={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return e.boundingBox&&(n.forEach((function(e){var n=t.layoutNodes[t.idToIndex[e.data("id")]];i.x1=Math.min(i.x1,n.positionX),i.x2=Math.max(i.x2,n.positionX),i.y1=Math.min(i.y1,n.positionY),i.y2=Math.max(i.y2,n.positionY)})),i.w=i.x2-i.x1,i.h=i.y2-i.y1),function(n,a){var o=t.layoutNodes[t.idToIndex[n.data("id")]];if(e.boundingBox){var s=(o.positionX-i.x1)/i.w,c=(o.positionY-i.y1)/i.h;return{x:r.x1+s*r.w,y:r.y1+c*r.h}}return{x:o.positionX,y:o.positionY}}},qu=function(t,e,n){var r=n.layout,i=n.eles.nodes(),a=Xu(t,n,i);i.positions(a),!0!==t.ready&&(t.ready=!0,r.one("layoutready",n.ready),r.emit({type:"layoutready",layout:this}))},Vu=function(t,e,n){Wu(t,e),eh(t),nh(t,e),rh(t),ih(t)},Wu=function(t,e){for(var n=0;n<t.graphSet.length;n++)for(var r=t.graphSet[n],i=r.length,a=0;a<i;a++)for(var o=t.layoutNodes[t.idToIndex[r[a]]],s=a+1;s<i;s++){var c=t.layoutNodes[t.idToIndex[r[s]]];Ju(o,c,t,e)}},Yu=function(t){return-t+2*t*Math.random()},Ju=function(t,e,n,r){if(t.cmptId===e.cmptId||n.isCompound){var i=e.positionX-t.positionX,a=e.positionY-t.positionY,o=1;0===i&&0===a&&(i=Yu(o),a=Yu(o));var s=Zu(t,e,i,a);if(s>0)var c=(u=r.nodeOverlap*s)*i/(g=Math.sqrt(i*i+a*a)),l=u*a/g;else{var u,h=th(t,i,a),f=th(e,-1*i,-1*a),d=f.x-h.x,A=f.y-h.y,p=d*d+A*A,g=Math.sqrt(p);c=(u=(t.nodeRepulsion+e.nodeRepulsion)/p)*d/g,l=u*A/g}t.isLocked||(t.offsetX-=c,t.offsetY-=l),e.isLocked||(e.offsetX+=c,e.offsetY+=l)}},Zu=function(t,e,n,r){if(n>0)var i=t.maxX-e.minX;else i=e.maxX-t.minX;if(r>0)var a=t.maxY-e.minY;else a=e.maxY-t.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},th=function(t,e,n){var r=t.positionX,i=t.positionY,a=t.height||1,o=t.width||1,s=n/e,c=a/o,l={};return 0===e&&0<n||0===e&&0>n?(l.x=r,l.y=i+a/2,l):0<e&&-1*c<=s&&s<=c?(l.x=r+o/2,l.y=i+o*n/2/e,l):0>e&&-1*c<=s&&s<=c?(l.x=r-o/2,l.y=i-o*n/2/e,l):0<n&&(s<=-1*c||s>=c)?(l.x=r+a*e/2/n,l.y=i+a/2,l):0>n&&(s<=-1*c||s>=c)?(l.x=r-a*e/2/n,l.y=i-a/2,l):l},eh=function(t,e){for(var n=0;n<t.edgeSize;n++){var r=t.layoutEdges[n],i=t.idToIndex[r.sourceId],a=t.layoutNodes[i],o=t.idToIndex[r.targetId],s=t.layoutNodes[o],c=s.positionX-a.positionX,l=s.positionY-a.positionY;if(0!==c||0!==l){var u=th(a,c,l),h=th(s,-1*c,-1*l),f=h.x-u.x,d=h.y-u.y,A=Math.sqrt(f*f+d*d),p=Math.pow(r.idealLength-A,2)/r.elasticity;if(0!==A)var g=p*f/A,m=p*d/A;else g=0,m=0;a.isLocked||(a.offsetX+=g,a.offsetY+=m),s.isLocked||(s.offsetX-=g,s.offsetY-=m)}}},nh=function(t,e){if(0!==e.gravity)for(var n=1,r=0;r<t.graphSet.length;r++){var i=t.graphSet[r],a=i.length;if(0===r)var o=t.clientHeight/2,s=t.clientWidth/2;else{var c=t.layoutNodes[t.idToIndex[i[0]]],l=t.layoutNodes[t.idToIndex[c.parentId]];o=l.positionX,s=l.positionY}for(var u=0;u<a;u++){var h=t.layoutNodes[t.idToIndex[i[u]]];if(!h.isLocked){var f=o-h.positionX,d=s-h.positionY,A=Math.sqrt(f*f+d*d);if(A>n){var p=e.gravity*f/A,g=e.gravity*d/A;h.offsetX+=p,h.offsetY+=g}}}}},rh=function(t,e){var n=[],r=0,i=-1;for(n.push.apply(n,t.graphSet[0]),i+=t.graphSet[0].length;r<=i;){var a=n[r++],o=t.idToIndex[a],s=t.layoutNodes[o],c=s.children;if(0<c.length&&!s.isLocked){for(var l=s.offsetX,u=s.offsetY,h=0;h<c.length;h++){var f=t.layoutNodes[t.idToIndex[c[h]]];f.offsetX+=l,f.offsetY+=u,n[++i]=c[h]}s.offsetX=0,s.offsetY=0}}},ih=function(t,e){for(var n=0;n<t.nodeSize;n++)0<(i=t.layoutNodes[n]).children.length&&(i.maxX=void 0,i.minX=void 0,i.maxY=void 0,i.minY=void 0);for(n=0;n<t.nodeSize;n++)if(!(0<(i=t.layoutNodes[n]).children.length||i.isLocked)){var r=ah(i.offsetX,i.offsetY,t.temperature);i.positionX+=r.x,i.positionY+=r.y,i.offsetX=0,i.offsetY=0,i.minX=i.positionX-i.width,i.maxX=i.positionX+i.width,i.minY=i.positionY-i.height,i.maxY=i.positionY+i.height,oh(i,t)}for(n=0;n<t.nodeSize;n++){var i;0<(i=t.layoutNodes[n]).children.length&&!i.isLocked&&(i.positionX=(i.maxX+i.minX)/2,i.positionY=(i.maxY+i.minY)/2,i.width=i.maxX-i.minX,i.height=i.maxY-i.minY)}},ah=function(t,e,n){var r=Math.sqrt(t*t+e*e);if(r>n)var i={x:n*t/r,y:n*e/r};else i={x:t,y:e};return i},oh=function t(e,n){var r=e.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||e.maxX+i.padRight>i.maxX)&&(i.maxX=e.maxX+i.padRight,a=!0),(null==i.minX||e.minX-i.padLeft<i.minX)&&(i.minX=e.minX-i.padLeft,a=!0),(null==i.maxY||e.maxY+i.padBottom>i.maxY)&&(i.maxY=e.maxY+i.padBottom,a=!0),(null==i.minY||e.minY-i.padTop<i.minY)&&(i.minY=e.minY-i.padTop,a=!0),a?t(i,n):void 0}},sh=function(t,e){for(var n=t.layoutNodes,r=[],i=0;i<n.length;i++){var a=n[i],o=a.cmptId;(r[o]=r[o]||[]).push(a)}var s=0;for(i=0;i<r.length;i++)if(p=r[i]){p.x1=1/0,p.x2=-1/0,p.y1=1/0,p.y2=-1/0;for(var c=0;c<p.length;c++){var l=p[c];p.x1=Math.min(p.x1,l.positionX-l.width/2),p.x2=Math.max(p.x2,l.positionX+l.width/2),p.y1=Math.min(p.y1,l.positionY-l.height/2),p.y2=Math.max(p.y2,l.positionY+l.height/2)}p.w=p.x2-p.x1,p.h=p.y2-p.y1,s+=p.w*p.h}r.sort((function(t,e){return e.w*e.h-t.w*t.h}));var u=0,h=0,f=0,d=0,A=Math.sqrt(s)*t.clientWidth/t.clientHeight;for(i=0;i<r.length;i++){var p;if(p=r[i]){for(c=0;c<p.length;c++)(l=p[c]).isLocked||(l.positionX+=u-p.x1,l.positionY+=h-p.y1);u+=p.w+e.componentSpacing,f+=p.w+e.componentSpacing,d=Math.max(d,p.h),f>A&&(h+=d+e.componentSpacing,u=0,f=0,d=0)}}},ch={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(t){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function lh(t){this.options=J({},ch,t)}lh.prototype.run=function(){var t=this.options,e=t,n=t.cy,r=e.eles,i=r.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));var a=Nn(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,e,(function(t){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),c=Math.round(s),l=Math.round(a.w/a.h*s),u=function(t){if(null==t)return Math.min(c,l);Math.min(c,l)==c?c=t:l=t},h=function(t){if(null==t)return Math.max(c,l);Math.max(c,l)==c?c=t:l=t},f=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=f&&null!=d)c=f,l=d;else if(null!=f&&null==d)c=f,l=Math.ceil(o/c);else if(null==f&&null!=d)l=d,c=Math.ceil(o/l);else if(l*c>o){var A=u(),p=h();(A-1)*p>=o?u(A-1):(p-1)*A>=o&&h(p-1)}else for(;l*c<o;){var g=u(),m=h();(m+1)*g>=o?h(m+1):u(g+1)}var b=a.w/l,v=a.h/c;if(e.condense&&(b=0,v=0),e.avoidOverlap)for(var y=0;y<i.length;y++){var w=i[y],T=w._private.position;null!=T.x&&null!=T.y||(T.x=0,T.y=0);var k=w.layoutDimensions(e),C=e.avoidOverlapPadding,E=k.w+C,x=k.h+C;b=Math.max(b,E),v=Math.max(v,x)}for(var _={},B=function(t,e){return!!_["c-"+t+"-"+e]},S=function(t,e){_["c-"+t+"-"+e]=!0},L=0,I=0,M=function(){++I>=l&&(I=0,L++)},O={},N=0;N<i.length;N++){var D=i[N],F=e.position(D);if(F&&(void 0!==F.row||void 0!==F.col)){var P={row:F.row,col:F.col};if(void 0===P.col)for(P.col=0;B(P.row,P.col);)P.col++;else if(void 0===P.row)for(P.row=0;B(P.row,P.col);)P.row++;O[D.id()]=P,S(P.row,P.col)}}var R=function(t,e){var n,r;if(t.locked()||t.isParent())return!1;var i=O[t.id()];if(i)n=i.col*b+b/2+a.x1,r=i.row*v+v/2+a.y1;else{for(;B(L,I);)M();n=I*b+b/2+a.x1,r=L*v+v/2+a.y1,S(L,I),M()}return{x:n,y:r}};i.layoutPositions(this,e,R)}return this};var uh={ready:function(){},stop:function(){}};function hh(t){this.options=J({},uh,t)}hh.prototype.run=function(){var t=this.options,e=t.eles,n=this;return t.cy,n.emit("layoutstart"),e.nodes().positions((function(){return{x:0,y:0}})),n.one("layoutready",t.ready),n.emit("layoutready"),n.one("layoutstop",t.stop),n.emit("layoutstop"),this},hh.prototype.stop=function(){return this};var fh={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function dh(t){this.options=J({},fh,t)}dh.prototype.run=function(){var t=this.options,e=t.eles.nodes(),n=y(t.positions);function r(e){if(null==t.positions)return pn(e.position());if(n)return t.positions(e);var r=t.positions[e._private.data.id];return null==r?null:r}return e.layoutPositions(this,t,(function(t,e){var n=r(t);return!t.locked()&&null!=n&&n})),this};var Ah={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function ph(t){this.options=J({},Ah,t)}ph.prototype.run=function(){var t=this.options,e=t.cy,n=t.eles,r=Nn(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),i=function(t,e){return{x:r.x1+Math.round(Math.random()*r.w),y:r.y1+Math.round(Math.random()*r.h)}};return n.nodes().layoutPositions(this,t,i),this};var gh=[{name:"breadthfirst",impl:Nu},{name:"circle",impl:Fu},{name:"concentric",impl:Qu},{name:"cose",impl:Hu},{name:"grid",impl:lh},{name:"null",impl:hh},{name:"preset",impl:dh},{name:"random",impl:ph}];function mh(t){this.options=t,this.notifications=0}var bh=function(){},vh=function(){throw new Error("A headless instance can not render images")};mh.prototype={recalculateRenderedStyle:bh,notify:function(){this.notifications++},init:bh,isHeadless:function(){return!0},png:vh,jpg:vh};var yh={arrowShapeWidth:.3,registerArrowShapes:function(){var t=this.arrowShapes={},e=this,n=function(t,e,n,r,i,a,o){var s=i.x-n/2-o,c=i.x+n/2+o,l=i.y-n/2-o,u=i.y+n/2+o;return s<=t&&t<=c&&l<=e&&e<=u},r=function(t,e,n,r,i){var a=t*Math.cos(r)-e*Math.sin(r),o=(t*Math.sin(r)+e*Math.cos(r))*n;return{x:a*n+i.x,y:o+i.y}},i=function(t,e,n,i){for(var a=[],o=0;o<t.length;o+=2){var s=t[o],c=t[o+1];a.push(r(s,c,e,n,i))}return a},a=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];e.push(r.x,r.y)}return e},o=function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").pfValue*2},s=function(r,s){v(s)&&(s=t[s]),t[r]=J({name:r,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(t,e,n,r,o,s){var c=a(i(this.points,n+2*s,r,o));return Zn(t,e,c)},roughCollide:n,draw:function(t,n,r,a){var o=i(this.points,n,r,a);e.arrowShapeImpl("polygon")(t,o)},spacing:function(t){return 0},gap:o},s)};s("none",{collide:_e,roughCollide:_e,draw:Se,spacing:Be,gap:Be}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:t.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(t,n,a,o,s){var c=i(this.points,n,a,o),l=this.controlPoint,u=r(l[0],l[1],n,a,o);e.arrowShapeImpl(this.name)(t,c,u)},gap:function(t){return.8*o(t)}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(t,e,n,r,o,s,c){var l=a(i(this.points,n+2*c,r,o)),u=a(i(this.pointsTee,n+2*c,r,o));return Zn(t,e,l)||Zn(t,e,u)},draw:function(t,n,r,a,o){var s=i(this.points,n,r,a),c=i(this.pointsTee,n,r,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(t,e,n,r,o,s,c){var l=o,u=Math.pow(l.x-t,2)+Math.pow(l.y-e,2)<=Math.pow((n+2*c)*this.radius,2),h=a(i(this.points,n+2*c,r,o));return Zn(t,e,h)||u},draw:function(t,n,r,a,o){var s=i(this.pointsTr,n,r,a);e.arrowShapeImpl(this.name)(t,s,a.x,a.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(t,e){var n=this.baseCrossLinePts.slice(),r=e/t,i=3,a=5;return n[i]=n[i]-r,n[a]=n[a]-r,n},collide:function(t,e,n,r,o,s,c){var l=a(i(this.points,n+2*c,r,o)),u=a(i(this.crossLinePts(n,s),n+2*c,r,o));return Zn(t,e,l)||Zn(t,e,u)},draw:function(t,n,r,a,o){var s=i(this.points,n,r,a),c=i(this.crossLinePts(n,o),n,r,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(t){return.525*o(t)}}),s("circle",{radius:.15,collide:function(t,e,n,r,i,a,o){var s=i;return Math.pow(s.x-t,2)+Math.pow(s.y-e,2)<=Math.pow((n+2*o)*this.radius,2)},draw:function(t,n,r,i,a){e.arrowShapeImpl(this.name)(t,i.x,i.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(t){return 1},gap:function(t){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(t){return.95*t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}})}},wh={projectIntoViewport:function(t,e){var n=this.cy,r=this.findContainerClientCoords(),i=r[0],a=r[1],o=r[4],s=n.pan(),c=n.zoom();return[((t-i)/o-s.x)/c,((e-a)/o-s.y)/c]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var t=this.container,e=t.getBoundingClientRect(),n=this.cy.window().getComputedStyle(t),r=function(t){return parseFloat(n.getPropertyValue(t))},i={left:r("padding-left"),right:r("padding-right"),top:r("padding-top"),bottom:r("padding-bottom")},a={left:r("border-left-width"),right:r("border-right-width"),top:r("border-top-width"),bottom:r("border-bottom-width")},o=t.clientWidth,s=t.clientHeight,c=i.left+i.right,l=i.top+i.bottom,u=a.left+a.right,h=e.width/(o+u),f=o-c,d=s-l,A=e.left+i.left+a.left,p=e.top+i.top+a.top;return this.containerBB=[A,p,f,d,h]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(t,e,n,r){return this.findNearestElements(t,e,n,r)[0]},findNearestElements:function(t,e,n,r){var i,a,o=this,s=this,c=s.getCachedZSortedEles(),l=[],u=s.cy.zoom(),h=s.cy.hasCompoundNodes(),f=(r?24:8)/u,d=(r?8:2)/u,A=(r?8:2)/u,p=1/0;function g(t,e){if(t.isNode()){if(a)return;a=t,l.push(t)}if(t.isEdge()&&(null==e||e<p))if(i){if(i.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value&&i.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value)for(var n=0;n<l.length;n++)if(l[n].isEdge()){l[n]=t,i=t,p=null!=e?e:p;break}}else l.push(t),i=t,p=null!=e?e:p}function m(n){var r=n.outerWidth()+2*d,i=n.outerHeight()+2*d,a=r/2,c=i/2,l=n.position();if(l.x-a<=t&&t<=l.x+a&&l.y-c<=e&&e<=l.y+c&&s.nodeShapes[o.getNodeShape(n)].checkPoint(t,e,0,r,i,l.x,l.y))return g(n,0),!0}function b(n){var r,i=n._private,a=i.rscratch,c=n.pstyle("width").pfValue,u=n.pstyle("arrow-scale").value,d=c/2+f,A=d*d,p=2*d,b=i.source,v=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var y=a.allpts,w=0;w+3<y.length;w+=2)if(Xn(t,e,y[w],y[w+1],y[w+2],y[w+3],p)&&A>(r=Jn(t,e,y[w],y[w+1],y[w+2],y[w+3])))return g(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(y=a.allpts,w=0;w+5<a.allpts.length;w+=4)if(qn(t,e,y[w],y[w+1],y[w+2],y[w+3],y[w+4],y[w+5],p)&&A>(r=Yn(t,e,y[w],y[w+1],y[w+2],y[w+3],y[w+4],y[w+5])))return g(n,r),!0;b=b||i.source,v=v||i.target;var T=o.getArrowWidth(c,u),k=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(w=0;w<k.length;w++){var C=k[w],E=s.arrowShapes[n.pstyle(C.name+"-arrow-shape").value],x=n.pstyle("width").pfValue;if(E.roughCollide(t,e,T,C.angle,{x:C.x,y:C.y},x,f)&&E.collide(t,e,T,C.angle,{x:C.x,y:C.y},x,f))return g(n),!0}h&&l.length>0&&(m(b),m(v))}function v(t,e,n){return $e(t,e,n)}function y(n,r){var i,a=n._private,o=A;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],c=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&c){var l=v(a.rscratch,"labelX",r),u=v(a.rscratch,"labelY",r),h=v(a.rscratch,"labelAngle",r),f=n.pstyle(i+"text-margin-x").pfValue,d=n.pstyle(i+"text-margin-y").pfValue,p=s.x1-o-f,m=s.x2+o-f,b=s.y1-o-d,y=s.y2+o-d;if(h){var w=Math.cos(h),T=Math.sin(h),k=function(t,e){return{x:(t-=l)*w-(e-=u)*T+l,y:t*T+e*w+u}},C=k(p,b),E=k(p,y),x=k(m,b),_=k(m,y),B=[C.x+f,C.y+d,x.x+f,x.y+d,_.x+f,_.y+d,E.x+f,E.y+d];if(Zn(t,e,B))return g(n),!0}else if($n(s,t,e))return g(n),!0}}n&&(c=c.interactive);for(var w=c.length-1;w>=0;w--){var T=c[w];T.isNode()?m(T)||y(T):b(T)||y(T)||y(T,"source")||y(T,"target")}return l},getAllInBox:function(t,e,n,r){for(var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,r),l=Math.max(e,r),u=Nn({x1:t=o,y1:e=c,x2:n=s,y2:r=l}),h=0;h<i.length;h++){var f=i[h];if(f.isNode()){var d=f,A=d.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});jn(u,A)&&!Gn(A,u)&&a.push(d)}else{var p=f,g=p._private,m=g.rscratch;if(null!=m.startX&&null!=m.startY&&!$n(u,m.startX,m.startY))continue;if(null!=m.endX&&null!=m.endY&&!$n(u,m.endX,m.endY))continue;if("bezier"===m.edgeType||"multibezier"===m.edgeType||"self"===m.edgeType||"compound"===m.edgeType||"segments"===m.edgeType||"haystack"===m.edgeType){for(var b=g.rstyle.bezierPts||g.rstyle.linePts||g.rstyle.haystackPts,v=!0,y=0;y<b.length;y++)if(!Kn(u,b[y])){v=!1;break}v&&a.push(p)}else"haystack"!==m.edgeType&&"straight"!==m.edgeType||a.push(p)}}return a}},Th={calculateArrowAngles:function(t){var e,n,r,i,a,o,s=t._private.rscratch,c="haystack"===s.edgeType,l="bezier"===s.edgeType,u="multibezier"===s.edgeType,h="segments"===s.edgeType,f="compound"===s.edgeType,d="self"===s.edgeType;if(c?(r=s.haystackPts[0],i=s.haystackPts[1],a=s.haystackPts[2],o=s.haystackPts[3]):(r=s.arrowStartX,i=s.arrowStartY,a=s.arrowEndX,o=s.arrowEndY),p=s.midX,g=s.midY,h)e=r-s.segpts[0],n=i-s.segpts[1];else if(u||f||d||l){var A=s.allpts;e=r-Ln(A[0],A[2],A[4],.1),n=i-Ln(A[1],A[3],A[5],.1)}else e=r-p,n=i-g;s.srcArrowAngle=Cn(e,n);var p=s.midX,g=s.midY;if(c&&(p=(r+a)/2,g=(i+o)/2),e=a-r,n=o-i,h)if((A=s.allpts).length/2%2==0){var m=(b=A.length/2)-2;e=A[b]-A[m],n=A[b+1]-A[m+1]}else{m=(b=A.length/2-1)-2;var b,v=b+2;e=A[b]-A[m],n=A[b+1]-A[m+1]}else if(u||f||d){var y,w,T,k,A=s.allpts;if(s.ctrlpts.length/2%2==0){var C=2+(E=2+(x=A.length/2-1));y=Ln(A[x],A[E],A[C],0),w=Ln(A[x+1],A[E+1],A[C+1],0),T=Ln(A[x],A[E],A[C],1e-4),k=Ln(A[x+1],A[E+1],A[C+1],1e-4)}else{var E,x;C=2+(E=A.length/2-1),y=Ln(A[x=E-2],A[E],A[C],.4999),w=Ln(A[x+1],A[E+1],A[C+1],.4999),T=Ln(A[x],A[E],A[C],.5),k=Ln(A[x+1],A[E+1],A[C+1],.5)}e=T-y,n=k-w}if(s.midtgtArrowAngle=Cn(e,n),s.midDispX=e,s.midDispY=n,e*=-1,n*=-1,h&&((A=s.allpts).length/2%2==0||(e=-(A[v=2+(b=A.length/2-1)]-A[b]),n=-(A[v+1]-A[b+1]))),s.midsrcArrowAngle=Cn(e,n),h)e=a-s.segpts[s.segpts.length-2],n=o-s.segpts[s.segpts.length-1];else if(u||f||d||l){var _=(A=s.allpts).length;e=a-Ln(A[_-6],A[_-4],A[_-2],.9),n=o-Ln(A[_-5],A[_-3],A[_-1],.9)}else e=a-p,n=o-g;s.tgtArrowAngle=Cn(e,n)}};Th.getArrowWidth=Th.getArrowHeight=function(t,e){var n=this.arrowWidthCache=this.arrowWidthCache||{},r=n[t+", "+e];return r||(r=Math.max(Math.pow(13.37*t,.9),29)*e,n[t+", "+e]=r,r)};var kh={};function Ch(t){var e=[];if(null!=t){for(var n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];e.push({x:r,y:i})}return e}}kh.findHaystackPoints=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=n._private,i=r.rscratch;if(!i.haystack){var a=2*Math.random()*Math.PI;i.source={x:Math.cos(a),y:Math.sin(a)},a=2*Math.random()*Math.PI,i.target={x:Math.cos(a),y:Math.sin(a)}}var o=r.source,s=r.target,c=o.position(),l=s.position(),u=o.width(),h=s.width(),f=o.height(),d=s.height(),A=n.pstyle("haystack-radius").value/2;i.haystackPts=i.allpts=[i.source.x*u*A+c.x,i.source.y*f*A+c.y,i.target.x*h*A+l.x,i.target.y*d*A+l.y],i.midX=(i.allpts[0]+i.allpts[2])/2,i.midY=(i.allpts[1]+i.allpts[3])/2,i.edgeType="haystack",i.haystack=!0,this.storeEdgeProjections(n),this.calculateArrowAngles(n),this.recalculateEdgeLabelProjections(n),this.calculateLabelAngles(n)}},kh.findSegmentsPoints=function(t,e){var n=t._private.rscratch,r=e.posPts,i=e.intersectionPts,a=e.vectorNormInverse,o=t.pstyle("edge-distances").value,s=t.pstyle("segment-weights"),c=t.pstyle("segment-distances"),l=Math.min(s.pfValue.length,c.pfValue.length);n.edgeType="segments",n.segpts=[];for(var u=0;u<l;u++){var h=s.pfValue[u],f=c.pfValue[u],d=1-h,A=h,p="node-position"===o?r:i,g={x:p.x1*d+p.x2*A,y:p.y1*d+p.y2*A};n.segpts.push(g.x+a.x*f,g.y+a.y*f)}},kh.findLoopPoints=function(t,e,n,r){var i=t._private.rscratch,a=e.dirCounts,o=e.srcPos,s=t.pstyle("control-point-distances"),c=s?s.pfValue[0]:void 0,l=t.pstyle("loop-direction").pfValue,u=t.pstyle("loop-sweep").pfValue,h=t.pstyle("control-point-step-size").pfValue;i.edgeType="self";var f=n,d=h;r&&(f=0,d=c);var A=l-Math.PI/2,p=A-u/2,g=A+u/2,m=String(l+"_"+u);f=void 0===a[m]?a[m]=0:++a[m],i.ctrlpts=[o.x+1.4*Math.cos(p)*d*(f/3+1),o.y+1.4*Math.sin(p)*d*(f/3+1),o.x+1.4*Math.cos(g)*d*(f/3+1),o.y+1.4*Math.sin(g)*d*(f/3+1)]},kh.findCompoundLoopPoints=function(t,e,n,r){var i=t._private.rscratch;i.edgeType="compound";var a=e.srcPos,o=e.tgtPos,s=e.srcW,c=e.srcH,l=e.tgtW,u=e.tgtH,h=t.pstyle("control-point-step-size").pfValue,f=t.pstyle("control-point-distances"),d=f?f.pfValue[0]:void 0,A=n,p=h;r&&(A=0,p=d);var g=50,m={x:a.x-s/2,y:a.y-c/2},b={x:o.x-l/2,y:o.y-u/2},v={x:Math.min(m.x,b.x),y:Math.min(m.y,b.y)},y=.5,w=Math.max(y,Math.log(.01*s)),T=Math.max(y,Math.log(.01*l));i.ctrlpts=[v.x,v.y-(1+Math.pow(g,1.12)/100)*p*(A/3+1)*w,v.x-(1+Math.pow(g,1.12)/100)*p*(A/3+1)*T,v.y]},kh.findStraightEdgePoints=function(t){t._private.rscratch.edgeType="straight"},kh.findBezierPoints=function(t,e,n,r,i){var a=t._private.rscratch,o=e.vectorNormInverse,s=e.posPts,c=e.intersectionPts,l=t.pstyle("edge-distances").value,u=t.pstyle("control-point-step-size").pfValue,h=t.pstyle("control-point-distances"),f=t.pstyle("control-point-weights"),d=h&&f?Math.min(h.value.length,f.value.length):1,A=h?h.pfValue[0]:void 0,p=f.value[0],g=r;a.edgeType=g?"multibezier":"bezier",a.ctrlpts=[];for(var m=0;m<d;m++){var b=(.5-e.eles.length/2+n)*u*(i?-1:1),v=void 0,y=xn(b);g&&(A=h?h.pfValue[m]:u,p=f.value[m]);var w=void 0!==(v=r?A:void 0!==A?y*A:void 0)?v:b,T=1-p,k=p,C="node-position"===l?s:c,E={x:C.x1*T+C.x2*k,y:C.y1*T+C.y2*k};a.ctrlpts.push(E.x+o.x*w,E.y+o.y*w)}},kh.findTaxiPoints=function(t,e){var n=t._private.rscratch;n.edgeType="segments";var r="vertical",i="horizontal",a="leftward",o="rightward",s="downward",c="upward",l="auto",u=e.posPts,h=e.srcW,f=e.srcH,d=e.tgtW,A=e.tgtH,p="node-position"!==t.pstyle("edge-distances").value,g=t.pstyle("taxi-direction").value,m=g,b=t.pstyle("taxi-turn"),v="%"===b.units,y=b.pfValue,w=y<0,T=t.pstyle("taxi-turn-min-distance").pfValue,k=p?(h+d)/2:0,C=p?(f+A)/2:0,E=u.x2-u.x1,x=u.y2-u.y1,_=function(t,e){return t>0?Math.max(t-e,0):Math.min(t+e,0)},B=_(E,k),S=_(x,C),L=!1;m===l?g=Math.abs(B)>Math.abs(S)?i:r:m===c||m===s?(g=r,L=!0):m!==a&&m!==o||(g=i,L=!0);var I,M=g===r,O=M?S:B,N=M?x:E,D=xn(N),F=!1;L&&(v||w)||!(m===s&&N<0||m===c&&N>0||m===a&&N>0||m===o&&N<0)||(O=(D*=-1)*Math.abs(O),F=!0);var P=function(t){return Math.abs(t)<T||Math.abs(t)>=Math.abs(O)},R=P(I=v?(y<0?1+y:y)*O:(y<0?O:0)+y*D),Q=P(Math.abs(O)-Math.abs(I));if(!R&&!Q||F)if(M){var U=u.y1+I+(p?f/2*D:0),H=u.x1,j=u.x2;n.segpts=[H,U,j,U]}else{var $=u.x1+I+(p?h/2*D:0),K=u.y1,G=u.y2;n.segpts=[$,K,$,G]}else if(M){var z=Math.abs(N)<=f/2,X=Math.abs(E)<=d/2;if(z){var q=(u.x1+u.x2)/2,V=u.y1,W=u.y2;n.segpts=[q,V,q,W]}else if(X){var Y=(u.y1+u.y2)/2,J=u.x1,Z=u.x2;n.segpts=[J,Y,Z,Y]}else n.segpts=[u.x1,u.y2]}else{var tt=Math.abs(N)<=h/2,et=Math.abs(x)<=A/2;if(tt){var nt=(u.y1+u.y2)/2,rt=u.x1,it=u.x2;n.segpts=[rt,nt,it,nt]}else if(et){var at=(u.x1+u.x2)/2,ot=u.y1,st=u.y2;n.segpts=[at,ot,at,st]}else n.segpts=[u.x2,u.y1]}},kh.tryToCorrectInvalidPoints=function(t,e){var n=t._private.rscratch;if("bezier"===n.edgeType){var r=e.srcPos,i=e.tgtPos,a=e.srcW,o=e.srcH,s=e.tgtW,c=e.tgtH,l=e.srcShape,u=e.tgtShape,h=!C(n.startX)||!C(n.startY),f=!C(n.arrowStartX)||!C(n.arrowStartY),d=!C(n.endX)||!C(n.endY),A=!C(n.arrowEndX)||!C(n.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,g=_n({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),m=g<p,b=_n({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.endX,y:n.endY}),v=b<p,y=!1;if(h||f||m){y=!0;var w={x:n.ctrlpts[0]-r.x,y:n.ctrlpts[1]-r.y},T=Math.sqrt(w.x*w.x+w.y*w.y),k={x:w.x/T,y:w.y/T},E=Math.max(a,o),x={x:n.ctrlpts[0]+2*k.x*E,y:n.ctrlpts[1]+2*k.y*E},_=l.intersectLine(r.x,r.y,a,o,x.x,x.y,0);m?(n.ctrlpts[0]=n.ctrlpts[0]+k.x*(p-g),n.ctrlpts[1]=n.ctrlpts[1]+k.y*(p-g)):(n.ctrlpts[0]=_[0]+k.x*p,n.ctrlpts[1]=_[1]+k.y*p)}if(d||A||v){y=!0;var B={x:n.ctrlpts[0]-i.x,y:n.ctrlpts[1]-i.y},S=Math.sqrt(B.x*B.x+B.y*B.y),L={x:B.x/S,y:B.y/S},I=Math.max(a,o),M={x:n.ctrlpts[0]+2*L.x*I,y:n.ctrlpts[1]+2*L.y*I},O=u.intersectLine(i.x,i.y,s,c,M.x,M.y,0);v?(n.ctrlpts[0]=n.ctrlpts[0]+L.x*(p-b),n.ctrlpts[1]=n.ctrlpts[1]+L.y*(p-b)):(n.ctrlpts[0]=O[0]+L.x*p,n.ctrlpts[1]=O[1]+L.y*p)}y&&this.findEndpoints(t)}},kh.storeAllpts=function(t){var e=t._private.rscratch;if("multibezier"===e.edgeType||"bezier"===e.edgeType||"self"===e.edgeType||"compound"===e.edgeType){e.allpts=[],e.allpts.push(e.startX,e.startY);for(var n=0;n+1<e.ctrlpts.length;n+=2)e.allpts.push(e.ctrlpts[n],e.ctrlpts[n+1]),n+3<e.ctrlpts.length&&e.allpts.push((e.ctrlpts[n]+e.ctrlpts[n+2])/2,(e.ctrlpts[n+1]+e.ctrlpts[n+3])/2);var r,i;e.allpts.push(e.endX,e.endY),e.ctrlpts.length/2%2==0?(r=e.allpts.length/2-1,e.midX=e.allpts[r],e.midY=e.allpts[r+1]):(r=e.allpts.length/2-3,i=.5,e.midX=Ln(e.allpts[r],e.allpts[r+2],e.allpts[r+4],i),e.midY=Ln(e.allpts[r+1],e.allpts[r+3],e.allpts[r+5],i))}else if("straight"===e.edgeType)e.allpts=[e.startX,e.startY,e.endX,e.endY],e.midX=(e.startX+e.endX+e.arrowStartX+e.arrowEndX)/4,e.midY=(e.startY+e.endY+e.arrowStartY+e.arrowEndY)/4;else if("segments"===e.edgeType)if(e.allpts=[],e.allpts.push(e.startX,e.startY),e.allpts.push.apply(e.allpts,e.segpts),e.allpts.push(e.endX,e.endY),e.segpts.length%4==0){var a=e.segpts.length/2,o=a-2;e.midX=(e.segpts[o]+e.segpts[a])/2,e.midY=(e.segpts[o+1]+e.segpts[a+1])/2}else{var s=e.segpts.length/2-1;e.midX=e.segpts[s],e.midY=e.segpts[s+1]}},kh.checkForInvalidEdgeWarning=function(t){var e=t[0]._private.rscratch;e.nodesOverlap||C(e.startX)&&C(e.startY)&&C(e.endX)&&C(e.endY)?e.loggedErr=!1:e.loggedErr||(e.loggedErr=!0,Me("Edge `"+t.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},kh.findEdgeControlPoints=function(t){var e=this;if(t&&0!==t.length){for(var n=this,r=n.cy.hasCompoundNodes(),i={map:new ze,get:function(t){var e=this.map.get(t[0]);return null!=e?e.get(t[1]):null},set:function(t,e){var n=this.map.get(t[0]);null==n&&(n=new ze,this.map.set(t[0],n)),n.set(t[1],e)}},a=[],o=[],s=0;s<t.length;s++){var c=t[s],l=c._private,u=c.pstyle("curve-style").value;if(!c.removed()&&c.takesUpSpace())if("haystack"!==u){var h="unbundled-bezier"===u||"segments"===u||"straight"===u||"straight-triangle"===u||"taxi"===u,f="unbundled-bezier"===u||"bezier"===u,d=l.source,A=l.target,p=[d.poolIndex(),A.poolIndex()].sort(),g=i.get(p);null==g&&(g={eles:[]},i.set(p,g),a.push(p)),g.eles.push(c),h&&(g.hasUnbundled=!0),f&&(g.hasBezier=!0)}else o.push(c)}for(var m=function(t){var o=a[t],s=i.get(o),c=void 0;if(!s.hasUnbundled){var l=s.eles[0].parallelEdges().filter((function(t){return t.isBundledBezier()}));He(s.eles),l.forEach((function(t){return s.eles.push(t)})),s.eles.sort((function(t,e){return t.poolIndex()-e.poolIndex()}))}var u=s.eles[0],h=u.source(),f=u.target();if(h.poolIndex()>f.poolIndex()){var d=h;h=f,f=d}var A=s.srcPos=h.position(),p=s.tgtPos=f.position(),g=s.srcW=h.outerWidth(),m=s.srcH=h.outerHeight(),b=s.tgtW=f.outerWidth(),v=s.tgtH=f.outerHeight(),y=s.srcShape=n.nodeShapes[e.getNodeShape(h)],w=s.tgtShape=n.nodeShapes[e.getNodeShape(f)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var T=0;T<s.eles.length;T++){var k=s.eles[T],E=k[0]._private.rscratch,x=k.pstyle("curve-style").value,_="unbundled-bezier"===x||"segments"===x||"taxi"===x,B=!h.same(k.source());if(!s.calculatedIntersection&&h!==f&&(s.hasBezier||s.hasUnbundled)){s.calculatedIntersection=!0;var S=y.intersectLine(A.x,A.y,g,m,p.x,p.y,0),L=s.srcIntn=S,I=w.intersectLine(p.x,p.y,b,v,A.x,A.y,0),M=s.tgtIntn=I,O=s.intersectionPts={x1:S[0],x2:I[0],y1:S[1],y2:I[1]},N=s.posPts={x1:A.x,x2:p.x,y1:A.y,y2:p.y},D=I[1]-S[1],F=I[0]-S[0],P=Math.sqrt(F*F+D*D),R=s.vector={x:F,y:D},Q=s.vectorNorm={x:R.x/P,y:R.y/P},U={x:-Q.y,y:Q.x};s.nodesOverlap=!C(P)||w.checkPoint(S[0],S[1],0,b,v,p.x,p.y)||y.checkPoint(I[0],I[1],0,g,m,A.x,A.y),s.vectorNormInverse=U,c={nodesOverlap:s.nodesOverlap,dirCounts:s.dirCounts,calculatedIntersection:!0,hasBezier:s.hasBezier,hasUnbundled:s.hasUnbundled,eles:s.eles,srcPos:p,tgtPos:A,srcW:b,srcH:v,tgtW:g,tgtH:m,srcIntn:M,tgtIntn:L,srcShape:w,tgtShape:y,posPts:{x1:N.x2,y1:N.y2,x2:N.x1,y2:N.y1},intersectionPts:{x1:O.x2,y1:O.y2,x2:O.x1,y2:O.y1},vector:{x:-R.x,y:-R.y},vectorNorm:{x:-Q.x,y:-Q.y},vectorNormInverse:{x:-U.x,y:-U.y}}}var H=B?c:s;E.nodesOverlap=H.nodesOverlap,E.srcIntn=H.srcIntn,E.tgtIntn=H.tgtIntn,r&&(h.isParent()||h.isChild()||f.isParent()||f.isChild())&&(h.parents().anySame(f)||f.parents().anySame(h)||h.same(f)&&h.isParent())?e.findCompoundLoopPoints(k,H,T,_):h===f?e.findLoopPoints(k,H,T,_):"segments"===x?e.findSegmentsPoints(k,H):"taxi"===x?e.findTaxiPoints(k,H):"straight"===x||!_&&s.eles.length%2==1&&T===Math.floor(s.eles.length/2)?e.findStraightEdgePoints(k):e.findBezierPoints(k,H,T,_,B),e.findEndpoints(k),e.tryToCorrectInvalidPoints(k,H),e.checkForInvalidEdgeWarning(k),e.storeAllpts(k),e.storeEdgeProjections(k),e.calculateArrowAngles(k),e.recalculateEdgeLabelProjections(k),e.calculateLabelAngles(k)}},b=0;b<a.length;b++)m(b);this.findHaystackPoints(o)}},kh.getSegmentPoints=function(t){var e=t[0]._private.rscratch;if("segments"===e.edgeType)return this.recalculateRenderedStyle(t),Ch(e.segpts)},kh.getControlPoints=function(t){var e=t[0]._private.rscratch,n=e.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return this.recalculateRenderedStyle(t),Ch(e.ctrlpts)},kh.getEdgeMidpoint=function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),{x:e.midX,y:e.midY}};var Eh={manualEndptToPx:function(t,e){var n=this,r=t.position(),i=t.outerWidth(),a=t.outerHeight();if(2===e.value.length){var o=[e.pfValue[0],e.pfValue[1]];return"%"===e.units[0]&&(o[0]=o[0]*i),"%"===e.units[1]&&(o[1]=o[1]*a),o[0]+=r.x,o[1]+=r.y,o}var s=e.pfValue[0];s=-Math.PI/2+s;var c=2*Math.max(i,a),l=[r.x+Math.cos(s)*c,r.y+Math.sin(s)*c];return n.nodeShapes[this.getNodeShape(t)].intersectLine(r.x,r.y,i,a,l[0],l[1],0)},findEndpoints:function(t){var e,n,r,i,a,o=this,s=t.source()[0],c=t.target()[0],l=s.position(),u=c.position(),h=t.pstyle("target-arrow-shape").value,f=t.pstyle("source-arrow-shape").value,d=t.pstyle("target-distance-from-node").pfValue,A=t.pstyle("source-distance-from-node").pfValue,p=t.pstyle("curve-style").value,g=t._private.rscratch,m=g.edgeType,b="self"===m||"compound"===m,v="bezier"===m||"multibezier"===m||b,y="bezier"!==m,w="straight"===m||"segments"===m,T="segments"===m,k=v||y||w,E=b||"taxi"===p,x=t.pstyle("source-endpoint"),_=E?"outside-to-node":x.value,B=t.pstyle("target-endpoint"),S=E?"outside-to-node":B.value;if(g.srcManEndpt=x,g.tgtManEndpt=B,v){var L=[g.ctrlpts[0],g.ctrlpts[1]];n=y?[g.ctrlpts[g.ctrlpts.length-2],g.ctrlpts[g.ctrlpts.length-1]]:L,r=L}else if(w){var I=T?g.segpts.slice(0,2):[u.x,u.y];n=T?g.segpts.slice(g.segpts.length-2):[l.x,l.y],r=I}if("inside-to-node"===S)e=[u.x,u.y];else if(B.units)e=this.manualEndptToPx(c,B);else if("outside-to-line"===S)e=g.tgtIntn;else if("outside-to-node"===S||"outside-to-node-or-label"===S?i=n:"outside-to-line"!==S&&"outside-to-line-or-label"!==S||(i=[l.x,l.y]),e=o.nodeShapes[this.getNodeShape(c)].intersectLine(u.x,u.y,c.outerWidth(),c.outerHeight(),i[0],i[1],0),"outside-to-node-or-label"===S||"outside-to-line-or-label"===S){var M=c._private.rscratch,O=M.labelWidth,N=M.labelHeight,D=M.labelX,F=M.labelY,P=O/2,R=N/2,Q=c.pstyle("text-valign").value;"top"===Q?F-=R:"bottom"===Q&&(F+=R);var U=c.pstyle("text-halign").value;"left"===U?D-=P:"right"===U&&(D+=P);var H=lr(i[0],i[1],[D-P,F-R,D+P,F-R,D+P,F+R,D-P,F+R],u.x,u.y);if(H.length>0){var j=l,$=Bn(j,bn(e)),K=Bn(j,bn(H)),G=$;K<$&&(e=H,G=K),H.length>2&&Bn(j,{x:H[2],y:H[3]})<G&&(e=[H[2],H[3]])}}var z=hr(e,n,o.arrowShapes[h].spacing(t)+d),X=hr(e,n,o.arrowShapes[h].gap(t)+d);if(g.endX=X[0],g.endY=X[1],g.arrowEndX=z[0],g.arrowEndY=z[1],"inside-to-node"===_)e=[l.x,l.y];else if(x.units)e=this.manualEndptToPx(s,x);else if("outside-to-line"===_)e=g.srcIntn;else if("outside-to-node"===_||"outside-to-node-or-label"===_?a=r:"outside-to-line"!==_&&"outside-to-line-or-label"!==_||(a=[u.x,u.y]),e=o.nodeShapes[this.getNodeShape(s)].intersectLine(l.x,l.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0),"outside-to-node-or-label"===_||"outside-to-line-or-label"===_){var q=s._private.rscratch,V=q.labelWidth,W=q.labelHeight,Y=q.labelX,J=q.labelY,Z=V/2,tt=W/2,et=s.pstyle("text-valign").value;"top"===et?J-=tt:"bottom"===et&&(J+=tt);var nt=s.pstyle("text-halign").value;"left"===nt?Y-=Z:"right"===nt&&(Y+=Z);var rt=lr(a[0],a[1],[Y-Z,J-tt,Y+Z,J-tt,Y+Z,J+tt,Y-Z,J+tt],l.x,l.y);if(rt.length>0){var it=u,at=Bn(it,bn(e)),ot=Bn(it,bn(rt)),st=at;ot<at&&(e=[rt[0],rt[1]],st=ot),rt.length>2&&Bn(it,{x:rt[2],y:rt[3]})<st&&(e=[rt[2],rt[3]])}}var ct=hr(e,r,o.arrowShapes[f].spacing(t)+A),lt=hr(e,r,o.arrowShapes[f].gap(t)+A);g.startX=lt[0],g.startY=lt[1],g.arrowStartX=ct[0],g.arrowStartY=ct[1],k&&(C(g.startX)&&C(g.startY)&&C(g.endX)&&C(g.endY)?g.badLine=!1:g.badLine=!0)},getSourceEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[0],y:e.haystackPts[1]}:{x:e.arrowStartX,y:e.arrowStartY}},getTargetEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[2],y:e.haystackPts[3]}:{x:e.arrowEndX,y:e.arrowEndY}}},xh={};function _h(t,e,n){for(var r=function(t,e,n,r){return Ln(t,e,n,r)},i=e._private.rstyle.bezierPts,a=0;a<t.bezierProjPcts.length;a++){var o=t.bezierProjPcts[a];i.push({x:r(n[0],n[2],n[4],o),y:r(n[1],n[3],n[5],o)})}}xh.storeEdgeProjections=function(t){var e=t._private,n=e.rscratch,r=n.edgeType;if(e.rstyle.bezierPts=null,e.rstyle.linePts=null,e.rstyle.haystackPts=null,"multibezier"===r||"bezier"===r||"self"===r||"compound"===r){e.rstyle.bezierPts=[];for(var i=0;i+5<n.allpts.length;i+=4)_h(this,t,n.allpts.slice(i,i+6))}else if("segments"===r){var a=e.rstyle.linePts=[];for(i=0;i+1<n.allpts.length;i+=2)a.push({x:n.allpts[i],y:n.allpts[i+1]})}else if("haystack"===r){var o=n.haystackPts;e.rstyle.haystackPts=[{x:o[0],y:o[1]},{x:o[2],y:o[3]}]}e.rstyle.arrowWidth=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth},xh.recalculateEdgeProjections=function(t){this.findEdgeControlPoints(t)};var Bh={recalculateNodeLabelProjection:function(t){var e=t.pstyle("label").strValue;if(!O(e)){var n,r,i=t._private,a=t.width(),o=t.height(),s=t.padding(),c=t.position(),l=t.pstyle("text-halign").strValue,u=t.pstyle("text-valign").strValue,h=i.rscratch,f=i.rstyle;switch(l){case"left":n=c.x-a/2-s;break;case"right":n=c.x+a/2+s;break;default:n=c.x}switch(u){case"top":r=c.y-o/2-s;break;case"bottom":r=c.y+o/2+s;break;default:r=c.y}h.labelX=n,h.labelY=r,f.labelX=n,f.labelY=r,this.calculateLabelAngles(t),this.applyLabelDimensions(t)}}},Sh=function(t,e){var n=Math.atan(e/t);return 0===t&&n<0&&(n*=-1),n},Lh=function(t,e){var n=e.x-t.x,r=e.y-t.y;return Sh(n,r)},Ih=function(t,e,n,r){var i=On(0,r-.001,1),a=On(0,r+.001,1),o=In(t,e,n,i),s=In(t,e,n,a);return Lh(o,s)};Bh.recalculateEdgeLabelProjections=function(t){var e,n=t._private,r=n.rscratch,i=this,a={mid:t.pstyle("label").strValue,source:t.pstyle("source-label").strValue,target:t.pstyle("target-label").strValue};if(a.mid||a.source||a.target){e={x:r.midX,y:r.midY};var o=function(t,e,r){Ke(n.rscratch,t,e,r),Ke(n.rstyle,t,e,r)};o("labelX",null,e.x),o("labelY",null,e.y);var s=Sh(r.midDispX,r.midDispY);o("labelAutoAngle",null,s);var c=function t(){if(t.cache)return t.cache;for(var e=[],a=0;a+5<r.allpts.length;a+=4){var o={x:r.allpts[a],y:r.allpts[a+1]},s={x:r.allpts[a+2],y:r.allpts[a+3]},c={x:r.allpts[a+4],y:r.allpts[a+5]};e.push({p0:o,p1:s,p2:c,startDist:0,length:0,segments:[]})}var l=n.rstyle.bezierPts,u=i.bezierProjPcts.length;function h(t,e,n,r,i){var a=_n(e,n),o=t.segments[t.segments.length-1],s={p0:e,p1:n,t0:r,t1:i,startDist:o?o.startDist+o.length:0,length:a};t.segments.push(s),t.length+=a}for(var f=0;f<e.length;f++){var d=e[f],A=e[f-1];A&&(d.startDist=A.startDist+A.length),h(d,d.p0,l[f*u],0,i.bezierProjPcts[0]);for(var p=0;p<u-1;p++)h(d,l[f*u+p],l[f*u+p+1],i.bezierProjPcts[p],i.bezierProjPcts[p+1]);h(d,l[f*u+u-1],d.p2,i.bezierProjPcts[u-1],1)}return t.cache=e},l=function(n){var i,s="source"===n;if(a[n]){var l=t.pstyle(n+"-text-offset").pfValue;switch(r.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var u,h=c(),f=0,d=0,A=0;A<h.length;A++){for(var p=h[s?A:h.length-1-A],g=0;g<p.segments.length;g++){var m=p.segments[s?g:p.segments.length-1-g],b=A===h.length-1&&g===p.segments.length-1;if(f=d,(d+=m.length)>=l||b){u={cp:p,segment:m};break}}if(u)break}var v=u.cp,y=u.segment,w=(l-f)/y.length,T=y.t1-y.t0,k=s?y.t0+T*w:y.t1-T*w;k=On(0,k,1),e=In(v.p0,v.p1,v.p2,k),i=Ih(v.p0,v.p1,v.p2,k);break;case"straight":case"segments":case"haystack":for(var C,E,x,_,B=0,S=r.allpts.length,L=0;L+3<S&&(s?(x={x:r.allpts[L],y:r.allpts[L+1]},_={x:r.allpts[L+2],y:r.allpts[L+3]}):(x={x:r.allpts[S-2-L],y:r.allpts[S-1-L]},_={x:r.allpts[S-4-L],y:r.allpts[S-3-L]}),E=B,!((B+=C=_n(x,_))>=l));L+=2);var I=(l-E)/C;I=On(0,I,1),e=Mn(x,_,I),i=Lh(x,_)}o("labelX",n,e.x),o("labelY",n,e.y),o("labelAutoAngle",n,i)}};l("source"),l("target"),this.applyLabelDimensions(t)}},Bh.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},Bh.applyPrefixedLabelDimensions=function(t,e){var n=t._private,r=this.getLabelText(t,e),i=this.calculateLabelDimensions(t,r),a=t.pstyle("line-height").pfValue,o=t.pstyle("text-wrap").strValue,s=$e(n.rscratch,"labelWrapCachedLines",e)||[],c="wrap"!==o?1:Math.max(s.length,1),l=i.height/c,u=l*a,h=i.width,f=i.height+(c-1)*(a-1)*l;Ke(n.rstyle,"labelWidth",e,h),Ke(n.rscratch,"labelWidth",e,h),Ke(n.rstyle,"labelHeight",e,f),Ke(n.rscratch,"labelHeight",e,f),Ke(n.rscratch,"labelLineHeight",e,u)},Bh.getLabelText=function(t,e){var n=t._private,r=e?e+"-":"",i=t.pstyle(r+"label").strValue,a=t.pstyle("text-transform").value,o=function(t,r){return r?(Ke(n.rscratch,t,e,r),r):$e(n.rscratch,t,e)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=t.pstyle("text-wrap").value;if("wrap"===s){var c=o("labelKey");if(null!=c&&o("labelWrapKey")===c)return o("labelWrapCachedText");for(var l="",u=i.split("\n"),h=t.pstyle("text-max-width").pfValue,f="anywhere"===t.pstyle("text-overflow-wrap").value,d=[],A=/[\s\u200b]+/,p=f?"":" ",g=0;g<u.length;g++){var m=u[g],b=this.calculateLabelDimensions(t,m).width;if(f){var v=m.split("").join(l);m=v}if(b>h){for(var y=m.split(A),w="",T=0;T<y.length;T++){var k=y[T],C=0===w.length?k:w+p+k;this.calculateLabelDimensions(t,C).width<=h?w+=k+p:(w&&d.push(w),w=k+p)}w.match(/^[\s\u200b]+$/)||d.push(w)}else d.push(m)}o("labelWrapCachedLines",d),i=o("labelWrapCachedText",d.join("\n")),o("labelWrapKey",c)}else if("ellipsis"===s){var E=t.pstyle("text-max-width").pfValue,x="",_="…",B=!1;if(this.calculateLabelDimensions(t,i).width<E)return i;for(var S=0;S<i.length&&!(this.calculateLabelDimensions(t,x+i[S]+_).width>E);S++)x+=i[S],S===i.length-1&&(B=!0);return B||(x+=_),x}return i},Bh.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,n=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Bh.calculateLabelDimensions=function(t,e){var n=this,r=ve(e,t._private.labelDimsKey),i=n.labelDimCache||(n.labelDimCache=[]),a=i[r];if(null!=a)return a;var o=0,s=t.pstyle("font-style").strValue,c=t.pstyle("font-size").pfValue,l=t.pstyle("font-family").strValue,u=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,f=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),f=this.labelCalcCanvasContext=h.getContext("2d");var d=h.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}f.font="".concat(s," ").concat(u," ").concat(c,"px ").concat(l);for(var A=0,p=0,g=e.split("\n"),m=0;m<g.length;m++){var b=g[m],v=f.measureText(b),y=Math.ceil(v.width),w=c;A=Math.max(y,A),p+=w}return A+=o,p+=o,i[r]={width:A,height:p}},Bh.calculateLabelAngle=function(t,e){var n=t._private.rscratch,r=t.isEdge(),i=e?e+"-":"",a=t.pstyle(i+"text-rotation"),o=a.strValue;return"none"===o?0:r&&"autorotate"===o?n.labelAutoAngle:"autorotate"===o?0:a.pfValue},Bh.calculateLabelAngles=function(t){var e=this,n=t.isEdge(),r=t._private.rscratch;r.labelAngle=e.calculateLabelAngle(t),n&&(r.sourceLabelAngle=e.calculateLabelAngle(t,"source"),r.targetLabelAngle=e.calculateLabelAngle(t,"target"))};var Mh={},Oh=28,Nh=!1;Mh.getNodeShape=function(t){var e=this,n=t.pstyle("shape").value;if("cutrectangle"===n&&(t.width()<Oh||t.height()<Oh))return Nh||(Me("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),Nh=!0),"rectangle";if(t.isParent())return"rectangle"===n||"roundrectangle"===n||"round-rectangle"===n||"cutrectangle"===n||"cut-rectangle"===n||"barrel"===n?n:"rectangle";if("polygon"===n){var r=t.pstyle("shape-polygon-points").value;return e.nodeShapes.makePolygon(r).name}return n};var Dh={registerCalculationListeners:function(){var t=this.cy,e=t.collection(),n=this,r=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var r=0;r<t.length;r++){var i=t[r]._private.rstyle;i.clean=!1,i.cleanConnected=!1}};n.binder(t).on("bounds.* dirty.*",(function(t){var e=t.target;r(e)})).on("style.* background.*",(function(t){var e=t.target;r(e,!1)}));var i=function(i){if(i){var a=n.onUpdateEleCalcsFns;e.cleanStyle();for(var o=0;o<e.length;o++){var s=e[o],c=s._private.rstyle;s.isNode()&&!c.cleanConnected&&(r(s.connectedEdges()),c.cleanConnected=!0)}if(a)for(var l=0;l<a.length;l++)(0,a[l])(i,e);n.recalculateRenderedStyle(e),e=t.collection()}};n.flushRenderedStyleQueue=function(){i(!0)},n.beforeRender(i,n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(t){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(t)},recalculateRenderedStyle:function(t,e){var n=function(t){return t._private.rstyle.cleanConnected},r=[],i=[];if(!this.destroyed){void 0===e&&(e=!0);for(var a=0;a<t.length;a++){var o=t[a],s=o._private,c=s.rstyle;!o.isEdge()||n(o.source())&&n(o.target())||(c.clean=!1),e&&c.clean||o.removed()||"none"!==o.pstyle("display").value&&("nodes"===s.group?i.push(o):r.push(o),c.clean=!0)}for(var l=0;l<i.length;l++){var u=i[l],h=u._private.rstyle,f=u.position();this.recalculateNodeLabelProjection(u),h.nodeX=f.x,h.nodeY=f.y,h.nodeW=u.pstyle("width").pfValue,h.nodeH=u.pstyle("height").pfValue}this.recalculateEdgeProjections(r);for(var d=0;d<r.length;d++){var A=r[d]._private,p=A.rstyle,g=A.rscratch;p.srcX=g.arrowStartX,p.srcY=g.arrowStartY,p.tgtX=g.arrowEndX,p.tgtY=g.arrowEndY,p.midX=g.midX,p.midY=g.midY,p.labelAngle=g.labelAngle,p.sourceLabelAngle=g.sourceLabelAngle,p.targetLabelAngle=g.targetLabelAngle}}}},Fh={updateCachedGrabbedEles:function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],n=0;n<t.length;n++){var r=(i=t[n])._private.rscratch;i.grabbed()&&!i.isParent()?e.push(i):r.inDragLayer?t.drag.push(i):t.nondrag.push(i)}for(n=0;n<e.length;n++){var i=e[n];t.drag.push(i)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(gl),e.interactive=e.filter((function(t){return t.interactive()})),this.cachedZSortedEles=e,this.updateCachedGrabbedEles()}else e=this.cachedZSortedEles;return e}},Ph={};[wh,Th,kh,Eh,xh,Bh,Mh,Dh,Fh].forEach((function(t){J(Ph,t)}));var Rh={getCachedImage:function(t,e,n){var r=this,i=r.imageCache=r.imageCache||{},a=i[t];if(a)return a.image.complete||a.image.addEventListener("load",n),a.image;var o=(a=i[t]=i[t]||{}).image=new Image;o.addEventListener("load",n),o.addEventListener("error",(function(){o.error=!0}));var s="data:";return t.substring(0,s.length).toLowerCase()===s||(e="null"===e?null:e,o.crossOrigin=e),o.src=t,o}},Qh={registerBinding:function(t,e,n,r){var i=Array.prototype.slice.apply(arguments,[1]),a=this.binder(t);return a.on.apply(a,i)},binder:function(t){var e=this,n=e.cy.window(),r=t===n||t===n.document||t===n.document.body||N(t);if(null==e.supportsPassiveEvents){var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){return i=!0,!0}});n.addEventListener("test",null,a)}catch(t){}e.supportsPassiveEvents=i}var o=function(n,i,a){var o=Array.prototype.slice.call(arguments);return r&&e.supportsPassiveEvents&&(o[2]={capture:null!=a&&a,passive:!1,once:!1}),e.bindings.push({target:t,args:o}),(t.addEventListener||t.on).apply(t,o),this};return{on:o,addEventListener:o,addListener:o,bind:o}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()},load:function(){var t=this,e=t.cy.window(),n=function(t){return t.selected()},r=function(e,n,r,i){null==e&&(e=t.cy);for(var a=0;a<n.length;a++){var o=n[a];e.emit({originalEvent:r,type:o,position:i})}},i=function(t){return t.shiftKey||t.metaKey||t.ctrlKey},a=function(e,n){var r=!0;if(t.cy.hasCompoundNodes()&&e&&e.pannable()){for(var i=0;n&&i<n.length;i++)if((e=n[i]).isNode()&&e.isParent()&&!e.pannable()){r=!1;break}}else r=!0;return r},o=function(t){t[0]._private.grabbed=!0},s=function(t){t[0]._private.grabbed=!1},c=function(t){t[0]._private.rscratch.inDragLayer=!0},l=function(t){t[0]._private.rscratch.inDragLayer=!1},u=function(t){t[0]._private.rscratch.isGrabTarget=!0},h=function(t){t[0]._private.rscratch.isGrabTarget=!1},f=function(t,e){var n=e.addToList;n.has(t)||!t.grabbable()||t.locked()||(n.merge(t),o(t))},d=function(t,e){if(t.cy().hasCompoundNodes()&&(null!=e.inDragLayer||null!=e.addToList)){var n=t.descendants();e.inDragLayer&&(n.forEach(c),n.connectedEdges().forEach(c)),e.addToList&&f(n,e)}},A=function(e,n){n=n||{};var r=e.cy().hasCompoundNodes();n.inDragLayer&&(e.forEach(c),e.neighborhood().stdFilter((function(t){return!r||t.isEdge()})).forEach(c)),n.addToList&&e.forEach((function(t){f(t,n)})),d(e,n),m(e,{inDragLayer:n.inDragLayer}),t.updateCachedGrabbedEles()},p=A,g=function(e){e&&(t.getCachedZSortedEles().forEach((function(t){s(t),l(t),h(t)})),t.updateCachedGrabbedEles())},m=function(t,e){if((null!=e.inDragLayer||null!=e.addToList)&&t.cy().hasCompoundNodes()){var n=t.ancestors().orphans();if(!n.same(t)){var r=n.descendants().spawnSelf().merge(n).unmerge(t).unmerge(t.descendants()),i=r.connectedEdges();e.inDragLayer&&(i.forEach(c),r.forEach(c)),e.addToList&&r.forEach((function(t){f(t,e)}))}}},b=function(){null!=document.activeElement&&null!=document.activeElement.blur&&document.activeElement.blur()},v="undefined"!=typeof MutationObserver,y="undefined"!=typeof ResizeObserver;v?(t.removeObserver=new MutationObserver((function(e){for(var n=0;n<e.length;n++){var r=e[n].removedNodes;if(r)for(var i=0;i<r.length;i++)if(r[i]===t.container){t.destroy();break}}})),t.container.parentNode&&t.removeObserver.observe(t.container.parentNode,{childList:!0})):t.registerBinding(t.container,"DOMNodeRemoved",(function(e){t.destroy()}));var w=re((function(){t.cy.resize()}),100);v&&(t.styleObserver=new MutationObserver(w),t.styleObserver.observe(t.container,{attributes:!0})),t.registerBinding(e,"resize",w),y&&(t.resizeObserver=new ResizeObserver(w),t.resizeObserver.observe(t.container));var T=function(t,e){for(;null!=t;)e(t),t=t.parentNode},k=function(){t.invalidateContainerClientCoordsCache()};T(t.container,(function(e){t.registerBinding(e,"transitionend",k),t.registerBinding(e,"animationend",k),t.registerBinding(e,"scroll",k)})),t.registerBinding(t.container,"contextmenu",(function(t){t.preventDefault()}));var E,x,_,B=function(){return 0!==t.selection[4]},S=function(e){for(var n=t.findContainerClientCoords(),r=n[0],i=n[1],a=n[2],o=n[3],s=e.touches?e.touches:[e],c=!1,l=0;l<s.length;l++){var u=s[l];if(r<=u.clientX&&u.clientX<=r+a&&i<=u.clientY&&u.clientY<=i+o){c=!0;break}}if(!c)return!1;for(var h=t.container,f=e.target.parentNode,d=!1;f;){if(f===h){d=!0;break}f=f.parentNode}return!!d};t.registerBinding(t.container,"mousedown",(function(e){if(S(e)){e.preventDefault(),b(),t.hoverData.capture=!0,t.hoverData.which=e.which;var n=t.cy,i=[e.clientX,e.clientY],a=t.projectIntoViewport(i[0],i[1]),o=t.selection,s=t.findNearestElements(a[0],a[1],!0,!1),c=s[0],l=t.dragData.possibleDragElements;t.hoverData.mdownPos=a,t.hoverData.mdownGPos=i;var h=function(){t.hoverData.tapholdCancelled=!1,clearTimeout(t.hoverData.tapholdTimeout),t.hoverData.tapholdTimeout=setTimeout((function(){if(!t.hoverData.tapholdCancelled){var r=t.hoverData.down;r?r.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}}):n.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}})}}),t.tapholdDuration)};if(3==e.which){t.hoverData.cxtStarted=!0;var f={originalEvent:e,type:"cxttapstart",position:{x:a[0],y:a[1]}};c?(c.activate(),c.emit(f),t.hoverData.down=c):n.emit(f),t.hoverData.downTime=(new Date).getTime(),t.hoverData.cxtDragged=!1}else if(1==e.which){if(c&&c.activate(),null!=c&&t.nodeIsGrabbable(c)){var d=function(t){return{originalEvent:e,type:t,position:{x:a[0],y:a[1]}}},g=function(t){t.emit(d("grab"))};if(u(c),c.selected()){l=t.dragData.possibleDragElements=n.collection();var m=n.$((function(e){return e.isNode()&&e.selected()&&t.nodeIsGrabbable(e)}));A(m,{addToList:l}),c.emit(d("grabon")),m.forEach(g)}else l=t.dragData.possibleDragElements=n.collection(),p(c,{addToList:l}),c.emit(d("grabon")).emit(d("grab"));t.redrawHint("eles",!0),t.redrawHint("drag",!0)}t.hoverData.down=c,t.hoverData.downs=s,t.hoverData.downTime=(new Date).getTime(),r(c,["mousedown","tapstart","vmousedown"],e,{x:a[0],y:a[1]}),null==c?(o[4]=1,t.data.bgActivePosistion={x:a[0],y:a[1]},t.redrawHint("select",!0),t.redraw()):c.pannable()&&(o[4]=1),h()}o[0]=o[2]=a[0],o[1]=o[3]=a[1]}}),!1),t.registerBinding(e,"mousemove",(function(e){if(t.hoverData.capture||S(e)){var n=!1,o=t.cy,s=o.zoom(),c=[e.clientX,e.clientY],l=t.projectIntoViewport(c[0],c[1]),u=t.hoverData.mdownPos,h=t.hoverData.mdownGPos,f=t.selection,d=null;t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.selecting||(d=t.findNearestElement(l[0],l[1],!0,!1));var p,m=t.hoverData.last,b=t.hoverData.down,v=[l[0]-f[2],l[1]-f[3]],y=t.dragData.possibleDragElements;if(h){var w=c[0]-h[0],T=w*w,k=c[1]-h[1],E=T+k*k;t.hoverData.isOverThresholdDrag=p=E>=t.desktopTapThreshold2}var x=i(e);p&&(t.hoverData.tapholdCancelled=!0);var _=function(){var e=t.hoverData.dragDelta=t.hoverData.dragDelta||[];0===e.length?(e.push(v[0]),e.push(v[1])):(e[0]+=v[0],e[1]+=v[1])};n=!0,r(d,["mousemove","vmousemove","tapdrag"],e,{x:l[0],y:l[1]});var B=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:l[0],y:l[1]}}),f[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(p){var L={originalEvent:e,type:"cxtdrag",position:{x:l[0],y:l[1]}};b?b.emit(L):o.emit(L),t.hoverData.cxtDragged=!0,t.hoverData.cxtOver&&d===t.hoverData.cxtOver||(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:l[0],y:l[1]}}),t.hoverData.cxtOver=d,d&&d.emit({originalEvent:e,type:"cxtdragover",position:{x:l[0],y:l[1]}}))}}else if(t.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var I;if(t.hoverData.justStartedPan){var M=t.hoverData.mdownPos;I={x:(l[0]-M[0])*s,y:(l[1]-M[1])*s},t.hoverData.justStartedPan=!1}else I={x:v[0]*s,y:v[1]*s};o.panBy(I),o.emit("dragpan"),t.hoverData.dragged=!0}l=t.projectIntoViewport(e.clientX,e.clientY)}else if(1!=f[4]||null!=b&&!b.pannable()){if(b&&b.pannable()&&b.active()&&b.unactivate(),b&&b.grabbed()||d==m||(m&&r(m,["mouseout","tapdragout"],e,{x:l[0],y:l[1]}),d&&r(d,["mouseover","tapdragover"],e,{x:l[0],y:l[1]}),t.hoverData.last=d),b)if(p){if(o.boxSelectionEnabled()&&x)b&&b.grabbed()&&(g(y),b.emit("freeon"),y.emit("free"),t.dragData.didDrag&&(b.emit("dragfreeon"),y.emit("dragfree"))),B();else if(b&&b.grabbed()&&t.nodeIsDraggable(b)){var O=!t.dragData.didDrag;O&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||A(y,{inDragLayer:!0});var N={x:0,y:0};if(C(v[0])&&C(v[1])&&(N.x+=v[0],N.y+=v[1],O)){var D=t.hoverData.dragDelta;D&&C(D[0])&&C(D[1])&&(N.x+=D[0],N.y+=D[1])}t.hoverData.draggingEles=!0,y.silentShift(N).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else _();n=!0}else p&&(t.hoverData.dragging||!o.boxSelectionEnabled()||!x&&o.panningEnabled()&&o.userPanningEnabled()?!t.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(b,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,f[4]=0,t.data.bgActivePosistion=bn(u),t.redrawHint("select",!0),t.redraw()):B(),b&&b.pannable()&&b.active()&&b.unactivate());return f[2]=l[0],f[3]=l[1],n?(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1):void 0}}),!1),t.registerBinding(e,"mouseup",(function(e){if(t.hoverData.capture){t.hoverData.capture=!1;var a=t.cy,o=t.projectIntoViewport(e.clientX,e.clientY),s=t.selection,c=t.findNearestElement(o[0],o[1],!0,!1),l=t.dragData.possibleDragElements,u=t.hoverData.down,h=i(e);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,u&&u.unactivate(),3===t.hoverData.which){var f={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}};if(u?u.emit(f):a.emit(f),!t.hoverData.cxtDragged){var d={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};u?u.emit(d):a.emit(d)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(r(c,["mouseup","tapend","vmouseup"],e,{x:o[0],y:o[1]}),t.dragData.didDrag||t.hoverData.dragged||t.hoverData.selecting||t.hoverData.isOverThresholdDrag||(r(u,["click","tap","vclick"],e,{x:o[0],y:o[1]}),x=!1,e.timeStamp-_<=a.multiClickDebounceTime()?(E&&clearTimeout(E),x=!0,_=null,r(u,["dblclick","dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout((function(){x||r(u,["oneclick","onetap","voneclick"],e,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),_=e.timeStamp)),null!=u||t.dragData.didDrag||t.hoverData.selecting||t.hoverData.dragged||i(e)||(a.$(n).unselect(["tapunselect"]),l.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=l=a.collection()),c!=u||t.dragData.didDrag||t.hoverData.selecting||null!=c&&c._private.selectable&&(t.hoverData.dragging||("additive"===a.selectionType()||h?c.selected()?c.unselect(["tapunselect"]):c.select(["tapselect"]):h||(a.$(n).unmerge(c).unselect(["tapunselect"]),c.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var A=a.collection(t.getAllInBox(s[0],s[1],s[2],s[3]));t.redrawHint("select",!0),A.length>0&&t.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});var p=function(t){return t.selectable()&&!t.selected()};"additive"===a.selectionType()||h||a.$(n).unmerge(A).unselect(),A.emit("box").stdFilter(p).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!s[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var m=u&&u.grabbed();g(l),m&&(u.emit("freeon"),l.emit("free"),t.dragData.didDrag&&(u.emit("dragfreeon"),l.emit("dragfree")))}}s[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null}}),!1);var L,I,M,O,N,D,F,P,R,Q,U,H,j,$=function(e){if(!t.scrollingPage){var n=t.cy,r=n.zoom(),i=n.pan(),a=t.projectIntoViewport(e.clientX,e.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||B())e.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;e.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout((function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()}),150),s=null!=e.deltaY?e.deltaY/-250:null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3,s*=t.wheelSensitivity,1===e.deltaMode&&(s*=33);var c=n.zoom()*Math.pow(10,s);"gesturechange"===e.type&&(c=t.gestureStartZoom*e.scale),n.zoom({level:c,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",$,!0),t.registerBinding(e,"scroll",(function(e){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout((function(){t.scrollingPage=!1}),250)}),!0),t.registerBinding(t.container,"gesturestart",(function(e){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||e.preventDefault()}),!0),t.registerBinding(t.container,"gesturechange",(function(e){t.hasTouchStarted||$(e)}),!0),t.registerBinding(t.container,"mouseout",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),t.registerBinding(t.container,"mouseover",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var K,G,z,X,q,V,W,Y=function(t,e,n,r){return Math.sqrt((n-t)*(n-t)+(r-e)*(r-e))},J=function(t,e,n,r){return(n-t)*(n-t)+(r-e)*(r-e)};if(t.registerBinding(t.container,"touchstart",K=function(e){if(t.hasTouchStarted=!0,S(e)){b(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var n=t.cy,i=t.touchData.now,a=t.touchData.earlier;if(e.touches[0]){var o=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);i[0]=o[0],i[1]=o[1]}if(e.touches[1]&&(o=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),i[2]=o[0],i[3]=o[1]),e.touches[2]&&(o=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),i[4]=o[0],i[5]=o[1]),e.touches[1]){t.touchData.singleTouchMoved=!0,g(t.dragData.touchDragEles);var s=t.findContainerClientCoords();R=s[0],Q=s[1],U=s[2],H=s[3],L=e.touches[0].clientX-R,I=e.touches[0].clientY-Q,M=e.touches[1].clientX-R,O=e.touches[1].clientY-Q,j=0<=L&&L<=U&&0<=M&&M<=U&&0<=I&&I<=H&&0<=O&&O<=H;var c=n.pan(),l=n.zoom();N=Y(L,I,M,O),D=J(L,I,M,O),P=[((F=[(L+M)/2,(I+O)/2])[0]-c.x)/l,(F[1]-c.y)/l];var h=200;if(D<h*h&&!e.touches[2]){var f=t.findNearestElement(i[0],i[1],!0,!0),d=t.findNearestElement(i[2],i[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:i[0],y:i[1]}}),t.touchData.start=f):d&&d.isNode()?(d.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:i[0],y:i[1]}}),t.touchData.start=d):n.emit({originalEvent:e,type:"cxttapstart",position:{x:i[0],y:i[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(e.touches[2])n.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var m=t.findNearestElements(i[0],i[1],!0,!0),v=m[0];if(null!=v&&(v.activate(),t.touchData.start=v,t.touchData.starts=m,t.nodeIsGrabbable(v))){var y=t.dragData.touchDragEles=n.collection(),w=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),v.selected()?(w=n.$((function(e){return e.selected()&&t.nodeIsGrabbable(e)})),A(w,{addToList:y})):p(v,{addToList:y}),u(v);var T=function(t){return{originalEvent:e,type:t,position:{x:i[0],y:i[1]}}};v.emit(T("grabon")),w?w.forEach((function(t){t.emit(T("grab"))})):v.emit(T("grab"))}r(v,["touchstart","tapstart","vmousedown"],e,{x:i[0],y:i[1]}),null==v&&(t.data.bgActivePosistion={x:o[0],y:o[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout((function(){!1!==t.touchData.singleTouchMoved||t.pinching||t.touchData.selecting||r(t.touchData.start,["taphold"],e,{x:i[0],y:i[1]})}),t.tapholdDuration)}if(e.touches.length>=1){for(var k=t.touchData.startPosition=[null,null,null,null,null,null],C=0;C<i.length;C++)k[C]=a[C]=i[C];var E=e.touches[0];t.touchData.startGPosition=[E.clientX,E.clientY]}}},!1),t.registerBinding(window,"touchmove",G=function(e){var n=t.touchData.capture;if(n||S(e)){var i=t.selection,o=t.cy,s=t.touchData.now,c=t.touchData.earlier,l=o.zoom();if(e.touches[0]){var u=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);s[0]=u[0],s[1]=u[1]}e.touches[1]&&(u=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=u[0],s[3]=u[1]),e.touches[2]&&(u=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=u[0],s[5]=u[1]);var h,f=t.touchData.startGPosition;if(n&&e.touches[0]&&f){for(var d=[],p=0;p<s.length;p++)d[p]=s[p]-c[p];var m=e.touches[0].clientX-f[0],b=m*m,v=e.touches[0].clientY-f[1];h=b+v*v>=t.touchTapThreshold2}if(n&&t.touchData.cxt){e.preventDefault();var y=e.touches[0].clientX-R,w=e.touches[0].clientY-Q,T=e.touches[1].clientX-R,k=e.touches[1].clientY-Q,E=J(y,w,T,k),x=150,_=1.5;if(E/D>=_*_||E>=x*x){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var B={originalEvent:e,type:"cxttapend",position:{x:s[0],y:s[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(B),t.touchData.start=null):o.emit(B)}}if(n&&t.touchData.cxt){B={originalEvent:e,type:"cxtdrag",position:{x:s[0],y:s[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(B):o.emit(B),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var F=t.findNearestElement(s[0],s[1],!0,!0);t.touchData.cxtOver&&F===t.touchData.cxtOver||(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:s[0],y:s[1]}}),t.touchData.cxtOver=F,F&&F.emit({originalEvent:e,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&e.touches[2]&&o.boxSelectionEnabled())e.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:s[0],y:s[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,i[4]=1,i&&0!==i.length&&void 0!==i[0]?(i[2]=(s[0]+s[2]+s[4])/3,i[3]=(s[1]+s[3]+s[5])/3):(i[0]=(s[0]+s[2]+s[4])/3,i[1]=(s[1]+s[3]+s[5])/3,i[2]=(s[0]+s[2]+s[4])/3+1,i[3]=(s[1]+s[3]+s[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(n&&e.touches[1]&&!t.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(e.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),nt=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var U=0;U<nt.length;U++){var H=nt[U]._private;H.grabbed=!1,H.rscratch.inDragLayer=!1}}var $=t.touchData.start,K=(y=e.touches[0].clientX-R,w=e.touches[0].clientY-Q,T=e.touches[1].clientX-R,k=e.touches[1].clientY-Q,Y(y,w,T,k)),G=K/N;if(j){var z=(y-L+(T-M))/2,X=(w-I+(k-O))/2,q=o.zoom(),V=q*G,W=o.pan(),Z=P[0]*q+W.x,tt=P[1]*q+W.y,et={x:-V/q*(Z-W.x-z)+Z,y:-V/q*(tt-W.y-X)+tt};if($&&$.active()){var nt=t.dragData.touchDragEles;g(nt),t.redrawHint("drag",!0),t.redrawHint("eles",!0),$.unactivate().emit("freeon"),nt.emit("free"),t.dragData.didDrag&&($.emit("dragfreeon"),nt.emit("dragfree"))}o.viewport({zoom:V,pan:et,cancelOnFailedZoom:!0}),o.emit("pinchzoom"),N=K,L=y,I=w,M=T,O=k,t.pinching=!0}e.touches[0]&&(u=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=u[0],s[1]=u[1]),e.touches[1]&&(u=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=u[0],s[3]=u[1]),e.touches[2]&&(u=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=u[0],s[5]=u[1])}else if(e.touches[0]&&!t.touchData.didSelect){var rt=t.touchData.start,it=t.touchData.last;if(t.hoverData.draggingEles||t.swipePanning||(F=t.findNearestElement(s[0],s[1],!0,!0)),n&&null!=rt&&e.preventDefault(),n&&null!=rt&&t.nodeIsDraggable(rt))if(h){nt=t.dragData.touchDragEles;var at=!t.dragData.didDrag;at&&A(nt,{inDragLayer:!0}),t.dragData.didDrag=!0;var ot={x:0,y:0};C(d[0])&&C(d[1])&&(ot.x+=d[0],ot.y+=d[1],at&&(t.redrawHint("eles",!0),(st=t.touchData.dragDelta)&&C(st[0])&&C(st[1])&&(ot.x+=st[0],ot.y+=st[1]))),t.hoverData.draggingEles=!0,nt.silentShift(ot).emit("position drag"),t.redrawHint("drag",!0),t.touchData.startPosition[0]==c[0]&&t.touchData.startPosition[1]==c[1]&&t.redrawHint("eles",!0),t.redraw()}else{var st;0===(st=t.touchData.dragDelta=t.touchData.dragDelta||[]).length?(st.push(d[0]),st.push(d[1])):(st[0]+=d[0],st[1]+=d[1])}if(r(rt||F,["touchmove","tapdrag","vmousemove"],e,{x:s[0],y:s[1]}),rt&&rt.grabbed()||F==it||(it&&it.emit({originalEvent:e,type:"tapdragout",position:{x:s[0],y:s[1]}}),F&&F.emit({originalEvent:e,type:"tapdragover",position:{x:s[0],y:s[1]}})),t.touchData.last=F,n)for(U=0;U<s.length;U++)s[U]&&t.touchData.startPosition[U]&&h&&(t.touchData.singleTouchMoved=!0);n&&(null==rt||rt.pannable())&&o.panningEnabled()&&o.userPanningEnabled()&&(a(rt,t.touchData.starts)&&(e.preventDefault(),t.data.bgActivePosistion||(t.data.bgActivePosistion=bn(t.touchData.startPosition)),t.swipePanning?(o.panBy({x:d[0]*l,y:d[1]*l}),o.emit("dragpan")):h&&(t.swipePanning=!0,o.panBy({x:m*l,y:v*l}),o.emit("dragpan"),rt&&(rt.unactivate(),t.redrawHint("select",!0),t.touchData.start=null))),u=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=u[0],s[1]=u[1])}for(p=0;p<s.length;p++)c[p]=s[p];n&&e.touches.length>0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(e,"touchcancel",z=function(e){var n=t.touchData.start;t.touchData.capture=!1,n&&n.unactivate()}),t.registerBinding(e,"touchend",X=function(e){var i=t.touchData.start;if(t.touchData.capture){0===e.touches.length&&(t.touchData.capture=!1),e.preventDefault();var a=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var o,s=t.cy,c=s.zoom(),l=t.touchData.now,u=t.touchData.earlier;if(e.touches[0]){var h=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);l[0]=h[0],l[1]=h[1]}if(e.touches[1]&&(h=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),l[2]=h[0],l[3]=h[1]),e.touches[2]&&(h=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),l[4]=h[0],l[5]=h[1]),i&&i.unactivate(),t.touchData.cxt){if(o={originalEvent:e,type:"cxttapend",position:{x:l[0],y:l[1]}},i?i.emit(o):s.emit(o),!t.touchData.cxtDragged){var f={originalEvent:e,type:"cxttap",position:{x:l[0],y:l[1]}};i?i.emit(f):s.emit(f)}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!e.touches[2]&&s.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var d=s.collection(t.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,t.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:e,position:{x:l[0],y:l[1]}});var A=function(t){return t.selectable()&&!t.selected()};d.emit("box").stdFilter(A).select().emit("boxselect"),d.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(null!=i&&i.unactivate(),e.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var p=t.dragData.touchDragEles;if(null!=i){var m=i._private.grabbed;g(p),t.redrawHint("drag",!0),t.redrawHint("eles",!0),m&&(i.emit("freeon"),p.emit("free"),t.dragData.didDrag&&(i.emit("dragfreeon"),p.emit("dragfree"))),r(i,["touchend","tapend","vmouseup","tapdragout"],e,{x:l[0],y:l[1]}),i.unactivate(),t.touchData.start=null}else{var b=t.findNearestElement(l[0],l[1],!0,!0);r(b,["touchend","tapend","vmouseup","tapdragout"],e,{x:l[0],y:l[1]})}var v=t.touchData.startPosition[0]-l[0],y=v*v,w=t.touchData.startPosition[1]-l[1],T=(y+w*w)*c*c;t.touchData.singleTouchMoved||(i||s.$(":selected").unselect(["tapunselect"]),r(i,["tap","vclick"],e,{x:l[0],y:l[1]}),q=!1,e.timeStamp-W<=s.multiClickDebounceTime()?(V&&clearTimeout(V),q=!0,W=null,r(i,["dbltap","vdblclick"],e,{x:l[0],y:l[1]})):(V=setTimeout((function(){q||r(i,["onetap","voneclick"],e,{x:l[0],y:l[1]})}),s.multiClickDebounceTime()),W=e.timeStamp)),null!=i&&!t.dragData.didDrag&&i._private.selectable&&T<t.touchTapThreshold2&&!t.pinching&&("single"===s.selectionType()?(s.$(n).unmerge(i).unselect(["tapunselect"]),i.select(["tapselect"])):i.selected()?i.unselect(["tapunselect"]):i.select(["tapselect"]),t.redrawHint("eles",!0)),t.touchData.singleTouchMoved=!0}for(var k=0;k<l.length;k++)u[k]=l[k];t.dragData.didDrag=!1,0===e.touches.length&&(t.touchData.dragDelta=[],t.touchData.startPosition=[null,null,null,null,null,null],t.touchData.startGPosition=null,t.touchData.didSelect=!1),e.touches.length<2&&(1===e.touches.length&&(t.touchData.startGPosition=[e.touches[0].clientX,e.touches[0].clientY]),t.pinching=!1,t.redrawHint("eles",!0),t.redraw())}},!1),"undefined"==typeof TouchEvent){var Z=[],tt=function(t){return{clientX:t.clientX,clientY:t.clientY,force:1,identifier:t.pointerId,pageX:t.pageX,pageY:t.pageY,radiusX:t.width/2,radiusY:t.height/2,screenX:t.screenX,screenY:t.screenY,target:t.target}},et=function(t){return{event:t,touch:tt(t)}},nt=function(t){Z.push(et(t))},rt=function(t){for(var e=0;e<Z.length;e++)if(Z[e].event.pointerId===t.pointerId)return void Z.splice(e,1)},it=function(t){var e=Z.filter((function(e){return e.event.pointerId===t.pointerId}))[0];e.event=t,e.touch=tt(t)},at=function(t){t.touches=Z.map((function(t){return t.touch}))},ot=function(t){return"mouse"===t.pointerType||4===t.pointerType};t.registerBinding(t.container,"pointerdown",(function(t){ot(t)||(t.preventDefault(),nt(t),at(t),K(t))})),t.registerBinding(t.container,"pointerup",(function(t){ot(t)||(rt(t),at(t),X(t))})),t.registerBinding(t.container,"pointercancel",(function(t){ot(t)||(rt(t),at(t),z(t))})),t.registerBinding(t.container,"pointermove",(function(t){ot(t)||(t.preventDefault(),it(t),at(t),G(t))}))}}},Uh={generatePolygon:function(t,e){return this.nodeShapes[t]={renderer:this,name:t,points:e,draw:function(t,e,n,r,i){this.renderer.nodeShapeImpl("polygon",t,e,n,r,i,this.points)},intersectLine:function(t,e,n,r,i,a,o){return lr(i,a,this.points,t,e,n/2,r/2,o)},checkPoint:function(t,e,n,r,i,a,o){return tr(t,e,this.points,a,o,r,i,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(t,e,n,r,i){this.renderer.nodeShapeImpl(this.name,t,e,n,r,i)},intersectLine:function(t,e,n,r,i,a,o){return ir(i,a,t,e,n/2+o,r/2+o)},checkPoint:function(t,e,n,r,i,a,o){return ar(t,e,r,i,a,o,n)}}},generateRoundPolygon:function(t,e){for(var n=new Array(2*e.length),r=0;r<e.length/2;r++){var i=2*r,a=void 0;a=r<e.length/2-1?2*(r+1):0,n[4*r]=e[i],n[4*r+1]=e[i+1];var o=e[a]-e[i],s=e[a+1]-e[i+1],c=Math.sqrt(o*o+s*s);n[4*r+2]=o/c,n[4*r+3]=s/c}return this.nodeShapes[t]={renderer:this,name:t,points:n,draw:function(t,e,n,r,i){this.renderer.nodeShapeImpl("round-polygon",t,e,n,r,i,this.points)},intersectLine:function(t,e,n,r,i,a,o){return ur(i,a,this.points,t,e,n,r)},checkPoint:function(t,e,n,r,i,a,o){return er(t,e,this.points,a,o,r,i)}}},generateRoundRectangle:function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:fr(4,0),draw:function(t,e,n,r,i){this.renderer.nodeShapeImpl(this.name,t,e,n,r,i)},intersectLine:function(t,e,n,r,i,a,o){return zn(i,a,t,e,n,r,o)},checkPoint:function(t,e,n,r,i,a,o){var s=pr(r,i),c=2*s;return!!(tr(t,e,this.points,a,o,r,i-c,[0,-1],n)||tr(t,e,this.points,a,o,r-c,i,[0,-1],n)||ar(t,e,c,c,a-r/2+s,o-i/2+s,n)||ar(t,e,c,c,a+r/2-s,o-i/2+s,n)||ar(t,e,c,c,a+r/2-s,o+i/2-s,n)||ar(t,e,c,c,a-r/2+s,o+i/2-s,n))}}},generateCutRectangle:function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:mr(),points:fr(4,0),draw:function(t,e,n,r,i){this.renderer.nodeShapeImpl(this.name,t,e,n,r,i)},generateCutTrianglePts:function(t,e,n,r){var i=this.cornerLength,a=e/2,o=t/2,s=n-o,c=n+o,l=r-a,u=r+a;return{topLeft:[s,l+i,s+i,l,s+i,l+i],topRight:[c-i,l,c,l+i,c-i,l+i],bottomRight:[c,u-i,c-i,u,c-i,u-i],bottomLeft:[s+i,u,s,u-i,s+i,u-i]}},intersectLine:function(t,e,n,r,i,a,o){var s=this.generateCutTrianglePts(n+2*o,r+2*o,t,e),c=[].concat.apply([],[s.topLeft.splice(0,4),s.topRight.splice(0,4),s.bottomRight.splice(0,4),s.bottomLeft.splice(0,4)]);return lr(i,a,c,t,e)},checkPoint:function(t,e,n,r,i,a,o){if(tr(t,e,this.points,a,o,r,i-2*this.cornerLength,[0,-1],n))return!0;if(tr(t,e,this.points,a,o,r-2*this.cornerLength,i,[0,-1],n))return!0;var s=this.generateCutTrianglePts(r,i,a,o);return Zn(t,e,s.topLeft)||Zn(t,e,s.topRight)||Zn(t,e,s.bottomRight)||Zn(t,e,s.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:fr(4,0),draw:function(t,e,n,r,i){this.renderer.nodeShapeImpl(this.name,t,e,n,r,i)},intersectLine:function(t,e,n,r,i,a,o){var s=.15,c=.5,l=.85,u=this.generateBarrelBezierPts(n+2*o,r+2*o,t,e),h=function(t){var e=In({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},s),n=In({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},c),r=In({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},l);return[t[0],t[1],e.x,e.y,n.x,n.y,r.x,r.y,t[4],t[5]]},f=[].concat(h(u.topLeft),h(u.topRight),h(u.bottomRight),h(u.bottomLeft));return lr(i,a,f,t,e)},generateBarrelBezierPts:function(t,e,n,r){var i=e/2,a=t/2,o=n-a,s=n+a,c=r-i,l=r+i,u=vr(t,e),h=u.heightOffset,f=u.widthOffset,d=u.ctrlPtOffsetPct*t,A={topLeft:[o,c+h,o+d,c,o+f,c],topRight:[s-f,c,s-d,c,s,c+h],bottomRight:[s,l-h,s-d,l,s-f,l],bottomLeft:[o+f,l,o+d,l,o,l-h]};return A.topLeft.isTop=!0,A.topRight.isTop=!0,A.bottomLeft.isBottom=!0,A.bottomRight.isBottom=!0,A},checkPoint:function(t,e,n,r,i,a,o){var s=vr(r,i),c=s.heightOffset,l=s.widthOffset;if(tr(t,e,this.points,a,o,r,i-2*c,[0,-1],n))return!0;if(tr(t,e,this.points,a,o,r-2*l,i,[0,-1],n))return!0;for(var u=this.generateBarrelBezierPts(r,i,a,o),h=function(t,e,n){var r=n[4],i=n[2],a=n[0],o=n[5],s=n[1],c=Math.min(r,a),l=Math.max(r,a),u=Math.min(o,s),h=Math.max(o,s);if(c<=t&&t<=l&&u<=e&&e<=h){var f=br(r,i,a),d=Vn(f[0],f[1],f[2],t).filter((function(t){return 0<=t&&t<=1}));if(d.length>0)return d[0]}return null},f=Object.keys(u),d=0;d<f.length;d++){var A=u[f[d]],p=h(t,e,A);if(null!=p){var g=A[5],m=A[3],b=A[1],v=Ln(g,m,b,p);if(A.isTop&&v<=e)return!0;if(A.isBottom&&e<=v)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:fr(4,0),draw:function(t,e,n,r,i){this.renderer.nodeShapeImpl(this.name,t,e,n,r,i)},intersectLine:function(t,e,n,r,i,a,o){var s=e-(r/2+o),c=cr(i,a,t,e,t-(n/2+o),s,t+(n/2+o),s,!1);return c.length>0?c:zn(i,a,t,e,n,r,o)},checkPoint:function(t,e,n,r,i,a,o){var s=pr(r,i),c=2*s;if(tr(t,e,this.points,a,o,r,i-c,[0,-1],n))return!0;if(tr(t,e,this.points,a,o,r-c,i,[0,-1],n))return!0;var l=r/2+2*n,u=i/2+2*n;return!!Zn(t,e,[a-l,o-u,a-l,o,a+l,o,a+l,o-u])||!!ar(t,e,c,c,a+r/2-s,o+i/2-s,n)||!!ar(t,e,c,c,a-r/2+s,o+i/2-s,n)}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",fr(3,0)),this.generateRoundPolygon("round-triangle",fr(3,0)),this.generatePolygon("rectangle",fr(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",fr(5,0)),this.generateRoundPolygon("round-pentagon",fr(5,0)),this.generatePolygon("hexagon",fr(6,0)),this.generateRoundPolygon("round-hexagon",fr(6,0)),this.generatePolygon("heptagon",fr(7,0)),this.generateRoundPolygon("round-heptagon",fr(7,0)),this.generatePolygon("octagon",fr(8,0)),this.generateRoundPolygon("round-octagon",fr(8,0));var r=new Array(20),i=Ar(5,0),a=Ar(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s<a.length/2;s++)a[2*s]*=o,a[2*s+1]*=o;for(s=0;s<5;s++)r[4*s]=i[2*s],r[4*s+1]=i[2*s+1],r[4*s+2]=a[2*s],r[4*s+3]=a[2*s+1];r=dr(r),this.generatePolygon("star",r),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);var c=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",c),this.generateRoundPolygon("round-tag",c),t.makePolygon=function(t){var n,r="polygon-"+t.join("$");return(n=this[r])?n:e.generatePolygon(r,t)}}},Hh={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(t){t=t||Re();var e=this;void 0===e.averageRedrawTime&&(e.averageRedrawTime=0),void 0===e.lastRedrawTime&&(e.lastRedrawTime=0),void 0===e.lastDrawTime&&(e.lastDrawTime=0),e.requestedFrame=!0,e.renderOptions=t},beforeRender:function(t,e){if(!this.destroyed){null==e&&Le("Priority is not optional for beforeRender");var n=this.beforeRenderCallbacks;n.push({fn:t,priority:e}),n.sort((function(t,e){return e.priority-t.priority}))}}},jh=function(t,e,n){for(var r=t.beforeRenderCallbacks,i=0;i<r.length;i++)r[i].fn(e,n)};Hh.startRenderLoop=function(){var t=this,e=t.cy;if(!t.renderLoopStarted){t.renderLoopStarted=!0;var n=function n(r){if(!t.destroyed){if(e.batching());else if(t.requestedFrame&&!t.skipFrame){jh(t,!0,r);var i=ce();t.render(t.renderOptions);var a=t.lastDrawTime=ce();void 0===t.averageRedrawTime&&(t.averageRedrawTime=a-i),void 0===t.redrawCount&&(t.redrawCount=0),t.redrawCount++,void 0===t.redrawTotalTime&&(t.redrawTotalTime=0);var o=a-i;t.redrawTotalTime+=o,t.lastRedrawTime=o,t.averageRedrawTime=t.averageRedrawTime/2+o/2,t.requestedFrame=!1}else jh(t,!1,r);t.skipFrame=!1,se(n)}};se(n)}};var $h=function(t){this.init(t)},Kh=$h,Gh=Kh.prototype;Gh.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],Gh.init=function(t){var e=this;e.options=t,e.cy=t.cy;var n=e.container=t.cy.container(),r=e.cy.window();if(r){var i=r.document,a=i.head,o="__________cytoscape_stylesheet",s="__________cytoscape_container",c=null!=i.getElementById(o);if(n.className.indexOf(s)<0&&(n.className=(n.className||"")+" "+s),!c){var l=i.createElement("style");l.id=o,l.textContent="."+s+" { position: relative; }",a.insertBefore(l,a.children[0])}"static"===r.getComputedStyle(n).getPropertyValue("position")&&Me("A Cytoscape container has style position:static and so can not use UI extensions properly")}e.selection=[void 0,void 0,void 0,void 0,0],e.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],e.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},e.dragData={possibleDragElements:[]},e.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},e.redraws=0,e.showFps=t.showFps,e.debug=t.debug,e.hideEdgesOnViewport=t.hideEdgesOnViewport,e.textureOnViewport=t.textureOnViewport,e.wheelSensitivity=t.wheelSensitivity,e.motionBlurEnabled=t.motionBlur,e.forcedPixelRatio=C(t.pixelRatio)?t.pixelRatio:null,e.motionBlur=t.motionBlur,e.motionBlurOpacity=t.motionBlurOpacity,e.motionBlurTransparency=1-e.motionBlurOpacity,e.motionBlurPxRatio=1,e.mbPxRBlurry=1,e.minMbLowQualFrames=4,e.fullQualityMb=!1,e.clearedForMotionBlur=[],e.desktopTapThreshold=t.desktopTapThreshold,e.desktopTapThreshold2=t.desktopTapThreshold*t.desktopTapThreshold,e.touchTapThreshold=t.touchTapThreshold,e.touchTapThreshold2=t.touchTapThreshold*t.touchTapThreshold,e.tapholdDuration=500,e.bindings=[],e.beforeRenderCallbacks=[],e.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},e.registerNodeShapes(),e.registerArrowShapes(),e.registerCalculationListeners()},Gh.notify=function(t,e){var n=this,r=n.cy;this.destroyed||("init"!==t?"destroy"!==t?(("add"===t||"remove"===t||"move"===t&&r.hasCompoundNodes()||"load"===t||"zorder"===t||"mount"===t)&&n.invalidateCachedZSortedEles(),"viewport"===t&&n.redrawHint("select",!0),"load"!==t&&"resize"!==t&&"mount"!==t||(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()):n.destroy():n.load())},Gh.destroy=function(){var t=this;t.destroyed=!0,t.cy.stopAnimationLoop();for(var e=0;e<t.bindings.length;e++){var n=t.bindings[e],r=n.target;(r.off||r.removeEventListener).apply(r,n.args)}if(t.bindings=[],t.beforeRenderCallbacks=[],t.onUpdateEleCalcsFns=[],t.removeObserver&&t.removeObserver.disconnect(),t.styleObserver&&t.styleObserver.disconnect(),t.resizeObserver&&t.resizeObserver.disconnect(),t.labelCalcDiv)try{document.body.removeChild(t.labelCalcDiv)}catch(t){}},Gh.isHeadless=function(){return!1},[yh,Ph,Rh,Qh,Uh,Hh].forEach((function(t){J(Gh,t)}));var zh=1e3/60,Xh={setupDequeueing:function(t){return function(){var e=this,n=this.renderer;if(!e.dequeueingSetup){e.dequeueingSetup=!0;var r=re((function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()}),t.deqRedrawThreshold),i=function(i,a){var o=ce(),s=n.averageRedrawTime,c=n.lastRedrawTime,l=[],u=n.cy.extent(),h=n.getPixelRatio();for(i||n.flushRenderedStyleQueue();;){var f=ce(),d=f-o,A=f-a;if(c<zh){var p=zh-(i?s:0);if(A>=t.deqFastCost*p)break}else if(i){if(d>=t.deqCost*c||d>=t.deqAvgCost*s)break}else if(A>=t.deqNoDrawCost*zh)break;var g=t.deq(e,h,u);if(!(g.length>0))break;for(var m=0;m<g.length;m++)l.push(g[m])}l.length>0&&(t.onDeqd(e,l),!i&&t.shouldRedraw(e,l,h,u)&&r())},a=t.priority||Se;n.beforeRender(i,a(e))}}}},qh=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_e;n(this,t),this.idsByKey=new ze,this.keyForId=new ze,this.cachesByLvl=new ze,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return i(t,[{key:"getIdsFor",value:function(t){null==t&&Le("Can not get id list for null key");var e=this.idsByKey,n=this.idsByKey.get(t);return n||(n=new Ve,e.set(t,n)),n}},{key:"addIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).add(e)}},{key:"deleteIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).delete(e)}},{key:"getNumberOfIdsForKey",value:function(t){return null==t?0:this.getIdsFor(t).size}},{key:"updateKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e),r=this.getKey(t);this.deleteIdForKey(n,e),this.addIdForKey(r,e),this.keyForId.set(e,r)}},{key:"deleteKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteIdForKey(n,e),this.keyForId.delete(e)}},{key:"keyHasChangedFor",value:function(t){var e=t.id();return this.keyForId.get(e)!==this.getKey(t)}},{key:"isInvalid",value:function(t){return this.keyHasChangedFor(t)||this.doesEleInvalidateKey(t)}},{key:"getCachesAt",value:function(t){var e=this.cachesByLvl,n=this.lvls,r=e.get(t);return r||(r=new ze,e.set(t,r),n.push(t)),r}},{key:"getCache",value:function(t,e){return this.getCachesAt(e).get(t)}},{key:"get",value:function(t,e){var n=this.getKey(t),r=this.getCache(n,e);return null!=r&&this.updateKeyMappingFor(t),r}},{key:"getForCachedKey",value:function(t,e){var n=this.keyForId.get(t.id());return this.getCache(n,e)}},{key:"hasCache",value:function(t,e){return this.getCachesAt(e).has(t)}},{key:"has",value:function(t,e){var n=this.getKey(t);return this.hasCache(n,e)}},{key:"setCache",value:function(t,e,n){n.key=t,this.getCachesAt(e).set(t,n)}},{key:"set",value:function(t,e,n){var r=this.getKey(t);this.setCache(r,e,n),this.updateKeyMappingFor(t)}},{key:"deleteCache",value:function(t,e){this.getCachesAt(e).delete(t)}},{key:"delete",value:function(t,e){var n=this.getKey(t);this.deleteCache(n,e)}},{key:"invalidateKey",value:function(t){var e=this;this.lvls.forEach((function(n){return e.deleteCache(t,n)}))}},{key:"invalidate",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteKeyMappingFor(t);var r=this.doesEleInvalidateKey(t);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),t}(),Vh=25,Wh=50,Yh=-4,Jh=3,Zh=7.99,tf=8,ef=1024,nf=1024,rf=1024,af=.2,of=.8,sf=10,cf=.15,lf=.1,uf=.9,hf=.9,ff=100,df=1,Af={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},pf=Qe({getKey:null,doesEleInvalidateKey:_e,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:xe,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),gf=function(t,e){var n=this;n.renderer=t,n.onDequeues=[];var r=pf(e);J(n,r),n.lookup=new qh(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},mf=gf.prototype;mf.reasons=Af,mf.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},mf.getRetiredTextureQueue=function(t){var e=this,n=e.eleImgCaches.retired=e.eleImgCaches.retired||{};return n[t]=n[t]||[]},mf.getElementQueue=function(){var t=this;return t.eleCacheQueue=t.eleCacheQueue||new tn((function(t,e){return e.reqs-t.reqs}))},mf.getElementKeyToQueue=function(){var t=this;return t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{}},mf.getElement=function(t,e,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),c=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed())return null;if(!a.allowEdgeTxrCaching&&t.isEdge()||!a.allowParentTxrCaching&&t.isParent())return null;if(null==r&&(r=Math.ceil(En(s*n))),r<Yh)r=Yh;else if(s>=Zh||r>Jh)return null;var l=Math.pow(2,r),u=e.h*l,h=e.w*l,f=o.eleTextBiggerThanMin(t,l);if(!this.isVisible(t,f))return null;var d,A=c.get(t,r);if(A&&A.invalidated&&(A.invalidated=!1,A.texture.invalidatedWidth-=A.width),A)return A;if(d=u<=Vh?Vh:u<=Wh?Wh:Math.ceil(u/Wh)*Wh,u>rf||h>nf)return null;var p=a.getTextureQueue(d),g=p[p.length-2],m=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};g||(g=p[p.length-1]),g||(g=m()),g.width-g.usedWidth<h&&(g=m());for(var b,v=function(t){return t&&t.scaledLabelShown===f},y=i&&i===Af.dequeue,w=i&&i===Af.highQuality,T=i&&i===Af.downscale,k=r+1;k<=Jh;k++){var C=c.get(t,k);if(C){b=C;break}}var E=b&&b.level===r+1?b:null,x=function(){g.context.drawImage(E.texture.canvas,E.x,0,E.width,E.height,g.usedWidth,0,h,u)};if(g.context.setTransform(1,0,0,1,0,0),g.context.clearRect(g.usedWidth,0,h,d),v(E))x();else if(v(b)){if(!w)return a.queueElement(t,b.level-1),b;for(var _=b.level;_>r;_--)E=a.getElement(t,e,n,_,Af.downscale);x()}else{var B;if(!y&&!w&&!T)for(var S=r-1;S>=Yh;S--){var L=c.get(t,S);if(L){B=L;break}}if(v(B))return a.queueElement(t,r),B;g.context.translate(g.usedWidth,0),g.context.scale(l,l),this.drawElement(g.context,t,e,f,!1),g.context.scale(1/l,1/l),g.context.translate(-g.usedWidth,0)}return A={x:g.usedWidth,texture:g,level:r,scale:l,width:h,height:u,scaledLabelShown:f},g.usedWidth+=Math.ceil(h+tf),g.eleCaches.push(A),c.set(t,r,A),a.checkTextureFullness(g),A},mf.invalidateElements=function(t){for(var e=0;e<t.length;e++)this.invalidateElement(t[e])},mf.invalidateElement=function(t){var e=this,n=e.lookup,r=[];if(n.isInvalid(t)){for(var i=Yh;i<=Jh;i++){var a=n.getForCachedKey(t,i);a&&r.push(a)}if(n.invalidate(t))for(var o=0;o<r.length;o++){var s=r[o],c=s.texture;c.invalidatedWidth+=s.width,s.invalidated=!0,e.checkTextureUtility(c)}e.removeFromQueue(t)}},mf.checkTextureUtility=function(t){t.invalidatedWidth>=af*t.width&&this.retireTexture(t)},mf.checkTextureFullness=function(t){var e=this.getTextureQueue(t.height);t.usedWidth/t.width>of&&t.fullnessChecks>=sf?Ue(e,t):t.fullnessChecks++},mf.retireTexture=function(t){var e=this,n=t.height,r=e.getTextureQueue(n),i=this.lookup;Ue(r,t),t.retired=!0;for(var a=t.eleCaches,o=0;o<a.length;o++){var s=a[o];i.deleteCache(s.key,s.level)}He(a),e.getRetiredTextureQueue(n).push(t)},mf.addTexture=function(t,e){var n=this,r={};return n.getTextureQueue(t).push(r),r.eleCaches=[],r.height=t,r.width=Math.max(ef,e),r.usedWidth=0,r.invalidatedWidth=0,r.fullnessChecks=0,r.canvas=n.renderer.makeOffscreenCanvas(r.width,r.height),r.context=r.canvas.getContext("2d"),r},mf.recycleTexture=function(t,e){for(var n=this,r=n.getTextureQueue(t),i=n.getRetiredTextureQueue(t),a=0;a<i.length;a++){var o=i[a];if(o.width>=e)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,He(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),Ue(i,o),r.push(o),o}},mf.queueElement=function(t,e){var n=this,r=n.getElementQueue(),i=n.getElementKeyToQueue(),a=this.getKey(t),o=i[a];if(o)o.level=Math.max(o.level,e),o.eles.merge(t),o.reqs++,r.updateItem(o);else{var s={eles:t.spawn().merge(t),level:e,reqs:1,key:a};r.push(s),i[a]=s}},mf.dequeue=function(t){for(var e=this,n=e.getElementQueue(),r=e.getElementKeyToQueue(),i=[],a=e.lookup,o=0;o<df&&n.size()>0;o++){var s=n.pop(),c=s.key,l=s.eles[0],u=a.hasCache(l,s.level);if(r[c]=null,!u){i.push(s);var h=e.getBoundingBox(l);e.getElement(l,h,t,s.level,Af.dequeue)}}return i},mf.removeFromQueue=function(t){var e=this,n=e.getElementQueue(),r=e.getElementKeyToQueue(),i=this.getKey(t),a=r[i];null!=a&&(1===a.eles.length?(a.reqs=Ee,n.updateItem(a),n.pop(),r[i]=null):a.eles.unmerge(t))},mf.onDequeue=function(t){this.onDequeues.push(t)},mf.offDequeue=function(t){Ue(this.onDequeues,t)},mf.setupDequeueing=Xh.setupDequeueing({deqRedrawThreshold:ff,deqCost:cf,deqAvgCost:lf,deqNoDrawCost:uf,deqFastCost:hf,deq:function(t,e,n){return t.dequeue(e,n)},onDeqd:function(t,e){for(var n=0;n<t.onDequeues.length;n++)(0,t.onDequeues[n])(e)},shouldRedraw:function(t,e,n,r){for(var i=0;i<e.length;i++)for(var a=e[i].eles,o=0;o<a.length;o++){var s=a[o].boundingBox();if(jn(s,r))return!0}return!1},priority:function(t){return t.renderer.beforeRenderPriorities.eleTxrDeq}});var bf=1,vf=-4,yf=2,wf=3.99,Tf=50,kf=50,Cf=.15,Ef=.1,xf=.9,_f=.9,Bf=1,Sf=250,Lf=16e6,If=!0,Mf=function(t){var e=this,n=e.renderer=t,r=n.cy;e.layersByLevel={},e.firstGet=!0,e.lastInvalidationTime=ce()-2*Sf,e.skipping=!1,e.eleTxrDeqs=r.collection(),e.scheduleElementRefinement=re((function(){e.refineElementTextures(e.eleTxrDeqs),e.eleTxrDeqs.unmerge(e.eleTxrDeqs)}),kf),n.beforeRender((function(t,n){n-e.lastInvalidationTime<=Sf?e.skipping=!0:e.skipping=!1}),n.beforeRenderPriorities.lyrTxrSkip);var i=function(t,e){return e.reqs-t.reqs};e.layersQueue=new tn(i),e.setupDequeueing()},Of=Mf.prototype,Nf=0,Df=Math.pow(2,53)-1;Of.makeLayer=function(t,e){var n=Math.pow(2,e),r=Math.ceil(t.w*n),i=Math.ceil(t.h*n),a=this.renderer.makeOffscreenCanvas(r,i),o={id:Nf=++Nf%Df,bb:t,level:e,width:r,height:i,canvas:a,context:a.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=o.context,c=-o.bb.x1,l=-o.bb.y1;return s.scale(n,n),s.translate(c,l),o},Of.getLayers=function(t,e,n){var r=this,i=r.renderer.cy.zoom(),a=r.firstGet;if(r.firstGet=!1,null==n)if((n=Math.ceil(En(i*e)))<vf)n=vf;else if(i>=wf||n>yf)return null;r.validateLayersElesOrdering(n,t);var o,s,c=r.layersByLevel,l=Math.pow(2,n),u=c[n]=c[n]||[],h=function(){var e=function(e){if(r.validateLayersElesOrdering(e,t),r.levelIsComplete(e,t))return s=c[e],!0},i=function(t){if(!s)for(var r=n+t;vf<=r&&r<=yf&&!e(r);r+=t);};i(1),i(-1);for(var a=u.length-1;a>=0;a--){var o=u[a];o.invalid&&Ue(u,o)}};if(r.levelIsComplete(n,t))return u;h();var f=function(){if(!o){o=Nn();for(var e=0;e<t.length;e++)Pn(o,t[e].boundingBox())}return o},d=function(t){var e=(t=t||{}).after;if(f(),o.w*l*(o.h*l)>Lf)return null;var i=r.makeLayer(o,n);if(null!=e){var a=u.indexOf(e)+1;u.splice(a,0,i)}else(void 0===t.insert||t.insert)&&u.unshift(i);return i};if(r.skipping&&!a)return null;for(var A=null,p=t.length/bf,g=!a,m=0;m<t.length;m++){var b=t[m],v=b._private.rscratch,y=v.imgLayerCaches=v.imgLayerCaches||{},w=y[n];if(w)A=w;else{if((!A||A.eles.length>=p||!Gn(A.bb,b.boundingBox()))&&!(A=d({insert:!0,after:A})))return null;s||g?r.queueLayer(A,b):r.drawEleInLayer(A,b,n,e),A.eles.push(b),y[n]=A}}return s||(g?null:u)},Of.getEleLevelForLayerLevel=function(t,e){return t},Of.drawEleInLayer=function(t,e,n,r){var i=this,a=this.renderer,o=t.context,s=e.boundingBox();0!==s.w&&0!==s.h&&e.visible()&&(n=i.getEleLevelForLayerLevel(n,r),a.setImgSmoothing(o,!1),a.drawCachedElement(o,e,null,null,n,If),a.setImgSmoothing(o,!0))},Of.levelIsComplete=function(t,e){var n=this.layersByLevel[t];if(!n||0===n.length)return!1;for(var r=0,i=0;i<n.length;i++){var a=n[i];if(a.reqs>0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===e.length},Of.validateLayersElesOrdering=function(t,e){var n=this.layersByLevel[t];if(n)for(var r=0;r<n.length;r++){for(var i=n[r],a=-1,o=0;o<e.length;o++)if(i.eles[0]===e[o]){a=o;break}if(a<0)this.invalidateLayer(i);else{var s=a;for(o=0;o<i.eles.length;o++)if(i.eles[o]!==e[s+o]){this.invalidateLayer(i);break}}}},Of.updateElementsInLayers=function(t,e){for(var n=this,r=B(t[0]),i=0;i<t.length;i++)for(var a=r?null:t[i],o=r?t[i]:t[i].ele,s=o._private.rscratch,c=s.imgLayerCaches=s.imgLayerCaches||{},l=vf;l<=yf;l++){var u=c[l];u&&(a&&n.getEleLevelForLayerLevel(u.level)!==a.level||e(u,o,a))}},Of.haveLayers=function(){for(var t=this,e=!1,n=vf;n<=yf;n++){var r=t.layersByLevel[n];if(r&&r.length>0){e=!0;break}}return e},Of.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=ce(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,(function(t,n,r){e.invalidateLayer(t)})))},Of.invalidateLayer=function(t){if(this.lastInvalidationTime=ce(),!t.invalid){var e=t.level,n=t.eles,r=this.layersByLevel[e];Ue(r,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var i=0;i<n.length;i++){var a=n[i]._private.rscratch.imgLayerCaches;a&&(a[e]=null)}}},Of.refineElementTextures=function(t){var e=this;e.updateElementsInLayers(t,(function(t,n,r){var i=t.replacement;if(i||((i=t.replacement=e.makeLayer(t.bb,t.level)).replaces=t,i.eles=t.eles),!i.reqs)for(var a=0;a<i.eles.length;a++)e.queueLayer(i,i.eles[a])}))},Of.enqueueElementRefinement=function(t){this.eleTxrDeqs.merge(t),this.scheduleElementRefinement()},Of.queueLayer=function(t,e){var n=this.layersQueue,r=t.elesQueue,i=r.hasId=r.hasId||{};if(!t.replacement){if(e){if(i[e.id()])return;r.push(e),i[e.id()]=!0}t.reqs?(t.reqs++,n.updateItem(t)):(t.reqs=1,n.push(t))}},Of.dequeue=function(t){for(var e=this,n=e.layersQueue,r=[],i=0;i<Bf&&0!==n.size();){var a=n.peek();if(a.replacement)n.pop();else if(a.replaces&&a!==a.replaces.replacement)n.pop();else if(a.invalid)n.pop();else{var o=a.elesQueue.shift();o&&(e.drawEleInLayer(a,o,a.level,t),i++),0===r.length&&r.push(!0),0===a.elesQueue.length&&(n.pop(),a.reqs=0,a.replaces&&e.applyLayerReplacement(a),e.requestRedraw())}}return r},Of.applyLayerReplacement=function(t){var e=this,n=e.layersByLevel[t.level],r=t.replaces,i=n.indexOf(r);if(!(i<0||r.invalid)){n[i]=t;for(var a=0;a<t.eles.length;a++){var o=t.eles[a]._private,s=o.imgLayerCaches=o.imgLayerCaches||{};s&&(s[t.level]=t)}e.requestRedraw()}},Of.requestRedraw=re((function(){var t=this.renderer;t.redrawHint("eles",!0),t.redrawHint("drag",!0),t.redraw()}),100),Of.setupDequeueing=Xh.setupDequeueing({deqRedrawThreshold:Tf,deqCost:Cf,deqAvgCost:Ef,deqNoDrawCost:xf,deqFastCost:_f,deq:function(t,e){return t.dequeue(e)},onDeqd:Se,shouldRedraw:xe,priority:function(t){return t.renderer.beforeRenderPriorities.lyrTxrDeq}});var Ff,Pf={};function Rf(t,e){for(var n=0;n<e.length;n++){var r=e[n];t.lineTo(r.x,r.y)}}function Qf(t,e,n){for(var r,i=0;i<e.length;i++){var a=e[i];0===i&&(r=a),t.lineTo(a.x,a.y)}t.quadraticCurveTo(n.x,n.y,r.x,r.y)}function Uf(t,e,n){t.beginPath&&t.beginPath();for(var r=e,i=0;i<r.length;i++){var a=r[i];t.lineTo(a.x,a.y)}var o=n,s=n[0];for(t.moveTo(s.x,s.y),i=1;i<o.length;i++)a=o[i],t.lineTo(a.x,a.y);t.closePath&&t.closePath()}function Hf(t,e,n,r,i){t.beginPath&&t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1);var a=e,o=a[0];t.moveTo(o.x,o.y);for(var s=0;s<a.length;s++){var c=a[s];t.lineTo(c.x,c.y)}t.closePath&&t.closePath()}function jf(t,e,n,r){t.arc(e,n,r,0,2*Math.PI,!1)}Pf.arrowShapeImpl=function(t){return(Ff||(Ff={polygon:Rf,"triangle-backcurve":Qf,"triangle-tee":Uf,"circle-triangle":Hf,"triangle-cross":Uf,circle:jf}))[t]};var $f={drawElement:function(t,e,n,r,i,a){var o=this;e.isNode()?o.drawNode(t,e,n,r,i,a):o.drawEdge(t,e,n,r,i,a)},drawElementOverlay:function(t,e){var n=this;e.isNode()?n.drawNodeOverlay(t,e):n.drawEdgeOverlay(t,e)},drawElementUnderlay:function(t,e){var n=this;e.isNode()?n.drawNodeUnderlay(t,e):n.drawEdgeUnderlay(t,e)},drawCachedElementPortion:function(t,e,n,r,i,a,o,s){var c=this,l=n.getBoundingBox(e);if(0!==l.w&&0!==l.h){var u=n.getElement(e,l,r,i,a);if(null!=u){var h=s(c,e);if(0===h)return;var f,d,A,p,g,m,b=o(c,e),v=l.x1,y=l.y1,w=l.w,T=l.h;if(0!==b){var k=n.getRotationPoint(e);A=k.x,p=k.y,t.translate(A,p),t.rotate(b),(g=c.getImgSmoothing(t))||c.setImgSmoothing(t,!0);var C=n.getRotationOffset(e);f=C.x,d=C.y}else f=v,d=y;1!==h&&(m=t.globalAlpha,t.globalAlpha=m*h),t.drawImage(u.texture.canvas,u.x,0,u.width,u.height,f,d,w,T),1!==h&&(t.globalAlpha=m),0!==b&&(t.rotate(-b),t.translate(-A,-p),g||c.setImgSmoothing(t,!1))}else n.drawElement(t,e)}}},Kf=function(){return 0},Gf=function(t,e){return t.getTextAngle(e,null)},zf=function(t,e){return t.getTextAngle(e,"source")},Xf=function(t,e){return t.getTextAngle(e,"target")},qf=function(t,e){return e.effectiveOpacity()},Vf=function(t,e){return e.pstyle("text-opacity").pfValue*e.effectiveOpacity()};$f.drawCachedElement=function(t,e,n,r,i,a){var o=this,s=o.data,c=s.eleTxrCache,l=s.lblTxrCache,u=s.slbTxrCache,h=s.tlbTxrCache,f=e.boundingBox(),d=!0===a?c.reasons.highQuality:null;if(0!==f.w&&0!==f.h&&e.visible()&&(!r||jn(f,r))){var A=e.isEdge(),p=e.element()._private.rscratch.badLine;o.drawElementUnderlay(t,e),o.drawCachedElementPortion(t,e,c,n,i,d,Kf,qf),A&&p||o.drawCachedElementPortion(t,e,l,n,i,d,Gf,Vf),A&&!p&&(o.drawCachedElementPortion(t,e,u,n,i,d,zf,Vf),o.drawCachedElementPortion(t,e,h,n,i,d,Xf,Vf)),o.drawElementOverlay(t,e)}},$f.drawElements=function(t,e){for(var n=this,r=0;r<e.length;r++){var i=e[r];n.drawElement(t,i)}},$f.drawCachedElements=function(t,e,n,r){for(var i=this,a=0;a<e.length;a++){var o=e[a];i.drawCachedElement(t,o,n,r)}},$f.drawCachedNodes=function(t,e,n,r){for(var i=this,a=0;a<e.length;a++){var o=e[a];o.isNode()&&i.drawCachedElement(t,o,n,r)}},$f.drawLayeredElements=function(t,e,n,r){var i=this,a=i.data.lyrTxrCache.getLayers(e,n);if(a)for(var o=0;o<a.length;o++){var s=a[o],c=s.bb;0!==c.w&&0!==c.h&&t.drawImage(s.canvas,c.x1,c.y1,c.w,c.h)}else i.drawCachedElements(t,e,n,r)};var Wf={drawEdge:function(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=e._private.rscratch;if((!a||e.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var c;n&&(c=n,t.translate(-c.x1,-c.y1));var l=a?e.pstyle("opacity").value:1,u=a?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,f=e.pstyle("line-style").value,d=e.pstyle("width").pfValue,A=e.pstyle("line-cap").value,p=l*u,g=l*u,m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;"straight-triangle"===h?(o.eleStrokeStyle(t,e,n),o.drawEdgeTrianglePath(e,t,s.allpts)):(t.lineWidth=d,t.lineCap=A,o.eleStrokeStyle(t,e,n),o.drawEdgePath(e,t,s.allpts,f),t.lineCap="butt")},b=function(){i&&o.drawEdgeOverlay(t,e)},v=function(){i&&o.drawEdgeUnderlay(t,e)},y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;o.drawArrowheads(t,e,n)},w=function(){o.drawElementText(t,e,null,r)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var T=e.pstyle("ghost-offset-x").pfValue,k=e.pstyle("ghost-offset-y").pfValue,C=e.pstyle("ghost-opacity").value,E=p*C;t.translate(T,k),m(E),y(E),t.translate(-T,-k)}v(),m(),y(),b(),w(),n&&t.translate(c.x1,c.y1)}}},Yf=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n){if(n.visible()){var r=n.pstyle("".concat(t,"-opacity")).value;if(0!==r){var i=this,a=i.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-color")).value;e.lineWidth=s,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",i.colorStrokeStyle(e,c[0],c[1],c[2],r),i.drawEdgePath(n,e,o.allpts,"solid")}}}};Wf.drawEdgeOverlay=Yf("overlay"),Wf.drawEdgeUnderlay=Yf("underlay"),Wf.drawEdgePath=function(t,e,n,r){var i,a=t._private.rscratch,o=e,s=!1,c=this.usePaths(),l=t.pstyle("line-dash-pattern").pfValue,u=t.pstyle("line-dash-offset").pfValue;if(c){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=e=a.pathCache,s=!0):(i=e=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(l),o.lineDashOffset=u;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var f=2;f+3<n.length;f+=4)e.quadraticCurveTo(n[f],n[f+1],n[f+2],n[f+3]);break;case"straight":case"segments":case"haystack":for(var d=2;d+1<n.length;d+=2)e.lineTo(n[d],n[d+1])}e=o,c?e.stroke(i):e.stroke(),e.setLineDash&&e.setLineDash([])},Wf.drawEdgeTrianglePath=function(t,e,n){e.fillStyle=e.strokeStyle;for(var r=t.pstyle("width").pfValue,i=0;i+1<n.length;i+=2){var a=[n[i+2]-n[i],n[i+3]-n[i+1]],o=Math.sqrt(a[0]*a[0]+a[1]*a[1]),s=[a[1]/o,-a[0]/o],c=[s[0]*r/2,s[1]*r/2];e.beginPath(),e.moveTo(n[i]-c[0],n[i+1]-c[1]),e.lineTo(n[i]+c[0],n[i+1]+c[1]),e.lineTo(n[i+2],n[i+3]),e.closePath(),e.fill()}},Wf.drawArrowheads=function(t,e,n){var r=e._private.rscratch,i="haystack"===r.edgeType;i||this.drawArrowhead(t,e,"source",r.arrowStartX,r.arrowStartY,r.srcArrowAngle,n),this.drawArrowhead(t,e,"mid-target",r.midX,r.midY,r.midtgtArrowAngle,n),this.drawArrowhead(t,e,"mid-source",r.midX,r.midY,r.midsrcArrowAngle,n),i||this.drawArrowhead(t,e,"target",r.arrowEndX,r.arrowEndY,r.tgtArrowAngle,n)},Wf.drawArrowhead=function(t,e,n,r,i,a,o){if(!(isNaN(r)||null==r||isNaN(i)||null==i||isNaN(a)||null==a)){var s=this,c=e.pstyle(n+"-arrow-shape").value;if("none"!==c){var l="hollow"===e.pstyle(n+"-arrow-fill").value?"both":"filled",u=e.pstyle(n+"-arrow-fill").value,h=e.pstyle("width").pfValue,f=e.pstyle("opacity").value;void 0===o&&(o=f);var d=t.globalCompositeOperation;1===o&&"hollow"!==u||(t.globalCompositeOperation="destination-out",s.colorFillStyle(t,255,255,255,1),s.colorStrokeStyle(t,255,255,255,1),s.drawArrowShape(e,t,l,h,c,r,i,a),t.globalCompositeOperation=d);var A=e.pstyle(n+"-arrow-color").value;s.colorFillStyle(t,A[0],A[1],A[2],o),s.colorStrokeStyle(t,A[0],A[1],A[2],o),s.drawArrowShape(e,t,u,h,c,r,i,a)}}},Wf.drawArrowShape=function(t,e,n,r,i,a,o,s){var c,l=this,u=this.usePaths()&&"triangle-cross"!==i,h=!1,f=e,d={x:a,y:o},A=t.pstyle("arrow-scale").value,p=this.getArrowWidth(r,A),g=l.arrowShapes[i];if(u){var m=l.arrowPathCache=l.arrowPathCache||[],b=ve(i),v=m[b];null!=v?(c=e=v,h=!0):(c=e=new Path2D,m[b]=c)}h||(e.beginPath&&e.beginPath(),u?g.draw(e,1,0,{x:0,y:0},1):g.draw(e,p,s,d,r),e.closePath&&e.closePath()),e=f,u&&(e.translate(a,o),e.rotate(s),e.scale(p,p)),"filled"!==n&&"both"!==n||(u?e.fill(c):e.fill()),"hollow"!==n&&"both"!==n||(e.lineWidth=(g.matchEdgeWidth?r:1)/(u?p:1),e.lineJoin="miter",u?e.stroke(c):e.stroke()),u&&(e.scale(1/p,1/p),e.rotate(-s),e.translate(-a,-o))};var Jf={safeDrawImage:function(t,e,n,r,i,a,o,s,c,l){if(!(i<=0||a<=0||c<=0||l<=0))try{t.drawImage(e,n,r,i,a,o,s,c,l)}catch(t){Me(t)}},drawInscribedImage:function(t,e,n,r,i){var a=this,o=n.position(),s=o.x,c=o.y,l=n.cy().style(),u=l.getIndexedStyle.bind(l),h=u(n,"background-fit","value",r),f=u(n,"background-repeat","value",r),d=n.width(),A=n.height(),p=2*n.padding(),g=d+("inner"===u(n,"background-width-relative-to","value",r)?0:p),m=A+("inner"===u(n,"background-height-relative-to","value",r)?0:p),b=n._private.rscratch,v="node"===u(n,"background-clip","value",r),y=u(n,"background-image-opacity","value",r)*i,w=u(n,"background-image-smoothing","value",r),T=e.width||e.cachedW,k=e.height||e.cachedH;null!=T&&null!=k||(document.body.appendChild(e),T=e.cachedW=e.width||e.offsetWidth,k=e.cachedH=e.height||e.offsetHeight,document.body.removeChild(e));var C=T,E=k;if("auto"!==u(n,"background-width","value",r)&&(C="%"===u(n,"background-width","units",r)?u(n,"background-width","pfValue",r)*g:u(n,"background-width","pfValue",r)),"auto"!==u(n,"background-height","value",r)&&(E="%"===u(n,"background-height","units",r)?u(n,"background-height","pfValue",r)*m:u(n,"background-height","pfValue",r)),0!==C&&0!==E){if("contain"===h)C*=x=Math.min(g/C,m/E),E*=x;else if("cover"===h){var x;C*=x=Math.max(g/C,m/E),E*=x}var _=s-g/2,B=u(n,"background-position-x","units",r),S=u(n,"background-position-x","pfValue",r);_+="%"===B?(g-C)*S:S;var L=u(n,"background-offset-x","units",r),I=u(n,"background-offset-x","pfValue",r);_+="%"===L?(g-C)*I:I;var M=c-m/2,O=u(n,"background-position-y","units",r),N=u(n,"background-position-y","pfValue",r);M+="%"===O?(m-E)*N:N;var D=u(n,"background-offset-y","units",r),F=u(n,"background-offset-y","pfValue",r);M+="%"===D?(m-E)*F:F,b.pathCache&&(_-=s,M-=c,s=0,c=0);var P=t.globalAlpha;t.globalAlpha=y;var R=a.getImgSmoothing(t),Q=!1;if("no"===w&&R?(a.setImgSmoothing(t,!1),Q=!0):"yes"!==w||R||(a.setImgSmoothing(t,!0),Q=!0),"no-repeat"===f)v&&(t.save(),b.pathCache?t.clip(b.pathCache):(a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,g,m),t.clip())),a.safeDrawImage(t,e,0,0,T,k,_,M,C,E),v&&t.restore();else{var U=t.createPattern(e,f);t.fillStyle=U,a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,g,m),t.translate(_,M),t.fill(),t.translate(-_,-M)}t.globalAlpha=P,Q&&a.setImgSmoothing(t,R)}}},Zf={};function td(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+r-a,n),t.quadraticCurveTo(e+r,n,e+r,n+a),t.lineTo(e+r,n+i-a),t.quadraticCurveTo(e+r,n+i,e+r-a,n+i),t.lineTo(e+a,n+i),t.quadraticCurveTo(e,n+i,e,n+i-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath(),t.fill()}Zf.eleTextBiggerThanMin=function(t,e){if(!e){var n=t.cy().zoom(),r=this.getPixelRatio(),i=Math.ceil(En(n*r));e=Math.pow(2,i)}return!(t.pstyle("font-size").pfValue*e<t.pstyle("min-zoomed-font-size").pfValue)},Zf.drawElementText=function(t,e,n,r,i){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(e))return}else if(!1===r)return;if(e.isNode()){var s=e.pstyle("label");if(!s||!s.value)return;var c=o.getLabelJustification(e);t.textAlign=c,t.textBaseline="bottom"}else{var l=e.element()._private.rscratch.badLine,u=e.pstyle("label"),h=e.pstyle("source-label"),f=e.pstyle("target-label");if(l||(!u||!u.value)&&(!h||!h.value)&&(!f||!f.value))return;t.textAlign="center",t.textBaseline="bottom"}var d,A=!n;n&&(d=n,t.translate(-d.x1,-d.y1)),null==i?(o.drawText(t,e,null,A,a),e.isEdge()&&(o.drawText(t,e,"source",A,a),o.drawText(t,e,"target",A,a))):o.drawText(t,e,i,A,a),n&&t.translate(d.x1,d.y1)},Zf.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((e=this.fontCaches[n]).context===t)return e;return e={context:t},this.fontCaches.push(e),e},Zf.setupTextStyle=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e.pstyle("font-style").strValue,i=e.pstyle("font-size").pfValue+"px",a=e.pstyle("font-family").strValue,o=e.pstyle("font-weight").strValue,s=n?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,c=e.pstyle("text-outline-opacity").value*s,l=e.pstyle("color").value,u=e.pstyle("text-outline-color").value;t.font=r+" "+o+" "+i+" "+a,t.lineJoin="round",this.colorFillStyle(t,l[0],l[1],l[2],s),this.colorStrokeStyle(t,u[0],u[1],u[2],c)},Zf.getTextAngle=function(t,e){var n=t._private.rscratch,r=e?e+"-":"",i=t.pstyle(r+"text-rotation"),a=$e(n,"labelAngle",e);return"autorotate"===i.strValue?t.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},Zf.drawText=function(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=e._private.rscratch,o=i?e.effectiveOpacity():1;if(!i||0!==o&&0!==e.pstyle("text-opacity").value){"main"===n&&(n=null);var s,c,l=$e(a,"labelX",n),u=$e(a,"labelY",n),h=this.getLabelText(e,n);if(null!=h&&""!==h&&!isNaN(l)&&!isNaN(u)){this.setupTextStyle(t,e,i);var f,d=n?n+"-":"",A=$e(a,"labelWidth",n),p=$e(a,"labelHeight",n),g=e.pstyle(d+"text-margin-x").pfValue,m=e.pstyle(d+"text-margin-y").pfValue,b=e.isEdge(),v=e.pstyle("text-halign").value,y=e.pstyle("text-valign").value;switch(b&&(v="center",y="center"),l+=g,u+=m,0!==(f=r?this.getTextAngle(e,n):0)&&(s=l,c=u,t.translate(s,c),t.rotate(f),l=0,u=0),y){case"top":break;case"center":u+=p/2;break;case"bottom":u+=p}var w=e.pstyle("text-background-opacity").value,T=e.pstyle("text-border-opacity").value,k=e.pstyle("text-border-width").pfValue,C=e.pstyle("text-background-padding").pfValue;if(w>0||k>0&&T>0){var E=l-C;switch(v){case"left":E-=A;break;case"center":E-=A/2}var x=u-p-C,_=A+2*C,B=p+2*C;if(w>0){var S=t.fillStyle,L=e.pstyle("text-background-color").value;t.fillStyle="rgba("+L[0]+","+L[1]+","+L[2]+","+w*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?td(t,E,x,_,B,2):t.fillRect(E,x,_,B),t.fillStyle=S}if(k>0&&T>0){var I=t.strokeStyle,M=t.lineWidth,O=e.pstyle("text-border-color").value,N=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+T*o+")",t.lineWidth=k,t.setLineDash)switch(N){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=k/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(t.strokeRect(E,x,_,B),"double"===N){var D=k/2;t.strokeRect(E+D,x+D,_-2*D,B-2*D)}t.setLineDash&&t.setLineDash([]),t.lineWidth=M,t.strokeStyle=I}}var F=2*e.pstyle("text-outline-width").pfValue;if(F>0&&(t.lineWidth=F),"wrap"===e.pstyle("text-wrap").value){var P=$e(a,"labelWrapCachedLines",n),R=$e(a,"labelLineHeight",n),Q=A/2,U=this.getLabelJustification(e);switch("auto"===U||("left"===v?"left"===U?l+=-A:"center"===U&&(l+=-Q):"center"===v?"left"===U?l+=-Q:"right"===U&&(l+=Q):"right"===v&&("center"===U?l+=Q:"right"===U&&(l+=A))),y){case"top":case"center":case"bottom":u-=(P.length-1)*R}for(var H=0;H<P.length;H++)F>0&&t.strokeText(P[H],l,u),t.fillText(P[H],l,u),u+=R}else F>0&&t.strokeText(h,l,u),t.fillText(h,l,u);0!==f&&(t.rotate(-f),t.translate(-s,-c))}}};var ed={drawNode:function(t,e,n){var r,i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=this,l=e._private,u=l.rscratch,h=e.position();if(C(h.x)&&C(h.y)&&(!s||e.visible())){var f,d,A=s?e.effectiveOpacity():1,p=c.usePaths(),g=!1,m=e.padding();r=e.width()+2*m,i=e.height()+2*m,n&&(d=n,t.translate(-d.x1,-d.y1));for(var b=e.pstyle("background-image").value,v=new Array(b.length),y=new Array(b.length),w=0,T=0;T<b.length;T++){var k=b[T];if(v[T]=null!=k&&"none"!==k){var E=e.cy().style().getIndexedStyle(e,"background-image-crossorigin","value",T);w++,y[T]=c.getCachedImage(k,E,(function(){l.backgroundTimestamp=Date.now(),e.emitAndNotify("background")}))}}var x=e.pstyle("background-blacken").value,_=e.pstyle("border-width").pfValue,B=e.pstyle("background-opacity").value*A,S=e.pstyle("border-color").value,L=e.pstyle("border-style").value,I=e.pstyle("border-opacity").value*A;t.lineJoin="miter";var M=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B;c.eleFillStyle(t,e,n)},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;c.colorStrokeStyle(t,S[0],S[1],S[2],e)},N=e.pstyle("shape").strValue,D=e.pstyle("shape-polygon-points").pfValue;if(p){t.translate(h.x,h.y);var F=c.nodePathCache=c.nodePathCache||[],P=ye("polygon"===N?N+","+D.join(","):N,""+i,""+r),R=F[P];null!=R?(f=R,g=!0,u.pathCache=f):(f=new Path2D,F[P]=u.pathCache=f)}var Q=function(){if(!g){var n=h;p&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(e)].draw(f||t,n.x,n.y,r,i)}p?t.fill(f):t.fill()},U=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=l.backgrounding,a=0,o=0;o<y.length;o++){var s=e.cy().style().getIndexedStyle(e,"background-image-containment","value",o);r&&"over"===s||!r&&"inside"===s?a++:v[o]&&y[o].complete&&!y[o].error&&(a++,c.drawInscribedImage(t,y[o],e,o,n))}l.backgrounding=!(a===w),i!==l.backgrounding&&e.updateStyle(!1)},H=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A;c.hasPie(e)&&(c.drawPie(t,e,a),n&&(p||c.nodeShapes[c.getNodeShape(e)].draw(t,h.x,h.y,r,i)))},j=function(){var e=(x>0?x:-x)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:A),n=x>0?0:255;0!==x&&(c.colorFillStyle(t,n,n,n,e),p?t.fill(f):t.fill())},$=function(){if(_>0){if(t.lineWidth=_,t.lineCap="butt",t.setLineDash)switch(L){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([])}if(p?t.stroke(f):t.stroke(),"double"===L){t.lineWidth=_/3;var e=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",p?t.stroke(f):t.stroke(),t.globalCompositeOperation=e}t.setLineDash&&t.setLineDash([])}},K=function(){o&&c.drawNodeOverlay(t,e,h,r,i)},G=function(){o&&c.drawNodeUnderlay(t,e,h,r,i)},z=function(){c.drawElementText(t,e,null,a)};if("yes"===e.pstyle("ghost").value){var X=e.pstyle("ghost-offset-x").pfValue,q=e.pstyle("ghost-offset-y").pfValue,V=e.pstyle("ghost-opacity").value,W=V*A;t.translate(X,q),M(V*B),Q(),U(W,!0),O(V*I),$(),H(0!==x||0!==_),U(W,!1),j(W),t.translate(-X,-q)}p&&t.translate(-h.x,-h.y),G(),p&&t.translate(h.x,h.y),M(),Q(),U(A,!0),O(),$(),H(0!==x||0!==_),U(A,!1),j(),p&&t.translate(-h.x,-h.y),z(),K(),n&&t.translate(d.x1,d.y1)}}},nd=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n,r,i,a){var o=this;if(n.visible()){var s=n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-opacity")).value,l=n.pstyle("".concat(t,"-color")).value,u=n.pstyle("".concat(t,"-shape")).value;if(c>0){if(r=r||n.position(),null==i||null==a){var h=n.padding();i=n.width()+2*h,a=n.height()+2*h}o.colorFillStyle(e,l[0],l[1],l[2],c),o.nodeShapes[u].draw(e,r.x,r.y,i+2*s,a+2*s),e.fill()}}}};ed.drawNodeOverlay=nd("overlay"),ed.drawNodeUnderlay=nd("underlay"),ed.hasPie=function(t){return(t=t[0])._private.hasPie},ed.drawPie=function(t,e,n,r){e=e[0],r=r||e.position();var i=e.cy().style(),a=e.pstyle("pie-size"),o=r.x,s=r.y,c=e.width(),l=e.height(),u=Math.min(c,l)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?u*=a.pfValue:void 0!==a.pfValue&&(u=a.pfValue/2);for(var f=1;f<=i.pieBackgroundN;f++){var d=e.pstyle("pie-"+f+"-background-size").value,A=e.pstyle("pie-"+f+"-background-color").value,p=e.pstyle("pie-"+f+"-background-opacity").value*n,g=d/100;g+h>1&&(g=1-h);var m=1.5*Math.PI+2*Math.PI*h,b=m+2*Math.PI*g;0===d||h>=1||h+g>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,u,m,b),t.closePath(),this.colorFillStyle(t,A[0],A[1],A[2],p),t.fill(),h+=g)}};var rd={},id=100;rd.getPixelRatio=function(){var t=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var e=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/e},rd.paintCache=function(t){for(var e,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;i<n.length;i++)if((e=n[i]).context===t){r=!1;break}return r&&(e={context:t},n.push(e)),e},rd.createGradientStyleFor=function(t,e,n,r,i){var a,o=this.usePaths(),s=n.pstyle(e+"-gradient-stop-colors").value,c=n.pstyle(e+"-gradient-stop-positions").pfValue;if("radial-gradient"===r)if(n.isEdge()){var l=n.sourceEndpoint(),u=n.targetEndpoint(),h=n.midpoint(),f=_n(l,h),d=_n(u,h);a=t.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(f,d))}else{var A=o?{x:0,y:0}:n.position(),p=n.paddedWidth(),g=n.paddedHeight();a=t.createRadialGradient(A.x,A.y,0,A.x,A.y,Math.max(p,g))}else if(n.isEdge()){var m=n.sourceEndpoint(),b=n.targetEndpoint();a=t.createLinearGradient(m.x,m.y,b.x,b.y)}else{var v=o?{x:0,y:0}:n.position(),y=n.paddedWidth()/2,w=n.paddedHeight()/2;switch(n.pstyle("background-gradient-direction").value){case"to-bottom":a=t.createLinearGradient(v.x,v.y-w,v.x,v.y+w);break;case"to-top":a=t.createLinearGradient(v.x,v.y+w,v.x,v.y-w);break;case"to-left":a=t.createLinearGradient(v.x+y,v.y,v.x-y,v.y);break;case"to-right":a=t.createLinearGradient(v.x-y,v.y,v.x+y,v.y);break;case"to-bottom-right":case"to-right-bottom":a=t.createLinearGradient(v.x-y,v.y-w,v.x+y,v.y+w);break;case"to-top-right":case"to-right-top":a=t.createLinearGradient(v.x-y,v.y+w,v.x+y,v.y-w);break;case"to-bottom-left":case"to-left-bottom":a=t.createLinearGradient(v.x+y,v.y-w,v.x-y,v.y+w);break;case"to-top-left":case"to-left-top":a=t.createLinearGradient(v.x+y,v.y+w,v.x-y,v.y-w)}}if(!a)return null;for(var T=c.length===s.length,k=s.length,C=0;C<k;C++)a.addColorStop(T?c[C]:C/(k-1),"rgba("+s[C][0]+","+s[C][1]+","+s[C][2]+","+i+")");return a},rd.gradientFillStyle=function(t,e,n,r){var i=this.createGradientStyleFor(t,"background",e,n,r);if(!i)return null;t.fillStyle=i},rd.colorFillStyle=function(t,e,n,r,i){t.fillStyle="rgba("+e+","+n+","+r+","+i+")"},rd.eleFillStyle=function(t,e,n){var r=e.pstyle("background-fill").value;if("linear-gradient"===r||"radial-gradient"===r)this.gradientFillStyle(t,e,r,n);else{var i=e.pstyle("background-color").value;this.colorFillStyle(t,i[0],i[1],i[2],n)}},rd.gradientStrokeStyle=function(t,e,n,r){var i=this.createGradientStyleFor(t,"line",e,n,r);if(!i)return null;t.strokeStyle=i},rd.colorStrokeStyle=function(t,e,n,r,i){t.strokeStyle="rgba("+e+","+n+","+r+","+i+")"},rd.eleStrokeStyle=function(t,e,n){var r=e.pstyle("line-fill").value;if("linear-gradient"===r||"radial-gradient"===r)this.gradientStrokeStyle(t,e,r,n);else{var i=e.pstyle("line-color").value;this.colorStrokeStyle(t,i[0],i[1],i[2],n)}},rd.matchCanvasSize=function(t){var e=this,n=e.data,r=e.findContainerClientCoords(),i=r[2],a=r[3],o=e.getPixelRatio(),s=e.motionBlurPxRatio;t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE]&&t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG]||(o=s);var c,l=i*o,u=a*o;if(l!==e.canvasWidth||u!==e.canvasHeight){e.fontCaches=null;var h=n.canvasContainer;h.style.width=i+"px",h.style.height=a+"px";for(var f=0;f<e.CANVAS_LAYERS;f++)(c=n.canvases[f]).width=l,c.height=u,c.style.width=i+"px",c.style.height=a+"px";for(f=0;f<e.BUFFER_COUNT;f++)(c=n.bufferCanvases[f]).width=l,c.height=u,c.style.width=i+"px",c.style.height=a+"px";e.textureMult=1,o<=1&&(c=n.bufferCanvases[e.TEXTURE_BUFFER],e.textureMult=2,c.width=l*e.textureMult,c.height=u*e.textureMult),e.canvasWidth=l,e.canvasHeight=u}},rd.renderTo=function(t,e,n,r){this.render({forcedContext:t,forcedZoom:e,forcedPan:n,drawAllLayers:!0,forcedPxRatio:r})},rd.render=function(t){var e=(t=t||Re()).forcedContext,n=t.drawAllLayers,r=t.drawOnlyNodeLayer,i=t.forcedZoom,a=t.forcedPan,o=this,s=void 0===t.forcedPxRatio?this.getPixelRatio():t.forcedPxRatio,c=o.cy,l=o.data,u=l.canvasNeedsRedraw,h=o.textureOnViewport&&!e&&(o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming),f=void 0!==t.motionBlur?t.motionBlur:o.motionBlur,d=o.motionBlurPxRatio,A=c.hasCompoundNodes(),p=o.hoverData.draggingEles,g=!(!o.hoverData.selecting&&!o.touchData.selecting),m=f=f&&!e&&o.motionBlurEnabled&&!g;e||(o.prevPxRatio!==s&&(o.invalidateContainerClientCoordsCache(),o.matchCanvasSize(o.container),o.redrawHint("eles",!0),o.redrawHint("drag",!0)),o.prevPxRatio=s),!e&&o.motionBlurTimeout&&clearTimeout(o.motionBlurTimeout),f&&(null==o.mbFrames&&(o.mbFrames=0),o.mbFrames++,o.mbFrames<3&&(m=!1),o.mbFrames>o.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(u[o.NODE]=!0,u[o.SELECT_BOX]=!0);var b=c.style(),v=c.zoom(),y=void 0!==i?i:v,w=c.pan(),T={x:w.x,y:w.y},k={zoom:v,pan:{x:w.x,y:w.y}},C=o.prevViewport;void 0===C||k.zoom!==C.zoom||k.pan.x!==C.pan.x||k.pan.y!==C.pan.y||p&&!A||(o.motionBlurPxRatio=1),a&&(T=a),y*=s,T.x*=s,T.y*=s;var E=o.getCachedZSortedEles();function x(t,e,n,r,i){var a=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",o.colorFillStyle(t,255,255,255,o.motionBlurTransparency),t.fillRect(e,n,r,i),t.globalCompositeOperation=a}function _(t,r){var s,c,u,h;o.clearingMotionBlur||t!==l.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&t!==l.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=T,c=y,u=o.canvasWidth,h=o.canvasHeight):(s={x:w.x*d,y:w.y*d},c=v*d,u=o.canvasWidth*d,h=o.canvasHeight*d),t.setTransform(1,0,0,1,0,0),"motionBlur"===r?x(t,0,0,u,h):e||void 0!==r&&!r||t.clearRect(0,0,u,h),n||(t.translate(s.x,s.y),t.scale(c,c)),a&&t.translate(a.x,a.y),i&&t.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=c.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var B=o.data.bufferContexts[o.TEXTURE_BUFFER];B.setTransform(1,0,0,1,0,0),B.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:B,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(k=o.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-k.pan.x)/k.zoom,y:(0-k.pan.y)/k.zoom}}u[o.DRAG]=!1,u[o.NODE]=!1;var S=l.contexts[o.NODE],L=o.textureCache.texture;k=o.textureCache.viewport,S.setTransform(1,0,0,1,0,0),f?x(S,0,0,k.width,k.height):S.clearRect(0,0,k.width,k.height);var I=b.core("outside-texture-bg-color").value,M=b.core("outside-texture-bg-opacity").value;o.colorFillStyle(S,I[0],I[1],I[2],M),S.fillRect(0,0,k.width,k.height),v=c.zoom(),_(S,!1),S.clearRect(k.mpan.x,k.mpan.y,k.width/k.zoom/s,k.height/k.zoom/s),S.drawImage(L,k.mpan.x,k.mpan.y,k.width/k.zoom/s,k.height/k.zoom/s)}else o.textureOnViewport&&!e&&(o.textureCache=null);var O=c.extent(),N=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),D=o.hideEdgesOnViewport&&N,F=[];if(F[o.NODE]=!u[o.NODE]&&f&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,F[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),F[o.DRAG]=!u[o.DRAG]&&f&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,F[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),u[o.NODE]||n||r||F[o.NODE]){var P=f&&!F[o.NODE]&&1!==d;_(S=e||(P?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:l.contexts[o.NODE]),f&&!P?"motionBlur":void 0),D?o.drawCachedNodes(S,E.nondrag,s,O):o.drawLayeredElements(S,E.nondrag,s,O),o.debug&&o.drawDebugPoints(S,E.nondrag),n||f||(u[o.NODE]=!1)}if(!r&&(u[o.DRAG]||n||F[o.DRAG])&&(P=f&&!F[o.DRAG]&&1!==d,_(S=e||(P?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:l.contexts[o.DRAG]),f&&!P?"motionBlur":void 0),D?o.drawCachedNodes(S,E.drag,s,O):o.drawCachedElements(S,E.drag,s,O),o.debug&&o.drawDebugPoints(S,E.drag),n||f||(u[o.DRAG]=!1)),o.showFps||!r&&u[o.SELECT_BOX]&&!n){if(_(S=e||l.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){v=o.cy.zoom();var R=b.core("selection-box-border-width").value/v;S.lineWidth=R,S.fillStyle="rgba("+b.core("selection-box-color").value[0]+","+b.core("selection-box-color").value[1]+","+b.core("selection-box-color").value[2]+","+b.core("selection-box-opacity").value+")",S.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),R>0&&(S.strokeStyle="rgba("+b.core("selection-box-border-color").value[0]+","+b.core("selection-box-border-color").value[1]+","+b.core("selection-box-border-color").value[2]+","+b.core("selection-box-opacity").value+")",S.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(l.bgActivePosistion&&!o.hoverData.selecting){v=o.cy.zoom();var Q=l.bgActivePosistion;S.fillStyle="rgba("+b.core("active-bg-color").value[0]+","+b.core("active-bg-color").value[1]+","+b.core("active-bg-color").value[2]+","+b.core("active-bg-opacity").value+")",S.beginPath(),S.arc(Q.x,Q.y,b.core("active-bg-size").pfValue/v,0,2*Math.PI),S.fill()}var U=o.lastRedrawTime;if(o.showFps&&U){U=Math.round(U);var H=Math.round(1e3/U);S.setTransform(1,0,0,1,0,0),S.fillStyle="rgba(255, 0, 0, 0.75)",S.strokeStyle="rgba(255, 0, 0, 0.75)",S.lineWidth=1,S.fillText("1 frame = "+U+" ms = "+H+" fps",0,20);var j=60;S.strokeRect(0,30,250,20),S.fillRect(0,30,250*Math.min(H/j,1),20)}n||(u[o.SELECT_BOX]=!1)}if(f&&1!==d){var $=l.contexts[o.NODE],K=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],G=l.contexts[o.DRAG],z=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],X=function(t,e,n){t.setTransform(1,0,0,1,0,0),n||!m?t.clearRect(0,0,o.canvasWidth,o.canvasHeight):x(t,0,0,o.canvasWidth,o.canvasHeight);var r=d;t.drawImage(e,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(u[o.NODE]||F[o.NODE])&&(X($,K,F[o.NODE]),u[o.NODE]=!1),(u[o.DRAG]||F[o.DRAG])&&(X(G,z,F[o.DRAG]),u[o.DRAG]=!1)}o.prevViewport=k,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),f&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,u[o.NODE]=!0,u[o.DRAG]=!0,o.redraw()}),id)),e||c.emit("render")};for(var ad={drawPolygonPath:function(t,e,n,r,i,a){var o=r/2,s=i/2;t.beginPath&&t.beginPath(),t.moveTo(e+o*a[0],n+s*a[1]);for(var c=1;c<a.length/2;c++)t.lineTo(e+o*a[2*c],n+s*a[2*c+1]);t.closePath()},drawRoundPolygonPath:function(t,e,n,r,i,a){var o=r/2,s=i/2,c=gr(r,i);t.beginPath&&t.beginPath();for(var l=0;l<a.length/4;l++){var u=void 0,h=void 0;u=0===l?a.length-2:4*l-2,h=4*l+2;var f=e+o*a[4*l],d=n+s*a[4*l+1],A=-a[u]*a[h]-a[u+1]*a[h+1],p=c/Math.tan(Math.acos(A)/2),g=f-p*a[u],m=d-p*a[u+1],b=f+p*a[h],v=d+p*a[h+1];0===l?t.moveTo(g,m):t.lineTo(g,m),t.arcTo(f,d,b,v,c)}t.closePath()},drawRoundRectanglePath:function(t,e,n,r,i){var a=r/2,o=i/2,s=pr(r,i);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.arcTo(e+a,n-o,e+a,n,s),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.arcTo(e-a,n-o,e,n-o,s),t.lineTo(e,n-o),t.closePath()},drawBottomRoundRectanglePath:function(t,e,n,r,i){var a=r/2,o=i/2,s=pr(r,i);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.lineTo(e+a,n-o),t.lineTo(e+a,n),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.lineTo(e-a,n-o),t.lineTo(e,n-o),t.closePath()},drawCutRectanglePath:function(t,e,n,r,i){var a=r/2,o=i/2,s=mr();t.beginPath&&t.beginPath(),t.moveTo(e-a+s,n-o),t.lineTo(e+a-s,n-o),t.lineTo(e+a,n-o+s),t.lineTo(e+a,n+o-s),t.lineTo(e+a-s,n+o),t.lineTo(e-a+s,n+o),t.lineTo(e-a,n+o-s),t.lineTo(e-a,n-o+s),t.closePath()},drawBarrelPath:function(t,e,n,r,i){var a=r/2,o=i/2,s=e-a,c=e+a,l=n-o,u=n+o,h=vr(r,i),f=h.widthOffset,d=h.heightOffset,A=h.ctrlPtOffsetPct*f;t.beginPath&&t.beginPath(),t.moveTo(s,l+d),t.lineTo(s,u-d),t.quadraticCurveTo(s+A,u,s+f,u),t.lineTo(c-f,u),t.quadraticCurveTo(c-A,u,c,u-d),t.lineTo(c,l+d),t.quadraticCurveTo(c-A,l,c-f,l),t.lineTo(s+f,l),t.quadraticCurveTo(s+A,l,s,l+d),t.closePath()}},od=Math.sin(0),sd=Math.cos(0),cd={},ld={},ud=Math.PI/40,hd=0*Math.PI;hd<2*Math.PI;hd+=ud)cd[hd]=Math.sin(hd),ld[hd]=Math.cos(hd);ad.drawEllipsePath=function(t,e,n,r,i){if(t.beginPath&&t.beginPath(),t.ellipse)t.ellipse(e,n,r/2,i/2,0,0,2*Math.PI);else for(var a,o,s=r/2,c=i/2,l=0*Math.PI;l<2*Math.PI;l+=ud)a=e-s*cd[l]*od+s*ld[l]*sd,o=n+c*ld[l]*od+c*cd[l]*sd,0===l?t.moveTo(a,o):t.lineTo(a,o);t.closePath()};var fd={};function dd(t,e){for(var n=atob(t),r=new ArrayBuffer(n.length),i=new Uint8Array(r),a=0;a<n.length;a++)i[a]=n.charCodeAt(a);return new Blob([r],{type:e})}function Ad(t){var e=t.indexOf(",");return t.substr(e+1)}function pd(t,e,n){var r=function(){return e.toDataURL(n,t.quality)};switch(t.output){case"blob-promise":return new Xi((function(r,i){try{e.toBlob((function(t){null!=t?r(t):i(new Error("`canvas.toBlob()` sent a null value in its callback"))}),n,t.quality)}catch(t){i(t)}}));case"blob":return dd(Ad(r()),n);case"base64":return Ad(r());default:return r()}}fd.createBuffer=function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,[n,n.getContext("2d")]},fd.bufferCanvasImage=function(t){var e=this.cy,n=e.mutableElements().boundingBox(),r=this.findContainerClientCoords(),i=t.full?Math.ceil(n.w):r[2],a=t.full?Math.ceil(n.h):r[3],o=C(t.maxWidth)||C(t.maxHeight),s=this.getPixelRatio(),c=1;if(void 0!==t.scale)i*=t.scale,a*=t.scale,c=t.scale;else if(o){var l=1/0,u=1/0;C(t.maxWidth)&&(l=c*t.maxWidth/i),C(t.maxHeight)&&(u=c*t.maxHeight/a),i*=c=Math.min(l,u),a*=c}o||(i*=s,a*=s,c*=s);var h=document.createElement("canvas");h.width=i,h.height=a,h.style.width=i+"px",h.style.height=a+"px";var f=h.getContext("2d");if(i>0&&a>0){f.clearRect(0,0,i,a),f.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)f.translate(-n.x1*c,-n.y1*c),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(n.x1*c,n.y1*c);else{var A=e.pan(),p={x:A.x*c,y:A.y*c};c*=e.zoom(),f.translate(p.x,p.y),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(-p.x,-p.y)}t.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=t.bg,f.rect(0,0,i,a),f.fill())}return h},fd.png=function(t){return pd(t,this.bufferCanvasImage(t),"image/png")},fd.jpg=function(t){return pd(t,this.bufferCanvasImage(t),"image/jpeg")};var gd={nodeShapeImpl:function(t,e,n,r,i,a,o){switch(t){case"ellipse":return this.drawEllipsePath(e,n,r,i,a);case"polygon":return this.drawPolygonPath(e,n,r,i,a,o);case"round-polygon":return this.drawRoundPolygonPath(e,n,r,i,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,n,r,i,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,n,r,i,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,n,r,i,a);case"barrel":return this.drawBarrelPath(e,n,r,i,a)}}},md=vd,bd=vd.prototype;function vd(t){var e=this;e.data={canvases:new Array(bd.CANVAS_LAYERS),contexts:new Array(bd.CANVAS_LAYERS),canvasNeedsRedraw:new Array(bd.CANVAS_LAYERS),bufferCanvases:new Array(bd.BUFFER_COUNT),bufferContexts:new Array(bd.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var i=e.data.canvasContainer.style;e.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=t.cy.container();a.appendChild(e.data.canvasContainer),a.style[n]=r;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};P()&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s<bd.CANVAS_LAYERS;s++){var c=e.data.canvases[s]=document.createElement("canvas");e.data.contexts[s]=c.getContext("2d"),Object.keys(o).forEach((function(t){c.style[t]=o[t]})),c.style.position="absolute",c.setAttribute("data-id","layer"+s),c.style.zIndex=String(bd.CANVAS_LAYERS-s),e.data.canvasContainer.appendChild(c),e.data.canvasNeedsRedraw[s]=!1}for(e.data.topCanvas=e.data.canvases[0],e.data.canvases[bd.NODE].setAttribute("data-id","layer"+bd.NODE+"-node"),e.data.canvases[bd.SELECT_BOX].setAttribute("data-id","layer"+bd.SELECT_BOX+"-selectbox"),e.data.canvases[bd.DRAG].setAttribute("data-id","layer"+bd.DRAG+"-drag"),s=0;s<bd.BUFFER_COUNT;s++)e.data.bufferCanvases[s]=document.createElement("canvas"),e.data.bufferContexts[s]=e.data.bufferCanvases[s].getContext("2d"),e.data.bufferCanvases[s].style.position="absolute",e.data.bufferCanvases[s].setAttribute("data-id","buffer"+s),e.data.bufferCanvases[s].style.zIndex=String(-s-1),e.data.bufferCanvases[s].style.visibility="hidden";e.pathsEnabled=!0;var l=Nn(),u=function(t){return{x:(t.x1+t.x2)/2,y:(t.y1+t.y2)/2}},h=function(t){return{x:-t.w/2,y:-t.h/2}},f=function(t){var e=t[0]._private;return!(e.oldBackgroundTimestamp===e.backgroundTimestamp)},d=function(t){return t[0]._private.nodeKey},A=function(t){return t[0]._private.labelStyleKey},p=function(t){return t[0]._private.sourceLabelStyleKey},g=function(t){return t[0]._private.targetLabelStyleKey},m=function(t,n,r,i,a){return e.drawElement(t,n,r,!1,!1,a)},b=function(t,n,r,i,a){return e.drawElementText(t,n,r,i,"main",a)},v=function(t,n,r,i,a){return e.drawElementText(t,n,r,i,"source",a)},y=function(t,n,r,i,a){return e.drawElementText(t,n,r,i,"target",a)},w=function(t){return t.boundingBox(),t[0]._private.bodyBounds},T=function(t){return t.boundingBox(),t[0]._private.labelBounds.main||l},k=function(t){return t.boundingBox(),t[0]._private.labelBounds.source||l},C=function(t){return t.boundingBox(),t[0]._private.labelBounds.target||l},E=function(t,e){return e},x=function(t){return u(w(t))},_=function(t,e,n){var r=t?t+"-":"";return{x:e.x+n.pstyle(r+"text-margin-x").pfValue,y:e.y+n.pstyle(r+"text-margin-y").pfValue}},B=function(t,e,n){var r=t[0]._private.rscratch;return{x:r[e],y:r[n]}},S=function(t){return _("",B(t,"labelX","labelY"),t)},L=function(t){return _("source",B(t,"sourceLabelX","sourceLabelY"),t)},I=function(t){return _("target",B(t,"targetLabelX","targetLabelY"),t)},M=function(t){return h(w(t))},O=function(t){return h(k(t))},N=function(t){return h(C(t))},D=function(t){var e=T(t),n=h(T(t));if(t.isNode()){switch(t.pstyle("text-halign").value){case"left":n.x=-e.w;break;case"right":n.x=0}switch(t.pstyle("text-valign").value){case"top":n.y=-e.h;break;case"bottom":n.y=0}}return n},F=e.data.eleTxrCache=new gf(e,{getKey:d,doesEleInvalidateKey:f,drawElement:m,getBoundingBox:w,getRotationPoint:x,getRotationOffset:M,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),R=e.data.lblTxrCache=new gf(e,{getKey:A,drawElement:b,getBoundingBox:T,getRotationPoint:S,getRotationOffset:D,isVisible:E}),Q=e.data.slbTxrCache=new gf(e,{getKey:p,drawElement:v,getBoundingBox:k,getRotationPoint:L,getRotationOffset:O,isVisible:E}),U=e.data.tlbTxrCache=new gf(e,{getKey:g,drawElement:y,getBoundingBox:C,getRotationPoint:I,getRotationOffset:N,isVisible:E}),H=e.data.lyrTxrCache=new Mf(e);e.onUpdateEleCalcs((function(t,e){F.invalidateElements(e),R.invalidateElements(e),Q.invalidateElements(e),U.invalidateElements(e),H.invalidateElements(e);for(var n=0;n<e.length;n++){var r=e[n]._private;r.oldBackgroundTimestamp=r.backgroundTimestamp}}));var j=function(t){for(var e=0;e<t.length;e++)H.enqueueElementRefinement(t[e].ele)};F.onDequeue(j),R.onDequeue(j),Q.onDequeue(j),U.onDequeue(j)}bd.CANVAS_LAYERS=3,bd.SELECT_BOX=0,bd.DRAG=1,bd.NODE=2,bd.BUFFER_COUNT=3,bd.TEXTURE_BUFFER=0,bd.MOTIONBLUR_BUFFER_NODE=1,bd.MOTIONBLUR_BUFFER_DRAG=2,bd.redrawHint=function(t,e){var n=this;switch(t){case"eles":n.data.canvasNeedsRedraw[bd.NODE]=e;break;case"drag":n.data.canvasNeedsRedraw[bd.DRAG]=e;break;case"select":n.data.canvasNeedsRedraw[bd.SELECT_BOX]=e}};var yd="undefined"!=typeof Path2D;bd.path2dEnabled=function(t){if(void 0===t)return this.pathsEnabled;this.pathsEnabled=!!t},bd.usePaths=function(){return yd&&this.pathsEnabled},bd.setImgSmoothing=function(t,e){null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)},bd.getImgSmoothing=function(t){return null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled},bd.makeOffscreenCanvas=function(e,n){var r;return"undefined"!==("undefined"==typeof OffscreenCanvas?"undefined":t(OffscreenCanvas))?r=new OffscreenCanvas(e,n):((r=document.createElement("canvas")).width=e,r.height=n),r},[Pf,$f,Wf,Jf,Zf,ed,rd,ad,fd,gd].forEach((function(t){J(bd,t)}));var wd=[{name:"null",impl:mh},{name:"base",impl:Kh},{name:"canvas",impl:md}],Td=[{type:"layout",extensions:gh},{type:"renderer",extensions:wd}],kd={},Cd={};function Ed(t,e,n){var r=n,i=function(n){Me("Can not register `"+e+"` for `"+t+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===t){if(Bu.prototype[e])return i(e);Bu.prototype[e]=n}else if("collection"===t){if(jl.prototype[e])return i(e);jl.prototype[e]=n}else if("layout"===t){for(var a=function(t){this.options=t,n.call(this,t),T(this._private)||(this._private={}),this._private.cy=t.cy,this._private.listeners=[],this.createEmitter()},o=a.prototype=Object.create(n.prototype),s=[],c=0;c<s.length;c++){var l=s[c];o[l]=o[l]||function(){return this}}o.start&&!o.run?o.run=function(){return this.start(),this}:!o.start&&o.run&&(o.start=function(){return this.run(),this});var u=n.prototype.stop;o.stop=function(){var t=this.options;if(t&&t.animate){var e=this.animations;if(e)for(var n=0;n<e.length;n++)e[n].stop()}return u?u.call(this):this.emit("layoutstop"),this},o.destroy||(o.destroy=function(){return this}),o.cy=function(){return this._private.cy};var h=function(t){return t._private.cy},f={addEventFields:function(t,e){e.layout=t,e.cy=h(t),e.target=t},bubble:function(){return!0},parent:function(t){return h(t)}};J(o,{createEmitter:function(){return this._private.emitter=new al(f,this),this},emitter:function(){return this._private.emitter},on:function(t,e){return this.emitter().on(t,e),this},one:function(t,e){return this.emitter().one(t,e),this},once:function(t,e){return this.emitter().one(t,e),this},removeListener:function(t,e){return this.emitter().removeListener(t,e),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(t,e){return this.emitter().emit(t,e),this}}),Ls.eventAliasesOn(o),r=a}else if("renderer"===t&&"null"!==e&&"base"!==e){var d=xd("renderer","base"),A=d.prototype,p=n,g=n.prototype,m=function(){d.apply(this,arguments),p.apply(this,arguments)},b=m.prototype;for(var v in A){var y=A[v];if(null!=g[v])return i(v);b[v]=y}for(var w in g)b[w]=g[w];A.clientFunctions.forEach((function(t){b[t]=b[t]||function(){Le("Renderer does not implement `renderer."+t+"()` on its prototype")}})),r=m}else if("__proto__"===t||"constructor"===t||"prototype"===t)return Le(t+" is an illegal type to be registered, possibly lead to prototype pollutions");return at({map:kd,keys:[t,e],value:r})}function xd(t,e){return ot({map:kd,keys:[t,e]})}function _d(t,e,n,r,i){return at({map:Cd,keys:[t,e,n,r],value:i})}function Bd(t,e,n,r){return ot({map:Cd,keys:[t,e,n,r]})}var Sd=function(){return 2===arguments.length?xd.apply(null,arguments):3===arguments.length?Ed.apply(null,arguments):4===arguments.length?Bd.apply(null,arguments):5===arguments.length?_d.apply(null,arguments):void Le("Invalid extension access syntax")};Bu.prototype.extension=Sd,Td.forEach((function(t){t.extensions.forEach((function(e){Ed(t.type,e.name,e.impl)}))}));var Ld=function t(){if(!(this instanceof t))return new t;this.length=0},Id=Ld.prototype;Id.instanceString=function(){return"stylesheet"},Id.selector=function(t){return this[this.length++]={selector:t,properties:[]},this},Id.css=function(t,e){var n=this.length-1;if(v(t))this[n].properties.push({name:t,value:e});else if(T(t))for(var r=t,i=Object.keys(r),a=0;a<i.length;a++){var o=i[a],s=r[o];if(null!=s){var c=Tu.properties[o]||Tu.properties[U(o)];if(null!=c){var l=c.name,u=s;this[n].properties.push({name:l,value:u})}}}return this},Id.style=Id.css,Id.generateStyle=function(t){var e=new Tu(t);return this.appendToStyle(e)},Id.appendToStyle=function(t){for(var e=0;e<this.length;e++){var n=this[e],r=n.selector,i=n.properties;t.selector(r);for(var a=0;a<i.length;a++){var o=i[a];t.css(o.name,o.value)}}return t};var Md="3.26.0",Od=function(t){return void 0===t&&(t={}),T(t)?new Bu(t):v(t)?Sd.apply(Sd,arguments):void 0};return Od.use=function(t){var e=Array.prototype.slice.call(arguments,1);return e.unshift(Od),t.apply(null,e),this},Od.warnings=function(t){return Ie(t)},Od.version=Md,Od.stylesheet=Od.Stylesheet=Ld,Od}()})),Zlt=r((function(t,e){var n;n=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=26)}([function(t,e,n){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,t.exports=r},function(t,e,n){var r=n(2),i=n(8),a=n(9);function o(t,e,n){r.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=t,this.target=e}for(var s in o.prototype=Object.create(r.prototype),r)o[s]=r[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},o.prototype.getOtherEndInGraph=function(t,e){for(var n=this.getOtherEnd(t),r=e.getGraphManager().getRoot();;){if(n.getOwner()==e)return n;if(n.getOwner()==r)break;n=n.getOwner().getParent()}return null},o.prototype.updateLength=function(){var t=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=o},function(t,e,n){t.exports=function(t){this.vGraphObject=t}},function(t,e,n){var r=n(2),i=n(10),a=n(13),o=n(0),s=n(16),c=n(4);function l(t,e,n,o){null==n&&null==o&&(o=e),r.call(this,o),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=t,this.rect=null!=n&&null!=e?new a(e.x,e.y,n.width,n.height):new a}for(var u in l.prototype=Object.create(r.prototype),r)l[u]=r[u];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new c(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new c(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],n=this;return n.edges.forEach((function(r){if(r.target==t){if(r.source!=n)throw"Incorrect edge source!";e.push(r)}})),e},l.prototype.getEdgesBetween=function(t){var e=[],n=this;return n.edges.forEach((function(r){if(r.source!=n&&r.target!=n)throw"Incorrect edge source and/or target";r.target!=t&&r.source!=t||e.push(r)})),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach((function(n){if(n.source==e)t.add(n.target);else{if(n.target!=e)throw"Incorrect incidency!";t.add(n.source)}})),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),n=0;n<e.length;n++)e[n].withChildren().forEach((function(e){t.add(e)}));return t},l.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else for(var e=this.child.getNodes(),n=0;n<e.length;n++)t+=e[n].getNoOfChildren();return 0==t&&(t=1),t},l.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},l.prototype.calcEstimatedSize=function(){return null==this.child?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},l.prototype.scatter=function(){var t,e,n=-o.INITIAL_WORLD_BOUNDARY,r=o.INITIAL_WORLD_BOUNDARY;t=o.WORLD_CENTER_X+s.nextDouble()*(r-n)+n;var i=-o.INITIAL_WORLD_BOUNDARY,a=o.INITIAL_WORLD_BOUNDARY;e=o.WORLD_CENTER_Y+s.nextDouble()*(a-i)+i,this.rect.x=t,this.rect.y=e},l.prototype.updateBounds=function(){if(null==this.getChild())throw"assert failed";if(0!=this.getChild().getNodes().length){var t=this.getChild();if(t.updateBounds(!0),this.rect.x=t.getLeft(),this.rect.y=t.getTop(),this.setWidth(t.getRight()-t.getLeft()),this.setHeight(t.getBottom()-t.getTop()),o.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),n=t.getBottom()-t.getTop();this.labelWidth>e&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>o.WORLD_BOUNDARY?e=o.WORLD_BOUNDARY:e<-o.WORLD_BOUNDARY&&(e=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var r=new c(e,n),i=t.inverseTransformPoint(r);this.setLocation(i.x,i.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,n){function r(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=r},function(t,e,n){var r=n(2),i=n(10),a=n(0),o=n(6),s=n(3),c=n(1),l=n(13),u=n(12),h=n(11);function f(t,e,n){r.call(this,n),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof o?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in f.prototype=Object.create(r.prototype),r)f[d]=r[d];f.prototype.getNodes=function(){return this.nodes},f.prototype.getEdges=function(){return this.edges},f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getParent=function(){return this.parent},f.prototype.getLeft=function(){return this.left},f.prototype.getRight=function(){return this.right},f.prototype.getTop=function(){return this.top},f.prototype.getBottom=function(){return this.bottom},f.prototype.isConnected=function(){return this.isConnected},f.prototype.add=function(t,e,n){if(null==e&&null==n){var r=t;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var i=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(e.owner!=n.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=n.owner?null:(i.source=e,i.target=n,i.isInterGraph=!1,this.getEdges().push(i),e.edges.push(i),n!=e&&n.edges.push(i),i)},f.prototype.remove=function(t){var e=t;if(t instanceof s){if(null==e)throw"Node is null!";if(null==e.owner||e.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=e.edges.slice(),r=n.length,i=0;i<r;i++)(a=n[i]).isInterGraph?this.graphManager.remove(a):a.source.owner.remove(a);if(-1==(o=this.nodes.indexOf(e)))throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(t instanceof c){var a;if(null==(a=t))throw"Edge is null!";if(null==a.source||null==a.target)throw"Source and/or target is null!";if(null==a.source.owner||null==a.target.owner||a.source.owner!=this||a.target.owner!=this)throw"Source and/or target owner is invalid!";var o,l=a.source.edges.indexOf(a),u=a.target.edges.indexOf(a);if(!(l>-1&&u>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(l,1),a.target!=a.source&&a.target.edges.splice(u,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},f.prototype.updateLeftTop=function(){for(var t,e,n,r=i.MAX_VALUE,a=i.MAX_VALUE,o=this.getNodes(),s=o.length,c=0;c<s;c++){var l=o[c];r>(t=l.getTop())&&(r=t),a>(e=l.getLeft())&&(a=e)}return r==i.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=r-n,new u(this.left,this.top))},f.prototype.updateBounds=function(t){for(var e,n,r,a,o,s=i.MAX_VALUE,c=-i.MAX_VALUE,u=i.MAX_VALUE,h=-i.MAX_VALUE,f=this.nodes,d=f.length,A=0;A<d;A++){var p=f[A];t&&null!=p.child&&p.updateBounds(),s>(e=p.getLeft())&&(s=e),c<(n=p.getRight())&&(c=n),u>(r=p.getTop())&&(u=r),h<(a=p.getBottom())&&(h=a)}var g=new l(s,u,c-s,h-u);s==i.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=f[0].getParent().paddingLeft?f[0].getParent().paddingLeft:this.margin,this.left=g.x-o,this.right=g.x+g.width+o,this.top=g.y-o,this.bottom=g.y+g.height+o},f.calculateBounds=function(t){for(var e,n,r,a,o=i.MAX_VALUE,s=-i.MAX_VALUE,c=i.MAX_VALUE,u=-i.MAX_VALUE,h=t.length,f=0;f<h;f++){var d=t[f];o>(e=d.getLeft())&&(o=e),s<(n=d.getRight())&&(s=n),c>(r=d.getTop())&&(c=r),u<(a=d.getBottom())&&(u=a)}return new l(o,c,s-o,u-c)},f.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},f.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},f.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,n=e.length,r=0;r<n;r++)t+=e[r].calcEstimatedSize();return this.estimatedSize=0==t?a.EMPTY_COMPOUND_NODE_SIZE:t/Math.sqrt(this.nodes.length),this.estimatedSize},f.prototype.updateConnected=function(){var t=this;if(0!=this.nodes.length){var e,n,r=new h,i=new Set,a=this.nodes[0];for(a.withChildren().forEach((function(t){r.push(t),i.add(t)}));0!==r.length;)for(var o=(e=(a=r.shift()).getEdges()).length,s=0;s<o;s++)null==(n=e[s].getOtherEndInGraph(a,this))||i.has(n)||n.withChildren().forEach((function(t){r.push(t),i.add(t)}));if(this.isConnected=!1,i.size>=this.nodes.length){var c=0;i.forEach((function(e){e.owner==t&&c++})),c==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},t.exports=f},function(t,e,n){var r,i=n(1);function a(t){r=n(5),this.layout=t,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),n=this.add(t,e);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(t,e,n,r,i){if(null==n&&null==r&&null==i){if(null==t)throw"Graph is null!";if(null==e)throw"Parent node is null!";if(this.graphs.indexOf(t)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw"Already has a parent!";if(null!=e.child)throw"Already has a child!";return t.parent=e,e.child=t,t}i=n,n=t;var a=(r=e).getOwner(),o=i.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,r,i);if(n.isInterGraph=!0,n.source=r,n.target=i,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(t){if(t instanceof r){var e=t;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(e!=this.rootGraph&&(null==e.parent||e.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(e.getEdges())).length,s=0;s<o;s++)n=a[s],e.remove(n);var c,l=[];for(o=(l=l.concat(e.getNodes())).length,s=0;s<o;s++)c=l[s],e.remove(c);e==this.rootGraph&&this.setRootGraph(null);var u=this.graphs.indexOf(e);this.graphs.splice(u,1),e.parent=null}else if(t instanceof i){if(null==(n=t))throw"Edge is null!";if(!n.isInterGraph)throw"Not an inter-graph edge!";if(null==n.source||null==n.target)throw"Source and/or target is null!";if(-1==n.source.edges.indexOf(n)||-1==n.target.edges.indexOf(n))throw"Source and/or target doesn't know this edge!";if(u=n.source.edges.indexOf(n),n.source.edges.splice(u,1),u=n.target.edges.indexOf(n),n.target.edges.splice(u,1),null==n.source.owner||null==n.source.owner.getGraphManager())throw"Edge owner graph or owner graph manager is null!";if(-1==n.source.owner.getGraphManager().edges.indexOf(n))throw"Not in owner graph manager's edge list!";u=n.source.owner.getGraphManager().edges.indexOf(n),n.source.owner.getGraphManager().edges.splice(u,1)}},a.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},a.prototype.getGraphs=function(){return this.graphs},a.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),n=e.length,r=0;r<n;r++)t=t.concat(e[r].getNodes());this.allNodes=t}return this.allNodes},a.prototype.resetAllNodes=function(){this.allNodes=null},a.prototype.resetAllEdges=function(){this.allEdges=null},a.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},a.prototype.getAllEdges=function(){if(null==this.allEdges){var t=[],e=this.getGraphs();e.length;for(var n=0;n<e.length;n++)t=t.concat(e[n].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},a.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},a.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},a.prototype.getRoot=function(){return this.rootGraph},a.prototype.setRootGraph=function(t){if(t.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=t,null==t.parent&&(t.parent=this.layout.newNode("Root node"))},a.prototype.getLayout=function(){return this.layout},a.prototype.isOneAncestorOfOther=function(t,e){if(null==t||null==e)throw"assert failed";if(t==e)return!0;for(var n,r=t.getOwner();null!=(n=r.getParent());){if(n==e)return!0;if(null==(r=n.getOwner()))break}for(r=e.getOwner();null!=(n=r.getParent());){if(n==t)return!0;if(null==(r=n.getOwner()))break}return!1},a.prototype.calcLowestCommonAncestors=function(){for(var t,e,n,r,i,a=this.getAllEdges(),o=a.length,s=0;s<o;s++)if(e=(t=a[s]).source,n=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=n,e!=n){for(r=e.getOwner();null==t.lca;){for(t.targetInLca=n,i=n.getOwner();null==t.lca;){if(i==r){t.lca=i;break}if(i==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=i.getParent(),i=t.targetInLca.getOwner()}if(r==this.rootGraph)break;null==t.lca&&(t.sourceInLca=r.getParent(),r=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}else t.lca=e.getOwner()},a.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var n=t.getOwner();null!=n;){for(var r=e.getOwner();null!=r;){if(r==n)return r;r=r.getParent().getOwner()}n=n.getParent().getOwner()}return n},a.prototype.calcInclusionTreeDepths=function(t,e){var n;null==t&&null==e&&(t=this.rootGraph,e=1);for(var r=t.getNodes(),i=r.length,a=0;a<i;a++)(n=r[a]).inclusionTreeDepth=e,null!=n.child&&this.calcInclusionTreeDepths(n.child,e+1)},a.prototype.includesInvalidEdge=function(){for(var t,e=this.edges.length,n=0;n<e;n++)if(t=this.edges[n],this.isOneAncestorOfOther(t.source,t.target))return!0;return!1},t.exports=a},function(t,e,n){var r=n(0);function i(){}for(var a in r)i[a]=r[a];i.MAX_ITERATIONS=2500,i.DEFAULT_EDGE_LENGTH=50,i.DEFAULT_SPRING_STRENGTH=.45,i.DEFAULT_REPULSION_STRENGTH=4500,i.DEFAULT_GRAVITY_STRENGTH=.4,i.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,i.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,i.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,i.COOLING_ADAPTATION_FACTOR=.33,i.ADAPTATION_LOWER_NODE_LIMIT=1e3,i.ADAPTATION_UPPER_NODE_LIMIT=5e3,i.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,i.MAX_NODE_DISPLACEMENT=3*i.MAX_NODE_DISPLACEMENT_INCREMENTAL,i.MIN_REPULSION_DIST=i.DEFAULT_EDGE_LENGTH/10,i.CONVERGENCE_CHECK_PERIOD=100,i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,i.MIN_EDGE_LENGTH=1,i.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=i},function(t,e,n){var r=n(12);function i(){}i.calcSeparationAmount=function(t,e,n,r){if(!t.intersects(e))throw"assert failed";var i=new Array(2);this.decideDirectionsForOverlappingNodes(t,e,i),n[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),n[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var a=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]<s?s=n[0]:o=n[1],n[0]=-1*i[0]*(s/2+r),n[1]=-1*i[1]*(o/2+r)},i.decideDirectionsForOverlappingNodes=function(t,e,n){t.getCenterX()<e.getCenterX()?n[0]=-1:n[0]=1,t.getCenterY()<e.getCenterY()?n[1]=-1:n[1]=1},i.getIntersection2=function(t,e,n){var r=t.getCenterX(),i=t.getCenterY(),a=e.getCenterX(),o=e.getCenterY();if(t.intersects(e))return n[0]=r,n[1]=i,n[2]=a,n[3]=o,!0;var s=t.getX(),c=t.getY(),l=t.getRight(),u=t.getX(),h=t.getBottom(),f=t.getRight(),d=t.getWidthHalf(),A=t.getHeightHalf(),p=e.getX(),g=e.getY(),m=e.getRight(),b=e.getX(),v=e.getBottom(),y=e.getRight(),w=e.getWidthHalf(),T=e.getHeightHalf(),k=!1,C=!1;if(r===a){if(i>o)return n[0]=r,n[1]=c,n[2]=a,n[3]=v,!1;if(i<o)return n[0]=r,n[1]=h,n[2]=a,n[3]=g,!1}else if(i===o){if(r>a)return n[0]=s,n[1]=i,n[2]=m,n[3]=o,!1;if(r<a)return n[0]=l,n[1]=i,n[2]=p,n[3]=o,!1}else{var E=t.height/t.width,x=e.height/e.width,_=(o-i)/(a-r),B=void 0,S=void 0,L=void 0,I=void 0,M=void 0,O=void 0;if(-E===_?r>a?(n[0]=u,n[1]=h,k=!0):(n[0]=l,n[1]=c,k=!0):E===_&&(r>a?(n[0]=s,n[1]=c,k=!0):(n[0]=f,n[1]=h,k=!0)),-x===_?a>r?(n[2]=b,n[3]=v,C=!0):(n[2]=m,n[3]=g,C=!0):x===_&&(a>r?(n[2]=p,n[3]=g,C=!0):(n[2]=y,n[3]=v,C=!0)),k&&C)return!1;if(r>a?i>o?(B=this.getCardinalDirection(E,_,4),S=this.getCardinalDirection(x,_,2)):(B=this.getCardinalDirection(-E,_,3),S=this.getCardinalDirection(-x,_,1)):i>o?(B=this.getCardinalDirection(-E,_,1),S=this.getCardinalDirection(-x,_,3)):(B=this.getCardinalDirection(E,_,2),S=this.getCardinalDirection(x,_,4)),!k)switch(B){case 1:I=c,L=r+-A/_,n[0]=L,n[1]=I;break;case 2:L=f,I=i+d*_,n[0]=L,n[1]=I;break;case 3:I=h,L=r+A/_,n[0]=L,n[1]=I;break;case 4:L=u,I=i+-d*_,n[0]=L,n[1]=I}if(!C)switch(S){case 1:O=g,M=a+-T/_,n[2]=M,n[3]=O;break;case 2:M=y,O=o+w*_,n[2]=M,n[3]=O;break;case 3:O=v,M=a+T/_,n[2]=M,n[3]=O;break;case 4:M=b,O=o+-w*_,n[2]=M,n[3]=O}}return!1},i.getCardinalDirection=function(t,e,n){return t>e?n:1+n%4},i.getIntersection=function(t,e,n,i){if(null==i)return this.getIntersection2(t,e,n);var a,o,s,c,l,u,h,f=t.x,d=t.y,A=e.x,p=e.y,g=n.x,m=n.y,b=i.x,v=i.y;return 0==(h=(a=p-d)*(c=g-b)-(o=v-m)*(s=f-A))?null:new r((s*(u=b*m-g*v)-c*(l=A*d-f*p))/h,(o*l-a*u)/h)},i.angleOfVector=function(t,e,n,r){var i=void 0;return t!==n?(i=Math.atan((r-e)/(n-t)),n<t?i+=Math.PI:r<e&&(i+=this.TWO_PI)):i=r<e?this.ONE_AND_HALF_PI:this.HALF_PI,i},i.doIntersect=function(t,e,n,r){var i=t.x,a=t.y,o=e.x,s=e.y,c=n.x,l=n.y,u=r.x,h=r.y,f=(o-i)*(h-l)-(u-c)*(s-a);if(0===f)return!1;var d=((h-l)*(u-i)+(c-u)*(h-a))/f,A=((a-s)*(u-i)+(o-i)*(h-a))/f;return 0<d&&d<1&&0<A&&A<1},i.HALF_PI=.5*Math.PI,i.ONE_AND_HALF_PI=1.5*Math.PI,i.TWO_PI=2*Math.PI,i.THREE_PI=3*Math.PI,t.exports=i},function(t,e,n){function r(){}r.sign=function(t){return t>0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=r},function(t,e,n){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,t.exports=r},function(t,e,n){var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(t){return{value:t,next:null,prev:null}},a=function(t,e,n,r){return null!==t?t.next=e:r.head=e,null!==n?n.prev=e:r.tail=e,e.prev=t,e.next=n,r.length++,e},o=function(t,e){var n=t.prev,r=t.next;return null!==n?n.next=r:e.head=r,null!==r?r.prev=n:e.tail=n,t.prev=t.next=null,e.length--,t},s=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach((function(t){return n.push(t)}))}return r(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return a(e.prev,i(t),e,this)}},{key:"insertAfter",value:function(t,e){return a(e,i(t),e.next,this)}},{key:"insertNodeBefore",value:function(t,e){return a(e.prev,t,e,this)}},{key:"insertNodeAfter",value:function(t,e){return a(e,t,e.next,this)}},{key:"push",value:function(t){return a(this.tail,i(t),null,this)}},{key:"unshift",value:function(t){return a(null,i(t),this.head,this)}},{key:"remove",value:function(t){return o(t,this)}},{key:"pop",value:function(){return o(this.tail,this).value}},{key:"popNode",value:function(){return o(this.tail,this)}},{key:"shift",value:function(){return o(this.head,this).value}},{key:"shiftNode",value:function(){return o(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,n=this.head;e<t;)n=n.next,e++;return n.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var n=1,r=this.head;n<t;)r=r.next,n++;r.value=e}}}]),t}();t.exports=s},function(t,e,n){function r(t,e,n){this.x=null,this.y=null,null==t&&null==e&&null==n?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==n?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==n&&(n=t,this.x=n.x,this.y=n.y)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.getLocation=function(){return new r(this.x,this.y)},r.prototype.setLocation=function(t,e,n){"Point"==t.constructor.name&&null==e&&null==n?(n=t,this.setLocation(n.x,n.y)):"number"==typeof t&&"number"==typeof e&&null==n&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},r.prototype.move=function(t,e){this.x=t,this.y=e},r.prototype.translate=function(t,e){this.x+=t,this.y+=e},r.prototype.equals=function(t){if("Point"==t.constructor.name){var e=t;return this.x==e.x&&this.y==e.y}return this==t},r.prototype.toString=function(){return(new r).constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=r},function(t,e,n){function r(t,e,n,r){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=n&&null!=r&&(this.x=t,this.y=e,this.width=n,this.height=r)}r.prototype.getX=function(){return this.x},r.prototype.setX=function(t){this.x=t},r.prototype.getY=function(){return this.y},r.prototype.setY=function(t){this.y=t},r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},r.prototype.getRight=function(){return this.x+this.width},r.prototype.getBottom=function(){return this.y+this.height},r.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)},r.prototype.getCenterX=function(){return this.x+this.width/2},r.prototype.getMinX=function(){return this.getX()},r.prototype.getMaxX=function(){return this.getX()+this.width},r.prototype.getCenterY=function(){return this.y+this.height/2},r.prototype.getMinY=function(){return this.getY()},r.prototype.getMaxY=function(){return this.getY()+this.height},r.prototype.getWidthHalf=function(){return this.width/2},r.prototype.getHeightHalf=function(){return this.height/2},t.exports=r},function(t,e,n){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function i(){}i.lastID=0,i.createID=function(t){return i.isPrimitive(t)?t:(null!=t.uniqueID||(t.uniqueID=i.getString(),i.lastID++),t.uniqueID)},i.getString=function(t){return null==t&&(t=i.lastID),"Object#"+t},i.isPrimitive=function(t){var e=void 0===t?"undefined":r(t);return null==t||"object"!=e&&"function"!=e},t.exports=i},function(t,e,n){function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var i=n(0),a=n(6),o=n(3),s=n(1),c=n(5),l=n(4),u=n(17),h=n(27);function f(t){h.call(this),this.layoutQuality=i.QUALITY,this.createBendsAsNeeded=i.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=i.DEFAULT_INCREMENTAL,this.animationOnLayout=i.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=i.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=i.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=i.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}f.RANDOM_SEED=1,f.prototype=Object.create(h.prototype),f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},f.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},f.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},f.prototype.newGraphManager=function(){var t=new a(this);return this.graphManager=t,t},f.prototype.newGraph=function(t){return new c(null,this.graphManager,t)},f.prototype.newNode=function(t){return new o(this.graphManager,t)},f.prototype.newEdge=function(t){return new s(null,null,t)},f.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},f.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==i.ANIMATE&&(t&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},f.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},f.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t=this.graphManager.getAllEdges(),e=0;e<t.length;e++)t[e];var n=this.graphManager.getRoot().getNodes();for(e=0;e<n.length;e++)n[e];this.update(this.graphManager.getRoot())}},f.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof o){var e=t;if(null!=e.getChild())for(var n=e.getChild().getNodes(),r=0;r<n.length;r++)update(n[r]);null!=e.vGraphObject&&e.vGraphObject.update(e)}else if(t instanceof s){var i=t;null!=i.vGraphObject&&i.vGraphObject.update(i)}else if(t instanceof c){var a=t;null!=a.vGraphObject&&a.vGraphObject.update(a)}},f.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=i.QUALITY,this.animationDuringLayout=i.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=i.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=i.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=i.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=i.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=i.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},f.prototype.transform=function(t){if(null==t)this.transform(new l(0,0));else{var e=new u,n=this.graphManager.getRoot().updateLeftTop();if(null!=n){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(n.x),e.setDeviceOrgY(n.y);for(var r=this.getAllNodes(),i=0;i<r.length;i++)r[i].transform(e)}}},f.prototype.positionNodesRandomly=function(t){if(null==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var e,n,r=t.getNodes(),i=0;i<r.length;i++)null==(n=(e=r[i]).getChild())||0==n.getNodes().length?e.scatter():(this.positionNodesRandomly(n),e.updateBounds())},f.prototype.getFlatForest=function(){for(var t=[],e=!0,n=this.graphManager.getRoot().getNodes(),i=!0,a=0;a<n.length;a++)null!=n[a].getChild()&&(i=!1);if(!i)return t;var o=new Set,s=[],c=new Map,l=[];for(l=l.concat(n);l.length>0&&e;){for(s.push(l[0]);s.length>0&&e;){var u=s[0];s.splice(0,1),o.add(u);var h=u.getEdges();for(a=0;a<h.length;a++){var f=h[a].getOtherEnd(u);if(c.get(u)!=f){if(o.has(f)){e=!1;break}s.push(f),c.set(f,u)}}}if(e){var d=[].concat(r(o));for(t.push(d),a=0;a<d.length;a++){var A=d[a],p=l.indexOf(A);p>-1&&l.splice(p,1)}o=new Set,c=new Map}else t=[]}return t},f.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],n=t.source,r=this.graphManager.calcLowestCommonAncestor(t.source,t.target),i=0;i<t.bendpoints.length;i++){var a=this.newNode(null);a.setRect(new Point(0,0),new Dimension(1,1)),r.add(a);var o=this.newEdge(null);this.graphManager.add(o,n,a),e.add(a),n=a}return o=this.newEdge(null),this.graphManager.add(o,n,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):r.remove(t),e},f.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(r(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var n=t[e];if(n.bendpoints.length>0){for(var i=this.edgeToDummyNodes.get(n),a=0;a<i.length;a++){var o=i[a],s=new l(o.getCenterX(),o.getCenterY()),c=n.bendpoints.get(a);c.x=s.x,c.y=s.y,o.getOwner().remove(o)}this.graphManager.add(n,n.source,n.target)}}},f.transform=function(t,e,n,r){if(null!=n&&null!=r){var i=e;return t<=50?i-=(e-e/n)/50*(50-t):i+=(e*r-e)/50*(t-50),i}var a,o;return t<=50?(a=9*e/500,o=e/10):(a=9*e/50,o=-8*e),a*t+o},f.findCenterOfTree=function(t){var e=[];e=e.concat(t);var n=[],r=new Map,i=!1,a=null;1!=e.length&&2!=e.length||(i=!0,a=e[0]);for(var o=0;o<e.length;o++){var s=(u=e[o]).getNeighborsList().size;r.set(u,u.getNeighborsList().size),1==s&&n.push(u)}var c=[];for(c=c.concat(n);!i;){var l=[];for(l=l.concat(c),c=[],o=0;o<e.length;o++){var u=e[o],h=e.indexOf(u);h>=0&&e.splice(h,1),u.getNeighborsList().forEach((function(t){if(n.indexOf(t)<0){var e=r.get(t)-1;1==e&&c.push(t),r.set(t,e)}}))}n=n.concat(c),1!=e.length&&2!=e.length||(i=!0,a=e[0])}return a},f.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=f},function(t,e,n){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},t.exports=r},function(t,e,n){var r=n(4);function i(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(t){this.lworldExtX=t},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(t){this.lworldExtY=t},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},i.prototype.transformX=function(t){var e=0,n=this.lworldExtX;return 0!=n&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/n),e},i.prototype.transformY=function(t){var e=0,n=this.lworldExtY;return 0!=n&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/n),e},i.prototype.inverseTransformX=function(t){var e=0,n=this.ldeviceExtX;return 0!=n&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/n),e},i.prototype.inverseTransformY=function(t){var e=0,n=this.ldeviceExtY;return 0!=n&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/n),e},i.prototype.inverseTransformPoint=function(t){return new r(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=i},function(t,e,n){var r=n(15),i=n(7),a=n(0),o=n(8),s=n(9);function c(){r.call(this),this.useSmartIdealEdgeLengthCalculation=i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=i.DEFAULT_EDGE_LENGTH,this.springConstant=i.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=i.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=i.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=i.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=i.MAX_ITERATIONS}for(var l in c.prototype=Object.create(r.prototype),r)c[l]=r[l];c.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},c.prototype.calcIdealEdgeLengths=function(){for(var t,e,n,r,o,s,c=this.getGraphManager().getAllEdges(),l=0;l<c.length;l++)(t=c[l]).idealLength=this.idealEdgeLength,t.isInterGraph&&(n=t.getSource(),r=t.getTarget(),o=t.getSourceInLca().getEstimatedSize(),s=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=o+s-2*a.SIMPLE_NODE_SIZE),e=t.getLca().getInclusionTreeDepth(),t.idealLength+=i.DEFAULT_EDGE_LENGTH*i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(n.getInclusionTreeDepth()+r.getInclusionTreeDepth()-2*e))},c.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>i.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},c.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),n=0;n<e.length;n++)t=e[n],this.calcSpringForce(t,t.idealLength)},c.prototype.calcRepulsionForces=function(){var t,e,n,r,a,o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,t=0;t<c.length;t++)n=c[t],this.calculateRepulsionForceOfANode(n,a,o,s),a.add(n);else for(t=0;t<c.length;t++)for(n=c[t],e=t+1;e<c.length;e++)r=c[e],n.getOwner()==r.getOwner()&&this.calcRepulsionForce(n,r)},c.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),n=0;n<e.length;n++)t=e[n],this.calcGravitationalForce(t)},c.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},c.prototype.calcSpringForce=function(t,e){var n,r,i,a,o=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==o.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(n=t.getLength())&&(i=(r=this.springConstant*(n-e))*(t.lengthX/n),a=r*(t.lengthY/n),o.springForceX+=i,o.springForceY+=a,s.springForceX-=i,s.springForceY-=a)},c.prototype.calcRepulsionForce=function(t,e){var n,r,a,c,l,u,h,f=t.getRect(),d=e.getRect(),A=new Array(2),p=new Array(4);if(f.intersects(d)){o.calcSeparationAmount(f,d,A,i.DEFAULT_EDGE_LENGTH/2),u=2*A[0],h=2*A[1];var g=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=g*u,t.repulsionForceY-=g*h,e.repulsionForceX+=g*u,e.repulsionForceY+=g*h}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(n=d.getCenterX()-f.getCenterX(),r=d.getCenterY()-f.getCenterY()):(o.getIntersection(f,d,p),n=p[2]-p[0],r=p[3]-p[1]),Math.abs(n)<i.MIN_REPULSION_DIST&&(n=s.sign(n)*i.MIN_REPULSION_DIST),Math.abs(r)<i.MIN_REPULSION_DIST&&(r=s.sign(r)*i.MIN_REPULSION_DIST),a=n*n+r*r,c=Math.sqrt(a),u=(l=this.repulsionConstant*t.noOfChildren*e.noOfChildren/a)*n/c,h=l*r/c,t.repulsionForceX-=u,t.repulsionForceY-=h,e.repulsionForceX+=u,e.repulsionForceY+=h},c.prototype.calcGravitationalForce=function(t){var e,n,r,i,a,o,s,c;n=((e=t.getOwner()).getRight()+e.getLeft())/2,r=(e.getTop()+e.getBottom())/2,i=t.getCenterX()-n,a=t.getCenterY()-r,o=Math.abs(i)+t.getWidth()/2,s=Math.abs(a)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(o>(c=e.getEstimatedSize()*this.gravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*i,t.gravitationForceY=-this.gravityConstant*a):(o>(c=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*i*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},c.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},c.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},c.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),n=0;n<e.length;n++)(t=e[n]).noOfChildren=t.getNoOfChildren()},c.prototype.calcGrid=function(t){var e,n;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),n=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var r=new Array(e),i=0;i<e;i++)r[i]=new Array(n);for(i=0;i<e;i++)for(var a=0;a<n;a++)r[i][a]=new Array;return r},c.prototype.addNodeToGrid=function(t,e,n){var r,i,a,o;r=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),i=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().y-n)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().height+t.getRect().y-n)/this.repulsionRange));for(var s=r;s<=i;s++)for(var c=a;c<=o;c++)this.grid[s][c].push(t),t.setGridCoordinates(r,i,a,o)},c.prototype.updateGrid=function(){var t,e,n=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),t=0;t<n.length;t++)e=n[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},c.prototype.calculateRepulsionForceOfANode=function(t,e,n,r){if(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&n||r){var a,o=new Set;t.surrounding=new Array;for(var s=this.grid,c=t.startX-1;c<t.finishX+2;c++)for(var l=t.startY-1;l<t.finishY+2;l++)if(!(c<0||l<0||c>=s.length||l>=s[0].length))for(var u=0;u<s[c][l].length;u++)if(a=s[c][l][u],t.getOwner()==a.getOwner()&&t!=a&&!e.has(a)&&!o.has(a)){var h=Math.abs(t.getCenterX()-a.getCenterX())-(t.getWidth()/2+a.getWidth()/2),f=Math.abs(t.getCenterY()-a.getCenterY())-(t.getHeight()/2+a.getHeight()/2);h<=this.repulsionRange&&f<=this.repulsionRange&&o.add(a)}t.surrounding=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(o))}for(c=0;c<t.surrounding.length;c++)this.calcRepulsionForce(t,t.surrounding[c])},c.prototype.calcRepulsionRange=function(){return 0},t.exports=c},function(t,e,n){var r=n(1),i=n(7);function a(t,e,n){r.call(this,t,e,n),this.idealLength=i.DEFAULT_EDGE_LENGTH}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];t.exports=a},function(t,e,n){var r=n(3);function i(t,e,n,i){r.call(this,t,e,n,i),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];i.prototype.setGridCoordinates=function(t,e,n,r){this.startX=t,this.finishX=e,this.startY=n,this.finishY=r},t.exports=i},function(t,e,n){function r(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},t.exports=r},function(t,e,n){var r=n(14);function i(){this.map={},this.keys=[]}i.prototype.put=function(t,e){var n=r.createID(t);this.contains(n)||(this.map[n]=e,this.keys.push(t))},i.prototype.contains=function(t){return r.createID(t),null!=this.map[t]},i.prototype.get=function(t){var e=r.createID(t);return this.map[e]},i.prototype.keySet=function(){return this.keys},t.exports=i},function(t,e,n){var r=n(14);function i(){this.set={}}i.prototype.add=function(t){var e=r.createID(t);this.contains(e)||(this.set[e]=t)},i.prototype.remove=function(t){delete this.set[r.createID(t)]},i.prototype.clear=function(){this.set={}},i.prototype.contains=function(t){return this.set[r.createID(t)]==t},i.prototype.isEmpty=function(){return 0===this.size()},i.prototype.size=function(){return Object.keys(this.set).length},i.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),n=e.length,r=0;r<n;r++)t.push(this.set[e[r]])},i.prototype.size=function(){return Object.keys(this.set).length},i.prototype.addAll=function(t){for(var e=t.length,n=0;n<e;n++){var r=t[n];this.add(r)}},t.exports=i},function(t,e,n){var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(11),a=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),null===n&&void 0===n||(this.compareFunction=this._defaultCompareFunction);var r=void 0;r=e instanceof i?e.size():e.length,this._quicksort(e,0,r-1)}return r(t,[{key:"_quicksort",value:function(t,e,n){if(e<n){var r=this._partition(t,e,n);this._quicksort(t,e,r),this._quicksort(t,r+1,n)}}},{key:"_partition",value:function(t,e,n){for(var r=this._get(t,e),i=e,a=n;;){for(;this.compareFunction(r,this._get(t,a));)a--;for(;this.compareFunction(this._get(t,i),r);)i++;if(!(i<a))return a;this._swap(t,i,a),i++,a--}}},{key:"_get",value:function(t,e){return t instanceof i?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,n){t instanceof i?t.set_object_at(e,n):t[e]=n}},{key:"_swap",value:function(t,e,n){var r=this._get(t,e);this._set(t,e,this._get(t,n)),this._set(t,n,r)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=a},function(t,e,n){var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=n,this.match_score=r,this.mismatch_penalty=i,this.gap_penalty=a,this.iMax=e.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o<this.iMax;o++){this.grid[o]=new Array(this.jMax);for(var s=0;s<this.jMax;s++)this.grid[o][s]=0}this.tracebackGrid=new Array(this.iMax);for(var c=0;c<this.iMax;c++){this.tracebackGrid[c]=new Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[c][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return r(t,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var t=1;t<this.jMax;t++)this.grid[0][t]=this.grid[0][t-1]+this.gap_penalty,this.tracebackGrid[0][t]=[!1,!1,!0];for(var e=1;e<this.iMax;e++)this.grid[e][0]=this.grid[e-1][0]+this.gap_penalty,this.tracebackGrid[e][0]=[!1,!0,!1];for(var n=1;n<this.iMax;n++)for(var r=1;r<this.jMax;r++){var i=[this.sequence1[n-1]===this.sequence2[r-1]?this.grid[n-1][r-1]+this.match_score:this.grid[n-1][r-1]+this.mismatch_penalty,this.grid[n-1][r]+this.gap_penalty,this.grid[n][r-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(i);this.grid[n][r]=i[a[0]],this.tracebackGrid[n][r]=[a.includes(0),a.includes(1),a.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var t=[];for(t.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});t[0];){var e=t[0],n=this.tracebackGrid[e.pos[0]][e.pos[1]];n[0]&&t.push({pos:[e.pos[0]-1,e.pos[1]-1],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),n[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),n[2]&&t.push({pos:[e.pos[0],e.pos[1]-1],seq1:"-"+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),0===e.pos[0]&&0===e.pos[1]&&this.alignments.push({sequence1:e.seq1,sequence2:e.seq2}),t.shift()}return this.alignments}},{key:"getAllIndexes",value:function(t,e){for(var n=[],r=-1;-1!==(r=t.indexOf(e,r+1));)n.push(r);return n}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=i},function(t,e,n){var r=function(){};r.FDLayout=n(18),r.FDLayoutConstants=n(7),r.FDLayoutEdge=n(19),r.FDLayoutNode=n(20),r.DimensionD=n(21),r.HashMap=n(22),r.HashSet=n(23),r.IGeometry=n(8),r.IMath=n(9),r.Integer=n(10),r.Point=n(12),r.PointD=n(4),r.RandomSeed=n(16),r.RectangleD=n(13),r.Transform=n(17),r.UniqueIDGeneretor=n(14),r.Quicksort=n(24),r.LinkedList=n(11),r.LGraphObject=n(2),r.LGraph=n(5),r.LEdge=n(1),r.LGraphManager=n(6),r.LNode=n(3),r.Layout=n(15),r.LayoutConstants=n(0),r.NeedlemanWunsch=n(25),t.exports=r},function(t,e,n){function r(){this.listeners=[]}var i=r.prototype;i.addListener=function(t,e){this.listeners.push({event:t,callback:e})},i.removeListener=function(t,e){for(var n=this.listeners.length;n>=0;n--){var r=this.listeners[n];r.event===t&&r.callback===e&&this.listeners.splice(n,1)}},i.emit=function(t,e){for(var n=0;n<this.listeners.length;n++){var r=this.listeners[n];t===r.event&&r.callback(e)}},t.exports=r}])},t.exports=n()}));n(Zlt);var tut=r((function(t,e){var n;n=function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7)}([function(e,n){e.exports=t},function(t,e,n){var r=n(0).FDLayoutConstants;function i(){}for(var a in r)i[a]=r[a];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=i},function(t,e,n){var r=n(0).FDLayoutEdge;function i(t,e,n){r.call(this,t,e,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];t.exports=i},function(t,e,n){var r=n(0).LGraph;function i(t,e,n){r.call(this,t,e,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];t.exports=i},function(t,e,n){var r=n(0).LGraphManager;function i(t){r.call(this,t)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];t.exports=i},function(t,e,n){var r=n(0).FDLayoutNode,i=n(0).IMath;function a(t,e,n,i){r.call(this,t,e,n,i)}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];a.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*i.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},a.prototype.propogateDisplacementToChildren=function(t,e){for(var n,r=this.getChild().getNodes(),i=0;i<r.length;i++)null==(n=r[i]).getChild()?(n.moveBy(t,e),n.displacementX+=t,n.displacementY+=e):n.propogateDisplacementToChildren(t,e)},a.prototype.setPred1=function(t){this.pred1=t},a.prototype.getPred1=function(){return pred1},a.prototype.getPred2=function(){return pred2},a.prototype.setNext=function(t){this.next=t},a.prototype.getNext=function(){return next},a.prototype.setProcessed=function(t){this.processed=t},a.prototype.isProcessed=function(){return processed},t.exports=a},function(t,e,n){var r=n(0).FDLayout,i=n(4),a=n(3),o=n(5),s=n(2),c=n(1),l=n(0).FDLayoutConstants,u=n(0).LayoutConstants,h=n(0).Point,f=n(0).PointD,d=n(0).Layout,A=n(0).Integer,p=n(0).IGeometry,g=n(0).LGraph,m=n(0).Transform;function b(){r.call(this),this.toBeTiled={}}for(var v in b.prototype=Object.create(r.prototype),r)b[v]=r[v];b.prototype.newGraphManager=function(){var t=new i(this);return this.graphManager=t,t},b.prototype.newGraph=function(t){return new a(null,this.graphManager,t)},b.prototype.newNode=function(t){return new o(this.graphManager,t)},b.prototype.newEdge=function(t){return new s(null,null,t)},b.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.isSubLayout||(c.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=c.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=l.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=l.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=l.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},b.prototype.layout=function(){return u.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},b.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental)c.TREE_REDUCTION_ON_INCREMENTAL&&(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)})),this.graphManager.setAllNodesToApplyGravitation(n));else{var t=this.getFlatForest();if(t.length>0)this.positionNodesRadially(t);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},b.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},b.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},n=0;n<t.length;n++){var r=t[n].rect,i=t[n].id;e[i]={id:i,x:r.getCenterX(),y:r.getCenterY(),w:r.width,h:r.height}}return e},b.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===l.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},b.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,n=[],r=this.graphManager.getGraphs(),i=r.length;for(e=0;e<i;e++)(t=r[e]).updateConnected(),t.isConnected||(n=n.concat(t.getNodes()));return n},b.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e,n=new Set;for(e=0;e<t.length;e++){var r=t[e];if(!n.has(r)){var i=r.getSource(),a=r.getTarget();if(i==a)r.getBendpoints().push(new f),r.getBendpoints().push(new f),this.createDummyNodesForBendpoints(r),n.add(r);else{var o=[];if(o=(o=o.concat(i.getEdgeListToNode(a))).concat(a.getEdgeListToNode(i)),!n.has(o[0])){var s;if(o.length>1)for(s=0;s<o.length;s++){var c=o[s];c.getBendpoints().push(new f),this.createDummyNodesForBendpoints(c)}o.forEach((function(t){n.add(t)}))}}}if(n.size==t.length)break}},b.prototype.positionNodesRadially=function(t){for(var e=new h(0,0),n=Math.ceil(Math.sqrt(t.length)),r=0,i=0,a=0,o=new f(0,0),s=0;s<t.length;s++){s%n==0&&(a=0,i=r,0!=s&&(i+=c.DEFAULT_COMPONENT_SEPERATION),r=0);var l=t[s],A=d.findCenterOfTree(l);e.x=a,e.y=i,(o=b.radialLayout(l,A,e)).y>r&&(r=Math.floor(o.y)),a=Math.floor(o.x+c.DEFAULT_COMPONENT_SEPERATION)}this.transform(new f(u.WORLD_CENTER_X-o.x/2,u.WORLD_CENTER_Y-o.y/2))},b.radialLayout=function(t,e,n){var r=Math.max(this.maxDiagonalInTree(t),c.DEFAULT_RADIAL_SEPARATION);b.branchRadialLayout(e,null,0,359,0,r);var i=g.calculateBounds(t),a=new m;a.setDeviceOrgX(i.getMinX()),a.setDeviceOrgY(i.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o<t.length;o++)t[o].transform(a);var s=new f(i.getMaxX(),i.getMaxY());return a.inverseTransformPoint(s)},b.branchRadialLayout=function(t,e,n,r,i,a){var o=(r-n+1)/2;o<0&&(o+=180);var s=(o+n)%360*p.TWO_PI/360,c=i*Math.cos(s),l=i*Math.sin(s);t.setCenter(c,l);var u=[],h=(u=u.concat(t.getEdges())).length;null!=e&&h--;for(var f,d=0,A=u.length,g=t.getEdgesBetween(e);g.length>1;){var m=g[0];g.splice(0,1);var v=u.indexOf(m);v>=0&&u.splice(v,1),A--,h--}f=null!=e?(u.indexOf(g[0])+1)%A:0;for(var y=Math.abs(r-n)/h,w=f;d!=h;w=++w%A){var T=u[w].getOtherEnd(t);if(T!=e){var k=(n+d*y)%360,C=(k+y)%360;b.branchRadialLayout(T,t,k,C,i+a,a),d++}}},b.maxDiagonalInTree=function(t){for(var e=A.MIN_VALUE,n=0;n<t.length;n++){var r=t[n].getDiagonal();r>e&&(e=r)}return e},b.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},b.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var n=[],r=this.graphManager.getAllNodes(),i=0;i<r.length;i++){var a=(s=r[i]).getParent();0!==this.getNodeDegreeWithChildren(s)||null!=a.id&&this.getToBeTiled(a)||n.push(s)}for(i=0;i<n.length;i++){var s,c=(s=n[i]).getParent().id;void 0===e[c]&&(e[c]=[]),e[c]=e[c].concat(s)}Object.keys(e).forEach((function(n){if(e[n].length>1){var r="DummyCompound_"+n;t.memberGroups[r]=e[n];var i=e[n][0].getParent(),a=new o(t.graphManager);a.id=r,a.paddingLeft=i.paddingLeft||0,a.paddingRight=i.paddingRight||0,a.paddingBottom=i.paddingBottom||0,a.paddingTop=i.paddingTop||0,t.idToDummyNode[r]=a;var s=t.getGraphManager().add(t.newGraph(),a),c=i.getChild();c.add(a);for(var l=0;l<e[n].length;l++){var u=e[n][l];c.remove(u),s.add(u)}}}))},b.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var n=0;n<this.compoundOrder.length;n++)e[this.compoundOrder[n].id]=this.compoundOrder[n],t[this.compoundOrder[n].id]=[].concat(this.compoundOrder[n].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[n].getChild()),this.compoundOrder[n].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},b.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach((function(n){var r=t.idToDummyNode[n];e[n]=t.tileNodes(t.memberGroups[n],r.paddingLeft+r.paddingRight),r.rect.width=e[n].width,r.rect.height=e[n].height}))},b.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],n=e.id,r=e.paddingLeft,i=e.paddingTop;this.adjustLocations(this.tiledMemberPack[n],e.rect.x,e.rect.y,r,i)}},b.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach((function(n){var r=t.idToDummyNode[n],i=r.paddingLeft,a=r.paddingTop;t.adjustLocations(e[n],r.rect.x,r.rect.y,i,a)}))},b.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var n=t.getChild();if(null==n)return this.toBeTiled[e]=!1,!1;for(var r=n.getNodes(),i=0;i<r.length;i++){var a=r[i];if(this.getNodeDegree(a)>0)return this.toBeTiled[e]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[e]=!0,!0},b.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),n=0,r=0;r<e.length;r++){var i=e[r];i.getSource().id!==i.getTarget().id&&(n+=1)}return n},b.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var n=t.getChild().getNodes(),r=0;r<n.length;r++){var i=n[r];e+=this.getNodeDegreeWithChildren(i)}return e},b.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},b.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var n=t[e];null!=n.getChild()&&this.fillCompexOrderByDFS(n.getChild().getNodes()),this.getToBeTiled(n)&&this.compoundOrder.push(n)}},b.prototype.adjustLocations=function(t,e,n,r,i){n+=i;for(var a=e+=r,o=0;o<t.rows.length;o++){var s=t.rows[o];e=a;for(var c=0,l=0;l<s.length;l++){var u=s[l];u.rect.x=e,u.rect.y=n,e+=u.rect.width+t.horizontalPadding,u.rect.height>c&&(c=u.rect.height)}n+=c+t.verticalPadding}},b.prototype.tileCompoundMembers=function(t,e){var n=this;this.tiledMemberPack=[],Object.keys(t).forEach((function(r){var i=e[r];n.tiledMemberPack[r]=n.tileNodes(t[r],i.paddingLeft+i.paddingRight),i.rect.width=n.tiledMemberPack[r].width,i.rect.height=n.tiledMemberPack[r].height}))},b.prototype.tileNodes=function(t,e){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:c.TILING_PADDING_VERTICAL,horizontalPadding:c.TILING_PADDING_HORIZONTAL};t.sort((function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height<e.rect.width*e.rect.height?1:0}));for(var r=0;r<t.length;r++){var i=t[r];0==n.rows.length?this.insertNodeToRow(n,i,0,e):this.canAddHorizontal(n,i.rect.width,i.rect.height)?this.insertNodeToRow(n,i,this.getShortestRowIndex(n),e):this.insertNodeToRow(n,i,n.rows.length,e),this.shiftToLastRow(n)}return n},b.prototype.insertNodeToRow=function(t,e,n,r){var i=r;n==t.rows.length&&(t.rows.push([]),t.rowWidth.push(i),t.rowHeight.push(0));var a=t.rowWidth[n]+e.rect.width;t.rows[n].length>0&&(a+=t.horizontalPadding),t.rowWidth[n]=a,t.width<a&&(t.width=a);var o=e.rect.height;n>0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[n]&&(s=t.rowHeight[n],t.rowHeight[n]=o,s=t.rowHeight[n]-s),t.height+=s,t.rows[n].push(e)},b.prototype.getShortestRowIndex=function(t){for(var e=-1,n=Number.MAX_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]<n&&(e=r,n=t.rowWidth[r]);return e},b.prototype.getLongestRowIndex=function(t){for(var e=-1,n=Number.MIN_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]>n&&(e=r,n=t.rowWidth[r]);return e},b.prototype.canAddHorizontal=function(t,e,n){var r=this.getShortestRowIndex(t);if(r<0)return!0;var i=t.rowWidth[r];if(i+t.horizontalPadding+e<=t.width)return!0;var a,o,s=0;return t.rowHeight[r]<n&&r>0&&(s=n+t.verticalPadding-t.rowHeight[r]),a=t.width-i>=e+t.horizontalPadding?(t.height+s)/(i+e+t.horizontalPadding):(t.height+s)/t.width,s=n+t.verticalPadding,(o=t.width<e?(t.height+s)/e:(t.height+s)/t.width)<1&&(o=1/o),a<1&&(a=1/a),a<o},b.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),n=t.rowWidth.length-1,r=t.rows[e],i=r[r.length-1],a=i.width+t.horizontalPadding;if(t.width-t.rowWidth[n]>a&&e!=n){r.splice(-1,1),t.rows[n].push(i),t.rowWidth[e]=t.rowWidth[e]-a,t.rowWidth[n]=t.rowWidth[n]+a,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var o=Number.MIN_VALUE,s=0;s<r.length;s++)r[s].height>o&&(o=r[s].height);e>0&&(o+=t.verticalPadding);var c=t.rowHeight[e]+t.rowHeight[n];t.rowHeight[e]=o,t.rowHeight[n]<i.height+t.verticalPadding&&(t.rowHeight[n]=i.height+t.verticalPadding);var l=t.rowHeight[e]+t.rowHeight[n];t.height+=l-c,this.shiftToLastRow(t)}},b.prototype.tilingPreLayout=function(){c.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},b.prototype.tilingPostLayout=function(){c.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},b.prototype.reduceTrees=function(){for(var t,e=[],n=!0;n;){var r=this.graphManager.getAllNodes(),i=[];n=!1;for(var a=0;a<r.length;a++)1!=(t=r[a]).getEdges().length||t.getEdges()[0].isInterGraph||null!=t.getChild()||(i.push([t,t.getEdges()[0],t.getOwner()]),n=!0);if(1==n){for(var o=[],s=0;s<i.length;s++)1==i[s][0].getEdges().length&&(o.push(i[s]),i[s][0].getOwner().remove(i[s][0]));e.push(o),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},b.prototype.growTree=function(t){for(var e,n=t[t.length-1],r=0;r<n.length;r++)e=n[r],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},b.prototype.findPlaceforPrunedNode=function(t){var e,n,r=t[0],i=(n=r==t[1].source?t[1].target:t[1].source).startX,a=n.finishX,o=n.startY,s=n.finishY,c=[0,0,0,0];if(o>0)for(var u=i;u<=a;u++)c[0]+=this.grid[u][o-1].length+this.grid[u][o].length-1;if(a<this.grid.length-1)for(u=o;u<=s;u++)c[1]+=this.grid[a+1][u].length+this.grid[a][u].length-1;if(s<this.grid[0].length-1)for(u=i;u<=a;u++)c[2]+=this.grid[u][s+1].length+this.grid[u][s].length-1;if(i>0)for(u=o;u<=s;u++)c[3]+=this.grid[i-1][u].length+this.grid[i][u].length-1;for(var h,f,d=A.MAX_VALUE,p=0;p<c.length;p++)c[p]<d?(d=c[p],h=1,f=p):c[p]==d&&h++;if(3==h&&0==d)0==c[0]&&0==c[1]&&0==c[2]?e=1:0==c[0]&&0==c[1]&&0==c[3]?e=0:0==c[0]&&0==c[2]&&0==c[3]?e=3:0==c[1]&&0==c[2]&&0==c[3]&&(e=2);else if(2==h&&0==d){var g=Math.floor(2*Math.random());e=0==c[0]&&0==c[1]?0==g?0:1:0==c[0]&&0==c[2]?0==g?0:2:0==c[0]&&0==c[3]?0==g?0:3:0==c[1]&&0==c[2]?0==g?1:2:0==c[1]&&0==c[3]?0==g?1:3:0==g?2:3}else e=4==h&&0==d?g=Math.floor(4*Math.random()):f;0==e?r.setCenter(n.getCenterX(),n.getCenterY()-n.getHeight()/2-l.DEFAULT_EDGE_LENGTH-r.getHeight()/2):1==e?r.setCenter(n.getCenterX()+n.getWidth()/2+l.DEFAULT_EDGE_LENGTH+r.getWidth()/2,n.getCenterY()):2==e?r.setCenter(n.getCenterX(),n.getCenterY()+n.getHeight()/2+l.DEFAULT_EDGE_LENGTH+r.getHeight()/2):r.setCenter(n.getCenterX()-n.getWidth()/2-l.DEFAULT_EDGE_LENGTH-r.getWidth()/2,n.getCenterY())},t.exports=b},function(t,e,n){var r={};r.layoutBase=n(0),r.CoSEConstants=n(1),r.CoSEEdge=n(2),r.CoSEGraph=n(3),r.CoSEGraphManager=n(4),r.CoSELayout=n(6),r.CoSENode=n(5),t.exports=r}])},t.exports=n(Zlt)}));n(tut);var eut=r((function(t,e){var n;n=function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t},function(t,e,n){var r=n(0).layoutBase.LayoutConstants,i=n(0).layoutBase.FDLayoutConstants,a=n(0).CoSEConstants,o=n(0).CoSELayout,s=n(0).CoSENode,c=n(0).layoutBase.PointD,l=n(0).layoutBase.DimensionD,u={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function h(t){this.options=function(t,e){var n={};for(var r in t)n[r]=t[r];for(var r in e)n[r]=e[r];return n}(u,t),f(this.options)}var f=function(t){null!=t.nodeRepulsion&&(a.DEFAULT_REPULSION_STRENGTH=i.DEFAULT_REPULSION_STRENGTH=t.nodeRepulsion),null!=t.idealEdgeLength&&(a.DEFAULT_EDGE_LENGTH=i.DEFAULT_EDGE_LENGTH=t.idealEdgeLength),null!=t.edgeElasticity&&(a.DEFAULT_SPRING_STRENGTH=i.DEFAULT_SPRING_STRENGTH=t.edgeElasticity),null!=t.nestingFactor&&(a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(a.DEFAULT_GRAVITY_STRENGTH=i.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(a.MAX_ITERATIONS=i.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(a.DEFAULT_GRAVITY_RANGE_FACTOR=i.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(a.DEFAULT_COOLING_FACTOR_INCREMENTAL=i.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),"draft"==t.quality?r.QUALITY=0:"proof"==t.quality?r.QUALITY=2:r.QUALITY=1,a.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,a.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=!t.randomize,a.ANIMATE=i.ANIMATE=r.ANIMATE=t.animate,a.TILE=t.tile,a.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,a.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal};h.prototype.run=function(){var t,e,n=this.options;this.idToLNode={};var r=this.layout=new o,i=this;i.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var a=r.newGraphManager();this.gm=a;var s=this.options.eles.nodes(),c=this.options.eles.edges();this.root=a.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(s),r);for(var l=0;l<c.length;l++){var u=c[l],h=this.idToLNode[u.data("source")],f=this.idToLNode[u.data("target")];h!==f&&0==h.getEdgesBetween(f).length&&(a.add(r.newEdge(),h,f).id=u.id())}var d=function(t,e){"number"==typeof t&&(t=e);var n=t.data("id"),r=i.idToLNode[n];return{x:r.getRect().getCenterX(),y:r.getRect().getCenterY()}},A=function a(){for(var o,s=function(){n.fit&&n.cy.fit(n.eles,n.padding),t||(t=!0,i.cy.one("layoutready",n.ready),i.cy.trigger({type:"layoutready",layout:i}))},c=i.options.refresh,l=0;l<c&&!o;l++)o=i.stopped||i.layout.tick();if(o)return r.checkLayoutSuccess()&&!r.isSubLayout&&r.doPostLayout(),r.tilingPostLayout&&r.tilingPostLayout(),r.isLayoutFinished=!0,i.options.eles.nodes().positions(d),s(),i.cy.one("layoutstop",i.options.stop),i.cy.trigger({type:"layoutstop",layout:i}),e&&cancelAnimationFrame(e),void(t=!1);var u=i.layout.getPositionsData();n.eles.nodes().positions((function(t,e){if("number"==typeof t&&(t=e),!t.isParent()){for(var n=t.id(),r=u[n],i=t;null==r&&(r=u[i.data("parent")]||u["DummyCompound_"+i.data("parent")],u[n]=r,null!=(i=i.parent()[0])););return null!=r?{x:r.x,y:r.y}:{x:t.position("x"),y:t.position("y")}}})),s(),e=requestAnimationFrame(a)};return r.addListener("layoutstarted",(function(){"during"===i.options.animate&&(e=requestAnimationFrame(A))})),r.runLayout(),"during"!==this.options.animate&&(i.options.eles.nodes().not(":parent").layoutPositions(i,i.options,d),t=!1),this},h.prototype.getTopMostNodes=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].id()]=!0;var r=t.filter((function(t,n){"number"==typeof t&&(t=n);for(var r=t.parent()[0];null!=r;){if(e[r.id()])return!1;r=r.parent()[0]}return!0}));return r},h.prototype.processChildrenList=function(t,e,n){for(var r=e.length,i=0;i<r;i++){var a,o,u=e[i],h=u.children(),f=u.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((a=null!=u.outerWidth()&&null!=u.outerHeight()?t.add(new s(n.graphManager,new c(u.position("x")-f.w/2,u.position("y")-f.h/2),new l(parseFloat(f.w),parseFloat(f.h)))):t.add(new s(this.graphManager))).id=u.data("id"),a.paddingLeft=parseInt(u.css("padding")),a.paddingTop=parseInt(u.css("padding")),a.paddingRight=parseInt(u.css("padding")),a.paddingBottom=parseInt(u.css("padding")),this.options.nodeDimensionsIncludeLabels&&u.isParent()){var d=u.boundingBox({includeLabels:!0,includeNodes:!1}).w,A=u.boundingBox({includeLabels:!0,includeNodes:!1}).h,p=u.css("text-halign");a.labelWidth=d,a.labelHeight=A,a.labelPos=p}this.idToLNode[u.data("id")]=a,isNaN(a.rect.x)&&(a.rect.x=0),isNaN(a.rect.y)&&(a.rect.y=0),null!=h&&h.length>0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=n(tut)})),nut=n(eut),rut=function(){var t,e=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],h=[1,24],f=[1,25],d=[6,7,11],A=[1,6,13,15,16,19,22],p=[1,33],g=[1,34],m=[1,6,7,11,13,15,16,19,22],b={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace("Icon: ",a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace("SPACELIST");break;case 19:r.getLogger().trace("Node: ",a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])}}},table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:h,10:23,11:f},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:h,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(A,[2,14],{7:p,11:g}),e(m,[2,8]),e(m,[2,9]),e(m,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(A,[2,13],{7:p,11:g}),e(m,[2,11]),e(m,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=a.slice.call(arguments,1),h=Object.create(this.lexer),f={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(f.yy[d]=this.yy[d]);h.setInput(t,f.yy),f.yy.lexer=h,f.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var A=h.yylloc;a.push(A);var p=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||h.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,b,v,y,w,T,k,C,E={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==m&&(m=g()),v=o[b]&&o[b][m]),void 0===v||!v.length||!v[0]){var x="";for(w in C=[],o[b])this.terminals_[w]&&w>2&&C.push("'"+this.terminals_[w]+"'");x=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[m]||m,line:h.yylineno,loc:A,expected:C})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(h.yytext),a.push(h.yylloc),n.push(v[1]),m=null,l=h.yyleng,s=h.yytext,c=h.yylineno,A=h.yylloc;break;case 2:if(T=this.productions_[v[1]][1],E.$=i[i.length-T],E._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},p&&(E._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[s,l,c,f.yy,v[1],i,a].concat(u))))return y;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},v=(t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:t.getLogger().trace("Found comment",e.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:this.popState();break;case 5:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return t.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:t.getLogger().trace("end icon"),this.popState();break;case 10:return t.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return t.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 24:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 27:case 30:case 31:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 28:case 29:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 32:case 33:return t.getLogger().trace("Long description:",e.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},t);function y(){this.yy={}}return b.lexer=v,y.prototype=b,b.Parser=y,new y}();rut.parser=rut;const iut=rut,aut=t=>e6(t,R8());let out=[],sut=0,cut={};const lut={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},uut=(t,e)=>{cut[t]=e},hut=t=>{switch(t){case lut.DEFAULT:return"no-border";case lut.RECT:return"rect";case lut.ROUNDED_RECT:return"rounded-rect";case lut.CIRCLE:return"circle";case lut.CLOUD:return"cloud";case lut.BANG:return"bang";case lut.HEXAGON:return"hexgon";default:return"no-border"}};let fut;const dut=t=>cut[t],Aut=Object.freeze(Object.defineProperty({__proto__:null,addNode:(t,e,n,r)=>{W5.info("addNode",t,e,n,r);const i=R8(),a={id:sut++,nodeId:aut(e),level:t,descr:aut(n),type:r,children:[],width:R8().mindmap.maxNodeWidth};switch(a.type){case lut.ROUNDED_RECT:case lut.RECT:case lut.HEXAGON:a.padding=2*i.mindmap.padding;break;default:a.padding=i.mindmap.padding}const o=function(t){for(let e=out.length-1;e>=0;e--)if(out[e].level<t)return out[e];return null}(t);if(o)o.children.push(a),out.push(a);else{if(0!==out.length){let t=new Error('There can be only one root. No parent could be found for ("'+a.descr+'")');throw t.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},t}out.push(a)}},clear:()=>{out=[],sut=0,cut={}},decorateNode:t=>{const e=out[out.length-1];t&&t.icon&&(e.icon=aut(t.icon)),t&&t.class&&(e.class=aut(t.class))},getElementById:dut,getLogger:()=>W5,getMindmap:()=>out.length>0?out[0]:null,getNodeById:t=>out[t],getType:(t,e)=>{switch(W5.debug("In get type",t,e),t){case"[":return lut.RECT;case"(":return")"===e?lut.ROUNDED_RECT:lut.CLOUD;case"((":return lut.CIRCLE;case")":return lut.CLOUD;case"))":return lut.BANG;case"{{":return lut.HEXAGON;default:return lut.DEFAULT}},nodeType:lut,get parseError(){return fut},sanitizeText:aut,setElementForId:uut,setErrorHandler:t=>{fut=t},type2Str:hut},Symbol.toStringTag,{value:"Module"}));function put(t,e){t.each((function(){var t,n=i$(this),r=n.text().split(/(\s+|<br>)/).reverse(),i=[],a=n.attr("y"),o=parseFloat(n.attr("dy")),s=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let o=0;o<r.length;o++)t=r[r.length-1-o],i.push(t),s.text(i.join(" ").trim()),(s.node().getComputedTextLength()>e||"<br>"===t)&&(i.pop(),s.text(i.join(" ").trim()),i="<br>"===t?[""]:[t],s=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const gut=function(t,e,n,r){const i=n%11,a=t.append("g");e.section=i;let o="section-"+i;i<0&&(o+=" section-root"),a.attr("class",(e.class?e.class+" ":"")+"mindmap-node "+o);const s=a.append("g"),c=a.append("g"),l=c.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(put,e.width).node().getBBox(),u=r.fontSize.replace?r.fontSize.replace("px",""):r.fontSize;if(e.height=l.height+1.1*u*.5+e.padding,e.width=l.width+2*e.padding,e.icon)if(e.type===lut.CIRCLE){e.height+=50,e.width+=50;a.append("foreignObject").attr("height","50px").attr("width",e.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+i+" "+e.icon),c.attr("transform","translate("+e.width/2+", "+(e.height/2-1.5*e.padding)+")")}else{e.width+=50;const t=e.height;e.height=Math.max(t,60);const n=Math.abs(e.height-t);a.append("foreignObject").attr("width","60px").attr("height",e.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+i+" "+e.icon),c.attr("transform","translate("+(25+e.width/2)+", "+(n/2+e.padding/2)+")")}else c.attr("transform","translate("+e.width/2+", "+e.padding/2+")");switch(e.type){case lut.DEFAULT:!function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+hut(e.type)).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}(s,e,i);break;case lut.ROUNDED_RECT:!function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+hut(e.type)).attr("height",e.height).attr("rx",e.padding).attr("ry",e.padding).attr("width",e.width)}(s,e);break;case lut.RECT:!function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+hut(e.type)).attr("height",e.height).attr("width",e.width)}(s,e);break;case lut.CIRCLE:s.attr("transform","translate("+e.width/2+", "+ +e.height/2+")"),function(t,e){t.append("circle").attr("id","node-"+e.id).attr("class","node-bkg node-"+hut(e.type)).attr("r",e.width/2)}(s,e);break;case lut.CLOUD:!function(t,e){const n=e.width,r=e.height,i=.15*n,a=.25*n,o=.35*n,s=.2*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+hut(e.type)).attr("d",`M0 0 a${i},${i} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${i},${i} 1 0,1 ${.15*n},${1*r*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*r*.65}\n\n a${a},${i} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${i},${i} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${i},${i} 1 0,1 ${-1*n*.1},${-1*r*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*r*.65}\n\n H0 V0 Z`)}(s,e);break;case lut.BANG:!function(t,e){const n=e.width,r=e.height,i=.15*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+hut(e.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${.25*n},${-1*r*.1}\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},${1*r*.1}\n\n a${i},${i} 1 0,0 ${.15*n},${1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${1*r*.34}\n a${i},${i} 1 0,0 ${-1*n*.15},${1*r*.33}\n\n a${i},${i} 1 0,0 ${-1*n*.25},${.15*r}\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},${-1*r*.15}\n\n a${i},${i} 1 0,0 ${-1*n*.1},${-1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${-1*r*.34}\n a${i},${i} 1 0,0 ${.1*n},${-1*r*.33}\n\n H0 V0 Z`)}(s,e);break;case lut.HEXAGON:!function(t,e){const n=e.height,r=n/4,i=e.width-e.padding+2*r;!function(t,e,n,r,i){t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+(i.width-e)/2+", "+n+")")}(t,i,n,[{x:r,y:0},{x:i-r,y:0},{x:i,y:-n/2},{x:i-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],e)}(s,e)}return uut(e.id,a),e.height},mut=function(t){const e=dut(t.id),n=t.x||0,r=t.y||0;e.attr("transform","translate("+n+","+r+")")};function but(t,e,n,r){gut(t,e,n,r),e.children&&e.children.forEach(((e,i)=>{but(t,e,n<0?i:n,r)}))}function vut(t,e,n,r){e.add({group:"nodes",data:{id:t.id,labelText:t.descr,height:t.height,width:t.width,level:r,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach((i=>{vut(i,e,n,r+1),e.add({group:"edges",data:{id:`${t.id}_${i.id}`,source:t.id,target:i.id,depth:r,section:i.section}})}))}function yut(t,e){return new Promise((n=>{const r=i$("body").append("div").attr("id","cy").attr("style","display:none"),i=Jlt({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});r.remove(),vut(t,i,e,0),i.nodes().forEach((function(t){t.layoutDimensions=()=>{const e=t.data();return{w:e.width,h:e.height}}})),i.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),i.ready((t=>{W5.info("Ready",t),n(i)}))}))}Jlt.use(nut);const wut={draw:async(t,e,n,r)=>{const i=R8();r.db.clear(),r.parser.parse(t),W5.debug("Renering info diagram\n"+t);const a=R8().securityLevel;let o;"sandbox"===a&&(o=i$("#i"+e));const s=i$("sandbox"===a?o.nodes()[0].contentDocument.body:"body").select("#"+e);s.append("g");const c=r.db.getMindmap(),l=s.append("g");l.attr("class","mindmap-edges");const u=s.append("g");u.attr("class","mindmap-nodes"),but(u,c,-1,i);const h=await yut(c,i);!function(t,e){e.edges().map(((e,n)=>{const r=e.data();if(e[0]._private.bodyBounds){const i=e[0]._private.rscratch;W5.trace("Edge: ",n,r),t.insert("path").attr("d",`M ${i.startX},${i.startY} L ${i.midX},${i.midY} L${i.endX},${i.endY} `).attr("class","edge section-edge-"+r.section+" edge-depth-"+r.depth)}}))}(l,h),function(t){t.nodes().map(((t,e)=>{const n=t.data();n.x=t.position().x,n.y=t.position().y,mut(n);const r=dut(n.nodeId);W5.info("Id:",e,"Position: (",t.position().x,", ",t.position().y,")",n),r.attr("transform",`translate(${t.position().x-n.width/2}, ${t.position().y-n.height/2})`),r.attr("attr",`apa-${e})`)}))}(h),z8(void 0,s,i.mindmap.padding,i.mindmap.useMaxWidth)}},Tut=t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],QW(t["lineColor"+e])?t["lineColor"+e]=HW(t["lineColor"+e],20):t["lineColor"+e]=jW(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const r=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${r};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e})(t)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n`,kut={db:Aut,renderer:wut,parser:iut,styles:Tut};var Cut=Object.freeze({__proto__:null,diagram:kut})}}}));