=Math.abs(D)},F=B(I=y?(m<0?1+m:m)*D:(m<0?D:0)+m*N),$=B(Math.abs(D)-Math.abs(I));if(!F&&!$||P)if(L){var j=u.y1+I+(g?h/2*N:0),R=u.x1,z=u.x2;n.segpts=[R,j,z,j]}else{var q=u.x1+I+(g?l/2*N:0),H=u.y1,Z=u.y2;n.segpts=[q,H,q,Z]}else if(L){var U=Math.abs(O)<=h/2,Y=Math.abs(E)<=f/2;if(U){var G=(u.x1+u.x2)/2,K=u.y1,W=u.y2;n.segpts=[G,K,G,W]}else if(Y){var X=(u.y1+u.y2)/2,V=u.x1,Q=u.x2;n.segpts=[V,X,Q,X]}else n.segpts=[u.x1,u.y2]}else{var J=Math.abs(O)<=l/2,tt=Math.abs(T)<=d/2;if(J){var et=(u.y1+u.y2)/2,nt=u.x1,it=u.x2;n.segpts=[nt,et,it,et]}else if(tt){var rt=(u.x1+u.x2)/2,at=u.y1,ot=u.y2;n.segpts=[rt,at,rt,ot]}else n.segpts=[u.x2,u.y1]}},qc.tryToCorrectInvalidPoints=function(t,e){var n=t._private.rscratch;if("bezier"===n.edgeType){var i=e.srcPos,r=e.tgtPos,a=e.srcW,o=e.srcH,s=e.tgtW,c=e.tgtH,u=e.srcShape,l=e.tgtShape,h=!m(n.startX)||!m(n.startY),f=!m(n.arrowStartX)||!m(n.arrowStartY),d=!m(n.endX)||!m(n.endY),g=!m(n.arrowEndX)||!m(n.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,b=Ae({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=bf.poolIndex()){var d=h;h=f,f=d}var g=s.srcPos=h.position(),p=s.tgtPos=f.position(),b=s.srcW=h.outerWidth(),w=s.srcH=h.outerHeight(),y=s.tgtW=f.outerWidth(),v=s.tgtH=f.outerHeight(),x=s.srcShape=n.nodeShapes[e.getNodeShape(h)],k=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 _=0;_0){var q=u,H=Me(q,Ee(e)),Z=Me(q,Ee(z)),U=H;Z2&&Me(q,{x:z[2],y:z[3]})0){var rt=l,at=Me(rt,Ee(e)),ot=Me(rt,Ee(it)),st=at;ot2&&Me(rt,{x:it[2],y:it[3]})=u||y){l={cp:p,segment:w};break}}if(l)break}var m=l.cp,v=l.segment,x=(u-f)/v.length,k=v.t1-v.t0,_=s?v.t0+k*x:v.t1-k*x;_=Oe(0,_,1),e=De(m.p0,m.p1,m.p2,_),r=function(t,e,n,i){var r=Oe(0,i-.001,1),a=Oe(0,i+.001,1),o=De(t,e,n,r),s=De(t,e,n,a);return Wc(o,s)}(m.p0,m.p1,m.p2,_);break;case"straight":case"segments":case"haystack":for(var E,T,C,S,A=0,M=i.allpts.length,I=0;I+3=u));I+=2);var L=(u-T)/E;L=Oe(0,L,1),e=function(t,e,n,i){var r=e.x-t.x,a=e.y-t.y,o=Ae(t,e),s=r/o,c=a/o;return n=null==n?0:n,i=null!=i?i:n*o,{x:t.x+s*i,y:t.y+c*i}}(C,S,L),r=Wc(C,S)}o("labelX",n,e.x),o("labelY",n,e.y),o("labelAutoAngle",n,r)}};u("source"),u("target"),this.applyLabelDimensions(t)}},Gc.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},Gc.applyPrefixedLabelDimensions=function(t,e){var n=t._private,i=this.getLabelText(t,e),r=this.calculateLabelDimensions(t,i),a=t.pstyle("line-height").pfValue,o=t.pstyle("text-wrap").strValue,s=Jt(n.rscratch,"labelWrapCachedLines",e)||[],c="wrap"!==o?1:Math.max(s.length,1),u=r.height/c,l=u*a,h=r.width,f=r.height+(c-1)*(a-1)*u;te(n.rstyle,"labelWidth",e,h),te(n.rscratch,"labelWidth",e,h),te(n.rstyle,"labelHeight",e,f),te(n.rscratch,"labelHeight",e,f),te(n.rscratch,"labelLineHeight",e,l)},Gc.getLabelText=function(t,e){var n=t._private,i=e?e+"-":"",r=t.pstyle(i+"label").strValue,a=t.pstyle("text-transform").value,o=function(t,i){return i?(te(n.rscratch,t,e,i),i):Jt(n.rscratch,t,e)};if(!r)return"";"none"==a||("uppercase"==a?r=r.toUpperCase():"lowercase"==a&&(r=r.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 u=r.split("\n"),l=t.pstyle("text-max-width").pfValue,h="anywhere"===t.pstyle("text-overflow-wrap").value,f=[],d=/[\s\u200b]+/,g=h?"":" ",p=0;pl){for(var m=b.split(d),v="",x=0;xE);S++)T+=r[S],S===r.length-1&&(C=!0);return C||(T+="…"),T}return r},Gc.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"}},Gc.calculateLabelDimensions=function(t,e){var n=Dt(e,t._private.labelDimsKey),i=this.labelDimCache||(this.labelDimCache=[]),r=i[n];if(null!=r)return r;var a=t.pstyle("font-style").strValue,o=t.pstyle("font-size").pfValue,s=t.pstyle("font-family").strValue,c=t.pstyle("font-weight").strValue,u=this.labelCalcCanvas,l=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),l=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}l.font="".concat(a," ").concat(c," ").concat(o,"px ").concat(s);for(var f=0,d=0,g=e.split("\n"),p=0;p1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var i=0;i=t.desktopTapThreshold2}var S=r(e);b&&(t.hoverData.tapholdCancelled=!0);n=!0,i(p,["mousemove","vmousemove","tapdrag"],e,{x:l[0],y:l[1]});var A=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:l[0],y:l[1]}}),g[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(b){var M={originalEvent:e,type:"cxtdrag",position:{x:l[0],y:l[1]}};y?y.emit(M):o.emit(M),t.hoverData.cxtDragged=!0,t.hoverData.cxtOver&&p===t.hoverData.cxtOver||(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:l[0],y:l[1]}}),t.hoverData.cxtOver=p,p&&p.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 L=t.hoverData.mdownPos;I={x:(l[0]-L[0])*s,y:(l[1]-L[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!=g[4]||null!=y&&!y.pannable()){if(y&&y.pannable()&&y.active()&&y.unactivate(),y&&y.grabbed()||p==w||(w&&i(w,["mouseout","tapdragout"],e,{x:l[0],y:l[1]}),p&&i(p,["mouseover","tapdragover"],e,{x:l[0],y:l[1]}),t.hoverData.last=p),y)if(b){if(o.boxSelectionEnabled()&&S)y&&y.grabbed()&&(h(x),y.emit("freeon"),x.emit("free"),t.dragData.didDrag&&(y.emit("dragfreeon"),x.emit("dragfree"))),A();else if(y&&y.grabbed()&&t.nodeIsDraggable(y)){var D=!t.dragData.didDrag;D&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||u(x,{inDragLayer:!0});var O={x:0,y:0};if(m(v[0])&&m(v[1])&&(O.x+=v[0],O.y+=v[1],D)){var N=t.hoverData.dragDelta;N&&m(N[0])&&m(N[1])&&(O.x+=N[0],O.y+=N[1])}t.hoverData.draggingEles=!0,x.silentShift(O).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else!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}else b&&(t.hoverData.dragging||!o.boxSelectionEnabled()||!S&&o.panningEnabled()&&o.userPanningEnabled()?!t.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(y,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,g[4]=0,t.data.bgActivePosistion=Ee(f),t.redrawHint("select",!0),t.redraw()):A(),y&&y.pannable()&&y.active()&&y.unactivate());return g[2]=l[0],g[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),u=t.dragData.possibleDragElements,l=t.hoverData.down,f=r(e);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,l&&l.unactivate(),3===t.hoverData.which){var d={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}};if(l?l.emit(d):a.emit(d),!t.hoverData.cxtDragged){var g={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};l?l.emit(g):a.emit(g)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(i(c,["mouseup","tapend","vmouseup"],e,{x:o[0],y:o[1]}),t.dragData.didDrag||t.hoverData.dragged||t.hoverData.selecting||t.hoverData.isOverThresholdDrag||(i(l,["click","tap","vclick"],e,{x:o[0],y:o[1]}),v=!1,e.timeStamp-x<=a.multiClickDebounceTime()?(y&&clearTimeout(y),v=!0,x=null,i(l,["dblclick","dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(y=setTimeout((function(){v||i(l,["oneclick","onetap","voneclick"],e,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),x=e.timeStamp)),null!=l||t.dragData.didDrag||t.hoverData.selecting||t.hoverData.dragged||r(e)||(a.$(n).unselect(["tapunselect"]),u.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=u=a.collection()),c!=l||t.dragData.didDrag||t.hoverData.selecting||null!=c&&c._private.selectable&&(t.hoverData.dragging||("additive"===a.selectionType()||f?c.selected()?c.unselect(["tapunselect"]):c.select(["tapselect"]):f||(a.$(n).unmerge(c).unselect(["tapunselect"]),c.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var p=a.collection(t.getAllInBox(s[0],s[1],s[2],s[3]));t.redrawHint("select",!0),p.length>0&&t.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});"additive"===a.selectionType()||f||a.$(n).unmerge(p).unselect(),p.emit("box").stdFilter((function(t){return t.selectable()&&!t.selected()})).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 b=l&&l.grabbed();h(u),b&&(l.emit("freeon"),u.emit("free"),t.dragData.didDrag&&(l.emit("dragfreeon"),u.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 _,E,T,C,S,A,M,I,L,D,O,N,P,B=function(e){if(!t.scrollingPage){var n=t.cy,i=n.zoom(),r=n.pan(),a=t.projectIntoViewport(e.clientX,e.clientY),o=[a[0]*i+r.x,a[1]*i+r.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||0!==t.selection[4])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",B,!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||B(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 F,$,j,R,z,q,H,Z=function(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))},U=function(t,e,n,i){return(n-t)*(n-t)+(i-e)*(i-e)};if(t.registerBinding(t.container,"touchstart",F=function(e){if(t.hasTouchStarted=!0,k(e)){d(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var n=t.cy,r=t.touchData.now,a=t.touchData.earlier;if(e.touches[0]){var o=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);r[0]=o[0],r[1]=o[1]}if(e.touches[1]&&(o=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),r[2]=o[0],r[3]=o[1]),e.touches[2]&&(o=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),r[4]=o[0],r[5]=o[1]),e.touches[1]){t.touchData.singleTouchMoved=!0,h(t.dragData.touchDragEles);var c=t.findContainerClientCoords();L=c[0],D=c[1],O=c[2],N=c[3],_=e.touches[0].clientX-L,E=e.touches[0].clientY-D,T=e.touches[1].clientX-L,C=e.touches[1].clientY-D,P=0<=_&&_<=O&&0<=T&&T<=O&&0<=E&&E<=N&&0<=C&&C<=N;var f=n.pan(),g=n.zoom();S=Z(_,E,T,C),A=U(_,E,T,C),I=[((M=[(_+T)/2,(E+C)/2])[0]-f.x)/g,(M[1]-f.y)/g];if(A<4e4&&!e.touches[2]){var p=t.findNearestElement(r[0],r[1],!0,!0),b=t.findNearestElement(r[2],r[3],!0,!0);return p&&p.isNode()?(p.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=p):b&&b.isNode()?(b.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=b):n.emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[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 w=t.findNearestElements(r[0],r[1],!0,!0),y=w[0];if(null!=y&&(y.activate(),t.touchData.start=y,t.touchData.starts=w,t.nodeIsGrabbable(y))){var m=t.dragData.touchDragEles=n.collection(),v=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),y.selected()?(v=n.$((function(e){return e.selected()&&t.nodeIsGrabbable(e)})),u(v,{addToList:m})):l(y,{addToList:m}),s(y);var x=function(t){return{originalEvent:e,type:t,position:{x:r[0],y:r[1]}}};y.emit(x("grabon")),v?v.forEach((function(t){t.emit(x("grab"))})):y.emit(x("grab"))}i(y,["touchstart","tapstart","vmousedown"],e,{x:r[0],y:r[1]}),null==y&&(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||i(t.touchData.start,["taphold"],e,{x:r[0],y:r[1]})}),t.tapholdDuration)}if(e.touches.length>=1){for(var B=t.touchData.startPosition=[null,null,null,null,null,null],F=0;F=t.touchTapThreshold2}if(n&&t.touchData.cxt){e.preventDefault();var x=e.touches[0].clientX-L,M=e.touches[0].clientY-D,O=e.touches[1].clientX-L,N=e.touches[1].clientY-D,B=U(x,M,O,N);if(B/A>=2.25||B>=22500){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var F={originalEvent:e,type:"cxttapend",position:{x:s[0],y:s[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(F),t.touchData.start=null):o.emit(F)}}if(n&&t.touchData.cxt){F={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(F):o.emit(F),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var $=t.findNearestElement(s[0],s[1],!0,!0);t.touchData.cxtOver&&$===t.touchData.cxtOver||(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:s[0],y:s[1]}}),t.touchData.cxtOver=$,$&&$.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,r[4]=1,r&&0!==r.length&&void 0!==r[0]?(r[2]=(s[0]+s[2]+s[4])/3,r[3]=(s[1]+s[3]+s[5])/3):(r[0]=(s[0]+s[2]+s[4])/3,r[1]=(s[1]+s[3]+s[5])/3,r[2]=(s[0]+s[2]+s[4])/3+1,r[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),tt=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var j=0;j0&&!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",j=function(e){var n=t.touchData.start;t.touchData.capture=!1,n&&n.unactivate()}),t.registerBinding(e,"touchend",R=function(e){var r=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(),u=t.touchData.now,l=t.touchData.earlier;if(e.touches[0]){var f=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);u[0]=f[0],u[1]=f[1]}if(e.touches[1]&&(f=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),u[2]=f[0],u[3]=f[1]),e.touches[2]&&(f=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),u[4]=f[0],u[5]=f[1]),r&&r.unactivate(),t.touchData.cxt){if(o={originalEvent:e,type:"cxttapend",position:{x:u[0],y:u[1]}},r?r.emit(o):s.emit(o),!t.touchData.cxtDragged){var d={originalEvent:e,type:"cxttap",position:{x:u[0],y:u[1]}};r?r.emit(d):s.emit(d)}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 g=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:u[0],y:u[1]}});g.emit("box").stdFilter((function(t){return t.selectable()&&!t.selected()})).select().emit("boxselect"),g.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(null!=r&&r.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!=r){var b=r._private.grabbed;h(p),t.redrawHint("drag",!0),t.redrawHint("eles",!0),b&&(r.emit("freeon"),p.emit("free"),t.dragData.didDrag&&(r.emit("dragfreeon"),p.emit("dragfree"))),i(r,["touchend","tapend","vmouseup","tapdragout"],e,{x:u[0],y:u[1]}),r.unactivate(),t.touchData.start=null}else{var w=t.findNearestElement(u[0],u[1],!0,!0);i(w,["touchend","tapend","vmouseup","tapdragout"],e,{x:u[0],y:u[1]})}var y=t.touchData.startPosition[0]-u[0],m=y*y,v=t.touchData.startPosition[1]-u[1],x=(m+v*v)*c*c;t.touchData.singleTouchMoved||(r||s.$(":selected").unselect(["tapunselect"]),i(r,["tap","vclick"],e,{x:u[0],y:u[1]}),z=!1,e.timeStamp-H<=s.multiClickDebounceTime()?(q&&clearTimeout(q),z=!0,H=null,i(r,["dbltap","vdblclick"],e,{x:u[0],y:u[1]})):(q=setTimeout((function(){z||i(r,["onetap","voneclick"],e,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),H=e.timeStamp)),null!=r&&!t.dragData.didDrag&&r._private.selectable&&x2){for(var A=[u[0],u[1]],M=Math.pow(A[0]-t,2)+Math.pow(A[1]-e,2),I=1;I0)return p[0]}return null},f=Object.keys(l),d=0;d0?c:qe(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=sn(i,r),c=2*s;if(Ke(t,e,this.points,a,o,i,r-c,[0,-1],n))return!0;if(Ke(t,e,this.points,a,o,i-c,r,[0,-1],n))return!0;var u=i/2+2*n,l=r/2+2*n;return!!Ge(t,e,[a-u,o-l,a-u,o,a+u,o,a+u,o-l])||!!Ve(t,e,c,c,a+i/2-s,o+r/2-s,n)||!!Ve(t,e,c,c,a-i/2+s,o+r/2-s,n)}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",rn(3,0)),this.generateRoundPolygon("round-triangle",rn(3,0)),this.generatePolygon("rectangle",rn(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",rn(5,0)),this.generateRoundPolygon("round-pentagon",rn(5,0)),this.generatePolygon("hexagon",rn(6,0)),this.generateRoundPolygon("round-hexagon",rn(6,0)),this.generatePolygon("heptagon",rn(7,0)),this.generateRoundPolygon("round-heptagon",rn(7,0)),this.generatePolygon("octagon",rn(8,0)),this.generateRoundPolygon("round-octagon",rn(8,0));var i=new Array(20),r=on(5,0),a=on(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=t.deqFastCost*p)break}else if(r){if(d>=t.deqCost*c||d>=t.deqAvgCost*s)break}else if(g>=t.deqNoDrawCost*su)break;var b=t.deq(e,h,l);if(!(b.length>0))break;for(var w=0;w0&&(t.onDeqd(e,u),!r&&t.shouldRedraw(e,u,h,l)&&i())}),r(e))}}},uu=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rt;e(this,t),this.idsByKey=new ee,this.keyForId=new ee,this.cachesByLvl=new ee,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=i}return r(t,[{key:"getIdsFor",value:function(t){null==t&&Ht("Can not get id list for null key");var e=this.idsByKey,n=this.idsByKey.get(t);return n||(n=new ie,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),i=this.getKey(t);this.deleteIdForKey(n,e),this.addIdForKey(i,e),this.keyForId.set(e,i)}},{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,i=e.get(t);return i||(i=new ee,e.set(t,i),n.push(t)),i}},{key:"getCache",value:function(t,e){return this.getCachesAt(e).get(t)}},{key:"get",value:function(t,e){var n=this.getKey(t),i=this.getCache(n,e);return null!=i&&this.updateKeyMappingFor(t),i}},{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 i=this.getKey(t);this.setCache(i,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 i=this.doesEleInvalidateKey(t);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),lu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},hu=Xt({getKey:null,doesEleInvalidateKey:Rt,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:jt,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),fu=function(t,e){var n=this;n.renderer=t,n.onDequeues=[];var i=hu(e);j(n,i),n.lookup=new uu(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},du=fu.prototype;du.reasons=lu,du.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},du.getRetiredTextureQueue=function(t){var e=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return e[t]=e[t]||[]},du.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new ce((function(t,e){return e.reqs-t.reqs}))},du.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},du.getElement=function(t,e,n,i,r){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==i&&(i=Math.ceil(Ce(s*n))),i<-4)i=-4;else if(s>=7.99||i>3)return null;var u=Math.pow(2,i),l=e.h*u,h=e.w*u,f=o.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,f))return null;var d,g=c.get(t,i);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(d=l<=25?25:l<=50?50:50*Math.ceil(l/50),l>1024||h>1024)return null;var p=a.getTextureQueue(d),b=p[p.length-2],w=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=p[p.length-1]),b||(b=w()),b.width-b.usedWidthi;S--)T=a.getElement(t,e,n,S,lu.downscale);C()}else{var A;if(!v&&!x&&!k)for(var M=i-1;M>=-4;M--){var I=c.get(t,M);if(I){A=I;break}}if(m(A))return a.queueElement(t,i),A;b.context.translate(b.usedWidth,0),b.context.scale(u,u),this.drawElement(b.context,t,e,f,!1),b.context.scale(1/u,1/u),b.context.translate(-b.usedWidth,0)}return g={x:b.usedWidth,texture:b,level:i,scale:u,width:h,height:l,scaledLabelShown:f},b.usedWidth+=Math.ceil(h+8),b.eleCaches.push(g),c.set(t,i,g),a.checkTextureFullness(b),g},du.invalidateElements=function(t){for(var e=0;e=.2*t.width&&this.retireTexture(t)},du.checkTextureFullness=function(t){var e=this.getTextureQueue(t.height);t.usedWidth/t.width>.8&&t.fullnessChecks>=10?Vt(e,t):t.fullnessChecks++},du.retireTexture=function(t){var e=t.height,n=this.getTextureQueue(e),i=this.lookup;Vt(n,t),t.retired=!0;for(var r=t.eleCaches,a=0;a=e)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,Qt(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Vt(i,a),n.push(a),a}},du.queueElement=function(t,e){var n=this.getElementQueue(),i=this.getElementKeyToQueue(),r=this.getKey(t),a=i[r];if(a)a.level=Math.max(a.level,e),a.eles.merge(t),a.reqs++,n.updateItem(a);else{var o={eles:t.spawn().merge(t),level:e,reqs:1,key:r};n.push(o),i[r]=o}},du.dequeue=function(t){for(var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=[],a=e.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),c=s.key,u=s.eles[0],l=a.hasCache(u,s.level);if(i[c]=null,!l){r.push(s);var h=e.getBoundingBox(u);e.getElement(u,h,t,s.level,lu.dequeue)}}return r},du.removeFromQueue=function(t){var e=this.getElementQueue(),n=this.getElementKeyToQueue(),i=this.getKey(t),r=n[i];null!=r&&(1===r.eles.length?(r.reqs=$t,e.updateItem(r),e.pop(),n[i]=null):r.eles.unmerge(t))},du.onDequeue=function(t){this.onDequeues.push(t)},du.offDequeue=function(t){Vt(this.onDequeues,t)},du.setupDequeueing=cu({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(t,e,n){return t.dequeue(e,n)},onDeqd:function(t,e){for(var n=0;n=3.99||n>2)return null;i.validateLayersElesOrdering(n,t);var o,s,c=i.layersByLevel,u=Math.pow(2,n),l=c[n]=c[n]||[];if(i.levelIsComplete(n,t))return l;!function(){var e=function(e){if(i.validateLayersElesOrdering(e,t),i.levelIsComplete(e,t))return s=c[e],!0},r=function(t){if(!s)for(var i=n+t;-4<=i&&i<=2&&!e(i);i+=t);};r(1),r(-1);for(var a=l.length-1;a>=0;a--){var o=l[a];o.invalid&&Vt(l,o)}}();var h=function(e){var r=(e=e||{}).after;if(function(){if(!o){o=Ne();for(var e=0;e16e6)return null;var a=i.makeLayer(o,n);if(null!=r){var s=l.indexOf(r)+1;l.splice(s,0,a)}else(void 0===e.insert||e.insert)&&l.unshift(a);return a};if(i.skipping&&!a)return null;for(var f=null,d=t.length/1,g=!a,p=0;p=d||!ze(f.bb,b.boundingBox()))&&!(f=h({insert:!0,after:f})))return null;s||g?i.queueLayer(f,b):i.drawEleInLayer(f,b,n,e),f.eles.push(b),y[n]=f}}return s||(g?null:l)},pu.getEleLevelForLayerLevel=function(t,e){return t},pu.drawEleInLayer=function(t,e,n,i){var r=this.renderer,a=t.context,o=e.boundingBox();0!==o.w&&0!==o.h&&e.visible()&&(n=this.getEleLevelForLayerLevel(n,i),r.setImgSmoothing(a,!1),r.drawCachedElement(a,e,null,null,n,true),r.setImgSmoothing(a,!0))},pu.levelIsComplete=function(t,e){var n=this.layersByLevel[t];if(!n||0===n.length)return!1;for(var i=0,r=0;r0)return!1;if(a.invalid)return!1;i+=a.eles.length}return i===e.length},pu.validateLayersElesOrdering=function(t,e){var n=this.layersByLevel[t];if(n)for(var i=0;i0){t=!0;break}}return t},pu.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=Et(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,(function(t,n,i){e.invalidateLayer(t)})))},pu.invalidateLayer=function(t){if(this.lastInvalidationTime=Et(),!t.invalid){var e=t.level,n=t.eles,i=this.layersByLevel[e];Vt(i,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var r=0;r3&&void 0!==arguments[3])||arguments[3],r=!(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 u=a?e.pstyle("opacity").value:1,l=a?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,f=e.pstyle("line-style").value,d=e.pstyle("width").pfValue,g=e.pstyle("line-cap").value,p=u*l,b=u*l,w=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=g,o.eleStrokeStyle(t,e,n),o.drawEdgePath(e,t,s.allpts,f),t.lineCap="butt")},y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;o.drawArrowheads(t,e,n)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var m=e.pstyle("ghost-offset-x").pfValue,v=e.pstyle("ghost-offset-y").pfValue,x=e.pstyle("ghost-opacity").value,k=p*x;t.translate(m,v),w(k),y(k),t.translate(-m,-v)}r&&o.drawEdgeUnderlay(t,e),w(),y(),r&&o.drawEdgeOverlay(t,e),o.drawElementText(t,e,null,i),n&&t.translate(c.x1,c.y1)}}},Ou=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n){if(n.visible()){var i=n.pstyle("".concat(t,"-opacity")).value;if(0!==i){var r=this,a=r.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",r.colorStrokeStyle(e,c[0],c[1],c[2],i),r.drawEdgePath(n,e,o.allpts,"solid")}}}};Du.drawEdgeOverlay=Ou("overlay"),Du.drawEdgeUnderlay=Ou("underlay"),Du.drawEdgePath=function(t,e,n,i){var r,a=t._private.rscratch,o=e,s=!1,c=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,l=t.pstyle("line-dash-offset").pfValue;if(c){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(r=e=a.pathCache,s=!0):(r=e=new Path2D,a.pathCacheKey=h,a.pathCache=r)}if(o.setLineDash)switch(i){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=l;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+35&&void 0!==arguments[5])||arguments[5],o=this;if(null==i){if(a&&!o.eleTextBiggerThanMin(e))return}else if(!1===i)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 u=e.element()._private.rscratch.badLine,l=e.pstyle("label"),h=e.pstyle("source-label"),f=e.pstyle("target-label");if(u||(!l||!l.value)&&(!h||!h.value)&&(!f||!f.value))return;t.textAlign="center",t.textBaseline="bottom"}var d,g=!n;n&&(d=n,t.translate(-d.x1,-d.y1)),null==r?(o.drawText(t,e,null,g,a),e.isEdge()&&(o.drawText(t,e,"source",g,a),o.drawText(t,e,"target",g,a))):o.drawText(t,e,r,g,a),n&&t.translate(d.x1,d.y1)},Pu.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],i=e.pstyle("font-style").strValue,r=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,u=e.pstyle("color").value,l=e.pstyle("text-outline-color").value;t.font=i+" "+o+" "+r+" "+a,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],s),this.colorStrokeStyle(t,l[0],l[1],l[2],c)},Pu.getTextAngle=function(t,e){var n=t._private.rscratch,i=e?e+"-":"",r=t.pstyle(i+"text-rotation"),a=Jt(n,"labelAngle",e);return"autorotate"===r.strValue?t.isEdge()?a:0:"none"===r.strValue?0:r.pfValue},Pu.drawText=function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=e._private.rscratch,o=r?e.effectiveOpacity():1;if(!r||0!==o&&0!==e.pstyle("text-opacity").value){"main"===n&&(n=null);var s,c,u=Jt(a,"labelX",n),l=Jt(a,"labelY",n),h=this.getLabelText(e,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(l)){this.setupTextStyle(t,e,r);var f,d=n?n+"-":"",g=Jt(a,"labelWidth",n),p=Jt(a,"labelHeight",n),b=e.pstyle(d+"text-margin-x").pfValue,w=e.pstyle(d+"text-margin-y").pfValue,y=e.isEdge(),m=e.pstyle("text-halign").value,v=e.pstyle("text-valign").value;switch(y&&(m="center",v="center"),u+=b,l+=w,0!==(f=i?this.getTextAngle(e,n):0)&&(s=u,c=l,t.translate(s,c),t.rotate(f),u=0,l=0),v){case"top":break;case"center":l+=p/2;break;case"bottom":l+=p}var x=e.pstyle("text-background-opacity").value,k=e.pstyle("text-border-opacity").value,_=e.pstyle("text-border-width").pfValue,E=e.pstyle("text-background-padding").pfValue;if(x>0||_>0&&k>0){var T=u-E;switch(m){case"left":T-=g;break;case"center":T-=g/2}var C=l-p-E,S=g+2*E,A=p+2*E;if(x>0){var M=t.fillStyle,I=e.pstyle("text-background-color").value;t.fillStyle="rgba("+I[0]+","+I[1]+","+I[2]+","+x*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-a,n+r),t.lineTo(e+a,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath(),t.fill()}(t,T,C,S,A,2):t.fillRect(T,C,S,A),t.fillStyle=M}if(_>0&&k>0){var L=t.strokeStyle,D=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]+","+k*o+")",t.lineWidth=_,t.setLineDash)switch(N){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=_/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(t.strokeRect(T,C,S,A),"double"===N){var P=_/2;t.strokeRect(T+P,C+P,S-2*P,A-2*P)}t.setLineDash&&t.setLineDash([]),t.lineWidth=D,t.strokeStyle=L}}var B=2*e.pstyle("text-outline-width").pfValue;if(B>0&&(t.lineWidth=B),"wrap"===e.pstyle("text-wrap").value){var F=Jt(a,"labelWrapCachedLines",n),$=Jt(a,"labelLineHeight",n),j=g/2,R=this.getLabelJustification(e);switch("auto"===R||("left"===m?"left"===R?u+=-g:"center"===R&&(u+=-j):"center"===m?"left"===R?u+=-j:"right"===R&&(u+=j):"right"===m&&("center"===R?u+=j:"right"===R&&(u+=g))),v){case"top":case"center":case"bottom":l-=(F.length-1)*$}for(var z=0;z0&&t.strokeText(F[z],u,l),t.fillText(F[z],u,l),l+=$}else B>0&&t.strokeText(h,u,l),t.fillText(h,u,l);0!==f&&(t.rotate(-f),t.translate(-s,-c))}}};var Bu={drawNode:function(t,e,n){var i,r,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,u=e._private,l=u.rscratch,h=e.position();if(m(h.x)&&m(h.y)&&(!s||e.visible())){var f,d,g=s?e.effectiveOpacity():1,p=c.usePaths(),b=!1,w=e.padding();i=e.width()+2*w,r=e.height()+2*w,n&&(d=n,t.translate(-d.x1,-d.y1));for(var y=e.pstyle("background-image").value,v=new Array(y.length),x=new Array(y.length),k=0,_=0;_0&&void 0!==arguments[0]?arguments[0]:A;c.eleFillStyle(t,e,n)},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;c.colorStrokeStyle(t,M[0],M[1],M[2],e)},N=e.pstyle("shape").strValue,P=e.pstyle("shape-polygon-points").pfValue;if(p){t.translate(h.x,h.y);var B=c.nodePathCache=c.nodePathCache||[],F=Ot("polygon"===N?N+","+P.join(","):N,""+r,""+i),$=B[F];null!=$?(f=$,b=!0,l.pathCache=f):(f=new Path2D,B[F]=l.pathCache=f)}var j=function(){if(!b){var n=h;p&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(e)].draw(f||t,n.x,n.y,i,r)}p?t.fill(f):t.fill()},R=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;c.hasPie(e)&&(c.drawPie(t,e,a),n&&(p||c.nodeShapes[c.getNodeShape(e)].draw(t,h.x,h.y,i,r)))},q=function(){var e=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(c.colorFillStyle(t,n,n,n,e),p?t.fill(f):t.fill())},H=function(){if(S>0){if(t.lineWidth=S,t.lineCap="butt",t.setLineDash)switch(I){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"===I){t.lineWidth=S/3;var e=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",p?t.stroke(f):t.stroke(),t.globalCompositeOperation=e}t.setLineDash&&t.setLineDash([])}};if("yes"===e.pstyle("ghost").value){var Z=e.pstyle("ghost-offset-x").pfValue,U=e.pstyle("ghost-offset-y").pfValue,Y=e.pstyle("ghost-opacity").value,G=Y*g;t.translate(Z,U),D(Y*A),j(),R(G,!0),O(Y*L),H(),z(0!==C||0!==S),R(G,!1),q(G),t.translate(-Z,-U)}p&&t.translate(-h.x,-h.y),o&&c.drawNodeUnderlay(t,e,h,i,r),p&&t.translate(h.x,h.y),D(),j(),R(g,!0),O(),H(),z(0!==C||0!==S),R(g,!1),q(),p&&t.translate(-h.x,-h.y),c.drawElementText(t,e,null,a),o&&c.drawNodeOverlay(t,e,h,i,r),n&&t.translate(d.x1,d.y1)}}},Fu=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n,i,r,a){if(n.visible()){var o=n.pstyle("".concat(t,"-padding")).pfValue,s=n.pstyle("".concat(t,"-opacity")).value,c=n.pstyle("".concat(t,"-color")).value,u=n.pstyle("".concat(t,"-shape")).value;if(s>0){if(i=i||n.position(),null==r||null==a){var l=n.padding();r=n.width()+2*l,a=n.height()+2*l}this.colorFillStyle(e,c[0],c[1],c[2],s),this.nodeShapes[u].draw(e,i.x,i.y,r+2*o,a+2*o),e.fill()}}}};Bu.drawNodeOverlay=Fu("overlay"),Bu.drawNodeUnderlay=Fu("underlay"),Bu.hasPie=function(t){return(t=t[0])._private.hasPie},Bu.drawPie=function(t,e,n,i){e=e[0],i=i||e.position();var r=e.cy().style(),a=e.pstyle("pie-size"),o=i.x,s=i.y,c=e.width(),u=e.height(),l=Math.min(c,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var f=1;f<=r.pieBackgroundN;f++){var d=e.pstyle("pie-"+f+"-background-size").value,g=e.pstyle("pie-"+f+"-background-color").value,p=e.pstyle("pie-"+f+"-background-opacity").value*n,b=d/100;b+h>1&&(b=1-h);var w=1.5*Math.PI+2*Math.PI*h,y=w+2*Math.PI*b;0===d||h>=1||h+b>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,l,w,y),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],p),t.fill(),h+=b)}};var $u={};$u.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},$u.paintCache=function(t){for(var e,n=this.paintCaches=this.paintCaches||[],i=!0,r=0;ro.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(l[o.NODE]=!0,l[o.SELECT_BOX]=!0);var y=c.style(),m=c.zoom(),v=void 0!==r?r:m,x=c.pan(),k={x:x.x,y:x.y},_={zoom:m,pan:{x:x.x,y:x.y}},E=o.prevViewport;void 0===E||_.zoom!==E.zoom||_.pan.x!==E.pan.x||_.pan.y!==E.pan.y||p&&!g||(o.motionBlurPxRatio=1),a&&(k=a),v*=s,k.x*=s,k.y*=s;var T=o.getCachedZSortedEles();function C(t,e,n,i,r){var a=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",o.colorFillStyle(t,255,255,255,o.motionBlurTransparency),t.fillRect(e,n,i,r),t.globalCompositeOperation=a}function S(t,i){var s,c,l,h;o.clearingMotionBlur||t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,c=v,l=o.canvasWidth,h=o.canvasHeight):(s={x:x.x*d,y:x.y*d},c=m*d,l=o.canvasWidth*d,h=o.canvasHeight*d),t.setTransform(1,0,0,1,0,0),"motionBlur"===i?C(t,0,0,l,h):e||void 0!==i&&!i||t.clearRect(0,0,l,h),n||(t.translate(s.x,s.y),t.scale(c,c)),a&&t.translate(a.x,a.y),r&&t.scale(r,r)}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 A=o.data.bufferContexts[o.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}l[o.DRAG]=!1,l[o.NODE]=!1;var M=u.contexts[o.NODE],I=o.textureCache.texture;_=o.textureCache.viewport,M.setTransform(1,0,0,1,0,0),f?C(M,0,0,_.width,_.height):M.clearRect(0,0,_.width,_.height);var L=y.core("outside-texture-bg-color").value,D=y.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,L[0],L[1],L[2],D),M.fillRect(0,0,_.width,_.height),m=c.zoom(),S(M,!1),M.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),M.drawImage(I,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.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(),P=o.hideEdgesOnViewport&&N,B=[];if(B[o.NODE]=!l[o.NODE]&&f&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,B[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),B[o.DRAG]=!l[o.DRAG]&&f&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,B[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),l[o.NODE]||n||i||B[o.NODE]){var F=f&&!B[o.NODE]&&1!==d;S(M=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(M,T.nondrag,s,O):o.drawLayeredElements(M,T.nondrag,s,O),o.debug&&o.drawDebugPoints(M,T.nondrag),n||f||(l[o.NODE]=!1)}if(!i&&(l[o.DRAG]||n||B[o.DRAG])&&(F=f&&!B[o.DRAG]&&1!==d,S(M=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(M,T.drag,s,O):o.drawCachedElements(M,T.drag,s,O),o.debug&&o.drawDebugPoints(M,T.drag),n||f||(l[o.DRAG]=!1)),o.showFps||!i&&l[o.SELECT_BOX]&&!n){if(S(M=e||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){m=o.cy.zoom();var $=y.core("selection-box-border-width").value/m;M.lineWidth=$,M.fillStyle="rgba("+y.core("selection-box-color").value[0]+","+y.core("selection-box-color").value[1]+","+y.core("selection-box-color").value[2]+","+y.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),$>0&&(M.strokeStyle="rgba("+y.core("selection-box-border-color").value[0]+","+y.core("selection-box-border-color").value[1]+","+y.core("selection-box-border-color").value[2]+","+y.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){m=o.cy.zoom();var j=u.bgActivePosistion;M.fillStyle="rgba("+y.core("active-bg-color").value[0]+","+y.core("active-bg-color").value[1]+","+y.core("active-bg-color").value[2]+","+y.core("active-bg-opacity").value+")",M.beginPath(),M.arc(j.x,j.y,y.core("active-bg-size").pfValue/m,0,2*Math.PI),M.fill()}var R=o.lastRedrawTime;if(o.showFps&&R){R=Math.round(R);var z=Math.round(1e3/R);M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+R+" ms = "+z+" fps",0,20);M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(z/60,1),20)}n||(l[o.SELECT_BOX]=!1)}if(f&&1!==d){var q=u.contexts[o.NODE],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],Z=u.contexts[o.DRAG],U=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],Y=function(t,e,n){t.setTransform(1,0,0,1,0,0),n||!w?t.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(t,0,0,o.canvasWidth,o.canvasHeight);var i=d;t.drawImage(e,0,0,o.canvasWidth*i,o.canvasHeight*i,0,0,o.canvasWidth,o.canvasHeight)};(l[o.NODE]||B[o.NODE])&&(Y(q,H,B[o.NODE]),l[o.NODE]=!1),(l[o.DRAG]||B[o.DRAG])&&(Y(Z,U,B[o.DRAG]),l[o.DRAG]=!1)}o.prevViewport=_,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,l[o.NODE]=!0,l[o.DRAG]=!0,o.redraw()}),100)),e||c.emit("render")};for(var ju={drawPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2;t.beginPath&&t.beginPath(),t.moveTo(e+o*a[0],n+s*a[1]);for(var c=1;c0&&a>0){f.clearRect(0,0,r,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 g=e.pan(),p={x:g.x*c,y:g.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,r,a),f.fill())}return h},Yu.png=function(t){return Ku(t,this.bufferCanvasImage(t),"image/png")},Yu.jpg=function(t){return Ku(t,this.bufferCanvasImage(t),"image/jpeg")};var Wu=Vu,Xu=Vu.prototype;function Vu(t){var e=this;e.data={canvases:new Array(Xu.CANVAS_LAYERS),contexts:new Array(Xu.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Xu.CANVAS_LAYERS),bufferCanvases:new Array(Xu.BUFFER_COUNT),bufferContexts:new Array(Xu.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var r=e.data.canvasContainer.style;e.data.canvasContainer.style[n]=i,r.position="relative",r.zIndex="0",r.overflow="hidden";var a=t.cy.container();a.appendChild(e.data.canvasContainer),a.style[n]=i;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"};u&&u.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s=e?t:""+Array(e+1-i.length).join(n)+t},w={s:b,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+b(i,2,"0")+":"+b(r,2,"0")},m:function t(e,n){if(e.date()1)return t(o[0])}else{var s=e.name;m[s]=e,r=s}return!i&&r&&(y=r),r||!i&&y},k=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new E(n)},_=w;_.l=x,_.i=v,_.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var E=function(){function p(t){this.$L=x(t.locale,null,!0),this.parse(t)}var b=p.prototype;return b.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(_.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(d);if(i){var r=i[2]-1||0,a=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},b.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()},b.$utils=function(){return _},b.isValid=function(){return!(this.$d.toString()===f)},b.isSame=function(t,e){var n=k(t);return this.startOf(e)<=n&&n<=this.endOf(e)},b.isAfter=function(t,e){return k(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)}],u=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},l=function(t,e){var n,i=a.meridiem;if(i){for(var r=1;r<=24;r+=1)if(t.indexOf(i(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[r,function(t){this.afternoon=l(t,!1)}],a:[r,function(t){this.afternoon=l(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:[i,s("seconds")],ss:[i,s("seconds")],m:[i,s("minutes")],mm:[i,s("minutes")],H:[i,s("hours")],h:[i,s("hours")],HH:[i,s("hours")],hh:[i,s("hours")],D:[i,s("day")],DD:[n,s("day")],Do:[r,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,s("month")],MM:[n,s("month")],MMM:[r,function(t){var e=u("months"),n=(u("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:[r,function(t){var e=u("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 i,r;i=n,r=a&&a.formats;for(var o=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var a=i&&i.toUpperCase();return n||r[i]||t[i]||r[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=o.length,c=0;c-1)return new Date(("X"===e?1e3:1)*t);var i=f(e)(t),r=i.year,a=i.month,o=i.day,s=i.hours,c=i.minutes,u=i.seconds,l=i.milliseconds,h=i.zone,d=new Date,g=o||(r||a?1:d.getDate()),p=r||d.getFullYear(),b=0;r&&!a||(b=a>0?a-1:d.getMonth());var w=s||0,y=c||0,m=u||0,v=l||0;return h?new Date(Date.UTC(p,b,g,w,y,m,v+60*h.offset*1e3)):n?new Date(Date.UTC(p,b,g,w,y,m,v)):new Date(p,b,g,w,y,m,v)}catch(t){return new Date("")}}(e,s,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),l&&e!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,g=1;g<=d;g+=1){o[1]=s[g-1];var p=n.apply(this,o);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}g===d&&(this.$d=new Date(""))}else r.call(this,t)}}}()},9542:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var r=function(e){return e.add(4-e.isoWeekday(),t)},a=n.prototype;a.isoWeekYear=function(){return r(this).year()},a.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,a,o,s=r(this),c=(n=this.isoWeekYear(),o=4-(a=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,t));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(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?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)}}}()},7856:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:r}=Object;let{freeze:a,seal:o,create:s}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;c||(c=function(t,e,n){return t.apply(e,n)}),a||(a=function(t){return t}),o||(o=function(t){return t}),u||(u=function(t,e){return new t(...e)});const l=k(Array.prototype.forEach),h=k(Array.prototype.pop),f=k(Array.prototype.push),d=k(String.prototype.toLowerCase),g=k(String.prototype.toString),p=k(String.prototype.match),b=k(String.prototype.replace),w=k(String.prototype.indexOf),y=k(String.prototype.trim),m=k(RegExp.prototype.test),v=(x=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),r=1;r/gm),j=o(/\${[\w\W]*}/gm),R=o(/^data-[\-\w.\u00B7-\uFFFF]/),z=o(/^aria-[\-\w]+$/),q=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),Z=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U=o(/^html$/i);var Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:$,TMPLIT_EXPR:j,DATA_ATTR:R,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:Z,DOCTYPE_NAME:U});const G=()=>"undefined"==typeof window?null:window;return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G();const i=t=>e(t);if(i.version="3.0.5",i.removed=[],!n||!n.document||9!==n.document.nodeType)return i.isSupported=!1,i;const r=n.document,o=r.currentScript;let{document:s}=n;const{DocumentFragment:c,HTMLTemplateElement:u,Node:x,Element:k,NodeFilter:F,NamedNodeMap:$=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:j,DOMParser:R,trustedTypes:z}=n,H=k.prototype,Z=T(H,"cloneNode"),K=T(H,"nextSibling"),W=T(H,"childNodes"),X=T(H,"parentNode");if("function"==typeof u){const t=s.createElement("template");t.content&&t.content.ownerDocument&&(s=t.content.ownerDocument)}let V,Q="";const{implementation:J,createNodeIterator:tt,createDocumentFragment:et,getElementsByTagName:nt}=s,{importNode:it}=r;let rt={};i.isSupported="function"==typeof t&&"function"==typeof X&&J&&void 0!==J.createHTMLDocument;const{MUSTACHE_EXPR:at,ERB_EXPR:ot,TMPLIT_EXPR:st,DATA_ATTR:ct,ARIA_ATTR:ut,IS_SCRIPT_OR_DATA:lt,ATTR_WHITESPACE:ht}=Y;let{IS_ALLOWED_URI:ft}=Y,dt=null;const gt=_({},[...C,...S,...A,...I,...D]);let pt=null;const bt=_({},[...O,...N,...P,...B]);let wt=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}})),yt=null,mt=null,vt=!0,xt=!0,kt=!1,_t=!0,Et=!1,Tt=!1,Ct=!1,St=!1,At=!1,Mt=!1,It=!1,Lt=!0,Dt=!1,Ot=!0,Nt=!1,Pt={},Bt=null;const Ft=_({},["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"]);let $t=null;const jt=_({},["audio","video","img","source","image","track"]);let Rt=null;const zt=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qt="http://www.w3.org/1998/Math/MathML",Ht="http://www.w3.org/2000/svg",Zt="http://www.w3.org/1999/xhtml";let Ut=Zt,Yt=!1,Gt=null;const Kt=_({},[qt,Ht,Zt],g);let Wt;const Xt=["application/xhtml+xml","text/html"];let Vt,Qt=null;const Jt=s.createElement("form"),te=function(t){return t instanceof RegExp||t instanceof Function},ee=function(t){if(!Qt||Qt!==t){if(t&&"object"==typeof t||(t={}),t=E(t),Wt=Wt=-1===Xt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Vt="application/xhtml+xml"===Wt?g:d,dt="ALLOWED_TAGS"in t?_({},t.ALLOWED_TAGS,Vt):gt,pt="ALLOWED_ATTR"in t?_({},t.ALLOWED_ATTR,Vt):bt,Gt="ALLOWED_NAMESPACES"in t?_({},t.ALLOWED_NAMESPACES,g):Kt,Rt="ADD_URI_SAFE_ATTR"in t?_(E(zt),t.ADD_URI_SAFE_ATTR,Vt):zt,$t="ADD_DATA_URI_TAGS"in t?_(E(jt),t.ADD_DATA_URI_TAGS,Vt):jt,Bt="FORBID_CONTENTS"in t?_({},t.FORBID_CONTENTS,Vt):Ft,yt="FORBID_TAGS"in t?_({},t.FORBID_TAGS,Vt):{},mt="FORBID_ATTR"in t?_({},t.FORBID_ATTR,Vt):{},Pt="USE_PROFILES"in t&&t.USE_PROFILES,vt=!1!==t.ALLOW_ARIA_ATTR,xt=!1!==t.ALLOW_DATA_ATTR,kt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,_t=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Et=t.SAFE_FOR_TEMPLATES||!1,Tt=t.WHOLE_DOCUMENT||!1,At=t.RETURN_DOM||!1,Mt=t.RETURN_DOM_FRAGMENT||!1,It=t.RETURN_TRUSTED_TYPE||!1,St=t.FORCE_BODY||!1,Lt=!1!==t.SANITIZE_DOM,Dt=t.SANITIZE_NAMED_PROPS||!1,Ot=!1!==t.KEEP_CONTENT,Nt=t.IN_PLACE||!1,ft=t.ALLOWED_URI_REGEXP||q,Ut=t.NAMESPACE||Zt,wt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&te(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(wt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&te(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(wt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(wt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Et&&(xt=!1),Mt&&(At=!0),Pt&&(dt=_({},[...D]),pt=[],!0===Pt.html&&(_(dt,C),_(pt,O)),!0===Pt.svg&&(_(dt,S),_(pt,N),_(pt,B)),!0===Pt.svgFilters&&(_(dt,A),_(pt,N),_(pt,B)),!0===Pt.mathMl&&(_(dt,I),_(pt,P),_(pt,B))),t.ADD_TAGS&&(dt===gt&&(dt=E(dt)),_(dt,t.ADD_TAGS,Vt)),t.ADD_ATTR&&(pt===bt&&(pt=E(pt)),_(pt,t.ADD_ATTR,Vt)),t.ADD_URI_SAFE_ATTR&&_(Rt,t.ADD_URI_SAFE_ATTR,Vt),t.FORBID_CONTENTS&&(Bt===Ft&&(Bt=E(Bt)),_(Bt,t.FORBID_CONTENTS,Vt)),Ot&&(dt["#text"]=!0),Tt&&_(dt,["html","head","body"]),dt.table&&(_(dt,["tbody"]),delete yt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');V=t.TRUSTED_TYPES_POLICY,Q=V.createHTML("")}else void 0===V&&(V=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(z,o)),null!==V&&"string"==typeof Q&&(Q=V.createHTML(""));a&&a(t),Qt=t}},ne=_({},["mi","mo","mn","ms","mtext"]),ie=_({},["foreignobject","desc","title","annotation-xml"]),re=_({},["title","style","font","a","script"]),ae=_({},S);_(ae,A),_(ae,M);const oe=_({},I);_(oe,L);const se=function(t){f(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},ce=function(t,e){try{f(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!pt[t])if(At||Mt)try{se(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},ue=function(t){let e,n;if(St)t=""+t;else{const e=p(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Wt&&Ut===Zt&&(t=''+t+"");const i=V?V.createHTML(t):t;if(Ut===Zt)try{e=(new R).parseFromString(i,Wt)}catch(t){}if(!e||!e.documentElement){e=J.createDocument(Ut,"template",null);try{e.documentElement.innerHTML=Yt?Q:i}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(s.createTextNode(n),r.childNodes[0]||null),Ut===Zt?nt.call(e,Tt?"html":"body")[0]:Tt?e.documentElement:r},le=function(t){return tt.call(t.ownerDocument||t,t,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT,null,!1)},he=function(t){return"object"==typeof x?t instanceof x:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},fe=function(t,e,n){rt[t]&&l(rt[t],(t=>{t.call(i,e,n,Qt)}))},de=function(t){let e;if(fe("beforeSanitizeElements",t,null),(n=t)instanceof j&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof $)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return se(t),!0;var n;const r=Vt(t.nodeName);if(fe("uponSanitizeElement",t,{tagName:r,allowedTags:dt}),t.hasChildNodes()&&!he(t.firstElementChild)&&(!he(t.content)||!he(t.content.firstElementChild))&&m(/<[/\w]/g,t.innerHTML)&&m(/<[/\w]/g,t.textContent))return se(t),!0;if(!dt[r]||yt[r]){if(!yt[r]&&pe(r)){if(wt.tagNameCheck instanceof RegExp&&m(wt.tagNameCheck,r))return!1;if(wt.tagNameCheck instanceof Function&&wt.tagNameCheck(r))return!1}if(Ot&&!Bt[r]){const e=X(t)||t.parentNode,n=W(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i)e.insertBefore(Z(n[i],!0),K(t))}return se(t),!0}return t instanceof k&&!function(t){let e=X(t);e&&e.tagName||(e={namespaceURI:Ut,tagName:"template"});const n=d(t.tagName),i=d(e.tagName);return!!Gt[t.namespaceURI]&&(t.namespaceURI===Ht?e.namespaceURI===Zt?"svg"===n:e.namespaceURI===qt?"svg"===n&&("annotation-xml"===i||ne[i]):Boolean(ae[n]):t.namespaceURI===qt?e.namespaceURI===Zt?"math"===n:e.namespaceURI===Ht?"math"===n&&ie[i]:Boolean(oe[n]):t.namespaceURI===Zt?!(e.namespaceURI===Ht&&!ie[i])&&!(e.namespaceURI===qt&&!ne[i])&&!oe[n]&&(re[n]||!ae[n]):!("application/xhtml+xml"!==Wt||!Gt[t.namespaceURI]))}(t)?(se(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!m(/<\/no(script|embed|frames)/i,t.innerHTML)?(Et&&3===t.nodeType&&(e=t.textContent,e=b(e,at," "),e=b(e,ot," "),e=b(e,st," "),t.textContent!==e&&(f(i.removed,{element:t.cloneNode()}),t.textContent=e)),fe("afterSanitizeElements",t,null),!1):(se(t),!0)},ge=function(t,e,n){if(Lt&&("id"===e||"name"===e)&&(n in s||n in Jt))return!1;if(xt&&!mt[e]&&m(ct,e));else if(vt&&m(ut,e));else if(!pt[e]||mt[e]){if(!(pe(t)&&(wt.tagNameCheck instanceof RegExp&&m(wt.tagNameCheck,t)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(t))&&(wt.attributeNameCheck instanceof RegExp&&m(wt.attributeNameCheck,e)||wt.attributeNameCheck instanceof Function&&wt.attributeNameCheck(e))||"is"===e&&wt.allowCustomizedBuiltInElements&&(wt.tagNameCheck instanceof RegExp&&m(wt.tagNameCheck,n)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(n))))return!1}else if(Rt[e]);else if(m(ft,b(n,ht,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==w(n,"data:")||!$t[t])if(kt&&!m(lt,b(n,ht,"")));else if(n)return!1;return!0},pe=function(t){return t.indexOf("-")>0},be=function(t){let e,n,r,a;fe("beforeSanitizeAttributes",t,null);const{attributes:o}=t;if(!o)return;const s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:pt};for(a=o.length;a--;){e=o[a];const{name:c,namespaceURI:u}=e;if(n="value"===c?e.value:y(e.value),r=Vt(c),s.attrName=r,s.attrValue=n,s.keepAttr=!0,s.forceKeepAttr=void 0,fe("uponSanitizeAttribute",t,s),n=s.attrValue,s.forceKeepAttr)continue;if(ce(c,t),!s.keepAttr)continue;if(!_t&&m(/\/>/i,n)){ce(c,t);continue}Et&&(n=b(n,at," "),n=b(n,ot," "),n=b(n,st," "));const l=Vt(t.nodeName);if(ge(l,r,n)){if(!Dt||"id"!==r&&"name"!==r||(ce(c,t),n="user-content-"+n),V&&"object"==typeof z&&"function"==typeof z.getAttributeType)if(u);else switch(z.getAttributeType(l,r)){case"TrustedHTML":n=V.createHTML(n);break;case"TrustedScriptURL":n=V.createScriptURL(n)}try{u?t.setAttributeNS(u,c,n):t.setAttribute(c,n),h(i.removed)}catch(t){}}}fe("afterSanitizeAttributes",t,null)},we=function t(e){let n;const i=le(e);for(fe("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)fe("uponSanitizeShadowNode",n,null),de(n)||(n.content instanceof c&&t(n.content),be(n));fe("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e,n,a,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Yt=!t,Yt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!he(t)){if("function"!=typeof t.toString)throw v("toString is not a function");if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}if(!i.isSupported)return t;if(Ct||ee(s),i.removed=[],"string"==typeof t&&(Nt=!1),Nt){if(t.nodeName){const e=Vt(t.nodeName);if(!dt[e]||yt[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof x)e=ue("\x3c!----\x3e"),n=e.ownerDocument.importNode(t,!0),1===n.nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?e=n:e.appendChild(n);else{if(!At&&!Et&&!Tt&&-1===t.indexOf("<"))return V&&It?V.createHTML(t):t;if(e=ue(t),!e)return At?null:It?Q:""}e&&St&&se(e.firstChild);const u=le(Nt?t:e);for(;a=u.nextNode();)de(a)||(a.content instanceof c&&we(a.content),be(a));if(Nt)return t;if(At){if(Mt)for(o=et.call(e.ownerDocument);e.firstChild;)o.appendChild(e.firstChild);else o=e;return(pt.shadowroot||pt.shadowrootmode)&&(o=it.call(r,o,!0)),o}let l=Tt?e.outerHTML:e.innerHTML;return Tt&&dt["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&m(U,e.ownerDocument.doctype.name)&&(l="\n"+l),Et&&(l=b(l,at," "),l=b(l,ot," "),l=b(l,st," ")),V&&It?V.createHTML(l):l},i.setConfig=function(t){ee(t),Ct=!0},i.clearConfig=function(){Qt=null,Ct=!1},i.isValidAttribute=function(t,e,n){Qt||ee({});const i=Vt(t),r=Vt(e);return ge(i,r,n)},i.addHook=function(t,e){"function"==typeof e&&(rt[t]=rt[t]||[],f(rt[t],e))},i.removeHook=function(t){if(rt[t])return h(rt[t])},i.removeHooks=function(t){rt[t]&&(rt[t]=[])},i.removeAllHooks=function(){rt={}},i}()}()},7295:(t,e,n)=>{t.exports=function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};e[o][0].call(u.exports,(function(t){return r(e[o][1][t]||t)}),u,u.exports,t,e,n,i)}return n[o].exports}for(var a=void 0,o=0;o0&&void 0!==arguments[0]?arguments[0]:{},i=n.defaultLayoutOptions,a=void 0===i?{}:i,s=n.algorithms,c=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,u=n.workerFactory,l=n.workerUrl;if(r(this,t),this.defaultLayoutOptions=a,this.initialized=!1,void 0===l&&void 0===u)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var h=u;void 0!==l&&void 0===u&&(h=function(t){return new Worker(t)});var f=h(l);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 i(t,[{key:"layout",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.layoutOptions,i=void 0===n?this.defaultLayoutOptions:n,r=e.logging,a=void 0!==r&&r,o=e.measureExecutionTime,s=void 0!==o&&o;return t?this.worker.postMessage({cmd:"layout",graph:t,layoutOptions:i,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(r(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 i(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(i,r){n.resolvers[e]=function(t,e){t?(n.convertGwtStyleError(t),r(t)):i(e)},n.worker.postMessage(t)}))}},{key:"receive",value:function(t,e){var n=e.data,i=t.resolvers[n.id];i&&(delete t.resolvers[n.id],n.error?i(n.error):i(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,e,i){(function(t){(function(){"use strict";var n;function r(){}function a(){}function o(){}function s(){}function c(){}function u(){}function l(){}function h(){}function f(){}function d(){}function g(){}function p(){}function b(){}function w(){}function y(){}function m(){}function v(){}function x(){}function k(){}function _(){}function E(){}function T(){}function C(){}function S(){}function A(){}function M(){}function I(){}function L(){}function D(){}function O(){}function N(){}function P(){}function B(){}function F(){}function $(){}function j(){}function R(){}function z(){}function q(){}function H(){}function Z(){}function U(){}function Y(){}function G(){}function K(){}function W(){}function X(){}function V(){}function Q(){}function J(){}function tt(){}function et(){}function nt(){}function it(){}function rt(){}function at(){}function ot(){}function st(){}function ct(){}function ut(){}function lt(){}function ht(){}function ft(){}function dt(){}function gt(){}function pt(){}function bt(){}function wt(){}function yt(){}function mt(){}function vt(){}function xt(){}function kt(){}function _t(){}function Et(){}function Tt(){}function Ct(){}function St(){}function At(){}function Mt(){}function It(){}function Lt(){}function Dt(){}function Ot(){}function Nt(){}function Pt(){}function Bt(){}function Ft(){}function $t(){}function jt(){}function Rt(){}function zt(){}function qt(){}function Ht(){}function Zt(){}function Ut(){}function Yt(){}function Gt(){}function Kt(){}function Wt(){}function Xt(){}function Vt(){}function Qt(){}function Jt(){}function te(){}function ee(){}function ne(){}function ie(){}function re(){}function ae(){}function oe(){}function se(){}function ce(){}function ue(){}function le(){}function he(){}function fe(){}function de(){}function ge(){}function pe(){}function be(){}function we(){}function ye(){}function me(){}function ve(){}function xe(){}function ke(){}function _e(){}function Ee(){}function Te(){}function Ce(){}function Se(){}function Ae(){}function Me(){}function Ie(){}function Le(){}function De(){}function Oe(){}function Ne(){}function Pe(){}function Be(){}function Fe(){}function $e(){}function je(){}function Re(){}function ze(){}function qe(){}function He(){}function Ze(){}function Ue(){}function Ye(){}function Ge(){}function Ke(){}function We(){}function Xe(){}function Ve(){}function Qe(){}function Je(){}function tn(){}function en(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function un(){}function ln(){}function hn(){}function fn(){}function dn(){}function gn(){}function pn(){}function bn(){}function wn(){}function yn(){}function mn(){}function vn(){}function xn(){}function kn(){}function _n(){}function En(){}function Tn(){}function Cn(){}function Sn(){}function An(){}function Mn(){}function In(){}function Ln(){}function Dn(){}function On(){}function Nn(){}function Pn(){}function Bn(){}function Fn(){}function $n(){}function jn(){}function Rn(){}function zn(){}function qn(){}function Hn(){}function Zn(){}function Un(){}function Yn(){}function Gn(){}function Kn(){}function Wn(){}function Xn(){}function Vn(){}function Qn(){}function Jn(){}function ti(){}function ei(){}function ni(){}function ii(){}function ri(){}function ai(){}function oi(){}function si(){}function ci(){}function ui(){}function li(){}function hi(){}function fi(){}function di(){}function gi(){}function pi(){}function bi(){}function wi(){}function yi(){}function mi(){}function vi(){}function xi(){}function ki(){}function _i(){}function Ei(){}function Ti(){}function Ci(){}function Si(){}function Ai(){}function Mi(){}function Ii(){}function Li(){}function Di(){}function Oi(){}function Ni(){}function Pi(){}function Bi(){}function Fi(){}function $i(){}function ji(){}function Ri(){}function zi(){}function qi(){}function Hi(){}function Zi(){}function Ui(){}function Yi(){}function Gi(){}function Ki(){}function Wi(){}function Xi(){}function Vi(){}function Qi(){}function Ji(){}function tr(){}function er(){}function nr(){}function ir(){}function rr(){}function ar(){}function or(){}function sr(){}function cr(){}function ur(){}function lr(){}function hr(){}function fr(){}function dr(){}function gr(){}function pr(){}function br(){}function wr(){}function yr(){}function mr(){}function vr(){}function xr(){}function kr(){}function _r(){}function Er(){}function Tr(){}function Cr(){}function Sr(){}function Ar(){}function Mr(){}function Ir(){}function Lr(){}function Dr(){}function Or(){}function Nr(){}function Pr(){}function Br(){}function Fr(){}function $r(){}function jr(){}function Rr(){}function zr(){}function qr(){}function Hr(){}function Zr(){}function Ur(){}function Yr(){}function Gr(){}function Kr(){}function Wr(){}function Xr(){}function Vr(){}function Qr(){}function Jr(){}function ta(){}function ea(){}function na(){}function ia(){}function ra(){}function aa(){}function oa(){}function sa(){}function ca(){}function ua(){}function la(){}function ha(){}function fa(){}function da(){}function ga(){}function pa(){}function ba(){}function wa(){}function ya(){}function ma(){}function va(){}function xa(){}function ka(){}function _a(){}function Ea(){}function Ta(){}function Ca(){}function Sa(){}function Aa(){}function Ma(){}function Ia(){}function La(){}function Da(){}function Oa(){}function Na(){}function Pa(){}function Ba(){}function Fa(){}function $a(){}function ja(){}function Ra(){}function za(){}function qa(){}function Ha(){}function Za(){}function Ua(){}function Ya(){}function Ga(){}function Ka(){}function Wa(){}function Xa(){}function Va(){}function Qa(){}function Ja(){}function to(){}function eo(){}function no(){}function io(){}function ro(){}function ao(){}function oo(){}function so(){}function co(){}function uo(){}function lo(){}function ho(){}function fo(){}function go(){}function po(){}function bo(){}function wo(){}function yo(){}function mo(){}function vo(){}function xo(){}function ko(){}function _o(){}function Eo(){}function To(){}function Co(){}function So(){}function Ao(){}function Mo(){}function Io(){}function Lo(){}function Do(){}function Oo(){}function No(){}function Po(){}function Bo(){}function Fo(){}function $o(){}function jo(){}function Ro(){}function zo(){}function qo(){}function Ho(){}function Zo(){}function Uo(){}function Yo(){}function Go(){}function Ko(){}function Wo(){}function Xo(){}function Vo(){}function Qo(){}function Jo(){}function ts(){}function es(){}function ns(){}function is(){}function rs(){}function as(){}function os(){}function ss(){}function cs(){}function us(){}function ls(){}function hs(){}function fs(){}function ds(){}function gs(){}function ps(){}function bs(){}function ws(){}function ys(){}function ms(){}function vs(){}function xs(){}function ks(){}function _s(){}function Es(){}function Ts(){}function Cs(){}function Ss(){}function As(){}function Ms(){}function Is(){}function Ls(){}function Ds(){}function Os(){}function Ns(){}function Ps(){}function Bs(){}function Fs(){}function $s(){}function js(){}function Rs(){}function zs(){}function qs(){}function Hs(){}function Zs(){}function Us(){}function Ys(){}function Gs(){}function Ks(){}function Ws(){}function Xs(){}function Vs(){}function Qs(){}function Js(){}function tc(){}function ec(){}function nc(){}function ic(){}function rc(){}function ac(){}function oc(){}function sc(){}function cc(){}function uc(){}function lc(){}function hc(){}function fc(){}function dc(){}function gc(){}function pc(){}function bc(){}function wc(){}function yc(){}function mc(){}function vc(){}function xc(){}function kc(){}function _c(){}function Ec(){}function Tc(){}function Cc(){}function Sc(){}function Ac(){}function Mc(){}function Ic(){}function Lc(){}function Dc(){}function Oc(){}function Nc(){}function Pc(){}function Bc(){}function Fc(){}function $c(){}function jc(){}function Rc(){}function zc(){}function qc(){}function Hc(){}function Zc(){}function Uc(){}function Yc(){}function Gc(){}function Kc(){}function Wc(){}function Xc(){}function Vc(){}function Qc(){}function Jc(){}function tu(){}function eu(){}function nu(){}function iu(){}function ru(){}function au(){}function ou(){}function su(){}function cu(){}function uu(){}function lu(){}function hu(){}function fu(){}function du(){}function gu(){}function pu(){}function bu(){}function wu(){}function yu(){}function mu(){}function vu(){}function xu(){}function ku(){}function _u(){}function Eu(){}function Tu(){}function Cu(){}function Su(){}function Au(){}function Mu(){}function Iu(){}function Lu(){}function Du(){}function Ou(){}function Nu(){}function Pu(){}function Bu(){}function Fu(){}function $u(){}function ju(){}function Ru(){}function zu(){}function qu(){}function Hu(){}function Zu(){}function Uu(){}function Yu(){}function Gu(){}function Ku(){}function Wu(){}function Xu(){}function Vu(){}function Qu(){}function Ju(){}function tl(){}function el(){}function nl(){}function il(){}function rl(){}function al(){}function ol(){}function sl(){}function cl(){}function ul(){}function ll(){}function hl(){}function fl(){}function dl(){}function gl(){}function pl(){}function bl(){}function wl(){}function yl(){}function ml(){}function vl(){}function xl(){}function kl(){}function _l(){}function El(){}function Tl(){}function Cl(){}function Sl(){}function Al(){}function Ml(){}function Il(){}function Ll(){}function Dl(){}function Ol(){}function Nl(){}function Pl(){}function Bl(){}function Fl(){}function $l(){}function jl(){bm()}function Rl(){I6()}function zl(){dnt()}function ql(){yat()}function Hl(){Ect()}function Zl(){qpt()}function Ul(){Nrt()}function Yl(){Wrt()}function Gl(){X_()}function Kl(){Y_()}function Wl(){LP()}function Xl(){V_()}function Vl(){m2()}function Ql(){J_()}function Jl(){nX()}function th(){S0()}function eh(){sV()}function nh(){cU()}function ih(){L6()}function rh(){Vst()}function ah(){A0()}function oh(){bG()}function sh(){Dkt()}function ch(){$rt()}function uh(){uU()}function lh(){wkt()}function hh(){oU()}function fh(){M0()}function dh(){n5()}function gh(){dU()}function ph(){TV()}function bh(){tE()}function wh(){dft()}function yh(){Rrt()}function mh(){d3()}function vh(){Fst()}function xh(){Hpt()}function kh(){dit()}function _h(){oft()}function Eh(){i4()}function Th(){hU()}function Ch(){iwt()}function Sh(){cft()}function Ah(){Jft()}function Mh(){AV()}function Ih(){$st()}function Lh(){Ikt()}function Dh(){O6()}function Oh(){Itt()}function Nh(){Jyt()}function Ph(){pP()}function Bh(){K2()}function Fh(){zwt()}function $h(t){yz(t)}function jh(t){this.a=t}function Rh(t){this.a=t}function zh(t){this.a=t}function qh(t){this.a=t}function Hh(t){this.a=t}function Zh(t){this.a=t}function Uh(t){this.a=t}function Yh(t){this.a=t}function Gh(t){this.a=t}function Kh(t){this.a=t}function Wh(t){this.a=t}function Xh(t){this.a=t}function Vh(t){this.a=t}function Qh(t){this.a=t}function Jh(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 uf(t){this.a=t}function lf(t){this.a=t}function hf(t){this.a=t}function ff(t){this.a=t}function df(t){this.a=t}function gf(t){this.a=t}function pf(t){this.a=t}function bf(t){this.a=t}function wf(t){this.a=t}function yf(t){this.a=t}function mf(t){this.a=t}function vf(t){this.a=t}function xf(t){this.a=t}function kf(t){this.a=t}function _f(t){this.a=t}function Ef(t){this.a=t}function Tf(t){this.a=t}function Cf(){this.a=[]}function Sf(t,e){t.a=e}function Af(t,e){t.j=e}function Mf(t,e){t.c=e}function If(t,e){t.d=e}function Lf(t,e){t.k=e}function Df(t,e){t.c=e}function Of(t,e){t.a=e}function Nf(t,e){t.a=e}function Pf(t,e){t.f=e}function Bf(t,e){t.a=e}function Ff(t,e){t.b=e}function $f(t,e){t.d=e}function jf(t,e){t.i=e}function Rf(t,e){t.o=e}function zf(t,e){t.e=e}function qf(t,e){t.g=e}function Hf(t,e){t.e=e}function Zf(t,e){t.f=e}function Uf(t,e){t.f=e}function Yf(t,e){t.n=e}function Gf(t){t.b=t.a}function Kf(t){t.c=t.d.d}function Wf(t){this.d=t}function Xf(t){this.a=t}function Vf(t){this.a=t}function Qf(t){this.a=t}function Jf(t){this.a=t}function td(t){this.a=t}function ed(t){this.a=t}function nd(t){this.a=t}function id(t){this.a=t}function rd(t){this.a=t}function ad(t){this.a=t}function od(t){this.a=t}function sd(t){this.a=t}function cd(t){this.a=t}function ud(t){this.a=t}function ld(t){this.b=t}function hd(t){this.b=t}function fd(t){this.b=t}function dd(t){this.a=t}function gd(t){this.a=t}function pd(t){this.a=t}function bd(t){this.c=t}function wd(t){this.c=t}function yd(t){this.c=t}function md(t){this.a=t}function vd(t){this.a=t}function xd(t){this.a=t}function kd(t){this.a=t}function _d(t){this.a=t}function Ed(t){this.a=t}function Td(t){this.a=t}function Cd(t){this.a=t}function Sd(t){this.a=t}function Ad(t){this.a=t}function Md(t){this.a=t}function Id(t){this.a=t}function Ld(t){this.a=t}function Dd(t){this.a=t}function Od(t){this.a=t}function Nd(t){this.a=t}function Pd(t){this.a=t}function Bd(t){this.a=t}function Fd(t){this.a=t}function $d(t){this.a=t}function jd(t){this.a=t}function Rd(t){this.a=t}function zd(t){this.a=t}function qd(t){this.a=t}function Hd(t){this.a=t}function Zd(t){this.a=t}function Ud(t){this.a=t}function Yd(t){this.a=t}function Gd(t){this.a=t}function Kd(t){this.a=t}function Wd(t){this.a=t}function Xd(t){this.a=t}function Vd(t){this.a=t}function Qd(t){this.a=t}function Jd(t){this.a=t}function tg(t){this.a=t}function eg(t){this.a=t}function ng(t){this.a=t}function ig(t){this.a=t}function rg(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 ug(t){this.a=t}function lg(t){this.e=t}function hg(t){this.a=t}function fg(t){this.a=t}function dg(t){this.a=t}function gg(t){this.a=t}function pg(t){this.a=t}function bg(t){this.a=t}function wg(t){this.a=t}function yg(t){this.a=t}function mg(t){this.a=t}function vg(t){this.a=t}function xg(t){this.a=t}function kg(t){this.a=t}function _g(t){this.a=t}function Eg(t){this.a=t}function Tg(t){this.a=t}function Cg(t){this.a=t}function Sg(t){this.a=t}function Ag(t){this.a=t}function Mg(t){this.a=t}function Ig(t){this.a=t}function Lg(t){this.a=t}function Dg(t){this.a=t}function Og(t){this.a=t}function Ng(t){this.a=t}function Pg(t){this.a=t}function Bg(t){this.a=t}function Fg(t){this.a=t}function $g(t){this.a=t}function jg(t){this.a=t}function Rg(t){this.a=t}function zg(t){this.a=t}function qg(t){this.a=t}function Hg(t){this.a=t}function Zg(t){this.a=t}function Ug(t){this.a=t}function Yg(t){this.a=t}function Gg(t){this.a=t}function Kg(t){this.a=t}function Wg(t){this.a=t}function Xg(t){this.a=t}function Vg(t){this.a=t}function Qg(t){this.a=t}function Jg(t){this.a=t}function tp(t){this.a=t}function ep(t){this.a=t}function np(t){this.a=t}function ip(t){this.a=t}function rp(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 up(t){this.a=t}function lp(t){this.c=t}function hp(t){this.b=t}function fp(t){this.a=t}function dp(t){this.a=t}function gp(t){this.a=t}function pp(t){this.a=t}function bp(t){this.a=t}function wp(t){this.a=t}function yp(t){this.a=t}function mp(t){this.a=t}function vp(t){this.a=t}function xp(t){this.a=t}function kp(t){this.a=t}function _p(t){this.a=t}function Ep(t){this.a=t}function Tp(t){this.a=t}function Cp(t){this.a=t}function Sp(t){this.a=t}function Ap(t){this.a=t}function Mp(t){this.a=t}function Ip(t){this.a=t}function Lp(t){this.a=t}function Dp(t){this.a=t}function Op(t){this.a=t}function Np(t){this.a=t}function Pp(t){this.a=t}function Bp(t){this.a=t}function Fp(t){this.a=t}function $p(t){this.a=t}function jp(t){this.a=t}function Rp(t){this.a=t}function zp(t){this.a=t}function qp(t){this.a=t}function Hp(t){this.a=t}function Zp(t){this.a=t}function Up(t){this.a=t}function Yp(t){this.a=t}function Gp(t){this.a=t}function Kp(t){this.a=t}function Wp(t){this.a=t}function Xp(t){this.a=t}function Vp(t){this.a=t}function Qp(t){this.a=t}function Jp(t){this.a=t}function tb(t){this.a=t}function eb(t){this.a=t}function nb(t){this.a=t}function ib(t){this.a=t}function rb(t){this.a=t}function ab(t){this.a=t}function ob(t){this.a=t}function sb(t){this.a=t}function cb(t){this.a=t}function ub(t){this.a=t}function lb(t){this.a=t}function hb(t){this.a=t}function fb(t){this.a=t}function db(t){this.a=t}function gb(t){this.a=t}function pb(t){this.a=t}function bb(t){this.a=t}function wb(t){this.a=t}function yb(t){this.a=t}function mb(t){this.a=t}function vb(t){this.a=t}function xb(t){this.a=t}function kb(t){this.a=t}function _b(t){this.a=t}function Eb(t){this.a=t}function Tb(t){this.a=t}function Cb(t){this.a=t}function Sb(t){this.a=t}function Ab(t){this.a=t}function Mb(t){this.a=t}function Ib(t){this.b=t}function Lb(t){this.f=t}function Db(t){this.a=t}function Ob(t){this.a=t}function Nb(t){this.a=t}function Pb(t){this.a=t}function Bb(t){this.a=t}function Fb(t){this.a=t}function $b(t){this.a=t}function jb(t){this.a=t}function Rb(t){this.a=t}function zb(t){this.a=t}function qb(t){this.a=t}function Hb(t){this.b=t}function Zb(t){this.c=t}function Ub(t){this.e=t}function Yb(t){this.a=t}function Gb(t){this.a=t}function Kb(t){this.a=t}function Wb(t){this.a=t}function Xb(t){this.a=t}function Vb(t){this.d=t}function Qb(t){this.a=t}function Jb(t){this.a=t}function tw(t){this.e=t}function ew(){this.a=0}function nw(){DM(this)}function iw(){LM(this)}function rw(){Yj(this)}function aw(){Xz(this)}function ow(){}function sw(){this.c=Koe}function cw(t,e){t.b+=e}function uw(t){t.b=new bv}function lw(t){return t.e}function hw(t){return t.a}function fw(t){return t.a}function dw(t){return t.a}function gw(t){return t.a}function pw(t){return t.a}function bw(){return null}function ww(){return null}function yw(t,e){t.b=e-t.b}function mw(t,e){t.a=e-t.a}function vw(t,e){e.ad(t.a)}function xw(t,e){t.e=e,e.b=t}function kw(t){wP(),this.a=t}function _w(t){wP(),this.a=t}function Ew(t){wP(),this.a=t}function Tw(t){WR(),this.a=t}function Cw(t){DH(),yjt.be(t)}function Sw(){IL.call(this)}function Aw(){IL.call(this)}function Mw(){Sw.call(this)}function Iw(){Sw.call(this)}function Lw(){Sw.call(this)}function Dw(){Sw.call(this)}function Ow(){Sw.call(this)}function Nw(){Sw.call(this)}function Pw(){Sw.call(this)}function Bw(){Sw.call(this)}function Fw(){Sw.call(this)}function $w(){Sw.call(this)}function jw(){Sw.call(this)}function Rw(){this.a=this}function zw(){this.Bb|=256}function qw(){this.b=new PA}function Hw(){Hw=I,new rw}function Zw(){Mw.call(this)}function Uw(t,e){t.length=e}function Yw(t,e){nB(t.a,e)}function Gw(t,e){$3(t.e,e)}function Kw(t){kht(t.c,t.b)}function Ww(t){this.a=function(t){var e;return(e=wct(t))>34028234663852886e22?JEt:e<-34028234663852886e22?tTt:e}(t)}function Xw(){this.a=new rw}function Vw(){this.a=new rw}function Qw(){this.a=new iw}function Jw(){this.a=new iw}function ty(){this.a=new iw}function ey(){this.a=new vt}function ny(){this.a=new KW}function iy(){this.a=new fe}function ry(){this.a=new k_}function ay(){this.a=new bY}function oy(){this.a=new NZ}function sy(){this.a=new oN}function cy(){this.a=new iw}function uy(){this.a=new iw}function ly(){this.a=new iw}function hy(){this.a=new iw}function fy(){this.d=new iw}function dy(){this.a=new Xw}function gy(){this.a=new rw}function py(){this.b=new rw}function by(){this.b=new iw}function wy(){this.e=new iw}function yy(){this.d=new iw}function my(){this.a=new rh}function vy(){iw.call(this)}function xy(){Qw.call(this)}function ky(){uN.call(this)}function _y(){uy.call(this)}function Ey(){Ty.call(this)}function Ty(){ow.call(this)}function Cy(){ow.call(this)}function Sy(){Cy.call(this)}function Ay(){_H.call(this)}function My(){_H.call(this)}function Iy(){sm.call(this)}function Ly(){sm.call(this)}function Dy(){sm.call(this)}function Oy(){cm.call(this)}function Ny(){T_.call(this)}function Py(){ic.call(this)}function By(){ic.call(this)}function Fy(){dm.call(this)}function $y(){dm.call(this)}function jy(){rw.call(this)}function Ry(){rw.call(this)}function zy(){rw.call(this)}function qy(){Xw.call(this)}function Hy(){E0.call(this)}function Zy(){zw.call(this)}function Uy(){UI.call(this)}function Yy(){UI.call(this)}function Gy(){rw.call(this)}function Ky(){rw.call(this)}function Wy(){rw.call(this)}function Xy(){vc.call(this)}function Vy(){vc.call(this)}function Qy(){Xy.call(this)}function Jy(){Bl.call(this)}function tm(t){jJ.call(this,t)}function em(t){jJ.call(this,t)}function nm(t){Gh.call(this,t)}function im(t){e_.call(this,t)}function rm(t){im.call(this,t)}function am(t){e_.call(this,t)}function om(){this.a=new T_}function sm(){this.a=new Xw}function cm(){this.a=new rw}function um(){this.a=new iw}function lm(){this.j=new iw}function hm(){this.a=new Ko}function fm(){this.a=new dk}function dm(){this.a=new mc}function gm(){gm=I,ejt=new $v}function pm(){pm=I,tjt=new Fv}function bm(){bm=I,Y$t=new a}function wm(){wm=I,sjt=new mL}function ym(t){im.call(this,t)}function mm(t){im.call(this,t)}function vm(t){lK.call(this,t)}function xm(t){lK.call(this,t)}function km(t){iP.call(this,t)}function _m(t){kct.call(this,t)}function Em(t){r_.call(this,t)}function Tm(t){o_.call(this,t)}function Cm(t){o_.call(this,t)}function Sm(t){o_.call(this,t)}function Am(t){P$.call(this,t)}function Mm(t){Am.call(this,t)}function Im(){Tf.call(this,{})}function Lm(t){HI(),this.a=t}function Dm(t){t.b=null,t.c=0}function Om(t,e){t.a=e,function(t){var e,i,r;for(function(t){var e,i,r;for(i=new wd(t.a.a.b);i.a0&&((!fM(t.a.c)||!e.n.d)&&(!dM(t.a.c)||!e.n.b)&&(e.g.d-=n.Math.max(0,r/2-.5)),(!fM(t.a.c)||!e.n.a)&&(!dM(t.a.c)||!e.n.c)&&(e.g.a+=n.Math.max(0,r-1)))}(t),r=new iw,i=new wd(t.a.a.b);i.a0&&((!fM(t.a.c)||!e.n.d)&&(!dM(t.a.c)||!e.n.b)&&(e.g.d+=n.Math.max(0,r/2-.5)),(!fM(t.a.c)||!e.n.a)&&(!dM(t.a.c)||!e.n.c)&&(e.g.a-=r-1))}(t)}(t)}function Nm(t,e,n){t.a[e.g]=n}function Pm(t,e,n){!function(t,e,n){var i,r;for(EM(t,t.j+e,t.k+n),r=new YI((!t.a&&(t.a=new GI(Xre,t,5)),t.a));r.e!=r.i.gc();)vM(i=VP(hnt(r),469),i.a+e,i.b+n);_M(t,t.b+e,t.c+n)}(n,t,e)}function Bm(t,e){!function(t,e){fM(t.f)?function(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new wd(t.d);i.a=t.length)return{done:!0};var i=t[n++];return{value:[i,e.get(i)],done:!1}}}},function(){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)}()||(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[mTt]=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 zv(t){return t.a?t.b:0}function qv(t){return t.a?t.b:0}function Hv(t,e){return oQ(t,e)}function Zv(t,e){return HZ(t,e)}function Uv(t,e){return t.f=e,t}function Yv(t,e){return t.c=e,t}function Gv(t,e){return t.a=e,t}function Kv(t,e){return t.f=e,t}function Wv(t,e){return t.k=e,t}function Xv(t,e){return t.a=e,t}function Vv(t,e){return t.e=e,t}function Qv(t,e){t.b=!0,t.d=e}function Jv(t,e){return t?0:e-1}function tx(t,e){return t.b=e,t}function ex(t,e){return t.a=e,t}function nx(t,e){return t.c=e,t}function ix(t,e){return t.d=e,t}function rx(t,e){return t.e=e,t}function ax(t,e){return t.f=e,t}function ox(t,e){return t.a=e,t}function sx(t,e){return t.b=e,t}function cx(t,e){return t.c=e,t}function ux(t,e){return t.c=e,t}function lx(t,e){return t.b=e,t}function hx(t,e){return t.d=e,t}function fx(t,e){return t.e=e,t}function dx(t,e){return t.g=e,t}function gx(t,e){return t.a=e,t}function px(t,e){return t.i=e,t}function bx(t,e){return t.j=e,t}function wx(t,e){return t.k=e,t}function yx(t,e,n){!function(t,e,n){jj(t,new JE(e.a,n.a))}(t.a,e,n)}function mx(t){gq.call(this,t)}function vx(t){gq.call(this,t)}function xx(t){cP.call(this,t)}function kx(t){I9.call(this,t)}function _x(t){RJ.call(this,t)}function Ex(t){$q.call(this,t)}function Tx(t){$q.call(this,t)}function Cx(){uI.call(this,"")}function Sx(){this.a=0,this.b=0}function Ax(){this.b=0,this.a=0}function Mx(t,e){t.b=0,R1(t,e)}function Ix(t,e){return t.c._b(e)}function Lx(t){return t.e&&t.e()}function Dx(t){return t?t.d:null}function Ox(t,e){return F7(t.b,e)}function Nx(t){return uO(t),t.o}function Px(){Px=I,Ire=function(){var t,e;Jyt();try{if(e=VP(Jat((mE(),ooe),BNt),2014))return e}catch(e){if(!MI(e=k4(e),102))throw lw(e);t=e,L$((ZM(),t))}return new sc}()}function Bx(){var t;Bx=I,Lre=uae?VP(Hft((mE(),ooe),BNt),2016):(t=VP(MI(oZ((mE(),ooe),BNt),555)?oZ(ooe,BNt):new Uht,555),uae=!0,function(t){t.q||(t.q=!0,t.p=H3(t,0),t.a=H3(t,1),S2(t.a,0),t.f=H3(t,2),S2(t.f,1),C2(t.f,2),t.n=H3(t,3),C2(t.n,3),C2(t.n,4),C2(t.n,5),C2(t.n,6),t.g=H3(t,4),S2(t.g,7),C2(t.g,8),t.c=H3(t,5),S2(t.c,7),S2(t.c,8),t.i=H3(t,6),S2(t.i,9),S2(t.i,10),S2(t.i,11),S2(t.i,12),C2(t.i,13),t.j=H3(t,7),S2(t.j,9),t.d=H3(t,8),S2(t.d,3),S2(t.d,4),S2(t.d,5),S2(t.d,6),C2(t.d,7),C2(t.d,8),C2(t.d,9),C2(t.d,10),t.b=H3(t,9),C2(t.b,0),C2(t.b,1),t.e=H3(t,10),C2(t.e,1),C2(t.e,2),C2(t.e,3),C2(t.e,4),S2(t.e,5),S2(t.e,6),S2(t.e,7),S2(t.e,8),S2(t.e,9),S2(t.e,10),C2(t.e,11),t.k=H3(t,11),C2(t.k,0),C2(t.k,1),t.o=Z3(t,12),t.s=Z3(t,13))}(t),function(t){var e,n,i,r,a,o,s;t.r||(t.r=!0,_2(t,"graph"),E2(t,"graph"),T2(t,BNt),b4(t.o,"T"),hV(AH(t.a),t.p),hV(AH(t.f),t.a),hV(AH(t.n),t.f),hV(AH(t.g),t.n),hV(AH(t.c),t.n),hV(AH(t.i),t.c),hV(AH(t.j),t.c),hV(AH(t.d),t.f),hV(AH(t.e),t.a),EY(t.p,cHt,YCt,!0,!0,!1),s=D4(o=c6(t.p,t.p,"setProperty")),e=Cq(t.o),n=new sw,hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),mot(n,i=Sq(s)),Qat(o,e,$Nt),Qat(o,e=Sq(s),jNt),s=D4(o=c6(t.p,null,"getProperty")),e=Cq(t.o),n=Sq(s),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Qat(o,e,$Nt),(a=fst(o,e=Sq(s),null))&&a.Fi(),o=c6(t.p,t.wb.e,"hasProperty"),e=Cq(t.o),n=new sw,hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Qat(o,e,$Nt),Irt(o=c6(t.p,t.p,"copyProperties"),t.p,RNt),o=c6(t.p,null,"getAllProperties"),e=Cq(t.wb.P),n=Cq(t.o),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),i=new sw,hV((!n.d&&(n.d=new GI(loe,n,1)),n.d),i),n=Cq(t.wb.M),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),(r=fst(o,e,null))&&r.Fi(),EY(t.a,Wre,sNt,!0,!1,!0),Art(VP(a1(oH(t.a),0),18),t.k,null,zNt,0,-1,Wre,!1,!1,!0,!0,!1,!1,!1),EY(t.f,Vre,uNt,!0,!1,!0),Art(VP(a1(oH(t.f),0),18),t.g,VP(a1(oH(t.g),0),18),"labels",0,-1,Vre,!1,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.f),1),34),t.wb._,qNt,null,0,1,Vre,!1,!1,!0,!1,!0,!1),EY(t.n,Qre,"ElkShape",!0,!1,!0),U2(VP(a1(oH(t.n),0),34),t.wb.t,HNt,lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.n),1),34),t.wb.t,ZNt,lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.n),2),34),t.wb.t,"x",lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.n),3),34),t.wb.t,"y",lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),Irt(o=c6(t.n,null,"setDimensions"),t.wb.t,ZNt),Irt(o,t.wb.t,HNt),Irt(o=c6(t.n,null,"setLocation"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),EY(t.g,oae,pNt,!1,!1,!0),Art(VP(a1(oH(t.g),0),18),t.f,VP(a1(oH(t.f),0),18),UNt,0,1,oae,!1,!1,!0,!1,!1,!1,!1),U2(VP(a1(oH(t.g),1),34),t.wb._,YNt,"",0,1,oae,!1,!1,!0,!1,!0,!1),EY(t.c,Jre,lNt,!0,!1,!0),Art(VP(a1(oH(t.c),0),18),t.d,VP(a1(oH(t.d),1),18),"outgoingEdges",0,-1,Jre,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.c),1),18),t.d,VP(a1(oH(t.d),2),18),"incomingEdges",0,-1,Jre,!1,!1,!0,!1,!0,!1,!1),EY(t.i,sae,bNt,!1,!1,!0),Art(VP(a1(oH(t.i),0),18),t.j,VP(a1(oH(t.j),0),18),"ports",0,-1,sae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.i),1),18),t.i,VP(a1(oH(t.i),2),18),GNt,0,-1,sae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.i),2),18),t.i,VP(a1(oH(t.i),1),18),UNt,0,1,sae,!1,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.i),3),18),t.d,VP(a1(oH(t.d),0),18),"containedEdges",0,-1,sae,!1,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.i),4),34),t.wb.e,KNt,null,0,1,sae,!0,!0,!1,!1,!0,!0),EY(t.j,cae,wNt,!1,!1,!0),Art(VP(a1(oH(t.j),0),18),t.i,VP(a1(oH(t.i),0),18),UNt,0,1,cae,!1,!1,!0,!1,!1,!1,!1),EY(t.d,tae,hNt,!1,!1,!0),Art(VP(a1(oH(t.d),0),18),t.i,VP(a1(oH(t.i),3),18),"containingNode",0,1,tae,!1,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.d),1),18),t.c,VP(a1(oH(t.c),0),18),WNt,0,-1,tae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.d),2),18),t.c,VP(a1(oH(t.c),1),18),XNt,0,-1,tae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.d),3),18),t.e,VP(a1(oH(t.e),5),18),VNt,0,-1,tae,!1,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.d),4),34),t.wb.e,"hyperedge",null,0,1,tae,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.d),5),34),t.wb.e,KNt,null,0,1,tae,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.d),6),34),t.wb.e,"selfloop",null,0,1,tae,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.d),7),34),t.wb.e,"connected",null,0,1,tae,!0,!0,!1,!1,!0,!0),EY(t.b,Xre,cNt,!1,!1,!0),U2(VP(a1(oH(t.b),0),34),t.wb.t,"x",lTt,1,1,Xre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.b),1),34),t.wb.t,"y",lTt,1,1,Xre,!1,!1,!0,!1,!0,!1),Irt(o=c6(t.b,null,"set"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),EY(t.e,eae,fNt,!1,!1,!0),U2(VP(a1(oH(t.e),0),34),t.wb.t,"startX",null,0,1,eae,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.e),1),34),t.wb.t,"startY",null,0,1,eae,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.e),2),34),t.wb.t,"endX",null,0,1,eae,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.e),3),34),t.wb.t,"endY",null,0,1,eae,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.e),4),18),t.b,null,QNt,0,-1,eae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.e),5),18),t.d,VP(a1(oH(t.d),3),18),UNt,0,1,eae,!1,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.e),6),18),t.c,null,JNt,0,1,eae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.e),7),18),t.c,null,tPt,0,1,eae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.e),8),18),t.e,VP(a1(oH(t.e),9),18),ePt,0,-1,eae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.e),9),18),t.e,VP(a1(oH(t.e),8),18),nPt,0,-1,eae,!1,!1,!0,!1,!0,!1,!1),U2(VP(a1(oH(t.e),10),34),t.wb._,qNt,null,0,1,eae,!1,!1,!0,!1,!0,!1),Irt(o=c6(t.e,null,"setStartLocation"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),Irt(o=c6(t.e,null,"setEndLocation"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),EY(t.k,rjt,"ElkPropertyToValueMapEntry",!1,!1,!1),e=Cq(t.o),n=new sw,hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Aht(VP(a1(oH(t.k),0),34),e,"key",rjt,!1,!1,!0,!1),U2(VP(a1(oH(t.k),1),34),t.s,jNt,null,0,1,rjt,!1,!1,!0,!1,!0,!1),Vz(t.o,S9t,"IProperty",!0),Vz(t.s,G$t,"PropertyValue",!0),u7(t,BNt))}(t),Srt(t),ZZ(ooe,BNt,t),t)}function Fx(){Fx=I,poe=function(){var t,e;Jyt();try{if(e=VP(Jat((mE(),ooe),hFt),1941))return e}catch(e){if(!MI(e=k4(e),102))throw lw(e);t=e,L$((ZM(),t))}return new Hc}()}function $x(){$x=I,Ise=function(){var t,e;rQ();try{if(e=VP(Jat((mE(),ooe),qFt),2024))return e}catch(e){if(!MI(e=k4(e),102))throw lw(e);t=e,L$((ZM(),t))}return new Bu}()}function jx(){var t;jx=I,Lse=gce?VP(Hft((mE(),ooe),qFt),1945):(UA(Mse,new Wu),UA(oce,new ol),UA(sce,new wl),UA(cce,new Al),UA(fRt,new Dl),UA(Zv(Vce,1),new Ol),UA(Fjt,new Nl),UA(Rjt,new Pl),UA(fRt,new ju),UA(fRt,new Ru),UA(fRt,new zu),UA(Hjt,new qu),UA(fRt,new Hu),UA(J$t,new Zu),UA(J$t,new Uu),UA(fRt,new Yu),UA(Zjt,new Gu),UA(fRt,new Ku),UA(fRt,new Xu),UA(fRt,new Vu),UA(fRt,new Qu),UA(fRt,new Ju),UA(Zv(Vce,1),new tl),UA(fRt,new el),UA(fRt,new nl),UA(J$t,new il),UA(J$t,new rl),UA(fRt,new al),UA(Gjt,new sl),UA(fRt,new cl),UA(Jjt,new ul),UA(fRt,new ll),UA(fRt,new hl),UA(fRt,new fl),UA(fRt,new dl),UA(J$t,new gl),UA(J$t,new pl),UA(fRt,new bl),UA(fRt,new yl),UA(fRt,new ml),UA(fRt,new vl),UA(fRt,new xl),UA(fRt,new kl),UA(eRt,new _l),UA(fRt,new El),UA(fRt,new Tl),UA(fRt,new Cl),UA(eRt,new Sl),UA(Jjt,new Ml),UA(fRt,new Il),UA(Gjt,new Ll),t=VP(MI(oZ((mE(),ooe),qFt),586)?oZ(ooe,qFt):new Lz,586),gce=!0,function(t){t.N||(t.N=!0,t.b=H3(t,0),C2(t.b,0),C2(t.b,1),C2(t.b,2),t.bb=H3(t,1),C2(t.bb,0),C2(t.bb,1),t.fb=H3(t,2),C2(t.fb,3),C2(t.fb,4),S2(t.fb,5),t.qb=H3(t,3),C2(t.qb,0),S2(t.qb,1),S2(t.qb,2),C2(t.qb,3),C2(t.qb,4),S2(t.qb,5),C2(t.qb,6),t.a=Z3(t,4),t.c=Z3(t,5),t.d=Z3(t,6),t.e=Z3(t,7),t.f=Z3(t,8),t.g=Z3(t,9),t.i=Z3(t,10),t.j=Z3(t,11),t.k=Z3(t,12),t.n=Z3(t,13),t.o=Z3(t,14),t.p=Z3(t,15),t.q=Z3(t,16),t.s=Z3(t,17),t.r=Z3(t,18),t.t=Z3(t,19),t.u=Z3(t,20),t.v=Z3(t,21),t.w=Z3(t,22),t.B=Z3(t,23),t.A=Z3(t,24),t.C=Z3(t,25),t.D=Z3(t,26),t.F=Z3(t,27),t.G=Z3(t,28),t.H=Z3(t,29),t.J=Z3(t,30),t.I=Z3(t,31),t.K=Z3(t,32),t.M=Z3(t,33),t.L=Z3(t,34),t.P=Z3(t,35),t.Q=Z3(t,36),t.R=Z3(t,37),t.S=Z3(t,38),t.T=Z3(t,39),t.U=Z3(t,40),t.V=Z3(t,41),t.X=Z3(t,42),t.W=Z3(t,43),t.Y=Z3(t,44),t.Z=Z3(t,45),t.$=Z3(t,46),t._=Z3(t,47),t.ab=Z3(t,48),t.cb=Z3(t,49),t.db=Z3(t,50),t.eb=Z3(t,51),t.gb=Z3(t,52),t.hb=Z3(t,53),t.ib=Z3(t,54),t.jb=Z3(t,55),t.kb=Z3(t,56),t.lb=Z3(t,57),t.mb=Z3(t,58),t.nb=Z3(t,59),t.ob=Z3(t,60),t.pb=Z3(t,61))}(t),function(t){var e;t.O||(t.O=!0,_2(t,"type"),E2(t,"ecore.xml.type"),T2(t,qFt),e=VP(Hft((mE(),ooe),qFt),1945),hV(AH(t.fb),t.b),EY(t.b,Mse,"AnyType",!1,!1,!0),U2(VP(a1(oH(t.b),0),34),t.wb.D,tFt,null,0,-1,Mse,!1,!1,!0,!1,!1,!1),U2(VP(a1(oH(t.b),1),34),t.wb.D,"any",null,0,-1,Mse,!0,!0,!0,!1,!1,!0),U2(VP(a1(oH(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,Mse,!1,!1,!0,!1,!1,!1),EY(t.bb,oce,GFt,!1,!1,!0),U2(VP(a1(oH(t.bb),0),34),t.gb,"data",null,0,1,oce,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.bb),1),34),t.gb,dPt,null,1,1,oce,!1,!1,!0,!1,!0,!1),EY(t.fb,sce,KFt,!1,!1,!0),U2(VP(a1(oH(t.fb),0),34),e.gb,"rawValue",null,0,1,sce,!0,!0,!0,!1,!0,!0),U2(VP(a1(oH(t.fb),1),34),e.a,jNt,null,0,1,sce,!0,!0,!0,!1,!0,!0),Art(VP(a1(oH(t.fb),2),18),t.wb.q,null,"instanceType",1,1,sce,!1,!1,!0,!1,!1,!1,!1),EY(t.qb,cce,WFt,!1,!1,!0),U2(VP(a1(oH(t.qb),0),34),t.wb.D,tFt,null,0,-1,null,!1,!1,!0,!1,!1,!1),Art(VP(a1(oH(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),U2(VP(a1(oH(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Art(VP(a1(oH(t.qb),5),18),t.bb,null,x$t,0,-2,null,!0,!0,!0,!0,!1,!1,!0),U2(VP(a1(oH(t.qb),6),34),t.gb,YNt,null,0,-2,null,!0,!0,!0,!1,!1,!0),Vz(t.a,G$t,"AnySimpleType",!0),Vz(t.c,fRt,"AnyURI",!0),Vz(t.d,Zv(Vce,1),"Base64Binary",!0),Vz(t.e,Wce,"Boolean",!0),Vz(t.f,Fjt,"BooleanObject",!0),Vz(t.g,Vce,"Byte",!0),Vz(t.i,Rjt,"ByteObject",!0),Vz(t.j,fRt,"Date",!0),Vz(t.k,fRt,"DateTime",!0),Vz(t.n,mRt,"Decimal",!0),Vz(t.o,Qce,"Double",!0),Vz(t.p,Hjt,"DoubleObject",!0),Vz(t.q,fRt,"Duration",!0),Vz(t.s,J$t,"ENTITIES",!0),Vz(t.r,J$t,"ENTITIESBase",!0),Vz(t.t,fRt,e$t,!0),Vz(t.u,Jce,"Float",!0),Vz(t.v,Zjt,"FloatObject",!0),Vz(t.w,fRt,"GDay",!0),Vz(t.B,fRt,"GMonth",!0),Vz(t.A,fRt,"GMonthDay",!0),Vz(t.C,fRt,"GYear",!0),Vz(t.D,fRt,"GYearMonth",!0),Vz(t.F,Zv(Vce,1),"HexBinary",!0),Vz(t.G,fRt,"ID",!0),Vz(t.H,fRt,"IDREF",!0),Vz(t.J,J$t,"IDREFS",!0),Vz(t.I,J$t,"IDREFSBase",!0),Vz(t.K,Kce,"Int",!0),Vz(t.M,ERt,"Integer",!0),Vz(t.L,Gjt,"IntObject",!0),Vz(t.P,fRt,"Language",!0),Vz(t.Q,Xce,"Long",!0),Vz(t.R,Jjt,"LongObject",!0),Vz(t.S,fRt,"Name",!0),Vz(t.T,fRt,n$t,!0),Vz(t.U,ERt,"NegativeInteger",!0),Vz(t.V,fRt,f$t,!0),Vz(t.X,J$t,"NMTOKENS",!0),Vz(t.W,J$t,"NMTOKENSBase",!0),Vz(t.Y,ERt,"NonNegativeInteger",!0),Vz(t.Z,ERt,"NonPositiveInteger",!0),Vz(t.$,fRt,"NormalizedString",!0),Vz(t._,fRt,"NOTATION",!0),Vz(t.ab,fRt,"PositiveInteger",!0),Vz(t.cb,fRt,"QName",!0),Vz(t.db,tue,"Short",!0),Vz(t.eb,eRt,"ShortObject",!0),Vz(t.gb,fRt,aEt,!0),Vz(t.hb,fRt,"Time",!0),Vz(t.ib,fRt,"Token",!0),Vz(t.jb,tue,"UnsignedByte",!0),Vz(t.kb,eRt,"UnsignedByteObject",!0),Vz(t.lb,Xce,"UnsignedInt",!0),Vz(t.mb,Jjt,"UnsignedIntObject",!0),Vz(t.nb,ERt,"UnsignedLong",!0),Vz(t.ob,Kce,"UnsignedShort",!0),Vz(t.pb,Gjt,"UnsignedShortObject",!0),u7(t,qFt),function(t){tdt(t.a,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"anySimpleType"])),tdt(t.b,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"anyType",nFt,tFt])),tdt(VP(a1(oH(t.b),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,PFt,wPt,":mixed"])),tdt(VP(a1(oH(t.b),1),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,PFt,zFt,HFt,wPt,":1",QFt,"lax"])),tdt(VP(a1(oH(t.b),2),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,OFt,zFt,HFt,wPt,":2",QFt,"lax"])),tdt(t.c,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"anyURI",RFt,BFt])),tdt(t.d,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"base64Binary",RFt,BFt])),tdt(t.e,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,Kkt,RFt,BFt])),tdt(t.f,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"boolean:Object",gFt,Kkt])),tdt(t.g,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,qBt])),tdt(t.i,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"byte:Object",gFt,qBt])),tdt(t.j,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"date",RFt,BFt])),tdt(t.k,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"dateTime",RFt,BFt])),tdt(t.n,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"decimal",RFt,BFt])),tdt(t.o,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,ZBt,RFt,BFt])),tdt(t.p,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"double:Object",gFt,ZBt])),tdt(t.q,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"duration",RFt,BFt])),tdt(t.s,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"ENTITIES",gFt,JFt,t$t,"1"])),tdt(t.r,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,JFt,FFt,e$t])),tdt(t.t,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,e$t,gFt,n$t])),tdt(t.u,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,UBt,RFt,BFt])),tdt(t.v,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"float:Object",gFt,UBt])),tdt(t.w,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gDay",RFt,BFt])),tdt(t.B,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gMonth",RFt,BFt])),tdt(t.A,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gMonthDay",RFt,BFt])),tdt(t.C,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gYear",RFt,BFt])),tdt(t.D,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gYearMonth",RFt,BFt])),tdt(t.F,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"hexBinary",RFt,BFt])),tdt(t.G,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"ID",gFt,n$t])),tdt(t.H,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"IDREF",gFt,n$t])),tdt(t.J,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"IDREFS",gFt,i$t,t$t,"1"])),tdt(t.I,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,i$t,FFt,"IDREF"])),tdt(t.K,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,YBt])),tdt(t.M,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,r$t])),tdt(t.L,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"int:Object",gFt,YBt])),tdt(t.P,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"language",gFt,a$t,o$t,s$t])),tdt(t.Q,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,GBt])),tdt(t.R,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"long:Object",gFt,GBt])),tdt(t.S,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"Name",gFt,a$t,o$t,c$t])),tdt(t.T,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,n$t,gFt,"Name",o$t,u$t])),tdt(t.U,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"negativeInteger",gFt,l$t,h$t,"-1"])),tdt(t.V,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,f$t,gFt,a$t,o$t,"\\c+"])),tdt(t.X,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"NMTOKENS",gFt,d$t,t$t,"1"])),tdt(t.W,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,d$t,FFt,f$t])),tdt(t.Y,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,g$t,gFt,r$t,p$t,"0"])),tdt(t.Z,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,l$t,gFt,r$t,h$t,"0"])),tdt(t.$,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,b$t,gFt,Xkt,RFt,"replace"])),tdt(t._,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"NOTATION",RFt,BFt])),tdt(t.ab,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"positiveInteger",gFt,g$t,p$t,"1"])),tdt(t.bb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"processingInstruction_._type",nFt,"empty"])),tdt(VP(a1(oH(t.bb),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,DFt,wPt,"data"])),tdt(VP(a1(oH(t.bb),1),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,DFt,wPt,dPt])),tdt(t.cb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"QName",RFt,BFt])),tdt(t.db,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,KBt])),tdt(t.eb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"short:Object",gFt,KBt])),tdt(t.fb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"simpleAnyType",nFt,LFt])),tdt(VP(a1(oH(t.fb),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,":3",nFt,LFt])),tdt(VP(a1(oH(t.fb),1),34),eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,":4",nFt,LFt])),tdt(VP(a1(oH(t.fb),2),18),eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,":5",nFt,LFt])),tdt(t.gb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,Xkt,RFt,"preserve"])),tdt(t.hb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"time",RFt,BFt])),tdt(t.ib,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,a$t,gFt,b$t,RFt,BFt])),tdt(t.jb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,w$t,h$t,"255",p$t,"0"])),tdt(t.kb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedByte:Object",gFt,w$t])),tdt(t.lb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,y$t,h$t,"4294967295",p$t,"0"])),tdt(t.mb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedInt:Object",gFt,y$t])),tdt(t.nb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedLong",gFt,g$t,h$t,m$t,p$t,"0"])),tdt(t.ob,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,v$t,h$t,"65535",p$t,"0"])),tdt(t.pb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedShort:Object",gFt,v$t])),tdt(t.qb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"",nFt,tFt])),tdt(VP(a1(oH(t.qb),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,PFt,wPt,":mixed"])),tdt(VP(a1(oH(t.qb),1),18),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,DFt,wPt,"xmlns:prefix"])),tdt(VP(a1(oH(t.qb),2),18),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,DFt,wPt,"xsi:schemaLocation"])),tdt(VP(a1(oH(t.qb),3),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,"cDATA",$Ft,jFt])),tdt(VP(a1(oH(t.qb),4),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,"comment",$Ft,jFt])),tdt(VP(a1(oH(t.qb),5),18),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,x$t,$Ft,jFt])),tdt(VP(a1(oH(t.qb),6),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,YNt,$Ft,jFt]))}(t))}(t),Pz((vE(),goe),t,new $u),Srt(t),ZZ(ooe,qFt,t),t)}function Rx(){Rx=I,Sae=u0()}function zx(){throw lw(new Pw)}function qx(){throw lw(new Pw)}function Hx(){throw lw(new Pw)}function Zx(){throw lw(new Pw)}function Ux(){throw lw(new Pw)}function Yx(){throw lw(new Pw)}function Gx(t){this.a=new x_(t)}function Kx(t){Ext(),function(t,e){var n,i,r,a,o,s,c,u;if(n=0,o=0,a=e.length,s=null,u=new Dv,o1?UU(Z$(e.a[1],32),ZU(e.a[0],cTt)):ZU(e.a[0],cTt),WY(n9(e.e,n))))}(t,new AM(c));for(t.d=u.a.length,r=0;r0}(VP(t,33))?$L(i,(Vet(),E9t))||$L(i,T9t):$L(i,(Vet(),E9t));if(MI(t,352))return $L(i,(Vet(),k9t));if(MI(t,186))return $L(i,(Vet(),C9t));if(MI(t,354))return $L(i,(Vet(),_9t))}return!0}(t,e)}function sk(t,e,n){t.splice(e,n)}function ck(t){t.c?ypt(t):mpt(t)}function uk(t){this.a=0,this.b=t}function lk(){this.a=new Gdt(y6t)}function hk(){this.b=new Gdt(r5t)}function fk(){this.b=new Gdt(u8t)}function dk(){this.b=new Gdt(u8t)}function gk(){throw lw(new Pw)}function pk(){throw lw(new Pw)}function bk(){throw lw(new Pw)}function wk(){throw lw(new Pw)}function yk(){throw lw(new Pw)}function mk(){throw lw(new Pw)}function vk(){throw lw(new Pw)}function xk(){throw lw(new Pw)}function kk(){throw lw(new Pw)}function _k(){throw lw(new Pw)}function Ek(t){this.a=new Tk(t)}function Tk(t){!function(t,e,n){var i;t.b=e,t.a=n,i=512==(512&t.a)?new Jy:new Bl,t.c=function(t,e,n){var i,r,a;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,16==(16&t.e)&&(t.i=function(t){var e,n,i,r,a;for(i=t.length,e=new Iv,a=0;ae&&e0)){if(a=-1,32==Gz(h.c,0)){if(f=l[0],QQ(e,l),l[0]>f)continue}else if(FH(e,h.c,l[0])){l[0]+=h.c.length;continue}return 0}if(a<0&&h.a&&(a=u,o=l[0],r=0),a>=0){if(c=h.b,u==a&&0==(c-=r++))return 0;if(!Nxt(e,l,h,c,s)){u=a-1,l[0]=o;continue}}else if(a=-1,!Nxt(e,l,h,0,s))return 0}return function(t,e){var i,r,a,o,s,c;if(0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>eEt&&QG(e,t.p-TEt),s=e.q.getDate(),mZ(e,1),t.k>=0&&function(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),Myt(t,n)}(e,t.k),t.c>=0?mZ(e,t.c):t.k>=0?(r=35-new v5(e.q.getFullYear()-TEt,e.q.getMonth(),35).q.getDate(),mZ(e,n.Math.min(r,s))):mZ(e,s),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),function(t,e){t.q.setHours(e),Myt(t,e)}(e,24==t.f&&t.g?0:t.f),t.j>=0&&function(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),Myt(t,n)}(e,t.j),t.n>=0&&function(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),Myt(t,n)}(e,t.n),t.i>=0&&EA(e,e9(n9(qat(B3(e.q.getTime()),hEt),hEt),t.i)),t.a&&(QG(a=new s_,a.q.getFullYear()-TEt-80),OE(B3(e.q.getTime()),B3(a.q.getTime()))&&QG(e,a.q.getFullYear()-TEt+100)),t.d>=0)if(-1==t.c)(i=(7+t.d-e.q.getDay())%7)>3&&(i-=7),c=e.q.getMonth(),mZ(e,e.q.getDate()+i),e.q.getMonth()!=c&&mZ(e,e.q.getDate()+(i>0?-7:7));else if(e.q.getDay()!=t.d)return!1;return t.o>eEt&&(o=e.q.getTimezoneOffset(),EA(e,e9(B3(e.q.getTime()),60*(t.o-o)*hEt))),!0}(s,i)?l[0]:0}(t,e,a=new v5((r=new s_).q.getFullYear()-TEt,r.q.getMonth(),r.q.getDate())))||i0}function OE(t,e){return x7(t,e)<0}function NE(t,e){return t.a.get(e)}function PE(t,e){return Sj(t.e,e)}function BE(t){return yz(t),!1}function FE(t){NU.call(this,t,21)}function $E(t,e){yZ.call(this,t,e)}function jE(t,e){Yk.call(this,t,e)}function RE(t,e){Yk.call(this,t,e)}function zE(t){XR(),iP.call(this,t)}function qE(t,e){t$(t,t.length,e)}function HE(t,e){aR(t,t.length,e)}function ZE(t,e,n){t.splice(e,0,n)}function UE(t,e){this.d=t,this.e=e}function YE(t,e){this.b=t,this.a=e}function GE(t,e){this.b=t,this.a=e}function KE(t,e){this.b=t,this.a=e}function WE(t,e){this.a=t,this.b=e}function XE(t,e){this.a=t,this.b=e}function VE(t,e){this.a=t,this.b=e}function QE(t,e){this.a=t,this.b=e}function JE(t,e){this.a=t,this.b=e}function tT(t,e){this.b=t,this.a=e}function eT(t,e){this.b=t,this.a=e}function nT(t,e){Yk.call(this,t,e)}function iT(t,e){Yk.call(this,t,e)}function rT(t,e){Yk.call(this,t,e)}function aT(t,e){Yk.call(this,t,e)}function oT(t,e){Yk.call(this,t,e)}function sT(t,e){Yk.call(this,t,e)}function cT(t,e){Yk.call(this,t,e)}function uT(t,e){Yk.call(this,t,e)}function lT(t,e){Yk.call(this,t,e)}function hT(t,e){Yk.call(this,t,e)}function fT(t,e){Yk.call(this,t,e)}function dT(t,e){Yk.call(this,t,e)}function gT(t,e){Yk.call(this,t,e)}function pT(t,e){Yk.call(this,t,e)}function bT(t,e){Yk.call(this,t,e)}function wT(t,e){Yk.call(this,t,e)}function yT(t,e){Yk.call(this,t,e)}function mT(t,e){Yk.call(this,t,e)}function vT(t,e){this.a=t,this.b=e}function xT(t,e){this.a=t,this.b=e}function kT(t,e){this.a=t,this.b=e}function _T(t,e){this.a=t,this.b=e}function ET(t,e){this.a=t,this.b=e}function TT(t,e){this.a=t,this.b=e}function CT(t,e){this.a=t,this.b=e}function ST(t,e){this.a=t,this.b=e}function AT(t,e){this.a=t,this.b=e}function MT(t,e){this.b=t,this.a=e}function IT(t,e){this.b=t,this.a=e}function LT(t,e){this.b=t,this.a=e}function DT(t,e){this.b=t,this.a=e}function OT(t,e){this.c=t,this.d=e}function NT(t,e){this.e=t,this.d=e}function PT(t,e){this.a=t,this.b=e}function BT(t,e){this.b=e,this.c=t}function FT(t,e){Yk.call(this,t,e)}function $T(t,e){Yk.call(this,t,e)}function jT(t,e){Yk.call(this,t,e)}function RT(t,e){Yk.call(this,t,e)}function zT(t,e){Yk.call(this,t,e)}function qT(t,e){Yk.call(this,t,e)}function HT(t,e){Yk.call(this,t,e)}function ZT(t,e){Yk.call(this,t,e)}function UT(t,e){Yk.call(this,t,e)}function YT(t,e){Yk.call(this,t,e)}function GT(t,e){Yk.call(this,t,e)}function KT(t,e){Yk.call(this,t,e)}function WT(t,e){Yk.call(this,t,e)}function XT(t,e){Yk.call(this,t,e)}function VT(t,e){Yk.call(this,t,e)}function QT(t,e){Yk.call(this,t,e)}function JT(t,e){Yk.call(this,t,e)}function tC(t,e){Yk.call(this,t,e)}function eC(t,e){Yk.call(this,t,e)}function nC(t,e){Yk.call(this,t,e)}function iC(t,e){Yk.call(this,t,e)}function rC(t,e){Yk.call(this,t,e)}function aC(t,e){Yk.call(this,t,e)}function oC(t,e){Yk.call(this,t,e)}function sC(t,e){Yk.call(this,t,e)}function cC(t,e){Yk.call(this,t,e)}function uC(t,e){Yk.call(this,t,e)}function lC(t,e){Yk.call(this,t,e)}function hC(t,e){Yk.call(this,t,e)}function fC(t,e){Yk.call(this,t,e)}function dC(t,e){Yk.call(this,t,e)}function gC(t,e){Yk.call(this,t,e)}function pC(t,e){Yk.call(this,t,e)}function bC(t,e){Yk.call(this,t,e)}function wC(t,e){this.b=t,this.a=e}function yC(t,e){this.a=t,this.b=e}function mC(t,e){this.a=t,this.b=e}function vC(t,e){this.a=t,this.b=e}function xC(t,e){this.a=t,this.b=e}function kC(t,e){Yk.call(this,t,e)}function _C(t,e){Yk.call(this,t,e)}function EC(t,e){this.b=t,this.d=e}function TC(t,e){Yk.call(this,t,e)}function CC(t,e){Yk.call(this,t,e)}function SC(t,e){this.a=t,this.b=e}function AC(t,e){this.a=t,this.b=e}function MC(t,e){Yk.call(this,t,e)}function IC(t,e){Yk.call(this,t,e)}function LC(t,e){Yk.call(this,t,e)}function DC(t,e){Yk.call(this,t,e)}function OC(t,e){Yk.call(this,t,e)}function NC(t,e){Yk.call(this,t,e)}function PC(t,e){Yk.call(this,t,e)}function BC(t,e){Yk.call(this,t,e)}function FC(t,e){Yk.call(this,t,e)}function $C(t,e){Yk.call(this,t,e)}function jC(t,e){Yk.call(this,t,e)}function RC(t,e){Yk.call(this,t,e)}function zC(t,e){Yk.call(this,t,e)}function qC(t,e){Yk.call(this,t,e)}function HC(t,e){Yk.call(this,t,e)}function ZC(t,e){Yk.call(this,t,e)}function UC(t,e){return $L(t.g,e)}function YC(t,e){Yk.call(this,t,e)}function GC(t,e){Yk.call(this,t,e)}function KC(t,e){this.a=t,this.b=e}function WC(t,e){this.a=t,this.b=e}function XC(t,e){this.a=t,this.b=e}function VC(t,e){Yk.call(this,t,e)}function QC(t,e){Yk.call(this,t,e)}function JC(t,e){Yk.call(this,t,e)}function tS(t,e){Yk.call(this,t,e)}function eS(t,e){Yk.call(this,t,e)}function nS(t,e){Yk.call(this,t,e)}function iS(t,e){Yk.call(this,t,e)}function rS(t,e){Yk.call(this,t,e)}function aS(t,e){Yk.call(this,t,e)}function oS(t,e){Yk.call(this,t,e)}function sS(t,e){Yk.call(this,t,e)}function cS(t,e){Yk.call(this,t,e)}function uS(t,e){Yk.call(this,t,e)}function lS(t,e){Yk.call(this,t,e)}function hS(t,e){Yk.call(this,t,e)}function fS(t,e){Yk.call(this,t,e)}function dS(t,e){this.a=t,this.b=e}function gS(t,e){this.a=t,this.b=e}function pS(t,e){this.a=t,this.b=e}function bS(t,e){this.a=t,this.b=e}function wS(t,e){this.a=t,this.b=e}function yS(t,e){this.a=t,this.b=e}function mS(t,e){this.a=t,this.b=e}function vS(t,e){Yk.call(this,t,e)}function xS(t,e){this.a=t,this.b=e}function kS(t,e){this.a=t,this.b=e}function _S(t,e){this.a=t,this.b=e}function ES(t,e){this.a=t,this.b=e}function TS(t,e){this.a=t,this.b=e}function CS(t,e){this.a=t,this.b=e}function SS(t,e){this.b=t,this.a=e}function AS(t,e){this.b=t,this.a=e}function MS(t,e){this.b=t,this.a=e}function IS(t,e){this.b=t,this.a=e}function LS(t,e){this.a=t,this.b=e}function DS(t,e){this.a=t,this.b=e}function OS(t,e){!function(t,e){if(MI(e,239))return function(t,e){var n;if(null==(n=b1(t.i,e)))throw lw(new lv("Node did not exist in input."));return h3(e,n),null}(t,VP(e,33));if(MI(e,186))return function(t,e){var n;if(null==(n=zR(t.k,e)))throw lw(new lv("Port did not exist in input."));return h3(e,n),null}(t,VP(e,118));if(MI(e,354))return function(t,e){return h3(e,zR(t.f,e)),null}(t,VP(e,137));if(MI(e,352))return function(t,e){var n,i,r,a,o,s;if(!(o=VP(zR(t.c,e),183)))throw lw(new lv("Edge did not exist in input."));return i=iet(o),!Ck((!e.a&&(e.a=new mj(eae,e,6,6)),e.a))&&(n=new FP(t,i,s=new Cf),function(t,e){!function(t,e){var n;for(n=0;t.e!=t.i.gc();)uF(e,hnt(t),p8(n)),n!=Qkt&&++n}(new YI(t),e)}((!e.a&&(e.a=new mj(eae,e,6,6)),e.a),n),IJ(o,VNt,s)),UX(e,(Ikt(),Ute))&&!(!(r=VP(_ft(e,Ute),74))||gz(r))&&(GK(r,new mb(a=new Cf)),IJ(o,"junctionPoints",a)),NB(o,"container",_Z(e).k),null}(t,VP(e,79));if(e)return null;throw lw(new Xm(sPt+Ust(new ov(P4(Zv(G$t,1),r_t,1,5,[e])))))}(t.a,VP(e,56))}function NS(t,e){!function(t,e){pB(),nB(t,new mS(e,p8(e.e.c.length+e.g.c.length)))}(t.a,VP(e,11))}function PS(){return Rv(),new BRt}function BS(){fU(),this.b=new Xw}function FS(){xgt(),this.a=new Xw}function $S(){sU(),g$.call(this)}function jS(t,e){Yk.call(this,t,e)}function RS(t,e){this.a=t,this.b=e}function zS(t,e){this.a=t,this.b=e}function qS(t,e){this.a=t,this.b=e}function HS(t,e){this.a=t,this.b=e}function ZS(t,e){this.a=t,this.b=e}function US(t,e){this.a=t,this.b=e}function YS(t,e){this.d=t,this.b=e}function GS(t,e){this.d=t,this.e=e}function KS(t,e){this.f=t,this.c=e}function WS(t,e){this.b=t,this.c=e}function XS(t,e){this.i=t,this.g=e}function VS(t,e){this.e=t,this.a=e}function QS(t,e){this.a=t,this.b=e}function JS(t,e){t.i=null,Q0(t,e)}function tA(t,e){return mtt(t.a,e)}function eA(t){return xtt(t.c,t.b)}function nA(t){return t?t.dd():null}function iA(t){return null==t?null:t}function rA(t){return typeof t===Kkt}function aA(t){return typeof t===Wkt}function oA(t){return typeof t===Xkt}function sA(t,e){return t.Hd().Xb(e)}function cA(t,e){return function(t,e){for(TR(e);t.Ob();)if(!h4(VP(t.Pb(),10)))return!1;return!0}(t.Kc(),e)}function uA(t,e){return 0==x7(t,e)}function lA(t,e){return 0!=x7(t,e)}function hA(t){return""+(yz(t),t)}function fA(t,e){return t.substr(e)}function dA(t){return L9(t),t.d.gc()}function gA(t){return function(t,e){var n,i,r;for(n=new wd(t.a.a);n.ae?1:0}function iI(t,e){return x7(t,e)>0?t:e}function rI(t,e,n){return{l:t,m:e,h:n}}function aI(t,e){null!=t.a&&NS(e,t.a)}function oI(t){t.a=new D,t.c=new D}function sI(t){this.b=t,this.a=new iw}function cI(t){this.b=new ee,this.a=t}function uI(t){cN.call(this),this.a=t}function lI(){jE.call(this,"Range",2)}function hI(){Cat(),this.a=new Gdt(sUt)}function fI(t,e,n){return Rtt(e,n,t.c)}function dI(t){return new XC(t.c,t.d)}function gI(t){return new XC(t.c,t.d)}function pI(t){return new XC(t.a,t.b)}function bI(t,e){return function(t,e,n){var i,r,a,o,s,c,u,l,h;for(!n&&(n=function(t){var e;return(e=new w).a=t,e.b=function(t){var e;return 0==t?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+GQ(t))}(t),e.c=WX(fRt,T_t,2,2,6,1),e.c[0]=L2(t),e.c[1]=L2(t),e}(e.q.getTimezoneOffset())),r=6e4*(e.q.getTimezoneOffset()-n.a),c=s=new dO(e9(B3(e.q.getTime()),r)),s.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,c=new dO(e9(B3(e.q.getTime()),r))),l=new Dv,u=t.a.length,a=0;a=97&&i<=122||i>=65&&i<=90){for(o=a+1;o=u)throw lw(new Xm("Missing trailing '"));o+11)throw lw(new Xm(UFt));for(l=bgt(t.e.Tg(),e),i=VP(t.g,119),o=0;o0),a=VP(u.a.Xb(u.c=--u.b),17);a!=i&&u.b>0;)t.a[a.p]=!0,t.a[i.p]=!0,CD(u.b>0),a=VP(u.a.Xb(u.c=--u.b),17);u.b>0&&lz(u)}}(t,e,n),n}function DI(t,e,n){t.a=1502^e,t.b=n^kTt}function OI(t,e,n){return t.a[e.g][n.g]}function NI(t,e){return t.a[e.c.p][e.p]}function PI(t,e){return t.e[e.c.p][e.p]}function BI(t,e){return t.c[e.c.p][e.p]}function FI(t,e){return t.j[e.p]=function(t){var e,n,i,r;for(e=0,n=0,r=new wd(t.j);r.a1||n>1)return 2;return e+n==1?2:0}(e)}function $I(t,e){return t.a*=e,t.b*=e,t}function jI(t,e,n){return BR(t.g,e,n),n}function RI(t){t.a=VP(q3(t.b.a,4),126)}function zI(t){t.a=VP(q3(t.b.a,4),126)}function qI(t){PH(t,mPt),Sdt(t,function(t){var e,n,i,r,a;switch(PH(t,mPt),(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i+(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i){case 0:throw lw(new Xm("The edge must have at least one source or target."));case 1:return 0==(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i?AZ(rst(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82))):AZ(rst(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)))}if(1==(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i&&1==(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i){if(r=rst(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)),a=rst(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82)),AZ(r)==AZ(a))return AZ(r);if(r==AZ(a))return r;if(a==AZ(r))return a}for(e=rst(VP(xW(i=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c)])))),82));Xht(i);)if((n=rst(VP(xW(i),82)))!=e&&!GJ(n,e))if(AZ(n)==AZ(e))e=AZ(n);else if(!(e=Gft(e,n)))return null;return e}(t))}function HI(){HI=I,zRt=new Lm(null)}function ZI(){(ZI=I)(),GRt=new U}function UI(){this.Bb|=256,this.Bb|=512}function YI(t){this.i=t,this.f=this.i.j}function GI(t,e,n){EB.call(this,t,e,n)}function KI(t,e,n){GI.call(this,t,e,n)}function WI(t,e,n){GI.call(this,t,e,n)}function XI(t,e,n){KI.call(this,t,e,n)}function VI(t,e,n){EB.call(this,t,e,n)}function QI(t,e,n){EB.call(this,t,e,n)}function JI(t,e,n){MB.call(this,t,e,n)}function tL(t,e,n){MB.call(this,t,e,n)}function eL(t,e,n){JI.call(this,t,e,n)}function nL(t,e,n){VI.call(this,t,e,n)}function iL(t,e){this.a=t,n_.call(this,e)}function rL(t,e){this.a=t,pv.call(this,e)}function aL(t,e){this.a=t,pv.call(this,e)}function oL(t,e){this.a=t,pv.call(this,e)}function sL(t){this.a=t,cf.call(this,t.d)}function cL(t){this.c=t,this.a=this.c.a}function uL(t,e){this.a=e,pv.call(this,t)}function lL(t,e){this.a=e,lK.call(this,t)}function hL(t,e){this.a=t,lK.call(this,e)}function fL(t,e){return function(t,e,n){try{!function(t,e,n){if(TR(e),n.Ob())for(xA(e,DR(n.Pb()));n.Ob();)xA(e,t.a),xA(e,DR(n.Pb()))}(t,e,n)}catch(t){throw MI(t=k4(t),597)?lw(new nW(t)):lw(t)}return e}(t,new Lv,e).a}function dL(t,e){return TR(e),new gL(t,e)}function gL(t,e){this.a=e,o_.call(this,t)}function pL(t){this.b=t,this.a=this.b.a.e}function bL(t){t.b.Qb(),--t.d.f.d,c$(t.d)}function wL(t){Qh.call(this,VP(TR(t),35))}function yL(t){Qh.call(this,VP(TR(t),35))}function mL(){Yk.call(this,"INSTANCE",0)}function vL(t){if(!t)throw lw(new Dw)}function xL(t){if(!t)throw lw(new Ow)}function kL(t){if(!t)throw lw(new $w)}function _L(){_L=I,_E(),vse=new Fh}function EL(){EL=I,Ojt=!1,Njt=!0}function TL(t){td.call(this,(yz(t),t))}function CL(t){td.call(this,(yz(t),t))}function SL(t){hd.call(this,t),this.a=t}function AL(t){fd.call(this,t),this.a=t}function ML(t){Nv.call(this,t),this.a=t}function IL(){kI(this),Hq(this),this._d()}function LL(t,e){this.a=e,o_.call(this,t)}function DL(t,e){return new _ut(t.a,t.b,e)}function OL(t,e){return t.lastIndexOf(e)}function NL(t,e,n){return t.indexOf(e,n)}function PL(t){return null==t?s_t:A9(t)}function BL(t){return null!=t.a?t.a:null}function FL(t,e){return null!=hZ(t.a,e)}function $L(t,e){return!!e&&t.b[e.g]==e}function jL(t){return t.$H||(t.$H=++vzt)}function RL(t,e){return nB(e.a,t.a),t.a}function zL(t,e){return nB(e.b,t.a),t.a}function qL(t,e){return nB(e.a,t.a),t.a}function HL(t){return CD(null!=t.a),t.a}function ZL(t){Td.call(this,new eV(t))}function UL(t,e){Eet.call(this,t,e,null)}function YL(t){this.a=t,ld.call(this,t)}function GL(){GL=I,Kqt=new jO(LCt,0)}function KL(t,e){return++t.b,nB(t.a,e)}function WL(t,e){return++t.b,sQ(t.a,e)}function XL(t,e){return VP(jW(t.b,e),15)}function VL(t){return JM(t.a)||JM(t.b)}function QL(t,e,n){return DG(t,e,n,t.c)}function JL(t,e,n){VP(kQ(t,e),21).Fc(n)}function tD(t,e){xE(),this.a=t,this.b=e}function eD(t,e){kE(),this.b=t,this.c=e}function nD(t,e){b$(),this.f=e,this.d=t}function iD(t,e){HW(e,t),this.d=t,this.c=e}function rD(t){var e;e=t.a,t.a=t.b,t.b=e}function aD(t,e){return new NN(t,t.gc(),e)}function oD(t){this.d=t,YI.call(this,t)}function sD(t){this.c=t,YI.call(this,t)}function cD(t){this.c=t,oD.call(this,t)}function uD(){Q_(),this.b=new Hg(this)}function lD(t){return b0(t,G_t),new wX(t)}function hD(t){return DH(),parseInt(t)||-1}function fD(t,e,n){return t.substr(e,n-e)}function dD(t,e,n){return NL(t,wst(e),n)}function gD(t){return rR(t.c,t.c.length)}function pD(t){return null!=t.f?t.f:""+t.g}function bD(t){return CD(0!=t.b),t.a.a.c}function wD(t){return CD(0!=t.b),t.c.b.c}function yD(t){MI(t,150)&&VP(t,150).Gh()}function mD(t){return t.b=VP(Rq(t.a),42)}function vD(t){F_(),this.b=t,this.a=!0}function xD(t){$_(),this.b=t,this.a=!0}function kD(t){t.d=new SD(t),t.e=new rw}function _D(t){if(!t)throw lw(new Bw)}function ED(t){if(!t)throw lw(new Dw)}function TD(t){if(!t)throw lw(new Ow)}function CD(t){if(!t)throw lw(new $w)}function SD(t){cB.call(this,t,null,null)}function AD(){Yk.call(this,"POLYOMINO",0)}function MD(t,e,n,i){O$.call(this,t,e,n,i)}function ID(t,e){return!!t.q&&Sj(t.q,e)}function LD(t,e,n){t.Zc(e).Rb(n)}function DD(t,e,n){return t.a+=e,t.b+=n,t}function OD(t,e,n){return t.a*=e,t.b*=n,t}function ND(t,e,n){return t.a-=e,t.b-=n,t}function PD(t,e){return t.a=e.a,t.b=e.b,t}function BD(t){return t.a=-t.a,t.b=-t.b,t}function FD(t){this.c=t,this.a=1,this.b=1}function $D(t){this.c=t,O1(t,0),N1(t,0)}function jD(t){T_.call(this),r0(this,t)}function RD(t){dkt(),uw(this),this.mf(t)}function zD(t,e){xE(),tD.call(this,t,e)}function qD(t,e){kE(),eD.call(this,t,e)}function HD(t,e){kE(),eD.call(this,t,e)}function ZD(t,e){kE(),qD.call(this,t,e)}function UD(t,e,n){vV.call(this,t,e,n,2)}function YD(t,e){KM(),$F.call(this,t,e)}function GD(t,e){KM(),YD.call(this,t,e)}function KD(t,e){KM(),YD.call(this,t,e)}function WD(t,e){KM(),KD.call(this,t,e)}function XD(t,e){KM(),$F.call(this,t,e)}function VD(t,e){KM(),XD.call(this,t,e)}function QD(t,e){KM(),$F.call(this,t,e)}function JD(t,e,n){return Mmt(CQ(t,e),n)}function tO(t,e){return S7(t.e,VP(e,49))}function eO(t,e){e.$modCount=t.$modCount}function nO(){nO=I,l6t=new Ib("root")}function iO(){iO=I,Dae=new Fy,new $y}function rO(){this.a=new JH,this.b=new JH}function aO(){E0.call(this),this.Bb|=iTt}function oO(){Yk.call(this,"GROW_TREE",0)}function sO(t){return null==t?null:function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(Jwt(),null==t)return null;if(0==(h=8*t.length))return"";for(f=h/24|0,a=null,a=WX(Gce,lEt,25,4*(0!=(s=h%24)?f+1:f),15,1),u=0,l=0,e=0,n=0,i=0,o=0,r=0,c=0;c>24,u=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,g=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,p=0==(-128&(i=t[r++]))?i>>6<<24>>24:(i>>6^252)<<24>>24,a[o++]=lce[d],a[o++]=lce[g|u<<4],a[o++]=lce[l<<2|p],a[o++]=lce[63&i];return 8==s?(u=(3&(e=t[r]))<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,a[o++]=lce[d],a[o++]=lce[u<<4],a[o++]=61,a[o++]=61):16==s&&(e=t[r],l=(15&(n=t[r+1]))<<24>>24,u=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,g=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,a[o++]=lce[d],a[o++]=lce[g|u<<4],a[o++]=lce[l<<2],a[o++]=61),Wtt(a,0,a.length)}(t)}function cO(t){return null==t?null:function(t){var e,n,i,r;if(kpt(),null==t)return null;for(i=t.length,e=WX(Gce,lEt,25,2*i,15,1),n=0;n>4],e[2*n+1]=fce[15&r];return Wtt(e,0,e.length)}(t)}function uO(t){null==t.o&&function(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,i=t.d;i=i.split("/"),t.o=Ktt(".",[n,Ktt("$",i)]),t.b=Ktt(".",[n,Ktt(".",i)]),t.k=i[i.length-1]}(t)}function lO(t){return XB(null==t||rA(t)),t}function hO(t){return XB(null==t||aA(t)),t}function fO(t){return XB(null==t||oA(t)),t}function dO(t){this.q=new n.Date(WY(t))}function gO(t,e){this.c=t,Gk.call(this,t,e)}function pO(t,e){this.a=t,gO.call(this,t,e)}function bO(t,e){this.d=t,Kf(this),this.b=e}function wO(t,e){JX.call(this,t),this.a=e}function yO(t,e){JX.call(this,t),this.a=e}function mO(t){ltt.call(this,0,0),this.f=t}function vO(t,e,n){pX.call(this,t,e,n,null)}function xO(t,e,n){pX.call(this,t,e,n,null)}function kO(t,e){return VP(YQ(t.b,e),149)}function _O(t,e){return VP(YQ(t.c,e),229)}function EO(t){return VP(EF(t.a,t.b),287)}function TO(t){return new XC(t.c,t.d+t.a)}function CO(t){return lU(),gM(VP(t,197))}function SO(){SO=I,Gqt=Q8((Ltt(),tre))}function AO(t,e){e.a?function(t,e){var n,i,r;if(!sR(t.a,e.b))throw lw(new Vm("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new ud(new bN(new YL(new cd(t.a.a).a).b));IE(i.a.a);)if(n=VP(mD(i.a).cd(),65),s5(e.b,n))yx(t.b.a,e.b,n),r=!0;else if(r)break}(t,e):FL(t.a,e.b)}function MO(t,e){hzt||nB(t.a,e)}function IO(t,e){return PH(e,_Ct),t.f=e,t}function LO(t,e,n){return uwt(t,e,3,n)}function DO(t,e,n){return uwt(t,e,6,n)}function OO(t,e,n){return uwt(t,e,9,n)}function NO(t,e,n){++t.j,t.Ki(),GX(t,e,n)}function PO(t,e,n){++t.j,t.Hi(e,t.oi(e,n))}function BO(t,e,n){t.Zc(e).Rb(n)}function FO(t,e,n){return amt(t.c,t.b,e,n)}function $O(t,e){return(e&Qkt)%t.d.length}function jO(t,e){Ib.call(this,t),this.a=e}function RO(t,e){Zb.call(this,t),this.a=e}function zO(t,e){Zb.call(this,t),this.a=e}function qO(t,e){this.c=t,RJ.call(this,e)}function HO(t,e){this.a=t,Hb.call(this,e)}function ZO(t,e){this.a=t,Hb.call(this,e)}function UO(t){this.a=(b0(t,G_t),new wX(t))}function YO(t){this.a=(b0(t,G_t),new wX(t))}function GO(t){return!t.a&&(t.a=new g),t.a}function KO(t){return t>8?0:t+1}function WO(t,e,n){return VF(t,VP(e,22),n)}function XO(t,e,n){return t.a+=Wtt(e,0,n),t}function VO(t,e){var n;return n=t.e,t.e=e,n}function QO(t,e){t[mTt].call(t,e)}function JO(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1}function tN(t){Yj(t.e),t.d.b=t.d,t.d.a=t.d}function eN(t){t.b?eN(t.b):t.f.c.zc(t.e,t.d)}function nN(t,e){return Hv(new Array(e),t)}function iN(t){return String.fromCharCode(t)}function rN(){this.a=new iw,this.b=new iw}function aN(){this.a=new fe,this.b=new qw}function oN(){this.b=new Sx,this.c=new iw}function sN(){this.d=new Sx,this.e=new Sx}function cN(){this.n=new Sx,this.o=new Sx}function uN(){this.n=new Cy,this.i=new lM}function lN(){this.a=new Ql,this.b=new sa}function hN(){this.a=new iw,this.d=new iw}function fN(){this.b=new Xw,this.a=new Xw}function dN(){this.b=new rw,this.a=new rw}function gN(){this.b=new hk,this.a=new bo}function pN(){uN.call(this),this.a=new Sx}function bN(t){X3.call(this,t,(qV(),WRt))}function wN(t,e,n,i){RF.call(this,t,e,n,i)}function yN(t,e,n){return uwt(t,e,11,n)}function mN(t,e){return t.a+=e.a,t.b+=e.b,t}function vN(t,e){return t.a-=e.a,t.b-=e.b,t}function xN(t,e){return null==Pz(t.a,e,"")}function kN(t,e){qm.call(this,yBt+t+EPt+e)}function _N(t,e,n,i){mj.call(this,t,e,n,i)}function EN(t,e,n,i){mj.call(this,t,e,n,i)}function TN(t,e,n,i){EN.call(this,t,e,n,i)}function CN(t,e,n,i){vj.call(this,t,e,n,i)}function SN(t,e,n,i){vj.call(this,t,e,n,i)}function AN(t,e,n,i){vj.call(this,t,e,n,i)}function MN(t,e,n,i){SN.call(this,t,e,n,i)}function IN(t,e,n,i){SN.call(this,t,e,n,i)}function LN(t,e,n,i){AN.call(this,t,e,n,i)}function DN(t,e,n,i){IN.call(this,t,e,n,i)}function ON(t,e,n,i){bj.call(this,t,e,n,i)}function NN(t,e,n){this.a=t,iD.call(this,e,n)}function PN(t,e,n){this.c=e,this.b=n,this.a=t}function BN(t,e){return t.Aj().Nh().Kh(t,e)}function FN(t,e){return t.Aj().Nh().Ih(t,e)}function $N(t,e){return yz(t),iA(t)===iA(e)}function jN(t,e){return yz(t),iA(t)===iA(e)}function RN(t,e){return Dx(Btt(t.a,e,!1))}function zN(t,e){return Dx(Ftt(t.a,e,!1))}function qN(t,e){return t.b.sd(new QE(t,e))}function HN(t,e,n){return t.lastIndexOf(e,n)}function ZN(t){return t.c?lQ(t.c.a,t,0):-1}function UN(t){return t==sie||t==uie||t==cie}function YN(t,e){return MI(e,15)&&Apt(t.c,e)}function GN(t,e){return!!a6(t,e)}function KN(t,e){this.c=t,Jj.call(this,t,e)}function WN(t){this.c=t,SA.call(this,M_t,0)}function XN(t,e){oB.call(this,t,t.length,e)}function VN(t,e,n){return VP(t.c,69).mk(e,n)}function QN(t,e,n){return function(t,e,n){return e.Rk(t.e,t.c,n)}(t,VP(e,332),n)}function JN(t,e,n){return function(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?$H(t,4,i,a,null,Oyt(t,i,a,MI(i,99)&&0!=(VP(i,18).Bb&iTt)),!0):$H(t,i.Kj()?2:1,i,a,i.zj(),-1,!0),n?n.Ei(r):n=r,n}(t,VP(e,332),n)}function tP(t,e){return null==e?null:P7(t.b,e)}function eP(t){return aA(t)?(yz(t),t):t.ke()}function nP(t){return!isNaN(t)&&!isFinite(t)}function iP(t){wP(),this.a=(Gq(),new Nv(t))}function rP(t){pB(),this.d=t,this.a=new nw}function aP(t,e,n){this.a=t,this.b=e,this.c=n}function oP(t,e,n){this.a=t,this.b=e,this.c=n}function sP(t,e,n){this.d=t,this.b=n,this.a=e}function cP(t){oI(this),zq(this),M2(this,t)}function uP(t){LM(this),uB(this.c,0,t.Pc())}function lP(t){lz(t.a),iV(t.c,t.b),t.b=null}function hP(t){this.a=t,c_(),B3(Date.now())}function fP(){fP=I,yzt=new r,mzt=new r}function dP(){dP=I,jRt=new O,RRt=new N}function gP(){gP=I,Mae=WX(G$t,r_t,1,0,5,1)}function pP(){pP=I,Roe=WX(G$t,r_t,1,0,5,1)}function bP(){bP=I,zoe=WX(G$t,r_t,1,0,5,1)}function wP(){wP=I,new kw((Gq(),Gq(),TRt))}function yP(t,e){if(!t)throw lw(new Xm(e))}function mP(t){RF.call(this,t.d,t.c,t.a,t.b)}function vP(t){RF.call(this,t.d,t.c,t.a,t.b)}function xP(t,e,n){this.b=t,this.c=e,this.a=n}function kP(t,e,n){this.b=t,this.a=e,this.c=n}function _P(t,e,n){this.a=t,this.b=e,this.c=n}function EP(t,e,n){this.a=t,this.b=e,this.c=n}function TP(t,e,n){this.a=t,this.b=e,this.c=n}function CP(t,e,n){this.a=t,this.b=e,this.c=n}function SP(t,e,n){this.b=t,this.a=e,this.c=n}function AP(t,e,n){this.e=e,this.b=t,this.d=n}function MP(t){var e;return(e=new xt).e=t,e}function IP(t){var e;return(e=new fy).b=t,e}function LP(){LP=I,sYt=new Nn,cYt=new Pn}function DP(){DP=I,IGt=new yr,LGt=new mr}function OP(t,e){this.c=t,this.a=e,this.b=e-t}function NP(t,e,n){this.a=t,this.b=e,this.c=n}function PP(t,e,n){this.a=t,this.b=e,this.c=n}function BP(t,e,n){this.a=t,this.b=e,this.c=n}function FP(t,e,n){this.a=t,this.b=e,this.c=n}function $P(t,e,n){this.a=t,this.b=e,this.c=n}function jP(t,e,n){this.e=t,this.a=e,this.c=n}function RP(t,e,n){KM(),eZ.call(this,t,e,n)}function zP(t,e,n){KM(),iz.call(this,t,e,n)}function qP(t,e,n){KM(),iz.call(this,t,e,n)}function HP(t,e,n){KM(),iz.call(this,t,e,n)}function ZP(t,e,n){KM(),zP.call(this,t,e,n)}function UP(t,e,n){KM(),zP.call(this,t,e,n)}function YP(t,e,n){KM(),UP.call(this,t,e,n)}function GP(t,e,n){KM(),qP.call(this,t,e,n)}function KP(t,e,n){KM(),HP.call(this,t,e,n)}function WP(t,e){return TR(t),TR(e),new Rk(t,e)}function XP(t,e){return TR(t),TR(e),new zB(t,e)}function VP(t,e){return XB(null==t||Lnt(t,e)),t}function QP(t){var e;return UQ(e=new iw,t),e}function JP(t){var e;return D2(e=new ry,t),e}function tB(t){var e;return D2(e=new T_,t),e}function eB(t){return!t.e&&(t.e=new iw),t.e}function nB(t,e){return t.c[t.c.length]=e,!0}function iB(t,e){this.c=t,this.b=e,this.a=!1}function rB(t){this.d=t,Kf(this),this.b=function(t){return MI(t,15)?VP(t,15).Yc():t.Kc()}(t.d)}function aB(){this.a=";,;",this.b="",this.c=""}function oB(t,e,n){uj.call(this,e,n),this.a=t}function sB(t,e,n){this.b=t,TA.call(this,e,n)}function cB(t,e,n){this.c=t,UE.call(this,e,n)}function uB(t,e,n){hlt(n,0,t,e,n.length,!1)}function lB(t,e,n,i,r){t.b=e,t.c=n,t.d=i,t.a=r}function hB(t,e,n,i,r){t.d=e,t.c=n,t.a=i,t.b=r}function fB(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function dB(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function gB(t){return D3(function(t){return rI(~t.l&qEt,~t.m&qEt,~t.h&HEt)}(eM(t)?K3(t):t))}function pB(){pB=I,Mxt(),Q3t=Hie,J3t=_ie}function bB(){this.b=ev(hO(unt((qpt(),xZt))))}function wB(t){return q_(),WX(G$t,r_t,1,t,5,1)}function yB(t){return new XC(t.c+t.b,t.d+t.a)}function mB(t){return CD(0!=t.b),WJ(t,t.a.a)}function vB(t){return CD(0!=t.b),WJ(t,t.c.b)}function xB(t,e){if(!t)throw lw(new Hm(e))}function kB(t,e){if(!t)throw lw(new Xm(e))}function _B(t,e,n){OT.call(this,t,e),this.b=n}function EB(t,e,n){GS.call(this,t,e),this.c=n}function TB(t,e,n){FJ.call(this,e,n),this.d=t}function CB(t){bP(),vc.call(this),this.th(t)}function SB(t,e,n){this.a=t,qA.call(this,e,n)}function AB(t,e,n){this.a=t,qA.call(this,e,n)}function MB(t,e,n){GS.call(this,t,e),this.c=n}function IB(){gW(),sz.call(this,(mE(),ooe))}function LB(t){return null!=t&&!D9(t,Kae,Wae)}function DB(t,e){return(s8(t)<<4|s8(e))&fEt}function OB(t,e){var n;t.n&&(n=e,nB(t.f,n))}function NB(t,e,n){IJ(t,e,new UR(n))}function PB(t,e){return t.g=e<0?-1:e,t}function BB(t,e){return function(t){var e;(e=n.Math.sqrt(t.a*t.a+t.b*t.b))>0&&(t.a/=e,t.b/=e)}(t),t.a*=e,t.b*=e,t}function FB(t,e,n,i,r){t.c=e,t.d=n,t.b=i,t.a=r}function $B(t,e){return WK(t,e,t.c.b,t.c),!0}function jB(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function RB(t){this.b=t,this.a=B$(this.b.a).Ed()}function zB(t,e){this.b=t,this.a=e,jl.call(this)}function qB(t,e){this.a=t,this.b=e,jl.call(this)}function HB(t,e){uj.call(this,e,1040),this.a=t}function ZB(t){return 0==t||isNaN(t)?t:t<0?-1:1}function UB(t,e){return iot(t,new OT(e.a,e.b))}function YB(t){var e;return e=t.n,t.a.b+e.d+e.a}function GB(t){var e;return e=t.n,t.e.b+e.d+e.a}function KB(t){var e;return e=t.n,t.e.a+e.b+e.c}function WB(t){return Nkt(),new zF(0,t)}function XB(t){if(!t)throw lw(new Wm(null))}function VB(){VB=I,Gq(),kse=new dd(HFt)}function QB(){QB=I,new Rnt((gm(),ejt),(pm(),tjt))}function JB(){JB=I,Ujt=WX(Gjt,T_t,19,256,0,1)}function tF(t,e,n,i){R9.call(this,t,e,n,i,0,0)}function eF(t){return t.e.c.length+t.g.c.length}function nF(t){return t.e.c.length-t.g.c.length}function iF(t){return t.b.c.length-t.e.c.length}function rF(t){bP(),CB.call(this,t),this.a=-1}function aF(t,e){WS.call(this,t,e),this.a=this}function oF(t,e){var n;return(n=ER(t,e)).i=2,n}function sF(t,e){return++t.j,t.Ti(e)}function cF(t,e,n){return t.a=-1,JL(t,e.g,n),t}function uF(t,e,n){!function(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;null==(g=zR(t.e,i))&&(u=VP(g=new Im,183),c=new UR(e+"_s"+r),IJ(u,aPt,c)),tz(n,d=VP(g,183)),tH(b=new Im,"x",i.j),tH(b,"y",i.k),IJ(d,cPt,b),tH(h=new Im,"x",i.b),tH(h,"y",i.c),IJ(d,"endPoint",h),!Ck((!i.a&&(i.a=new GI(Xre,i,5)),i.a))&&(a=new wb(l=new Cf),GK((!i.a&&(i.a=new GI(Xre,i,5)),i.a),a),IJ(d,QNt,l)),!!Jnt(i)&&_st(t.a,d,tPt,kut(t,Jnt(i))),!!tit(i)&&_st(t.a,d,JNt,kut(t,tit(i))),!(0==(!i.e&&(i.e=new LN(eae,i,10,9)),i.e).i)&&(o=new RS(t,f=new Cf),GK((!i.e&&(i.e=new LN(eae,i,10,9)),i.e),o),IJ(d,nPt,f)),0!=(!i.g&&(i.g=new LN(eae,i,9,10)),i.g).i&&(s=new zS(t,p=new Cf),GK((!i.g&&(i.g=new LN(eae,i,9,10)),i.g),s),IJ(d,ePt,p))}(t.a,t.b,t.c,VP(e,202),n)}function lF(t,e,n){return new PN(function(t){return 0>=t?new __:function(t){return 0>t?new __:new yO(null,new aW(t+1,t))}(t-1)}(t).Ie(),n,e)}function hF(t,e,n,i,r,a){return eot(t,e,n,i,r,0,a)}function fF(){fF=I,$jt=WX(Rjt,T_t,217,256,0,1)}function dF(){dF=I,Kjt=WX(Jjt,T_t,162,256,0,1)}function gF(){gF=I,tRt=WX(eRt,T_t,184,256,0,1)}function pF(){pF=I,zjt=WX(qjt,T_t,172,128,0,1)}function bF(){lB(this,!1,!1,!1,!1)}function wF(t){WR(),this.a=(Gq(),new dd(TR(t)))}function yF(t){for(TR(t);t.Ob();)t.Pb(),t.Qb()}function mF(t){this.c=t,this.b=this.c.d.vc().Kc()}function vF(t){this.c=t,this.a=new E_(this.c.a)}function xF(t){this.a=new x_(t.gc()),M2(this,t)}function kF(t){Td.call(this,new dK),M2(this,t)}function _F(t,e){return t.a+=Wtt(e,0,e.length),t}function EF(t,e){return DU(e,t.c.length),t.c[e]}function TF(t,e){return DU(e,t.a.length),t.a[e]}function CF(t,e){q_(),JX.call(this,t),this.a=e}function SF(t,e){return function(t,e){return xet(e9(xet(t.a).a,e.a))}(VP(t,162),VP(e,162))}function AF(t){return t.c-VP(EF(t.a,t.b),287).b}function MF(t){return t.q?t.q:(Gq(),Gq(),CRt)}function IF(t){return t.e.Hd().gc()*t.c.Hd().gc()}function LF(t,e,i){return n.Math.min(i/t,1/e)}function DF(t,e){return t?0:n.Math.max(0,e-1)}function OF(t){var e;return(e=hot(t))?OF(e):t}function NF(t,e){return null==t.a&&Zpt(t),t.a[e]}function PF(t){return t.c?t.c.f:t.e.b}function BF(t){return t.c?t.c.g:t.e.a}function FF(t){RJ.call(this,t.gc()),kR(this,t)}function $F(t,e){KM(),Ub.call(this,e),this.a=t}function jF(t,e,n){this.a=t,GI.call(this,e,n,2)}function RF(t,e,n,i){hB(this,t,e,n,i)}function zF(t,e){Nkt(),tw.call(this,t),this.a=e}function qF(t){this.b=new T_,this.a=t,this.c=-1}function HF(){this.d=new XC(0,0),this.e=new Xw}function ZF(t){iD.call(this,0,0),this.a=t,this.b=0}function UF(t){this.a=t,this.c=new rw,function(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i>>e,r=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(a=0,r=n>>>e-22,i=t.m>>e-22|t.h<<44-e):(a=0,r=0,i=n>>>e-44),rI(i&qEt,r&qEt,a&HEt)}(eM(t)?K3(t):t,e))}function G$(t,e){return function(t,e){return EL(),t==e?0:t?1:-1}((yz(t),t),(yz(e),e))}function K$(t,e){return D8((yz(t),t),(yz(e),e))}function W$(t,e){return TR(e),t.a.Ad(e)&&!t.b.Ad(e)}function X$(t,e){return K7(t,(yz(e),new Sd(e)))}function V$(t,e){return K7(t,(yz(e),new Ad(e)))}function Q$(t){return X2(),0!=VP(t,11).e.c.length}function J$(t){return X2(),0!=VP(t,11).g.c.length}function tj(t,e,n){return function(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(0!=e.e.c.length&&0!=n.e.c.length){if((i=VP(EF(e.e,0),17).c.i)==(o=VP(EF(n.e,0),17).c.i))return nI(VP(Dst(VP(EF(e.e,0),17),(Lkt(),MXt)),19).a,VP(Dst(VP(EF(n.e,0),17),MXt),19).a);for(h=0,f=(l=t.a).length;hs?1:0:(t.b&&(t.b._b(a)&&(r=VP(t.b.xc(a),19).a),t.b._b(c)&&(s=VP(t.b.xc(c),19).a)),rs?1:0)):0!=e.e.c.length&&0!=n.g.c.length?1:-1}(t,VP(e,11),VP(n,11))}function ej(t){return t.e?cX(t.e):null}function nj(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function ij(t,e){if(t<0||t>=e)throw lw(new Zw)}function rj(t,e,n){return cpt(),u3(t,e)&&u3(t,n)}function aj(t){return Ilt(),!t.Hc(wie)&&!t.Hc(mie)}function oj(t){return new XC(t.c+t.b/2,t.d+t.a/2)}function sj(t,e){return e.kh()?S7(t.b,VP(e,49)):e}function cj(t,e){this.e=t,this.d=0!=(64&e)?e|C_t:e}function uj(t,e){this.c=0,this.d=t,this.b=64|e|C_t}function lj(t){this.b=new wX(11),this.a=(Kq(),t)}function hj(t){this.b=null,this.a=(Kq(),t||MRt)}function fj(t){this.a=Bnt(t.a),this.b=new uP(t.b)}function dj(t){this.b=t,oD.call(this,t),RI(this)}function gj(t){this.b=t,cD.call(this,t),zI(this)}function pj(t,e,n){this.a=t,_N.call(this,e,n,5,6)}function bj(t,e,n,i){this.b=t,GI.call(this,e,n,i)}function wj(t,e,n,i,r){xV.call(this,t,e,n,i,r,-1)}function yj(t,e,n,i,r){kV.call(this,t,e,n,i,r,-1)}function mj(t,e,n,i){GI.call(this,t,e,n),this.b=i}function vj(t,e,n,i){EB.call(this,t,e,n),this.b=i}function xj(t){KS.call(this,t,!1),this.a=!1}function kj(t,e){this.b=t,cf.call(this,t.b),this.a=e}function _j(t,e){WR(),Qk.call(this,t,D7(new ov(e)))}function Ej(t,e){return Nkt(),new rz(t,e,0)}function Tj(t,e){return Nkt(),new rz(6,t,e)}function Cj(t,e){return jN(t.substr(0,e.length),e)}function Sj(t,e){return oA(e)?lH(t,e):!!BH(t.f,e)}function Aj(t,e){for(yz(e);t.Ob();)e.td(t.Pb())}function Mj(t,e,n){gpt(),this.e=t,this.d=e,this.a=n}function Ij(t,e,n,i){var r;(r=t.i).i=e,r.a=n,r.b=i}function Lj(t){var e;for(e=t;e.f;)e=e.f;return e}function Dj(t){var e;return CD(null!=(e=E5(t))),e}function Oj(t){var e;return CD(null!=(e=function(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,BR(t.a,t.c,null),e)}(t))),e}function Nj(t,e){var n;return HW(e,n=t.a.gc()),n-e}function Pj(t,e){var n;for(n=0;nt||t>e)throw lw(new Sv("fromIndex: 0, toIndex: "+t+CTt+e))}(e,t.length),new HB(t,e)}(t,t.length))}function Kj(t){return new D$(new uL(t.a.length,t.a))}function Wj(t){return typeof t===Gkt||typeof t===Vkt}function Xj(t,e){return x7(t,e)<0?-1:x7(t,e)>0?1:0}function Vj(t,e,n){return _mt(t,VP(e,46),VP(n,167))}function Qj(t,e){return VP($$(B$(t.a)).Xb(e),42).cd()}function Jj(t,e){this.d=t,YI.call(this,t),this.e=e}function tR(t){this.d=(yz(t),t),this.a=0,this.c=M_t}function eR(t,e){tw.call(this,1),this.a=t,this.b=e}function nR(t,e){return t.c?nR(t.c,e):nB(t.b,e),t}function iR(t,e,n){var i;return i=WQ(t,e),JG(t,e,n),i}function rR(t,e){return oQ(t.slice(0,e),t)}function aR(t,e,n){var i;for(i=0;i=14&&n<=16);case 11:return null!=e&&typeof e===Vkt;case 12:return null!=e&&(typeof e===Gkt||typeof e==Vkt);case 0:return Lnt(e,t.__elementTypeId$);case 2:return Wj(e)&&!(e.im===M);case 1:return Wj(e)&&!(e.im===M)||Lnt(e,t.__elementTypeId$);default:return!0}}(t,n)),t[e]=n}function FR(t,e){var n;return qY(e,n=t.a.gc()),n-1-e}function $R(t,e){return t.a+=String.fromCharCode(e),t}function jR(t,e){return t.a+=String.fromCharCode(e),t}function RR(t,e){for(yz(e);t.c0?(bnt(t,n,0),n.a+=String.fromCharCode(i),bnt(t,n,r=het(e,a)),a+=r-1):39==i?a+1=t.g}function JR(t,e,n){return nbt(t,l2(t,e,n))}function tz(t,e){var n;WQ(t,n=t.a.length),JG(t,n,e)}function ez(t,e){console[t].call(console,e)}function nz(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e))}function iz(t,e,n){Ub.call(this,e),this.a=t,this.b=n}function rz(t,e,n){tw.call(this,t),this.a=e,this.b=n}function az(t,e,n){this.a=t,Zb.call(this,e),this.b=n}function oz(t,e,n){this.a=t,fG.call(this,8,e,null,n)}function sz(t){this.a=(yz(eFt),eFt),this.b=t,new Gy}function cz(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function uz(t){this.c=t,this.b=t.a.d.a,eO(t.a.e,this)}function lz(t){TD(-1!=t.c),t.d.$c(t.c),t.b=t.c,t.c=-1}function hz(t){return n.Math.sqrt(t.a*t.a+t.b*t.b)}function fz(t,e){return ij(e,t.a.c.length),EF(t.a,e)}function dz(t,e){return iA(t)===iA(e)||null!=t&&X7(t,e)}function gz(t){return t?t.dc():!t.Kc().Ob()}function pz(t){return!t.a&&t.c?t.c.b:t.a}function bz(t){return!t.a&&(t.a=new GI(Kre,t,4)),t.a}function wz(t){return!t.d&&(t.d=new GI(loe,t,1)),t.d}function yz(t){if(null==t)throw lw(new Nw);return t}function mz(t){t.c?t.c.He():(t.d=!0,function(t){var e,n,i,r,a;if(a=new iw,KJ(t.b,new Zd(a)),t.b.c=WX(G$t,r_t,1,0,5,1),0!=a.c.length){for(DU(0,a.c.length),e=VP(a.c[0],78),n=1,i=a.c.length;n0;)t=t<<1|(t<0?1:0);return t}function Hz(t,e){return iA(t)===iA(e)||null!=t&&X7(t,e)}function Zz(t,e){return r$(t.a,e)?t.b[VP(e,22).g]:null}function Uz(t,e,n,i){t.a=fD(t.a,0,e)+""+i+fA(t.a,n)}function Yz(t,e){t.u.Hc((Ilt(),wie))&&function(t,e){var i,r,a,o;for(i=(o=VP(Zz(t.b,e),124)).a,a=VP(VP(jW(t.r,e),21),84).Kc();a.Ob();)(r=VP(a.Pb(),111)).c&&(i.a=n.Math.max(i.a,KB(r.c)));if(i.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}(t,e),function(t,e){var n;t.C&&((n=VP(Zz(t.b,e),124).n).d=t.C.d,n.a=t.C.a)}(t,e)}function Gz(t,e){return OU(e,t.length),t.charCodeAt(e)}function Kz(){Am.call(this,"There is no more element.")}function Wz(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function Xz(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function Vz(t,e,n,i){return l3(t,e,n,!1),h8(t,i),t}function Qz(t){return!t.n&&(t.n=new mj(oae,t,1,7)),t.n}function Jz(t){return!t.c&&(t.c=new mj(cae,t,9,9)),t.c}function tq(t){return t.e==ZFt&&function(t,e){t.e=e}(t,function(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=fO(vtt((!n.b&&(n.b=new UD((Bkt(),Boe),cse,n)),n.b),wPt)))?i:e.ne()}(t.g,t.b)),t.e}function eq(t){return t.f==ZFt&&function(t,e){t.f=e}(t,function(t,e){var n,i;return(n=e.Hh(t.a))?(i=fO(vtt((!n.b&&(n.b=new UD((Bkt(),Boe),cse,n)),n.b),$Ft)),jN(jFt,i)?I$(t,i1(e.Hj())):i):null}(t.g,t.b)),t.f}function nq(t){var e;return!(e=t.b)&&(t.b=e=new Wh(t)),e}function iq(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function rq(t){if(L9(t.d),t.d.d!=t.c)throw lw(new Bw)}function aq(t,e){this.b=t,this.c=e,this.a=new E_(this.b)}function oq(t,e,n){this.a=uEt,this.d=t,this.b=e,this.c=n}function sq(t,e){this.d=(yz(t),t),this.a=16449,this.c=e}function cq(t,e){X8(t,ev(H1(e,"x")),ev(H1(e,"y")))}function uq(t,e){X8(t,ev(H1(e,"x")),ev(H1(e,"y")))}function lq(t,e){return K8(t),new CF(t,new jV(e,t.a))}function hq(t,e){return K8(t),new CF(t,new QW(e,t.a))}function fq(t,e){return K8(t),new wO(t,new XW(e,t.a))}function dq(t,e){return K8(t),new yO(t,new VW(e,t.a))}function gq(t){this.a=new iw,this.e=WX(Kce,T_t,48,t,0,2)}function pq(t,e,n,i){this.a=t,this.e=e,this.d=n,this.c=i}function bq(t,e,n,i){this.a=t,this.c=e,this.b=n,this.d=i}function wq(t,e,n,i){this.c=t,this.b=e,this.a=n,this.d=i}function yq(t,e,n,i){this.c=t,this.b=e,this.d=n,this.a=i}function mq(t,e,n,i){this.c=t,this.d=e,this.b=n,this.a=i}function vq(t,e,n,i){this.a=t,this.d=e,this.c=n,this.b=i}function xq(t,e,n,i){Yk.call(this,t,e),this.a=n,this.b=i}function kq(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function _q(t,e,i){(function(t,e){var n,i,r,a;for(function(t){var e;for(e=0;e(i=cZ(n))&&++i,i}function Cq(t){var e;return d1(e=new sw,t),e}function Sq(t){var e;return Kst(e=new sw,t),e}function Aq(t){return function(t){var e;return MI(e=Dst(t,(Lkt(),IXt)),160)?K9(VP(e,160)):null}(t)||null}function Mq(t){return!t.b&&(t.b=new mj(tae,t,12,3)),t.b}function Iq(t,e,n){n.a?N1(t,e.b-t.f/2):O1(t,e.a-t.g/2)}function Lq(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function Dq(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function Oq(t,e,n,i){this.e=t,this.a=e,this.c=n,this.d=i}function Nq(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function Pq(t,e,n,i){KM(),LW.call(this,e,n,i),this.a=t}function Bq(t,e,n,i){KM(),LW.call(this,e,n,i),this.a=t}function Fq(t,e){this.a=t,bO.call(this,t,VP(t.d,15).Zc(e))}function $q(t){this.f=t,this.c=this.f.e,t.f>0&&Mat(this)}function jq(t,e,n,i){this.b=t,this.c=i,SA.call(this,e,n)}function Rq(t){return CD(t.b0?(n.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),t=new p,yjt=e?new _:t}function OH(t,e){var n;return n=Nx(t.gm),null==e?n:n+": "+e}function NH(t,e){var n;return wK(n=t.b.Qc(e),t.b.gc()),n}function PH(t,e){if(null==t)throw lw(new Jm(e));return t}function BH(t,e){return H6(t,e,function(t,e){var n;return null==(n=t.a.get(e))?new Array:n}(t,null==e?0:t.b.se(e)))}function FH(t,e,n){return n>=0&&jN(t.substr(n,e.length),e)}function $H(t,e,n,i,r,a,o){return new cK(t.e,e,n,i,r,a,o)}function jH(t,e,n,i,r,a){this.a=t,_0.call(this,e,n,i,r,a)}function RH(t,e,n,i,r,a){this.a=t,_0.call(this,e,n,i,r,a)}function zH(t,e){this.g=t,this.d=P4(Zv(UUt,1),kAt,10,0,[e])}function qH(t,e){this.e=t,this.a=G$t,this.b=tbt(e),this.c=e}function HH(t,e){uN.call(this),VJ(this),this.a=t,this.c=e}function ZH(t,e,n,i){BR(t.c[e.g],n.g,i),BR(t.c[n.g],e.g,i)}function UH(t,e,n,i){BR(t.c[e.g],e.g,n),BR(t.b[e.g],e.g,i)}function YH(t,e,n,i){return n>=0?t.jh(e,n,i):t.Sg(null,n,i)}function GH(t){return 0==t.b.b?t.a.$e():mB(t.b)}function KH(t){return iA(t.a)===iA((K2(),Zoe))&&function(t){var e,n,i,r,a,o,s,c,u,l;for(e=new Ec,n=new Ec,u=jN(tFt,(r=bwt(t.b,eFt))?fO(vtt((!r.b&&(r.b=new UD((Bkt(),Boe),cse,r)),r.b),nFt)):null),c=0;c=0?t.sh(i,n):ydt(t,e,n)}function gZ(t,e,n){jZ(),t&&Pz(Cae,t,e),t&&Pz(Tae,t,n)}function pZ(t,e,n){this.i=new iw,this.b=t,this.g=e,this.a=n}function bZ(t,e,n){this.c=new iw,this.e=t,this.f=e,this.b=n}function wZ(t,e,n){this.a=new iw,this.e=t,this.f=e,this.c=n}function yZ(t,e){kI(this),this.f=e,this.g=t,Hq(this),this._d()}function mZ(t,e){var n;n=t.q.getHours(),t.q.setDate(e),Myt(t,n)}function vZ(t,e){var n;for(TR(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function xZ(t){var e;return O5(e=new Gx(AJ(t.length)),t),e}function kZ(t,e){if(null==e)throw lw(new Nw);return function(t,e){var n,i=t.a;e=String(e),i.hasOwnProperty(e)&&(n=i[e]);var r=(r5(),Sjt)[typeof n];return r?r(n):J6(typeof n)}(t,e)}function _Z(t){return t.Db>>16!=3?null:VP(t.Cb,33)}function EZ(t){return t.Db>>16!=9?null:VP(t.Cb,33)}function TZ(t){return t.Db>>16!=6?null:VP(t.Cb,79)}function CZ(t){return t.Db>>16!=7?null:VP(t.Cb,235)}function SZ(t){return t.Db>>16!=7?null:VP(t.Cb,160)}function AZ(t){return t.Db>>16!=11?null:VP(t.Cb,33)}function MZ(t,e){var n;return(n=t.Yg(e))>=0?t.lh(n):Ylt(t,e)}function IZ(t,e){var n;return Est(n=new kF(e),t),new uP(n)}function LZ(t){var e;return e=t.d,e=t.si(t.f),hV(t,e),e.Ob()}function DZ(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function OZ(t,e){return n.Math.abs(t)>16!=3?null:VP(t.Cb,147)}function zZ(t){return t.Db>>16!=6?null:VP(t.Cb,235)}function qZ(t){return t.Db>>16!=17?null:VP(t.Cb,26)}function HZ(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function ZZ(t,e,n){return null==e?Qut(t.f,null,n):r9(t.g,e,n)}function UZ(t,e,n,i,r,a){return new vQ(t.e,e,t.aj(),n,i,r,a)}function YZ(t,e,n){return t.a=fD(t.a,0,e)+""+n+fA(t.a,e),t}function GZ(t,e,n){return nB(t.a,($z(),wit(e,n),new Kk(e,n))),t}function KZ(t){return kL(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function WZ(t){return kL(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function XZ(t,e){t.d&&sQ(t.d.e,t),t.d=e,t.d&&nB(t.d.e,t)}function VZ(t,e){t.c&&sQ(t.c.g,t),t.c=e,t.c&&nB(t.c.g,t)}function QZ(t,e){t.c&&sQ(t.c.a,t),t.c=e,t.c&&nB(t.c.a,t)}function JZ(t,e){t.i&&sQ(t.i.j,t),t.i=e,t.i&&nB(t.i.j,t)}function tU(t,e,n){this.a=e,this.c=t,this.b=(TR(n),new uP(n))}function eU(t,e,n){this.a=e,this.c=t,this.b=(TR(n),new uP(n))}function nU(t,e){this.a=t,this.c=pI(this.a),this.b=new EH(e)}function iU(t,e){if(t<0||t>e)throw lw(new qm($Tt+t+jTt+e))}function rU(t,e){return a$(t.a,e)?$j(t,VP(e,22).g,null):null}function aU(){aU=I,ujt=U6((wm(),P4(Zv(ljt,1),K_t,538,0,[sjt])))}function oU(){oU=I,D3t=v$(new hG,(Ost(),nUt),(Okt(),rGt))}function sU(){sU=I,O3t=v$(new hG,(Ost(),nUt),(Okt(),rGt))}function cU(){cU=I,P3t=v$(new hG,(Ost(),nUt),(Okt(),rGt))}function uU(){uU=I,o4t=cF(new hG,(Ost(),nUt),(Okt(),IYt))}function lU(){lU=I,h4t=cF(new hG,(Ost(),nUt),(Okt(),IYt))}function hU(){hU=I,g4t=cF(new hG,(Ost(),nUt),(Okt(),IYt))}function fU(){fU=I,_4t=cF(new hG,(Ost(),nUt),(Okt(),IYt))}function dU(){dU=I,o6t=v$(new hG,(jrt(),e5t),(xut(),o5t))}function gU(t,e,n,i){this.c=t,this.d=i,wU(this,e),yU(this,n)}function pU(t){this.c=new T_,this.b=t.b,this.d=t.c,this.a=t.a}function bU(t){this.a=n.Math.cos(t),this.b=n.Math.sin(t)}function wU(t,e){t.a&&sQ(t.a.k,t),t.a=e,t.a&&nB(t.a.k,t)}function yU(t,e){t.b&&sQ(t.b.f,t),t.b=e,t.b&&nB(t.b.f,t)}function mU(t,e){(function(t,e,n){VP(e.b,65),KJ(e.a,new PP(t,n,e))})(t,t.b,t.c),VP(t.b.b,65),e&&VP(e.b,65).b}function vU(t,e){MI(t.Cb,88)&&alt(dW(VP(t.Cb,88)),4),_2(t,e)}function xU(t,e){MI(t.Cb,179)&&(VP(t.Cb,179).tb=null),_2(t,e)}function kU(t,e){return EE(),ZQ(e)?new aF(e,t):new WS(e,t)}function _U(t){var e;return Fx(),d1(e=new sw,t),e}function EU(t){var e;return Fx(),d1(e=new sw,t),e}function TU(t,e){var n;return n=new HR(t),e.c[e.c.length]=n,n}function CU(t,e){var n;return(n=VP(P7(Xq(t.a),e),14))?n.gc():0}function SU(t){return K8(t),Kq(),Kq(),qJ(t,IRt)}function AU(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function MU(t,e){am.call(this,new x_(AJ(t))),b0(e,E_t),this.a=e}function IU(t,e,n){i8(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function LU(t,e,n){var i;i8(e,n,t.c.length),i=n-e,sk(t.c,e,i)}function DU(t,e){if(t<0||t>=e)throw lw(new qm($Tt+t+jTt+e))}function OU(t,e){if(t<0||t>=e)throw lw(new Ov($Tt+t+jTt+e))}function NU(t,e){this.b=(yz(t),t),this.a=0==(e&eTt)?64|e|C_t:e}function PU(t){DM(this),Uw(this.a,k5(n.Math.max(8,t))<<1)}function BU(t){return D5(P4(Zv(q9t,1),T_t,8,0,[t.i.n,t.n,t.a]))}function FU(t,e){return function(t,e,n){var i,r,a,o,s,c;if(o=new bc,s=bgt(t.e.Tg(),e),i=VP(t.g,119),EE(),VP(e,66).Oj())for(a=0;a0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0)}function SY(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function AY(t){return lF(t.e.Hd().gc()*t.c.Hd().gc(),16,new qh(t))}function MY(t){return VP(Het(t,WX(PUt,xAt,17,t.c.length,0,1)),474)}function IY(t){return VP(Het(t,WX(UUt,kAt,10,t.c.length,0,1)),193)}function LY(t,e,n){TR(t),function(t){var e,n,i;for(Gq(),QM(t.c,t.a),i=new wd(t.c);i.a=0&&p=e)throw lw(new qm(function(t,e){if(t<0)return ebt(i_t,P4(Zv(G$t,1),r_t,1,5,["index",p8(t)]));if(e<0)throw lw(new Xm(a_t+e));return ebt("%s (%s) must be less than size (%s)",P4(Zv(G$t,1),r_t,1,5,["index",p8(t),p8(e)]))}(t,e)));return t}function HY(t,e,n){if(t<0||en)throw lw(new qm(function(t,e,n){return t<0||t>n?Gut(t,n,"start index"):e<0||e>n?Gut(e,n,"end index"):ebt("end index (%s) must not be less than start index (%s)",P4(Zv(G$t,1),r_t,1,5,[p8(e),p8(t)]))}(t,e,n)))}function ZY(t,e){if(jj(t.a,e),e.d)throw lw(new Am(UTt));e.d=t}function UY(t,e){if(e.$modCount!=t.$modCount)throw lw(new Bw)}function YY(t,e){return!!MI(e,42)&&zit(t.a,VP(e,42))}function GY(t,e){return!!MI(e,42)&&zit(t.a,VP(e,42))}function KY(t,e){return!!MI(e,42)&&zit(t.a,VP(e,42))}function WY(t){var e;return eM(t)?-0==(e=t)?0:e:function(t){return wat(t,(OQ(),Djt))<0?-function(t){return t.l+t.m*UEt+t.h*YEt}(l5(t)):t.l+t.m*UEt+t.h*YEt}(t)}function XY(t){var e;return vz(t),e=new R,Xx(t.a,new jd(e)),e}function VY(t){var e;return vz(t),e=new j,Xx(t.a,new $d(e)),e}function QY(t,e){this.a=t,Wf.call(this,t),iU(e,t.gc()),this.b=e}function JY(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function tG(t){return new wX((b0(t,X_t),SJ(e9(e9(5,t),t/10|0))))}function eG(t){return VP(Het(t,WX(aYt,_At,11,t.c.length,0,1)),1943)}function nG(t,e,n){t.d&&sQ(t.d.e,t),t.d=e,t.d&&JF(t.d.e,n,t)}function iG(t,e){(function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(m=0,0==e.f.b)for(w=new wd(t);w.a